Pull request #403 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bae2d3ac7c969b8e164b4fc53d0f906d180c852f+e4e238686b828caed34ec9ef1ec6e6067dee5a1b (7257af899a257cdf60c2d592fc33b3347d5371a1) 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-ssh2565749194209265076.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1563525651817525718.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-403/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-403/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6780158985187725202.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-403/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16853122216911312835.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17044465771572982926.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-403/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-403/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8839330442822757179.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6782 in /w/workspace/gexfoundry_device-rest-go_PR-403 [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-403 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/403/head:refs/remotes/origin/PR-403 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e4e238686b828caed34ec9ef1ec6e6067dee5a1b into PR head commit bae2d3ac7c969b8e164b4fc53d0f906d180c852f Merge succeeded, producing bae2d3ac7c969b8e164b4fc53d0f906d180c852f Checking out Revision bae2d3ac7c969b8e164b4fc53d0f906d180c852f (PR-403) 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 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f bae2d3ac7c969b8e164b4fc53d0f906d180c852f # 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 e4e238686b828caed34ec9ef1ec6e6067dee5a1b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bae2d3ac7c969b8e164b4fc53d0f906d180c852f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:42:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:42:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:42:45 ========================================================= 20:42:45 EdgeX Global Pipelines Version Info 20:42:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:42:45 ------------------- 20:42:45 stable info: 20:42:45 ------------------- 20:42:45 Commited By: Ginny Guan ginny@iotechsys.com 20:42:45 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 20:42:45 Message: update stable to v1.0.260 20:42:46 ------------------- 20:42:46 experimental info: 20:42:46 ------------------- 20:42:46 Commited By: Ginny Guan ginny@iotechsys.com 20:42:46 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 20:42:46 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:42:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:42:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:42:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:42:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:42:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:42:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:42:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:42:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:42:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:42:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:42:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:42:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:42:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:42:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:42:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:42:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:42:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:42:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:42:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:42:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:42:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-403 [Pipeline] echo 20:42:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-403 [Pipeline] echo 20:42:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-403 [Pipeline] echo 20:42:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bae2d3ac7c969b8e164b4fc53d0f906d180c852f [Pipeline] echo 20:42:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bae2d3a [Pipeline] echo 20:42:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:42:48 provisioning config files... 20:42:48 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-403@tmp/config4305760488020052tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:49 ---> ****-login.sh 20:42:49 nexus3.edgexfoundry.org:10001 20:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:42:49 Configure a credential helper to remove this warning. See 20:42:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:42:49 20:42:49 Login Succeeded 20:42:49 nexus3.edgexfoundry.org:10002 20:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:42:49 Configure a credential helper to remove this warning. See 20:42:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:42:49 20:42:49 Login Succeeded 20:42:49 nexus3.edgexfoundry.org:10003 20:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:42:49 Configure a credential helper to remove this warning. See 20:42:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:42:49 20:42:49 Login Succeeded 20:42:49 nexus3.edgexfoundry.org:10004 20:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:42:49 Configure a credential helper to remove this warning. See 20:42:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:42:49 20:42:49 Login Succeeded 20:42:49 ****.io 20:42:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:42:50 Configure a credential helper to remove this warning. See 20:42:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:42:50 20:42:50 Login Succeeded 20:42:50 ---> ****-login.sh ends [Pipeline] } 20:42:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:42:51 + git rev-list -1 --merges bae2d3ac7c969b8e164b4fc53d0f906d180c852f~1..bae2d3ac7c969b8e164b4fc53d0f906d180c852f [Pipeline] echo 20:42:51 -----------> git rev-list -1 --merges bae2d3ac7c969b8e164b4fc53d0f906d180c852f~1..bae2d3ac7c969b8e164b4fc53d0f906d180c852f bae2d3ac7c969b8e164b4fc53d0f906d180c852f [false] [Pipeline] sh 20:42:51 + git log --format=format:%s -1 bae2d3ac7c969b8e164b4fc53d0f906d180c852f [Pipeline] echo 20:42:51 ========================================================= 20:42:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:42:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:42:52 + git log --format=format:%s -1 bae2d3ac7c969b8e164b4fc53d0f906d180c852f [Pipeline] echo 20:42:52 [semverPrep] GIT_COMMIT: bae2d3ac7c969b8e164b4fc53d0f906d180c852f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:42:52 [semverPrep] This is not a build commit. [Pipeline] sh 20:42:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:42:52 + grep -v github /etc/ssh/ssh_known_hosts 20:42:52 + [ -e /tmp/ssh_known_hosts ] 20:42:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:42:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 20:42:52 sudo tee -a /etc/ssh/ssh_known_hosts 20:42:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:42:53 20:42:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:42:53 0.1.4: Pulling from edgex-devops/py-git-semver 20:42:53 b85a868b505f: Pulling fs layer 20:42:53 e2be974225ed: Pulling fs layer 20:42:53 339a4e72a1f5: Pulling fs layer 20:42:53 988bab9f4d93: Pulling fs layer 20:42:53 1469e6f7b9e6: Pulling fs layer 20:42:53 eaf3925da568: Pulling fs layer 20:42:53 bab4dde63d76: Pulling fs layer 20:42:53 bde34c3a00c8: Pulling fs layer 20:42:53 b352a97aabf1: Pulling fs layer 20:42:53 4872d77fe225: Pulling fs layer 20:42:53 5851b861e8e6: Pulling fs layer 20:42:53 eaf3925da568: Waiting 20:42:53 988bab9f4d93: Waiting 20:42:53 bab4dde63d76: Waiting 20:42:53 1469e6f7b9e6: Waiting 20:42:53 bde34c3a00c8: Waiting 20:42:53 b352a97aabf1: Waiting 20:42:53 4872d77fe225: Waiting 20:42:53 5851b861e8e6: Waiting 20:42:53 e2be974225ed: Download complete 20:42:53 988bab9f4d93: Verifying Checksum 20:42:53 988bab9f4d93: Download complete 20:42:53 1469e6f7b9e6: Verifying Checksum 20:42:53 1469e6f7b9e6: Download complete 20:42:53 eaf3925da568: Verifying Checksum 20:42:53 eaf3925da568: Download complete 20:42:53 339a4e72a1f5: Verifying Checksum 20:42:53 339a4e72a1f5: Download complete 20:42:53 bde34c3a00c8: Verifying Checksum 20:42:53 bde34c3a00c8: Download complete 20:42:53 b352a97aabf1: Download complete 20:42:53 4872d77fe225: Verifying Checksum 20:42:53 4872d77fe225: Download complete 20:42:53 5851b861e8e6: Download complete 20:42:53 b85a868b505f: Verifying Checksum 20:42:53 b85a868b505f: Download complete 20:42:53 bab4dde63d76: Verifying Checksum 20:42:53 bab4dde63d76: Download complete 20:42:54 b85a868b505f: Pull complete 20:42:55 e2be974225ed: Pull complete 20:42:55 339a4e72a1f5: Pull complete 20:42:55 988bab9f4d93: Pull complete 20:42:55 1469e6f7b9e6: Pull complete 20:42:55 eaf3925da568: Pull complete 20:42:57 bab4dde63d76: Pull complete 20:42:57 bde34c3a00c8: Pull complete 20:42:57 b352a97aabf1: Pull complete 20:42:58 4872d77fe225: Pull complete 20:42:58 5851b861e8e6: Pull complete 20:42:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:42:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:42:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:58 prd-ubuntu20.04-docker-8c-8g-6782 does not seem to be running inside a container 20:42:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-403 -v /w/workspace/gexfoundry_device-rest-go_PR-403:/w/workspace/gexfoundry_device-rest-go_PR-403:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-403@tmp:/w/workspace/gexfoundry_device-rest-go_PR-403@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:43:01 $ docker top dd7f6f64422fd9f1079fb83828e2c4f90a4bc3fde35bc670e8db959e1baa0e8a -eo pid,comm 20:43:01 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:43:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:43:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:43:01 [ssh-agent] Looking for ssh-agent implementation... 20:43:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:43:01 $ docker exec dd7f6f64422fd9f1079fb83828e2c4f90a4bc3fde35bc670e8db959e1baa0e8a ssh-agent 20:43:01 SSH_AUTH_SOCK=/tmp/ssh-EtDKxUdNH4oT/agent.32 20:43:01 SSH_AGENT_PID=38 20:43:01 Running ssh-add (command line suppressed) 20:43:01 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-403@tmp/private_key_13431196461642640861.key (/w/workspace/gexfoundry_device-rest-go_PR-403@tmp/private_key_13431196461642640861.key) 20:43:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:43:02 + git tag --points-at HEAD [Pipeline] } 20:43:02 $ docker exec --env ******** --env ******** dd7f6f64422fd9f1079fb83828e2c4f90a4bc3fde35bc670e8db959e1baa0e8a ssh-agent -k 20:43:02 unset SSH_AUTH_SOCK; 20:43:02 unset SSH_AGENT_PID; 20:43:02 echo Agent pid 38 killed; 20:43:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:43:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:43:02 [ssh-agent] Looking for ssh-agent implementation... 20:43:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:43:02 $ docker exec dd7f6f64422fd9f1079fb83828e2c4f90a4bc3fde35bc670e8db959e1baa0e8a ssh-agent 20:43:02 SSH_AUTH_SOCK=/tmp/ssh-BAticypWe8q8/agent.71 20:43:02 SSH_AGENT_PID=77 20:43:02 Running ssh-add (command line suppressed) 20:43:02 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-403@tmp/private_key_6986588944250690335.key (/w/workspace/gexfoundry_device-rest-go_PR-403@tmp/private_key_6986588944250690335.key) 20:43:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:43:03 + git semver init 20:43:03 2024-07-30 20:43:03,269 [run_init] DEBUG init version:0.0.0 force:False 20:43:03 2024-07-30 20:43:03,271 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-403/.semver 20:43:03 2024-07-30 20:43:03,271 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-403/.semver 20:43:03 2024-07-30 20:43:03,272 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-403/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-403, universal_newlines=False, shell=None, istream=None) 20:43:04 2024-07-30 20:43:04,559 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-403/.git/info/exclude 20:43:04 2024-07-30 20:43:04,559 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-403/.semver/PR-403 with force:False 20:43:04 2024-07-30 20:43:04,560 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-403/.semver/PR-403 20:43:04 2024-07-30 20:43:04,564 [execute] INFO git cat-file --batch-check 20:43:04 2024-07-30 20:43:04,565 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-403/.semver, universal_newlines=False, shell=None, istream=) 20:43:04 2024-07-30 20:43:04,571 [execute] INFO git cat-file --batch 20:43:04 2024-07-30 20:43:04,572 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-403/.semver, universal_newlines=False, shell=None, istream=) 20:43:04 2024-07-30 20:43:04,577 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-403/.semver/PR-403 20:43:04 0.0.0 [Pipeline] } 20:43:04 $ docker exec --env ******** --env ******** dd7f6f64422fd9f1079fb83828e2c4f90a4bc3fde35bc670e8db959e1baa0e8a ssh-agent -k 20:43:04 unset SSH_AUTH_SOCK; 20:43:04 unset SSH_AGENT_PID; 20:43:04 echo Agent pid 77 killed; 20:43:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:43:05 + git semver [Pipeline] } 20:43:05 $ docker stop --time=1 dd7f6f64422fd9f1079fb83828e2c4f90a4bc3fde35bc670e8db959e1baa0e8a 20:43:06 $ docker rm -f --volumes dd7f6f64422fd9f1079fb83828e2c4f90a4bc3fde35bc670e8db959e1baa0e8a [Pipeline] // withDockerContainer [Pipeline] sh 20:43:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:43:07 Stashed 1 file(s) [Pipeline] echo 20:43:07 [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:43:08 provisioning config files... 20:43:08 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-403@tmp/config482779785479221795tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:08 ---> ****-login.sh 20:43:08 nexus3.edgexfoundry.org:10001 20:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:08 Configure a credential helper to remove this warning. See 20:43:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:08 20:43:08 Login Succeeded 20:43:08 nexus3.edgexfoundry.org:10002 20:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:08 Configure a credential helper to remove this warning. See 20:43:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:08 20:43:08 Login Succeeded 20:43:08 nexus3.edgexfoundry.org:10003 20:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:09 Configure a credential helper to remove this warning. See 20:43:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:09 20:43:09 Login Succeeded 20:43:09 nexus3.edgexfoundry.org:10004 20:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:09 Configure a credential helper to remove this warning. See 20:43:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:09 20:43:09 Login Succeeded 20:43:09 ****.io 20:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:09 Configure a credential helper to remove this warning. See 20:43:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:09 20:43:09 Login Succeeded 20:43:09 ---> ****-login.sh ends [Pipeline] } 20:43:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:43:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:43:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:43:09 ========================================================= 20:43:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:43:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:10 + 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:43:10 Sending build context to Docker daemon 16.56MB 20:43:10 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:43:10 Step 2/12 : FROM ${BASE} AS builder 20:43:10 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:43:10 619be1103602: Pulling fs layer 20:43:10 7862e08f4a3e: Pulling fs layer 20:43:10 5df492c9dc93: Pulling fs layer 20:43:10 7629e6793208: Pulling fs layer 20:43:10 4f4fb700ef54: Pulling fs layer 20:43:10 fb5054dd5b73: Pulling fs layer 20:43:10 eeca6798cff9: Pulling fs layer 20:43:10 aa269ceb94a6: Pulling fs layer 20:43:10 ada007ff1a6a: Pulling fs layer 20:43:10 fb5054dd5b73: Waiting 20:43:10 eeca6798cff9: Waiting 20:43:10 7629e6793208: Waiting 20:43:10 aa269ceb94a6: Waiting 20:43:10 ada007ff1a6a: Waiting 20:43:10 4f4fb700ef54: Waiting 20:43:10 7862e08f4a3e: Download complete 20:43:10 7629e6793208: Verifying Checksum 20:43:10 7629e6793208: Download complete 20:43:10 fb5054dd5b73: Download complete 20:43:10 619be1103602: Verifying Checksum 20:43:10 619be1103602: Download complete 20:43:10 eeca6798cff9: Download complete 20:43:10 619be1103602: Pull complete 20:43:10 ada007ff1a6a: Verifying Checksum 20:43:10 ada007ff1a6a: Download complete 20:43:10 7862e08f4a3e: Pull complete 20:43:10 5df492c9dc93: Verifying Checksum 20:43:10 5df492c9dc93: Download complete 20:43:11 aa269ceb94a6: Verifying Checksum 20:43:11 aa269ceb94a6: Download complete 20:43:14 5df492c9dc93: Pull complete 20:43:14 7629e6793208: Pull complete 20:43:14 4f4fb700ef54: Pull complete 20:43:14 fb5054dd5b73: Pull complete 20:43:14 eeca6798cff9: Pull complete 20:43:17 aa269ceb94a6: Pull complete 20:43:17 ada007ff1a6a: Pull complete 20:43:17 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 20:43:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:43:17 ---> f489d0715acc 20:43:17 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:43:21 ---> Running in ac56a479b517 20:43:21 Removing intermediate container ac56a479b517 20:43:21 ---> ddd3a6e74c8d 20:43:21 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:43:21 ---> Running in fe600bdcd9c2 20:43:21 Removing intermediate container fe600bdcd9c2 20:43:21 ---> aec33c7508fb 20:43:21 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:43:21 ---> Running in 195b7696db62 20:43:21 Removing intermediate container 195b7696db62 20:43:21 ---> 6030dbf52b21 20:43:21 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:43:21 ---> Running in 3cb472238a92 20:43:21 Removing intermediate container 3cb472238a92 20:43:21 ---> 9ddbbe9fbc1d 20:43:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:43:21 ---> Running in 0f1af3dd8288 20:43:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:43:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:43:22 (1/4) Installing openssh-keygen (9.3_p2-r2) 20:43:22 (2/4) Installing libedit (20221030.3.1-r1) 20:43:22 (3/4) Installing openssh-client-common (9.3_p2-r2) 20:43:22 (4/4) Installing openssh-client-default (9.3_p2-r2) 20:43:22 Executing busybox-1.36.1-r5.trigger 20:43:22 OK: 268 MiB in 56 packages 20:43:23 Removing intermediate container 0f1af3dd8288 20:43:23 ---> fe2103727538 20:43:23 Step 8/12 : WORKDIR /device-rest-go 20:43:23 ---> Running in 4b8a8fd15762 20:43:23 Still waiting to schedule task 20:43:23 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:43:23 Removing intermediate container 4b8a8fd15762 20:43:23 ---> f794d652a952 20:43:23 Step 9/12 : COPY go.mod vendor* ./ 20:43:23 ---> 1d9355983393 20:43:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:43:23 ---> Running in dba6532a5394 20:44:19 Removing intermediate container dba6532a5394 20:44:19 ---> 90db7cdb075c 20:44:19 Step 11/12 : COPY . . 20:44:19 ---> b04fba7ef0bb 20:44:19 Step 12/12 : RUN $MAKE 20:44:19 ---> Running in 348350b19f44 20:44:19 noop 20:44:19 Removing intermediate container 348350b19f44 20:44:19 ---> f7bbe08a8088 20:44:19 Successfully built f7bbe08a8088 20:44:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:20 + docker inspect -f . ci-base-image-x86_64 20:44:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:20 prd-ubuntu20.04-docker-8c-8g-6782 does not seem to be running inside a container 20:44:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-403 -v /w/workspace/gexfoundry_device-rest-go_PR-403:/w/workspace/gexfoundry_device-rest-go_PR-403:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-403@tmp:/w/workspace/gexfoundry_device-rest-go_PR-403@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:44:20 $ docker top 78bc738b2bc79ca1568e40c0f1ec7c5b2e1374f3e62947744bd36411eb2e2cc5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:21 + go version 20:44:21 go version go1.21.9 linux/amd64 [Pipeline] } 20:44:21 $ docker stop --time=1 78bc738b2bc79ca1568e40c0f1ec7c5b2e1374f3e62947744bd36411eb2e2cc5 20:44:22 $ docker rm -f --volumes 78bc738b2bc79ca1568e40c0f1ec7c5b2e1374f3e62947744bd36411eb2e2cc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:23 + docker inspect -f . ci-base-image-x86_64 20:44:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:23 prd-ubuntu20.04-docker-8c-8g-6782 does not seem to be running inside a container 20:44:23 $ 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-403 -v /w/workspace/gexfoundry_device-rest-go_PR-403:/w/workspace/gexfoundry_device-rest-go_PR-403:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-403@tmp:/w/workspace/gexfoundry_device-rest-go_PR-403@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:44:23 $ docker top 936421cbd5406aff05dc84fcdbd501f543a0404216ed165003790e9a778ac5a1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:24 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-403 [Pipeline] fileExists [Pipeline] sh 20:44:24 + make test 20:44:24 go test ./... -coverprofile=coverage.out ./... 20:44:26 ? github.com/edgexfoundry/device-rest-go [no test files] 20:44:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:44:45 ok github.com/edgexfoundry/device-rest-go/driver 0.006s coverage: 33.2% of statements 20:44:55 go vet ./... 20:45:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:45:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:45:01 ./bin/test-attribution-txt.sh 20:45:01 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 20:45:01 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 20:45:01 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 20:45:01 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 20:45:01 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 20:45:01 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 20:45:01 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 20:45:01 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 20:45:01 An attribution for golang.org/x/term is missing from Attribution.txt, please add 20:45:01 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 20:45:01 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 20:45:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:45:01 $ docker stop --time=1 936421cbd5406aff05dc84fcdbd501f543a0404216ed165003790e9a778ac5a1 20:45:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6783 in /w/workspace/gexfoundry_device-rest-go_PR-403 20:45:05 $ docker rm -f --volumes 936421cbd5406aff05dc84fcdbd501f543a0404216ed165003790e9a778ac5a1 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 20:45:05 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:45:05 The recommended git tool is: git 20:45:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:45:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:45:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:45:07 + ls -al . 20:45:07 total 248 20:45:07 drwxrwxr-x 9 jenkins jenkins 4096 Jul 30 20:44 . 20:45:07 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 20:42 .. 20:45:07 -rw-rw-r-- 1 jenkins jenkins 151 Jul 30 20:42 .dockerignore 20:45:07 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 20:44 .git 20:45:07 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 20:42 .github 20:45:07 -rw-rw-r-- 1 jenkins jenkins 264 Jul 30 20:42 .gitignore 20:45:07 -rw-rw-r-- 1 jenkins jenkins 41 Jul 30 20:42 .golangci.yml 20:45:07 drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 20:43 .semver 20:45:07 -rw-rw-r-- 1 jenkins jenkins 10300 Jul 30 20:42 Attribution.txt 20:45:07 -rw-rw-r-- 1 jenkins jenkins 17685 Jul 30 20:42 CHANGELOG.md 20:45:07 -rw-rw-r-- 1 jenkins jenkins 1687 Jul 30 20:42 Dockerfile 20:45:07 -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 20:42 GOVERNANCE.md 20:45:07 -rw-rw-r-- 1 jenkins jenkins 680 Jul 30 20:42 Jenkinsfile 20:45:07 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 30 20:42 LICENSE 20:45:07 -rw-rw-r-- 1 jenkins jenkins 2016 Jul 30 20:42 Makefile 20:45:07 -rw-rw-r-- 1 jenkins jenkins 620 Jul 30 20:42 OWNERS.md 20:45:07 -rw-rw-r-- 1 jenkins jenkins 3989 Jul 30 20:42 README.md 20:45:07 -rw-rw-r-- 1 jenkins jenkins 5 Jul 30 20:43 VERSION 20:45:07 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 20:42 bin 20:45:07 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 20:42 cmd 20:45:07 -rw-r--r-- 1 jenkins jenkins 14499 Jul 30 20:44 coverage.out 20:45:07 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 20:42 driver 20:45:07 -rw-rw-r-- 1 jenkins jenkins 7134 Jul 30 20:42 go.mod 20:45:07 -rw-rw-r-- 1 jenkins jenkins 101673 Jul 30 20:42 go.sum 20:45:07 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 20:42 openapi 20:45:07 -rw-rw-r-- 1 jenkins jenkins 713 Jul 30 20:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:07 + 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=bae2d3ac7c969b8e164b4fc53d0f906d180c852f --label arch=amd64 --label version=0.0.0 . 20:45:07 Sending build context to Docker daemon 16.57MB 20:45:07 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:45:07 Step 2/26 : FROM ${BASE} AS builder 20:45:07 ---> f7bbe08a8088 20:45:07 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:45:07 ---> Running in 0cb427c40642 20:45:07 Removing intermediate container 0cb427c40642 20:45:07 ---> 627c1b903e70 20:45:07 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:45:07 ---> Running in 25fd47242643 20:45:08 Removing intermediate container 25fd47242643 20:45:08 ---> 7758f7279f33 20:45:08 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:45:08 ---> Running in df44ce9eb4d3 20:45:08 Removing intermediate container df44ce9eb4d3 20:45:08 ---> 11a01e25c343 20:45:08 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:45:08 ---> Running in 9aaef04f4ff9 20:45:08 Removing intermediate container 9aaef04f4ff9 20:45:08 ---> dbfa1fb4c037 20:45:08 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:45:08 ---> Running in a89f9441f328 20:45:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:45:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:45:08 OK: 268 MiB in 56 packages 20:45:09 Removing intermediate container a89f9441f328 20:45:09 ---> 9ed1a1ca132f 20:45:09 Step 8/26 : WORKDIR /device-rest-go 20:45:09 ---> Running in bc1fd18549b2 20:45:09 Removing intermediate container bc1fd18549b2 20:45:09 ---> 55b84d74684a 20:45:09 Step 9/26 : COPY go.mod vendor* ./ 20:45:09 ---> 4d26f5449ebc 20:45:09 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:45:09 ---> Running in ca84264dc7e3 20:45:09 Removing intermediate container ca84264dc7e3 20:45:09 ---> 7fd160eacf44 20:45:09 Step 11/26 : COPY . . 20:45:10 ---> 49818a582726 20:45:10 Step 12/26 : RUN $MAKE 20:45:10 ---> Running in a76c8e412ed5 20:45:10 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.29" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:45:13 using credential edgex-jenkins-ssh 20:45:20 Cloning the remote Git repository 20:45:20 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:45:20 > git init /w/workspace/device-rest-go/1 # timeout=10 20:45:20 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:45:20 > git --version # timeout=10 20:45:20 > git --version # 'git version 2.25.1' 20:45:20 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:24 Merging remotes/origin/main commit e4e238686b828caed34ec9ef1ec6e6067dee5a1b into PR head commit bae2d3ac7c969b8e164b4fc53d0f906d180c852f 20:45:23 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:45:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:23 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:45:23 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:45:23 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/403/head:refs/remotes/origin/PR-403 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:45:24 > git config core.sparsecheckout # timeout=10 20:45:24 > git checkout -f bae2d3ac7c969b8e164b4fc53d0f906d180c852f # timeout=10 20:45:24 > git remote # timeout=10 20:45:24 > git config --get remote.origin.url # timeout=10 20:45:24 Merge succeeded, producing bae2d3ac7c969b8e164b4fc53d0f906d180c852f 20:45:24 Checking out Revision bae2d3ac7c969b8e164b4fc53d0f906d180c852f (PR-403) 20:45:25 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:45:25 > git --version # timeout=10 20:45:25 > git --version # 'git version 2.25.1' 20:45:25 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 20:45:24 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:24 > git merge e4e238686b828caed34ec9ef1ec6e6067dee5a1b # timeout=10 20:45:24 > git rev-parse HEAD^{commit} # timeout=10 20:45:24 > git config core.sparsecheckout # timeout=10 20:45:24 > git checkout -f bae2d3ac7c969b8e164b4fc53d0f906d180c852f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:45:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:45:30 % Total % Received % Xferd Average Speed Time Time Time Current 20:45:30 Dload Upload Total Spent Left Speed 20:45:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97923 0 --:--:-- --:--:-- --:--:-- 98676 [Pipeline] sh 20:45:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:45:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:45:30 + sudo tee /etc/docker/daemon.new 20:45:30 { 20:45:30 "registry-mirrors": [ 20:45:30 "https://nexus3.edgexfoundry.org:10001" 20:45:30 ], 20:45:30 "bip": "10.250.0.254/24", 20:45:30 "hosts": [ 20:45:30 "tcp://0.0.0.0:5555", 20:45:30 "unix:///var/run/docker.sock" 20:45:30 ], 20:45:30 "mtu": 1458, 20:45:30 "selinux-enabled": true, 20:45:30 "seccomp-profile": "/etc/docker/seccomp.json" 20:45:30 } [Pipeline] sh 20:45:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:45:31 + sudo service docker restart 20:45:42 Removing intermediate container a76c8e412ed5 20:45:42 ---> a1b256094477 20:45:42 Step 13/26 : FROM alpine:3.18 20:45:42 3.18: Pulling from library/alpine 20:45:42 930bdd4d222e: Pulling fs layer 20:45:42 930bdd4d222e: Verifying Checksum 20:45:42 930bdd4d222e: Download complete 20:45:42 930bdd4d222e: Pull complete 20:45:42 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 20:45:42 Status: Downloaded newer image for alpine:3.18 20:45:42 ---> 18f865063206 20:45:42 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:45:42 ---> Running in 32bb43e79a1e 20:45:42 Removing intermediate container 32bb43e79a1e 20:45:42 ---> 6607cdd5d06d 20:45:42 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:45:42 ---> Running in 56e8b211a0a5 20:45:42 Removing intermediate container 56e8b211a0a5 20:45:42 ---> c993cbf5d30e 20:45:42 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:45:42 ---> Running in f112b4e38ac8 20:45:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:45:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:45:42 (1/1) Installing dumb-init (1.2.5-r2) 20:45:42 Executing busybox-1.36.1-r7.trigger 20:45:42 OK: 7 MiB in 16 packages 20:45:42 Removing intermediate container f112b4e38ac8 20:45:42 ---> 619f64ed40e6 20:45:42 Step 17/26 : RUN apk --no-cache upgrade 20:45:42 ---> Running in 56308c650572 20:45:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:45:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:45:42 OK: 7 MiB in 16 packages 20:45:43 Removing intermediate container 56308c650572 20:45:43 ---> 58d3d0875336 20:45:43 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:45:44 ---> 1c6718b55c9e 20:45:44 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:45:44 ---> bf8f8b1b2087 20:45:44 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:45:44 ---> 7692d8497e0f 20:45:44 Step 21/26 : EXPOSE 59986 20:45:44 ---> Running in d3c65f460fea 20:45:44 Removing intermediate container d3c65f460fea 20:45:44 ---> 743dc711cee8 20:45:44 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:45:44 ---> Running in 10c5b5a996fa 20:45:44 Removing intermediate container 10c5b5a996fa 20:45:44 ---> a5adfc3991a5 20:45:44 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:45:45 ---> Running in 4d87dd88152d 20:45:45 Removing intermediate container 4d87dd88152d 20:45:45 ---> 4615ad71d6e8 20:45:45 Step 24/26 : LABEL arch=amd64 20:45:45 ---> Running in dd2d4ecb69de 20:45:45 Removing intermediate container dd2d4ecb69de 20:45:45 ---> b3aad61f81de 20:45:45 Step 25/26 : LABEL git_sha=bae2d3ac7c969b8e164b4fc53d0f906d180c852f 20:45:45 ---> Running in b9f4deb32f6b 20:45:45 Removing intermediate container b9f4deb32f6b 20:45:45 ---> 4b1a02f3d8a0 20:45:45 Step 26/26 : LABEL version=0.0.0 20:45:45 ---> Running in 6f28bda65fce 20:45:45 Removing intermediate container 6f28bda65fce 20:45:45 ---> 66d07f9629b1 20:45:45 [Warning] One or more build-args [ARCH] were not consumed 20:45:45 Successfully built 66d07f9629b1 20:45:45 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:46 20:45:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:46 latest: Pulling from edgex-lftools-log-publisher 20:45:46 5eb5b503b376: Pulling fs layer 20:45:46 5c69ac0246d0: Pulling fs layer 20:45:46 ec43610c2a17: Pulling fs layer 20:45:46 3a2ae6a8a46f: Pulling fs layer 20:45:46 33b1e0a273af: Pulling fs layer 20:45:46 5d3b04190fa2: Pulling fs layer 20:45:46 2f39f015ded8: Pulling fs layer 20:45:46 33b1e0a273af: Waiting 20:45:46 5d3b04190fa2: Waiting 20:45:46 2f39f015ded8: Waiting 20:45:46 3a2ae6a8a46f: Waiting 20:45:46 5c69ac0246d0: Download complete 20:45:46 3a2ae6a8a46f: Verifying Checksum 20:45:46 3a2ae6a8a46f: Download complete 20:45:46 33b1e0a273af: Download complete 20:45:46 ec43610c2a17: Verifying Checksum 20:45:46 ec43610c2a17: Download complete 20:45:46 5d3b04190fa2: Verifying Checksum 20:45:46 5d3b04190fa2: Download complete 20:45:47 5eb5b503b376: Verifying Checksum 20:45:47 5eb5b503b376: Download complete 20:45:47 2f39f015ded8: Verifying Checksum 20:45:47 2f39f015ded8: Download complete 20:45:48 5eb5b503b376: Pull complete 20:45:48 5c69ac0246d0: Pull complete 20:45:48 ec43610c2a17: Pull complete 20:45:49 3a2ae6a8a46f: Pull complete 20:45:49 33b1e0a273af: Pull complete 20:45:49 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:45:49 provisioning config files... 20:45:49 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1574449725639854486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:50 ---> ****-login.sh 20:45:50 nexus3.edgexfoundry.org:10001 20:45:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:50 Configure a credential helper to remove this warning. See 20:45:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:50 20:45:50 Login Succeeded 20:45:50 nexus3.edgexfoundry.org:10002 20:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:51 Configure a credential helper to remove this warning. See 20:45:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:51 20:45:51 Login Succeeded 20:45:51 nexus3.edgexfoundry.org:10003 20:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:51 Configure a credential helper to remove this warning. See 20:45:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:51 20:45:51 Login Succeeded 20:45:51 nexus3.edgexfoundry.org:10004 20:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:51 Configure a credential helper to remove this warning. See 20:45:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:51 20:45:51 Login Succeeded 20:45:51 ****.io 20:45:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:52 Configure a credential helper to remove this warning. See 20:45:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:52 20:45:52 Login Succeeded 20:45:52 ---> ****-login.sh ends [Pipeline] } 20:45:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:45:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:45:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:45:52 ========================================================= 20:45:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:45:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:53 + 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:45:53 Sending build context to Docker daemon 130.6kB 20:45:53 2f39f015ded8: Pull complete 20:45:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:45:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv 20:45:53 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:45:53 Step 2/12 : FROM ${BASE} AS builder 20:45:53 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:45:53 c6b39de5b339: Pulling fs layer 20:45:53 a69c41024577: Pulling fs layer 20:45:53 d6de4b400683: Pulling fs layer 20:45:53 35cb2a7552d0: Pulling fs layer 20:45:53 4f4fb700ef54: Pulling fs layer 20:45:53 464afbd9ba4c: Pulling fs layer 20:45:53 00f215d4a9da: Pulling fs layer 20:45:53 d496ad576159: Pulling fs layer 20:45:53 35cb2a7552d0: Waiting 20:45:53 4f4fb700ef54: Waiting 20:45:53 464afbd9ba4c: Waiting 20:45:53 00f215d4a9da: Waiting 20:45:53 d496ad576159: Waiting [Pipeline] withDockerContainer 20:45:53 prd-ubuntu20.04-docker-8c-8g-6782 does not seem to be running inside a container 20:45:53 $ 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-403 -v /w/workspace/gexfoundry_device-rest-go_PR-403:/w/workspace/gexfoundry_device-rest-go_PR-403:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-403@tmp:/w/workspace/gexfoundry_device-rest-go_PR-403@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:45:54 a69c41024577: Verifying Checksum 20:45:54 a69c41024577: Download complete 20:45:54 35cb2a7552d0: Verifying Checksum 20:45:54 35cb2a7552d0: Download complete 20:45:54 c6b39de5b339: Download complete 20:45:54 4f4fb700ef54: Verifying Checksum 20:45:54 4f4fb700ef54: Download complete 20:45:54 464afbd9ba4c: Download complete 20:45:54 d496ad576159: Verifying Checksum 20:45:54 d496ad576159: Download complete 20:45:54 c6b39de5b339: Pull complete 20:45:55 a69c41024577: Pull complete 20:45:55 d6de4b400683: Verifying Checksum 20:45:55 d6de4b400683: Download complete 20:45:56 00f215d4a9da: Verifying Checksum 20:45:56 00f215d4a9da: Download complete 20:45:58 $ docker top 23f4d1a002d92b7dde5384177a61187b72f7cd8413bc0733901b6e73d92a7da9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:58 ---> job-cost.sh 20:45:58 lf-activate-venv: SKIPPING 20:45:58 INFO: No Stack... 20:45:59 INFO: Retrieving Pricing Info for: v3-standard-8 20:45:59 INFO: Archiving Costs [Pipeline] sh 20:45:59 + cat /w/workspace/gexfoundry_device-rest-go_PR-403/archives/cost.csv 20:45:59 + cut -d, -f6 [Pipeline] lock 20:45:59 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-403-1-stack-cost] 20:45:59 Resource [jenkins-edgexfoundry-device-rest-go-PR-403-1-stack-cost] did not exist. Created. 20:45:59 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-403-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:46:00 + echo total: 0.2199999988079071 [Pipeline] stash 20:46:00 Stashed 1 file(s) [Pipeline] } 20:46:00 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-403-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:46:00 $ docker stop --time=1 23f4d1a002d92b7dde5384177a61187b72f7cd8413bc0733901b6e73d92a7da9 20:46:01 $ docker rm -f --volumes 23f4d1a002d92b7dde5384177a61187b72f7cd8413bc0733901b6e73d92a7da9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:46:09 d6de4b400683: Pull complete 20:46:09 35cb2a7552d0: Pull complete 20:46:09 4f4fb700ef54: Pull complete 20:46:09 464afbd9ba4c: Pull complete 20:46:19 00f215d4a9da: Pull complete 20:46:20 d496ad576159: Pull complete 20:46:20 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 20:46:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:46:20 ---> f246e2811388 20:46:20 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:46:21 ---> Running in 3c3b291bf403 20:46:21 Removing intermediate container 3c3b291bf403 20:46:21 ---> cae9c5c31b43 20:46:21 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:46:21 ---> Running in fd4fff2a0927 20:46:22 Removing intermediate container fd4fff2a0927 20:46:22 ---> 0cf3d8d65bb3 20:46:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:46:22 ---> Running in 1896193d20d2 20:46:22 Removing intermediate container 1896193d20d2 20:46:22 ---> 2e28999dd3b6 20:46:22 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:46:22 ---> Running in ed94f2167067 20:46:22 Removing intermediate container ed94f2167067 20:46:22 ---> c2e2b0fe6f5b 20:46:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:46:22 ---> Running in 2dd1e1ac30d8 20:46:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:46:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:46:25 (1/4) Installing openssh-keygen (9.3_p2-r2) 20:46:25 (2/4) Installing libedit (20221030.3.1-r1) 20:46:25 (3/4) Installing openssh-client-common (9.3_p2-r2) 20:46:25 (4/4) Installing openssh-client-default (9.3_p2-r2) 20:46:25 Executing busybox-1.36.1-r5.trigger 20:46:25 OK: 271 MiB in 56 packages 20:46:26 Removing intermediate container 2dd1e1ac30d8 20:46:26 ---> c4ad73485c02 20:46:26 Step 8/12 : WORKDIR /device-rest-go 20:46:26 ---> Running in 419095b88cd4 20:46:26 Removing intermediate container 419095b88cd4 20:46:26 ---> b38e480321ee 20:46:26 Step 9/12 : COPY go.mod vendor* ./ 20:46:27 ---> 1d913a209984 20:46:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:46:27 ---> Running in 3e800bb2c5db 20:48:19 Removing intermediate container 3e800bb2c5db 20:48:19 ---> ad1fa3aca2dd 20:48:19 Step 11/12 : COPY . . 20:48:19 ---> 86932230bf9f 20:48:19 Step 12/12 : RUN $MAKE 20:48:19 ---> Running in cdcf5ecc88ac 20:48:19 noop 20:48:19 Removing intermediate container cdcf5ecc88ac 20:48:19 ---> 96c9cc3d8f31 20:48:19 Successfully built 96c9cc3d8f31 20:48:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:19 + docker inspect -f . ci-base-image-arm64 20:48:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:20 prd-ubuntu20.04-docker-arm64-4c-16g-6783 does not seem to be running inside a container 20:48:20 $ 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:48:21 $ docker top c8dc204b35b2a1bd3274d2931a0efff958081ccb44954785144cdb6fa07a248a -eo pid,comm [Pipeline] { [Pipeline] sh 20:48:22 + go version 20:48:22 go version go1.21.9 linux/arm64 [Pipeline] } 20:48:22 $ docker stop --time=1 c8dc204b35b2a1bd3274d2931a0efff958081ccb44954785144cdb6fa07a248a 20:48:24 $ docker rm -f --volumes c8dc204b35b2a1bd3274d2931a0efff958081ccb44954785144cdb6fa07a248a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:25 + docker inspect -f . ci-base-image-arm64 20:48:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:25 prd-ubuntu20.04-docker-arm64-4c-16g-6783 does not seem to be running inside a container 20:48:25 $ 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:48:26 $ docker top 1d22af1c2db51e8a3d0ef65c9ba2958035e8dea03d197a8c9793d561782beca9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:48:27 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:48:28 + make test 20:48:28 go test ./... -coverprofile=coverage.out ./... 20:48:33 ? github.com/edgexfoundry/device-rest-go [no test files] 20:51:40 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:51:43 ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 33.2% of statements 20:51:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:51:43 go vet ./... 20:52:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:52:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:52:30 ./bin/test-attribution-txt.sh 20:52:30 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 20:52:30 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 20:52:30 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 20:52:30 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 20:52:30 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 20:52:30 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 20:52:30 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 20:52:30 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 20:52:30 An attribution for golang.org/x/term is missing from Attribution.txt, please add 20:52:30 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 20:52:30 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 20:52:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:52:30 $ docker stop --time=1 1d22af1c2db51e8a3d0ef65c9ba2958035e8dea03d197a8c9793d561782beca9 20:52:32 $ docker rm -f --volumes 1d22af1c2db51e8a3d0ef65c9ba2958035e8dea03d197a8c9793d561782beca9 [Pipeline] // withDockerContainer [Pipeline] sh 20:52:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:52:34 Warning: overwriting stash ‘coverage-report’ 20:52:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:52:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:52:35 + ls -al . 20:52:35 total 244 20:52:35 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 20:48 . 20:52:35 drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 20:45 .. 20:52:35 -rw-rw-r-- 1 jenkins jenkins 151 Jul 30 20:45 .dockerignore 20:52:35 drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 20:45 .git 20:52:35 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 20:45 .github 20:52:35 -rw-rw-r-- 1 jenkins jenkins 264 Jul 30 20:45 .gitignore 20:52:35 -rw-rw-r-- 1 jenkins jenkins 41 Jul 30 20:45 .golangci.yml 20:52:35 -rw-rw-r-- 1 jenkins jenkins 10300 Jul 30 20:45 Attribution.txt 20:52:35 -rw-rw-r-- 1 jenkins jenkins 17685 Jul 30 20:45 CHANGELOG.md 20:52:35 -rw-rw-r-- 1 jenkins jenkins 1687 Jul 30 20:45 Dockerfile 20:52:35 -rw-rw-r-- 1 jenkins jenkins 677 Jul 30 20:45 GOVERNANCE.md 20:52:35 -rw-rw-r-- 1 jenkins jenkins 680 Jul 30 20:45 Jenkinsfile 20:52:35 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 30 20:45 LICENSE 20:52:35 -rw-rw-r-- 1 jenkins jenkins 2016 Jul 30 20:45 Makefile 20:52:35 -rw-rw-r-- 1 jenkins jenkins 620 Jul 30 20:45 OWNERS.md 20:52:35 -rw-rw-r-- 1 jenkins jenkins 3989 Jul 30 20:45 README.md 20:52:35 -rw-rw-r-- 1 jenkins jenkins 5 Jul 30 20:43 VERSION 20:52:35 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 20:45 bin 20:52:35 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 20:45 cmd 20:52:35 -rw-r--r-- 1 jenkins jenkins 14499 Jul 30 20:51 coverage.out 20:52:35 drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 20:45 driver 20:52:35 -rw-rw-r-- 1 jenkins jenkins 7134 Jul 30 20:45 go.mod 20:52:35 -rw-rw-r-- 1 jenkins jenkins 101673 Jul 30 20:45 go.sum 20:52:35 drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 20:45 openapi 20:52:35 -rw-rw-r-- 1 jenkins jenkins 713 Jul 30 20:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:36 + 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=bae2d3ac7c969b8e164b4fc53d0f906d180c852f --label arch=arm64 --label version=0.0.0 . 20:52:36 Sending build context to Docker daemon 145.9kB 20:52:36 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:52:36 Step 2/26 : FROM ${BASE} AS builder 20:52:36 ---> 96c9cc3d8f31 20:52:36 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:52:36 ---> Running in ac22aab6ee33 20:52:36 Removing intermediate container ac22aab6ee33 20:52:36 ---> fb01cd129bee 20:52:36 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:52:36 ---> Running in a68e51adbfb3 20:52:37 Removing intermediate container a68e51adbfb3 20:52:37 ---> cd5f462a13d2 20:52:37 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:52:37 ---> Running in 09ee41d2cd43 20:52:37 Removing intermediate container 09ee41d2cd43 20:52:37 ---> e336f7ffa43a 20:52:37 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:52:37 ---> Running in 72392c43cbf7 20:52:38 Removing intermediate container 72392c43cbf7 20:52:38 ---> efd981d25c5e 20:52:38 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:52:38 ---> Running in 8746fa8d5d73 20:52:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:52:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:52:40 OK: 271 MiB in 56 packages 20:52:41 Removing intermediate container 8746fa8d5d73 20:52:41 ---> ab75eb464348 20:52:41 Step 8/26 : WORKDIR /device-rest-go 20:52:41 ---> Running in 3c4850a95441 20:52:41 Removing intermediate container 3c4850a95441 20:52:41 ---> 18a1c85d2411 20:52:41 Step 9/26 : COPY go.mod vendor* ./ 20:52:42 ---> 02c8778d8f91 20:52:42 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:52:42 ---> Running in 53b25b7c4774 20:52:44 Removing intermediate container 53b25b7c4774 20:52:44 ---> 69598585541b 20:52:44 Step 11/26 : COPY . . 20:52:44 ---> 2571934b79c9 20:52:44 Step 12/26 : RUN $MAKE 20:52:44 ---> Running in e659e35c42de 20:52:45 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.29" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:56:07 Removing intermediate container e659e35c42de 20:56:07 ---> f6075bd04556 20:56:07 Step 13/26 : FROM alpine:3.18 20:56:07 3.18: Pulling from library/alpine 20:56:07 4983c3fe2029: Pulling fs layer 20:56:07 4983c3fe2029: Verifying Checksum 20:56:07 4983c3fe2029: Download complete 20:56:07 4983c3fe2029: Pull complete 20:56:07 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 20:56:07 Status: Downloaded newer image for alpine:3.18 20:56:07 ---> a0237000ae83 20:56:07 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:56:07 ---> Running in 205d619801b1 20:56:07 Removing intermediate container 205d619801b1 20:56:07 ---> d684e215163b 20:56:07 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:56:07 ---> Running in 1f0d20716f9f 20:56:07 Removing intermediate container 1f0d20716f9f 20:56:07 ---> 62eb5f6c018b 20:56:07 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:56:07 ---> Running in 2cd0a7583729 20:56:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:56:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:56:07 (1/1) Installing dumb-init (1.2.5-r2) 20:56:07 Executing busybox-1.36.1-r7.trigger 20:56:07 OK: 8 MiB in 16 packages 20:56:07 Removing intermediate container 2cd0a7583729 20:56:07 ---> 10e734e7b83a 20:56:07 Step 17/26 : RUN apk --no-cache upgrade 20:56:07 ---> Running in 19934ac58905 20:56:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:56:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:56:07 OK: 8 MiB in 16 packages 20:56:07 Removing intermediate container 19934ac58905 20:56:07 ---> 067a538b9fb2 20:56:07 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:56:08 ---> 7987e5a53567 20:56:08 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:56:08 ---> efcc6b3e1008 20:56:08 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:56:09 ---> b10f45fbaf53 20:56:09 Step 21/26 : EXPOSE 59986 20:56:09 ---> Running in 0932ba5b9f40 20:56:09 Removing intermediate container 0932ba5b9f40 20:56:09 ---> 58536cc02caf 20:56:09 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:56:09 ---> Running in b001d21a93a6 20:56:09 Removing intermediate container b001d21a93a6 20:56:09 ---> cc2fd01af728 20:56:09 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:56:10 ---> Running in 7bbea4d06d6f 20:56:10 Removing intermediate container 7bbea4d06d6f 20:56:10 ---> 883a5ce34d2d 20:56:10 Step 24/26 : LABEL arch=arm64 20:56:10 ---> Running in c0bdb4fdd1da 20:56:10 Removing intermediate container c0bdb4fdd1da 20:56:10 ---> e3597f6e6ae6 20:56:10 Step 25/26 : LABEL git_sha=bae2d3ac7c969b8e164b4fc53d0f906d180c852f 20:56:10 ---> Running in da025ec9164f 20:56:10 Removing intermediate container da025ec9164f 20:56:10 ---> 4213e75399f5 20:56:10 Step 26/26 : LABEL version=0.0.0 20:56:11 ---> Running in 6584997c2a77 20:56:11 Removing intermediate container 6584997c2a77 20:56:11 ---> 8052c0e6951c 20:56:11 [Warning] One or more build-args [ARCH] were not consumed 20:56:11 Successfully built 8052c0e6951c 20:56:11 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:56:12 20:56:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:56:12 arm64: Pulling from edgex-lftools-log-publisher 20:56:12 8998bd30e6a1: Pulling fs layer 20:56:12 04944245beec: Pulling fs layer 20:56:12 699f458cf7ca: Pulling fs layer 20:56:12 765212b225bb: Pulling fs layer 20:56:12 f23df028b6ca: Pulling fs layer 20:56:12 d65c8cfc05b1: Pulling fs layer 20:56:12 2437ff75d9bd: Pulling fs layer 20:56:12 765212b225bb: Waiting 20:56:12 f23df028b6ca: Waiting 20:56:12 2437ff75d9bd: Waiting 20:56:13 04944245beec: Verifying Checksum 20:56:13 04944245beec: Download complete 20:56:13 765212b225bb: Verifying Checksum 20:56:13 765212b225bb: Download complete 20:56:13 f23df028b6ca: Verifying Checksum 20:56:13 d65c8cfc05b1: Verifying Checksum 20:56:13 d65c8cfc05b1: Download complete 20:56:13 699f458cf7ca: Verifying Checksum 20:56:13 699f458cf7ca: Download complete 20:56:13 8998bd30e6a1: Verifying Checksum 20:56:13 8998bd30e6a1: Download complete 20:56:16 2437ff75d9bd: Verifying Checksum 20:56:16 2437ff75d9bd: Download complete 20:56:18 8998bd30e6a1: Pull complete 20:56:18 04944245beec: Pull complete 20:56:20 699f458cf7ca: Pull complete 20:56:20 765212b225bb: Pull complete 20:56:21 f23df028b6ca: Pull complete 20:56:21 d65c8cfc05b1: Pull complete 20:56:39 2437ff75d9bd: Pull complete 20:56:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:56:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:56:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:40 prd-ubuntu20.04-docker-arm64-4c-16g-6783 does not seem to be running inside a container 20:56:40 $ 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:56:42 $ docker top 519257da596c69c8bac8d97330ce779ec8b8cf57480d49a24db7f16ae1271861 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:43 ---> job-cost.sh 20:56:43 lf-activate-venv: SKIPPING 20:56:43 INFO: No Stack... 20:56:44 INFO: Retrieving Pricing Info for: v3-standard-4 20:56:45 INFO: Archiving Costs [Pipeline] sh 20:56:45 + cut -d, -f6 20:56:45 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 20:56:45 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-403-1-stack-cost] 20:56:45 Resource [jenkins-edgexfoundry-device-rest-go-PR-403-1-stack-cost] did not exist. Created. 20:56:45 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-403-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:56:46 /w/workspace/device-rest-go/1@tmp/durable-9d4d1d0d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:56:47 + echo total: 0.10999999940395355 [Pipeline] stash 20:56:47 Warning: overwriting stash ‘stack-cost’ 20:56:47 Stashed 1 file(s) [Pipeline] } 20:56:47 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-403-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:56:47 $ docker stop --time=1 519257da596c69c8bac8d97330ce779ec8b8cf57480d49a24db7f16ae1271861 20:56:48 $ docker rm -f --volumes 519257da596c69c8bac8d97330ce779ec8b8cf57480d49a24db7f16ae1271861 [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:56:50 provisioning config files... 20:56:50 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-403@tmp/config13171860522386319274tmp [Pipeline] { [Pipeline] sh 20:56:50 + set +x 20:56:50 + bash -s -- 20:56:50 + curl -s https://codecov.io/bash 20:56:50 20:56:50 _____ _ 20:56:50 / ____| | | 20:56:50 | | ___ __| | ___ ___ _____ __ 20:56:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:56:50 | |___| (_) | (_| | __/ (_| (_) \ V / 20:56:50 \_____\___/ \__,_|\___|\___\___/ \_/ 20:56:50 Bash-1.0.6 20:56:50 20:56:50 20:56:50 ==> git version 2.25.1 found 20:56:50 ==> 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:56:50 Release-Date: 2020-01-08 20:56:50 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:56:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:56:50 ==> Jenkins CI detected. 20:56:50 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-403 20:56:50 project root: . 20:56:50 --> token set from env 20:56:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:56:50 ==> Running gcov in . (disable via -X gcov) 20:56:50 ==> Python coveragepy not found 20:56:50 ==> Searching for coverage reports in: 20:56:50 + . 20:56:50 -> Found 1 reports 20:56:50 ==> Detecting git/mercurial file structure 20:56:50 ==> Reading reports 20:56:50 + ./coverage.out bytes=14499 20:56:50 ==> Appending adjustments 20:56:50 https://docs.codecov.io/docs/fixing-reports 20:56:50 + Found adjustments 20:56:50 ==> Gzipping contents 20:56:50 4.0K /tmp/codecov.qe6x6W.gz 20:56:50 ==> Uploading reports 20:56:50 url: https://codecov.io 20:56:50 query: branch=PR-403&commit=bae2d3ac7c969b8e164b4fc53d0f906d180c852f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-403%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=403&job=&cmd_args= 20:56:50 -> Pinging Codecov 20:56:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-403&commit=bae2d3ac7c969b8e164b4fc53d0f906d180c852f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-403%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=403&job=&cmd_args= 20:56:50 -> Uploading to 20:56:50 https://storage.googleapis.com/codecov/v4/raw/2024-07-30/4E5D53B4F1F92C436F7061BF334D961C/bae2d3ac7c969b8e164b4fc53d0f906d180c852f/0afb60aa-347d-4b97-b884-5351f8e7292a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240730%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240730T205650Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=693be9de0b7722f2451dbe65cabb021ffd359a4951ebf8a30d48664756c56b60 20:56:50 % Total % Received % Xferd Average Speed Time Time Time Current 20:56:50 Dload Upload Total Spent Left Speed 20:56:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9473 --:--:-- --:--:-- --:--:-- 9473 20:56:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/bae2d3ac7c969b8e164b4fc53d0f906d180c852f [Pipeline] } 20:56:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:56:53 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-403/archives ] 20:56:53 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-403/archives 20:56:53 total 16 20:56:53 drwxr-xr-x 3 root root 4096 Jul 30 20:45 . 20:56:53 drwxrwxr-x 10 jenkins jenkins 4096 Jul 30 20:46 .. 20:56:53 drwxr-xr-x 2 root root 4096 Jul 30 20:45 cost 20:56:53 -rw-r--r-- 1 root root 86 Jul 30 20:45 cost.csv 20:56:53 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-403/archives 20:56:53 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-403/archives 20:56:53 total 16 20:56:53 drwxr-xr-x 3 jenkins jenkins 4096 Jul 30 20:45 . 20:56:53 drwxrwxr-x 10 jenkins jenkins 4096 Jul 30 20:46 .. 20:56:53 drwxr-xr-x 2 jenkins jenkins 4096 Jul 30 20:45 cost 20:56:53 -rw-r--r-- 1 jenkins jenkins 86 Jul 30 20:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:56:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:56:54 ---> package-listing.sh 20:56:54 ++ facter osfamily 20:56:54 ++ tr '[:upper:]' '[:lower:]' 20:56:54 + OS_FAMILY=debian 20:56:54 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-403 20:56:54 + START_PACKAGES=/tmp/packages_start.txt 20:56:54 + END_PACKAGES=/tmp/packages_end.txt 20:56:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:56:54 + PACKAGES=/tmp/packages_start.txt 20:56:54 + '[' /w/workspace/gexfoundry_device-rest-go_PR-403 ']' 20:56:54 + PACKAGES=/tmp/packages_end.txt 20:56:54 + case "${OS_FAMILY}" in 20:56:54 + dpkg -l 20:56:54 + grep '^ii' 20:56:54 + '[' -f /tmp/packages_start.txt ']' 20:56:54 + '[' -f /tmp/packages_end.txt ']' 20:56:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:56:54 + '[' /w/workspace/gexfoundry_device-rest-go_PR-403 ']' 20:56:54 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-403/archives/ 20:56:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-403/archives/ [Pipeline] echo 20:56:54 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-403/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:56:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:56:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:56 prd-ubuntu20.04-docker-8c-8g-6782 does not seem to be running inside a container 20:56:56 $ 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-403/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-403 -v /w/workspace/gexfoundry_device-rest-go_PR-403:/w/workspace/gexfoundry_device-rest-go_PR-403:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-403@tmp:/w/workspace/gexfoundry_device-rest-go_PR-403@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:56:56 $ docker top 1fa49005a844936915a927edb7790ca69b14a75fbd8b92f2ed7f27d46f228533 -eo pid,comm [Pipeline] { [Pipeline] sh 20:56:56 + touch /tmp/pre-build-complete [Pipeline] sh 20:56:56 + mkdir -p /var/log/sysstat [Pipeline] sh 20:56:57 + ls /var/log/sa-host 20:56:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:56:57 provisioning config files... 20:56:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-403@tmp/config8187579307153246416tmp [Pipeline] { [Pipeline] echo 20:56:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:56:58 ---> create-netrc.sh [Pipeline] } 20:56:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:56:58 ---> python-tools-install.sh [Pipeline] echo 20:56:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:56:58 ---> sudo-logs.sh 20:56:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:56:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:56:59 ---> job-cost.sh 20:56:59 lf-activate-venv: SKIPPING 20:56:59 DEBUG: total: 0.2199999988079071 20:56:59 INFO: Retrieving Stack Cost... 20:56:59 INFO: Retrieving Pricing Info for: v3-standard-8 20:57:00 INFO: Archiving Costs [Pipeline] echo 20:57:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:57:00 ---> logs-deploy.sh 20:57:00 lf-activate-venv: SKIPPING 20:57:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-403/1 20:57:00 INFO: archiving workspace using pattern(s): 20:57:01 Archives upload complete. 20:57:01 INFO: archiving logs to Nexus