Pull request #388 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from da1134828c023e95017b86027f0a687f644d0f30+546a8bddbc250e09a9704dd77d22d2ef885b0504 (45fa8ad9aecd2e31d8a1b6564b02ec8b59dca01d) 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-ssh4533883207894649683.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4704361291308786305.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-388/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-388/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3357531384600855807.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-388/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10700047581609018722.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10220860255970697255.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-388/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-388/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9780907088222169924.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2503 in /w/workspace/gexfoundry_device-rest-go_PR-388 [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-388 # 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/388/head:refs/remotes/origin/PR-388 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 546a8bddbc250e09a9704dd77d22d2ef885b0504 into PR head commit da1134828c023e95017b86027f0a687f644d0f30 Merge succeeded, producing da1134828c023e95017b86027f0a687f644d0f30 Checking out Revision da1134828c023e95017b86027f0a687f644d0f30 (PR-388) Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.11.4 to 4.12.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f da1134828c023e95017b86027f0a687f644d0f30 # 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 546a8bddbc250e09a9704dd77d22d2ef885b0504 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f da1134828c023e95017b86027f0a687f644d0f30 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:15:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:15:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:15:42 ========================================================= 20:15:42 EdgeX Global Pipelines Version Info 20:15:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:15:44 ------------------- 20:15:44 stable info: 20:15:44 ------------------- 20:15:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:15:44 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:15:44 Message: update stable to v1.0.258 20:15:44 ------------------- 20:15:44 experimental info: 20:15:44 ------------------- 20:15:44 Commited By: **** collab-it+edgex@linuxfoundation.org 20:15:44 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:15:44 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:15:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:15:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:15:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:15:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:15:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:15:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:15:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:15:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:15:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:15:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:15:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:15:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:15:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:15:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:15:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:15:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:15:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:15:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:15:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:15:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:15:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:15:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:15:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:15:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:15:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:15:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:15:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:15:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-388 [Pipeline] echo 20:15:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-388 [Pipeline] echo 20:15:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-388 [Pipeline] echo 20:15:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = da1134828c023e95017b86027f0a687f644d0f30 [Pipeline] echo 20:15:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = da11348 [Pipeline] echo 20:15:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:15:46 provisioning config files... 20:15:46 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-388@tmp/config14090870119128495459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:47 ---> ****-login.sh 20:15:47 nexus3.edgexfoundry.org:10001 20:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:15:47 Configure a credential helper to remove this warning. See 20:15:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:15:47 20:15:47 Login Succeeded 20:15:47 nexus3.edgexfoundry.org:10002 20:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:15:47 Configure a credential helper to remove this warning. See 20:15:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:15:47 20:15:47 Login Succeeded 20:15:47 nexus3.edgexfoundry.org:10003 20:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:15:47 Configure a credential helper to remove this warning. See 20:15:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:15:47 20:15:47 Login Succeeded 20:15:47 nexus3.edgexfoundry.org:10004 20:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:15:47 Configure a credential helper to remove this warning. See 20:15:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:15:47 20:15:47 Login Succeeded 20:15:47 ****.io 20:15:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:15:48 Configure a credential helper to remove this warning. See 20:15:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:15:48 20:15:48 Login Succeeded 20:15:48 ---> ****-login.sh ends [Pipeline] } 20:15:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:15:49 + git rev-list -1 --merges da1134828c023e95017b86027f0a687f644d0f30~1..da1134828c023e95017b86027f0a687f644d0f30 [Pipeline] echo 20:15:49 -----------> git rev-list -1 --merges da1134828c023e95017b86027f0a687f644d0f30~1..da1134828c023e95017b86027f0a687f644d0f30 da1134828c023e95017b86027f0a687f644d0f30 [false] [Pipeline] sh 20:15:49 + git log --format=format:%s -1 da1134828c023e95017b86027f0a687f644d0f30 [Pipeline] echo 20:15:49 ========================================================= 20:15:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:15:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:15:49 + git log --format=format:%s -1 da1134828c023e95017b86027f0a687f644d0f30 [Pipeline] echo 20:15:49 [semverPrep] GIT_COMMIT: da1134828c023e95017b86027f0a687f644d0f30, Commit Message: build(deps): Bump github.com/labstack/echo/v4 from 4.11.4 to 4.12.0 [Pipeline] echo 20:15:49 [semverPrep] This is not a build commit. [Pipeline] sh 20:15:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:15:50 + grep -v github /etc/ssh/ssh_known_hosts 20:15:50 + [ -e /tmp/ssh_known_hosts ] 20:15:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:15:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:15:50 + sudo tee -a /etc/ssh/ssh_known_hosts 20:15:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:15:50 20:15:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:15:51 0.1.4: Pulling from edgex-devops/py-git-semver 20:15:51 b85a868b505f: Pulling fs layer 20:15:51 e2be974225ed: Pulling fs layer 20:15:51 339a4e72a1f5: Pulling fs layer 20:15:51 988bab9f4d93: Pulling fs layer 20:15:51 1469e6f7b9e6: Pulling fs layer 20:15:51 eaf3925da568: Pulling fs layer 20:15:51 bab4dde63d76: Pulling fs layer 20:15:51 bde34c3a00c8: Pulling fs layer 20:15:51 b352a97aabf1: Pulling fs layer 20:15:51 4872d77fe225: Pulling fs layer 20:15:51 5851b861e8e6: Pulling fs layer 20:15:51 1469e6f7b9e6: Waiting 20:15:51 bde34c3a00c8: Waiting 20:15:51 bab4dde63d76: Waiting 20:15:51 5851b861e8e6: Waiting 20:15:51 988bab9f4d93: Waiting 20:15:51 eaf3925da568: Waiting 20:15:51 b352a97aabf1: Waiting 20:15:51 4872d77fe225: Waiting 20:15:51 e2be974225ed: Verifying Checksum 20:15:51 e2be974225ed: Download complete 20:15:51 988bab9f4d93: Verifying Checksum 20:15:51 988bab9f4d93: Download complete 20:15:51 1469e6f7b9e6: Verifying Checksum 20:15:51 1469e6f7b9e6: Download complete 20:15:51 eaf3925da568: Verifying Checksum 20:15:51 eaf3925da568: Download complete 20:15:51 339a4e72a1f5: Verifying Checksum 20:15:51 339a4e72a1f5: Download complete 20:15:51 bde34c3a00c8: Verifying Checksum 20:15:51 bde34c3a00c8: Download complete 20:15:51 b352a97aabf1: Verifying Checksum 20:15:51 b352a97aabf1: Download complete 20:15:51 4872d77fe225: Verifying Checksum 20:15:51 4872d77fe225: Download complete 20:15:51 5851b861e8e6: Verifying Checksum 20:15:51 5851b861e8e6: Download complete 20:15:51 b85a868b505f: Verifying Checksum 20:15:51 b85a868b505f: Download complete 20:15:51 bab4dde63d76: Verifying Checksum 20:15:51 bab4dde63d76: Download complete 20:15:53 b85a868b505f: Pull complete 20:15:53 e2be974225ed: Pull complete 20:15:53 339a4e72a1f5: Pull complete 20:15:53 988bab9f4d93: Pull complete 20:15:54 1469e6f7b9e6: Pull complete 20:15:54 eaf3925da568: Pull complete 20:15:55 bab4dde63d76: Pull complete 20:15:55 bde34c3a00c8: Pull complete 20:15:56 b352a97aabf1: Pull complete 20:15:56 4872d77fe225: Pull complete 20:15:56 5851b861e8e6: Pull complete 20:15:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:15:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:15:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:15:56 prd-ubuntu20.04-docker-8c-8g-2503 does not seem to be running inside a container 20:15:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-388 -v /w/workspace/gexfoundry_device-rest-go_PR-388:/w/workspace/gexfoundry_device-rest-go_PR-388:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-388@tmp:/w/workspace/gexfoundry_device-rest-go_PR-388@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:15:59 $ docker top 3e1f0fc2460d1707a32a5ad4a4a7a1e072d477612614e833a84712f3cfe9c0c8 -eo pid,comm 20:15:59 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:15:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:15:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:15:59 [ssh-agent] Looking for ssh-agent implementation... 20:15:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:15:59 $ docker exec 3e1f0fc2460d1707a32a5ad4a4a7a1e072d477612614e833a84712f3cfe9c0c8 ssh-agent 20:15:59 SSH_AUTH_SOCK=/tmp/ssh-JLbfESS04UuA/agent.33 20:15:59 SSH_AGENT_PID=39 20:15:59 Running ssh-add (command line suppressed) 20:15:59 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-388@tmp/private_key_17077985463347747750.key (/w/workspace/gexfoundry_device-rest-go_PR-388@tmp/private_key_17077985463347747750.key) 20:15:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:16:00 + git tag --points-at HEAD [Pipeline] } 20:16:00 $ docker exec --env ******** --env ******** 3e1f0fc2460d1707a32a5ad4a4a7a1e072d477612614e833a84712f3cfe9c0c8 ssh-agent -k 20:16:00 unset SSH_AUTH_SOCK; 20:16:00 unset SSH_AGENT_PID; 20:16:00 echo Agent pid 39 killed; 20:16:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:16:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:16:00 [ssh-agent] Looking for ssh-agent implementation... 20:16:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:16:00 $ docker exec 3e1f0fc2460d1707a32a5ad4a4a7a1e072d477612614e833a84712f3cfe9c0c8 ssh-agent 20:16:00 SSH_AUTH_SOCK=/tmp/ssh-tM3SHA364ajo/agent.73 20:16:00 SSH_AGENT_PID=79 20:16:00 Running ssh-add (command line suppressed) 20:16:00 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-388@tmp/private_key_8767778233839179169.key (/w/workspace/gexfoundry_device-rest-go_PR-388@tmp/private_key_8767778233839179169.key) 20:16:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:16:01 + git semver init 20:16:01 2024-04-15 20:16:01,254 [run_init] DEBUG init version:0.0.0 force:False 20:16:01 2024-04-15 20:16:01,254 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-388/.semver 20:16:01 2024-04-15 20:16:01,255 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-388/.semver 20:16:01 2024-04-15 20:16:01,255 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-388/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-388, universal_newlines=False, shell=None, istream=None) 20:16:03 2024-04-15 20:16:02,751 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-388/.git/info/exclude 20:16:03 2024-04-15 20:16:02,751 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-388/.semver/PR-388 with force:False 20:16:03 2024-04-15 20:16:02,751 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-388/.semver/PR-388 20:16:03 2024-04-15 20:16:02,756 [execute] INFO git cat-file --batch-check 20:16:03 2024-04-15 20:16:02,756 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-388/.semver, universal_newlines=False, shell=None, istream=) 20:16:03 2024-04-15 20:16:02,762 [execute] INFO git cat-file --batch 20:16:03 2024-04-15 20:16:02,763 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-388/.semver, universal_newlines=False, shell=None, istream=) 20:16:03 2024-04-15 20:16:02,768 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-388/.semver/PR-388 20:16:03 0.0.0 [Pipeline] } 20:16:03 $ docker exec --env ******** --env ******** 3e1f0fc2460d1707a32a5ad4a4a7a1e072d477612614e833a84712f3cfe9c0c8 ssh-agent -k 20:16:03 unset SSH_AUTH_SOCK; 20:16:03 unset SSH_AGENT_PID; 20:16:03 echo Agent pid 79 killed; 20:16:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:16:03 + git semver [Pipeline] } 20:16:04 $ docker stop --time=1 3e1f0fc2460d1707a32a5ad4a4a7a1e072d477612614e833a84712f3cfe9c0c8 20:16:05 $ docker rm -f --volumes 3e1f0fc2460d1707a32a5ad4a4a7a1e072d477612614e833a84712f3cfe9c0c8 [Pipeline] // withDockerContainer [Pipeline] sh 20:16:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:16:06 Stashed 1 file(s) [Pipeline] echo 20:16:06 [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:16:06 provisioning config files... 20:16:06 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-388@tmp/config3610940315585643669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:16:07 ---> ****-login.sh 20:16:07 nexus3.edgexfoundry.org:10001 20:16:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:16:07 Configure a credential helper to remove this warning. See 20:16:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:16:07 20:16:07 Login Succeeded 20:16:07 nexus3.edgexfoundry.org:10002 20:16:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:16:07 Configure a credential helper to remove this warning. See 20:16:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:16:07 20:16:07 Login Succeeded 20:16:07 nexus3.edgexfoundry.org:10003 20:16:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:16:07 Configure a credential helper to remove this warning. See 20:16:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:16:07 20:16:07 Login Succeeded 20:16:07 nexus3.edgexfoundry.org:10004 20:16:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:16:07 Configure a credential helper to remove this warning. See 20:16:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:16:07 20:16:07 Login Succeeded 20:16:07 ****.io 20:16:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:16:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:16:07 Configure a credential helper to remove this warning. See 20:16:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:16:07 20:16:07 Login Succeeded 20:16:07 ---> ****-login.sh ends [Pipeline] } 20:16:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:16:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:16:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:16:08 ========================================================= 20:16:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:16:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:16:08 + 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:16:08 Sending build context to Docker daemon 16.37MB 20:16:08 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:16:08 Step 2/12 : FROM ${BASE} AS builder 20:16:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:16:08 7264a8db6415: Pulling fs layer 20:16:08 c4d48a809fc2: Pulling fs layer 20:16:08 4f1c88b9dad5: Pulling fs layer 20:16:08 ad3a456e5733: Pulling fs layer 20:16:08 69c7f0334f64: Pulling fs layer 20:16:08 1f1c1a5573a3: Pulling fs layer 20:16:08 ce7588e14bc9: Pulling fs layer 20:16:08 b5e4710f87ac: Pulling fs layer 20:16:08 69c7f0334f64: Waiting 20:16:08 1f1c1a5573a3: Waiting 20:16:08 ce7588e14bc9: Waiting 20:16:08 b5e4710f87ac: Waiting 20:16:08 ad3a456e5733: Waiting 20:16:08 c4d48a809fc2: Verifying Checksum 20:16:08 c4d48a809fc2: Download complete 20:16:08 ad3a456e5733: Verifying Checksum 20:16:08 ad3a456e5733: Download complete 20:16:08 69c7f0334f64: Download complete 20:16:08 7264a8db6415: Verifying Checksum 20:16:08 7264a8db6415: Download complete 20:16:08 1f1c1a5573a3: Verifying Checksum 20:16:08 1f1c1a5573a3: Download complete 20:16:08 7264a8db6415: Pull complete 20:16:09 c4d48a809fc2: Pull complete 20:16:09 b5e4710f87ac: Verifying Checksum 20:16:09 b5e4710f87ac: Download complete 20:16:09 4f1c88b9dad5: Verifying Checksum 20:16:09 4f1c88b9dad5: Download complete 20:16:09 ce7588e14bc9: Verifying Checksum 20:16:09 ce7588e14bc9: Download complete 20:16:12 4f1c88b9dad5: Pull complete 20:16:12 ad3a456e5733: Pull complete 20:16:12 69c7f0334f64: Pull complete 20:16:12 1f1c1a5573a3: Pull complete 20:16:15 ce7588e14bc9: Pull complete 20:16:16 b5e4710f87ac: Pull complete 20:16:16 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 20:16:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:16:16 ---> 88b5674ff536 20:16:16 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:16:21 ---> Running in d932d697305e 20:16:21 Removing intermediate container d932d697305e 20:16:21 ---> 6622656f1274 20:16:21 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:16:21 ---> Running in e84d6a1306fb 20:16:21 Removing intermediate container e84d6a1306fb 20:16:21 ---> 7051fc74801d 20:16:21 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:16:21 ---> Running in 95b77e18f868 20:16:21 Removing intermediate container 95b77e18f868 20:16:21 ---> 7e7bf8b167eb 20:16:21 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:16:21 ---> Running in 7999c2683dce 20:16:21 Removing intermediate container 7999c2683dce 20:16:21 ---> 2b6d660befe4 20:16:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:16:21 ---> Running in 1f4e5af00ff9 20:16:21 Still waiting to schedule task 20:16:21 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:16:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:16:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:16:22 (1/4) Installing openssh-keygen (9.3_p2-r1) 20:16:22 (2/4) Installing libedit (20221030.3.1-r1) 20:16:22 (3/4) Installing openssh-client-common (9.3_p2-r1) 20:16:22 (4/4) Installing openssh-client-default (9.3_p2-r1) 20:16:22 Executing busybox-1.36.1-r5.trigger 20:16:22 OK: 268 MiB in 56 packages 20:16:24 Removing intermediate container 1f4e5af00ff9 20:16:24 ---> 13a84db16fd3 20:16:24 Step 8/12 : WORKDIR /device-rest-go 20:16:24 ---> Running in 68292340deef 20:16:24 Removing intermediate container 68292340deef 20:16:24 ---> df809b3446bf 20:16:24 Step 9/12 : COPY go.mod vendor* ./ 20:16:24 ---> 302705ac021b 20:16:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:16:24 ---> Running in 69126756c569 20:17:31 Removing intermediate container 69126756c569 20:17:31 ---> 1fc9b4ec1d3b 20:17:31 Step 11/12 : COPY . . 20:17:31 ---> 7a93b3c504ae 20:17:31 Step 12/12 : RUN $MAKE 20:17:31 ---> Running in 01efd474c42f 20:17:31 noop 20:17:31 Removing intermediate container 01efd474c42f 20:17:31 ---> cc9c1f4619fd 20:17:31 Successfully built cc9c1f4619fd 20:17:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:32 + docker inspect -f . ci-base-image-x86_64 20:17:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:32 prd-ubuntu20.04-docker-8c-8g-2503 does not seem to be running inside a container 20:17:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-388 -v /w/workspace/gexfoundry_device-rest-go_PR-388:/w/workspace/gexfoundry_device-rest-go_PR-388:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-388@tmp:/w/workspace/gexfoundry_device-rest-go_PR-388@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:17:33 $ docker top ebb6f31786aa1327a240746ed3423bc6ae740af96c3e30bdebcf72cbc643f4b2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:17:33 + go version 20:17:33 go version go1.21.0 linux/amd64 [Pipeline] } 20:17:33 $ docker stop --time=1 ebb6f31786aa1327a240746ed3423bc6ae740af96c3e30bdebcf72cbc643f4b2 20:17:34 $ docker rm -f --volumes ebb6f31786aa1327a240746ed3423bc6ae740af96c3e30bdebcf72cbc643f4b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:35 + docker inspect -f . ci-base-image-x86_64 20:17:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:35 prd-ubuntu20.04-docker-8c-8g-2503 does not seem to be running inside a container 20:17:35 $ 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-388 -v /w/workspace/gexfoundry_device-rest-go_PR-388:/w/workspace/gexfoundry_device-rest-go_PR-388:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-388@tmp:/w/workspace/gexfoundry_device-rest-go_PR-388@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:17:36 $ docker top a8f5d4d3436cdcc5590449a069e44fdc21bfa25384529f338421bd4943c2424f -eo pid,comm [Pipeline] { [Pipeline] sh 20:17:36 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-388 [Pipeline] fileExists [Pipeline] sh 20:17:36 + make test 20:17:36 go test ./... -coverprofile=coverage.out ./... 20:17:38 ? github.com/edgexfoundry/device-rest-go [no test files] 20:17:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2504 in /w/workspace/gexfoundry_device-rest-go_PR-388 [Pipeline] { [Pipeline] ws 20:17:56 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:17:56 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:17:56 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.2% of statements 20:17:59 The recommended git tool is: git 20:18:04 using credential edgex-jenkins-ssh 20:18:04 Cloning the remote Git repository 20:18:04 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:18:04 > git init /w/workspace/device-rest-go/1 # timeout=10 20:18:04 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:18:04 > git --version # timeout=10 20:18:04 > git --version # 'git version 2.25.1' 20:18:04 using GIT_SSH to set credentials SSH Credentials for GitHub 20:18:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:18:05 go vet ./... 20:18:07 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:18:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:18:08 Merging remotes/origin/main commit 546a8bddbc250e09a9704dd77d22d2ef885b0504 into PR head commit da1134828c023e95017b86027f0a687f644d0f30 20:18:09 Merge succeeded, producing da1134828c023e95017b86027f0a687f644d0f30 20:18:09 Checking out Revision da1134828c023e95017b86027f0a687f644d0f30 (PR-388) 20:18:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:18:08 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:18:08 using GIT_SSH to set credentials SSH Credentials for GitHub 20:18:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/388/head:refs/remotes/origin/PR-388 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:18:08 > git config core.sparsecheckout # timeout=10 20:18:09 > git checkout -f da1134828c023e95017b86027f0a687f644d0f30 # timeout=10 20:18:09 > git remote # timeout=10 20:18:09 > git config --get remote.origin.url # timeout=10 20:18:09 using GIT_SSH to set credentials SSH Credentials for GitHub 20:18:09 > git merge 546a8bddbc250e09a9704dd77d22d2ef885b0504 # timeout=10 20:18:09 > git rev-parse HEAD^{commit} # timeout=10 20:18:09 > git config core.sparsecheckout # timeout=10 20:18:09 > git checkout -f da1134828c023e95017b86027f0a687f644d0f30 # timeout=10 20:18:09 Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.11.4 to 4.12.0" 20:18:09 > git --version # timeout=10 20:18:09 > git --version # 'git version 2.25.1' 20:18:09 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:18:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:18:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:18:10 ./bin/test-attribution-txt.sh 20:18:10 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 20:18:10 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 20:18:10 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 20:18:10 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 20:18:10 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 20:18:10 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 20:18:10 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 20:18:10 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 20:18:10 An attribution for golang.org/x/term is missing from Attribution.txt, please add 20:18:10 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 20:18:10 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 20:18:10 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 20:18:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:18:10 $ docker stop --time=1 a8f5d4d3436cdcc5590449a069e44fdc21bfa25384529f338421bd4943c2424f 20:18:15 $ docker rm -f --volumes a8f5d4d3436cdcc5590449a069e44fdc21bfa25384529f338421bd4943c2424f [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 20:18:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] stash 20:18:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 20:18:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:18:16 % Total % Received % Xferd Average Speed Time Time Time Current 20:18:16 Dload Upload Total Spent Left Speed 20:18:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 112k 0 --:--:-- --:--:-- --:--:-- 111k 100 12828 100 12828 0 0 111k 0 --:--:-- --:--:-- --:--:-- 110k [Pipeline] sh [Pipeline] sh 20:18:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:18:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:18:16 + sudo tee /etc/docker/daemon.new 20:18:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:18:16 { 20:18:16 "registry-mirrors": [ 20:18:16 "https://nexus3.edgexfoundry.org:10001" 20:18:16 ], 20:18:16 "bip": "10.250.0.254/24", 20:18:16 "hosts": [ 20:18:16 "tcp://0.0.0.0:5555", 20:18:16 "unix:///var/run/docker.sock" 20:18:16 ], 20:18:16 "mtu": 1458, 20:18:16 "selinux-enabled": true, 20:18:16 "seccomp-profile": "/etc/docker/seccomp.json" 20:18:16 } [Pipeline] sh 20:18:17 + ls -al . 20:18:17 total 248 20:18:17 drwxrwxr-x 9 jenkins jenkins 4096 Apr 15 20:17 . 20:18:17 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 20:15 .. 20:18:17 -rw-rw-r-- 1 jenkins jenkins 151 Apr 15 20:15 .dockerignore 20:18:17 drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 20:17 .git 20:18:17 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 20:15 .github 20:18:17 -rw-rw-r-- 1 jenkins jenkins 264 Apr 15 20:15 .gitignore 20:18:17 -rw-rw-r-- 1 jenkins jenkins 41 Apr 15 20:15 .golangci.yml 20:18:17 drwxr-xr-x 3 jenkins jenkins 4096 Apr 15 20:16 .semver 20:18:17 -rw-rw-r-- 1 jenkins jenkins 10300 Apr 15 20:15 Attribution.txt 20:18:17 -rw-rw-r-- 1 jenkins jenkins 17685 Apr 15 20:15 CHANGELOG.md 20:18:17 -rw-rw-r-- 1 jenkins jenkins 1687 Apr 15 20:15 Dockerfile 20:18:17 -rw-rw-r-- 1 jenkins jenkins 677 Apr 15 20:15 GOVERNANCE.md 20:18:17 -rw-rw-r-- 1 jenkins jenkins 680 Apr 15 20:15 Jenkinsfile 20:18:17 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 15 20:15 LICENSE 20:18:17 -rw-rw-r-- 1 jenkins jenkins 2016 Apr 15 20:15 Makefile 20:18:17 -rw-rw-r-- 1 jenkins jenkins 620 Apr 15 20:15 OWNERS.md 20:18:17 -rw-rw-r-- 1 jenkins jenkins 3989 Apr 15 20:15 README.md 20:18:17 -rw-rw-r-- 1 jenkins jenkins 5 Apr 15 20:16 VERSION 20:18:17 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 20:15 bin 20:18:17 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 20:15 cmd 20:18:17 -rw-r--r-- 1 jenkins jenkins 14499 Apr 15 20:17 coverage.out 20:18:17 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 20:15 driver 20:18:17 -rw-rw-r-- 1 jenkins jenkins 7238 Apr 15 20:15 go.mod 20:18:17 -rw-rw-r-- 1 jenkins jenkins 101841 Apr 15 20:15 go.sum 20:18:17 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 20:15 openapi 20:18:17 -rw-rw-r-- 1 jenkins jenkins 713 Apr 15 20:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:18:17 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=da1134828c023e95017b86027f0a687f644d0f30 --label arch=amd64 --label version=0.0.0 . 20:18:17 Sending build context to Docker daemon 16.38MB 20:18:17 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:18:17 Step 2/26 : FROM ${BASE} AS builder 20:18:17 ---> cc9c1f4619fd 20:18:17 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:18:17 + sudo service docker restart 20:18:18 ---> Running in 1116c2f39465 20:18:18 Removing intermediate container 1116c2f39465 20:18:18 ---> 7dd58e7b4338 20:18:18 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:18:18 ---> Running in 857a9e5d3660 20:18:18 Removing intermediate container 857a9e5d3660 20:18:18 ---> fe047d753279 20:18:18 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:18:18 ---> Running in 2caccc6ad926 20:18:18 Removing intermediate container 2caccc6ad926 20:18:18 ---> d0c16af4be80 20:18:18 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:18:18 ---> Running in 82b942cac94f 20:18:18 Removing intermediate container 82b942cac94f 20:18:18 ---> a36fd99bcf05 20:18:18 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:18:18 ---> Running in 611a7cb46a56 20:18:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:18:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:18:18 OK: 268 MiB in 56 packages 20:18:19 Removing intermediate container 611a7cb46a56 20:18:19 ---> 0da81184cb9a 20:18:19 Step 8/26 : WORKDIR /device-rest-go 20:18:19 ---> Running in 70e589388248 20:18:19 Removing intermediate container 70e589388248 20:18:19 ---> 08f870fed3c4 20:18:19 Step 9/26 : COPY go.mod vendor* ./ 20:18:19 ---> f2f919aa935c 20:18:19 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:18:19 ---> Running in 77d6e3cb9230 20:18:20 Removing intermediate container 77d6e3cb9230 20:18:20 ---> 3f979faa7bd9 20:18:20 Step 11/26 : COPY . . 20:18:21 ---> a2c44240e6af 20:18:21 Step 12/26 : RUN $MAKE 20:18:21 ---> Running in 86061af2b595 20:18:21 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-rest ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:18:36 provisioning config files... 20:18:36 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3596765582480470680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:18:36 ---> ****-login.sh 20:18:36 nexus3.edgexfoundry.org:10001 20:18:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:18:37 Configure a credential helper to remove this warning. See 20:18:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:18:37 20:18:37 Login Succeeded 20:18:37 nexus3.edgexfoundry.org:10002 20:18:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:18:37 Configure a credential helper to remove this warning. See 20:18:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:18:37 20:18:37 Login Succeeded 20:18:37 nexus3.edgexfoundry.org:10003 20:18:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:18:37 Configure a credential helper to remove this warning. See 20:18:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:18:37 20:18:37 Login Succeeded 20:18:37 nexus3.edgexfoundry.org:10004 20:18:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:18:38 Configure a credential helper to remove this warning. See 20:18:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:18:38 20:18:38 Login Succeeded 20:18:38 ****.io 20:18:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:18:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:18:38 Configure a credential helper to remove this warning. See 20:18:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:18:38 20:18:38 Login Succeeded 20:18:38 ---> ****-login.sh ends [Pipeline] } 20:18:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:18:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:18:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:18:39 ========================================================= 20:18:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:18:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:39 + 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:18:39 Sending build context to Docker daemon 131.1kB 20:18:39 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:18:39 Step 2/12 : FROM ${BASE} AS builder 20:18:39 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:18:39 9fda8d8052c6: Pulling fs layer 20:18:39 5d54e960e981: Pulling fs layer 20:18:39 c4a7e357bf2a: Pulling fs layer 20:18:39 f0e02332f6b5: Pulling fs layer 20:18:39 872ee5b61b7b: Pulling fs layer 20:18:39 0c6a40ed1a82: Pulling fs layer 20:18:39 94ae7d8d031c: Pulling fs layer 20:18:39 872ee5b61b7b: Waiting 20:18:39 0c6a40ed1a82: Waiting 20:18:39 94ae7d8d031c: Waiting 20:18:39 f0e02332f6b5: Waiting 20:18:40 5d54e960e981: Download complete 20:18:40 f0e02332f6b5: Verifying Checksum 20:18:40 f0e02332f6b5: Download complete 20:18:40 872ee5b61b7b: Verifying Checksum 20:18:40 872ee5b61b7b: Download complete 20:18:40 9fda8d8052c6: Verifying Checksum 20:18:40 9fda8d8052c6: Download complete 20:18:40 94ae7d8d031c: Verifying Checksum 20:18:40 94ae7d8d031c: Download complete 20:18:41 9fda8d8052c6: Pull complete 20:18:41 5d54e960e981: Pull complete 20:18:41 c4a7e357bf2a: Download complete 20:18:42 0c6a40ed1a82: Verifying Checksum 20:18:42 0c6a40ed1a82: Download complete 20:18:53 Removing intermediate container 86061af2b595 20:18:53 ---> f1fe8f36d876 20:18:53 Step 13/26 : FROM alpine:3.18 20:18:53 3.18: Pulling from library/alpine 20:18:53 619be1103602: Pulling fs layer 20:18:53 619be1103602: Verifying Checksum 20:18:53 619be1103602: Download complete 20:18:53 619be1103602: Pull complete 20:18:53 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 20:18:53 Status: Downloaded newer image for alpine:3.18 20:18:53 ---> d3782b16ccc9 20:18:53 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:18:53 ---> Running in 605d64f00927 20:18:53 Removing intermediate container 605d64f00927 20:18:53 ---> 3a1dbdefd947 20:18:53 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:18:53 ---> Running in 273decf31e1d 20:18:53 Removing intermediate container 273decf31e1d 20:18:53 ---> 33fca6dc57d6 20:18:53 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:18:53 ---> Running in 79fd9e46ba26 20:18:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:18:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:18:53 (1/1) Installing dumb-init (1.2.5-r2) 20:18:53 Executing busybox-1.36.1-r5.trigger 20:18:53 OK: 7 MiB in 16 packages 20:18:53 Removing intermediate container 79fd9e46ba26 20:18:53 ---> ccfa760fa052 20:18:53 Step 17/26 : RUN apk --no-cache upgrade 20:18:54 ---> Running in 7925aa1d9aa3 20:18:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:18:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:18:54 Upgrading critical system libraries and apk-tools: 20:18:54 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.3-r1) 20:18:54 Executing busybox-1.36.1-r5.trigger 20:18:54 Continuing the upgrade transaction with new apk-tools: 20:18:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:18:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:18:54 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 20:18:54 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 20:18:54 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 20:18:54 OK: 7 MiB in 16 packages 20:18:55 c4a7e357bf2a: Pull complete 20:18:55 f0e02332f6b5: Pull complete 20:18:55 872ee5b61b7b: Pull complete 20:18:55 Removing intermediate container 7925aa1d9aa3 20:18:55 ---> b217b8dac0b0 20:18:55 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:18:56 ---> f8f751e7a76f 20:18:56 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:18:56 ---> 5c165c8a20d3 20:18:56 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:18:56 ---> fef39c979da5 20:18:56 Step 21/26 : EXPOSE 59986 20:18:56 ---> Running in 42c8c1af5372 20:18:56 Removing intermediate container 42c8c1af5372 20:18:56 ---> 29550c014d4b 20:18:56 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:18:56 ---> Running in 30ff00e312f5 20:18:56 Removing intermediate container 30ff00e312f5 20:18:56 ---> fa73f318bc77 20:18:56 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:18:56 ---> Running in 543dd82b09ec 20:18:56 Removing intermediate container 543dd82b09ec 20:18:56 ---> 76024b23670e 20:18:56 Step 24/26 : LABEL arch=amd64 20:18:56 ---> Running in c0ee38a21181 20:18:56 Removing intermediate container c0ee38a21181 20:18:56 ---> 3228c2003cc8 20:18:56 Step 25/26 : LABEL git_sha=da1134828c023e95017b86027f0a687f644d0f30 20:18:56 ---> Running in 80f2bdc8515a 20:18:57 Removing intermediate container 80f2bdc8515a 20:18:57 ---> 4bde2f974674 20:18:57 Step 26/26 : LABEL version=0.0.0 20:18:57 ---> Running in ba0fcfcd4b1c 20:18:57 Removing intermediate container ba0fcfcd4b1c 20:18:57 ---> f81d573d597f 20:18:57 [Warning] One or more build-args [ARCH] were not consumed 20:18:57 Successfully built f81d573d597f 20:18:57 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:18:58 20:18:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:18:58 latest: Pulling from edgex-lftools-log-publisher 20:18:58 5eb5b503b376: Pulling fs layer 20:18:58 5c69ac0246d0: Pulling fs layer 20:18:58 ec43610c2a17: Pulling fs layer 20:18:58 3a2ae6a8a46f: Pulling fs layer 20:18:58 33b1e0a273af: Pulling fs layer 20:18:58 5d3b04190fa2: Pulling fs layer 20:18:58 2f39f015ded8: Pulling fs layer 20:18:58 3a2ae6a8a46f: Waiting 20:18:58 33b1e0a273af: Waiting 20:18:58 5d3b04190fa2: Waiting 20:18:58 2f39f015ded8: Waiting 20:18:58 5c69ac0246d0: Verifying Checksum 20:18:58 5c69ac0246d0: Download complete 20:18:58 3a2ae6a8a46f: Verifying Checksum 20:18:58 3a2ae6a8a46f: Download complete 20:18:58 33b1e0a273af: Verifying Checksum 20:18:58 33b1e0a273af: Download complete 20:18:58 5d3b04190fa2: Verifying Checksum 20:18:58 5d3b04190fa2: Download complete 20:18:58 ec43610c2a17: Verifying Checksum 20:18:58 ec43610c2a17: Download complete 20:18:58 5eb5b503b376: Verifying Checksum 20:18:58 5eb5b503b376: Download complete 20:18:59 2f39f015ded8: Verifying Checksum 20:18:59 2f39f015ded8: Download complete 20:19:00 5eb5b503b376: Pull complete 20:19:00 5c69ac0246d0: Pull complete 20:19:00 ec43610c2a17: Pull complete 20:19:00 3a2ae6a8a46f: Pull complete 20:19:01 33b1e0a273af: Pull complete 20:19:01 5d3b04190fa2: Pull complete 20:19:03 0c6a40ed1a82: Pull complete 20:19:04 94ae7d8d031c: Pull complete 20:19:04 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:19:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:19:04 ---> 86de565de09d 20:19:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:19:05 2f39f015ded8: Pull complete 20:19:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:19:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:19:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:19:05 prd-ubuntu20.04-docker-8c-8g-2503 does not seem to be running inside a container 20:19:05 $ 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-388 -v /w/workspace/gexfoundry_device-rest-go_PR-388:/w/workspace/gexfoundry_device-rest-go_PR-388:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-388@tmp:/w/workspace/gexfoundry_device-rest-go_PR-388@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:19:06 ---> Running in cd0a4f86d06e 20:19:07 Removing intermediate container cd0a4f86d06e 20:19:07 ---> 0514b4a8f06e 20:19:07 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:19:07 ---> Running in 2614a28b4ecf 20:19:07 Removing intermediate container 2614a28b4ecf 20:19:07 ---> ebea32b23e71 20:19:07 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:19:07 ---> Running in 2377e177f465 20:19:07 Removing intermediate container 2377e177f465 20:19:07 ---> d14243e48542 20:19:07 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:19:07 ---> Running in 6bd6e1641946 20:19:07 Removing intermediate container 6bd6e1641946 20:19:07 ---> df3fc176cdcc 20:19:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:19:08 ---> Running in 994cb2832b58 20:19:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:19:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:19:09 $ docker top 0c16caa50aab560291445ee2aea2ea85277b1da13d997dd9e9248a4e81fdf661 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:19:10 (1/4) Installing openssh-keygen (9.3_p2-r1) 20:19:10 (2/4) Installing libedit (20221030.3.1-r1) 20:19:10 (3/4) Installing openssh-client-common (9.3_p2-r1) 20:19:10 (4/4) Installing openssh-client-default (9.3_p2-r1) 20:19:10 Executing busybox-1.36.1-r5.trigger 20:19:10 ---> job-cost.sh 20:19:10 lf-activate-venv: SKIPPING 20:19:10 INFO: No Stack... 20:19:10 OK: 271 MiB in 56 packages 20:19:10 INFO: Retrieving Pricing Info for: v3-standard-8 20:19:10 INFO: Archiving Costs [Pipeline] sh 20:19:11 + cat /w/workspace/gexfoundry_device-rest-go_PR-388/archives/cost.csv 20:19:11 + cut -d, -f6 [Pipeline] lock 20:19:11 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-388-1-stack-cost] 20:19:11 Resource [jenkins-edgexfoundry-device-rest-go-PR-388-1-stack-cost] did not exist. Created. 20:19:11 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-388-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:19:11 Removing intermediate container 994cb2832b58 20:19:11 ---> a6fa1f281311 20:19:11 Step 8/12 : WORKDIR /device-rest-go 20:19:11 ---> Running in 422529aa9b42 20:19:11 + echo total: 0.2199999988079071 [Pipeline] stash 20:19:11 Stashed 1 file(s) [Pipeline] } 20:19:11 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-388-1-stack-cost] [Pipeline] // lock 20:19:11 Removing intermediate container 422529aa9b42 20:19:11 ---> 042796e4e870 20:19:11 Step 9/12 : COPY go.mod vendor* ./ [Pipeline] } 20:19:11 $ docker stop --time=1 0c16caa50aab560291445ee2aea2ea85277b1da13d997dd9e9248a4e81fdf661 20:19:12 ---> a708369dd52b 20:19:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:19:12 ---> Running in 9e3aae341e3a 20:19:13 $ docker rm -f --volumes 0c16caa50aab560291445ee2aea2ea85277b1da13d997dd9e9248a4e81fdf661 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:21:04 Removing intermediate container 9e3aae341e3a 20:21:04 ---> 2c7176a0668c 20:21:04 Step 11/12 : COPY . . 20:21:04 ---> 6f83da79e317 20:21:04 Step 12/12 : RUN $MAKE 20:21:04 ---> Running in 82ecab3df486 20:21:05 noop 20:21:05 Removing intermediate container 82ecab3df486 20:21:05 ---> 31f6d4a84948 20:21:05 Successfully built 31f6d4a84948 20:21:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21:06 + docker inspect -f . ci-base-image-arm64 20:21:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:21:06 prd-ubuntu20.04-docker-arm64-4c-16g-2504 does not seem to be running inside a container 20:21:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:21:08 $ docker top c93a625b6c7c3a2dd7d0734e3b2d8bf81dbe7bd2c63353c4094823863ca8e754 -eo pid,comm [Pipeline] { [Pipeline] sh 20:21:08 + go version 20:21:08 go version go1.21.0 linux/arm64 [Pipeline] } 20:21:09 $ docker stop --time=1 c93a625b6c7c3a2dd7d0734e3b2d8bf81dbe7bd2c63353c4094823863ca8e754 20:21:10 $ docker rm -f --volumes c93a625b6c7c3a2dd7d0734e3b2d8bf81dbe7bd2c63353c4094823863ca8e754 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21:11 + docker inspect -f . ci-base-image-arm64 20:21:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:21:11 prd-ubuntu20.04-docker-arm64-4c-16g-2504 does not seem to be running inside a container 20:21:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:21:13 $ docker top 369ce64f6b5c15b4bb8e95c38f6a4de8d5acfa5c049b2eebacf6e01133317311 -eo pid,comm [Pipeline] { [Pipeline] sh 20:21:14 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:21:14 + make test 20:21:14 go test ./... -coverprofile=coverage.out ./... 20:21:19 ? github.com/edgexfoundry/device-rest-go [no test files] 20:23:41 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:23:41 ok github.com/edgexfoundry/device-rest-go/driver 0.045s coverage: 33.2% of statements 20:23:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:23:41 go vet ./... 20:24:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:24:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:24:13 ./bin/test-attribution-txt.sh 20:24:14 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 20:24:14 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 20:24:14 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 20:24:14 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 20:24:14 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 20:24:14 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 20:24:14 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 20:24:14 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 20:24:14 An attribution for golang.org/x/term is missing from Attribution.txt, please add 20:24:14 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 20:24:14 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 20:24:14 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 20:24:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:24:14 $ docker stop --time=1 369ce64f6b5c15b4bb8e95c38f6a4de8d5acfa5c049b2eebacf6e01133317311 20:24:16 $ docker rm -f --volumes 369ce64f6b5c15b4bb8e95c38f6a4de8d5acfa5c049b2eebacf6e01133317311 [Pipeline] // withDockerContainer [Pipeline] sh 20:24:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:24:18 Warning: overwriting stash ‘coverage-report’ 20:24:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:24:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:24:19 + ls -al . 20:24:19 total 244 20:24:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 20:21 . 20:24:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 20:18 .. 20:24:19 -rw-rw-r-- 1 jenkins jenkins 151 Apr 15 20:18 .dockerignore 20:24:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 20:18 .git 20:24:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 20:18 .github 20:24:19 -rw-rw-r-- 1 jenkins jenkins 264 Apr 15 20:18 .gitignore 20:24:19 -rw-rw-r-- 1 jenkins jenkins 41 Apr 15 20:18 .golangci.yml 20:24:19 -rw-rw-r-- 1 jenkins jenkins 10300 Apr 15 20:18 Attribution.txt 20:24:19 -rw-rw-r-- 1 jenkins jenkins 17685 Apr 15 20:18 CHANGELOG.md 20:24:19 -rw-rw-r-- 1 jenkins jenkins 1687 Apr 15 20:18 Dockerfile 20:24:19 -rw-rw-r-- 1 jenkins jenkins 677 Apr 15 20:18 GOVERNANCE.md 20:24:19 -rw-rw-r-- 1 jenkins jenkins 680 Apr 15 20:18 Jenkinsfile 20:24:19 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 15 20:18 LICENSE 20:24:19 -rw-rw-r-- 1 jenkins jenkins 2016 Apr 15 20:18 Makefile 20:24:19 -rw-rw-r-- 1 jenkins jenkins 620 Apr 15 20:18 OWNERS.md 20:24:19 -rw-rw-r-- 1 jenkins jenkins 3989 Apr 15 20:18 README.md 20:24:19 -rw-rw-r-- 1 jenkins jenkins 5 Apr 15 20:16 VERSION 20:24:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 20:18 bin 20:24:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 20:18 cmd 20:24:19 -rw-r--r-- 1 jenkins jenkins 14499 Apr 15 20:23 coverage.out 20:24:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 20:18 driver 20:24:19 -rw-rw-r-- 1 jenkins jenkins 7238 Apr 15 20:18 go.mod 20:24:19 -rw-rw-r-- 1 jenkins jenkins 101841 Apr 15 20:18 go.sum 20:24:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 20:18 openapi 20:24:19 -rw-rw-r-- 1 jenkins jenkins 713 Apr 15 20:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:24:19 + 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=da1134828c023e95017b86027f0a687f644d0f30 --label arch=arm64 --label version=0.0.0 . 20:24:19 Sending build context to Docker daemon 146.4kB 20:24:20 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:24:20 Step 2/26 : FROM ${BASE} AS builder 20:24:20 ---> 31f6d4a84948 20:24:20 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:24:20 ---> Running in c68ea37aa8c1 20:24:20 Removing intermediate container c68ea37aa8c1 20:24:20 ---> 89e8c5430096 20:24:20 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:24:20 ---> Running in df808aa958bf 20:24:21 Removing intermediate container df808aa958bf 20:24:21 ---> 27c3708ff2f2 20:24:21 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:24:21 ---> Running in 3f02f507f06c 20:24:21 Removing intermediate container 3f02f507f06c 20:24:21 ---> c33cbf587a85 20:24:21 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:24:21 ---> Running in 13c20eccf6c0 20:24:21 Removing intermediate container 13c20eccf6c0 20:24:21 ---> a94fad70ee39 20:24:21 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:24:21 ---> Running in 5b6e27f79157 20:24:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:24:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:24:24 OK: 271 MiB in 56 packages 20:24:25 Removing intermediate container 5b6e27f79157 20:24:25 ---> 101eea51adaf 20:24:25 Step 8/26 : WORKDIR /device-rest-go 20:24:25 ---> Running in c579fd6b03ab 20:24:25 Removing intermediate container c579fd6b03ab 20:24:25 ---> 50098b782d0c 20:24:25 Step 9/26 : COPY go.mod vendor* ./ 20:24:25 ---> dc8de19f6561 20:24:25 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:24:25 ---> Running in b00ec44e5c1c 20:24:28 Removing intermediate container b00ec44e5c1c 20:24:28 ---> 106baec25cae 20:24:28 Step 11/26 : COPY . . 20:24:28 ---> b824094870de 20:24:28 Step 12/26 : RUN $MAKE 20:24:28 ---> Running in df8487c3746f 20:24:29 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:27:06 Removing intermediate container df8487c3746f 20:27:06 ---> a3e258448b7b 20:27:06 Step 13/26 : FROM alpine:3.18 20:27:06 3.18: Pulling from library/alpine 20:27:06 c6b39de5b339: Pulling fs layer 20:27:06 c6b39de5b339: Verifying Checksum 20:27:06 c6b39de5b339: Download complete 20:27:06 c6b39de5b339: Pull complete 20:27:06 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 20:27:06 Status: Downloaded newer image for alpine:3.18 20:27:06 ---> 33abbf032149 20:27:06 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:27:06 ---> Running in 28f61be77225 20:27:06 Removing intermediate container 28f61be77225 20:27:06 ---> 0ecdb1032938 20:27:06 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:27:06 ---> Running in ad6880b416ff 20:27:06 Removing intermediate container ad6880b416ff 20:27:06 ---> 231a393b24d9 20:27:06 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:27:06 ---> Running in b2c9a9407a2e 20:27:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:27:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:27:06 (1/1) Installing dumb-init (1.2.5-r2) 20:27:06 Executing busybox-1.36.1-r5.trigger 20:27:06 OK: 8 MiB in 16 packages 20:27:06 Removing intermediate container b2c9a9407a2e 20:27:06 ---> 321afc701148 20:27:06 Step 17/26 : RUN apk --no-cache upgrade 20:27:06 ---> Running in f9686cecdc65 20:27:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:27:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:27:06 Upgrading critical system libraries and apk-tools: 20:27:06 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.3-r1) 20:27:06 Executing busybox-1.36.1-r5.trigger 20:27:06 Continuing the upgrade transaction with new apk-tools: 20:27:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:27:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:27:06 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 20:27:06 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 20:27:06 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 20:27:06 OK: 8 MiB in 16 packages 20:27:06 Removing intermediate container f9686cecdc65 20:27:06 ---> 0d22b6611342 20:27:06 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:27:06 ---> 3090391a54dc 20:27:06 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:27:06 ---> 8c4beb20457c 20:27:06 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:27:07 ---> 56226637a778 20:27:07 Step 21/26 : EXPOSE 59986 20:27:07 ---> Running in b38d94d402c1 20:27:07 Removing intermediate container b38d94d402c1 20:27:07 ---> 8918397f8fc6 20:27:07 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:27:07 ---> Running in 18d9e997ec7b 20:27:08 Removing intermediate container 18d9e997ec7b 20:27:08 ---> 552a4dd092f9 20:27:08 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:27:08 ---> Running in 4350549a67bd 20:27:08 Removing intermediate container 4350549a67bd 20:27:08 ---> 1715e06f3187 20:27:08 Step 24/26 : LABEL arch=arm64 20:27:08 ---> Running in b79760bc5116 20:27:08 Removing intermediate container b79760bc5116 20:27:08 ---> 986f4e25388c 20:27:08 Step 25/26 : LABEL git_sha=da1134828c023e95017b86027f0a687f644d0f30 20:27:08 ---> Running in b2ec2dc21b6b 20:27:09 Removing intermediate container b2ec2dc21b6b 20:27:09 ---> a3e2691ae781 20:27:09 Step 26/26 : LABEL version=0.0.0 20:27:09 ---> Running in 397199356e9e 20:27:09 Removing intermediate container 397199356e9e 20:27:09 ---> ba26e93faf67 20:27:09 [Warning] One or more build-args [ARCH] were not consumed 20:27:09 Successfully built ba26e93faf67 20:27:09 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:27:10 20:27:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:27:10 arm64: Pulling from edgex-lftools-log-publisher 20:27:10 8998bd30e6a1: Pulling fs layer 20:27:10 04944245beec: Pulling fs layer 20:27:10 699f458cf7ca: Pulling fs layer 20:27:10 765212b225bb: Pulling fs layer 20:27:10 f23df028b6ca: Pulling fs layer 20:27:10 d65c8cfc05b1: Pulling fs layer 20:27:10 2437ff75d9bd: Pulling fs layer 20:27:10 765212b225bb: Waiting 20:27:10 f23df028b6ca: Waiting 20:27:10 d65c8cfc05b1: Waiting 20:27:10 2437ff75d9bd: Waiting 20:27:11 04944245beec: Verifying Checksum 20:27:11 04944245beec: Download complete 20:27:11 765212b225bb: Download complete 20:27:11 f23df028b6ca: Download complete 20:27:11 d65c8cfc05b1: Verifying Checksum 20:27:11 d65c8cfc05b1: Download complete 20:27:11 699f458cf7ca: Verifying Checksum 20:27:11 699f458cf7ca: Download complete 20:27:11 8998bd30e6a1: Verifying Checksum 20:27:11 8998bd30e6a1: Download complete 20:27:14 2437ff75d9bd: Verifying Checksum 20:27:14 2437ff75d9bd: Download complete 20:27:16 8998bd30e6a1: Pull complete 20:27:16 04944245beec: Pull complete 20:27:18 699f458cf7ca: Pull complete 20:27:18 765212b225bb: Pull complete 20:27:19 f23df028b6ca: Pull complete 20:27:19 d65c8cfc05b1: Pull complete 20:27:37 2437ff75d9bd: Pull complete 20:27:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:27:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:27:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:27:38 prd-ubuntu20.04-docker-arm64-4c-16g-2504 does not seem to be running inside a container 20:27:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:27:40 $ docker top 7f4dff0fc64a55fce5aab52ece0311d8f13f74f2e392a8c5a4a09fc068d0578c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:27:41 ---> job-cost.sh 20:27:41 lf-activate-venv: SKIPPING 20:27:41 INFO: No Stack... 20:27:42 INFO: Retrieving Pricing Info for: v3-standard-4 20:27:43 INFO: Archiving Costs [Pipeline] sh 20:27:43 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:27:43 + cut -d, -f6 [Pipeline] lock 20:27:43 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-388-1-stack-cost] 20:27:43 Resource [jenkins-edgexfoundry-device-rest-go-PR-388-1-stack-cost] did not exist. Created. 20:27:43 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-388-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:27:44 /w/workspace/device-rest-go/1@tmp/durable-3d61fa26/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:27:44 + echo total: 0.10999999940395355 [Pipeline] stash 20:27:44 Warning: overwriting stash ‘stack-cost’ 20:27:44 Stashed 1 file(s) [Pipeline] } 20:27:44 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-388-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:27:45 $ docker stop --time=1 7f4dff0fc64a55fce5aab52ece0311d8f13f74f2e392a8c5a4a09fc068d0578c 20:27:46 $ docker rm -f --volumes 7f4dff0fc64a55fce5aab52ece0311d8f13f74f2e392a8c5a4a09fc068d0578c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:27:47 provisioning config files... 20:27:47 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-388@tmp/config883184479120235696tmp [Pipeline] { [Pipeline] sh 20:27:47 + set +x 20:27:47 + bash -s -- 20:27:47 + curl -s https://codecov.io/bash 20:27:47 20:27:47 _____ _ 20:27:47 / ____| | | 20:27:47 | | ___ __| | ___ ___ _____ __ 20:27:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:27:47 | |___| (_) | (_| | __/ (_| (_) \ V / 20:27:47 \_____\___/ \__,_|\___|\___\___/ \_/ 20:27:47 Bash-1.0.6 20:27:47 20:27:47 20:27:47 ==> git version 2.25.1 found 20:27:47 ==> 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:27:47 Release-Date: 2020-01-08 20:27:47 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:27:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:27:47 ==> Jenkins CI detected. 20:27:47 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-388 20:27:47 project root: . 20:27:47 --> token set from env 20:27:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:27:47 ==> Running gcov in . (disable via -X gcov) 20:27:47 ==> Python coveragepy not found 20:27:47 ==> Searching for coverage reports in: 20:27:47 + . 20:27:48 -> Found 1 reports 20:27:48 ==> Detecting git/mercurial file structure 20:27:48 ==> Reading reports 20:27:48 + ./coverage.out bytes=14499 20:27:48 ==> Appending adjustments 20:27:48 https://docs.codecov.io/docs/fixing-reports 20:27:48 + Found adjustments 20:27:48 ==> Gzipping contents 20:27:48 4.0K /tmp/codecov.yi8nPQ.gz 20:27:48 ==> Uploading reports 20:27:48 url: https://codecov.io 20:27:48 query: branch=PR-388&commit=da1134828c023e95017b86027f0a687f644d0f30&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-388%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=388&job=&cmd_args= 20:27:48 -> Pinging Codecov 20:27:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-388&commit=da1134828c023e95017b86027f0a687f644d0f30&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-388%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=388&job=&cmd_args= 20:27:48 -> Uploading to 20:27:48 https://storage.googleapis.com/codecov/v4/raw/2024-04-15/4E5D53B4F1F92C436F7061BF334D961C/da1134828c023e95017b86027f0a687f644d0f30/3af3d0b0-592a-4633-85d0-af59011e20df.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240415%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240415T202748Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=86f44c769e5b673dcba52d69ce89ec49d898e8009c064ba2f834b273188ee2ff 20:27:48 % Total % Received % Xferd Average Speed Time Time Time Current 20:27:48 Dload Upload Total Spent Left Speed 20:27:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11377 --:--:-- --:--:-- --:--:-- 11321 100 2321 0 0 100 2321 0 8115 --:--:-- --:--:-- --:--:-- 8115 20:27:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/da1134828c023e95017b86027f0a687f644d0f30 [Pipeline] } 20:27:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:27:50 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-388/archives ] 20:27:50 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-388/archives 20:27:50 total 16 20:27:50 drwxr-xr-x 3 root root 4096 Apr 15 20:19 . 20:27:50 drwxrwxr-x 10 jenkins jenkins 4096 Apr 15 20:19 .. 20:27:50 drwxr-xr-x 2 root root 4096 Apr 15 20:19 cost 20:27:50 -rw-r--r-- 1 root root 86 Apr 15 20:19 cost.csv 20:27:50 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-388/archives 20:27:50 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-388/archives 20:27:50 total 16 20:27:50 drwxr-xr-x 3 jenkins jenkins 4096 Apr 15 20:19 . 20:27:50 drwxrwxr-x 10 jenkins jenkins 4096 Apr 15 20:19 .. 20:27:50 drwxr-xr-x 2 jenkins jenkins 4096 Apr 15 20:19 cost 20:27:50 -rw-r--r-- 1 jenkins jenkins 86 Apr 15 20:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:27:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:27:52 ---> package-listing.sh 20:27:52 ++ facter osfamily 20:27:52 ++ tr '[:upper:]' '[:lower:]' 20:27:52 + OS_FAMILY=debian 20:27:52 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-388 20:27:52 + START_PACKAGES=/tmp/packages_start.txt 20:27:52 + END_PACKAGES=/tmp/packages_end.txt 20:27:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:27:52 + PACKAGES=/tmp/packages_start.txt 20:27:52 + '[' /w/workspace/gexfoundry_device-rest-go_PR-388 ']' 20:27:52 + PACKAGES=/tmp/packages_end.txt 20:27:52 + case "${OS_FAMILY}" in 20:27:52 + dpkg -l 20:27:52 + grep '^ii' 20:27:52 + '[' -f /tmp/packages_start.txt ']' 20:27:52 + '[' -f /tmp/packages_end.txt ']' 20:27:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:27:52 + '[' /w/workspace/gexfoundry_device-rest-go_PR-388 ']' 20:27:52 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-388/archives/ 20:27:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-388/archives/ [Pipeline] echo 20:27:52 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-388/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:27:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:27:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:27:53 prd-ubuntu20.04-docker-8c-8g-2503 does not seem to be running inside a container 20:27:53 $ 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-388/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-388 -v /w/workspace/gexfoundry_device-rest-go_PR-388:/w/workspace/gexfoundry_device-rest-go_PR-388:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-388@tmp:/w/workspace/gexfoundry_device-rest-go_PR-388@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:27:54 $ docker top 851b9b033fd42033937f40cdf21d9e29c02645e739f832bb0049ea4b0c28c9be -eo pid,comm [Pipeline] { [Pipeline] sh 20:27:55 + touch /tmp/pre-build-complete [Pipeline] sh 20:27:55 + mkdir -p /var/log/sysstat [Pipeline] sh 20:27:55 + ls /var/log/sa-host 20:27:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:27:56 provisioning config files... 20:27:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-388@tmp/config886219065279321591tmp [Pipeline] { [Pipeline] echo 20:27:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:27:56 ---> create-netrc.sh [Pipeline] } 20:27:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:27:56 ---> python-tools-install.sh [Pipeline] echo 20:27:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:27:57 ---> sudo-logs.sh 20:27:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:27:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:27:57 ---> job-cost.sh 20:27:57 lf-activate-venv: SKIPPING 20:27:57 DEBUG: total: 0.2199999988079071 20:27:57 INFO: Retrieving Stack Cost... 20:27:58 INFO: Retrieving Pricing Info for: v3-standard-8 20:27:58 INFO: Archiving Costs [Pipeline] echo 20:27:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:27:58 ---> logs-deploy.sh 20:27:58 lf-activate-venv: SKIPPING 20:27:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-388/1 20:27:58 INFO: archiving workspace using pattern(s): 20:27:59 Archives upload complete. 20:27:59 INFO: archiving logs to Nexus