Pull request #325 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c9820f08da888540b5b60248d7b6306d0c495dec+55c123e92a81b52ef904480be8a3eb69bc416b29 (662f797207277693516fb3d478775b5dbabbde86) 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-ssh13721240038392276325.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh10043479307382821880.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-325/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-325/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10015172260910245342.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-325/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12351777057063430491.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh12625799951567743369.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-325/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-325/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14170636423513376915.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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.20 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 ‘prd-ubuntu20.04-docker-8c-8g-16818’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16828’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-16822’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16826’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16829 in /w/workspace/gexfoundry_device-rest-go_PR-325 [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-325 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 55c123e92a81b52ef904480be8a3eb69bc416b29 into PR head commit c9820f08da888540b5b60248d7b6306d0c495dec Merge succeeded, producing c9820f08da888540b5b60248d7b6306d0c495dec Checking out Revision c9820f08da888540b5b60248d7b6306d0c495dec (PR-325) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd > 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/325/head:refs/remotes/origin/PR-325 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9820f08da888540b5b60248d7b6306d0c495dec # 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 55c123e92a81b52ef904480be8a3eb69bc416b29 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9820f08da888540b5b60248d7b6306d0c495dec # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:53:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:53:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:53:57 ========================================================= 23:53:57 EdgeX Global Pipelines Version Info 23:53:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:53:58 ------------------- 23:53:58 stable info: 23:53:58 ------------------- 23:53:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:53:58 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:53:58 Message: update stable to v1.0.249 23:53:58 ------------------- 23:53:58 experimental info: 23:53:58 ------------------- 23:53:58 Commited By: **** collab-it+edgex@linuxfoundation.org 23:53:58 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:53:58 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:53:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 23:53:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 23:53:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:53:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-325 [Pipeline] echo 23:53:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-325 [Pipeline] echo 23:54:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-325 [Pipeline] echo 23:54:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9820f08da888540b5b60248d7b6306d0c495dec [Pipeline] echo 23:54:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c9820f0 [Pipeline] echo 23:54:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:54:00 provisioning config files... 23:54:00 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-325@tmp/config18334816333197914179tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:54:00 ---> docker-login.sh 23:54:00 nexus3.edgexfoundry.org:10001 23:54:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:00 Configure a credential helper to remove this warning. See 23:54:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:00 23:54:00 Login Succeeded 23:54:00 nexus3.edgexfoundry.org:10002 23:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:01 Configure a credential helper to remove this warning. See 23:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:01 23:54:01 Login Succeeded 23:54:01 nexus3.edgexfoundry.org:10003 23:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:01 Configure a credential helper to remove this warning. See 23:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:01 23:54:01 Login Succeeded 23:54:01 nexus3.edgexfoundry.org:10004 23:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:01 Configure a credential helper to remove this warning. See 23:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:01 23:54:01 Login Succeeded 23:54:01 docker.io 23:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:01 Configure a credential helper to remove this warning. See 23:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:01 23:54:01 Login Succeeded 23:54:01 ---> docker-login.sh ends [Pipeline] } 23:54:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:54:02 + git rev-list -1 --merges c9820f08da888540b5b60248d7b6306d0c495dec~1..c9820f08da888540b5b60248d7b6306d0c495dec [Pipeline] echo 23:54:02 -----------> git rev-list -1 --merges c9820f08da888540b5b60248d7b6306d0c495dec~1..c9820f08da888540b5b60248d7b6306d0c495dec c9820f08da888540b5b60248d7b6306d0c495dec [false] [Pipeline] sh 23:54:02 + git log --format=format:%s -1 c9820f08da888540b5b60248d7b6306d0c495dec [Pipeline] echo 23:54:02 ========================================================= 23:54:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:54:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:54:03 + git log --format=format:%s -1 c9820f08da888540b5b60248d7b6306d0c495dec [Pipeline] echo 23:54:03 [semverPrep] GIT_COMMIT: c9820f08da888540b5b60248d7b6306d0c495dec, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 23:54:03 [semverPrep] This is not a build commit. [Pipeline] sh 23:54:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:54:03 + grep -v github /etc/ssh/ssh_known_hosts 23:54:03 + [ -e /tmp/ssh_known_hosts ] 23:54:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:54:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:54:03 + sudo tee -a /etc/ssh/ssh_known_hosts 23:54:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:54:03 23:54:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:54:04 0.1.4: Pulling from edgex-devops/py-git-semver 23:54:04 b85a868b505f: Pulling fs layer 23:54:04 e2be974225ed: Pulling fs layer 23:54:04 339a4e72a1f5: Pulling fs layer 23:54:04 988bab9f4d93: Pulling fs layer 23:54:04 1469e6f7b9e6: Pulling fs layer 23:54:04 eaf3925da568: Pulling fs layer 23:54:04 bab4dde63d76: Pulling fs layer 23:54:04 bde34c3a00c8: Pulling fs layer 23:54:04 b352a97aabf1: Pulling fs layer 23:54:04 4872d77fe225: Pulling fs layer 23:54:04 5851b861e8e6: Pulling fs layer 23:54:04 1469e6f7b9e6: Waiting 23:54:04 bde34c3a00c8: Waiting 23:54:04 eaf3925da568: Waiting 23:54:04 bab4dde63d76: Waiting 23:54:04 b352a97aabf1: Waiting 23:54:04 4872d77fe225: Waiting 23:54:04 5851b861e8e6: Waiting 23:54:04 e2be974225ed: Verifying Checksum 23:54:04 e2be974225ed: Download complete 23:54:04 988bab9f4d93: Verifying Checksum 23:54:04 988bab9f4d93: Download complete 23:54:04 339a4e72a1f5: Verifying Checksum 23:54:04 339a4e72a1f5: Download complete 23:54:04 1469e6f7b9e6: Verifying Checksum 23:54:04 eaf3925da568: Verifying Checksum 23:54:04 eaf3925da568: Download complete 23:54:04 bde34c3a00c8: Download complete 23:54:04 b352a97aabf1: Download complete 23:54:04 4872d77fe225: Verifying Checksum 23:54:04 4872d77fe225: Download complete 23:54:04 5851b861e8e6: Verifying Checksum 23:54:04 5851b861e8e6: Download complete 23:54:04 b85a868b505f: Verifying Checksum 23:54:04 b85a868b505f: Download complete 23:54:04 bab4dde63d76: Verifying Checksum 23:54:04 bab4dde63d76: Download complete 23:54:06 b85a868b505f: Pull complete 23:54:06 e2be974225ed: Pull complete 23:54:06 339a4e72a1f5: Pull complete 23:54:06 988bab9f4d93: Pull complete 23:54:06 1469e6f7b9e6: Pull complete 23:54:06 eaf3925da568: Pull complete 23:54:08 bab4dde63d76: Pull complete 23:54:08 bde34c3a00c8: Pull complete 23:54:08 b352a97aabf1: Pull complete 23:54:08 4872d77fe225: Pull complete 23:54:08 5851b861e8e6: Pull complete 23:54:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:54:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:54:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:09 prd-ubuntu20.04-docker-8c-8g-16829 does not seem to be running inside a container 23:54:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-325 -v /w/workspace/gexfoundry_device-rest-go_PR-325:/w/workspace/gexfoundry_device-rest-go_PR-325:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-325@tmp:/w/workspace/gexfoundry_device-rest-go_PR-325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:54:13 $ docker top 7055b67b1390994c236b9c5a8e9998fb2b44cb34eadf2598ae5cdd6d16ec9f35 -eo pid,comm 23:54:13 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). 23:54:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:54:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:54:14 [ssh-agent] Looking for ssh-agent implementation... 23:54:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:54:14 $ docker exec 7055b67b1390994c236b9c5a8e9998fb2b44cb34eadf2598ae5cdd6d16ec9f35 ssh-agent 23:54:14 SSH_AUTH_SOCK=/tmp/ssh-5z3lIWHXjQCw/agent.33 23:54:14 SSH_AGENT_PID=39 23:54:14 Running ssh-add (command line suppressed) 23:54:14 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-325@tmp/private_key_10116188383656133764.key (/w/workspace/gexfoundry_device-rest-go_PR-325@tmp/private_key_10116188383656133764.key) 23:54:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:54:14 + git tag --points-at HEAD [Pipeline] } 23:54:14 $ docker exec --env ******** --env ******** 7055b67b1390994c236b9c5a8e9998fb2b44cb34eadf2598ae5cdd6d16ec9f35 ssh-agent -k 23:54:14 unset SSH_AUTH_SOCK; 23:54:14 unset SSH_AGENT_PID; 23:54:14 echo Agent pid 39 killed; 23:54:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:54:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:54:15 [ssh-agent] Looking for ssh-agent implementation... 23:54:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:54:15 $ docker exec 7055b67b1390994c236b9c5a8e9998fb2b44cb34eadf2598ae5cdd6d16ec9f35 ssh-agent 23:54:15 SSH_AUTH_SOCK=/tmp/ssh-itv7y3MPjxzx/agent.72 23:54:15 SSH_AGENT_PID=79 23:54:15 Running ssh-add (command line suppressed) 23:54:15 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-325@tmp/private_key_4128922416604248444.key (/w/workspace/gexfoundry_device-rest-go_PR-325@tmp/private_key_4128922416604248444.key) 23:54:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:54:15 + git semver init 23:54:15 2023-05-24 23:54:15,853 [run_init] DEBUG init version:0.0.0 force:False 23:54:15 2023-05-24 23:54:15,853 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-325/.semver 23:54:15 2023-05-24 23:54:15,854 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-325/.semver 23:54:15 2023-05-24 23:54:15,854 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-325/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-325, universal_newlines=False, shell=None, istream=None) 23:54:16 2023-05-24 23:54:16,878 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-325/.git/info/exclude 23:54:16 2023-05-24 23:54:16,879 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-325/.semver/PR-325 with force:False 23:54:16 2023-05-24 23:54:16,879 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-325/.semver/PR-325 23:54:17 2023-05-24 23:54:16,883 [execute] INFO git cat-file --batch-check 23:54:17 2023-05-24 23:54:16,884 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-325/.semver, universal_newlines=False, shell=None, istream=) 23:54:17 2023-05-24 23:54:16,891 [execute] INFO git cat-file --batch 23:54:17 2023-05-24 23:54:16,891 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-325/.semver, universal_newlines=False, shell=None, istream=) 23:54:17 2023-05-24 23:54:16,896 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-325/.semver/PR-325 23:54:17 0.0.0 [Pipeline] } 23:54:17 $ docker exec --env ******** --env ******** 7055b67b1390994c236b9c5a8e9998fb2b44cb34eadf2598ae5cdd6d16ec9f35 ssh-agent -k 23:54:17 unset SSH_AUTH_SOCK; 23:54:17 unset SSH_AGENT_PID; 23:54:17 echo Agent pid 79 killed; 23:54:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:54:17 + git semver [Pipeline] } 23:54:17 $ docker stop --time=1 7055b67b1390994c236b9c5a8e9998fb2b44cb34eadf2598ae5cdd6d16ec9f35 23:54:19 $ docker rm -f --volumes 7055b67b1390994c236b9c5a8e9998fb2b44cb34eadf2598ae5cdd6d16ec9f35 [Pipeline] // withDockerContainer [Pipeline] sh 23:54:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:54:19 Stashed 1 file(s) [Pipeline] echo 23:54:19 [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 23:54:20 provisioning config files... 23:54:20 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-325@tmp/config15797519490921978977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:54:20 ---> docker-login.sh 23:54:20 nexus3.edgexfoundry.org:10001 23:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:20 Configure a credential helper to remove this warning. See 23:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:20 23:54:20 Login Succeeded 23:54:20 nexus3.edgexfoundry.org:10002 23:54:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:20 Configure a credential helper to remove this warning. See 23:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:20 23:54:20 Login Succeeded 23:54:20 nexus3.edgexfoundry.org:10003 23:54:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:21 Configure a credential helper to remove this warning. See 23:54:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:21 23:54:21 Login Succeeded 23:54:21 nexus3.edgexfoundry.org:10004 23:54:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:21 Configure a credential helper to remove this warning. See 23:54:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:21 23:54:21 Login Succeeded 23:54:21 docker.io 23:54:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:21 Configure a credential helper to remove this warning. See 23:54:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:21 23:54:21 Login Succeeded 23:54:21 ---> docker-login.sh ends [Pipeline] } 23:54:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:54:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:54:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:54:21 ========================================================= 23:54:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:54:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:22 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:54:22 Sending build context to Docker daemon 10.94MB 23:54:22 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:54:22 Step 2/12 : FROM ${BASE} AS builder 23:54:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:54:22 f56be85fc22e: Pulling fs layer 23:54:22 85791d961cd3: Pulling fs layer 23:54:22 d694b5ae8c79: Pulling fs layer 23:54:22 9f32a84ed3da: Pulling fs layer 23:54:22 4d19c01a9841: Pulling fs layer 23:54:22 9325e15d5711: Pulling fs layer 23:54:22 556b6ee489ea: Pulling fs layer 23:54:22 c5a4b2cf53e6: Pulling fs layer 23:54:22 9f32a84ed3da: Waiting 23:54:22 4d19c01a9841: Waiting 23:54:22 556b6ee489ea: Waiting 23:54:22 9325e15d5711: Waiting 23:54:22 c5a4b2cf53e6: Waiting 23:54:22 85791d961cd3: Download complete 23:54:22 9f32a84ed3da: Download complete 23:54:22 4d19c01a9841: Verifying Checksum 23:54:22 4d19c01a9841: Download complete 23:54:22 f56be85fc22e: Download complete 23:54:22 9325e15d5711: Verifying Checksum 23:54:22 f56be85fc22e: Pull complete 23:54:22 85791d961cd3: Pull complete 23:54:22 c5a4b2cf53e6: Verifying Checksum 23:54:22 c5a4b2cf53e6: Download complete 23:54:22 d694b5ae8c79: Verifying Checksum 23:54:22 d694b5ae8c79: Download complete 23:54:23 556b6ee489ea: Verifying Checksum 23:54:23 556b6ee489ea: Download complete 23:54:26 d694b5ae8c79: Pull complete 23:54:26 9f32a84ed3da: Pull complete 23:54:26 4d19c01a9841: Pull complete 23:54:26 9325e15d5711: Pull complete 23:54:29 556b6ee489ea: Pull complete 23:54:29 c5a4b2cf53e6: Pull complete 23:54:29 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:54:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:54:29 ---> c4be618373d6 23:54:29 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:54:35 Still waiting to schedule task 23:54:35 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:54:36 ---> Running in 22e8b6e0cbc1 23:54:36 Removing intermediate container 22e8b6e0cbc1 23:54:36 ---> c1bcb003f048 23:54:36 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:54:36 ---> Running in cf62551cb288 23:54:36 Removing intermediate container cf62551cb288 23:54:36 ---> 6b15bcac05c9 23:54:36 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:54:36 ---> Running in b4512fa031aa 23:54:36 Removing intermediate container b4512fa031aa 23:54:36 ---> af3778b25581 23:54:36 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:54:36 ---> Running in ae2427176cb2 23:54:36 Removing intermediate container ae2427176cb2 23:54:36 ---> 8eee26be4dbb 23:54:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:54:36 ---> Running in 65d7c2d910d1 23:54:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:54:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:54:36 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:54:36 (2/4) Installing libedit (20221030.3.1-r0) 23:54:36 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:54:36 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:54:36 Executing busybox-1.35.0-r29.trigger 23:54:36 OK: 269 MiB in 57 packages 23:54:36 Removing intermediate container 65d7c2d910d1 23:54:36 ---> 34c235f81d78 23:54:36 Step 8/12 : WORKDIR /device-rest-go 23:54:36 ---> Running in d5a41c54dc27 23:54:36 Removing intermediate container d5a41c54dc27 23:54:36 ---> af6a04dcdf90 23:54:36 Step 9/12 : COPY go.mod vendor* ./ 23:54:36 ---> 8da9ca96ac64 23:54:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:54:37 ---> Running in effb26e90558 23:55:09 Removing intermediate container effb26e90558 23:55:09 ---> c9b00fc67496 23:55:09 Step 11/12 : COPY . . 23:55:09 ---> ef71158f9ead 23:55:09 Step 12/12 : RUN $MAKE 23:55:09 ---> Running in f3fc9ff433f7 23:55:09 noop 23:55:09 Removing intermediate container f3fc9ff433f7 23:55:09 ---> ac8dd025792c 23:55:09 Successfully built ac8dd025792c 23:55:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:10 + docker inspect -f . ci-base-image-x86_64 23:55:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:10 prd-ubuntu20.04-docker-8c-8g-16829 does not seem to be running inside a container 23:55:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-325 -v /w/workspace/gexfoundry_device-rest-go_PR-325:/w/workspace/gexfoundry_device-rest-go_PR-325:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-325@tmp:/w/workspace/gexfoundry_device-rest-go_PR-325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:55:10 $ docker top 3d5f87424be036092be002ef05161ce552838c469b2cc103ee033a0adedc922a -eo pid,comm [Pipeline] { [Pipeline] sh 23:55:10 + go version 23:55:10 go version go1.20.2 linux/amd64 [Pipeline] } 23:55:10 $ docker stop --time=1 3d5f87424be036092be002ef05161ce552838c469b2cc103ee033a0adedc922a 23:55:12 $ docker rm -f --volumes 3d5f87424be036092be002ef05161ce552838c469b2cc103ee033a0adedc922a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:12 + docker inspect -f . ci-base-image-x86_64 23:55:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:13 prd-ubuntu20.04-docker-8c-8g-16829 does not seem to be running inside a container 23:55:13 $ 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-325 -v /w/workspace/gexfoundry_device-rest-go_PR-325:/w/workspace/gexfoundry_device-rest-go_PR-325:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-325@tmp:/w/workspace/gexfoundry_device-rest-go_PR-325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:55:13 $ docker top 30a276bb6679aa87a96173ea66954ac48827df44fedd01f19ec508f3e44312d7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:55:13 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-325 [Pipeline] fileExists [Pipeline] sh 23:55:14 + make test 23:55:14 go test ./... -coverprofile=coverage.out ./... 23:55:18 ? github.com/edgexfoundry/device-rest-go [no test files] 23:55:28 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:55:28 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 32.2% of statements 23:55:33 go vet ./... 23:55:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:55:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:55:36 ./bin/test-attribution-txt.sh [Pipeline] echo 23:55:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:55:36 $ docker stop --time=1 30a276bb6679aa87a96173ea66954ac48827df44fedd01f19ec508f3e44312d7 23:55:40 $ docker rm -f --volumes 30a276bb6679aa87a96173ea66954ac48827df44fedd01f19ec508f3e44312d7 [Pipeline] // withDockerContainer [Pipeline] sh 23:55:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:55:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:55:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:55:41 + ls -al . 23:55:41 total 184 23:55:41 drwxrwxr-x 9 jenkins jenkins 4096 May 24 23:55 . 23:55:41 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:53 .. 23:55:41 -rw-rw-r-- 1 jenkins jenkins 151 May 24 23:53 .dockerignore 23:55:41 drwxrwxr-x 8 jenkins jenkins 4096 May 24 23:54 .git 23:55:41 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:53 .github 23:55:41 -rw-rw-r-- 1 jenkins jenkins 329 May 24 23:53 .gitignore 23:55:41 -rw-rw-r-- 1 jenkins jenkins 41 May 24 23:53 .golangci.yml 23:55:41 drwxr-xr-x 3 jenkins jenkins 4096 May 24 23:54 .semver 23:55:41 -rw-rw-r-- 1 jenkins jenkins 9331 May 24 23:53 Attribution.txt 23:55:41 -rw-rw-r-- 1 jenkins jenkins 13085 May 24 23:53 CHANGELOG.md 23:55:41 -rw-rw-r-- 1 jenkins jenkins 1578 May 24 23:53 Dockerfile 23:55:41 -rw-rw-r-- 1 jenkins jenkins 677 May 24 23:53 GOVERNANCE.md 23:55:41 -rw-rw-r-- 1 jenkins jenkins 680 May 24 23:53 Jenkinsfile 23:55:41 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 23:53 LICENSE 23:55:41 -rw-rw-r-- 1 jenkins jenkins 1779 May 24 23:53 Makefile 23:55:41 -rw-rw-r-- 1 jenkins jenkins 620 May 24 23:53 OWNERS.md 23:55:41 -rw-rw-r-- 1 jenkins jenkins 15827 May 24 23:53 README.md 23:55:41 -rw-rw-r-- 1 jenkins jenkins 5 May 24 23:54 VERSION 23:55:41 drwxrwxr-x 2 jenkins jenkins 4096 May 24 23:53 bin 23:55:41 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:53 cmd 23:55:41 -rw-r--r-- 1 jenkins jenkins 14663 May 24 23:55 coverage.out 23:55:41 drwxrwxr-x 2 jenkins jenkins 4096 May 24 23:53 driver 23:55:41 -rw-rw-r-- 1 jenkins jenkins 3354 May 24 23:53 go.mod 23:55:41 -rw-rw-r-- 1 jenkins jenkins 31232 May 24 23:53 go.sum 23:55:41 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:53 snap 23:55:41 -rw-rw-r-- 1 jenkins jenkins 713 May 24 23:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:42 + 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=c9820f08da888540b5b60248d7b6306d0c495dec --label arch=amd64 --label version=0.0.0 . 23:55:42 Sending build context to Docker daemon 10.95MB 23:55:42 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 23:55:42 Step 2/25 : FROM ${BASE} AS builder 23:55:42 ---> ac8dd025792c 23:55:42 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:55:42 ---> Running in 7be57974029b 23:55:42 Removing intermediate container 7be57974029b 23:55:42 ---> 8b7ee6626ba6 23:55:42 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:55:42 ---> Running in aee48260a3c8 23:55:42 Removing intermediate container aee48260a3c8 23:55:42 ---> 1149c9ed3232 23:55:42 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:55:42 ---> Running in dbef83bd0c03 23:55:42 Removing intermediate container dbef83bd0c03 23:55:42 ---> fcd716a8ba76 23:55:42 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:55:42 ---> Running in 1f2b8f6a4e07 23:55:42 Removing intermediate container 1f2b8f6a4e07 23:55:42 ---> 90d05d77b737 23:55:42 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:55:42 ---> Running in 8694edea5a3a 23:55:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:55:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:55:43 OK: 269 MiB in 57 packages 23:55:43 Removing intermediate container 8694edea5a3a 23:55:43 ---> e36bd01c6515 23:55:43 Step 8/25 : WORKDIR /device-rest-go 23:55:43 ---> Running in 761def61cd80 23:55:43 Removing intermediate container 761def61cd80 23:55:43 ---> 50578f308f39 23:55:43 Step 9/25 : COPY go.mod vendor* ./ 23:55:43 ---> fa70eaa73b71 23:55:43 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:55:43 ---> Running in fa380a78b5de 23:55:44 Removing intermediate container fa380a78b5de 23:55:44 ---> 7906a3d573d0 23:55:44 Step 11/25 : COPY . . 23:55:45 ---> 8671af8e0d21 23:55:45 Step 12/25 : RUN $MAKE 23:55:45 ---> Running in f43c108666ec 23:55:45 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 23:56:07 Removing intermediate container f43c108666ec 23:56:07 ---> f084f890a815 23:56:07 Step 13/25 : FROM alpine:3.17 23:56:07 3.17: Pulling from library/alpine 23:56:07 f56be85fc22e: Already exists 23:56:07 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:56:07 Status: Downloaded newer image for alpine:3.17 23:56:07 ---> 9ed4aefc74f6 23:56:07 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:56:07 ---> Running in ec443c4a516c 23:56:07 Removing intermediate container ec443c4a516c 23:56:07 ---> 1e30f68df511 23:56:07 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:56:07 ---> Running in 166573b29372 23:56:07 Removing intermediate container 166573b29372 23:56:07 ---> c8fd29260aac 23:56:07 Step 16/25 : RUN apk add --update --no-cache dumb-init 23:56:07 ---> Running in 7705c6a02df3 23:56:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:56:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:56:07 (1/1) Installing dumb-init (1.2.5-r2) 23:56:07 Executing busybox-1.35.0-r29.trigger 23:56:07 OK: 7 MiB in 16 packages 23:56:07 Removing intermediate container 7705c6a02df3 23:56:07 ---> 41728773a126 23:56:07 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:56:07 ---> 3d566984ec93 23:56:07 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:56:07 ---> 94ed539e0893 23:56:07 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:56:07 ---> 65a5f13c06ca 23:56:07 Step 20/25 : EXPOSE 59986 23:56:07 ---> Running in 0cb5bc30ec6f 23:56:07 Removing intermediate container 0cb5bc30ec6f 23:56:07 ---> ddca85cc8f8b 23:56:07 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:56:07 ---> Running in 8c7de1b279e0 23:56:07 Removing intermediate container 8c7de1b279e0 23:56:07 ---> 73af3bf43257 23:56:07 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:56:07 ---> Running in d70469306b1a 23:56:07 Removing intermediate container d70469306b1a 23:56:07 ---> 2d5fb8f8e675 23:56:07 Step 23/25 : LABEL arch=amd64 23:56:07 ---> Running in 70dcd2e865b8 23:56:07 Removing intermediate container 70dcd2e865b8 23:56:07 ---> 5e25b59f7d9a 23:56:07 Step 24/25 : LABEL git_sha=c9820f08da888540b5b60248d7b6306d0c495dec 23:56:07 ---> Running in fe57dd972c57 23:56:07 Removing intermediate container fe57dd972c57 23:56:07 ---> ea818768ea3e 23:56:07 Step 25/25 : LABEL version=0.0.0 23:56:07 ---> Running in 19c164348655 23:56:07 Removing intermediate container 19c164348655 23:56:07 ---> a0da2c25e101 23:56:07 [Warning] One or more build-args [ARCH] were not consumed 23:56:07 Successfully built a0da2c25e101 23:56:07 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 23:56:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:56:08 23:56:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:56:08 latest: Pulling from edgex-lftools-log-publisher 23:56:08 5eb5b503b376: Pulling fs layer 23:56:08 5c69ac0246d0: Pulling fs layer 23:56:08 ec43610c2a17: Pulling fs layer 23:56:08 3a2ae6a8a46f: Pulling fs layer 23:56:08 33b1e0a273af: Pulling fs layer 23:56:08 5d3b04190fa2: Pulling fs layer 23:56:08 2f39f015ded8: Pulling fs layer 23:56:08 3a2ae6a8a46f: Waiting 23:56:08 33b1e0a273af: Waiting 23:56:08 5d3b04190fa2: Waiting 23:56:08 2f39f015ded8: Waiting 23:56:08 5c69ac0246d0: Download complete 23:56:08 3a2ae6a8a46f: Verifying Checksum 23:56:08 3a2ae6a8a46f: Download complete 23:56:08 33b1e0a273af: Verifying Checksum 23:56:08 33b1e0a273af: Download complete 23:56:08 ec43610c2a17: Verifying Checksum 23:56:08 ec43610c2a17: Download complete 23:56:08 5d3b04190fa2: Verifying Checksum 23:56:08 5d3b04190fa2: Download complete 23:56:08 5eb5b503b376: Verifying Checksum 23:56:08 5eb5b503b376: Download complete 23:56:09 2f39f015ded8: Verifying Checksum 23:56:09 2f39f015ded8: Download complete 23:56:10 5eb5b503b376: Pull complete 23:56:10 5c69ac0246d0: Pull complete 23:56:10 ec43610c2a17: Pull complete 23:56:10 3a2ae6a8a46f: Pull complete 23:56:10 33b1e0a273af: Pull complete 23:56:10 5d3b04190fa2: Pull complete 23:56:15 2f39f015ded8: Pull complete 23:56:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:56:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:56:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:56:15 prd-ubuntu20.04-docker-8c-8g-16829 does not seem to be running inside a container 23:56:15 $ 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-325 -v /w/workspace/gexfoundry_device-rest-go_PR-325:/w/workspace/gexfoundry_device-rest-go_PR-325:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-325@tmp:/w/workspace/gexfoundry_device-rest-go_PR-325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:56:19 $ docker top 14bd51ca5248ebbdb9d5d03906c99953f867f4a4cb9edf2122cd4a40746e9d70 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:56:20 ---> job-cost.sh 23:56:20 lf-activate-venv: SKIPPING 23:56:20 INFO: No Stack... 23:56:20 INFO: Retrieving Pricing Info for: v3-standard-8 23:56:21 INFO: Archiving Costs [Pipeline] sh 23:56:21 + cat /w/workspace/gexfoundry_device-rest-go_PR-325/archives/cost.csv 23:56:21 + cut -d, -f6 [Pipeline] lock 23:56:21 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-325-1-stack-cost] 23:56:21 Resource [jenkins-edgexfoundry-device-rest-go-PR-325-1-stack-cost] did not exist. Created. 23:56:21 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-325-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:56:22 + echo total: 0.2199999988079071 [Pipeline] stash 23:56:22 Stashed 1 file(s) [Pipeline] } 23:56:22 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-325-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:56:22 $ docker stop --time=1 14bd51ca5248ebbdb9d5d03906c99953f867f4a4cb9edf2122cd4a40746e9d70 23:56:23 $ docker rm -f --volumes 14bd51ca5248ebbdb9d5d03906c99953f867f4a4cb9edf2122cd4a40746e9d70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:57:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16833 in /w/workspace/gexfoundry_device-rest-go_PR-325 [Pipeline] { [Pipeline] ws 23:57:01 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 23:57:01 The recommended git tool is: git 23:57:09 using credential edgex-jenkins-ssh 23:57:09 Cloning the remote Git repository 23:57:09 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:57:09 > git init /w/workspace/device-rest-go/1 # timeout=10 23:57:09 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:57:09 > git --version # timeout=10 23:57:09 > git --version # 'git version 2.25.1' 23:57:09 using GIT_SSH to set credentials SSH Credentials for GitHub 23:57:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:57:11 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:57:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:57:13 Merging remotes/origin/main commit 55c123e92a81b52ef904480be8a3eb69bc416b29 into PR head commit c9820f08da888540b5b60248d7b6306d0c495dec 23:57:13 Merge succeeded, producing c9820f08da888540b5b60248d7b6306d0c495dec 23:57:13 Checking out Revision c9820f08da888540b5b60248d7b6306d0c495dec (PR-325) 23:57:12 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:57:12 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:57:12 using GIT_SSH to set credentials SSH Credentials for GitHub 23:57:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/325/head:refs/remotes/origin/PR-325 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:57:13 > git config core.sparsecheckout # timeout=10 23:57:13 > git checkout -f c9820f08da888540b5b60248d7b6306d0c495dec # timeout=10 23:57:13 > git remote # timeout=10 23:57:13 > git config --get remote.origin.url # timeout=10 23:57:13 using GIT_SSH to set credentials SSH Credentials for GitHub 23:57:13 > git merge 55c123e92a81b52ef904480be8a3eb69bc416b29 # timeout=10 23:57:13 > git rev-parse HEAD^{commit} # timeout=10 23:57:13 > git config core.sparsecheckout # timeout=10 23:57:13 > git checkout -f c9820f08da888540b5b60248d7b6306d0c495dec # timeout=10 23:57:14 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 23:57:14 > git --version # timeout=10 23:57:14 > git --version # 'git version 2.25.1' 23:57:14 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:57:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:57:15 % Total % Received % Xferd Average Speed Time Time Time Current 23:57:15 Dload Upload Total Spent Left Speed 23:57:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 170k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh 23:57:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:57:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:57:16 + sudo tee /etc/docker/daemon.new 23:57:16 { 23:57:16 "registry-mirrors": [ 23:57:16 "https://nexus3.edgexfoundry.org:10001" 23:57:16 ], 23:57:16 "bip": "10.250.0.254/24", 23:57:16 "hosts": [ 23:57:16 "tcp://0.0.0.0:5555", 23:57:16 "unix:///var/run/docker.sock" 23:57:16 ], 23:57:16 "mtu": 1458, 23:57:16 "selinux-enabled": true, 23:57:16 "seccomp-profile": "/etc/docker/seccomp.json" 23:57:16 } [Pipeline] sh 23:57:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:57:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:57:35 provisioning config files... 23:57:36 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config11001259112557071342tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:57:36 ---> docker-login.sh 23:57:36 nexus3.edgexfoundry.org:10001 23:57:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:37 Configure a credential helper to remove this warning. See 23:57:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:37 23:57:37 Login Succeeded 23:57:37 nexus3.edgexfoundry.org:10002 23:57:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:37 Configure a credential helper to remove this warning. See 23:57:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:37 23:57:37 Login Succeeded 23:57:37 nexus3.edgexfoundry.org:10003 23:57:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:37 Configure a credential helper to remove this warning. See 23:57:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:37 23:57:37 Login Succeeded 23:57:37 nexus3.edgexfoundry.org:10004 23:57:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:38 Configure a credential helper to remove this warning. See 23:57:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:38 23:57:38 Login Succeeded 23:57:38 docker.io 23:57:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:38 Configure a credential helper to remove this warning. See 23:57:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:38 23:57:38 Login Succeeded 23:57:38 ---> docker-login.sh ends [Pipeline] } 23:57:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:57:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:57:39 ========================================================= 23:57:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:57:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:40 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:57:40 Sending build context to Docker daemon 139.3kB 23:57:40 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:57:40 Step 2/12 : FROM ${BASE} AS builder 23:57:40 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:57:40 c41833b44d91: Pulling fs layer 23:57:40 ed15518f5707: Pulling fs layer 23:57:40 feae8fd75edb: Pulling fs layer 23:57:40 242c74f7c9fa: Pulling fs layer 23:57:40 3cdef696dda3: Pulling fs layer 23:57:40 2ced38df9373: Pulling fs layer 23:57:40 58f1dce35555: Pulling fs layer 23:57:40 3cdef696dda3: Waiting 23:57:40 2ced38df9373: Waiting 23:57:40 58f1dce35555: Waiting 23:57:40 242c74f7c9fa: Waiting 23:57:40 ed15518f5707: Verifying Checksum 23:57:40 ed15518f5707: Download complete 23:57:40 242c74f7c9fa: Download complete 23:57:40 3cdef696dda3: Verifying Checksum 23:57:40 3cdef696dda3: Download complete 23:57:40 c41833b44d91: Verifying Checksum 23:57:40 c41833b44d91: Download complete 23:57:41 c41833b44d91: Pull complete 23:57:42 58f1dce35555: Verifying Checksum 23:57:42 58f1dce35555: Download complete 23:57:43 feae8fd75edb: Verifying Checksum 23:57:43 feae8fd75edb: Download complete 23:57:43 2ced38df9373: Verifying Checksum 23:57:43 2ced38df9373: Download complete 23:57:43 ed15518f5707: Pull complete 23:57:56 feae8fd75edb: Pull complete 23:57:56 242c74f7c9fa: Pull complete 23:57:56 3cdef696dda3: Pull complete 23:58:02 2ced38df9373: Pull complete 23:58:04 58f1dce35555: Pull complete 23:58:04 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:58:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:58:04 ---> fadd8f120f05 23:58:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:58:06 ---> Running in 4e6a914681c8 23:58:07 Removing intermediate container 4e6a914681c8 23:58:07 ---> 02f7a4692b57 23:58:07 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:58:07 ---> Running in 24839d36a2f7 23:58:07 Removing intermediate container 24839d36a2f7 23:58:07 ---> b5fc10ec37d1 23:58:07 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:58:07 ---> Running in 685d6dd2e275 23:58:08 Removing intermediate container 685d6dd2e275 23:58:08 ---> c450b718e994 23:58:08 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:58:08 ---> Running in e405290830d1 23:58:08 Removing intermediate container e405290830d1 23:58:08 ---> 78cd587c9545 23:58:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:58:08 ---> Running in 4adaa5e5eebf 23:58:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:58:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:58:11 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:58:11 (2/4) Installing libedit (20221030.3.1-r0) 23:58:11 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:58:11 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:58:11 Executing busybox-1.35.0-r29.trigger 23:58:11 OK: 268 MiB in 57 packages 23:58:13 Removing intermediate container 4adaa5e5eebf 23:58:13 ---> abd581e3fdfa 23:58:13 Step 8/12 : WORKDIR /device-rest-go 23:58:13 ---> Running in 2058bd3cbc27 23:58:13 Removing intermediate container 2058bd3cbc27 23:58:13 ---> 1d2d3f71d04b 23:58:13 Step 9/12 : COPY go.mod vendor* ./ 23:58:14 ---> 27f2ef93a087 23:58:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:58:14 ---> Running in 8cb8b6ea7969 23:59:35 Removing intermediate container 8cb8b6ea7969 23:59:35 ---> 6b2bde9ad1f8 23:59:35 Step 11/12 : COPY . . 23:59:35 ---> a85435f991cd 23:59:35 Step 12/12 : RUN $MAKE 23:59:35 ---> Running in 2a11216a596d 23:59:35 noop 23:59:35 Removing intermediate container 2a11216a596d 23:59:35 ---> 5eb4013bb2ce 23:59:35 Successfully built 5eb4013bb2ce 23:59:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:36 + docker inspect -f . ci-base-image-arm64 23:59:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:59:36 prd-ubuntu20.04-docker-arm64-4c-16g-16833 does not seem to be running inside a container 23:59:36 $ 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 23:59:38 $ docker top 7e37fc63f46c01cf0103f242f5e95a9c6e23029ad06cd6fa2fbc7ef9dc3fef72 -eo pid,comm [Pipeline] { [Pipeline] sh 23:59:39 + go version 23:59:39 go version go1.20.2 linux/arm64 [Pipeline] } 23:59:39 $ docker stop --time=1 7e37fc63f46c01cf0103f242f5e95a9c6e23029ad06cd6fa2fbc7ef9dc3fef72 23:59:40 $ docker rm -f --volumes 7e37fc63f46c01cf0103f242f5e95a9c6e23029ad06cd6fa2fbc7ef9dc3fef72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:41 + docker inspect -f . ci-base-image-arm64 23:59:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:59:41 prd-ubuntu20.04-docker-arm64-4c-16g-16833 does not seem to be running inside a container 23:59:42 $ 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 23:59:43 $ docker top bfb02734f6ac5023f65191ce871f0e465e54e6c4ef92f0169669cf0c45dcc28e -eo pid,comm [Pipeline] { [Pipeline] sh 23:59:44 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 23:59:45 + make test 23:59:45 go test ./... -coverprofile=coverage.out ./... 00:00:24 ? github.com/edgexfoundry/device-rest-go [no test files] 00:03:15 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:03:15 ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 32.2% of statements 00:03:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:03:15 go vet ./... 00:03:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:03:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:03:48 ./bin/test-attribution-txt.sh [Pipeline] echo 00:03:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:03:48 $ docker stop --time=1 bfb02734f6ac5023f65191ce871f0e465e54e6c4ef92f0169669cf0c45dcc28e 00:03:50 $ docker rm -f --volumes bfb02734f6ac5023f65191ce871f0e465e54e6c4ef92f0169669cf0c45dcc28e [Pipeline] // withDockerContainer [Pipeline] sh 00:03:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:03:51 Warning: overwriting stash ‘coverage-report’ 00:03:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:03:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:03:53 + ls -al . 00:03:53 total 180 00:03:53 drwxrwxr-x 8 jenkins jenkins 4096 May 24 23:59 . 00:03:53 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:57 .. 00:03:53 -rw-rw-r-- 1 jenkins jenkins 151 May 24 23:57 .dockerignore 00:03:53 drwxrwxr-x 8 jenkins jenkins 4096 May 24 23:57 .git 00:03:53 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:57 .github 00:03:53 -rw-rw-r-- 1 jenkins jenkins 329 May 24 23:57 .gitignore 00:03:53 -rw-rw-r-- 1 jenkins jenkins 41 May 24 23:57 .golangci.yml 00:03:53 -rw-rw-r-- 1 jenkins jenkins 9331 May 24 23:57 Attribution.txt 00:03:53 -rw-rw-r-- 1 jenkins jenkins 13085 May 24 23:57 CHANGELOG.md 00:03:53 -rw-rw-r-- 1 jenkins jenkins 1578 May 24 23:57 Dockerfile 00:03:53 -rw-rw-r-- 1 jenkins jenkins 677 May 24 23:57 GOVERNANCE.md 00:03:53 -rw-rw-r-- 1 jenkins jenkins 680 May 24 23:57 Jenkinsfile 00:03:53 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 23:57 LICENSE 00:03:53 -rw-rw-r-- 1 jenkins jenkins 1779 May 24 23:57 Makefile 00:03:53 -rw-rw-r-- 1 jenkins jenkins 620 May 24 23:57 OWNERS.md 00:03:53 -rw-rw-r-- 1 jenkins jenkins 15827 May 24 23:57 README.md 00:03:53 -rw-rw-r-- 1 jenkins jenkins 5 May 24 23:54 VERSION 00:03:53 drwxrwxr-x 2 jenkins jenkins 4096 May 24 23:57 bin 00:03:53 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:57 cmd 00:03:53 -rw-r--r-- 1 jenkins jenkins 14663 May 25 00:03 coverage.out 00:03:53 drwxrwxr-x 2 jenkins jenkins 4096 May 24 23:57 driver 00:03:53 -rw-rw-r-- 1 jenkins jenkins 3354 May 24 23:57 go.mod 00:03:53 -rw-rw-r-- 1 jenkins jenkins 31232 May 24 23:57 go.sum 00:03:53 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:57 snap 00:03:53 -rw-rw-r-- 1 jenkins jenkins 713 May 24 23:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:53 + 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=c9820f08da888540b5b60248d7b6306d0c495dec --label arch=arm64 --label version=0.0.0 . 00:03:53 Sending build context to Docker daemon 154.6kB 00:03:54 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 00:03:54 Step 2/25 : FROM ${BASE} AS builder 00:03:54 ---> 5eb4013bb2ce 00:03:54 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:03:54 ---> Running in 433d4b61334c 00:03:54 Removing intermediate container 433d4b61334c 00:03:54 ---> 1b2476dc17b8 00:03:54 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:03:54 ---> Running in ac975b47c549 00:03:55 Removing intermediate container ac975b47c549 00:03:55 ---> e8f350104be1 00:03:55 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:03:55 ---> Running in ec2d30a803bd 00:03:55 Removing intermediate container ec2d30a803bd 00:03:55 ---> dd43fdfbb50f 00:03:55 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:03:55 ---> Running in 4058d6ec456f 00:03:56 Removing intermediate container 4058d6ec456f 00:03:56 ---> 582759567890 00:03:56 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:03:56 ---> Running in 8e78ff16826f 00:03:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:03:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:04:00 OK: 268 MiB in 57 packages 00:04:00 Removing intermediate container 8e78ff16826f 00:04:00 ---> 3f2983f66ae1 00:04:00 Step 8/25 : WORKDIR /device-rest-go 00:04:01 ---> Running in 68fac0f76d6c 00:04:01 Removing intermediate container 68fac0f76d6c 00:04:01 ---> f1583ea952d2 00:04:01 Step 9/25 : COPY go.mod vendor* ./ 00:04:02 ---> c12618318f3b 00:04:02 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:04:02 ---> Running in 261df275980d 00:04:05 Removing intermediate container 261df275980d 00:04:05 ---> a0d607e6f28e 00:04:05 Step 11/25 : COPY . . 00:04:06 ---> b9bdee83b09f 00:04:06 Step 12/25 : RUN $MAKE 00:04:06 ---> Running in f809454d25aa 00:04:07 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 00:06:44 Removing intermediate container f809454d25aa 00:06:44 ---> 9ef2b6c14a5d 00:06:44 Step 13/25 : FROM alpine:3.17 00:06:44 3.17: Pulling from library/alpine 00:06:44 c41833b44d91: Already exists 00:06:44 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:06:44 Status: Downloaded newer image for alpine:3.17 00:06:44 ---> 51e60588ff2c 00:06:44 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:06:44 ---> Running in d293e7fb4bcb 00:06:45 Removing intermediate container d293e7fb4bcb 00:06:45 ---> 129cd10cb64f 00:06:45 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 00:06:45 ---> Running in bf2a38755742 00:06:45 Removing intermediate container bf2a38755742 00:06:45 ---> a869ba97bd70 00:06:45 Step 16/25 : RUN apk add --update --no-cache dumb-init 00:06:45 ---> Running in 3c4360f115c2 00:06:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:06:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:06:49 (1/1) Installing dumb-init (1.2.5-r2) 00:06:49 Executing busybox-1.35.0-r29.trigger 00:06:49 OK: 8 MiB in 16 packages 00:06:49 Removing intermediate container 3c4360f115c2 00:06:49 ---> cd12decdd153 00:06:49 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 00:06:51 ---> 32b80e611567 00:06:51 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 00:06:52 ---> 152a95eadf06 00:06:52 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 00:06:52 ---> 03ea9eb4f5e3 00:06:52 Step 20/25 : EXPOSE 59986 00:06:52 ---> Running in dd39735b71f1 00:06:53 Removing intermediate container dd39735b71f1 00:06:53 ---> 7b129b62bfab 00:06:53 Step 21/25 : ENTRYPOINT ["/device-rest"] 00:06:53 ---> Running in 23c1102a3575 00:06:53 Removing intermediate container 23c1102a3575 00:06:53 ---> 272d7f5f11ca 00:06:53 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:06:53 ---> Running in a066238a5cb5 00:06:53 Removing intermediate container a066238a5cb5 00:06:53 ---> e47f62fcae53 00:06:53 Step 23/25 : LABEL arch=arm64 00:06:54 ---> Running in d33f25dd3e7c 00:06:54 Removing intermediate container d33f25dd3e7c 00:06:54 ---> e9988487e685 00:06:54 Step 24/25 : LABEL git_sha=c9820f08da888540b5b60248d7b6306d0c495dec 00:06:54 ---> Running in 5c3053fd16fc 00:06:54 Removing intermediate container 5c3053fd16fc 00:06:54 ---> 5ecdb02fb498 00:06:54 Step 25/25 : LABEL version=0.0.0 00:06:54 ---> Running in 510fa17ce4c3 00:06:55 Removing intermediate container 510fa17ce4c3 00:06:55 ---> 6ce439e54fd2 00:06:55 [Warning] One or more build-args [ARCH] were not consumed 00:06:55 Successfully built 6ce439e54fd2 00:06:55 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 00:06:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:56 00:06:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:56 arm64: Pulling from edgex-lftools-log-publisher 00:06:56 8998bd30e6a1: Pulling fs layer 00:06:56 04944245beec: Pulling fs layer 00:06:56 699f458cf7ca: Pulling fs layer 00:06:56 765212b225bb: Pulling fs layer 00:06:56 f23df028b6ca: Pulling fs layer 00:06:56 d65c8cfc05b1: Pulling fs layer 00:06:56 2437ff75d9bd: Pulling fs layer 00:06:56 f23df028b6ca: Waiting 00:06:56 d65c8cfc05b1: Waiting 00:06:56 2437ff75d9bd: Waiting 00:06:56 765212b225bb: Waiting 00:06:56 04944245beec: Verifying Checksum 00:06:56 04944245beec: Download complete 00:06:56 765212b225bb: Download complete 00:06:56 f23df028b6ca: Download complete 00:06:56 d65c8cfc05b1: Verifying Checksum 00:06:56 d65c8cfc05b1: Download complete 00:06:57 699f458cf7ca: Verifying Checksum 00:06:57 699f458cf7ca: Download complete 00:06:57 8998bd30e6a1: Verifying Checksum 00:06:57 8998bd30e6a1: Download complete 00:06:59 2437ff75d9bd: Verifying Checksum 00:06:59 2437ff75d9bd: Download complete 00:07:01 8998bd30e6a1: Pull complete 00:07:02 04944245beec: Pull complete 00:07:03 699f458cf7ca: Pull complete 00:07:03 765212b225bb: Pull complete 00:07:04 f23df028b6ca: Pull complete 00:07:04 d65c8cfc05b1: Pull complete 00:07:19 2437ff75d9bd: Pull complete 00:07:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:07:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:07:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:20 prd-ubuntu20.04-docker-arm64-4c-16g-16833 does not seem to be running inside a container 00:07:20 $ 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 00:07:23 $ docker top ebd581d102412304fb91a0ab448d3c2451e1d048c779d3df689f6ddb01977d76 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:07:24 ---> job-cost.sh 00:07:24 lf-activate-venv: SKIPPING 00:07:24 INFO: No Stack... 00:07:24 INFO: Retrieving Pricing Info for: v3-standard-4 00:07:25 INFO: Archiving Costs [Pipeline] sh 00:07:26 + cat /w/workspace/device-rest-go/1/archives/cost.csv 00:07:26 + cut -d, -f6 [Pipeline] lock 00:07:26 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-325-1-stack-cost] 00:07:26 Resource [jenkins-edgexfoundry-device-rest-go-PR-325-1-stack-cost] did not exist. Created. 00:07:26 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-325-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:07:27 /w/workspace/device-rest-go/1@tmp/durable-ea3b0e98/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:07:28 + echo total: 0.10999999940395355 [Pipeline] stash 00:07:28 Warning: overwriting stash ‘stack-cost’ 00:07:28 Stashed 1 file(s) [Pipeline] } 00:07:28 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-325-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:07:28 $ docker stop --time=1 ebd581d102412304fb91a0ab448d3c2451e1d048c779d3df689f6ddb01977d76 00:07:29 $ docker rm -f --volumes ebd581d102412304fb91a0ab448d3c2451e1d048c779d3df689f6ddb01977d76 [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 00:07:30 provisioning config files... 00:07:30 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-325@tmp/config1459827035709004205tmp [Pipeline] { [Pipeline] sh 00:07:31 + set +x 00:07:31 + bash -s -- 00:07:31 + curl -s https://codecov.io/bash 00:07:31 00:07:31 _____ _ 00:07:31 / ____| | | 00:07:31 | | ___ __| | ___ ___ _____ __ 00:07:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:07:31 | |___| (_) | (_| | __/ (_| (_) \ V / 00:07:31 \_____\___/ \__,_|\___|\___\___/ \_/ 00:07:31 Bash-1.0.6 00:07:31 00:07:31 00:07:31 ==> git version 2.25.1 found 00:07:31 ==> 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 00:07:31 Release-Date: 2020-01-08 00:07:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:07:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:07:31 ==> Jenkins CI detected. 00:07:31 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-325 00:07:31 project root: . 00:07:31 --> token set from env 00:07:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:07:31 ==> Running gcov in . (disable via -X gcov) 00:07:31 ==> Python coveragepy not found 00:07:31 ==> Searching for coverage reports in: 00:07:31 + . 00:07:31 -> Found 1 reports 00:07:31 ==> Detecting git/mercurial file structure 00:07:31 ==> Reading reports 00:07:31 + ./coverage.out bytes=14663 00:07:31 ==> Appending adjustments 00:07:31 https://docs.codecov.io/docs/fixing-reports 00:07:31 + Found adjustments 00:07:31 ==> Gzipping contents 00:07:31 4.0K /tmp/codecov.ixH1qX.gz 00:07:31 ==> Uploading reports 00:07:31 url: https://codecov.io 00:07:31 query: branch=PR-325&commit=c9820f08da888540b5b60248d7b6306d0c495dec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-325%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=325&job=&cmd_args= 00:07:31 -> Pinging Codecov 00:07:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-325&commit=c9820f08da888540b5b60248d7b6306d0c495dec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-325%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=325&job=&cmd_args= 00:07:31 -> Uploading to 00:07:31 https://storage.googleapis.com/codecov/v4/raw/2023-05-25/4E5D53B4F1F92C436F7061BF334D961C/c9820f08da888540b5b60248d7b6306d0c495dec/701bbed0-7c92-43fe-90d0-07fedbcd6d32.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230525T000731Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d78b6c65674858d9af51686dbf9826710621ca785d5e6a3564fad29285804ab7 00:07:31 % Total % Received % Xferd Average Speed Time Time Time Current 00:07:31 Dload Upload Total Spent Left Speed 00:07:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 13072 --:--:-- --:--:-- --:--:-- 13141 00:07:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/c9820f08da888540b5b60248d7b6306d0c495dec [Pipeline] } 00:07:31 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 00:07:33 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-325/archives ] 00:07:33 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-325/archives 00:07:33 total 16 00:07:33 drwxr-xr-x 3 root root 4096 May 24 23:56 . 00:07:33 drwxrwxr-x 10 jenkins jenkins 4096 May 24 23:56 .. 00:07:33 drwxr-xr-x 2 root root 4096 May 24 23:56 cost 00:07:33 -rw-r--r-- 1 root root 86 May 24 23:56 cost.csv 00:07:33 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-325/archives 00:07:33 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-325/archives 00:07:33 total 16 00:07:33 drwxr-xr-x 3 jenkins jenkins 4096 May 24 23:56 . 00:07:33 drwxrwxr-x 10 jenkins jenkins 4096 May 24 23:56 .. 00:07:33 drwxr-xr-x 2 jenkins jenkins 4096 May 24 23:56 cost 00:07:33 -rw-r--r-- 1 jenkins jenkins 86 May 24 23:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:07:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:07:34 ---> package-listing.sh 00:07:34 ++ facter osfamily 00:07:34 ++ tr '[:upper:]' '[:lower:]' 00:07:35 + OS_FAMILY=debian 00:07:35 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-325 00:07:35 + START_PACKAGES=/tmp/packages_start.txt 00:07:35 + END_PACKAGES=/tmp/packages_end.txt 00:07:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:07:35 + PACKAGES=/tmp/packages_start.txt 00:07:35 + '[' /w/workspace/gexfoundry_device-rest-go_PR-325 ']' 00:07:35 + PACKAGES=/tmp/packages_end.txt 00:07:35 + case "${OS_FAMILY}" in 00:07:35 + dpkg -l 00:07:35 + grep '^ii' 00:07:35 + '[' -f /tmp/packages_start.txt ']' 00:07:35 + '[' -f /tmp/packages_end.txt ']' 00:07:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:07:35 + '[' /w/workspace/gexfoundry_device-rest-go_PR-325 ']' 00:07:35 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-325/archives/ 00:07:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-325/archives/ [Pipeline] echo 00:07:35 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-325/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:07:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:07:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:36 prd-ubuntu20.04-docker-8c-8g-16829 does not seem to be running inside a container 00:07:36 $ 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-325/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-325 -v /w/workspace/gexfoundry_device-rest-go_PR-325:/w/workspace/gexfoundry_device-rest-go_PR-325:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-325@tmp:/w/workspace/gexfoundry_device-rest-go_PR-325@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 00:07:36 $ docker top ac4ebf18ef25b09534971777e5adbc6ab0812976b77e72b65fcadceee5be2676 -eo pid,comm [Pipeline] { [Pipeline] sh 00:07:36 + touch /tmp/pre-build-complete [Pipeline] sh 00:07:37 + mkdir -p /var/log/sysstat [Pipeline] sh 00:07:37 + ls /var/log/sa-host 00:07:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:07:37 provisioning config files... 00:07:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-325@tmp/config2801736316894365408tmp [Pipeline] { [Pipeline] echo 00:07:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:07:38 ---> create-netrc.sh [Pipeline] } 00:07:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:07:38 ---> python-tools-install.sh [Pipeline] echo 00:07:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:07:38 ---> sudo-logs.sh 00:07:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:07:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:07:39 ---> job-cost.sh 00:07:39 lf-activate-venv: SKIPPING 00:07:39 DEBUG: total: 0.2199999988079071 00:07:39 INFO: Retrieving Stack Cost... 00:07:39 INFO: Retrieving Pricing Info for: v3-standard-8 00:07:40 INFO: Archiving Costs [Pipeline] echo 00:07:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:07:40 ---> logs-deploy.sh 00:07:40 lf-activate-venv: SKIPPING 00:07:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-325/1 00:07:40 INFO: archiving workspace using pattern(s): 00:07:41 Archives upload complete. 00:07:41 INFO: archiving logs to Nexus