Pull request #236 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 7f76c9332ba923fe7361eff16a9cf1f456f11020+a09ef0c5b5718b7e2deeb983e8068139a6f667f6 (db3b8eae48472724ad298f02b60a98f3f2c50a01) 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-ssh10850189263720879189.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh18041503227060654530.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-236/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-236/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12826050334647286211.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh9376411669147576499.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-236/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-236/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16326286920595695674.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.18 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 Running on prd-ubuntu20.04-docker-8c-8g-1768 in /w/workspace/gexfoundry_device-rest-go_PR-236 [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-236 # 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 Merging remotes/origin/main commit a09ef0c5b5718b7e2deeb983e8068139a6f667f6 into PR head commit 7f76c9332ba923fe7361eff16a9cf1f456f11020 Merge succeeded, producing 7f76c9332ba923fe7361eff16a9cf1f456f11020 Checking out Revision 7f76c9332ba923fe7361eff16a9cf1f456f11020 (PR-236) > 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/236/head:refs/remotes/origin/PR-236 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7f76c9332ba923fe7361eff16a9cf1f456f11020 # 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 a09ef0c5b5718b7e2deeb983e8068139a6f667f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7f76c9332ba923fe7361eff16a9cf1f456f11020 # timeout=10 Commit message: "refactor!: Rework code for refactored MessageBus Configuration" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-11T00:08:38.493Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-11T00:08:38.558Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-11T00:08:38.583Z] ========================================================= [2023-01-11T00:08:38.583Z] EdgeX Global Pipelines Version Info [2023-01-11T00:08:38.583Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0db921cb73de7c92ef95eb0396f10aedf575380b # timeout=10 [2023-01-11T00:08:39.310Z] ------------------- [2023-01-11T00:08:39.310Z] stable info: [2023-01-11T00:08:39.310Z] ------------------- [2023-01-11T00:08:39.310Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-11T00:08:39.310Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T00:08:39.310Z] Message: update stable to v1.0.244 [2023-01-11T00:08:39.883Z] ------------------- [2023-01-11T00:08:39.883Z] experimental info: [2023-01-11T00:08:39.883Z] ------------------- [2023-01-11T00:08:39.883Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-11T00:08:39.883Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T00:08:39.883Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-11T00:08:40.077Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-01-11T00:08:40.089Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-01-11T00:08:40.101Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-11T00:08:40.112Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-11T00:08:40.126Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-11T00:08:40.139Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-11T00:08:40.152Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-11T00:08:40.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-11T00:08:40.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-11T00:08:40.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-11T00:08:40.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-11T00:08:40.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-01-11T00:08:40.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-11T00:08:40.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-11T00:08:40.255Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T00:08:40.267Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T00:08:40.278Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T00:08:40.292Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T00:08:40.305Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-11T00:08:40.320Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-11T00:08:40.332Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-11T00:08:40.347Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-11T00:08:40.358Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-11T00:08:40.370Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-11T00:08:40.382Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-11T00:08:40.394Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-11T00:08:40.404Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-11T00:08:40.412Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-236 [Pipeline] echo [2023-01-11T00:08:40.421Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-236 [Pipeline] echo [2023-01-11T00:08:40.429Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-236 [Pipeline] echo [2023-01-11T00:08:40.444Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f76c9332ba923fe7361eff16a9cf1f456f11020 [Pipeline] echo [2023-01-11T00:08:40.458Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f76c93 [Pipeline] echo [2023-01-11T00:08:40.479Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T00:08:40.523Z] provisioning config files... [2023-01-11T00:08:40.538Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/config12269647236010983391tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T00:08:40.833Z] ---> docker-login.sh [2023-01-11T00:08:40.833Z] nexus3.edgexfoundry.org:10001 [2023-01-11T00:08:41.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:08:41.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:08:41.094Z] Configure a credential helper to remove this warning. See [2023-01-11T00:08:41.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:08:41.094Z] [2023-01-11T00:08:41.094Z] Login Succeeded [2023-01-11T00:08:41.094Z] nexus3.edgexfoundry.org:10002 [2023-01-11T00:08:41.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:08:41.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:08:41.094Z] Configure a credential helper to remove this warning. See [2023-01-11T00:08:41.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:08:41.094Z] [2023-01-11T00:08:41.094Z] Login Succeeded [2023-01-11T00:08:41.094Z] nexus3.edgexfoundry.org:10003 [2023-01-11T00:08:41.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:08:41.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:08:41.354Z] Configure a credential helper to remove this warning. See [2023-01-11T00:08:41.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:08:41.354Z] [2023-01-11T00:08:41.354Z] Login Succeeded [2023-01-11T00:08:41.354Z] nexus3.edgexfoundry.org:10004 [2023-01-11T00:08:41.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:08:41.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:08:41.354Z] Configure a credential helper to remove this warning. See [2023-01-11T00:08:41.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:08:41.354Z] [2023-01-11T00:08:41.354Z] Login Succeeded [2023-01-11T00:08:41.354Z] docker.io [2023-01-11T00:08:41.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:08:41.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:08:41.616Z] Configure a credential helper to remove this warning. See [2023-01-11T00:08:41.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:08:41.616Z] [2023-01-11T00:08:41.616Z] Login Succeeded [2023-01-11T00:08:41.616Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T00:08:41.625Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-11T00:08:41.996Z] + git rev-list -1 --merges 7f76c9332ba923fe7361eff16a9cf1f456f11020~1..7f76c9332ba923fe7361eff16a9cf1f456f11020 [Pipeline] echo [2023-01-11T00:08:42.021Z] -----------> git rev-list -1 --merges 7f76c9332ba923fe7361eff16a9cf1f456f11020~1..7f76c9332ba923fe7361eff16a9cf1f456f11020 7f76c9332ba923fe7361eff16a9cf1f456f11020 [false] [Pipeline] sh [2023-01-11T00:08:42.307Z] + git log --format=format:%s -1 7f76c9332ba923fe7361eff16a9cf1f456f11020 [Pipeline] echo [2023-01-11T00:08:42.321Z] ========================================================= [2023-01-11T00:08:42.321Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-11T00:08:42.321Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T00:08:42.637Z] + git log --format=format:%s -1 7f76c9332ba923fe7361eff16a9cf1f456f11020 [Pipeline] echo [2023-01-11T00:08:42.650Z] [semverPrep] GIT_COMMIT: 7f76c9332ba923fe7361eff16a9cf1f456f11020, Commit Message: refactor!: Rework code for refactored MessageBus Configuration [Pipeline] echo [2023-01-11T00:08:42.657Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-11T00:08:43.033Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T00:08:43.033Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-11T00:08:43.033Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-11T00:08:43.033Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-11T00:08:43.033Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-11T00:08:43.033Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-11T00:08:43.033Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:08:43.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T00:08:43.432Z] [2023-01-11T00:08:43.432Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:08:43.733Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T00:08:43.733Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-11T00:08:43.733Z] b85a868b505f: Pulling fs layer [2023-01-11T00:08:43.733Z] e2be974225ed: Pulling fs layer [2023-01-11T00:08:43.733Z] 339a4e72a1f5: Pulling fs layer [2023-01-11T00:08:43.733Z] 988bab9f4d93: Pulling fs layer [2023-01-11T00:08:43.733Z] 1469e6f7b9e6: Pulling fs layer [2023-01-11T00:08:43.733Z] eaf3925da568: Pulling fs layer [2023-01-11T00:08:43.733Z] bab4dde63d76: Pulling fs layer [2023-01-11T00:08:43.733Z] bde34c3a00c8: Pulling fs layer [2023-01-11T00:08:43.733Z] b352a97aabf1: Pulling fs layer [2023-01-11T00:08:43.733Z] 4872d77fe225: Pulling fs layer [2023-01-11T00:08:43.733Z] 988bab9f4d93: Waiting [2023-01-11T00:08:43.733Z] 5851b861e8e6: Pulling fs layer [2023-01-11T00:08:43.733Z] eaf3925da568: Waiting [2023-01-11T00:08:43.733Z] 1469e6f7b9e6: Waiting [2023-01-11T00:08:43.733Z] bde34c3a00c8: Waiting [2023-01-11T00:08:43.733Z] bab4dde63d76: Waiting [2023-01-11T00:08:43.733Z] b352a97aabf1: Waiting [2023-01-11T00:08:43.733Z] 4872d77fe225: Waiting [2023-01-11T00:08:43.733Z] 5851b861e8e6: Waiting [2023-01-11T00:08:43.733Z] e2be974225ed: Download complete [2023-01-11T00:08:43.733Z] 988bab9f4d93: Download complete [2023-01-11T00:08:43.991Z] 1469e6f7b9e6: Verifying Checksum [2023-01-11T00:08:43.991Z] 1469e6f7b9e6: Download complete [2023-01-11T00:08:43.991Z] eaf3925da568: Verifying Checksum [2023-01-11T00:08:43.991Z] eaf3925da568: Download complete [2023-01-11T00:08:43.991Z] 339a4e72a1f5: Verifying Checksum [2023-01-11T00:08:43.991Z] 339a4e72a1f5: Download complete [2023-01-11T00:08:43.991Z] bde34c3a00c8: Download complete [2023-01-11T00:08:43.991Z] b352a97aabf1: Verifying Checksum [2023-01-11T00:08:43.991Z] b352a97aabf1: Download complete [2023-01-11T00:08:43.991Z] 4872d77fe225: Download complete [2023-01-11T00:08:43.991Z] 5851b861e8e6: Verifying Checksum [2023-01-11T00:08:43.991Z] 5851b861e8e6: Download complete [2023-01-11T00:08:43.991Z] b85a868b505f: Verifying Checksum [2023-01-11T00:08:43.991Z] b85a868b505f: Download complete [2023-01-11T00:08:44.563Z] bab4dde63d76: Verifying Checksum [2023-01-11T00:08:44.563Z] bab4dde63d76: Download complete [2023-01-11T00:08:45.499Z] b85a868b505f: Pull complete [2023-01-11T00:08:45.499Z] e2be974225ed: Pull complete [2023-01-11T00:08:46.065Z] 339a4e72a1f5: Pull complete [2023-01-11T00:08:46.065Z] 988bab9f4d93: Pull complete [2023-01-11T00:08:46.324Z] 1469e6f7b9e6: Pull complete [2023-01-11T00:08:46.324Z] eaf3925da568: Pull complete [2023-01-11T00:08:48.222Z] bab4dde63d76: Pull complete [2023-01-11T00:08:48.222Z] bde34c3a00c8: Pull complete [2023-01-11T00:08:48.222Z] b352a97aabf1: Pull complete [2023-01-11T00:08:48.222Z] 4872d77fe225: Pull complete [2023-01-11T00:08:48.481Z] 5851b861e8e6: Pull complete [2023-01-11T00:08:48.481Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-11T00:08:48.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T00:08:48.481Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T00:08:48.561Z] prd-ubuntu20.04-docker-8c-8g-1768 does not seem to be running inside a container [2023-01-11T00:08:48.610Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-236 -v /w/workspace/gexfoundry_device-rest-go_PR-236:/w/workspace/gexfoundry_device-rest-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-236@tmp:/w/workspace/gexfoundry_device-rest-go_PR-236@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-11T00:08:50.464Z] $ docker top 2e7d83a32a6d6c8898c07c37874954154ffea20c6c72d7ea39dd6cbc57efdba7 -eo pid,comm [2023-01-11T00:08:50.518Z] 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). [2023-01-11T00:08:50.518Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T00:08:50.557Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T00:08:50.558Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T00:08:50.678Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T00:08:50.682Z] $ docker exec 2e7d83a32a6d6c8898c07c37874954154ffea20c6c72d7ea39dd6cbc57efdba7 ssh-agent [2023-01-11T00:08:50.780Z] SSH_AUTH_SOCK=/tmp/ssh-ULcxdW2lIa7r/agent.31 [2023-01-11T00:08:50.780Z] SSH_AGENT_PID=37 [2023-01-11T00:08:50.785Z] Running ssh-add (command line suppressed) [2023-01-11T00:08:50.889Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-236@tmp/private_key_14756433476171954861.key (/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/private_key_14756433476171954861.key) [2023-01-11T00:08:50.902Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T00:08:51.189Z] + git tag --points-at HEAD [Pipeline] } [2023-01-11T00:08:51.203Z] $ docker exec --env ******** --env ******** 2e7d83a32a6d6c8898c07c37874954154ffea20c6c72d7ea39dd6cbc57efdba7 ssh-agent -k [2023-01-11T00:08:51.300Z] unset SSH_AUTH_SOCK; [2023-01-11T00:08:51.300Z] unset SSH_AGENT_PID; [2023-01-11T00:08:51.300Z] echo Agent pid 37 killed; [2023-01-11T00:08:51.309Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-11T00:08:51.332Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T00:08:51.332Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T00:08:51.436Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T00:08:51.440Z] $ docker exec 2e7d83a32a6d6c8898c07c37874954154ffea20c6c72d7ea39dd6cbc57efdba7 ssh-agent [2023-01-11T00:08:51.552Z] SSH_AUTH_SOCK=/tmp/ssh-DJc6MkE71h6M/agent.68 [2023-01-11T00:08:51.552Z] SSH_AGENT_PID=74 [2023-01-11T00:08:51.557Z] Running ssh-add (command line suppressed) [2023-01-11T00:08:51.658Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-236@tmp/private_key_14438169239444494596.key (/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/private_key_14438169239444494596.key) [2023-01-11T00:08:51.676Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T00:08:51.965Z] + git semver init [2023-01-11T00:08:52.223Z] 2023-01-11 00:08:52,152 [run_init] DEBUG init version:0.0.0 force:False [2023-01-11T00:08:52.223Z] 2023-01-11 00:08:52,153 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-236/.semver [2023-01-11T00:08:52.223Z] 2023-01-11 00:08:52,153 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-236/.semver [2023-01-11T00:08:52.224Z] 2023-01-11 00:08:52,153 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-236/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-236, universal_newlines=False, shell=None, istream=None) [2023-01-11T00:08:53.602Z] 2023-01-11 00:08:53,418 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-236/.git/info/exclude [2023-01-11T00:08:53.602Z] 2023-01-11 00:08:53,418 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-236/.semver/PR-236 with force:False [2023-01-11T00:08:53.602Z] 2023-01-11 00:08:53,418 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-236/.semver/PR-236 [2023-01-11T00:08:53.602Z] 2023-01-11 00:08:53,423 [execute] INFO git cat-file --batch-check [2023-01-11T00:08:53.602Z] 2023-01-11 00:08:53,423 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-236/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T00:08:53.602Z] 2023-01-11 00:08:53,428 [execute] INFO git cat-file --batch [2023-01-11T00:08:53.602Z] 2023-01-11 00:08:53,429 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-236/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T00:08:53.602Z] 2023-01-11 00:08:53,434 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-236/.semver/PR-236 [2023-01-11T00:08:53.602Z] 0.0.0 [Pipeline] } [2023-01-11T00:08:53.614Z] $ docker exec --env ******** --env ******** 2e7d83a32a6d6c8898c07c37874954154ffea20c6c72d7ea39dd6cbc57efdba7 ssh-agent -k [2023-01-11T00:08:53.716Z] unset SSH_AUTH_SOCK; [2023-01-11T00:08:53.716Z] unset SSH_AGENT_PID; [2023-01-11T00:08:53.716Z] echo Agent pid 74 killed; [2023-01-11T00:08:53.726Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T00:08:54.029Z] + git semver [Pipeline] } [2023-01-11T00:08:54.304Z] $ docker stop --time=1 2e7d83a32a6d6c8898c07c37874954154ffea20c6c72d7ea39dd6cbc57efdba7 [2023-01-11T00:08:55.598Z] $ docker rm -f --volumes 2e7d83a32a6d6c8898c07c37874954154ffea20c6c72d7ea39dd6cbc57efdba7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T00:08:55.923Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-11T00:08:56.121Z] Stashed 1 file(s) [Pipeline] echo [2023-01-11T00:08:56.125Z] [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 [2023-01-11T00:08:56.278Z] provisioning config files... [2023-01-11T00:08:56.288Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/config8175625435767519188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T00:08:56.587Z] ---> docker-login.sh [2023-01-11T00:08:56.588Z] nexus3.edgexfoundry.org:10001 [2023-01-11T00:08:56.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:08:56.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:08:56.588Z] Configure a credential helper to remove this warning. See [2023-01-11T00:08:56.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:08:56.588Z] [2023-01-11T00:08:56.588Z] Login Succeeded [2023-01-11T00:08:56.588Z] nexus3.edgexfoundry.org:10002 [2023-01-11T00:08:56.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:08:56.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:08:56.588Z] Configure a credential helper to remove this warning. See [2023-01-11T00:08:56.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:08:56.588Z] [2023-01-11T00:08:56.588Z] Login Succeeded [2023-01-11T00:08:56.588Z] nexus3.edgexfoundry.org:10003 [2023-01-11T00:08:56.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:08:56.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:08:56.847Z] Configure a credential helper to remove this warning. See [2023-01-11T00:08:56.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:08:56.847Z] [2023-01-11T00:08:56.847Z] Login Succeeded [2023-01-11T00:08:56.847Z] nexus3.edgexfoundry.org:10004 [2023-01-11T00:08:56.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:08:56.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:08:56.847Z] Configure a credential helper to remove this warning. See [2023-01-11T00:08:56.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:08:56.847Z] [2023-01-11T00:08:56.847Z] Login Succeeded [2023-01-11T00:08:56.847Z] docker.io [2023-01-11T00:08:57.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:08:57.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:08:57.106Z] Configure a credential helper to remove this warning. See [2023-01-11T00:08:57.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:08:57.106Z] [2023-01-11T00:08:57.106Z] Login Succeeded [2023-01-11T00:08:57.106Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T00:08:57.113Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T00:08:57.171Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T00:08:57.180Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T00:08:57.187Z] ========================================================= [2023-01-11T00:08:57.187Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-11T00:08:57.187Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:08:57.491Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T00:08:57.491Z] Sending build context to Docker daemon 10.79MB [2023-01-11T00:08:57.491Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T00:08:57.491Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-11T00:08:57.491Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-11T00:08:57.491Z] 213ec9aee27d: Pulling fs layer [2023-01-11T00:08:57.491Z] 4583459ba037: Pulling fs layer [2023-01-11T00:08:57.491Z] 93c1e223e6f2: Pulling fs layer [2023-01-11T00:08:57.491Z] 53926ce57604: Pulling fs layer [2023-01-11T00:08:57.491Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-11T00:08:57.491Z] 22ff95d597cd: Pulling fs layer [2023-01-11T00:08:57.491Z] 12d6caf4c0d1: Pulling fs layer [2023-01-11T00:08:57.491Z] 96b7cbca73a9: Pulling fs layer [2023-01-11T00:08:57.491Z] a7acece74701: Pulling fs layer [2023-01-11T00:08:57.491Z] 53926ce57604: Waiting [2023-01-11T00:08:57.491Z] 21b2b0c7a3f4: Waiting [2023-01-11T00:08:57.491Z] 22ff95d597cd: Waiting [2023-01-11T00:08:57.491Z] 12d6caf4c0d1: Waiting [2023-01-11T00:08:57.491Z] 96b7cbca73a9: Waiting [2023-01-11T00:08:57.491Z] 93c1e223e6f2: Verifying Checksum [2023-01-11T00:08:57.491Z] 93c1e223e6f2: Download complete [2023-01-11T00:08:57.491Z] 4583459ba037: Verifying Checksum [2023-01-11T00:08:57.491Z] 4583459ba037: Download complete [2023-01-11T00:08:57.491Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-11T00:08:57.491Z] 21b2b0c7a3f4: Download complete [2023-01-11T00:08:57.759Z] 22ff95d597cd: Verifying Checksum [2023-01-11T00:08:57.759Z] 22ff95d597cd: Download complete [2023-01-11T00:08:57.759Z] 213ec9aee27d: Download complete [2023-01-11T00:08:57.759Z] 12d6caf4c0d1: Verifying Checksum [2023-01-11T00:08:57.759Z] 12d6caf4c0d1: Download complete [2023-01-11T00:08:57.759Z] 213ec9aee27d: Pull complete [2023-01-11T00:08:58.031Z] 4583459ba037: Pull complete [2023-01-11T00:08:58.031Z] 93c1e223e6f2: Pull complete [2023-01-11T00:08:58.307Z] a7acece74701: Verifying Checksum [2023-01-11T00:08:58.307Z] a7acece74701: Download complete [2023-01-11T00:08:58.571Z] 53926ce57604: Verifying Checksum [2023-01-11T00:08:58.571Z] 53926ce57604: Download complete [2023-01-11T00:08:58.833Z] 96b7cbca73a9: Verifying Checksum [2023-01-11T00:08:58.834Z] 96b7cbca73a9: Download complete [2023-01-11T00:09:02.114Z] 53926ce57604: Pull complete [2023-01-11T00:09:02.372Z] 21b2b0c7a3f4: Pull complete [2023-01-11T00:09:02.372Z] 22ff95d597cd: Pull complete [2023-01-11T00:09:02.372Z] 12d6caf4c0d1: Pull complete [2023-01-11T00:09:04.269Z] 96b7cbca73a9: Pull complete [2023-01-11T00:09:05.203Z] a7acece74701: Pull complete [2023-01-11T00:09:05.203Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-11T00:09:05.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-11T00:09:05.203Z] ---> db6d94c90886 [2023-01-11T00:09:05.203Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-11T00:09:08.494Z] ---> Running in a41be6913746 [2023-01-11T00:09:08.494Z] Removing intermediate container a41be6913746 [2023-01-11T00:09:08.494Z] ---> 5d86c01c991c [2023-01-11T00:09:08.494Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T00:09:08.494Z] ---> Running in 39db446692a2 [2023-01-11T00:09:08.752Z] Removing intermediate container 39db446692a2 [2023-01-11T00:09:08.752Z] ---> 75e75b003bf5 [2023-01-11T00:09:08.752Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T00:09:08.752Z] ---> Running in 06e325600913 [2023-01-11T00:09:08.752Z] Removing intermediate container 06e325600913 [2023-01-11T00:09:08.752Z] ---> 08106bf6fab7 [2023-01-11T00:09:08.752Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T00:09:08.752Z] ---> Running in 4ab5875dd0ad [2023-01-11T00:09:09.012Z] Removing intermediate container 4ab5875dd0ad [2023-01-11T00:09:09.012Z] ---> 02da76a1ebb3 [2023-01-11T00:09:09.012Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T00:09:09.012Z] ---> Running in 451449fbf0fb [2023-01-11T00:09:09.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T00:09:09.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T00:09:09.789Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T00:09:09.789Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-11T00:09:09.789Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T00:09:09.789Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T00:09:09.789Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T00:09:09.789Z] OK: 216 MiB in 55 packages [2023-01-11T00:09:10.358Z] Removing intermediate container 451449fbf0fb [2023-01-11T00:09:10.358Z] ---> 92dfe50d9b6f [2023-01-11T00:09:10.358Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-11T00:09:10.358Z] ---> Running in c6a0f33e5af5 [2023-01-11T00:09:10.358Z] Removing intermediate container c6a0f33e5af5 [2023-01-11T00:09:10.358Z] ---> d41dbe23779a [2023-01-11T00:09:10.358Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-11T00:09:10.617Z] ---> 3235920744ab [2023-01-11T00:09:10.617Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T00:09:10.617Z] ---> Running in 98074c1ebc9a [2023-01-11T00:09:11.229Z] Still waiting to schedule task [2023-01-11T00:09:11.230Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-11T00:09:20.602Z] go: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6 (replaced by ../../device-sdk-go): reading /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory [2023-01-11T00:09:20.602Z] skipping... [2023-01-11T00:09:35.487Z] Removing intermediate container 98074c1ebc9a [2023-01-11T00:09:35.487Z] ---> 78c48120f440 [2023-01-11T00:09:35.487Z] Step 11/12 : COPY . . [2023-01-11T00:09:35.487Z] ---> c94533cb5d0d [2023-01-11T00:09:35.487Z] Step 12/12 : RUN $MAKE [2023-01-11T00:09:35.487Z] ---> Running in 13b645861038 [2023-01-11T00:09:35.487Z] noop [2023-01-11T00:09:35.487Z] Removing intermediate container 13b645861038 [2023-01-11T00:09:35.487Z] ---> 87cd5ec6f6db [2023-01-11T00:09:35.487Z] Successfully built 87cd5ec6f6db [2023-01-11T00:09:35.487Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:09:35.791Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T00:09:35.791Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T00:09:35.855Z] prd-ubuntu20.04-docker-8c-8g-1768 does not seem to be running inside a container [2023-01-11T00:09:35.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-236 -v /w/workspace/gexfoundry_device-rest-go_PR-236:/w/workspace/gexfoundry_device-rest-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-236@tmp:/w/workspace/gexfoundry_device-rest-go_PR-236@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 ******** -e ******** ci-base-image-x86_64 cat [2023-01-11T00:09:36.261Z] $ docker top 42e3326339d4cdcd50e14bbf45ebff547259ef5b3b6ca70dee781fdd7901b417 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T00:09:36.607Z] + go version [2023-01-11T00:09:36.608Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-11T00:09:36.620Z] $ docker stop --time=1 42e3326339d4cdcd50e14bbf45ebff547259ef5b3b6ca70dee781fdd7901b417 [2023-01-11T00:09:37.864Z] $ docker rm -f --volumes 42e3326339d4cdcd50e14bbf45ebff547259ef5b3b6ca70dee781fdd7901b417 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:09:38.264Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T00:09:38.264Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T00:09:38.330Z] prd-ubuntu20.04-docker-8c-8g-1768 does not seem to be running inside a container [2023-01-11T00:09:38.359Z] $ 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-236 -v /w/workspace/gexfoundry_device-rest-go_PR-236:/w/workspace/gexfoundry_device-rest-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-236@tmp:/w/workspace/gexfoundry_device-rest-go_PR-236@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 ******** -e ******** ci-base-image-x86_64 cat [2023-01-11T00:09:38.685Z] $ docker top 743ca5000ce6e67f3ff78a40dab0ab5f7e05397a5a933defffa8cd6ff6e24230 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T00:09:39.033Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-236 [Pipeline] fileExists [Pipeline] sh [2023-01-11T00:09:39.328Z] + make test [2023-01-11T00:09:39.328Z] go test ./... -coverprofile=coverage.out ./... [2023-01-11T00:09:39.328Z] driver/restdriver.go:22:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6: replacement directory ../../device-sdk-go does not exist [2023-01-11T00:09:39.328Z] driver/restdriver.go:23:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6: replacement directory ../../device-sdk-go does not exist [2023-01-11T00:09:39.328Z] cmd/main.go:20:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6: replacement directory ../../device-sdk-go does not exist [2023-01-11T00:09:39.328Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-01-11T00:09:39.341Z] $ docker stop --time=1 743ca5000ce6e67f3ff78a40dab0ab5f7e05397a5a933defffa8cd6ff6e24230 [2023-01-11T00:09:40.604Z] $ docker rm -f --volumes 743ca5000ce6e67f3ff78a40dab0ab5f7e05397a5a933defffa8cd6ff6e24230 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:09:41.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T00:09:41.074Z] [2023-01-11T00:09:41.074Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:09:41.377Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T00:09:41.377Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-11T00:09:41.377Z] 5eb5b503b376: Pulling fs layer [2023-01-11T00:09:41.377Z] 5c69ac0246d0: Pulling fs layer [2023-01-11T00:09:41.377Z] ec43610c2a17: Pulling fs layer [2023-01-11T00:09:41.377Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-11T00:09:41.377Z] 33b1e0a273af: Pulling fs layer [2023-01-11T00:09:41.377Z] 5d3b04190fa2: Pulling fs layer [2023-01-11T00:09:41.377Z] 2f39f015ded8: Pulling fs layer [2023-01-11T00:09:41.377Z] 3a2ae6a8a46f: Waiting [2023-01-11T00:09:41.377Z] 33b1e0a273af: Waiting [2023-01-11T00:09:41.377Z] 5d3b04190fa2: Waiting [2023-01-11T00:09:41.377Z] 2f39f015ded8: Waiting [2023-01-11T00:09:41.377Z] 5c69ac0246d0: Download complete [2023-01-11T00:09:41.377Z] 3a2ae6a8a46f: Download complete [2023-01-11T00:09:41.636Z] 33b1e0a273af: Verifying Checksum [2023-01-11T00:09:41.636Z] 33b1e0a273af: Download complete [2023-01-11T00:09:41.636Z] 5d3b04190fa2: Verifying Checksum [2023-01-11T00:09:41.636Z] 5d3b04190fa2: Download complete [2023-01-11T00:09:41.636Z] ec43610c2a17: Verifying Checksum [2023-01-11T00:09:41.636Z] 5eb5b503b376: Verifying Checksum [2023-01-11T00:09:41.636Z] 5eb5b503b376: Download complete [2023-01-11T00:09:42.568Z] 2f39f015ded8: Download complete [2023-01-11T00:09:42.827Z] 5eb5b503b376: Pull complete [2023-01-11T00:09:42.827Z] 5c69ac0246d0: Pull complete [2023-01-11T00:09:43.393Z] ec43610c2a17: Pull complete [2023-01-11T00:09:43.393Z] 3a2ae6a8a46f: Pull complete [2023-01-11T00:09:43.652Z] 33b1e0a273af: Pull complete [2023-01-11T00:09:43.652Z] 5d3b04190fa2: Pull complete [2023-01-11T00:09:47.845Z] 2f39f015ded8: Pull complete [2023-01-11T00:09:47.845Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-11T00:09:47.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T00:09:47.845Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T00:09:47.913Z] prd-ubuntu20.04-docker-8c-8g-1768 does not seem to be running inside a container [2023-01-11T00:09:47.943Z] $ 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-236 -v /w/workspace/gexfoundry_device-rest-go_PR-236:/w/workspace/gexfoundry_device-rest-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-236@tmp:/w/workspace/gexfoundry_device-rest-go_PR-236@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T00:09:51.895Z] $ docker top 74cb3abd70aeab9b18ca0a8fab006eda75b1b8513602fced3167e3032b7d2167 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T00:09:52.306Z] ---> job-cost.sh [2023-01-11T00:09:52.306Z] lf-activate-venv: SKIPPING [2023-01-11T00:09:52.306Z] INFO: No Stack... [2023-01-11T00:09:52.875Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T00:09:53.134Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T00:09:53.428Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-236/archives/cost.csv [2023-01-11T00:09:53.428Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T00:09:53.443Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-236-2-stack-cost] [2023-01-11T00:09:53.449Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-236-2-stack-cost] did not exist. Created. [2023-01-11T00:09:53.449Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-236-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T00:09:53.761Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-11T00:09:53.800Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T00:09:53.808Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-236-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T00:09:53.828Z] $ docker stop --time=1 74cb3abd70aeab9b18ca0a8fab006eda75b1b8513602fced3167e3032b7d2167 [2023-01-11T00:09:54.995Z] $ docker rm -f --volumes 74cb3abd70aeab9b18ca0a8fab006eda75b1b8513602fced3167e3032b7d2167 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-11T00:09:55.093Z] Failed in branch amd64 [2023-01-11T00:10:45.867Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1772 in /w/workspace/gexfoundry_device-rest-go_PR-236 [Pipeline] { [Pipeline] ws [2023-01-11T00:10:45.880Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-01-11T00:10:45.913Z] The recommended git tool is: git [2023-01-11T00:10:51.037Z] using credential edgex-jenkins-ssh [2023-01-11T00:10:51.053Z] Cloning the remote Git repository [2023-01-11T00:10:51.099Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-01-11T00:10:51.171Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-01-11T00:10:51.326Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-11T00:10:51.327Z] > git --version # timeout=10 [2023-01-11T00:10:51.349Z] > git --version # 'git version 2.25.1' [2023-01-11T00:10:51.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T00:10:51.414Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T00:10:53.204Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-11T00:10:53.230Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T00:10:54.152Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-11T00:10:54.193Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-11T00:10:54.194Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T00:10:54.213Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/236/head:refs/remotes/origin/PR-236 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-11T00:10:54.793Z] Merging remotes/origin/main commit a09ef0c5b5718b7e2deeb983e8068139a6f667f6 into PR head commit 7f76c9332ba923fe7361eff16a9cf1f456f11020 [2023-01-11T00:10:55.022Z] Merge succeeded, producing 7f76c9332ba923fe7361eff16a9cf1f456f11020 [2023-01-11T00:10:55.022Z] Checking out Revision 7f76c9332ba923fe7361eff16a9cf1f456f11020 (PR-236) [2023-01-11T00:10:54.814Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T00:10:54.833Z] > git checkout -f 7f76c9332ba923fe7361eff16a9cf1f456f11020 # timeout=10 [2023-01-11T00:10:54.921Z] > git remote # timeout=10 [2023-01-11T00:10:54.939Z] > git config --get remote.origin.url # timeout=10 [2023-01-11T00:10:54.961Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T00:10:54.976Z] > git merge a09ef0c5b5718b7e2deeb983e8068139a6f667f6 # timeout=10 [2023-01-11T00:10:55.004Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-11T00:10:55.031Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T00:10:55.048Z] > git checkout -f 7f76c9332ba923fe7361eff16a9cf1f456f11020 # timeout=10 [2023-01-11T00:10:58.495Z] Commit message: "refactor!: Rework code for refactored MessageBus Configuration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T00:10:59.332Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-11T00:10:59.333Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T00:10:59.333Z] Dload Upload Total Spent Left Speed [2023-01-11T00:10:59.333Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh [2023-01-11T00:10:59.999Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-11T00:11:00.336Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-11T00:11:00.336Z] + sudo tee /etc/docker/daemon.new [2023-01-11T00:11:00.336Z] { [2023-01-11T00:11:00.336Z] "registry-mirrors": [ [2023-01-11T00:11:00.336Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-11T00:11:00.336Z] ], [2023-01-11T00:11:00.336Z] "bip": "10.250.0.254/24", [2023-01-11T00:11:00.336Z] "hosts": [ [2023-01-11T00:11:00.336Z] "tcp://0.0.0.0:5555", [2023-01-11T00:11:00.336Z] "unix:///var/run/docker.sock" [2023-01-11T00:11:00.336Z] ], [2023-01-11T00:11:00.336Z] "mtu": 1458, [2023-01-11T00:11:00.336Z] "selinux-enabled": true, [2023-01-11T00:11:00.336Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-11T00:11:00.336Z] } [Pipeline] sh [2023-01-11T00:11:00.680Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-11T00:11:01.018Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T00:11:19.276Z] provisioning config files... [2023-01-11T00:11:19.303Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config8231267373300007807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T00:11:19.660Z] ---> docker-login.sh [2023-01-11T00:11:19.660Z] nexus3.edgexfoundry.org:10001 [2023-01-11T00:11:19.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:11:20.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:11:20.206Z] Configure a credential helper to remove this warning. See [2023-01-11T00:11:20.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:11:20.206Z] [2023-01-11T00:11:20.206Z] Login Succeeded [2023-01-11T00:11:20.206Z] nexus3.edgexfoundry.org:10002 [2023-01-11T00:11:20.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:11:20.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:11:20.749Z] Configure a credential helper to remove this warning. See [2023-01-11T00:11:20.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:11:20.749Z] [2023-01-11T00:11:20.749Z] Login Succeeded [2023-01-11T00:11:20.749Z] nexus3.edgexfoundry.org:10003 [2023-01-11T00:11:21.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:11:21.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:11:21.018Z] Configure a credential helper to remove this warning. See [2023-01-11T00:11:21.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:11:21.018Z] [2023-01-11T00:11:21.018Z] Login Succeeded [2023-01-11T00:11:21.018Z] nexus3.edgexfoundry.org:10004 [2023-01-11T00:11:21.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:11:21.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:11:21.288Z] Configure a credential helper to remove this warning. See [2023-01-11T00:11:21.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:11:21.288Z] [2023-01-11T00:11:21.288Z] Login Succeeded [2023-01-11T00:11:21.288Z] docker.io [2023-01-11T00:11:21.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T00:11:21.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T00:11:21.827Z] Configure a credential helper to remove this warning. See [2023-01-11T00:11:21.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T00:11:21.827Z] [2023-01-11T00:11:21.827Z] Login Succeeded [2023-01-11T00:11:21.827Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T00:11:21.843Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T00:11:22.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T00:11:22.117Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T00:11:22.132Z] ========================================================= [2023-01-11T00:11:22.132Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-11T00:11:22.132Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:11:22.474Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-11T00:11:22.474Z] Sending build context to Docker daemon 128.5kB [2023-01-11T00:11:22.750Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T00:11:22.750Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-11T00:11:22.750Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-11T00:11:22.750Z] 9b18e9b68314: Pulling fs layer [2023-01-11T00:11:22.750Z] 35d82f9e3411: Pulling fs layer [2023-01-11T00:11:22.750Z] e16973657156: Pulling fs layer [2023-01-11T00:11:22.750Z] fc693d55d65f: Pulling fs layer [2023-01-11T00:11:22.750Z] 7e9fc2657dce: Pulling fs layer [2023-01-11T00:11:22.750Z] dda99020689f: Pulling fs layer [2023-01-11T00:11:22.750Z] db1c61fa0a46: Pulling fs layer [2023-01-11T00:11:22.750Z] 891c053d2c06: Pulling fs layer [2023-01-11T00:11:22.750Z] dda99020689f: Waiting [2023-01-11T00:11:22.750Z] fc693d55d65f: Waiting [2023-01-11T00:11:22.750Z] db1c61fa0a46: Waiting [2023-01-11T00:11:22.750Z] 7e9fc2657dce: Waiting [2023-01-11T00:11:22.750Z] 891c053d2c06: Waiting [2023-01-11T00:11:22.750Z] e16973657156: Verifying Checksum [2023-01-11T00:11:22.750Z] e16973657156: Download complete [2023-01-11T00:11:23.017Z] 35d82f9e3411: Verifying Checksum [2023-01-11T00:11:23.017Z] 35d82f9e3411: Download complete [2023-01-11T00:11:23.017Z] 7e9fc2657dce: Download complete [2023-01-11T00:11:23.017Z] dda99020689f: Verifying Checksum [2023-01-11T00:11:23.017Z] dda99020689f: Download complete [2023-01-11T00:11:23.017Z] 9b18e9b68314: Verifying Checksum [2023-01-11T00:11:23.017Z] 9b18e9b68314: Download complete [2023-01-11T00:11:24.001Z] 9b18e9b68314: Pull complete [2023-01-11T00:11:24.001Z] 891c053d2c06: Verifying Checksum [2023-01-11T00:11:24.001Z] 891c053d2c06: Download complete [2023-01-11T00:11:24.281Z] 35d82f9e3411: Pull complete [2023-01-11T00:11:24.572Z] e16973657156: Pull complete [2023-01-11T00:11:25.165Z] db1c61fa0a46: Verifying Checksum [2023-01-11T00:11:25.165Z] db1c61fa0a46: Download complete [2023-01-11T00:11:25.758Z] fc693d55d65f: Download complete [2023-01-11T00:11:38.090Z] fc693d55d65f: Pull complete [2023-01-11T00:11:38.090Z] 7e9fc2657dce: Pull complete [2023-01-11T00:11:38.090Z] dda99020689f: Pull complete [2023-01-11T00:11:44.768Z] db1c61fa0a46: Pull complete [2023-01-11T00:11:45.749Z] 891c053d2c06: Pull complete [2023-01-11T00:11:45.749Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-11T00:11:45.749Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-11T00:11:45.749Z] ---> f96f9c87975a [2023-01-11T00:11:45.749Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-11T00:11:47.699Z] ---> Running in 1d8f12dc5797 [2023-01-11T00:11:47.966Z] Removing intermediate container 1d8f12dc5797 [2023-01-11T00:11:47.966Z] ---> 86a345bd99d1 [2023-01-11T00:11:47.966Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-11T00:11:47.966Z] ---> Running in c4301d725aa2 [2023-01-11T00:11:48.233Z] Removing intermediate container c4301d725aa2 [2023-01-11T00:11:48.233Z] ---> ad4ac1b97e09 [2023-01-11T00:11:48.233Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-11T00:11:48.233Z] ---> Running in 7f130e3a9443 [2023-01-11T00:11:48.502Z] Removing intermediate container 7f130e3a9443 [2023-01-11T00:11:48.502Z] ---> 09c961b70dcb [2023-01-11T00:11:48.502Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-11T00:11:48.773Z] ---> Running in 80bedd445ccc [2023-01-11T00:11:49.040Z] Removing intermediate container 80bedd445ccc [2023-01-11T00:11:49.040Z] ---> c6d61300470b [2023-01-11T00:11:49.040Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-11T00:11:49.040Z] ---> Running in 1811224847ab [2023-01-11T00:11:50.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T00:11:50.595Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T00:11:51.177Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-11T00:11:51.445Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-11T00:11:51.445Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-11T00:11:51.445Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-11T00:11:51.445Z] Executing busybox-1.35.0-r17.trigger [2023-01-11T00:11:51.445Z] OK: 226 MiB in 55 packages [2023-01-11T00:11:52.409Z] Removing intermediate container 1811224847ab [2023-01-11T00:11:52.409Z] ---> 14cdf7b977e4 [2023-01-11T00:11:52.409Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-11T00:11:52.409Z] ---> Running in 80f262081504 [2023-01-11T00:11:52.997Z] Removing intermediate container 80f262081504 [2023-01-11T00:11:52.997Z] ---> 5e850fa68ea1 [2023-01-11T00:11:52.997Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-11T00:11:53.265Z] ---> 39d65b565c08 [2023-01-11T00:11:53.265Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T00:11:53.265Z] ---> Running in bb3836c02c1d [2023-01-11T00:12:15.346Z] go: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6 (replaced by ../../device-sdk-go): reading /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory [2023-01-11T00:12:15.346Z] skipping... [2023-01-11T00:12:47.598Z] Removing intermediate container bb3836c02c1d [2023-01-11T00:12:47.598Z] ---> cb675ccda31e [2023-01-11T00:12:47.598Z] Step 11/12 : COPY . . [2023-01-11T00:12:47.598Z] ---> 7a89d8bc7f28 [2023-01-11T00:12:47.598Z] Step 12/12 : RUN $MAKE [2023-01-11T00:12:47.598Z] ---> Running in d20312fa3559 [2023-01-11T00:12:48.187Z] noop [2023-01-11T00:12:48.773Z] Removing intermediate container d20312fa3559 [2023-01-11T00:12:48.773Z] ---> 426f8943ffa4 [2023-01-11T00:12:48.773Z] Successfully built 426f8943ffa4 [2023-01-11T00:12:49.040Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:12:49.401Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T00:12:49.401Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T00:12:49.591Z] prd-ubuntu20.04-docker-arm64-4c-16g-1772 does not seem to be running inside a container [2023-01-11T00:12:49.656Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-11T00:12:50.844Z] $ docker top b0ff9fc2b2203cbad56e9d4d6287df0edbdc533bb00f4fba9b71424c04b3bf37 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T00:12:51.671Z] + go version [2023-01-11T00:12:51.671Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-11T00:12:51.692Z] $ docker stop --time=1 b0ff9fc2b2203cbad56e9d4d6287df0edbdc533bb00f4fba9b71424c04b3bf37 [2023-01-11T00:12:53.289Z] $ docker rm -f --volumes b0ff9fc2b2203cbad56e9d4d6287df0edbdc533bb00f4fba9b71424c04b3bf37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:12:53.810Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T00:12:53.810Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T00:12:53.986Z] prd-ubuntu20.04-docker-arm64-4c-16g-1772 does not seem to be running inside a container [2023-01-11T00:12:54.056Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-11T00:12:55.164Z] $ docker top 569ad3f78da8e3724e213887d75cf6718cb7b931e86ae57e6175926df1072140 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T00:12:55.668Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-01-11T00:12:56.275Z] + make test [2023-01-11T00:12:56.275Z] go test ./... -coverprofile=coverage.out ./... [2023-01-11T00:12:57.237Z] driver/restdriver.go:22:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6: replacement directory ../../device-sdk-go does not exist [2023-01-11T00:12:57.237Z] driver/restdriver.go:23:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6: replacement directory ../../device-sdk-go does not exist [2023-01-11T00:12:57.237Z] cmd/main.go:20:2: github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.6: replacement directory ../../device-sdk-go does not exist [2023-01-11T00:12:57.237Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-01-11T00:12:57.257Z] $ docker stop --time=1 569ad3f78da8e3724e213887d75cf6718cb7b931e86ae57e6175926df1072140 [2023-01-11T00:13:00.927Z] $ docker rm -f --volumes 569ad3f78da8e3724e213887d75cf6718cb7b931e86ae57e6175926df1072140 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:13:01.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T00:13:01.516Z] [2023-01-11T00:13:01.516Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:13:01.847Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T00:13:01.847Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-11T00:13:01.847Z] 8998bd30e6a1: Pulling fs layer [2023-01-11T00:13:01.847Z] 04944245beec: Pulling fs layer [2023-01-11T00:13:01.847Z] 699f458cf7ca: Pulling fs layer [2023-01-11T00:13:01.847Z] 765212b225bb: Pulling fs layer [2023-01-11T00:13:01.847Z] f23df028b6ca: Pulling fs layer [2023-01-11T00:13:01.847Z] d65c8cfc05b1: Pulling fs layer [2023-01-11T00:13:01.847Z] 2437ff75d9bd: Pulling fs layer [2023-01-11T00:13:01.847Z] f23df028b6ca: Waiting [2023-01-11T00:13:01.847Z] d65c8cfc05b1: Waiting [2023-01-11T00:13:01.847Z] 2437ff75d9bd: Waiting [2023-01-11T00:13:01.847Z] 765212b225bb: Waiting [2023-01-11T00:13:02.117Z] 04944245beec: Verifying Checksum [2023-01-11T00:13:02.118Z] 04944245beec: Download complete [2023-01-11T00:13:02.118Z] 765212b225bb: Verifying Checksum [2023-01-11T00:13:02.118Z] 765212b225bb: Download complete [2023-01-11T00:13:02.118Z] f23df028b6ca: Verifying Checksum [2023-01-11T00:13:02.118Z] f23df028b6ca: Download complete [2023-01-11T00:13:02.118Z] d65c8cfc05b1: Verifying Checksum [2023-01-11T00:13:02.118Z] d65c8cfc05b1: Download complete [2023-01-11T00:13:02.390Z] 699f458cf7ca: Verifying Checksum [2023-01-11T00:13:02.390Z] 699f458cf7ca: Download complete [2023-01-11T00:13:02.661Z] 8998bd30e6a1: Verifying Checksum [2023-01-11T00:13:02.661Z] 8998bd30e6a1: Download complete [2023-01-11T00:13:05.255Z] 2437ff75d9bd: Verifying Checksum [2023-01-11T00:13:05.255Z] 2437ff75d9bd: Download complete [2023-01-11T00:13:06.667Z] 8998bd30e6a1: Pull complete [2023-01-11T00:13:07.255Z] 04944245beec: Pull complete [2023-01-11T00:13:08.672Z] 699f458cf7ca: Pull complete [2023-01-11T00:13:08.672Z] 765212b225bb: Pull complete [2023-01-11T00:13:09.643Z] f23df028b6ca: Pull complete [2023-01-11T00:13:09.643Z] d65c8cfc05b1: Pull complete [2023-01-11T00:13:24.648Z] 2437ff75d9bd: Pull complete [2023-01-11T00:13:24.648Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-11T00:13:24.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T00:13:24.648Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T00:13:24.828Z] prd-ubuntu20.04-docker-arm64-4c-16g-1772 does not seem to be running inside a container [2023-01-11T00:13:24.893Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-11T00:13:27.199Z] $ docker top 9189a65fb71d5bdbe8774bfe72ab64015e201b439aa3b11221b388adda692cb2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T00:13:27.708Z] ---> job-cost.sh [2023-01-11T00:13:27.975Z] lf-activate-venv: SKIPPING [2023-01-11T00:13:27.975Z] INFO: No Stack... [2023-01-11T00:13:28.239Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-11T00:13:29.196Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T00:13:29.513Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2023-01-11T00:13:29.513Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T00:13:29.843Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-236-2-stack-cost] [2023-01-11T00:13:29.849Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-236-2-stack-cost] did not exist. Created. [2023-01-11T00:13:29.849Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-236-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T00:13:30.182Z] /w/workspace/device-rest-go/2@tmp/durable-a7059d1c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-11T00:13:30.524Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-11T00:13:30.550Z] Warning: overwriting stash ‘stack-cost’ [2023-01-11T00:13:31.121Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T00:13:31.128Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-236-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T00:13:31.149Z] $ docker stop --time=1 9189a65fb71d5bdbe8774bfe72ab64015e201b439aa3b11221b388adda692cb2 [2023-01-11T00:13:32.666Z] $ docker rm -f --volumes 9189a65fb71d5bdbe8774bfe72ab64015e201b439aa3b11221b388adda692cb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-11T00:13:32.900Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-11T00:13:33.558Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-236/archives ] [2023-01-11T00:13:33.558Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-236/archives [2023-01-11T00:13:33.558Z] total 16 [2023-01-11T00:13:33.558Z] drwxr-xr-x 3 root root 4096 Jan 11 00:09 . [2023-01-11T00:13:33.558Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 00:09 .. [2023-01-11T00:13:33.558Z] drwxr-xr-x 2 root root 4096 Jan 11 00:09 cost [2023-01-11T00:13:33.558Z] -rw-r--r-- 1 root root 87 Jan 11 00:09 cost.csv [2023-01-11T00:13:33.558Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-236/archives [2023-01-11T00:13:33.558Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-236/archives [2023-01-11T00:13:33.558Z] total 16 [2023-01-11T00:13:33.558Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 00:09 . [2023-01-11T00:13:33.558Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 00:09 .. [2023-01-11T00:13:33.558Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 00:09 cost [2023-01-11T00:13:33.558Z] -rw-r--r-- 1 jenkins jenkins 87 Jan 11 00:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-11T00:13:33.846Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T00:13:34.708Z] ---> package-listing.sh [2023-01-11T00:13:34.708Z] ++ facter osfamily [2023-01-11T00:13:34.708Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-11T00:13:34.966Z] + OS_FAMILY=debian [2023-01-11T00:13:34.966Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-236 [2023-01-11T00:13:34.966Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-11T00:13:34.966Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-11T00:13:34.966Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-11T00:13:34.966Z] + PACKAGES=/tmp/packages_start.txt [2023-01-11T00:13:34.966Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-236 ']' [2023-01-11T00:13:34.966Z] + PACKAGES=/tmp/packages_end.txt [2023-01-11T00:13:34.966Z] + case "${OS_FAMILY}" in [2023-01-11T00:13:34.966Z] + dpkg -l [2023-01-11T00:13:34.966Z] + grep '^ii' [2023-01-11T00:13:34.966Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-11T00:13:34.966Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-11T00:13:34.966Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-11T00:13:34.966Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-236 ']' [2023-01-11T00:13:34.966Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-236/archives/ [2023-01-11T00:13:34.966Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-236/archives/ [Pipeline] echo [2023-01-11T00:13:34.977Z] 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-236/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-11T00:13:35.255Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T00:13:35.829Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T00:13:35.829Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T00:13:35.899Z] prd-ubuntu20.04-docker-8c-8g-1768 does not seem to be running inside a container [2023-01-11T00:13:35.931Z] $ 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-236/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-236 -v /w/workspace/gexfoundry_device-rest-go_PR-236:/w/workspace/gexfoundry_device-rest-go_PR-236:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-236@tmp:/w/workspace/gexfoundry_device-rest-go_PR-236@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 [2023-01-11T00:13:36.145Z] $ docker top 474ec037166b16ed55cdc9b52ecf00da2d8f14aa4dd9c6d4bedf3328aeedb8ee -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T00:13:36.482Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-11T00:13:36.764Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-11T00:13:37.047Z] + ls /var/log/sa-host [2023-01-11T00:13:37.047Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T00:13:37.191Z] provisioning config files... [2023-01-11T00:13:37.198Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-236@tmp/config17601502132560301514tmp [Pipeline] { [Pipeline] echo [2023-01-11T00:13:37.214Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T00:13:37.495Z] ---> create-netrc.sh [Pipeline] } [2023-01-11T00:13:37.501Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-11T00:13:37.819Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-11T00:13:37.828Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T00:13:38.110Z] ---> sudo-logs.sh [2023-01-11T00:13:38.110Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-11T00:13:38.130Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T00:13:38.413Z] ---> job-cost.sh [2023-01-11T00:13:38.413Z] lf-activate-venv: SKIPPING [2023-01-11T00:13:38.413Z] DEBUG: total: 0.2199999988079071 [2023-01-11T00:13:38.413Z] INFO: Retrieving Stack Cost... [2023-01-11T00:13:38.675Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T00:13:38.935Z] INFO: Archiving Costs [Pipeline] echo [2023-01-11T00:13:38.949Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T00:13:39.235Z] ---> logs-deploy.sh [2023-01-11T00:13:39.235Z] lf-activate-venv: SKIPPING [2023-01-11T00:13:39.235Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-236/2 [2023-01-11T00:13:39.235Z] INFO: archiving workspace using pattern(s): [2023-01-11T00:13:40.175Z] Archives upload complete. [2023-01-11T00:13:40.175Z] INFO: archiving logs to Nexus