Pull request #318 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5406a81bc14e35dea807788b8be977acec42db7e+b9b57828cb91c1ed80a64c0f12d73d3d38017d14 (49ea9c7c26752894ab623852cc478e240a7c5f88) 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-ssh9970640391001762456.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-ssh795536421921963592.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-318/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-318/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16407945884458512105.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 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-ssh5022052142360336283.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-318/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-318/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14218386478781972305.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-15924’ is offline ‘prd-ubuntu20.04-docker-8c-8g-15925’ is offline ‘prd-ubuntu20.04-docker-8c-8g-15928’ is offline ‘prd-ubuntu20.04-docker-8c-8g-15930’ is offline Running on prd-ubuntu20.04-docker-8c-8g-15928 in /w/workspace/gexfoundry_device-rest-go_PR-318 [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-318 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b9b57828cb91c1ed80a64c0f12d73d3d38017d14 into PR head commit 5406a81bc14e35dea807788b8be977acec42db7e Merge succeeded, producing 5406a81bc14e35dea807788b8be977acec42db7e Checking out Revision 5406a81bc14e35dea807788b8be977acec42db7e (PR-318) Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:03:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:03:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:03:50 ========================================================= 19:03:50 EdgeX Global Pipelines Version Info 19:03:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 5406a81bc14e35dea807788b8be977acec42db7e # 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 b9b57828cb91c1ed80a64c0f12d73d3d38017d14 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5406a81bc14e35dea807788b8be977acec42db7e # timeout=10 > git rev-list --no-walk 6879e16c9873b7ee47a0ce6feb41051dd9546c53 # timeout=10 19:03:51 ------------------- 19:03:51 stable info: 19:03:51 ------------------- 19:03:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:03:51 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 19:03:51 Message: update stable to v1.0.249 19:03:51 ------------------- 19:03:51 experimental info: 19:03:51 ------------------- 19:03:51 Commited By: **** collab-it+edgex@linuxfoundation.org 19:03:51 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 19:03:51 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-318 [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-318 [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-318 [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5406a81bc14e35dea807788b8be977acec42db7e [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5406a81 [Pipeline] echo 19:03:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:03:52 provisioning config files... 19:03:52 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config11373982985038261383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:03:52 ---> docker-login.sh 19:03:52 nexus3.edgexfoundry.org:10001 19:03:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:53 Configure a credential helper to remove this warning. See 19:03:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:53 19:03:53 Login Succeeded 19:03:53 nexus3.edgexfoundry.org:10002 19:03:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:53 Configure a credential helper to remove this warning. See 19:03:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:53 19:03:53 Login Succeeded 19:03:53 nexus3.edgexfoundry.org:10003 19:03:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:53 Configure a credential helper to remove this warning. See 19:03:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:53 19:03:53 Login Succeeded 19:03:53 nexus3.edgexfoundry.org:10004 19:03:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:53 Configure a credential helper to remove this warning. See 19:03:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:53 19:03:53 Login Succeeded 19:03:53 docker.io 19:03:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:53 Configure a credential helper to remove this warning. See 19:03:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:53 19:03:53 Login Succeeded 19:03:53 ---> docker-login.sh ends [Pipeline] } 19:03:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:03:53 + git rev-list -1 --merges 5406a81bc14e35dea807788b8be977acec42db7e~1..5406a81bc14e35dea807788b8be977acec42db7e [Pipeline] echo 19:03:54 -----------> git rev-list -1 --merges 5406a81bc14e35dea807788b8be977acec42db7e~1..5406a81bc14e35dea807788b8be977acec42db7e 5406a81bc14e35dea807788b8be977acec42db7e [false] [Pipeline] sh 19:03:54 + git log --format=format:%s -1 5406a81bc14e35dea807788b8be977acec42db7e [Pipeline] echo 19:03:54 ========================================================= 19:03:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:03:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:03:54 + git log --format=format:%s -1 5406a81bc14e35dea807788b8be977acec42db7e [Pipeline] echo 19:03:54 [semverPrep] GIT_COMMIT: 5406a81bc14e35dea807788b8be977acec42db7e, Commit Message: build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1 [Pipeline] echo 19:03:54 [semverPrep] This is not a build commit. [Pipeline] sh 19:03:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:03:55 + grep -v github /etc/ssh/ssh_known_hosts 19:03:55 + [ -e /tmp/ssh_known_hosts ] 19:03:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:03:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:03:55 + sudo tee -a /etc/ssh/ssh_known_hosts 19:03:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:03:55 19:03:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:03:55 0.1.4: Pulling from edgex-devops/py-git-semver 19:03:55 b85a868b505f: Pulling fs layer 19:03:55 e2be974225ed: Pulling fs layer 19:03:55 339a4e72a1f5: Pulling fs layer 19:03:55 988bab9f4d93: Pulling fs layer 19:03:55 1469e6f7b9e6: Pulling fs layer 19:03:55 988bab9f4d93: Waiting 19:03:55 eaf3925da568: Pulling fs layer 19:03:55 bab4dde63d76: Pulling fs layer 19:03:55 1469e6f7b9e6: Waiting 19:03:55 eaf3925da568: Waiting 19:03:55 bab4dde63d76: Waiting 19:03:55 bde34c3a00c8: Pulling fs layer 19:03:55 b352a97aabf1: Pulling fs layer 19:03:55 4872d77fe225: Pulling fs layer 19:03:55 bde34c3a00c8: Waiting 19:03:55 5851b861e8e6: Pulling fs layer 19:03:55 5851b861e8e6: Waiting 19:03:55 b352a97aabf1: Waiting 19:03:55 e2be974225ed: Download complete 19:03:55 988bab9f4d93: Download complete 19:03:55 339a4e72a1f5: Verifying Checksum 19:03:55 339a4e72a1f5: Download complete 19:03:55 eaf3925da568: Download complete 19:03:55 1469e6f7b9e6: Verifying Checksum 19:03:55 1469e6f7b9e6: Download complete 19:03:55 bde34c3a00c8: Download complete 19:03:55 b352a97aabf1: Verifying Checksum 19:03:55 b352a97aabf1: Download complete 19:03:55 4872d77fe225: Download complete 19:03:55 5851b861e8e6: Download complete 19:03:55 b85a868b505f: Verifying Checksum 19:03:55 b85a868b505f: Download complete 19:03:56 bab4dde63d76: Verifying Checksum 19:03:56 bab4dde63d76: Download complete 19:03:57 b85a868b505f: Pull complete 19:03:57 e2be974225ed: Pull complete 19:03:57 339a4e72a1f5: Pull complete 19:03:57 988bab9f4d93: Pull complete 19:03:58 1469e6f7b9e6: Pull complete 19:03:58 eaf3925da568: Pull complete 19:04:00 bab4dde63d76: Pull complete 19:04:00 bde34c3a00c8: Pull complete 19:04:00 b352a97aabf1: Pull complete 19:04:00 4872d77fe225: Pull complete 19:04:00 5851b861e8e6: Pull complete 19:04:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:04:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:04:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:04:00 prd-ubuntu20.04-docker-8c-8g-15928 does not seem to be running inside a container 19:04:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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-devops/py-git-semver:0.1.4 cat 19:04:03 $ docker top eefe9e5af01c88db3e1bdef161ec7e8093233d7b272fc4fffb9e76b4ec4def08 -eo pid,comm 19:04:03 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). 19:04:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:04:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:04:03 [ssh-agent] Looking for ssh-agent implementation... 19:04:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:04:03 $ docker exec eefe9e5af01c88db3e1bdef161ec7e8093233d7b272fc4fffb9e76b4ec4def08 ssh-agent 19:04:03 SSH_AUTH_SOCK=/tmp/ssh-F82iPr504K9k/agent.32 19:04:03 SSH_AGENT_PID=38 19:04:03 Running ssh-add (command line suppressed) 19:04:03 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_3482314283462035145.key (/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_3482314283462035145.key) 19:04:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:04:03 + git tag --points-at HEAD [Pipeline] } 19:04:03 $ docker exec --env ******** --env ******** eefe9e5af01c88db3e1bdef161ec7e8093233d7b272fc4fffb9e76b4ec4def08 ssh-agent -k 19:04:03 unset SSH_AUTH_SOCK; 19:04:03 unset SSH_AGENT_PID; 19:04:03 echo Agent pid 38 killed; 19:04:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:04:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:04:03 [ssh-agent] Looking for ssh-agent implementation... 19:04:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:04:04 $ docker exec eefe9e5af01c88db3e1bdef161ec7e8093233d7b272fc4fffb9e76b4ec4def08 ssh-agent 19:04:04 SSH_AUTH_SOCK=/tmp/ssh-hZqh0fIk5KJw/agent.70 19:04:04 SSH_AGENT_PID=76 19:04:04 Running ssh-add (command line suppressed) 19:04:04 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_4173711944175155382.key (/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_4173711944175155382.key) 19:04:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:04:04 + git semver init 19:04:04 2023-05-17 19:04:04,807 [run_init] DEBUG init version:0.0.0 force:False 19:04:04 2023-05-17 19:04:04,808 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver 19:04:04 2023-05-17 19:04:04,808 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-318/.semver 19:04:04 2023-05-17 19:04:04,808 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-318/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318, universal_newlines=False, shell=None, istream=None) 19:04:06 2023-05-17 19:04:05,827 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-318/.git/info/exclude 19:04:06 2023-05-17 19:04:05,828 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 with force:False 19:04:06 2023-05-17 19:04:05,828 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 19:04:06 2023-05-17 19:04:05,832 [execute] INFO git cat-file --batch-check 19:04:06 2023-05-17 19:04:05,832 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318/.semver, universal_newlines=False, shell=None, istream=) 19:04:06 2023-05-17 19:04:05,840 [execute] INFO git cat-file --batch 19:04:06 2023-05-17 19:04:05,840 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318/.semver, universal_newlines=False, shell=None, istream=) 19:04:06 2023-05-17 19:04:05,847 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 19:04:06 0.0.0 [Pipeline] } 19:04:06 $ docker exec --env ******** --env ******** eefe9e5af01c88db3e1bdef161ec7e8093233d7b272fc4fffb9e76b4ec4def08 ssh-agent -k 19:04:06 unset SSH_AUTH_SOCK; 19:04:06 unset SSH_AGENT_PID; 19:04:06 echo Agent pid 76 killed; 19:04:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:04:06 + git semver [Pipeline] } 19:04:06 $ docker stop --time=1 eefe9e5af01c88db3e1bdef161ec7e8093233d7b272fc4fffb9e76b4ec4def08 19:04:08 $ docker rm -f --volumes eefe9e5af01c88db3e1bdef161ec7e8093233d7b272fc4fffb9e76b4ec4def08 [Pipeline] // withDockerContainer [Pipeline] sh 19:04:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:04:08 Stashed 1 file(s) [Pipeline] echo 19:04:08 [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 19:04:08 provisioning config files... 19:04:08 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config927228041969142570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:04:09 ---> docker-login.sh 19:04:09 nexus3.edgexfoundry.org:10001 19:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:09 Configure a credential helper to remove this warning. See 19:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:09 19:04:09 Login Succeeded 19:04:09 nexus3.edgexfoundry.org:10002 19:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:09 Configure a credential helper to remove this warning. See 19:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:09 19:04:09 Login Succeeded 19:04:09 nexus3.edgexfoundry.org:10003 19:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:09 Configure a credential helper to remove this warning. See 19:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:09 19:04:09 Login Succeeded 19:04:09 nexus3.edgexfoundry.org:10004 19:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:09 Configure a credential helper to remove this warning. See 19:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:09 19:04:09 Login Succeeded 19:04:09 docker.io 19:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:09 Configure a credential helper to remove this warning. See 19:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:09 19:04:09 Login Succeeded 19:04:09 ---> docker-login.sh ends [Pipeline] } 19:04:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:04:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:04:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:04:09 ========================================================= 19:04:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:04:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:10 + 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 . 19:04:10 Sending build context to Docker daemon 10.93MB 19:04:10 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 19:04:10 Step 2/12 : FROM ${BASE} AS builder 19:04:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:04:10 f56be85fc22e: Pulling fs layer 19:04:10 85791d961cd3: Pulling fs layer 19:04:10 d694b5ae8c79: Pulling fs layer 19:04:10 9f32a84ed3da: Pulling fs layer 19:04:10 4d19c01a9841: Pulling fs layer 19:04:10 9325e15d5711: Pulling fs layer 19:04:10 556b6ee489ea: Pulling fs layer 19:04:10 c5a4b2cf53e6: Pulling fs layer 19:04:10 9325e15d5711: Waiting 19:04:10 4d19c01a9841: Waiting 19:04:10 556b6ee489ea: Waiting 19:04:10 c5a4b2cf53e6: Waiting 19:04:10 9f32a84ed3da: Waiting 19:04:10 85791d961cd3: Verifying Checksum 19:04:10 85791d961cd3: Download complete 19:04:10 9f32a84ed3da: Download complete 19:04:10 4d19c01a9841: Download complete 19:04:10 f56be85fc22e: Verifying Checksum 19:04:10 f56be85fc22e: Download complete 19:04:10 9325e15d5711: Verifying Checksum 19:04:10 9325e15d5711: Download complete 19:04:10 f56be85fc22e: Pull complete 19:04:10 85791d961cd3: Pull complete 19:04:10 c5a4b2cf53e6: Verifying Checksum 19:04:10 c5a4b2cf53e6: Download complete 19:04:10 d694b5ae8c79: Verifying Checksum 19:04:10 d694b5ae8c79: Download complete 19:04:11 556b6ee489ea: Verifying Checksum 19:04:11 556b6ee489ea: Download complete 19:04:14 d694b5ae8c79: Pull complete 19:04:14 9f32a84ed3da: Pull complete 19:04:14 4d19c01a9841: Pull complete 19:04:14 9325e15d5711: Pull complete 19:04:16 556b6ee489ea: Pull complete 19:04:17 c5a4b2cf53e6: Pull complete 19:04:17 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 19:04:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:04:17 ---> c4be618373d6 19:04:17 Step 3/12 : ARG ADD_BUILD_TAGS="" 19:04:21 ---> Running in 10414500fe9f 19:04:21 Removing intermediate container 10414500fe9f 19:04:21 ---> 8fe754ed2781 19:04:21 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:04:21 ---> Running in 6130653abe38 19:04:22 Removing intermediate container 6130653abe38 19:04:22 ---> b88142932668 19:04:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:04:22 ---> Running in 78b2af68ba6c 19:04:22 Removing intermediate container 78b2af68ba6c 19:04:22 ---> 8f8862323953 19:04:22 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 19:04:22 ---> Running in eb850b6e75a8 19:04:22 Removing intermediate container eb850b6e75a8 19:04:22 ---> 7dc08ffe498f 19:04:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:04:22 ---> Running in 36b69a80ea93 19:04:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:04:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:04:22 (1/4) Installing openssh-keygen (9.1_p1-r3) 19:04:22 (2/4) Installing libedit (20221030.3.1-r0) 19:04:22 (3/4) Installing openssh-client-common (9.1_p1-r3) 19:04:22 (4/4) Installing openssh-client-default (9.1_p1-r3) 19:04:22 Executing busybox-1.35.0-r29.trigger 19:04:22 OK: 269 MiB in 57 packages 19:04:23 Removing intermediate container 36b69a80ea93 19:04:23 ---> 97f838e5832a 19:04:23 Step 8/12 : WORKDIR /device-rest-go 19:04:23 ---> Running in 8800f0769421 19:04:23 Removing intermediate container 8800f0769421 19:04:23 ---> b7913216eb5c 19:04:23 Step 9/12 : COPY go.mod vendor* ./ 19:04:23 ---> 260a14e1d689 19:04:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:04:23 ---> Running in 90840b1d5f56 19:04:23 Still waiting to schedule task 19:04:23 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 19:04:50 Removing intermediate container 90840b1d5f56 19:04:50 ---> c6e4e37b36db 19:04:50 Step 11/12 : COPY . . 19:04:50 ---> 23b4e5d9907e 19:04:50 Step 12/12 : RUN $MAKE 19:04:50 ---> Running in 2d055c187da6 19:04:50 noop 19:04:50 Removing intermediate container 2d055c187da6 19:04:50 ---> 81f4928568a3 19:04:50 Successfully built 81f4928568a3 19:04:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:50 + docker inspect -f . ci-base-image-x86_64 19:04:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:04:50 prd-ubuntu20.04-docker-8c-8g-15928 does not seem to be running inside a container 19:04:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:04:50 $ docker top e5b37621d15a2015504e071c569575da19b59ad5a1b5ed26d14ef516b627257c -eo pid,comm [Pipeline] { [Pipeline] sh 19:04:51 + go version 19:04:51 go version go1.20.2 linux/amd64 [Pipeline] } 19:04:51 $ docker stop --time=1 e5b37621d15a2015504e071c569575da19b59ad5a1b5ed26d14ef516b627257c 19:04:52 $ docker rm -f --volumes e5b37621d15a2015504e071c569575da19b59ad5a1b5ed26d14ef516b627257c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:52 + docker inspect -f . ci-base-image-x86_64 19:04:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:04:53 prd-ubuntu20.04-docker-8c-8g-15928 does not seem to be running inside a container 19:04:53 $ 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-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:04:53 $ docker top e4598ecbd3f4526b06ab3615458fb197f1a3721b4f7add9f60766e6fda984af2 -eo pid,comm [Pipeline] { [Pipeline] sh 19:04:53 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-318 [Pipeline] fileExists [Pipeline] sh 19:04:54 + make test 19:04:54 go test ./... -coverprofile=coverage.out ./... 19:04:59 ? github.com/edgexfoundry/device-rest-go [no test files] 19:05:09 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:05:09 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 32.2% of statements 19:05:14 go vet ./... 19:05:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:05:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:05:18 ./bin/test-attribution-txt.sh [Pipeline] echo 19:05:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:05:18 $ docker stop --time=1 e4598ecbd3f4526b06ab3615458fb197f1a3721b4f7add9f60766e6fda984af2 19:05:22 $ docker rm -f --volumes e4598ecbd3f4526b06ab3615458fb197f1a3721b4f7add9f60766e6fda984af2 [Pipeline] // withDockerContainer [Pipeline] sh 19:05:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:05:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:05:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:05:23 + ls -al . 19:05:23 total 184 19:05:23 drwxrwxr-x 9 jenkins jenkins 4096 May 17 19:04 . 19:05:23 drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:03 .. 19:05:23 -rw-rw-r-- 1 jenkins jenkins 151 May 17 19:03 .dockerignore 19:05:23 drwxrwxr-x 8 jenkins jenkins 4096 May 17 19:04 .git 19:05:23 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:03 .github 19:05:23 -rw-rw-r-- 1 jenkins jenkins 329 May 17 19:03 .gitignore 19:05:23 -rw-rw-r-- 1 jenkins jenkins 41 May 17 19:03 .golangci.yml 19:05:23 drwxr-xr-x 3 jenkins jenkins 4096 May 17 19:04 .semver 19:05:23 -rw-rw-r-- 1 jenkins jenkins 9331 May 17 19:03 Attribution.txt 19:05:23 -rw-rw-r-- 1 jenkins jenkins 13085 May 17 19:03 CHANGELOG.md 19:05:23 -rw-rw-r-- 1 jenkins jenkins 1578 May 17 19:03 Dockerfile 19:05:23 -rw-rw-r-- 1 jenkins jenkins 677 May 17 19:03 GOVERNANCE.md 19:05:23 -rw-rw-r-- 1 jenkins jenkins 680 May 17 19:03 Jenkinsfile 19:05:23 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 19:03 LICENSE 19:05:23 -rw-rw-r-- 1 jenkins jenkins 1779 May 17 19:03 Makefile 19:05:23 -rw-rw-r-- 1 jenkins jenkins 620 May 17 19:03 OWNERS.md 19:05:23 -rw-rw-r-- 1 jenkins jenkins 15827 May 17 19:03 README.md 19:05:23 -rw-rw-r-- 1 jenkins jenkins 5 May 17 19:04 VERSION 19:05:23 drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:03 bin 19:05:23 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:03 cmd 19:05:23 -rw-r--r-- 1 jenkins jenkins 14663 May 17 19:05 coverage.out 19:05:23 drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:03 driver 19:05:23 -rw-rw-r-- 1 jenkins jenkins 3402 May 17 19:03 go.mod 19:05:23 -rw-rw-r-- 1 jenkins jenkins 31328 May 17 19:03 go.sum 19:05:23 drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:03 snap 19:05:23 -rw-rw-r-- 1 jenkins jenkins 713 May 17 19:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:23 + 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=5406a81bc14e35dea807788b8be977acec42db7e --label arch=amd64 --label version=0.0.0 . 19:05:23 Sending build context to Docker daemon 10.95MB 19:05:23 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 19:05:23 Step 2/25 : FROM ${BASE} AS builder 19:05:23 ---> 81f4928568a3 19:05:23 Step 3/25 : ARG ADD_BUILD_TAGS="" 19:05:24 ---> Running in 9c739a17a7b9 19:05:24 Removing intermediate container 9c739a17a7b9 19:05:24 ---> e5fcbb9f0d2e 19:05:24 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:05:24 ---> Running in 89055e0f4233 19:05:24 Removing intermediate container 89055e0f4233 19:05:24 ---> 8784ff4ab407 19:05:24 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:05:24 ---> Running in b5d2461ad724 19:05:24 Removing intermediate container b5d2461ad724 19:05:24 ---> 847bfd6cd28b 19:05:24 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 19:05:24 ---> Running in 614bcd857fe8 19:05:24 Removing intermediate container 614bcd857fe8 19:05:24 ---> 0acf00df5515 19:05:24 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:05:24 ---> Running in 1f684c047200 19:05:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:05:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:05:25 OK: 269 MiB in 57 packages 19:05:25 Removing intermediate container 1f684c047200 19:05:25 ---> b974c6a0b227 19:05:25 Step 8/25 : WORKDIR /device-rest-go 19:05:25 ---> Running in d72557b1594c 19:05:25 Removing intermediate container d72557b1594c 19:05:25 ---> fccb93206b68 19:05:25 Step 9/25 : COPY go.mod vendor* ./ 19:05:25 ---> cf18cc002ac7 19:05:25 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:05:25 ---> Running in 605ca59bffc8 19:05:26 Removing intermediate container 605ca59bffc8 19:05:26 ---> 5bfa1e5ba90e 19:05:26 Step 11/25 : COPY . . 19:05:26 ---> c31e38fe13c2 19:05:26 Step 12/25 : RUN $MAKE 19:05:26 ---> Running in ddf0fc211691 19:05:27 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 19:05:50 Removing intermediate container ddf0fc211691 19:05:50 ---> ab7aaed9011a 19:05:50 Step 13/25 : FROM alpine:3.17 19:05:50 3.17: Pulling from library/alpine 19:05:50 f56be85fc22e: Already exists 19:05:50 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:05:50 Status: Downloaded newer image for alpine:3.17 19:05:50 ---> 9ed4aefc74f6 19:05:50 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:05:50 ---> Running in 4cbae775b275 19:05:50 Removing intermediate container 4cbae775b275 19:05:50 ---> 8cd70034074d 19:05:50 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 19:05:50 ---> Running in 47e163a8fb3a 19:05:50 Removing intermediate container 47e163a8fb3a 19:05:50 ---> 68f1d6d7735a 19:05:50 Step 16/25 : RUN apk add --update --no-cache dumb-init 19:05:50 ---> Running in ae277a705d17 19:05:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:05:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:05:50 (1/1) Installing dumb-init (1.2.5-r2) 19:05:50 Executing busybox-1.35.0-r29.trigger 19:05:50 OK: 7 MiB in 16 packages 19:05:50 Removing intermediate container ae277a705d17 19:05:50 ---> 96a86af219de 19:05:50 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 19:05:51 ---> ffc80c046c03 19:05:51 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 19:05:51 ---> 3c67efc8b225 19:05:51 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 19:05:51 ---> 4180d4cf5380 19:05:51 Step 20/25 : EXPOSE 59986 19:05:51 ---> Running in aaeab6b3687e 19:05:51 Removing intermediate container aaeab6b3687e 19:05:51 ---> 9f5edbe820c6 19:05:51 Step 21/25 : ENTRYPOINT ["/device-rest"] 19:05:51 ---> Running in 5acddd1cb86b 19:05:51 Removing intermediate container 5acddd1cb86b 19:05:51 ---> d7313ff84942 19:05:51 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:05:51 ---> Running in f4a758211805 19:05:51 Removing intermediate container f4a758211805 19:05:51 ---> aa1977bd50e5 19:05:51 Step 23/25 : LABEL arch=amd64 19:05:51 ---> Running in 22d3d94aedab 19:05:51 Removing intermediate container 22d3d94aedab 19:05:51 ---> cf93ddff24cc 19:05:51 Step 24/25 : LABEL git_sha=5406a81bc14e35dea807788b8be977acec42db7e 19:05:51 ---> Running in e4314dd84c08 19:05:51 Removing intermediate container e4314dd84c08 19:05:51 ---> dd3e65100b46 19:05:51 Step 25/25 : LABEL version=0.0.0 19:05:51 ---> Running in 8acca2c63ef4 19:05:51 Removing intermediate container 8acca2c63ef4 19:05:51 ---> f92a4b6a6fbe 19:05:51 [Warning] One or more build-args [ARCH] were not consumed 19:05:51 Successfully built f92a4b6a6fbe 19:05:51 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 19:05:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:05:52 19:05:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:05:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:05:52 latest: Pulling from edgex-lftools-log-publisher 19:05:52 5eb5b503b376: Pulling fs layer 19:05:52 5c69ac0246d0: Pulling fs layer 19:05:52 ec43610c2a17: Pulling fs layer 19:05:52 3a2ae6a8a46f: Pulling fs layer 19:05:52 33b1e0a273af: Pulling fs layer 19:05:52 5d3b04190fa2: Pulling fs layer 19:05:52 2f39f015ded8: Pulling fs layer 19:05:52 5d3b04190fa2: Waiting 19:05:52 2f39f015ded8: Waiting 19:05:52 3a2ae6a8a46f: Waiting 19:05:52 5c69ac0246d0: Download complete 19:05:52 3a2ae6a8a46f: Verifying Checksum 19:05:52 3a2ae6a8a46f: Download complete 19:05:52 33b1e0a273af: Verifying Checksum 19:05:52 33b1e0a273af: Download complete 19:05:52 5d3b04190fa2: Download complete 19:05:52 ec43610c2a17: Verifying Checksum 19:05:52 ec43610c2a17: Download complete 19:05:52 5eb5b503b376: Verifying Checksum 19:05:52 5eb5b503b376: Download complete 19:05:53 2f39f015ded8: Download complete 19:05:53 5eb5b503b376: Pull complete 19:05:53 5c69ac0246d0: Pull complete 19:05:54 ec43610c2a17: Pull complete 19:05:54 3a2ae6a8a46f: Pull complete 19:05:54 33b1e0a273af: Pull complete 19:05:54 5d3b04190fa2: Pull complete 19:05:58 2f39f015ded8: Pull complete 19:05:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:05:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:05:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:05:59 prd-ubuntu20.04-docker-8c-8g-15928 does not seem to be running inside a container 19:05:59 $ 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-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:06:02 $ docker top 18d2d45c6aaa8630f089f24f9935e93b9e9300241e354aaa4dd7ce0cf9014ec8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:06:03 ---> job-cost.sh 19:06:03 lf-activate-venv: SKIPPING 19:06:03 INFO: No Stack... 19:06:03 INFO: Retrieving Pricing Info for: v3-standard-8 19:06:03 INFO: Archiving Costs [Pipeline] sh 19:06:04 + + cat /w/workspace/gexfoundry_device-rest-go_PR-318/archives/cost.csv 19:06:04 cut -d, -f6 [Pipeline] lock 19:06:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-318-6-stack-cost] 19:06:04 Resource [jenkins-edgexfoundry-device-rest-go-PR-318-6-stack-cost] did not exist. Created. 19:06:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-318-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:06:04 + echo total: 0.2199999988079071 [Pipeline] stash 19:06:04 Stashed 1 file(s) [Pipeline] } 19:06:04 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-318-6-stack-cost] [Pipeline] // lock [Pipeline] } 19:06:04 $ docker stop --time=1 18d2d45c6aaa8630f089f24f9935e93b9e9300241e354aaa4dd7ce0cf9014ec8 19:06:05 $ docker rm -f --volumes 18d2d45c6aaa8630f089f24f9935e93b9e9300241e354aaa4dd7ce0cf9014ec8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:09:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15935 in /w/workspace/gexfoundry_device-rest-go_PR-318 [Pipeline] { [Pipeline] ws 19:09:35 Running in /w/workspace/device-rest-go/6 [Pipeline] { [Pipeline] checkout 19:09:35 The recommended git tool is: git 19:09:43 using credential edgex-jenkins-ssh 19:09:43 Cloning the remote Git repository 19:09:43 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 19:09:43 > git init /w/workspace/device-rest-go/6 # timeout=10 19:09:43 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:09:43 > git --version # timeout=10 19:09:43 > git --version # 'git version 2.25.1' 19:09:43 using GIT_SSH to set credentials SSH Credentials for GitHub 19:09:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:09:46 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:09:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:09:48 Merging remotes/origin/main commit b9b57828cb91c1ed80a64c0f12d73d3d38017d14 into PR head commit 5406a81bc14e35dea807788b8be977acec42db7e 19:09:47 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:09:47 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:09:47 using GIT_SSH to set credentials SSH Credentials for GitHub 19:09:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:09:48 > git config core.sparsecheckout # timeout=10 19:09:48 > git checkout -f 5406a81bc14e35dea807788b8be977acec42db7e # timeout=10 19:09:48 > git remote # timeout=10 19:09:48 > git config --get remote.origin.url # timeout=10 19:09:48 using GIT_SSH to set credentials SSH Credentials for GitHub 19:09:48 > git merge b9b57828cb91c1ed80a64c0f12d73d3d38017d14 # timeout=10 19:09:48 Merge succeeded, producing 5406a81bc14e35dea807788b8be977acec42db7e 19:09:48 Checking out Revision 5406a81bc14e35dea807788b8be977acec42db7e (PR-318) 19:09:49 Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:09:48 > git rev-parse HEAD^{commit} # timeout=10 19:09:48 > git config core.sparsecheckout # timeout=10 19:09:48 > git checkout -f 5406a81bc14e35dea807788b8be977acec42db7e # timeout=10 19:09:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:09:56 % Total % Received % Xferd Average Speed Time Time Time Current 19:09:56 Dload Upload Total Spent Left Speed 19:09:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 161k 0 --:--:-- --:--:-- --:--:-- 159k [Pipeline] sh 19:09:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:09:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:09:57 + sudo tee /etc/docker/daemon.new 19:09:57 { 19:09:57 "registry-mirrors": [ 19:09:57 "https://nexus3.edgexfoundry.org:10001" 19:09:57 ], 19:09:57 "bip": "10.250.0.254/24", 19:09:57 "hosts": [ 19:09:57 "tcp://0.0.0.0:5555", 19:09:57 "unix:///var/run/docker.sock" 19:09:57 ], 19:09:57 "mtu": 1458, 19:09:57 "selinux-enabled": true, 19:09:57 "seccomp-profile": "/etc/docker/seccomp.json" 19:09:57 } [Pipeline] sh 19:09:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:09:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:10:16 provisioning config files... 19:10:16 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/6@tmp/config6105196246256008896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:10:16 ---> docker-login.sh 19:10:16 nexus3.edgexfoundry.org:10001 19:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:17 Configure a credential helper to remove this warning. See 19:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:17 19:10:17 Login Succeeded 19:10:17 nexus3.edgexfoundry.org:10002 19:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:17 Configure a credential helper to remove this warning. See 19:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:17 19:10:17 Login Succeeded 19:10:17 nexus3.edgexfoundry.org:10003 19:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:18 Configure a credential helper to remove this warning. See 19:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:18 19:10:18 Login Succeeded 19:10:18 nexus3.edgexfoundry.org:10004 19:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:18 Configure a credential helper to remove this warning. See 19:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:18 19:10:18 Login Succeeded 19:10:18 docker.io 19:10:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:10:19 Configure a credential helper to remove this warning. See 19:10:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:10:19 19:10:19 Login Succeeded 19:10:19 ---> docker-login.sh ends [Pipeline] } 19:10:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:10:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:10:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:10:19 ========================================================= 19:10:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:10:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:19 + 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 . 19:10:19 Sending build context to Docker daemon 139.3kB 19:10:20 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 19:10:20 Step 2/12 : FROM ${BASE} AS builder 19:10:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:10:20 c41833b44d91: Pulling fs layer 19:10:20 ed15518f5707: Pulling fs layer 19:10:20 feae8fd75edb: Pulling fs layer 19:10:20 242c74f7c9fa: Pulling fs layer 19:10:20 3cdef696dda3: Pulling fs layer 19:10:20 2ced38df9373: Pulling fs layer 19:10:20 58f1dce35555: Pulling fs layer 19:10:20 242c74f7c9fa: Waiting 19:10:20 3cdef696dda3: Waiting 19:10:20 2ced38df9373: Waiting 19:10:20 ed15518f5707: Verifying Checksum 19:10:20 ed15518f5707: Download complete 19:10:20 242c74f7c9fa: Verifying Checksum 19:10:20 242c74f7c9fa: Download complete 19:10:20 3cdef696dda3: Download complete 19:10:20 c41833b44d91: Verifying Checksum 19:10:20 c41833b44d91: Download complete 19:10:22 c41833b44d91: Pull complete 19:10:22 58f1dce35555: Verifying Checksum 19:10:22 58f1dce35555: Download complete 19:10:22 ed15518f5707: Pull complete 19:10:23 feae8fd75edb: Download complete 19:10:23 2ced38df9373: Verifying Checksum 19:10:23 2ced38df9373: Download complete 19:10:36 feae8fd75edb: Pull complete 19:10:36 242c74f7c9fa: Pull complete 19:10:36 3cdef696dda3: Pull complete 19:10:42 2ced38df9373: Pull complete 19:10:48 58f1dce35555: Pull complete 19:10:48 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 19:10:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:10:48 ---> fadd8f120f05 19:10:48 Step 3/12 : ARG ADD_BUILD_TAGS="" 19:10:50 ---> Running in 71356e4375a4 19:10:50 Removing intermediate container 71356e4375a4 19:10:50 ---> a12d04bb8cda 19:10:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:10:50 ---> Running in 4e3419406b50 19:10:50 Removing intermediate container 4e3419406b50 19:10:50 ---> 6202ce96008b 19:10:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:10:50 ---> Running in 533be4cb6917 19:10:51 Removing intermediate container 533be4cb6917 19:10:51 ---> bdeb5971015f 19:10:51 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 19:10:51 ---> Running in b5e7436ffebf 19:10:51 Removing intermediate container b5e7436ffebf 19:10:51 ---> 9869ff61ec6b 19:10:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:10:51 ---> Running in f3fb5a53a67f 19:10:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:10:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:10:55 (1/4) Installing openssh-keygen (9.1_p1-r3) 19:10:55 (2/4) Installing libedit (20221030.3.1-r0) 19:10:55 (3/4) Installing openssh-client-common (9.1_p1-r3) 19:10:55 (4/4) Installing openssh-client-default (9.1_p1-r3) 19:10:55 Executing busybox-1.35.0-r29.trigger 19:10:55 OK: 268 MiB in 57 packages 19:10:56 Removing intermediate container f3fb5a53a67f 19:10:56 ---> 28381c75a5c6 19:10:56 Step 8/12 : WORKDIR /device-rest-go 19:10:56 ---> Running in 036fb61530c1 19:10:56 Removing intermediate container 036fb61530c1 19:10:56 ---> de0706538611 19:10:56 Step 9/12 : COPY go.mod vendor* ./ 19:10:57 ---> 74235e52ab66 19:10:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:10:57 ---> Running in 0e04b9292ad2 19:12:19 Removing intermediate container 0e04b9292ad2 19:12:19 ---> dbcf9062037d 19:12:19 Step 11/12 : COPY . . 19:12:19 ---> f4eff3183e19 19:12:19 Step 12/12 : RUN $MAKE 19:12:19 ---> Running in 7e00ba670643 19:12:19 noop 19:12:19 Removing intermediate container 7e00ba670643 19:12:19 ---> 80e07261e067 19:12:19 Successfully built 80e07261e067 19:12:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:19 + docker inspect -f . ci-base-image-arm64 19:12:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:19 prd-ubuntu20.04-docker-arm64-4c-16g-15935 does not seem to be running inside a container 19:12:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:12:23 $ docker top 025dac65f2bd49577ed41709b136dd2f68e9c66f3c7e16dd533284eae22739e6 -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:24 + go version 19:12:24 go version go1.20.2 linux/arm64 [Pipeline] } 19:12:24 $ docker stop --time=1 025dac65f2bd49577ed41709b136dd2f68e9c66f3c7e16dd533284eae22739e6 19:12:26 $ docker rm -f --volumes 025dac65f2bd49577ed41709b136dd2f68e9c66f3c7e16dd533284eae22739e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:26 + docker inspect -f . ci-base-image-arm64 19:12:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:26 prd-ubuntu20.04-docker-arm64-4c-16g-15935 does not seem to be running inside a container 19:12:26 $ 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/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:12:28 $ docker top 370bea4554215ea6365d2c7c1d2c03c35ce06c73d15692d1021e68d0f31c572b -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:29 + git config --global --add safe.directory /w/workspace/device-rest-go/6 [Pipeline] fileExists [Pipeline] sh 19:12:29 + make test 19:12:29 go test ./... -coverprofile=coverage.out ./... 19:13:16 ? github.com/edgexfoundry/device-rest-go [no test files] 19:15:23 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:15:25 ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 32.2% of statements 19:15:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:15:26 go vet ./... 19:15:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:15:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:15:58 ./bin/test-attribution-txt.sh [Pipeline] echo 19:15:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:15:58 $ docker stop --time=1 370bea4554215ea6365d2c7c1d2c03c35ce06c73d15692d1021e68d0f31c572b 19:16:00 $ docker rm -f --volumes 370bea4554215ea6365d2c7c1d2c03c35ce06c73d15692d1021e68d0f31c572b [Pipeline] // withDockerContainer [Pipeline] sh 19:16:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:16:01 Warning: overwriting stash ‘coverage-report’ 19:16:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:16:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:16:03 + ls -al . 19:16:03 total 180 19:16:03 drwxrwxr-x 8 jenkins jenkins 4096 May 17 19:12 . 19:16:03 drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:09 .. 19:16:03 -rw-rw-r-- 1 jenkins jenkins 151 May 17 19:09 .dockerignore 19:16:03 drwxrwxr-x 8 jenkins jenkins 4096 May 17 19:09 .git 19:16:03 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:09 .github 19:16:03 -rw-rw-r-- 1 jenkins jenkins 329 May 17 19:09 .gitignore 19:16:03 -rw-rw-r-- 1 jenkins jenkins 41 May 17 19:09 .golangci.yml 19:16:03 -rw-rw-r-- 1 jenkins jenkins 9331 May 17 19:09 Attribution.txt 19:16:03 -rw-rw-r-- 1 jenkins jenkins 13085 May 17 19:09 CHANGELOG.md 19:16:03 -rw-rw-r-- 1 jenkins jenkins 1578 May 17 19:09 Dockerfile 19:16:03 -rw-rw-r-- 1 jenkins jenkins 677 May 17 19:09 GOVERNANCE.md 19:16:03 -rw-rw-r-- 1 jenkins jenkins 680 May 17 19:09 Jenkinsfile 19:16:03 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 19:09 LICENSE 19:16:03 -rw-rw-r-- 1 jenkins jenkins 1779 May 17 19:09 Makefile 19:16:03 -rw-rw-r-- 1 jenkins jenkins 620 May 17 19:09 OWNERS.md 19:16:03 -rw-rw-r-- 1 jenkins jenkins 15827 May 17 19:09 README.md 19:16:03 -rw-rw-r-- 1 jenkins jenkins 5 May 17 19:04 VERSION 19:16:03 drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:09 bin 19:16:03 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:09 cmd 19:16:03 -rw-r--r-- 1 jenkins jenkins 14663 May 17 19:15 coverage.out 19:16:03 drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:09 driver 19:16:03 -rw-rw-r-- 1 jenkins jenkins 3402 May 17 19:09 go.mod 19:16:03 -rw-rw-r-- 1 jenkins jenkins 31328 May 17 19:09 go.sum 19:16:03 drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:09 snap 19:16:03 -rw-rw-r-- 1 jenkins jenkins 713 May 17 19:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:16:03 + 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=5406a81bc14e35dea807788b8be977acec42db7e --label arch=arm64 --label version=0.0.0 . 19:16:03 Sending build context to Docker daemon 154.6kB 19:16:03 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 19:16:03 Step 2/25 : FROM ${BASE} AS builder 19:16:03 ---> 80e07261e067 19:16:03 Step 3/25 : ARG ADD_BUILD_TAGS="" 19:16:03 ---> Running in 43e4d6713393 19:16:04 Removing intermediate container 43e4d6713393 19:16:04 ---> f0ee89af0da7 19:16:04 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:16:04 ---> Running in b2b6c59ee288 19:16:04 Removing intermediate container b2b6c59ee288 19:16:04 ---> 3075997521d0 19:16:04 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:16:04 ---> Running in c28f3073a5ce 19:16:05 Removing intermediate container c28f3073a5ce 19:16:05 ---> 2b8afcc8be44 19:16:05 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 19:16:05 ---> Running in a1e18ef59c6e 19:16:05 Removing intermediate container a1e18ef59c6e 19:16:05 ---> d8f0b5b80e34 19:16:05 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:16:05 ---> Running in eb20f2b20fa8 19:16:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:16:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:16:08 OK: 268 MiB in 57 packages 19:16:09 Removing intermediate container eb20f2b20fa8 19:16:09 ---> ea0ede092397 19:16:09 Step 8/25 : WORKDIR /device-rest-go 19:16:09 ---> Running in 25d5a0d5d744 19:16:10 Removing intermediate container 25d5a0d5d744 19:16:10 ---> c36e684cb64d 19:16:10 Step 9/25 : COPY go.mod vendor* ./ 19:16:10 ---> ac71f788e125 19:16:10 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:16:10 ---> Running in ec63c1138936 19:16:13 Removing intermediate container ec63c1138936 19:16:13 ---> 0257dbeeb4fb 19:16:13 Step 11/25 : COPY . . 19:16:13 ---> 38aa77254901 19:16:13 Step 12/25 : RUN $MAKE 19:16:13 ---> Running in 68a20a2e9371 19:16:15 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 19:18:52 Removing intermediate container 68a20a2e9371 19:18:52 ---> eb1a321cf29d 19:18:52 Step 13/25 : FROM alpine:3.17 19:18:52 3.17: Pulling from library/alpine 19:18:52 c41833b44d91: Already exists 19:18:52 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:18:52 Status: Downloaded newer image for alpine:3.17 19:18:52 ---> 51e60588ff2c 19:18:52 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:18:52 ---> Running in 4a3155e0659b 19:18:52 Removing intermediate container 4a3155e0659b 19:18:52 ---> 3b5fd475cf94 19:18:52 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 19:18:52 ---> Running in b3ba8bb5537b 19:18:52 Removing intermediate container b3ba8bb5537b 19:18:52 ---> 5a8a9d3c34b5 19:18:52 Step 16/25 : RUN apk add --update --no-cache dumb-init 19:18:52 ---> Running in abd426362c03 19:18:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:18:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:18:52 (1/1) Installing dumb-init (1.2.5-r2) 19:18:52 Executing busybox-1.35.0-r29.trigger 19:18:52 OK: 8 MiB in 16 packages 19:18:52 Removing intermediate container abd426362c03 19:18:52 ---> 9ca72f71e3db 19:18:52 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 19:18:52 ---> 3e16db97863c 19:18:52 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 19:18:52 ---> a0833a798b59 19:18:52 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 19:18:52 ---> 9743acbc78f3 19:18:52 Step 20/25 : EXPOSE 59986 19:18:52 ---> Running in a28c9af3f923 19:18:52 Removing intermediate container a28c9af3f923 19:18:52 ---> 50c6e5d821f4 19:18:52 Step 21/25 : ENTRYPOINT ["/device-rest"] 19:18:52 ---> Running in 601d855a87fa 19:18:52 Removing intermediate container 601d855a87fa 19:18:52 ---> 04c608ecc8b7 19:18:52 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:18:52 ---> Running in 870f08fd2945 19:18:52 Removing intermediate container 870f08fd2945 19:18:52 ---> 154b8eb0212b 19:18:52 Step 23/25 : LABEL arch=arm64 19:18:52 ---> Running in 2f2ffc362a7b 19:18:52 Removing intermediate container 2f2ffc362a7b 19:18:52 ---> 9f55adb7c351 19:18:52 Step 24/25 : LABEL git_sha=5406a81bc14e35dea807788b8be977acec42db7e 19:18:52 ---> Running in 681069a1b58d 19:18:52 Removing intermediate container 681069a1b58d 19:18:52 ---> 8897578f0f8f 19:18:52 Step 25/25 : LABEL version=0.0.0 19:18:52 ---> Running in 69d0228bb584 19:18:52 Removing intermediate container 69d0228bb584 19:18:52 ---> 557200b34bd1 19:18:52 [Warning] One or more build-args [ARCH] were not consumed 19:18:52 Successfully built 557200b34bd1 19:18:52 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 19:18:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:18:52 19:18:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:18:52 arm64: Pulling from edgex-lftools-log-publisher 19:18:52 8998bd30e6a1: Pulling fs layer 19:18:52 04944245beec: Pulling fs layer 19:18:52 699f458cf7ca: Pulling fs layer 19:18:52 765212b225bb: Pulling fs layer 19:18:52 f23df028b6ca: Pulling fs layer 19:18:52 d65c8cfc05b1: Pulling fs layer 19:18:52 2437ff75d9bd: Pulling fs layer 19:18:52 765212b225bb: Waiting 19:18:52 f23df028b6ca: Waiting 19:18:52 d65c8cfc05b1: Waiting 19:18:52 2437ff75d9bd: Waiting 19:18:53 04944245beec: Verifying Checksum 19:18:53 04944245beec: Download complete 19:18:53 765212b225bb: Verifying Checksum 19:18:53 765212b225bb: Download complete 19:18:53 f23df028b6ca: Verifying Checksum 19:18:53 f23df028b6ca: Download complete 19:18:53 d65c8cfc05b1: Verifying Checksum 19:18:53 d65c8cfc05b1: Download complete 19:18:53 699f458cf7ca: Verifying Checksum 19:18:53 699f458cf7ca: Download complete 19:18:53 8998bd30e6a1: Verifying Checksum 19:18:53 8998bd30e6a1: Download complete 19:18:56 2437ff75d9bd: Verifying Checksum 19:18:56 2437ff75d9bd: Download complete 19:18:57 8998bd30e6a1: Pull complete 19:18:57 04944245beec: Pull complete 19:18:59 699f458cf7ca: Pull complete 19:18:59 765212b225bb: Pull complete 19:19:00 f23df028b6ca: Pull complete 19:19:00 d65c8cfc05b1: Pull complete 19:19:12 2437ff75d9bd: Pull complete 19:19:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:19:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:19:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:12 prd-ubuntu20.04-docker-arm64-4c-16g-15935 does not seem to be running inside a container 19:19:12 $ 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/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:19:15 $ docker top 4597bc59fb216dd372c22bc545abdffd3319aba8380292efc81c8b4a4e2a4426 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:16 ---> job-cost.sh 19:19:16 lf-activate-venv: SKIPPING 19:19:16 INFO: No Stack... 19:19:16 INFO: Retrieving Pricing Info for: v3-standard-4 19:19:17 INFO: Archiving Costs [Pipeline] sh 19:19:17 + cut -d,+ -f6 19:19:17 cat /w/workspace/device-rest-go/6/archives/cost.csv [Pipeline] lock 19:19:17 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-318-6-stack-cost] 19:19:17 Resource [jenkins-edgexfoundry-device-rest-go-PR-318-6-stack-cost] did not exist. Created. 19:19:17 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-318-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:19:18 /w/workspace/device-rest-go/6@tmp/durable-a082c520/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:19:19 + echo total: 0.10999999940395355 [Pipeline] stash 19:19:19 Warning: overwriting stash ‘stack-cost’ 19:19:19 Stashed 1 file(s) [Pipeline] } 19:19:19 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-318-6-stack-cost] [Pipeline] // lock [Pipeline] } 19:19:19 $ docker stop --time=1 4597bc59fb216dd372c22bc545abdffd3319aba8380292efc81c8b4a4e2a4426 19:19:20 $ docker rm -f --volumes 4597bc59fb216dd372c22bc545abdffd3319aba8380292efc81c8b4a4e2a4426 [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 19:19:20 provisioning config files... 19:19:20 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config8110785079777094893tmp [Pipeline] { [Pipeline] sh 19:19:21 + set +x 19:19:21 + curl -s https://codecov.io/bash 19:19:21 + bash -s -- 19:19:21 19:19:21 _____ _ 19:19:21 / ____| | | 19:19:21 | | ___ __| | ___ ___ _____ __ 19:19:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:19:21 | |___| (_) | (_| | __/ (_| (_) \ V / 19:19:21 \_____\___/ \__,_|\___|\___\___/ \_/ 19:19:21 Bash-1.0.6 19:19:21 19:19:21 19:19:21 ==> git version 2.25.1 found 19:19:21 ==> 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 19:19:21 Release-Date: 2020-01-08 19:19:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:19:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:19:21 ==> Jenkins CI detected. 19:19:21 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-318 19:19:21 project root: . 19:19:21 --> token set from env 19:19:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:19:21 ==> Running gcov in . (disable via -X gcov) 19:19:21 ==> Python coveragepy not found 19:19:21 ==> Searching for coverage reports in: 19:19:21 + . 19:19:21 -> Found 1 reports 19:19:21 ==> Detecting git/mercurial file structure 19:19:21 ==> Reading reports 19:19:21 + ./coverage.out bytes=14663 19:19:21 ==> Appending adjustments 19:19:21 https://docs.codecov.io/docs/fixing-reports 19:19:21 + Found adjustments 19:19:21 ==> Gzipping contents 19:19:21 4.0K /tmp/codecov.eAur40.gz 19:19:21 ==> Uploading reports 19:19:21 url: https://codecov.io 19:19:21 query: branch=PR-318&commit=5406a81bc14e35dea807788b8be977acec42db7e&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-318%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=318&job=&cmd_args= 19:19:21 -> Pinging Codecov 19:19:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-318&commit=5406a81bc14e35dea807788b8be977acec42db7e&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-318%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=318&job=&cmd_args= 19:19:21 -> Uploading to 19:19:21 https://storage.googleapis.com/codecov/v4/raw/2023-05-17/4E5D53B4F1F92C436F7061BF334D961C/5406a81bc14e35dea807788b8be977acec42db7e/62274eb5-ed84-43f2-a531-968dd9b1aef7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230517T191921Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7b31ebc851a767dd615feca92ed1481c418566173616b48ac8d9fb583017cddf 19:19:21 % Total % Received % Xferd Average Speed Time Time Time Current 19:19:21 Dload Upload Total Spent Left Speed 19:19:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11895 --:--:-- --:--:-- --:--:-- 11895 19:19:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/5406a81bc14e35dea807788b8be977acec42db7e [Pipeline] } 19:19:21 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 19:19:22 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-318/archives ] 19:19:22 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-318/archives 19:19:22 total 16 19:19:22 drwxr-xr-x 3 root root 4096 May 17 19:06 . 19:19:22 drwxrwxr-x 10 jenkins jenkins 4096 May 17 19:06 .. 19:19:22 drwxr-xr-x 2 root root 4096 May 17 19:06 cost 19:19:22 -rw-r--r-- 1 root root 86 May 17 19:06 cost.csv 19:19:22 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-318/archives 19:19:22 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-318/archives 19:19:22 total 16 19:19:22 drwxr-xr-x 3 jenkins jenkins 4096 May 17 19:06 . 19:19:22 drwxrwxr-x 10 jenkins jenkins 4096 May 17 19:06 .. 19:19:22 drwxr-xr-x 2 jenkins jenkins 4096 May 17 19:06 cost 19:19:22 -rw-r--r-- 1 jenkins jenkins 86 May 17 19:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:19:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:19:23 ---> package-listing.sh 19:19:23 ++ facter osfamily 19:19:23 ++ tr '[:upper:]' '[:lower:]' 19:19:23 + OS_FAMILY=debian 19:19:23 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-318 19:19:23 + START_PACKAGES=/tmp/packages_start.txt 19:19:23 + END_PACKAGES=/tmp/packages_end.txt 19:19:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:19:23 + PACKAGES=/tmp/packages_start.txt 19:19:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-318 ']' 19:19:23 + PACKAGES=/tmp/packages_end.txt 19:19:23 + case "${OS_FAMILY}" in 19:19:23 + dpkg -l 19:19:23 + grep '^ii' 19:19:23 + '[' -f /tmp/packages_start.txt ']' 19:19:23 + '[' -f /tmp/packages_end.txt ']' 19:19:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:19:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-318 ']' 19:19:23 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-318/archives/ 19:19:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-318/archives/ [Pipeline] echo 19:19:23 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-318/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:19:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:19:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:24 prd-ubuntu20.04-docker-8c-8g-15928 does not seem to be running inside a container 19:19:24 $ 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-318/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-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:19:25 $ docker top 664850540c656c407282e7b30ddfa99169d2da0bb91702a4f73cd3947ae7df22 -eo pid,comm [Pipeline] { [Pipeline] sh 19:19:25 + touch /tmp/pre-build-complete [Pipeline] sh 19:19:25 + mkdir -p /var/log/sysstat [Pipeline] sh 19:19:25 + ls /var/log/sa-host 19:19:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:19:26 provisioning config files... 19:19:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config8673062617229998124tmp [Pipeline] { [Pipeline] echo 19:19:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:19:26 ---> create-netrc.sh [Pipeline] } 19:19:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:19:26 ---> python-tools-install.sh [Pipeline] echo 19:19:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:19:26 ---> sudo-logs.sh 19:19:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:19:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:19:27 ---> job-cost.sh 19:19:27 lf-activate-venv: SKIPPING 19:19:27 DEBUG: total: 0.2199999988079071 19:19:27 INFO: Retrieving Stack Cost... 19:19:27 INFO: Retrieving Pricing Info for: v3-standard-8 19:19:28 INFO: Archiving Costs [Pipeline] echo 19:19:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:19:28 ---> logs-deploy.sh 19:19:28 lf-activate-venv: SKIPPING 19:19:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-318/6 19:19:28 INFO: archiving workspace using pattern(s): 19:19:29 Archives upload complete. 19:19:29 INFO: archiving logs to Nexus