Pull request #446 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e+c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 (e2fbe1d25e8fa2bf372a163bbd5d3c8561f07337) 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-ssh14965509582164617276.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh6790784958807616053.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-446/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-446/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17858100483740473389.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-446/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4238530673787990147.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh8855289350842882156.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-446/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-446/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7564013887078279952.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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.23 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-38114 in /w/workspace/gexfoundry_device-rest-go_PR-446 [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-446 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 into PR head commit 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e Merge succeeded, producing 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e Checking out Revision 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e (PR-446) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 > 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/446/head:refs/remotes/origin/PR-446 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e # 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 c1ff3e5bb14fe4e156aaffe1fac9f40b5f1dff52 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:03:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:03:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:03:25 ========================================================= 20:03:25 EdgeX Global Pipelines Version Info 20:03:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:03:25 ------------------- 20:03:25 stable info: 20:03:25 ------------------- 20:03:25 Commited By: Cherry Wang cherry@iotechsys.com 20:03:25 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 20:03:25 Message: update stable to v1.0.269 20:03:26 ------------------- 20:03:26 experimental info: 20:03:26 ------------------- 20:03:26 Commited By: **** collab-it+edgex@linuxfoundation.org 20:03:26 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 20:03:26 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:03:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:03:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:03:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:03:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:03:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:03:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 20:03:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:03:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:03:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:03:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:03:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-446 [Pipeline] echo 20:03:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-446 [Pipeline] echo 20:03:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-446 [Pipeline] echo 20:03:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e [Pipeline] echo 20:03:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e07d38 [Pipeline] echo 20:03:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:03:28 provisioning config files... 20:03:28 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-446@tmp/config6061315036678605935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:03:29 ---> ****-login.sh 20:03:29 nexus3.edgexfoundry.org:10001 20:03:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:03:29 Configure a credential helper to remove this warning. See 20:03:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:03:29 20:03:29 Login Succeeded 20:03:29 nexus3.edgexfoundry.org:10002 20:03:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:03:29 Configure a credential helper to remove this warning. See 20:03:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:03:29 20:03:29 Login Succeeded 20:03:29 nexus3.edgexfoundry.org:10003 20:03:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:03:29 Configure a credential helper to remove this warning. See 20:03:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:03:29 20:03:29 Login Succeeded 20:03:29 nexus3.edgexfoundry.org:10004 20:03:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:03:29 Configure a credential helper to remove this warning. See 20:03:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:03:29 20:03:29 Login Succeeded 20:03:29 ****.io 20:03:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:03:30 Configure a credential helper to remove this warning. See 20:03:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:03:30 20:03:30 Login Succeeded 20:03:30 ---> ****-login.sh ends [Pipeline] } 20:03:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:03:30 + git rev-list -1 --merges 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e~1..0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e [Pipeline] echo 20:03:30 -----------> git rev-list -1 --merges 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e~1..0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e [false] [Pipeline] sh 20:03:31 + git log --format=format:%s -1 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e [Pipeline] echo 20:03:31 ========================================================= 20:03:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:03:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:03:31 + git log --format=format:%s -1 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e [Pipeline] echo 20:03:31 [semverPrep] GIT_COMMIT: 0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo 20:03:31 [semverPrep] This is not a build commit. [Pipeline] sh 20:03:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:03:32 + grep -v github /etc/ssh/ssh_known_hosts 20:03:32 + [ -e /tmp/ssh_known_hosts ] 20:03:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:03:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:03:32 + sudo tee -a /etc/ssh/ssh_known_hosts 20:03:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:03:32 20:03:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:03:32 0.1.4: Pulling from edgex-devops/py-git-semver 20:03:32 b85a868b505f: Pulling fs layer 20:03:32 e2be974225ed: Pulling fs layer 20:03:32 339a4e72a1f5: Pulling fs layer 20:03:32 988bab9f4d93: Pulling fs layer 20:03:32 1469e6f7b9e6: Pulling fs layer 20:03:32 eaf3925da568: Pulling fs layer 20:03:32 bab4dde63d76: Pulling fs layer 20:03:32 bde34c3a00c8: Pulling fs layer 20:03:32 b352a97aabf1: Pulling fs layer 20:03:32 4872d77fe225: Pulling fs layer 20:03:32 5851b861e8e6: Pulling fs layer 20:03:32 eaf3925da568: Waiting 20:03:32 988bab9f4d93: Waiting 20:03:32 1469e6f7b9e6: Waiting 20:03:32 bab4dde63d76: Waiting 20:03:32 4872d77fe225: Waiting 20:03:32 bde34c3a00c8: Waiting 20:03:32 b352a97aabf1: Waiting 20:03:32 5851b861e8e6: Waiting 20:03:32 e2be974225ed: Download complete 20:03:32 988bab9f4d93: Verifying Checksum 20:03:32 988bab9f4d93: Download complete 20:03:32 1469e6f7b9e6: Verifying Checksum 20:03:32 1469e6f7b9e6: Download complete 20:03:33 eaf3925da568: Download complete 20:03:33 339a4e72a1f5: Verifying Checksum 20:03:33 339a4e72a1f5: Download complete 20:03:33 bde34c3a00c8: Verifying Checksum 20:03:33 bde34c3a00c8: Download complete 20:03:33 b352a97aabf1: Download complete 20:03:33 4872d77fe225: Verifying Checksum 20:03:33 4872d77fe225: Download complete 20:03:33 5851b861e8e6: Verifying Checksum 20:03:33 5851b861e8e6: Download complete 20:03:33 b85a868b505f: Verifying Checksum 20:03:33 b85a868b505f: Download complete 20:03:33 bab4dde63d76: Download complete 20:03:34 b85a868b505f: Pull complete 20:03:34 e2be974225ed: Pull complete 20:03:35 339a4e72a1f5: Pull complete 20:03:35 988bab9f4d93: Pull complete 20:03:35 1469e6f7b9e6: Pull complete 20:03:35 eaf3925da568: Pull complete 20:03:37 bab4dde63d76: Pull complete 20:03:37 bde34c3a00c8: Pull complete 20:03:37 b352a97aabf1: Pull complete 20:03:37 4872d77fe225: Pull complete 20:03:37 5851b861e8e6: Pull complete 20:03:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:03:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:03:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:03:37 prd-ubuntu20.04-docker-8c-8g-38114 does not seem to be running inside a container 20:03:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-446 -v /w/workspace/gexfoundry_device-rest-go_PR-446:/w/workspace/gexfoundry_device-rest-go_PR-446:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-446@tmp:/w/workspace/gexfoundry_device-rest-go_PR-446@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:03:40 $ docker top fe97e9a9cea6cf37a747e1f16915bb57158d857f73e9ce8603b236e495594922 -eo pid,comm 20:03:40 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:03:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:03:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:03:40 [ssh-agent] Looking for ssh-agent implementation... 20:03:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:03:41 $ docker exec fe97e9a9cea6cf37a747e1f16915bb57158d857f73e9ce8603b236e495594922 ssh-agent 20:03:41 SSH_AUTH_SOCK=/tmp/ssh-TuSYqGrBrJ3O/agent.32 20:03:41 SSH_AGENT_PID=39 20:03:41 Running ssh-add (command line suppressed) 20:03:41 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-446@tmp/private_key_2335618847044312717.key (/w/workspace/gexfoundry_device-rest-go_PR-446@tmp/private_key_2335618847044312717.key) 20:03:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:03:41 + git tag --points-at HEAD [Pipeline] } 20:03:41 $ docker exec --env ******** --env ******** fe97e9a9cea6cf37a747e1f16915bb57158d857f73e9ce8603b236e495594922 ssh-agent -k 20:03:41 unset SSH_AUTH_SOCK; 20:03:41 unset SSH_AGENT_PID; 20:03:41 echo Agent pid 39 killed; 20:03:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:03:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:03:41 [ssh-agent] Looking for ssh-agent implementation... 20:03:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:03:41 $ docker exec fe97e9a9cea6cf37a747e1f16915bb57158d857f73e9ce8603b236e495594922 ssh-agent 20:03:42 SSH_AUTH_SOCK=/tmp/ssh-XJNfjuI6ihfq/agent.72 20:03:42 SSH_AGENT_PID=78 20:03:42 Running ssh-add (command line suppressed) 20:03:42 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-446@tmp/private_key_7919991711509445670.key (/w/workspace/gexfoundry_device-rest-go_PR-446@tmp/private_key_7919991711509445670.key) 20:03:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:03:42 + git semver init 20:03:42 2025-02-03 20:03:42,763 [run_init] DEBUG init version:0.0.0 force:False 20:03:42 2025-02-03 20:03:42,764 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-446/.semver 20:03:42 2025-02-03 20:03:42,764 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-446/.semver 20:03:42 2025-02-03 20:03:42,764 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-446/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-446, universal_newlines=False, shell=None, istream=None) 20:03:44 2025-02-03 20:03:44,090 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-446/.git/info/exclude 20:03:44 2025-02-03 20:03:44,091 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-446/.semver/PR-446 with force:False 20:03:44 2025-02-03 20:03:44,091 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-446/.semver/PR-446 20:03:44 2025-02-03 20:03:44,095 [execute] INFO git cat-file --batch-check 20:03:44 2025-02-03 20:03:44,095 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-446/.semver, universal_newlines=False, shell=None, istream=) 20:03:44 2025-02-03 20:03:44,101 [execute] INFO git cat-file --batch 20:03:44 2025-02-03 20:03:44,102 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-446/.semver, universal_newlines=False, shell=None, istream=) 20:03:44 2025-02-03 20:03:44,107 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-446/.semver/PR-446 20:03:44 0.0.0 [Pipeline] } 20:03:44 $ docker exec --env ******** --env ******** fe97e9a9cea6cf37a747e1f16915bb57158d857f73e9ce8603b236e495594922 ssh-agent -k 20:03:44 unset SSH_AUTH_SOCK; 20:03:44 unset SSH_AGENT_PID; 20:03:44 echo Agent pid 78 killed; 20:03:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:03:44 + git semver [Pipeline] } 20:03:45 $ docker stop --time=1 fe97e9a9cea6cf37a747e1f16915bb57158d857f73e9ce8603b236e495594922 20:03:46 $ docker rm -f --volumes fe97e9a9cea6cf37a747e1f16915bb57158d857f73e9ce8603b236e495594922 [Pipeline] // withDockerContainer [Pipeline] sh 20:03:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:03:47 Stashed 1 file(s) [Pipeline] echo 20:03:47 [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:03:48 provisioning config files... 20:03:48 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-446@tmp/config17387975705897778408tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 20:03:49 ---> ****-login.sh 20:03:49 nexus3.edgexfoundry.org:10001 20:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:03:49 Configure a credential helper to remove this warning. See 20:03:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:03:49 20:03:49 Login Succeeded 20:03:49 nexus3.edgexfoundry.org:10002 20:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:03:49 Configure a credential helper to remove this warning. See 20:03:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:03:49 20:03:49 Login Succeeded 20:03:49 nexus3.edgexfoundry.org:10003 20:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:03:49 Configure a credential helper to remove this warning. See 20:03:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:03:49 20:03:49 Login Succeeded 20:03:49 nexus3.edgexfoundry.org:10004 20:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:03:49 Configure a credential helper to remove this warning. See 20:03:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:03:49 20:03:49 Login Succeeded 20:03:49 ****.io 20:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:03:49 Configure a credential helper to remove this warning. See 20:03:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:03:49 20:03:49 Login Succeeded 20:03:49 ---> ****-login.sh ends [Pipeline] } 20:03:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:03:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:03:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:03:50 ========================================================= 20:03:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 20:03:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:50 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 20:03:50 Sending build context to Docker daemon 16.67MB 20:03:50 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 20:03:50 Step 2/12 : FROM ${BASE} AS builder 20:03:50 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 20:03:50 da9db072f522: Pulling fs layer 20:03:50 6ef4a4ee8ca5: Pulling fs layer 20:03:50 06f05ace1117: Pulling fs layer 20:03:50 5fe327b54edc: Pulling fs layer 20:03:50 4f4fb700ef54: Pulling fs layer 20:03:50 92a5565b7b96: Pulling fs layer 20:03:50 ff9bb7016b71: Pulling fs layer 20:03:50 b67dba6c2c7d: Pulling fs layer 20:03:50 a813b0c90790: Pulling fs layer 20:03:50 92a5565b7b96: Waiting 20:03:50 ff9bb7016b71: Waiting 20:03:50 b67dba6c2c7d: Waiting 20:03:50 a813b0c90790: Waiting 20:03:50 5fe327b54edc: Waiting 20:03:50 4f4fb700ef54: Waiting 20:03:50 6ef4a4ee8ca5: Verifying Checksum 20:03:50 6ef4a4ee8ca5: Download complete 20:03:50 5fe327b54edc: Verifying Checksum 20:03:50 5fe327b54edc: Download complete 20:03:51 4f4fb700ef54: Verifying Checksum 20:03:51 4f4fb700ef54: Download complete 20:03:51 92a5565b7b96: Verifying Checksum 20:03:51 92a5565b7b96: Download complete 20:03:51 da9db072f522: Download complete 20:03:51 ff9bb7016b71: Verifying Checksum 20:03:51 ff9bb7016b71: Download complete 20:03:51 da9db072f522: Pull complete 20:03:51 a813b0c90790: Verifying Checksum 20:03:51 a813b0c90790: Download complete 20:03:51 6ef4a4ee8ca5: Pull complete 20:03:51 06f05ace1117: Verifying Checksum 20:03:51 06f05ace1117: Download complete 20:03:51 b67dba6c2c7d: Verifying Checksum 20:03:51 b67dba6c2c7d: Download complete 20:03:54 06f05ace1117: Pull complete 20:03:54 5fe327b54edc: Pull complete 20:03:55 4f4fb700ef54: Pull complete 20:03:55 92a5565b7b96: Pull complete 20:03:55 ff9bb7016b71: Pull complete 20:03:57 b67dba6c2c7d: Pull complete 20:03:57 a813b0c90790: Pull complete 20:03:57 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 20:03:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 20:03:57 ---> 3ba60ce46760 20:03:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:04:02 ---> Running in 4754506429eb 20:04:02 Removing intermediate container 4754506429eb 20:04:02 ---> 4c6236afd1a8 20:04:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:04:02 ---> Running in eaf2f0ba3cb3 20:04:02 Removing intermediate container eaf2f0ba3cb3 20:04:02 ---> d22bc2ba1a81 20:04:02 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:04:02 ---> Running in 96313a81dd92 20:04:02 Removing intermediate container 96313a81dd92 20:04:02 ---> c5895503cfa9 20:04:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:04:02 ---> Running in a74128113550 20:04:02 Removing intermediate container a74128113550 20:04:02 ---> 4dc2a427a13a 20:04:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:04:02 ---> Running in 28caf4452ace 20:04:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:04:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:04:03 (1/4) Installing openssh-keygen (9.7_p1-r4) 20:04:03 (2/4) Installing libedit (20240517.3.1-r0) 20:04:03 (3/4) Installing openssh-client-common (9.7_p1-r4) 20:04:03 (4/4) Installing openssh-client-default (9.7_p1-r4) 20:04:03 Executing busybox-1.36.1-r29.trigger 20:04:03 OK: 252 MiB in 62 packages 20:04:03 Removing intermediate container 28caf4452ace 20:04:03 ---> 7d0f55d2a8ac 20:04:03 Step 8/12 : WORKDIR /device-rest-go 20:04:03 ---> Running in 6c6f2af52abf 20:04:04 Removing intermediate container 6c6f2af52abf 20:04:04 ---> 18b69e82c49b 20:04:04 Step 9/12 : COPY go.mod vendor* ./ 20:04:04 ---> 90dfa509d2e5 20:04:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:04:04 ---> Running in fad9be9dad9b 20:04:50 Removing intermediate container fad9be9dad9b 20:04:50 ---> ed2f95353253 20:04:50 Step 11/12 : COPY . . 20:04:50 ---> 42568b3ff038 20:04:50 Step 12/12 : RUN $MAKE 20:04:50 ---> Running in 8d8a2d5fc5a9 20:04:50 noop 20:04:50 Removing intermediate container 8d8a2d5fc5a9 20:04:50 ---> 120d5b0eaa46 20:04:50 Successfully built 120d5b0eaa46 20:04:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:51 + docker inspect -f . ci-base-image-x86_64 20:04:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:04:51 prd-ubuntu20.04-docker-8c-8g-38114 does not seem to be running inside a container 20:04:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-446 -v /w/workspace/gexfoundry_device-rest-go_PR-446:/w/workspace/gexfoundry_device-rest-go_PR-446:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-446@tmp:/w/workspace/gexfoundry_device-rest-go_PR-446@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-x86_64 cat 20:04:51 $ docker top ad6cf3159a2e1630646d9e23ada73c3028d10b44564d35226ded82f044955975 -eo pid,comm [Pipeline] { [Pipeline] sh 20:04:52 + go version 20:04:52 go version go1.23.4 linux/amd64 [Pipeline] } 20:04:52 $ docker stop --time=1 ad6cf3159a2e1630646d9e23ada73c3028d10b44564d35226ded82f044955975 20:04:53 $ docker rm -f --volumes ad6cf3159a2e1630646d9e23ada73c3028d10b44564d35226ded82f044955975 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:54 + docker inspect -f . ci-base-image-x86_64 20:04:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:04:54 prd-ubuntu20.04-docker-8c-8g-38114 does not seem to be running inside a container 20:04:54 $ 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-446 -v /w/workspace/gexfoundry_device-rest-go_PR-446:/w/workspace/gexfoundry_device-rest-go_PR-446:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-446@tmp:/w/workspace/gexfoundry_device-rest-go_PR-446@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-x86_64 cat 20:04:55 $ docker top 250169fca9a29803a498954715d75eba2a9f87f201f252c8091714b8a68ff881 -eo pid,comm [Pipeline] { [Pipeline] sh 20:04:55 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-446 [Pipeline] fileExists [Pipeline] sh 20:04:56 + make test 20:04:56 go test ./... -coverprofile=coverage.out ./... 20:04:57 ? github.com/edgexfoundry/device-rest-go [no test files] 20:05:16 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 20:05:16 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements 20:05:29 go vet ./... 20:05:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:05:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:05:33 ./bin/test-attribution-txt.sh [Pipeline] echo 20:05:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:05:33 $ docker stop --time=1 250169fca9a29803a498954715d75eba2a9f87f201f252c8091714b8a68ff881 20:05:37 $ docker rm -f --volumes 250169fca9a29803a498954715d75eba2a9f87f201f252c8091714b8a68ff881 [Pipeline] // withDockerContainer [Pipeline] sh 20:05:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:05:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:05:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:05:38 + ls -al . 20:05:38 total 244 20:05:38 drwxrwxr-x 9 jenkins jenkins 4096 Feb 3 20:04 . 20:05:38 drwxrwxr-x 4 jenkins jenkins 4096 Feb 3 20:03 .. 20:05:38 -rw-rw-r-- 1 jenkins jenkins 151 Feb 3 20:03 .dockerignore 20:05:38 drwxrwxr-x 8 jenkins jenkins 4096 Feb 3 20:05 .git 20:05:38 drwxrwxr-x 3 jenkins jenkins 4096 Feb 3 20:03 .github 20:05:38 -rw-rw-r-- 1 jenkins jenkins 264 Feb 3 20:03 .gitignore 20:05:38 -rw-rw-r-- 1 jenkins jenkins 41 Feb 3 20:03 .golangci.yml 20:05:38 drwxr-xr-x 3 jenkins jenkins 4096 Feb 3 20:03 .semver 20:05:38 -rw-rw-r-- 1 jenkins jenkins 20138 Feb 3 20:03 Attribution.txt 20:05:38 -rw-rw-r-- 1 jenkins jenkins 17685 Feb 3 20:03 CHANGELOG.md 20:05:38 -rw-rw-r-- 1 jenkins jenkins 1697 Feb 3 20:03 Dockerfile 20:05:38 -rw-rw-r-- 1 jenkins jenkins 677 Feb 3 20:03 GOVERNANCE.md 20:05:38 -rw-rw-r-- 1 jenkins jenkins 680 Feb 3 20:03 Jenkinsfile 20:05:38 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 3 20:03 LICENSE 20:05:38 -rw-rw-r-- 1 jenkins jenkins 2598 Feb 3 20:03 Makefile 20:05:38 -rw-rw-r-- 1 jenkins jenkins 620 Feb 3 20:03 OWNERS.md 20:05:38 -rw-rw-r-- 1 jenkins jenkins 3989 Feb 3 20:03 README.md 20:05:38 -rw-rw-r-- 1 jenkins jenkins 5 Feb 3 20:03 VERSION 20:05:38 drwxrwxr-x 2 jenkins jenkins 4096 Feb 3 20:03 bin 20:05:38 drwxrwxr-x 3 jenkins jenkins 4096 Feb 3 20:03 cmd 20:05:38 -rw-r--r-- 1 jenkins jenkins 14565 Feb 3 20:05 coverage.out 20:05:38 drwxrwxr-x 2 jenkins jenkins 4096 Feb 3 20:03 driver 20:05:38 -rw-rw-r-- 1 jenkins jenkins 6339 Feb 3 20:03 go.mod 20:05:38 -rw-rw-r-- 1 jenkins jenkins 86634 Feb 3 20:03 go.sum 20:05:38 drwxrwxr-x 3 jenkins jenkins 4096 Feb 3 20:03 openapi 20:05:38 -rw-rw-r-- 1 jenkins jenkins 713 Feb 3 20:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:39 + 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=0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e --label arch=amd64 --label version=0.0.0 . 20:05:39 Sending build context to Docker daemon 16.69MB 20:05:39 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 20:05:39 Step 2/26 : FROM ${BASE} AS builder 20:05:39 ---> 120d5b0eaa46 20:05:39 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:05:39 ---> Running in a1c71109fd8f 20:05:39 Removing intermediate container a1c71109fd8f 20:05:39 ---> 57f3d0f6f63c 20:05:39 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:05:39 ---> Running in e4f402911a2c 20:05:39 Removing intermediate container e4f402911a2c 20:05:39 ---> 612d40817456 20:05:39 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:05:39 ---> Running in 4c34241b3753 20:05:39 Removing intermediate container 4c34241b3753 20:05:39 ---> abfc469d71a1 20:05:39 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:05:39 ---> Running in 7fd2d608a9c7 20:05:39 Removing intermediate container 7fd2d608a9c7 20:05:39 ---> df2b91dbcf6a 20:05:39 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:05:39 ---> Running in 73935af59695 20:05:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:05:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:05:40 OK: 252 MiB in 62 packages 20:05:41 Removing intermediate container 73935af59695 20:05:41 ---> 00b2ea4bce27 20:05:41 Step 8/26 : WORKDIR /device-rest-go 20:05:41 ---> Running in a50d7e0c3362 20:05:41 Removing intermediate container a50d7e0c3362 20:05:41 ---> 9d159c04459d 20:05:41 Step 9/26 : COPY go.mod vendor* ./ 20:05:41 ---> f4d2a6b7162b 20:05:41 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:05:41 ---> Running in 1acd7f2ffd4a 20:05:41 Removing intermediate container 1acd7f2ffd4a 20:05:41 ---> ae3758d8c967 20:05:41 Step 11/26 : COPY . . 20:05:42 ---> 5e7b2f6f3237 20:05:42 Step 12/26 : RUN $MAKE 20:05:42 ---> Running in 128d4c8f724c 20:05:42 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/v4/internal/common.SDKVersion=v4.0.0-dev.20 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:06:14 Removing intermediate container 128d4c8f724c 20:06:14 ---> 371941da4c78 20:06:14 Step 13/26 : FROM alpine:3.20 20:06:14 3.20: Pulling from library/alpine 20:06:14 66a3d608f3fa: Pulling fs layer 20:06:14 66a3d608f3fa: Verifying Checksum 20:06:14 66a3d608f3fa: Download complete 20:06:14 66a3d608f3fa: Pull complete 20:06:14 Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 20:06:14 Status: Downloaded newer image for alpine:3.20 20:06:14 ---> e29df9b510ff 20:06:14 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:06:14 ---> Running in 81f79bfa60e9 20:06:14 Removing intermediate container 81f79bfa60e9 20:06:14 ---> e20f84227764 20:06:14 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:06:14 ---> Running in d3eb7c318456 20:06:14 Removing intermediate container d3eb7c318456 20:06:14 ---> 5bbbc0e5faf3 20:06:14 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:06:14 ---> Running in e441779bd0b1 20:06:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:06:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:06:14 (1/1) Installing dumb-init (1.2.5-r3) 20:06:14 Executing busybox-1.36.1-r29.trigger 20:06:14 OK: 8 MiB in 15 packages 20:06:14 Removing intermediate container e441779bd0b1 20:06:14 ---> b009a80c2508 20:06:14 Step 17/26 : RUN apk --no-cache upgrade 20:06:14 ---> Running in ad780fbc299b 20:06:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:06:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:06:15 OK: 8 MiB in 15 packages 20:06:15 Removing intermediate container ad780fbc299b 20:06:15 ---> b15ea85ca264 20:06:15 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:06:16 ---> ce0d8cc93c05 20:06:16 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:06:16 ---> 39f3508b60e8 20:06:16 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:06:16 ---> 4e2acd2232a2 20:06:16 Step 21/26 : EXPOSE 59986 20:06:16 ---> Running in 55672afd7daa 20:06:17 Removing intermediate container 55672afd7daa 20:06:17 ---> dc53327fd000 20:06:17 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:06:17 ---> Running in c377f438de89 20:06:17 Removing intermediate container c377f438de89 20:06:17 ---> e1a25dc8e39c 20:06:17 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 20:06:17 ---> Running in 63d58ea473b7 20:06:17 Removing intermediate container 63d58ea473b7 20:06:17 ---> 4bcd492f764d 20:06:17 Step 24/26 : LABEL arch=amd64 20:06:17 ---> Running in dc87839e9102 20:06:17 Removing intermediate container dc87839e9102 20:06:17 ---> 1cec6f61df84 20:06:17 Step 25/26 : LABEL git_sha=0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e 20:06:17 ---> Running in 5af3381a7544 20:06:17 Removing intermediate container 5af3381a7544 20:06:17 ---> 1a788e5b4e3c 20:06:17 Step 26/26 : LABEL version=0.0.0 20:06:17 ---> Running in 57f2d3fa161e 20:06:17 Removing intermediate container 57f2d3fa161e 20:06:17 ---> 8dd68dbf2702 20:06:17 [Warning] One or more build-args [ARCH] were not consumed 20:06:17 Successfully built 8dd68dbf2702 20:06:17 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:06:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:18 20:06:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:19 latest: Pulling from edgex-lftools-log-publisher 20:06:19 5eb5b503b376: Pulling fs layer 20:06:19 5c69ac0246d0: Pulling fs layer 20:06:19 ec43610c2a17: Pulling fs layer 20:06:19 3a2ae6a8a46f: Pulling fs layer 20:06:19 33b1e0a273af: Pulling fs layer 20:06:19 5d3b04190fa2: Pulling fs layer 20:06:19 2f39f015ded8: Pulling fs layer 20:06:19 33b1e0a273af: Waiting 20:06:19 2f39f015ded8: Waiting 20:06:19 3a2ae6a8a46f: Waiting 20:06:19 5c69ac0246d0: Download complete 20:06:19 3a2ae6a8a46f: Download complete 20:06:19 33b1e0a273af: Verifying Checksum 20:06:19 33b1e0a273af: Download complete 20:06:19 ec43610c2a17: Verifying Checksum 20:06:19 ec43610c2a17: Download complete 20:06:19 5d3b04190fa2: Verifying Checksum 20:06:19 5d3b04190fa2: Download complete 20:06:19 5eb5b503b376: Verifying Checksum 20:06:19 5eb5b503b376: Download complete 20:06:19 2f39f015ded8: Download complete 20:06:20 5eb5b503b376: Pull complete 20:06:20 5c69ac0246d0: Pull complete 20:06:21 ec43610c2a17: Pull complete 20:06:21 3a2ae6a8a46f: Pull complete 20:06:21 33b1e0a273af: Pull complete 20:06:21 5d3b04190fa2: Pull complete 20:06:25 2f39f015ded8: Pull complete 20:06:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:06:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:26 prd-ubuntu20.04-docker-8c-8g-38114 does not seem to be running inside a container 20:06:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-446 -v /w/workspace/gexfoundry_device-rest-go_PR-446:/w/workspace/gexfoundry_device-rest-go_PR-446:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-446@tmp:/w/workspace/gexfoundry_device-rest-go_PR-446@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:06:29 $ docker top 2b5632690cb758e77e9d9aed0e2af7c714f783ed43505c8da830007509d1eb00 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:29 ---> job-cost.sh 20:06:29 lf-activate-venv: SKIPPING 20:06:29 INFO: No Stack... 20:06:30 INFO: Retrieving Pricing Info for: v3-standard-8 20:06:30 INFO: Archiving Costs [Pipeline] sh 20:06:31 + cat /w/workspace/gexfoundry_device-rest-go_PR-446/archives/cost.csv 20:06:31 + cut -d, -f6 [Pipeline] lock 20:06:31 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-446-1-stack-cost] 20:06:31 Resource [jenkins-edgexfoundry-device-rest-go-PR-446-1-stack-cost] did not exist. Created. 20:06:31 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-446-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:06:31 + echo total: 0.2199999988079071 [Pipeline] stash 20:06:31 Stashed 1 file(s) [Pipeline] } 20:06:31 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-446-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:06:31 $ docker stop --time=1 2b5632690cb758e77e9d9aed0e2af7c714f783ed43505c8da830007509d1eb00 20:06:32 $ docker rm -f --volumes 2b5632690cb758e77e9d9aed0e2af7c714f783ed43505c8da830007509d1eb00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:06:33 provisioning config files... 20:06:33 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-446@tmp/config2658054338690060792tmp [Pipeline] { [Pipeline] sh 20:06:33 + set +x 20:06:33 + + bash -s -- 20:06:33 curl -s https://codecov.io/bash 20:06:33 20:06:33 _____ _ 20:06:33 / ____| | | 20:06:33 | | ___ __| | ___ ___ _____ __ 20:06:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:06:33 | |___| (_) | (_| | __/ (_| (_) \ V / 20:06:33 \_____\___/ \__,_|\___|\___\___/ \_/ 20:06:33 Bash-1.0.6 20:06:33 20:06:33 20:06:33 ==> git version 2.25.1 found 20:06:33 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:06:33 Release-Date: 2020-01-08 20:06:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:06:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:06:33 ==> Jenkins CI detected. 20:06:33 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-446 20:06:33 project root: . 20:06:33 --> token set from env 20:06:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:06:33 ==> Running gcov in . (disable via -X gcov) 20:06:33 ==> Python coveragepy not found 20:06:33 ==> Searching for coverage reports in: 20:06:33 + . 20:06:33 -> Found 1 reports 20:06:33 ==> Detecting git/mercurial file structure 20:06:34 ==> Reading reports 20:06:34 + ./coverage.out bytes=14565 20:06:34 ==> Appending adjustments 20:06:34 https://docs.codecov.io/docs/fixing-reports 20:06:34 + Found adjustments 20:06:34 ==> Gzipping contents 20:06:34 4.0K /tmp/codecov.1SIAfv.gz 20:06:34 ==> Uploading reports 20:06:34 url: https://codecov.io 20:06:34 query: branch=PR-446&commit=0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-446%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=446&job=&cmd_args= 20:06:34 -> Pinging Codecov 20:06:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-446&commit=0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-446%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=446&job=&cmd_args= 20:06:34 -> Uploading to 20:06:34 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e/59cb7bab-95a9-4d59-a606-3fbb3a4c6949.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250203%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250203T200634Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=9513b2e443f95c2672f1bcbb5a0c18a98b1709074203f433bf7cb04e7e33e8b0 20:06:34 % Total % Received % Xferd Average Speed Time Time Time Current 20:06:34 Dload Upload Total Spent Left Speed 20:06:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 15209 --:--:-- --:--:-- --:--:-- 15209 20:06:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0e07d38ce365e9c4d89a94c6c6a25b3b4e18699e [Pipeline] } 20:06:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:06:36 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-446/archives ] 20:06:36 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-446/archives 20:06:36 total 16 20:06:36 drwxr-xr-x 3 root root 4096 Feb 3 20:06 . 20:06:36 drwxrwxr-x 10 jenkins jenkins 4096 Feb 3 20:06 .. 20:06:36 drwxr-xr-x 2 root root 4096 Feb 3 20:06 cost 20:06:36 -rw-r--r-- 1 root root 86 Feb 3 20:06 cost.csv 20:06:36 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-446/archives 20:06:36 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-446/archives 20:06:36 total 16 20:06:36 drwxr-xr-x 3 jenkins jenkins 4096 Feb 3 20:06 . 20:06:36 drwxrwxr-x 10 jenkins jenkins 4096 Feb 3 20:06 .. 20:06:36 drwxr-xr-x 2 jenkins jenkins 4096 Feb 3 20:06 cost 20:06:36 -rw-r--r-- 1 jenkins jenkins 86 Feb 3 20:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:06:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:06:37 ---> package-listing.sh 20:06:37 ++ facter osfamily 20:06:37 ++ tr '[:upper:]' '[:lower:]' 20:06:38 + OS_FAMILY=debian 20:06:38 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-446 20:06:38 + START_PACKAGES=/tmp/packages_start.txt 20:06:38 + END_PACKAGES=/tmp/packages_end.txt 20:06:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:06:38 + PACKAGES=/tmp/packages_start.txt 20:06:38 + '[' /w/workspace/gexfoundry_device-rest-go_PR-446 ']' 20:06:38 + PACKAGES=/tmp/packages_end.txt 20:06:38 + case "${OS_FAMILY}" in 20:06:38 + dpkg -l 20:06:38 + grep '^ii' 20:06:38 + '[' -f /tmp/packages_start.txt ']' 20:06:38 + '[' -f /tmp/packages_end.txt ']' 20:06:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:06:38 + '[' /w/workspace/gexfoundry_device-rest-go_PR-446 ']' 20:06:38 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-446/archives/ 20:06:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-446/archives/ [Pipeline] echo 20:06:38 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-446/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:06:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:39 prd-ubuntu20.04-docker-8c-8g-38114 does not seem to be running inside a container 20:06:39 $ 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-446/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-446 -v /w/workspace/gexfoundry_device-rest-go_PR-446:/w/workspace/gexfoundry_device-rest-go_PR-446:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-446@tmp:/w/workspace/gexfoundry_device-rest-go_PR-446@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:06:39 $ docker top a4d72d8c97ba1b4e6f54af36f4dba1649ac914e23466e3c99c0e493b747199c6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:40 + touch /tmp/pre-build-complete [Pipeline] sh 20:06:40 + mkdir -p /var/log/sysstat [Pipeline] sh 20:06:40 + ls /var/log/sa-host 20:06:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:06:40 provisioning config files... 20:06:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-446@tmp/config1547405570377299195tmp [Pipeline] { [Pipeline] echo 20:06:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:06:41 ---> create-netrc.sh [Pipeline] } 20:06:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:06:42 ---> python-tools-install.sh [Pipeline] echo 20:06:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:06:42 ---> sudo-logs.sh 20:06:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:06:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:06:42 ---> job-cost.sh 20:06:42 lf-activate-venv: SKIPPING 20:06:42 DEBUG: total: 0.2199999988079071 20:06:42 INFO: Retrieving Stack Cost... 20:06:42 INFO: Retrieving Pricing Info for: v3-standard-8 20:06:43 INFO: Archiving Costs [Pipeline] echo 20:06:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:06:43 ---> logs-deploy.sh 20:06:43 lf-activate-venv: SKIPPING 20:06:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-446/1 20:06:43 INFO: archiving workspace using pattern(s): 20:06:44 Archives upload complete. 20:06:44 INFO: archiving logs to Nexus