Pull request #401 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12+f16f1098eb92bf801dde80d57265cdf1f99e8d64 (2d4f0d5a3595f6d90a49112365086f8e796c0017) 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-ssh1848239282669053598.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-ssh5469139707711629827.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-401/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-401/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9920397325275009818.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-401/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12759670783758977739.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-ssh11899869990072411385.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-401/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-401/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13692655156567049335.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-6357 in /w/workspace/gexfoundry_device-rest-go_PR-401 [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-401 # 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/401/head:refs/remotes/origin/PR-401 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f16f1098eb92bf801dde80d57265cdf1f99e8d64 into PR head commit 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 Merge succeeded, producing 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 Checking out Revision 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 (PR-401) 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 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 # 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 f16f1098eb92bf801dde80d57265cdf1f99e8d64 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:48:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:48:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:48:52 ========================================================= 20:48:52 EdgeX Global Pipelines Version Info 20:48:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:48:53 ------------------- 20:48:53 stable info: 20:48:53 ------------------- 20:48:53 Commited By: Ginny Guan ginny@iotechsys.com 20:48:53 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 20:48:53 Message: update stable to v1.0.260 20:48:53 ------------------- 20:48:53 experimental info: 20:48:53 ------------------- 20:48:53 Commited By: Ginny Guan ginny@iotechsys.com 20:48:53 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 20:48:53 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:48:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:48:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:48:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:48:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:48:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:48:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:48:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:48:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:48:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:48:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:48:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:48:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:48:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:48:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:48:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:48:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:48:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:48:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:48:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:48:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:48:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:48:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:48:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:48:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:48:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:48:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:48:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:48:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-401 [Pipeline] echo 20:48:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-401 [Pipeline] echo 20:48:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-401 [Pipeline] echo 20:48:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 [Pipeline] echo 20:48:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 331b8e5 [Pipeline] echo 20:48:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:48:56 provisioning config files... 20:48:56 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-401@tmp/config8722767854357170289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:48:56 ---> ****-login.sh 20:48:56 nexus3.edgexfoundry.org:10001 20:48:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:48:56 Configure a credential helper to remove this warning. See 20:48:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:48:56 20:48:56 Login Succeeded 20:48:56 nexus3.edgexfoundry.org:10002 20:48:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:48:57 Configure a credential helper to remove this warning. See 20:48:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:48:57 20:48:57 Login Succeeded 20:48:57 nexus3.edgexfoundry.org:10003 20:48:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:48:57 Configure a credential helper to remove this warning. See 20:48:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:48:57 20:48:57 Login Succeeded 20:48:57 nexus3.edgexfoundry.org:10004 20:48:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:48:57 Configure a credential helper to remove this warning. See 20:48:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:48:57 20:48:57 Login Succeeded 20:48:57 ****.io 20:48:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:48:57 Configure a credential helper to remove this warning. See 20:48:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:48:57 20:48:57 Login Succeeded 20:48:57 ---> ****-login.sh ends [Pipeline] } 20:48:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:48:58 + git rev-list -1 --merges 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12~1..331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 [Pipeline] echo 20:48:58 -----------> git rev-list -1 --merges 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12~1..331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 [false] [Pipeline] sh 20:48:59 + git log --format=format:%s -1 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 [Pipeline] echo 20:48:59 ========================================================= 20:48:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:48:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:48:59 + git log --format=format:%s -1 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 [Pipeline] echo 20:48:59 [semverPrep] GIT_COMMIT: 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:48:59 [semverPrep] This is not a build commit. [Pipeline] sh 20:49:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:49:00 + grep -v github /etc/ssh/ssh_known_hosts 20:49:00 + [ -e /tmp/ssh_known_hosts ] 20:49:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:49:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 20:49:00 sudo tee -a /etc/ssh/ssh_known_hosts 20:49:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:49:00 20:49:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:49:00 0.1.4: Pulling from edgex-devops/py-git-semver 20:49:00 b85a868b505f: Pulling fs layer 20:49:00 e2be974225ed: Pulling fs layer 20:49:00 339a4e72a1f5: Pulling fs layer 20:49:00 988bab9f4d93: Pulling fs layer 20:49:00 1469e6f7b9e6: Pulling fs layer 20:49:00 eaf3925da568: Pulling fs layer 20:49:00 bab4dde63d76: Pulling fs layer 20:49:00 bde34c3a00c8: Pulling fs layer 20:49:00 b352a97aabf1: Pulling fs layer 20:49:00 4872d77fe225: Pulling fs layer 20:49:00 5851b861e8e6: Pulling fs layer 20:49:00 1469e6f7b9e6: Waiting 20:49:00 eaf3925da568: Waiting 20:49:00 bab4dde63d76: Waiting 20:49:00 bde34c3a00c8: Waiting 20:49:00 4872d77fe225: Waiting 20:49:00 b352a97aabf1: Waiting 20:49:00 988bab9f4d93: Waiting 20:49:00 e2be974225ed: Download complete 20:49:00 988bab9f4d93: Verifying Checksum 20:49:00 988bab9f4d93: Download complete 20:49:00 1469e6f7b9e6: Verifying Checksum 20:49:00 1469e6f7b9e6: Download complete 20:49:00 eaf3925da568: Download complete 20:49:01 339a4e72a1f5: Verifying Checksum 20:49:01 339a4e72a1f5: Download complete 20:49:01 bde34c3a00c8: Verifying Checksum 20:49:01 bde34c3a00c8: Download complete 20:49:01 b352a97aabf1: Verifying Checksum 20:49:01 b352a97aabf1: Download complete 20:49:01 4872d77fe225: Download complete 20:49:01 5851b861e8e6: Verifying Checksum 20:49:01 5851b861e8e6: Download complete 20:49:01 b85a868b505f: Download complete 20:49:01 bab4dde63d76: Verifying Checksum 20:49:01 bab4dde63d76: Download complete 20:49:02 b85a868b505f: Pull complete 20:49:02 e2be974225ed: Pull complete 20:49:02 339a4e72a1f5: Pull complete 20:49:03 988bab9f4d93: Pull complete 20:49:03 1469e6f7b9e6: Pull complete 20:49:03 eaf3925da568: Pull complete 20:49:05 bab4dde63d76: Pull complete 20:49:05 bde34c3a00c8: Pull complete 20:49:05 b352a97aabf1: Pull complete 20:49:05 4872d77fe225: Pull complete 20:49:05 5851b861e8e6: Pull complete 20:49:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:49:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:49:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:49:05 prd-ubuntu20.04-docker-8c-8g-6357 does not seem to be running inside a container 20:49:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-401 -v /w/workspace/gexfoundry_device-rest-go_PR-401:/w/workspace/gexfoundry_device-rest-go_PR-401:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-401@tmp:/w/workspace/gexfoundry_device-rest-go_PR-401@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:49:07 $ docker top be283dd7bc84d38a11d412f0152c46bc4a1bbcf29d2e11391d42b461f8db6772 -eo pid,comm 20:49:08 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:49:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:49:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:49:08 [ssh-agent] Looking for ssh-agent implementation... 20:49:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:49:08 $ docker exec be283dd7bc84d38a11d412f0152c46bc4a1bbcf29d2e11391d42b461f8db6772 ssh-agent 20:49:08 SSH_AUTH_SOCK=/tmp/ssh-oLw05vUwfjUX/agent.33 20:49:08 SSH_AGENT_PID=39 20:49:08 Running ssh-add (command line suppressed) 20:49:08 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-401@tmp/private_key_2631980336606270012.key (/w/workspace/gexfoundry_device-rest-go_PR-401@tmp/private_key_2631980336606270012.key) 20:49:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:49:08 + git tag --points-at HEAD [Pipeline] } 20:49:08 $ docker exec --env ******** --env ******** be283dd7bc84d38a11d412f0152c46bc4a1bbcf29d2e11391d42b461f8db6772 ssh-agent -k 20:49:09 unset SSH_AUTH_SOCK; 20:49:09 unset SSH_AGENT_PID; 20:49:09 echo Agent pid 39 killed; 20:49:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:49:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:49:09 [ssh-agent] Looking for ssh-agent implementation... 20:49:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:49:09 $ docker exec be283dd7bc84d38a11d412f0152c46bc4a1bbcf29d2e11391d42b461f8db6772 ssh-agent 20:49:09 SSH_AUTH_SOCK=/tmp/ssh-zagvx2agAGEz/agent.72 20:49:09 SSH_AGENT_PID=78 20:49:09 Running ssh-add (command line suppressed) 20:49:09 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-401@tmp/private_key_8119044707792933208.key (/w/workspace/gexfoundry_device-rest-go_PR-401@tmp/private_key_8119044707792933208.key) 20:49:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:49:09 + git semver init 20:49:10 2024-07-24 20:49:10,119 [run_init] DEBUG init version:0.0.0 force:False 20:49:10 2024-07-24 20:49:10,120 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-401/.semver 20:49:10 2024-07-24 20:49:10,120 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-401/.semver 20:49:10 2024-07-24 20:49:10,121 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-401/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-401, universal_newlines=False, shell=None, istream=None) 20:49:11 2024-07-24 20:49:11,458 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-401/.git/info/exclude 20:49:11 2024-07-24 20:49:11,459 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-401/.semver/PR-401 with force:False 20:49:11 2024-07-24 20:49:11,459 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-401/.semver/PR-401 20:49:11 2024-07-24 20:49:11,463 [execute] INFO git cat-file --batch-check 20:49:11 2024-07-24 20:49:11,464 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-401/.semver, universal_newlines=False, shell=None, istream=) 20:49:11 2024-07-24 20:49:11,470 [execute] INFO git cat-file --batch 20:49:11 2024-07-24 20:49:11,470 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-401/.semver, universal_newlines=False, shell=None, istream=) 20:49:11 2024-07-24 20:49:11,474 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-401/.semver/PR-401 20:49:11 0.0.0 [Pipeline] } 20:49:11 $ docker exec --env ******** --env ******** be283dd7bc84d38a11d412f0152c46bc4a1bbcf29d2e11391d42b461f8db6772 ssh-agent -k 20:49:11 unset SSH_AUTH_SOCK; 20:49:11 unset SSH_AGENT_PID; 20:49:11 echo Agent pid 78 killed; 20:49:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:49:12 + git semver [Pipeline] } 20:49:12 $ docker stop --time=1 be283dd7bc84d38a11d412f0152c46bc4a1bbcf29d2e11391d42b461f8db6772 20:49:13 $ docker rm -f --volumes be283dd7bc84d38a11d412f0152c46bc4a1bbcf29d2e11391d42b461f8db6772 [Pipeline] // withDockerContainer [Pipeline] sh 20:49:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:49:14 Stashed 1 file(s) [Pipeline] echo 20:49:14 [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:49:15 provisioning config files... 20:49:15 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-401@tmp/config7203364575365526868tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:49:15 ---> ****-login.sh 20:49:15 nexus3.edgexfoundry.org:10001 20:49:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:49:15 Configure a credential helper to remove this warning. See 20:49:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:49:15 20:49:15 Login Succeeded 20:49:15 nexus3.edgexfoundry.org:10002 20:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:49:16 Configure a credential helper to remove this warning. See 20:49:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:49:16 20:49:16 Login Succeeded 20:49:16 nexus3.edgexfoundry.org:10003 20:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:49:16 Configure a credential helper to remove this warning. See 20:49:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:49:16 20:49:16 Login Succeeded 20:49:16 nexus3.edgexfoundry.org:10004 20:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:49:16 Configure a credential helper to remove this warning. See 20:49:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:49:16 20:49:16 Login Succeeded 20:49:16 ****.io 20:49:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:49:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:49:16 Configure a credential helper to remove this warning. See 20:49:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:49:16 20:49:16 Login Succeeded 20:49:16 ---> ****-login.sh ends [Pipeline] } 20:49:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:49:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:49:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:49:16 ========================================================= 20:49:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:49:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:17 + 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:49:17 Sending build context to Docker daemon 16.55MB 20:49:17 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:49:17 Step 2/12 : FROM ${BASE} AS builder 20:49:17 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:49:17 619be1103602: Pulling fs layer 20:49:17 7862e08f4a3e: Pulling fs layer 20:49:17 5df492c9dc93: Pulling fs layer 20:49:17 7629e6793208: Pulling fs layer 20:49:17 4f4fb700ef54: Pulling fs layer 20:49:17 fb5054dd5b73: Pulling fs layer 20:49:17 eeca6798cff9: Pulling fs layer 20:49:17 aa269ceb94a6: Pulling fs layer 20:49:17 ada007ff1a6a: Pulling fs layer 20:49:17 4f4fb700ef54: Waiting 20:49:17 aa269ceb94a6: Waiting 20:49:17 ada007ff1a6a: Waiting 20:49:17 7629e6793208: Waiting 20:49:17 7862e08f4a3e: Verifying Checksum 20:49:17 7862e08f4a3e: Download complete 20:49:17 619be1103602: Verifying Checksum 20:49:17 619be1103602: Download complete 20:49:17 fb5054dd5b73: Verifying Checksum 20:49:17 fb5054dd5b73: Download complete 20:49:17 4f4fb700ef54: Verifying Checksum 20:49:17 4f4fb700ef54: Download complete 20:49:17 eeca6798cff9: Verifying Checksum 20:49:17 eeca6798cff9: Download complete 20:49:17 619be1103602: Pull complete 20:49:17 ada007ff1a6a: Verifying Checksum 20:49:17 ada007ff1a6a: Download complete 20:49:17 7862e08f4a3e: Pull complete 20:49:18 5df492c9dc93: Verifying Checksum 20:49:18 aa269ceb94a6: Verifying Checksum 20:49:18 aa269ceb94a6: Download complete 20:49:22 5df492c9dc93: Pull complete 20:49:22 7629e6793208: Pull complete 20:49:22 4f4fb700ef54: Pull complete 20:49:22 fb5054dd5b73: Pull complete 20:49:22 eeca6798cff9: Pull complete 20:49:24 aa269ceb94a6: Pull complete 20:49:25 ada007ff1a6a: Pull complete 20:49:25 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 20:49:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:49:25 ---> f489d0715acc 20:49:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:49:28 ---> Running in 0e586e77aedf 20:49:28 Removing intermediate container 0e586e77aedf 20:49:28 ---> 40c7cd5a2e90 20:49:28 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:49:28 ---> Running in c9fd4c189773 20:49:28 Removing intermediate container c9fd4c189773 20:49:28 ---> c204aaf9965f 20:49:28 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:49:28 ---> Running in 9a1f83d5d210 20:49:28 Removing intermediate container 9a1f83d5d210 20:49:28 ---> 9080e9c53558 20:49:28 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:49:28 ---> Running in f4442cc7d616 20:49:28 Removing intermediate container f4442cc7d616 20:49:28 ---> b67c5a26277d 20:49:28 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:49:28 ---> Running in 22bd4fb77cab 20:49:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:49:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:49:29 (1/4) Installing openssh-keygen (9.3_p2-r2) 20:49:29 (2/4) Installing libedit (20221030.3.1-r1) 20:49:29 (3/4) Installing openssh-client-common (9.3_p2-r2) 20:49:29 (4/4) Installing openssh-client-default (9.3_p2-r2) 20:49:29 Executing busybox-1.36.1-r5.trigger 20:49:29 OK: 268 MiB in 56 packages 20:49:30 Removing intermediate container 22bd4fb77cab 20:49:30 ---> be49b7a9bff2 20:49:30 Step 8/12 : WORKDIR /device-rest-go 20:49:30 ---> Running in f7a8b9a62b1d 20:49:30 Still waiting to schedule task 20:49:30 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:49:30 Removing intermediate container f7a8b9a62b1d 20:49:30 ---> 54c165c22410 20:49:30 Step 9/12 : COPY go.mod vendor* ./ 20:49:30 ---> 7d514711d8b1 20:49:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:49:30 ---> Running in 94abe2f8d0c2 20:50:38 Removing intermediate container 94abe2f8d0c2 20:50:38 ---> c9ee4326edac 20:50:38 Step 11/12 : COPY . . 20:50:38 ---> dc36f04473e6 20:50:38 Step 12/12 : RUN $MAKE 20:50:38 ---> Running in d4ca9c595964 20:50:38 noop 20:50:38 Removing intermediate container d4ca9c595964 20:50:38 ---> 796bd16af762 20:50:38 Successfully built 796bd16af762 20:50:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:38 + docker inspect -f . ci-base-image-x86_64 20:50:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:50:38 prd-ubuntu20.04-docker-8c-8g-6357 does not seem to be running inside a container 20:50:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-401 -v /w/workspace/gexfoundry_device-rest-go_PR-401:/w/workspace/gexfoundry_device-rest-go_PR-401:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-401@tmp:/w/workspace/gexfoundry_device-rest-go_PR-401@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:50:39 $ docker top c897ab190b9cab171683cedae0d76806dccb060adafbf36b3fae1a6ecee0276b -eo pid,comm [Pipeline] { [Pipeline] sh 20:50:39 + go version 20:50:39 go version go1.21.9 linux/amd64 [Pipeline] } 20:50:39 $ docker stop --time=1 c897ab190b9cab171683cedae0d76806dccb060adafbf36b3fae1a6ecee0276b 20:50:40 $ docker rm -f --volumes c897ab190b9cab171683cedae0d76806dccb060adafbf36b3fae1a6ecee0276b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:41 + docker inspect -f . ci-base-image-x86_64 20:50:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:50:42 prd-ubuntu20.04-docker-8c-8g-6357 does not seem to be running inside a container 20:50:42 $ 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-401 -v /w/workspace/gexfoundry_device-rest-go_PR-401:/w/workspace/gexfoundry_device-rest-go_PR-401:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-401@tmp:/w/workspace/gexfoundry_device-rest-go_PR-401@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:50:42 $ docker top 0519e717409f012bc357ac09cf251739c343190bb2f0d91076a3b90de2ed0252 -eo pid,comm [Pipeline] { [Pipeline] sh 20:50:42 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-401 [Pipeline] fileExists [Pipeline] sh 20:50:43 + make test 20:50:43 go test ./... -coverprofile=coverage.out ./... 20:50:44 ? github.com/edgexfoundry/device-rest-go [no test files] 20:51:02 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:51:02 ok github.com/edgexfoundry/device-rest-go/driver 0.006s coverage: 33.2% of statements 20:51:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6358 in /w/workspace/gexfoundry_device-rest-go_PR-401 [Pipeline] { [Pipeline] ws 20:51:06 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:51:06 The recommended git tool is: git 20:51:10 go vet ./... 20:51:10 using credential edgex-jenkins-ssh 20:51:10 Cloning the remote Git repository 20:51:10 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:51:11 > git init /w/workspace/device-rest-go/1 # timeout=10 20:51:11 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:51:11 > git --version # timeout=10 20:51:11 > git --version # 'git version 2.25.1' 20:51:11 using GIT_SSH to set credentials SSH Credentials for GitHub 20:51:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:51:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:51:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:51:14 ./bin/test-attribution-txt.sh 20:51:14 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 20:51:14 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 20:51:14 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 20:51:14 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 20:51:14 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 20:51:14 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 20:51:14 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 20:51:14 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 20:51:14 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 20:51:14 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 20:51:14 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 20:51:14 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:51:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:51:14 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:51:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:51:14 using GIT_SSH to set credentials SSH Credentials for GitHub 20:51:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/401/head:refs/remotes/origin/PR-401 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:51:15 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 20:51:15 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 20:51:15 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 20:51:15 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 20:51:15 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 20:51:15 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 20:51:15 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 20:51:15 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 20:51:15 An attribution for golang.org/x/term is missing from Attribution.txt, please add 20:51:15 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 20:51:15 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 20:51:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:51:15 $ docker stop --time=1 0519e717409f012bc357ac09cf251739c343190bb2f0d91076a3b90de2ed0252 20:51:15 Merging remotes/origin/main commit f16f1098eb92bf801dde80d57265cdf1f99e8d64 into PR head commit 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 20:51:15 Merge succeeded, producing 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 20:51:15 Checking out Revision 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 (PR-401) 20:51:16 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:51:16 > git --version # timeout=10 20:51:16 > git --version # 'git version 2.25.1' 20:51:16 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 20:51:15 > git config core.sparsecheckout # timeout=10 20:51:15 > git checkout -f 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 # timeout=10 20:51:15 > git remote # timeout=10 20:51:15 > git config --get remote.origin.url # timeout=10 20:51:15 using GIT_SSH to set credentials SSH Credentials for GitHub 20:51:15 > git merge f16f1098eb92bf801dde80d57265cdf1f99e8d64 # timeout=10 20:51:15 > git rev-parse HEAD^{commit} # timeout=10 20:51:15 > git config core.sparsecheckout # timeout=10 20:51:15 > git checkout -f 331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 # timeout=10 20:51:18 $ docker rm -f --volumes 0519e717409f012bc357ac09cf251739c343190bb2f0d91076a3b90de2ed0252 [Pipeline] // withDockerContainer [Pipeline] sh 20:51:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:51:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:51:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:51:19 + ls -al . 20:51:19 total 248 20:51:19 drwxrwxr-x 9 jenkins jenkins 4096 Jul 24 20:50 . 20:51:19 drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 20:48 .. 20:51:19 -rw-rw-r-- 1 jenkins jenkins 151 Jul 24 20:48 .dockerignore 20:51:19 drwxrwxr-x 8 jenkins jenkins 4096 Jul 24 20:51 .git 20:51:19 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 20:48 .github 20:51:19 -rw-rw-r-- 1 jenkins jenkins 264 Jul 24 20:48 .gitignore 20:51:19 -rw-rw-r-- 1 jenkins jenkins 41 Jul 24 20:48 .golangci.yml 20:51:19 drwxr-xr-x 3 jenkins jenkins 4096 Jul 24 20:49 .semver 20:51:19 -rw-rw-r-- 1 jenkins jenkins 10300 Jul 24 20:48 Attribution.txt 20:51:19 -rw-rw-r-- 1 jenkins jenkins 17685 Jul 24 20:48 CHANGELOG.md 20:51:19 -rw-rw-r-- 1 jenkins jenkins 1687 Jul 24 20:48 Dockerfile 20:51:19 -rw-rw-r-- 1 jenkins jenkins 677 Jul 24 20:48 GOVERNANCE.md 20:51:19 -rw-rw-r-- 1 jenkins jenkins 680 Jul 24 20:48 Jenkinsfile 20:51:19 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 24 20:48 LICENSE 20:51:19 -rw-rw-r-- 1 jenkins jenkins 2016 Jul 24 20:48 Makefile 20:51:19 -rw-rw-r-- 1 jenkins jenkins 620 Jul 24 20:48 OWNERS.md 20:51:19 -rw-rw-r-- 1 jenkins jenkins 3989 Jul 24 20:48 README.md 20:51:19 -rw-rw-r-- 1 jenkins jenkins 5 Jul 24 20:49 VERSION 20:51:19 drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 20:48 bin 20:51:19 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 20:48 cmd 20:51:19 -rw-r--r-- 1 jenkins jenkins 14499 Jul 24 20:51 coverage.out 20:51:19 drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 20:48 driver 20:51:19 -rw-rw-r-- 1 jenkins jenkins 7134 Jul 24 20:48 go.mod 20:51:19 -rw-rw-r-- 1 jenkins jenkins 101673 Jul 24 20:48 go.sum 20:51:19 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 20:48 openapi 20:51:19 -rw-rw-r-- 1 jenkins jenkins 713 Jul 24 20:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 20:51:20 + 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=331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 --label arch=amd64 --label version=0.0.0 . 20:51:20 Sending build context to Docker daemon 16.57MB 20:51:20 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:51:20 Step 2/26 : FROM ${BASE} AS builder 20:51:20 ---> 796bd16af762 20:51:20 Step 3/26 : ARG ADD_BUILD_TAGS="" [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:51:20 ---> Running in 7c8a02b5032c 20:51:21 Removing intermediate container 7c8a02b5032c 20:51:21 ---> 7ae7bf9e3caf 20:51:21 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:51:21 ---> Running in e79dd4c431c7 20:51:21 Removing intermediate container e79dd4c431c7 20:51:21 ---> a310e76b7052 20:51:21 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:51:21 ---> Running in a64e48b6bb5e 20:51:21 Removing intermediate container a64e48b6bb5e 20:51:21 ---> e684bad1cbc8 20:51:21 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:51:21 ---> Running in 4cb0658ec8b2 20:51:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:51:21 % Total % Received % Xferd Average Speed Time Time Time Current 20:51:21 Dload Upload Total Spent Left Speed 20:51:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 102k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 20:51:21 Removing intermediate container 4cb0658ec8b2 20:51:21 ---> b6b789567470 20:51:21 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:51:21 ---> Running in 5ef90920c94c 20:51:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:51:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:51:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:51:21 + sudo tee /etc/docker/daemon.new 20:51:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:51:21 { 20:51:21 "registry-mirrors": [ 20:51:21 "https://nexus3.edgexfoundry.org:10001" 20:51:21 ], 20:51:21 "bip": "10.250.0.254/24", 20:51:21 "hosts": [ 20:51:21 "tcp://0.0.0.0:5555", 20:51:21 "unix:///var/run/docker.sock" 20:51:21 ], 20:51:21 "mtu": 1458, 20:51:21 "selinux-enabled": true, 20:51:21 "seccomp-profile": "/etc/docker/seccomp.json" 20:51:21 } [Pipeline] sh 20:51:22 OK: 268 MiB in 56 packages 20:51:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:51:22 Removing intermediate container 5ef90920c94c 20:51:22 ---> 1920930be380 20:51:22 Step 8/26 : WORKDIR /device-rest-go 20:51:22 ---> Running in c55ffd789748 20:51:22 Removing intermediate container c55ffd789748 20:51:22 ---> f95256384924 20:51:22 Step 9/26 : COPY go.mod vendor* ./ 20:51:22 ---> 92fd4eac6ae4 20:51:22 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:51:22 ---> Running in 64e5185536ce 20:51:22 + sudo service docker restart 20:51:23 Removing intermediate container 64e5185536ce 20:51:23 ---> fcff8a44ca1a 20:51:23 Step 11/26 : COPY . . 20:51:23 ---> ac8e8e794f74 20:51:23 Step 12/26 : RUN $MAKE 20:51:23 ---> Running in d458b21f5cd9 20:51:23 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.26" -trimpath -mod=readonly -o cmd/device-rest ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:51:40 provisioning config files... 20:51:40 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3730011795238198896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:51:41 ---> ****-login.sh 20:51:41 nexus3.edgexfoundry.org:10001 20:51:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:51:42 Configure a credential helper to remove this warning. See 20:51:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:51:42 20:51:42 Login Succeeded 20:51:42 nexus3.edgexfoundry.org:10002 20:51:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:51:42 Configure a credential helper to remove this warning. See 20:51:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:51:42 20:51:42 Login Succeeded 20:51:42 nexus3.edgexfoundry.org:10003 20:51:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:51:42 Configure a credential helper to remove this warning. See 20:51:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:51:42 20:51:42 Login Succeeded 20:51:42 nexus3.edgexfoundry.org:10004 20:51:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:51:43 Configure a credential helper to remove this warning. See 20:51:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:51:43 20:51:43 Login Succeeded 20:51:43 ****.io 20:51:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:51:43 Configure a credential helper to remove this warning. See 20:51:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:51:43 20:51:43 Login Succeeded 20:51:43 ---> ****-login.sh ends [Pipeline] } 20:51:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:51:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:51:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:51:44 ========================================================= 20:51:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:51:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:44 + 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:51:44 Sending build context to Docker daemon 130.6kB 20:51:45 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:51:45 Step 2/12 : FROM ${BASE} AS builder 20:51:45 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:51:45 c6b39de5b339: Pulling fs layer 20:51:45 a69c41024577: Pulling fs layer 20:51:45 d6de4b400683: Pulling fs layer 20:51:45 35cb2a7552d0: Pulling fs layer 20:51:45 4f4fb700ef54: Pulling fs layer 20:51:45 464afbd9ba4c: Pulling fs layer 20:51:45 00f215d4a9da: Pulling fs layer 20:51:45 d496ad576159: Pulling fs layer 20:51:45 4f4fb700ef54: Waiting 20:51:45 464afbd9ba4c: Waiting 20:51:45 35cb2a7552d0: Waiting 20:51:45 00f215d4a9da: Waiting 20:51:45 d496ad576159: Waiting 20:51:45 a69c41024577: Download complete 20:51:45 35cb2a7552d0: Verifying Checksum 20:51:45 35cb2a7552d0: Download complete 20:51:45 4f4fb700ef54: Verifying Checksum 20:51:45 4f4fb700ef54: Download complete 20:51:45 464afbd9ba4c: Verifying Checksum 20:51:45 464afbd9ba4c: Download complete 20:51:45 c6b39de5b339: Verifying Checksum 20:51:45 c6b39de5b339: Download complete 20:51:45 d496ad576159: Verifying Checksum 20:51:45 d496ad576159: Download complete 20:51:46 c6b39de5b339: Pull complete 20:51:46 a69c41024577: Pull complete 20:51:47 d6de4b400683: Verifying Checksum 20:51:47 d6de4b400683: Download complete 20:51:48 00f215d4a9da: Verifying Checksum 20:51:48 00f215d4a9da: Download complete 20:51:56 Removing intermediate container d458b21f5cd9 20:51:56 ---> bf08b861930a 20:51:56 Step 13/26 : FROM alpine:3.18 20:51:56 3.18: Pulling from library/alpine 20:51:56 930bdd4d222e: Pulling fs layer 20:51:56 930bdd4d222e: Verifying Checksum 20:51:56 930bdd4d222e: Download complete 20:51:56 930bdd4d222e: Pull complete 20:51:56 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 20:51:56 Status: Downloaded newer image for alpine:3.18 20:51:56 ---> 18f865063206 20:51:56 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:51:56 ---> Running in 0aef75d33329 20:51:56 Removing intermediate container 0aef75d33329 20:51:56 ---> 8769568c1d61 20:51:56 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:51:56 ---> Running in 342b023d19ee 20:51:56 Removing intermediate container 342b023d19ee 20:51:56 ---> 63dc269786e4 20:51:56 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:51:56 ---> Running in bbed8279c75c 20:51:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:51:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:51:56 (1/1) Installing dumb-init (1.2.5-r2) 20:51:56 Executing busybox-1.36.1-r7.trigger 20:51:56 OK: 7 MiB in 16 packages 20:51:56 Removing intermediate container bbed8279c75c 20:51:56 ---> e5eec8453658 20:51:56 Step 17/26 : RUN apk --no-cache upgrade 20:51:56 ---> Running in 003802818c3b 20:51:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:51:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:51:56 OK: 7 MiB in 16 packages 20:51:56 Removing intermediate container 003802818c3b 20:51:56 ---> 8c41cf18c5e1 20:51:56 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:51:58 ---> d3fe0ac5984f 20:51:58 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:51:58 ---> f9619fc224ad 20:51:58 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:51:58 ---> 323c4dc82077 20:51:58 Step 21/26 : EXPOSE 59986 20:51:58 ---> Running in 16ed21600ea7 20:51:58 Removing intermediate container 16ed21600ea7 20:51:58 ---> a85099025107 20:51:58 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:51:58 ---> Running in a814598e88b1 20:51:58 Removing intermediate container a814598e88b1 20:51:58 ---> 32ddeb68d336 20:51:58 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:51:58 ---> Running in fa4d48d8b0b4 20:51:58 Removing intermediate container fa4d48d8b0b4 20:51:58 ---> 3d0afdfd254d 20:51:58 Step 24/26 : LABEL arch=amd64 20:51:58 ---> Running in a3e08c787071 20:51:58 Removing intermediate container a3e08c787071 20:51:58 ---> eba595a2ab17 20:51:58 Step 25/26 : LABEL git_sha=331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 20:51:58 ---> Running in 5e6f8035bfcb 20:51:58 Removing intermediate container 5e6f8035bfcb 20:51:58 ---> 2da2548fbedb 20:51:58 Step 26/26 : LABEL version=0.0.0 20:51:58 ---> Running in 4f8eea3434f6 20:51:58 Removing intermediate container 4f8eea3434f6 20:51:58 ---> 6c2b96f60737 20:51:58 [Warning] One or more build-args [ARCH] were not consumed 20:51:58 Successfully built 6c2b96f60737 20:51:58 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:51:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:51:59 20:51:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:52:00 latest: Pulling from edgex-lftools-log-publisher 20:52:00 5eb5b503b376: Pulling fs layer 20:52:00 5c69ac0246d0: Pulling fs layer 20:52:00 ec43610c2a17: Pulling fs layer 20:52:00 3a2ae6a8a46f: Pulling fs layer 20:52:00 33b1e0a273af: Pulling fs layer 20:52:00 5d3b04190fa2: Pulling fs layer 20:52:00 2f39f015ded8: Pulling fs layer 20:52:00 33b1e0a273af: Waiting 20:52:00 3a2ae6a8a46f: Waiting 20:52:00 5d3b04190fa2: Waiting 20:52:00 5c69ac0246d0: Download complete 20:52:00 3a2ae6a8a46f: Verifying Checksum 20:52:00 3a2ae6a8a46f: Download complete 20:52:00 33b1e0a273af: Verifying Checksum 20:52:00 33b1e0a273af: Download complete 20:52:00 5d3b04190fa2: Verifying Checksum 20:52:00 5d3b04190fa2: Download complete 20:52:00 ec43610c2a17: Verifying Checksum 20:52:00 ec43610c2a17: Download complete 20:52:00 5eb5b503b376: Verifying Checksum 20:52:00 5eb5b503b376: Download complete 20:52:00 d6de4b400683: Pull complete 20:52:00 35cb2a7552d0: Pull complete 20:52:00 4f4fb700ef54: Pull complete 20:52:00 464afbd9ba4c: Pull complete 20:52:00 2f39f015ded8: Verifying Checksum 20:52:00 2f39f015ded8: Download complete 20:52:01 5eb5b503b376: Pull complete 20:52:01 5c69ac0246d0: Pull complete 20:52:01 ec43610c2a17: Pull complete 20:52:01 3a2ae6a8a46f: Pull complete 20:52:02 33b1e0a273af: Pull complete 20:52:02 5d3b04190fa2: Pull complete 20:52:06 2f39f015ded8: Pull complete 20:52:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:52:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:52:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:06 prd-ubuntu20.04-docker-8c-8g-6357 does not seem to be running inside a container 20:52:06 $ 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-401 -v /w/workspace/gexfoundry_device-rest-go_PR-401:/w/workspace/gexfoundry_device-rest-go_PR-401:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-401@tmp:/w/workspace/gexfoundry_device-rest-go_PR-401@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:52:08 00f215d4a9da: Pull complete 20:52:10 d496ad576159: Pull complete 20:52:10 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 20:52:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:52:10 ---> f246e2811388 20:52:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:52:11 $ docker top 95dfa4163a4f6ae2052cfe03d573188f303285bdc52d6f601d728bdc1b697088 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:11 ---> job-cost.sh 20:52:11 lf-activate-venv: SKIPPING 20:52:11 INFO: No Stack... 20:52:11 INFO: Retrieving Pricing Info for: v3-standard-8 20:52:12 INFO: Archiving Costs [Pipeline] sh 20:52:12 ---> Running in d2b32546ea6c 20:52:12 Removing intermediate container d2b32546ea6c 20:52:12 ---> ac8cf876dc3c 20:52:12 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:52:12 ---> Running in ec015d803ec4 20:52:12 + cat /w/workspace/gexfoundry_device-rest-go_PR-401/archives/cost.csv 20:52:12 + cut -d, -f6 [Pipeline] lock 20:52:12 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-401-1-stack-cost] 20:52:12 Resource [jenkins-edgexfoundry-device-rest-go-PR-401-1-stack-cost] did not exist. Created. 20:52:12 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-401-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:52:12 Removing intermediate container ec015d803ec4 20:52:12 ---> 296a0889c7d0 20:52:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:52:12 ---> Running in defcaa27599b 20:52:12 + echo total: 0.2199999988079071 [Pipeline] stash 20:52:12 Stashed 1 file(s) [Pipeline] } 20:52:13 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-401-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:52:13 $ docker stop --time=1 95dfa4163a4f6ae2052cfe03d573188f303285bdc52d6f601d728bdc1b697088 20:52:13 Removing intermediate container defcaa27599b 20:52:13 ---> 7bdfdb0b8669 20:52:13 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:52:13 ---> Running in 27db329fd981 20:52:13 Removing intermediate container 27db329fd981 20:52:13 ---> 4a6c26d7d558 20:52:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:52:13 ---> Running in d412e40951a8 20:52:14 $ docker rm -f --volumes 95dfa4163a4f6ae2052cfe03d573188f303285bdc52d6f601d728bdc1b697088 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:52:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:52:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:52:16 (1/4) Installing openssh-keygen (9.3_p2-r2) 20:52:16 (2/4) Installing libedit (20221030.3.1-r1) 20:52:16 (3/4) Installing openssh-client-common (9.3_p2-r2) 20:52:16 (4/4) Installing openssh-client-default (9.3_p2-r2) 20:52:16 Executing busybox-1.36.1-r5.trigger 20:52:16 OK: 271 MiB in 56 packages 20:52:17 Removing intermediate container d412e40951a8 20:52:17 ---> eeb5e8c37745 20:52:17 Step 8/12 : WORKDIR /device-rest-go 20:52:17 ---> Running in af0da521c088 20:52:17 Removing intermediate container af0da521c088 20:52:17 ---> 44ed0adda536 20:52:17 Step 9/12 : COPY go.mod vendor* ./ 20:52:17 ---> 95670f212cd2 20:52:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:52:17 ---> Running in 5f8d6d743e7e 20:54:09 Removing intermediate container 5f8d6d743e7e 20:54:09 ---> 6135223e8332 20:54:09 Step 11/12 : COPY . . 20:54:09 ---> 4c4a662b6ae9 20:54:09 Step 12/12 : RUN $MAKE 20:54:09 ---> Running in b63b94a147e1 20:54:09 noop 20:54:09 Removing intermediate container b63b94a147e1 20:54:09 ---> a7c57bd5ba73 20:54:09 Successfully built a7c57bd5ba73 20:54:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:10 + docker inspect -f . ci-base-image-arm64 20:54:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:10 prd-ubuntu20.04-docker-arm64-4c-16g-6358 does not seem to be running inside a container 20:54:10 $ 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 ******** ci-base-image-arm64 cat 20:54:11 $ docker top cec8781469df4b9b727e52e1b367cad1a3623c2d1e76e0f398d983a23726beea -eo pid,comm [Pipeline] { [Pipeline] sh 20:54:12 + go version 20:54:12 go version go1.21.9 linux/arm64 [Pipeline] } 20:54:12 $ docker stop --time=1 cec8781469df4b9b727e52e1b367cad1a3623c2d1e76e0f398d983a23726beea 20:54:14 $ docker rm -f --volumes cec8781469df4b9b727e52e1b367cad1a3623c2d1e76e0f398d983a23726beea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:15 + docker inspect -f . ci-base-image-arm64 20:54:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:15 prd-ubuntu20.04-docker-arm64-4c-16g-6358 does not seem to be running inside a container 20:54:15 $ 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 ******** ci-base-image-arm64 cat 20:54:16 $ docker top 1ff3460e6a9f3786ef82316bd839cc65a2c81d3623dd2e133a5340b0e4984dc4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:54:17 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:54:17 + make test 20:54:18 go test ./... -coverprofile=coverage.out ./... 20:54:23 ? github.com/edgexfoundry/device-rest-go [no test files] 20:58:00 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:58:00 ok github.com/edgexfoundry/device-rest-go/driver 0.036s coverage: 33.2% of statements 20:58:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:58:00 go vet ./... 20:58:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:58:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:58:47 ./bin/test-attribution-txt.sh 20:58:47 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 20:58:47 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 20:58:47 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 20:58:47 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 20:58:47 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 20:58:47 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 20:58:47 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 20:58:47 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 20:58:47 An attribution for golang.org/x/term is missing from Attribution.txt, please add 20:58:47 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 20:58:47 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 20:58:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:58:47 $ docker stop --time=1 1ff3460e6a9f3786ef82316bd839cc65a2c81d3623dd2e133a5340b0e4984dc4 20:58:49 $ docker rm -f --volumes 1ff3460e6a9f3786ef82316bd839cc65a2c81d3623dd2e133a5340b0e4984dc4 [Pipeline] // withDockerContainer [Pipeline] sh 20:58:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:58:50 Warning: overwriting stash ‘coverage-report’ 20:58:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:58:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:58:52 + ls -al . 20:58:52 total 244 20:58:52 drwxrwxr-x 8 jenkins jenkins 4096 Jul 24 20:54 . 20:58:52 drwxrwxr-x 4 jenkins jenkins 4096 Jul 24 20:51 .. 20:58:52 -rw-rw-r-- 1 jenkins jenkins 151 Jul 24 20:51 .dockerignore 20:58:52 drwxrwxr-x 8 jenkins jenkins 4096 Jul 24 20:51 .git 20:58:52 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 20:51 .github 20:58:52 -rw-rw-r-- 1 jenkins jenkins 264 Jul 24 20:51 .gitignore 20:58:52 -rw-rw-r-- 1 jenkins jenkins 41 Jul 24 20:51 .golangci.yml 20:58:52 -rw-rw-r-- 1 jenkins jenkins 10300 Jul 24 20:51 Attribution.txt 20:58:52 -rw-rw-r-- 1 jenkins jenkins 17685 Jul 24 20:51 CHANGELOG.md 20:58:52 -rw-rw-r-- 1 jenkins jenkins 1687 Jul 24 20:51 Dockerfile 20:58:52 -rw-rw-r-- 1 jenkins jenkins 677 Jul 24 20:51 GOVERNANCE.md 20:58:52 -rw-rw-r-- 1 jenkins jenkins 680 Jul 24 20:51 Jenkinsfile 20:58:52 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 24 20:51 LICENSE 20:58:52 -rw-rw-r-- 1 jenkins jenkins 2016 Jul 24 20:51 Makefile 20:58:52 -rw-rw-r-- 1 jenkins jenkins 620 Jul 24 20:51 OWNERS.md 20:58:52 -rw-rw-r-- 1 jenkins jenkins 3989 Jul 24 20:51 README.md 20:58:52 -rw-rw-r-- 1 jenkins jenkins 5 Jul 24 20:49 VERSION 20:58:52 drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 20:51 bin 20:58:52 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 20:51 cmd 20:58:52 -rw-r--r-- 1 jenkins jenkins 14499 Jul 24 20:57 coverage.out 20:58:52 drwxrwxr-x 2 jenkins jenkins 4096 Jul 24 20:51 driver 20:58:52 -rw-rw-r-- 1 jenkins jenkins 7134 Jul 24 20:51 go.mod 20:58:52 -rw-rw-r-- 1 jenkins jenkins 101673 Jul 24 20:51 go.sum 20:58:52 drwxrwxr-x 3 jenkins jenkins 4096 Jul 24 20:51 openapi 20:58:52 -rw-rw-r-- 1 jenkins jenkins 713 Jul 24 20:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:52 + 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=331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 --label arch=arm64 --label version=0.0.0 . 20:58:52 Sending build context to Docker daemon 145.9kB 20:58:53 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:58:53 Step 2/26 : FROM ${BASE} AS builder 20:58:53 ---> a7c57bd5ba73 20:58:53 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:58:53 ---> Running in 60b9a1667cac 20:58:53 Removing intermediate container 60b9a1667cac 20:58:53 ---> f207ba837ee7 20:58:53 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:58:53 ---> Running in 35513ecf3e5e 20:58:53 Removing intermediate container 35513ecf3e5e 20:58:53 ---> 81db48107978 20:58:53 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:58:53 ---> Running in 3a9ec9cb56b9 20:58:54 Removing intermediate container 3a9ec9cb56b9 20:58:54 ---> 5fe07b2f602b 20:58:54 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:58:54 ---> Running in 95cab9abed5a 20:58:54 Removing intermediate container 95cab9abed5a 20:58:54 ---> 0dbbd2111c98 20:58:54 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:58:54 ---> Running in 5e93c8d69ad0 20:58:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:58:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:58:56 OK: 271 MiB in 56 packages 20:58:57 Removing intermediate container 5e93c8d69ad0 20:58:57 ---> c92cf6592971 20:58:57 Step 8/26 : WORKDIR /device-rest-go 20:58:57 ---> Running in 9ec9a0096b3f 20:58:58 Removing intermediate container 9ec9a0096b3f 20:58:58 ---> 7b9833d98686 20:58:58 Step 9/26 : COPY go.mod vendor* ./ 20:58:58 ---> 416c4c819028 20:58:58 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:58:58 ---> Running in 8902d6890730 20:59:00 Removing intermediate container 8902d6890730 20:59:00 ---> 8d6cca039066 20:59:00 Step 11/26 : COPY . . 20:59:01 ---> b28a1ff920e2 20:59:01 Step 12/26 : RUN $MAKE 20:59:01 ---> Running in e0afc98d409d 20:59:02 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.26" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:02:24 Removing intermediate container e0afc98d409d 21:02:24 ---> 12eea3d15d27 21:02:24 Step 13/26 : FROM alpine:3.18 21:02:24 3.18: Pulling from library/alpine 21:02:24 4983c3fe2029: Pulling fs layer 21:02:24 4983c3fe2029: Pull complete 21:02:24 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 21:02:24 Status: Downloaded newer image for alpine:3.18 21:02:24 ---> a0237000ae83 21:02:24 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:02:24 ---> Running in 74d7b61f0d52 21:02:24 Removing intermediate container 74d7b61f0d52 21:02:24 ---> b56683512803 21:02:24 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 21:02:24 ---> Running in 4923a78e68de 21:02:24 Removing intermediate container 4923a78e68de 21:02:24 ---> 26c5a8ea744e 21:02:24 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:02:24 ---> Running in 2aa948857d44 21:02:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:02:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:02:24 (1/1) Installing dumb-init (1.2.5-r2) 21:02:24 Executing busybox-1.36.1-r7.trigger 21:02:24 OK: 8 MiB in 16 packages 21:02:24 Removing intermediate container 2aa948857d44 21:02:24 ---> 68f70f03cb88 21:02:24 Step 17/26 : RUN apk --no-cache upgrade 21:02:24 ---> Running in 7ede6098cf2a 21:02:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:02:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:02:24 OK: 8 MiB in 16 packages 21:02:24 Removing intermediate container 7ede6098cf2a 21:02:24 ---> 3b6e75da79ce 21:02:24 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 21:02:25 ---> 3beabfe11b5e 21:02:25 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 21:02:26 ---> bbaf984a2884 21:02:26 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 21:02:27 ---> 6a043900e29d 21:02:27 Step 21/26 : EXPOSE 59986 21:02:27 ---> Running in ad789b67523d 21:02:27 Removing intermediate container ad789b67523d 21:02:27 ---> 41965d03a925 21:02:27 Step 22/26 : ENTRYPOINT ["/device-rest"] 21:02:27 ---> Running in c3fcb64da707 21:02:27 Removing intermediate container c3fcb64da707 21:02:27 ---> 51cd54696c3d 21:02:27 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:02:27 ---> Running in c44101136593 21:02:28 Removing intermediate container c44101136593 21:02:28 ---> 72e36b73a151 21:02:28 Step 24/26 : LABEL arch=arm64 21:02:28 ---> Running in 190ff295335c 21:02:28 Removing intermediate container 190ff295335c 21:02:28 ---> 9533195b5d02 21:02:28 Step 25/26 : LABEL git_sha=331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 21:02:28 ---> Running in 35d3145dd05c 21:02:28 Removing intermediate container 35d3145dd05c 21:02:28 ---> 26b3eb3a9cc7 21:02:28 Step 26/26 : LABEL version=0.0.0 21:02:28 ---> Running in ee070d1f39e7 21:02:29 Removing intermediate container ee070d1f39e7 21:02:29 ---> d523415ea983 21:02:29 [Warning] One or more build-args [ARCH] were not consumed 21:02:29 Successfully built d523415ea983 21:02:29 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:02:30 21:02:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:02:30 arm64: Pulling from edgex-lftools-log-publisher 21:02:30 8998bd30e6a1: Pulling fs layer 21:02:30 04944245beec: Pulling fs layer 21:02:30 699f458cf7ca: Pulling fs layer 21:02:30 765212b225bb: Pulling fs layer 21:02:30 f23df028b6ca: Pulling fs layer 21:02:30 d65c8cfc05b1: Pulling fs layer 21:02:30 2437ff75d9bd: Pulling fs layer 21:02:30 f23df028b6ca: Waiting 21:02:30 765212b225bb: Waiting 21:02:30 d65c8cfc05b1: Waiting 21:02:30 04944245beec: Verifying Checksum 21:02:30 04944245beec: Download complete 21:02:30 765212b225bb: Verifying Checksum 21:02:30 765212b225bb: Download complete 21:02:30 f23df028b6ca: Download complete 21:02:30 d65c8cfc05b1: Verifying Checksum 21:02:30 d65c8cfc05b1: Download complete 21:02:30 699f458cf7ca: Verifying Checksum 21:02:30 699f458cf7ca: Download complete 21:02:31 8998bd30e6a1: Verifying Checksum 21:02:31 8998bd30e6a1: Download complete 21:02:34 2437ff75d9bd: Verifying Checksum 21:02:34 2437ff75d9bd: Download complete 21:02:36 8998bd30e6a1: Pull complete 21:02:36 04944245beec: Pull complete 21:02:37 699f458cf7ca: Pull complete 21:02:38 765212b225bb: Pull complete 21:02:39 f23df028b6ca: Pull complete 21:02:39 d65c8cfc05b1: Pull complete 21:02:57 2437ff75d9bd: Pull complete 21:02:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:02:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:02:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:57 prd-ubuntu20.04-docker-arm64-4c-16g-6358 does not seem to be running inside a container 21:02:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:03:00 $ docker top 1db1f22a412981c591103ec0916e6189dda9058bbc220005d905f0a116d7b622 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:03:01 ---> job-cost.sh 21:03:01 lf-activate-venv: SKIPPING 21:03:01 INFO: No Stack... 21:03:02 INFO: Retrieving Pricing Info for: v3-standard-4 21:03:02 INFO: Archiving Costs [Pipeline] sh 21:03:03 + cat /w/workspace/device-rest-go/1/archives/cost.csv 21:03:03 + cut -d, -f6 [Pipeline] lock 21:03:03 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-401-1-stack-cost] 21:03:03 Resource [jenkins-edgexfoundry-device-rest-go-PR-401-1-stack-cost] did not exist. Created. 21:03:03 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-401-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:03:04 /w/workspace/device-rest-go/1@tmp/durable-2ae7ca5b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:03:04 + echo total: 0.10999999940395355 [Pipeline] stash 21:03:04 Warning: overwriting stash ‘stack-cost’ 21:03:04 Stashed 1 file(s) [Pipeline] } 21:03:04 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-401-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:03:05 $ docker stop --time=1 1db1f22a412981c591103ec0916e6189dda9058bbc220005d905f0a116d7b622 21:03:06 $ docker rm -f --volumes 1db1f22a412981c591103ec0916e6189dda9058bbc220005d905f0a116d7b622 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:03:07 provisioning config files... 21:03:07 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-401@tmp/config4984551103480569180tmp [Pipeline] { [Pipeline] sh 21:03:08 + set +x 21:03:08 + bash -s -- 21:03:08 + curl -s https://codecov.io/bash 21:03:08 21:03:08 _____ _ 21:03:08 / ____| | | 21:03:08 | | ___ __| | ___ ___ _____ __ 21:03:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:03:08 | |___| (_) | (_| | __/ (_| (_) \ V / 21:03:08 \_____\___/ \__,_|\___|\___\___/ \_/ 21:03:08 Bash-1.0.6 21:03:08 21:03:08 21:03:08 ==> git version 2.25.1 found 21:03:08 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:03:08 Release-Date: 2020-01-08 21:03:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:03:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:03:08 ==> Jenkins CI detected. 21:03:08 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-401 21:03:08 project root: . 21:03:08 --> token set from env 21:03:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:03:08 ==> Running gcov in . (disable via -X gcov) 21:03:08 ==> Python coveragepy not found 21:03:08 ==> Searching for coverage reports in: 21:03:08 + . 21:03:08 -> Found 1 reports 21:03:08 ==> Detecting git/mercurial file structure 21:03:08 ==> Reading reports 21:03:08 + ./coverage.out bytes=14499 21:03:08 ==> Appending adjustments 21:03:08 https://docs.codecov.io/docs/fixing-reports 21:03:08 + Found adjustments 21:03:08 ==> Gzipping contents 21:03:08 4.0K /tmp/codecov.1JIdM1.gz 21:03:08 ==> Uploading reports 21:03:08 url: https://codecov.io 21:03:08 query: branch=PR-401&commit=331b8e53a1291bb67ad4f1577d3f5a50eefbaf12&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-401%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=401&job=&cmd_args= 21:03:08 -> Pinging Codecov 21:03:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-401&commit=331b8e53a1291bb67ad4f1577d3f5a50eefbaf12&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-401%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=401&job=&cmd_args= 21:03:08 -> Uploading to 21:03:08 https://storage.googleapis.com/codecov/v4/raw/2024-07-24/4E5D53B4F1F92C436F7061BF334D961C/331b8e53a1291bb67ad4f1577d3f5a50eefbaf12/67ee5100-eb9f-4a5c-a5e6-4cea4c28cb08.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240724%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240724T210308Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=675446aa704074e70ae95b824d93d09920bd1004fa8317616cc746026523c7b3 21:03:08 % Total % Received % Xferd Average Speed Time Time Time Current 21:03:08 Dload Upload Total Spent Left Speed 21:03:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11212 --:--:-- --:--:-- --:--:-- 11158 100 2321 0 0 100 2321 0 10361 --:--:-- --:--:-- --:--:-- 10315 21:03:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/331b8e53a1291bb67ad4f1577d3f5a50eefbaf12 [Pipeline] } 21:03:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:03:10 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-401/archives ] 21:03:10 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-401/archives 21:03:10 total 16 21:03:10 drwxr-xr-x 3 root root 4096 Jul 24 20:52 . 21:03:10 drwxrwxr-x 10 jenkins jenkins 4096 Jul 24 20:52 .. 21:03:10 drwxr-xr-x 2 root root 4096 Jul 24 20:52 cost 21:03:10 -rw-r--r-- 1 root root 86 Jul 24 20:52 cost.csv 21:03:10 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-401/archives 21:03:10 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-401/archives 21:03:10 total 16 21:03:10 drwxr-xr-x 3 jenkins jenkins 4096 Jul 24 20:52 . 21:03:10 drwxrwxr-x 10 jenkins jenkins 4096 Jul 24 20:52 .. 21:03:10 drwxr-xr-x 2 jenkins jenkins 4096 Jul 24 20:52 cost 21:03:10 -rw-r--r-- 1 jenkins jenkins 86 Jul 24 20:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:03:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:03:12 ---> package-listing.sh 21:03:12 ++ facter osfamily 21:03:12 ++ tr '[:upper:]' '[:lower:]' 21:03:12 + OS_FAMILY=debian 21:03:12 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-401 21:03:12 + START_PACKAGES=/tmp/packages_start.txt 21:03:12 + END_PACKAGES=/tmp/packages_end.txt 21:03:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:03:12 + PACKAGES=/tmp/packages_start.txt 21:03:12 + '[' /w/workspace/gexfoundry_device-rest-go_PR-401 ']' 21:03:12 + PACKAGES=/tmp/packages_end.txt 21:03:12 + case "${OS_FAMILY}" in 21:03:12 + dpkg -l 21:03:12 + grep '^ii' 21:03:12 + '[' -f /tmp/packages_start.txt ']' 21:03:12 + '[' -f /tmp/packages_end.txt ']' 21:03:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:03:12 + '[' /w/workspace/gexfoundry_device-rest-go_PR-401 ']' 21:03:12 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-401/archives/ 21:03:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-401/archives/ [Pipeline] echo 21:03:12 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-401/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:03:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:03:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:13 prd-ubuntu20.04-docker-8c-8g-6357 does not seem to be running inside a container 21:03:13 $ 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-401/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-401 -v /w/workspace/gexfoundry_device-rest-go_PR-401:/w/workspace/gexfoundry_device-rest-go_PR-401:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-401@tmp:/w/workspace/gexfoundry_device-rest-go_PR-401@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:03:13 $ docker top f9cbb407a59b38304326b93905069994c1bc4457d02afaba8a4cd24482e731a2 -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:14 + touch /tmp/pre-build-complete [Pipeline] sh 21:03:14 + mkdir -p /var/log/sysstat [Pipeline] sh 21:03:14 + ls /var/log/sa-host 21:03:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:03:15 provisioning config files... 21:03:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-401@tmp/config6322546071972170880tmp [Pipeline] { [Pipeline] echo 21:03:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:03:15 ---> create-netrc.sh [Pipeline] } 21:03:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:03:16 ---> python-tools-install.sh [Pipeline] echo 21:03:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:03:16 ---> sudo-logs.sh 21:03:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:03:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:03:16 ---> job-cost.sh 21:03:16 lf-activate-venv: SKIPPING 21:03:16 DEBUG: total: 0.2199999988079071 21:03:16 INFO: Retrieving Stack Cost... 21:03:17 INFO: Retrieving Pricing Info for: v3-standard-8 21:03:17 INFO: Archiving Costs [Pipeline] echo 21:03:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:03:17 ---> logs-deploy.sh 21:03:17 lf-activate-venv: SKIPPING 21:03:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-401/1 21:03:17 INFO: archiving workspace using pattern(s): 21:03:18 Archives upload complete. 21:03:18 INFO: archiving logs to Nexus