Pull request #229 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 sudhamani-hcl for edgexfoundry/device-rest-go Obtained Jenkinsfile from 55a1db122e28bea5b4adecb116c825ee4858d2c3+6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba (eca690dd94b57aff0496a2862a9e1c43f75c9185) 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-ssh3340715969026175438.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-ssh9714323334711908753.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-229/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-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1443035628771741237.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-ssh12648109289023429059.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-229/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-229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2570659075644170048.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 Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1573 in /w/workspace/gexfoundry_device-rest-go_PR-229 [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-229 # 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/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba into PR head commit 55a1db122e28bea5b4adecb116c825ee4858d2c3 Merge succeeded, producing bd711a2a4b824e8f9f3fe454f39f373d43046654 Checking out Revision bd711a2a4b824e8f9f3fe454f39f373d43046654 (PR-229) > git config core.sparsecheckout # timeout=10 > git checkout -f 55a1db122e28bea5b4adecb116c825ee4858d2c3 # 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 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bd711a2a4b824e8f9f3fe454f39f373d43046654 # timeout=10 Commit message: "Merge commit '6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba' into HEAD" > git rev-list --no-walk b4ca460becdb547ca408c942b95ba0db9bd330ac # timeout=10 First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-10T15:33:48.534Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-10T15:33:48.598Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-10T15:33:48.614Z] ========================================================= [2023-01-10T15:33:48.614Z] EdgeX Global Pipelines Version Info [2023-01-10T15:33:48.614Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-10T15:33:49.324Z] ------------------- [2023-01-10T15:33:49.324Z] stable info: [2023-01-10T15:33:49.324Z] ------------------- [2023-01-10T15:33:49.324Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-10T15:33:49.324Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T15:33:49.324Z] Message: update stable to v1.0.244 [2023-01-10T15:33:49.897Z] ------------------- [2023-01-10T15:33:49.897Z] experimental info: [2023-01-10T15:33:49.897Z] ------------------- [2023-01-10T15:33:49.897Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-10T15:33:49.897Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T15:33:49.897Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-10T15:33:50.061Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-01-10T15:33:50.070Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-01-10T15:33:50.078Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-10T15:33:50.086Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-10T15:33:50.095Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-10T15:33:50.105Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-10T15:33:50.115Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-10T15:33:50.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-10T15:33:50.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-10T15:33:50.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-10T15:33:50.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-10T15:33:50.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-01-10T15:33:50.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-10T15:33:50.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-10T15:33:50.199Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T15:33:50.214Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T15:33:50.232Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T15:33:50.248Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T15:33:50.265Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-10T15:33:50.277Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-10T15:33:50.291Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-10T15:33:50.305Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-10T15:33:50.316Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-10T15:33:50.329Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-10T15:33:50.341Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-10T15:33:50.355Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-10T15:33:50.370Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-10T15:33:50.386Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo [2023-01-10T15:33:50.403Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo [2023-01-10T15:33:50.418Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo [2023-01-10T15:33:50.438Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bd711a2a4b824e8f9f3fe454f39f373d43046654 [Pipeline] echo [2023-01-10T15:33:50.456Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bd711a2 [Pipeline] echo [2023-01-10T15:33:50.474Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T15:33:50.517Z] provisioning config files... [2023-01-10T15:33:50.529Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config18093401859235861632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T15:33:50.830Z] ---> docker-login.sh [2023-01-10T15:33:50.830Z] nexus3.edgexfoundry.org:10001 [2023-01-10T15:33:51.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T15:33:51.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T15:33:51.091Z] Configure a credential helper to remove this warning. See [2023-01-10T15:33:51.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T15:33:51.091Z] [2023-01-10T15:33:51.091Z] Login Succeeded [2023-01-10T15:33:51.091Z] nexus3.edgexfoundry.org:10002 [2023-01-10T15:33:51.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T15:33:51.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T15:33:51.351Z] Configure a credential helper to remove this warning. See [2023-01-10T15:33:51.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T15:33:51.351Z] [2023-01-10T15:33:51.351Z] Login Succeeded [2023-01-10T15:33:51.351Z] nexus3.edgexfoundry.org:10003 [2023-01-10T15:33:51.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T15:33:51.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T15:33:51.351Z] Configure a credential helper to remove this warning. See [2023-01-10T15:33:51.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T15:33:51.351Z] [2023-01-10T15:33:51.351Z] Login Succeeded [2023-01-10T15:33:51.351Z] nexus3.edgexfoundry.org:10004 [2023-01-10T15:33:51.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T15:33:51.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T15:33:51.610Z] Configure a credential helper to remove this warning. See [2023-01-10T15:33:51.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T15:33:51.610Z] [2023-01-10T15:33:51.611Z] Login Succeeded [2023-01-10T15:33:51.611Z] docker.io [2023-01-10T15:33:51.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T15:33:51.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T15:33:51.870Z] Configure a credential helper to remove this warning. See [2023-01-10T15:33:51.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T15:33:51.870Z] [2023-01-10T15:33:51.870Z] Login Succeeded [2023-01-10T15:33:51.870Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T15:33:51.877Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-10T15:33:52.226Z] + git rev-list -1 --merges bd711a2a4b824e8f9f3fe454f39f373d43046654~1..bd711a2a4b824e8f9f3fe454f39f373d43046654 [Pipeline] echo [2023-01-10T15:33:52.271Z] -----------> git rev-list -1 --merges bd711a2a4b824e8f9f3fe454f39f373d43046654~1..bd711a2a4b824e8f9f3fe454f39f373d43046654 bd711a2a4b824e8f9f3fe454f39f373d43046654 [2023-01-10T15:33:52.271Z] bd711a2a4b824e8f9f3fe454f39f373d43046654 [false] [Pipeline] sh [2023-01-10T15:33:52.558Z] + git log --format=format:%s -1 bd711a2a4b824e8f9f3fe454f39f373d43046654 [Pipeline] echo [2023-01-10T15:33:52.571Z] ========================================================= [2023-01-10T15:33:52.571Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-10T15:33:52.571Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T15:33:52.900Z] + git log --format=format:%s -1 bd711a2a4b824e8f9f3fe454f39f373d43046654 [Pipeline] echo [2023-01-10T15:33:52.911Z] [semverPrep] GIT_COMMIT: bd711a2a4b824e8f9f3fe454f39f373d43046654, Commit Message: Merge commit '6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba' into HEAD [Pipeline] echo [2023-01-10T15:33:52.923Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-10T15:33:53.277Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T15:33:53.277Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-10T15:33:53.277Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-10T15:33:53.277Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-10T15:33:53.277Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-10T15:33:53.277Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-10T15:33:53.277Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T15:33:53.688Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T15:33:53.688Z] [2023-01-10T15:33:53.688Z] 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-10T15:33:53.989Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T15:33:53.989Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-10T15:33:53.989Z] b85a868b505f: Pulling fs layer [2023-01-10T15:33:53.989Z] e2be974225ed: Pulling fs layer [2023-01-10T15:33:53.989Z] 339a4e72a1f5: Pulling fs layer [2023-01-10T15:33:53.989Z] 988bab9f4d93: Pulling fs layer [2023-01-10T15:33:53.989Z] 1469e6f7b9e6: Pulling fs layer [2023-01-10T15:33:53.989Z] eaf3925da568: Pulling fs layer [2023-01-10T15:33:53.989Z] bab4dde63d76: Pulling fs layer [2023-01-10T15:33:53.989Z] bde34c3a00c8: Pulling fs layer [2023-01-10T15:33:53.989Z] 988bab9f4d93: Waiting [2023-01-10T15:33:53.989Z] eaf3925da568: Waiting [2023-01-10T15:33:53.989Z] bab4dde63d76: Waiting [2023-01-10T15:33:53.989Z] 1469e6f7b9e6: Waiting [2023-01-10T15:33:53.989Z] b352a97aabf1: Pulling fs layer [2023-01-10T15:33:53.989Z] 4872d77fe225: Pulling fs layer [2023-01-10T15:33:53.989Z] 5851b861e8e6: Pulling fs layer [2023-01-10T15:33:53.989Z] bde34c3a00c8: Waiting [2023-01-10T15:33:53.989Z] b352a97aabf1: Waiting [2023-01-10T15:33:53.989Z] 5851b861e8e6: Waiting [2023-01-10T15:33:53.989Z] 4872d77fe225: Waiting [2023-01-10T15:33:53.989Z] e2be974225ed: Download complete [2023-01-10T15:33:53.989Z] 988bab9f4d93: Verifying Checksum [2023-01-10T15:33:53.989Z] 988bab9f4d93: Download complete [2023-01-10T15:33:54.248Z] 339a4e72a1f5: Verifying Checksum [2023-01-10T15:33:54.248Z] 339a4e72a1f5: Download complete [2023-01-10T15:33:54.248Z] eaf3925da568: Verifying Checksum [2023-01-10T15:33:54.248Z] eaf3925da568: Download complete [2023-01-10T15:33:54.248Z] 1469e6f7b9e6: Verifying Checksum [2023-01-10T15:33:54.248Z] 1469e6f7b9e6: Download complete [2023-01-10T15:33:54.248Z] bde34c3a00c8: Download complete [2023-01-10T15:33:54.248Z] b352a97aabf1: Download complete [2023-01-10T15:33:54.248Z] 4872d77fe225: Verifying Checksum [2023-01-10T15:33:54.248Z] 4872d77fe225: Download complete [2023-01-10T15:33:54.248Z] 5851b861e8e6: Verifying Checksum [2023-01-10T15:33:54.248Z] 5851b861e8e6: Download complete [2023-01-10T15:33:54.248Z] b85a868b505f: Verifying Checksum [2023-01-10T15:33:54.248Z] b85a868b505f: Download complete [2023-01-10T15:33:54.816Z] bab4dde63d76: Verifying Checksum [2023-01-10T15:33:54.816Z] bab4dde63d76: Download complete [2023-01-10T15:33:55.767Z] b85a868b505f: Pull complete [2023-01-10T15:33:55.767Z] e2be974225ed: Pull complete [2023-01-10T15:33:56.344Z] 339a4e72a1f5: Pull complete [2023-01-10T15:33:56.344Z] 988bab9f4d93: Pull complete [2023-01-10T15:33:56.605Z] 1469e6f7b9e6: Pull complete [2023-01-10T15:33:56.605Z] eaf3925da568: Pull complete [2023-01-10T15:33:58.540Z] bab4dde63d76: Pull complete [2023-01-10T15:33:58.540Z] bde34c3a00c8: Pull complete [2023-01-10T15:33:58.540Z] b352a97aabf1: Pull complete [2023-01-10T15:33:58.540Z] 4872d77fe225: Pull complete [2023-01-10T15:33:58.540Z] 5851b861e8e6: Pull complete [2023-01-10T15:33:58.540Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-10T15:33:58.540Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T15:33:58.540Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T15:33:58.633Z] prd-ubuntu20.04-docker-8c-8g-1573 does not seem to be running inside a container [2023-01-10T15:33:58.666Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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-10T15:33:59.881Z] $ docker top 144ec416d9c72bb9aee5e69b146207ebc5d2cae00809a013335ec50af481f206 -eo pid,comm [2023-01-10T15:33:59.936Z] 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-10T15:33:59.936Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T15:33:59.978Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T15:33:59.978Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T15:34:00.096Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T15:34:00.099Z] $ docker exec 144ec416d9c72bb9aee5e69b146207ebc5d2cae00809a013335ec50af481f206 ssh-agent [2023-01-10T15:34:00.211Z] SSH_AUTH_SOCK=/tmp/ssh-V1CjJWVrxhHL/agent.32 [2023-01-10T15:34:00.211Z] SSH_AGENT_PID=38 [2023-01-10T15:34:00.217Z] Running ssh-add (command line suppressed) [2023-01-10T15:34:00.325Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_16551250350988693333.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_16551250350988693333.key) [2023-01-10T15:34:00.340Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T15:34:00.631Z] + git tag --points-at HEAD [Pipeline] } [2023-01-10T15:34:00.649Z] $ docker exec --env ******** --env ******** 144ec416d9c72bb9aee5e69b146207ebc5d2cae00809a013335ec50af481f206 ssh-agent -k [2023-01-10T15:34:00.741Z] unset SSH_AUTH_SOCK; [2023-01-10T15:34:00.741Z] unset SSH_AGENT_PID; [2023-01-10T15:34:00.741Z] echo Agent pid 38 killed; [2023-01-10T15:34:00.754Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-10T15:34:00.781Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T15:34:00.781Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T15:34:00.892Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T15:34:00.895Z] $ docker exec 144ec416d9c72bb9aee5e69b146207ebc5d2cae00809a013335ec50af481f206 ssh-agent [2023-01-10T15:34:01.004Z] SSH_AUTH_SOCK=/tmp/ssh-KJw74EgKFycK/agent.70 [2023-01-10T15:34:01.004Z] SSH_AGENT_PID=76 [2023-01-10T15:34:01.009Z] Running ssh-add (command line suppressed) [2023-01-10T15:34:01.127Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_14037766798573276252.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_14037766798573276252.key) [2023-01-10T15:34:01.146Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T15:34:01.437Z] + git semver init [2023-01-10T15:34:01.697Z] 2023-01-10 15:34:01,616 [run_init] DEBUG init version:0.0.0 force:False [2023-01-10T15:34:01.697Z] 2023-01-10 15:34:01,618 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver [2023-01-10T15:34:01.697Z] 2023-01-10 15:34:01,619 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-229/.semver [2023-01-10T15:34:01.697Z] 2023-01-10 15:34:01,619 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-229/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229, universal_newlines=False, shell=None, istream=None) [2023-01-10T15:34:03.077Z] 2023-01-10 15:34:02,722 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.git/info/exclude [2023-01-10T15:34:03.077Z] 2023-01-10 15:34:02,723 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 with force:False [2023-01-10T15:34:03.077Z] 2023-01-10 15:34:02,723 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 [2023-01-10T15:34:03.077Z] 2023-01-10 15:34:02,727 [execute] INFO git cat-file --batch-check [2023-01-10T15:34:03.077Z] 2023-01-10 15:34:02,727 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T15:34:03.077Z] 2023-01-10 15:34:02,733 [execute] INFO git cat-file --batch [2023-01-10T15:34:03.077Z] 2023-01-10 15:34:02,733 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T15:34:03.077Z] 2023-01-10 15:34:02,737 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 [2023-01-10T15:34:03.077Z] 0.0.0 [Pipeline] } [2023-01-10T15:34:03.087Z] $ docker exec --env ******** --env ******** 144ec416d9c72bb9aee5e69b146207ebc5d2cae00809a013335ec50af481f206 ssh-agent -k [2023-01-10T15:34:03.185Z] unset SSH_AUTH_SOCK; [2023-01-10T15:34:03.185Z] unset SSH_AGENT_PID; [2023-01-10T15:34:03.186Z] echo Agent pid 76 killed; [2023-01-10T15:34:03.196Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T15:34:03.492Z] + git semver [Pipeline] } [2023-01-10T15:34:03.764Z] $ docker stop --time=1 144ec416d9c72bb9aee5e69b146207ebc5d2cae00809a013335ec50af481f206 [2023-01-10T15:34:05.039Z] $ docker rm -f --volumes 144ec416d9c72bb9aee5e69b146207ebc5d2cae00809a013335ec50af481f206 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T15:34:05.389Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-10T15:34:05.592Z] Stashed 1 file(s) [Pipeline] echo [2023-01-10T15:34:05.596Z] [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-10T15:34:05.732Z] provisioning config files... [2023-01-10T15:34:05.741Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config16976826582341489132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T15:34:06.034Z] ---> docker-login.sh [2023-01-10T15:34:06.034Z] nexus3.edgexfoundry.org:10001 [2023-01-10T15:34:06.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T15:34:06.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T15:34:06.034Z] Configure a credential helper to remove this warning. See [2023-01-10T15:34:06.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T15:34:06.034Z] [2023-01-10T15:34:06.034Z] Login Succeeded [2023-01-10T15:34:06.034Z] nexus3.edgexfoundry.org:10002 [2023-01-10T15:34:06.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T15:34:06.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T15:34:06.034Z] Configure a credential helper to remove this warning. See [2023-01-10T15:34:06.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T15:34:06.034Z] [2023-01-10T15:34:06.034Z] Login Succeeded [2023-01-10T15:34:06.034Z] nexus3.edgexfoundry.org:10003 [2023-01-10T15:34:06.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T15:34:06.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T15:34:06.293Z] Configure a credential helper to remove this warning. See [2023-01-10T15:34:06.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T15:34:06.293Z] [2023-01-10T15:34:06.293Z] Login Succeeded [2023-01-10T15:34:06.293Z] nexus3.edgexfoundry.org:10004 [2023-01-10T15:34:06.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T15:34:06.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T15:34:06.293Z] Configure a credential helper to remove this warning. See [2023-01-10T15:34:06.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T15:34:06.293Z] [2023-01-10T15:34:06.293Z] Login Succeeded [2023-01-10T15:34:06.293Z] docker.io [2023-01-10T15:34:06.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T15:34:06.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T15:34:06.552Z] Configure a credential helper to remove this warning. See [2023-01-10T15:34:06.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T15:34:06.552Z] [2023-01-10T15:34:06.552Z] Login Succeeded [2023-01-10T15:34:06.552Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T15:34:06.560Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T15:34:06.623Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T15:34:06.634Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T15:34:06.640Z] ========================================================= [2023-01-10T15:34:06.640Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-10T15:34:06.640Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T15:34:06.941Z] + 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-10T15:34:06.942Z] Sending build context to Docker daemon 10.81MB [2023-01-10T15:34:06.942Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T15:34:06.942Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T15:34:06.942Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-10T15:34:06.942Z] 213ec9aee27d: Pulling fs layer [2023-01-10T15:34:06.942Z] 4583459ba037: Pulling fs layer [2023-01-10T15:34:06.942Z] 93c1e223e6f2: Pulling fs layer [2023-01-10T15:34:06.942Z] 53926ce57604: Pulling fs layer [2023-01-10T15:34:06.942Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-10T15:34:06.942Z] 22ff95d597cd: Pulling fs layer [2023-01-10T15:34:06.942Z] 12d6caf4c0d1: Pulling fs layer [2023-01-10T15:34:06.942Z] 96b7cbca73a9: Pulling fs layer [2023-01-10T15:34:06.942Z] a7acece74701: Pulling fs layer [2023-01-10T15:34:06.942Z] 21b2b0c7a3f4: Waiting [2023-01-10T15:34:06.942Z] 22ff95d597cd: Waiting [2023-01-10T15:34:06.942Z] a7acece74701: Waiting [2023-01-10T15:34:06.942Z] 96b7cbca73a9: Waiting [2023-01-10T15:34:06.942Z] 53926ce57604: Waiting [2023-01-10T15:34:06.942Z] 93c1e223e6f2: Verifying Checksum [2023-01-10T15:34:06.942Z] 93c1e223e6f2: Download complete [2023-01-10T15:34:06.942Z] 4583459ba037: Verifying Checksum [2023-01-10T15:34:06.942Z] 4583459ba037: Download complete [2023-01-10T15:34:06.942Z] 21b2b0c7a3f4: Download complete [2023-01-10T15:34:07.204Z] 22ff95d597cd: Verifying Checksum [2023-01-10T15:34:07.204Z] 22ff95d597cd: Download complete [2023-01-10T15:34:07.204Z] 213ec9aee27d: Verifying Checksum [2023-01-10T15:34:07.204Z] 213ec9aee27d: Download complete [2023-01-10T15:34:07.204Z] 12d6caf4c0d1: Verifying Checksum [2023-01-10T15:34:07.204Z] 12d6caf4c0d1: Download complete [2023-01-10T15:34:07.204Z] 213ec9aee27d: Pull complete [2023-01-10T15:34:07.477Z] 4583459ba037: Pull complete [2023-01-10T15:34:07.477Z] 93c1e223e6f2: Pull complete [2023-01-10T15:34:07.742Z] a7acece74701: Verifying Checksum [2023-01-10T15:34:07.742Z] a7acece74701: Download complete [2023-01-10T15:34:07.742Z] 96b7cbca73a9: Verifying Checksum [2023-01-10T15:34:07.742Z] 96b7cbca73a9: Download complete [2023-01-10T15:34:08.003Z] 53926ce57604: Verifying Checksum [2023-01-10T15:34:08.003Z] 53926ce57604: Download complete [2023-01-10T15:34:12.192Z] 53926ce57604: Pull complete [2023-01-10T15:34:12.192Z] 21b2b0c7a3f4: Pull complete [2023-01-10T15:34:12.192Z] 22ff95d597cd: Pull complete [2023-01-10T15:34:12.192Z] 12d6caf4c0d1: Pull complete [2023-01-10T15:34:14.089Z] 96b7cbca73a9: Pull complete [2023-01-10T15:34:14.807Z] a7acece74701: Pull complete [2023-01-10T15:34:14.807Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-10T15:34:14.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-10T15:34:14.807Z] ---> db6d94c90886 [2023-01-10T15:34:14.807Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T15:34:16.190Z] ---> Running in 47539a1bf135 [2023-01-10T15:34:16.190Z] Removing intermediate container 47539a1bf135 [2023-01-10T15:34:16.190Z] ---> 0ad4e8512ec3 [2023-01-10T15:34:16.190Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T15:34:16.451Z] ---> Running in e7b852b15883 [2023-01-10T15:34:16.451Z] Removing intermediate container e7b852b15883 [2023-01-10T15:34:16.451Z] ---> 7981ba09a084 [2023-01-10T15:34:16.451Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T15:34:16.451Z] ---> Running in 6a35ab3fbb8b [2023-01-10T15:34:16.451Z] Removing intermediate container 6a35ab3fbb8b [2023-01-10T15:34:16.451Z] ---> b1896bfddfa2 [2023-01-10T15:34:16.451Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T15:34:16.710Z] ---> Running in 423a787da49a [2023-01-10T15:34:16.710Z] Removing intermediate container 423a787da49a [2023-01-10T15:34:16.710Z] ---> 367403b65903 [2023-01-10T15:34:16.710Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T15:34:16.710Z] ---> Running in e9764b25bdf1 [2023-01-10T15:34:16.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T15:34:17.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T15:34:17.487Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T15:34:17.487Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T15:34:17.487Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T15:34:17.487Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T15:34:17.487Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T15:34:17.487Z] OK: 216 MiB in 55 packages [2023-01-10T15:34:17.878Z] Removing intermediate container e9764b25bdf1 [2023-01-10T15:34:17.878Z] ---> 0d52d1e52e22 [2023-01-10T15:34:17.878Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-10T15:34:17.878Z] ---> Running in 2600acbb96b8 [2023-01-10T15:34:17.878Z] Removing intermediate container 2600acbb96b8 [2023-01-10T15:34:17.878Z] ---> 19f2177d940c [2023-01-10T15:34:17.878Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T15:34:18.810Z] ---> 7e6d0c143ca0 [2023-01-10T15:34:18.810Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T15:34:18.810Z] ---> Running in 7f75399a9d3e [2023-01-10T15:34:20.693Z] Still waiting to schedule task [2023-01-10T15:34:20.693Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-10T15:34:41.068Z] Removing intermediate container 7f75399a9d3e [2023-01-10T15:34:41.068Z] ---> 8c4d25cc5119 [2023-01-10T15:34:41.068Z] Step 11/12 : COPY . . [2023-01-10T15:34:41.068Z] ---> 747938969cb7 [2023-01-10T15:34:41.068Z] Step 12/12 : RUN $MAKE [2023-01-10T15:34:41.068Z] ---> Running in efc082e7ae58 [2023-01-10T15:34:41.068Z] noop [2023-01-10T15:34:41.068Z] Removing intermediate container efc082e7ae58 [2023-01-10T15:34:41.068Z] ---> 64f26544c88a [2023-01-10T15:34:41.068Z] Successfully built 64f26544c88a [2023-01-10T15:34:41.068Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T15:34:41.382Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T15:34:41.382Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T15:34:41.452Z] prd-ubuntu20.04-docker-8c-8g-1573 does not seem to be running inside a container [2023-01-10T15:34:41.485Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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-10T15:34:41.809Z] $ docker top f4b3fa4523f5fb34a57d9635cc64b55b04f2d1c09620708fa44c9922afbf814e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T15:34:42.161Z] + go version [2023-01-10T15:34:42.161Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-10T15:34:42.171Z] $ docker stop --time=1 f4b3fa4523f5fb34a57d9635cc64b55b04f2d1c09620708fa44c9922afbf814e [2023-01-10T15:34:43.449Z] $ docker rm -f --volumes f4b3fa4523f5fb34a57d9635cc64b55b04f2d1c09620708fa44c9922afbf814e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T15:34:43.866Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T15:34:43.867Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T15:34:43.947Z] prd-ubuntu20.04-docker-8c-8g-1573 does not seem to be running inside a container [2023-01-10T15:34:43.978Z] $ 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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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-10T15:34:44.307Z] $ docker top 380f5768faa59d4e106444eaf0e98823c8610837751a91d64f7a08e0f06af4b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T15:34:44.653Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] fileExists [Pipeline] sh [2023-01-10T15:34:44.952Z] + make test [2023-01-10T15:34:44.952Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-10T15:34:45.210Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-10T15:34:55.435Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-10T15:34:55.435Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 26.8% of statements [2023-01-10T15:35:02.077Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-10T15:35:02.077Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-10T15:35:06.265Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T15:35:06.265Z] ./driver/protocolpropertykey.go [2023-01-10T15:35:06.265Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T15:35:06.265Z] make: *** [Makefile:48: test] Error 1 [Pipeline] } [2023-01-10T15:35:06.280Z] $ docker stop --time=1 380f5768faa59d4e106444eaf0e98823c8610837751a91d64f7a08e0f06af4b5 [2023-01-10T15:35:08.173Z] $ docker rm -f --volumes 380f5768faa59d4e106444eaf0e98823c8610837751a91d64f7a08e0f06af4b5 [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-10T15:35:08.715Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T15:35:08.715Z] [2023-01-10T15:35:08.715Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T15:35:09.311Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T15:35:09.312Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-10T15:35:09.312Z] 5eb5b503b376: Pulling fs layer [2023-01-10T15:35:09.312Z] 5c69ac0246d0: Pulling fs layer [2023-01-10T15:35:09.312Z] ec43610c2a17: Pulling fs layer [2023-01-10T15:35:09.312Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-10T15:35:09.312Z] 33b1e0a273af: Pulling fs layer [2023-01-10T15:35:09.312Z] 5d3b04190fa2: Pulling fs layer [2023-01-10T15:35:09.312Z] 2f39f015ded8: Pulling fs layer [2023-01-10T15:35:09.312Z] 33b1e0a273af: Waiting [2023-01-10T15:35:09.312Z] 5d3b04190fa2: Waiting [2023-01-10T15:35:09.312Z] 2f39f015ded8: Waiting [2023-01-10T15:35:09.312Z] 3a2ae6a8a46f: Waiting [2023-01-10T15:35:09.312Z] 5c69ac0246d0: Download complete [2023-01-10T15:35:09.312Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-10T15:35:09.312Z] 3a2ae6a8a46f: Download complete [2023-01-10T15:35:10.153Z] 33b1e0a273af: Verifying Checksum [2023-01-10T15:35:10.153Z] 33b1e0a273af: Download complete [2023-01-10T15:35:10.411Z] ec43610c2a17: Verifying Checksum [2023-01-10T15:35:10.411Z] ec43610c2a17: Download complete [2023-01-10T15:35:10.411Z] 5d3b04190fa2: Verifying Checksum [2023-01-10T15:35:10.411Z] 5d3b04190fa2: Download complete [2023-01-10T15:35:10.411Z] 5eb5b503b376: Verifying Checksum [2023-01-10T15:35:10.411Z] 5eb5b503b376: Download complete [2023-01-10T15:35:10.977Z] 2f39f015ded8: Verifying Checksum [2023-01-10T15:35:10.977Z] 2f39f015ded8: Download complete [2023-01-10T15:35:11.914Z] 5eb5b503b376: Pull complete [2023-01-10T15:35:11.914Z] 5c69ac0246d0: Pull complete [2023-01-10T15:35:12.173Z] ec43610c2a17: Pull complete [2023-01-10T15:35:12.431Z] 3a2ae6a8a46f: Pull complete [2023-01-10T15:35:12.689Z] 33b1e0a273af: Pull complete [2023-01-10T15:35:12.689Z] 5d3b04190fa2: Pull complete [2023-01-10T15:35:16.880Z] 2f39f015ded8: Pull complete [2023-01-10T15:35:16.880Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-10T15:35:16.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T15:35:16.880Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T15:35:16.963Z] prd-ubuntu20.04-docker-8c-8g-1573 does not seem to be running inside a container [2023-01-10T15:35:16.997Z] $ 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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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-10T15:35:18.020Z] $ docker top 30b4c38d08368ae246bb1d43020b787a4e215c68b9aea882b94155970a8a52a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T15:35:18.439Z] ---> job-cost.sh [2023-01-10T15:35:18.439Z] lf-activate-venv: SKIPPING [2023-01-10T15:35:18.439Z] INFO: No Stack... [2023-01-10T15:35:18.698Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T15:35:19.268Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T15:35:19.560Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-229/archives/cost.csv [2023-01-10T15:35:19.560Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T15:35:19.576Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-8-stack-cost] [2023-01-10T15:35:19.582Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-229-8-stack-cost] did not exist. Created. [2023-01-10T15:35:19.582Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T15:35:20.222Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-10T15:35:20.256Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T15:35:20.265Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T15:35:20.281Z] $ docker stop --time=1 30b4c38d08368ae246bb1d43020b787a4e215c68b9aea882b94155970a8a52a9 [2023-01-10T15:35:21.450Z] $ docker rm -f --volumes 30b4c38d08368ae246bb1d43020b787a4e215c68b9aea882b94155970a8a52a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T15:35:21.562Z] Failed in branch amd64 [2023-01-10T15:35:51.463Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1574 in /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] { [Pipeline] ws [2023-01-10T15:35:51.477Z] Running in /w/workspace/device-rest-go/8 [Pipeline] { [Pipeline] checkout [2023-01-10T15:35:51.521Z] The recommended git tool is: git [2023-01-10T15:35:56.683Z] using credential edgex-jenkins-ssh [2023-01-10T15:35:56.703Z] Cloning the remote Git repository [2023-01-10T15:35:56.746Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-01-10T15:35:56.821Z] > git init /w/workspace/device-rest-go/8 # timeout=10 [2023-01-10T15:35:56.964Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-10T15:35:56.965Z] > git --version # timeout=10 [2023-01-10T15:35:56.990Z] > git --version # 'git version 2.25.1' [2023-01-10T15:35:56.993Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T15:35:57.064Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T15:35:58.873Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-10T15:35:58.896Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T15:36:00.258Z] Merging remotes/origin/main commit 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba into PR head commit 55a1db122e28bea5b4adecb116c825ee4858d2c3 [2023-01-10T15:35:59.650Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-10T15:35:59.684Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-10T15:35:59.685Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T15:35:59.698Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-10T15:36:00.272Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T15:36:00.289Z] > git checkout -f 55a1db122e28bea5b4adecb116c825ee4858d2c3 # timeout=10 [2023-01-10T15:36:00.369Z] > git remote # timeout=10 [2023-01-10T15:36:00.387Z] > git config --get remote.origin.url # timeout=10 [2023-01-10T15:36:00.409Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T15:36:00.422Z] > git merge 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba # timeout=10 [2023-01-10T15:36:00.503Z] Merge succeeded, producing 1d0aacead33164d72f4bca911d15936e0bd06d5c [2023-01-10T15:36:00.503Z] Checking out Revision 1d0aacead33164d72f4bca911d15936e0bd06d5c (PR-229) [2023-01-10T15:36:00.483Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-10T15:36:00.509Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T15:36:00.523Z] > git checkout -f 1d0aacead33164d72f4bca911d15936e0bd06d5c # timeout=10 [2023-01-10T15:36:03.982Z] Commit message: "Merge commit '6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba' into HEAD" [2023-01-10T15:36:04.008Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T15:36:03.989Z] > git rev-list --no-walk b4ca460becdb547ca408c942b95ba0db9bd330ac # timeout=10 [2023-01-10T15:36:05.037Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-10T15:36:05.037Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T15:36:05.037Z] Dload Upload Total Spent Left Speed [2023-01-10T15:36:05.037Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75898 0 --:--:-- --:--:-- --:--:-- 75898 [Pipeline] sh [2023-01-10T15:36:05.678Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-10T15:36:05.997Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-10T15:36:05.997Z] + sudo tee /etc/docker/daemon.new [2023-01-10T15:36:05.997Z] { [2023-01-10T15:36:05.997Z] "registry-mirrors": [ [2023-01-10T15:36:05.997Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-10T15:36:05.997Z] ], [2023-01-10T15:36:05.997Z] "bip": "10.250.0.254/24", [2023-01-10T15:36:05.997Z] "hosts": [ [2023-01-10T15:36:05.997Z] "tcp://0.0.0.0:5555", [2023-01-10T15:36:05.997Z] "unix:///var/run/docker.sock" [2023-01-10T15:36:05.997Z] ], [2023-01-10T15:36:05.997Z] "mtu": 1458, [2023-01-10T15:36:05.997Z] "selinux-enabled": true, [2023-01-10T15:36:05.997Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-10T15:36:05.997Z] } [Pipeline] sh [2023-01-10T15:36:06.313Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-10T15:36:06.641Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T15:36:24.885Z] provisioning config files... [2023-01-10T15:36:24.913Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/8@tmp/config7606558520768716204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T15:36:25.263Z] ---> docker-login.sh [2023-01-10T15:36:25.263Z] nexus3.edgexfoundry.org:10001 [2023-01-10T15:36:25.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T15:36:25.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T15:36:25.802Z] Configure a credential helper to remove this warning. See [2023-01-10T15:36:25.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T15:36:25.802Z] [2023-01-10T15:36:25.802Z] Login Succeeded [2023-01-10T15:36:25.802Z] nexus3.edgexfoundry.org:10002 [2023-01-10T15:36:26.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T15:36:26.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T15:36:26.339Z] Configure a credential helper to remove this warning. See [2023-01-10T15:36:26.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T15:36:26.339Z] [2023-01-10T15:36:26.339Z] Login Succeeded [2023-01-10T15:36:26.339Z] nexus3.edgexfoundry.org:10003 [2023-01-10T15:36:26.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T15:36:26.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T15:36:26.608Z] Configure a credential helper to remove this warning. See [2023-01-10T15:36:26.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T15:36:26.608Z] [2023-01-10T15:36:26.608Z] Login Succeeded [2023-01-10T15:36:26.608Z] nexus3.edgexfoundry.org:10004 [2023-01-10T15:36:26.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T15:36:26.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T15:36:26.880Z] Configure a credential helper to remove this warning. See [2023-01-10T15:36:26.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T15:36:26.880Z] [2023-01-10T15:36:26.880Z] Login Succeeded [2023-01-10T15:36:26.880Z] docker.io [2023-01-10T15:36:27.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T15:36:27.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T15:36:27.420Z] Configure a credential helper to remove this warning. See [2023-01-10T15:36:27.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T15:36:27.420Z] [2023-01-10T15:36:27.420Z] Login Succeeded [2023-01-10T15:36:27.420Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T15:36:27.436Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T15:36:27.693Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T15:36:27.713Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T15:36:27.733Z] ========================================================= [2023-01-10T15:36:27.733Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-10T15:36:27.733Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T15:36:28.089Z] + 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-10T15:36:28.089Z] Sending build context to Docker daemon 150kB [2023-01-10T15:36:28.360Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T15:36:28.360Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T15:36:30.313Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-10T15:36:30.313Z] 9b18e9b68314: Pulling fs layer [2023-01-10T15:36:30.313Z] 35d82f9e3411: Pulling fs layer [2023-01-10T15:36:30.313Z] e16973657156: Pulling fs layer [2023-01-10T15:36:30.313Z] fc693d55d65f: Pulling fs layer [2023-01-10T15:36:30.313Z] 7e9fc2657dce: Pulling fs layer [2023-01-10T15:36:30.313Z] dda99020689f: Pulling fs layer [2023-01-10T15:36:30.313Z] db1c61fa0a46: Pulling fs layer [2023-01-10T15:36:30.313Z] 891c053d2c06: Pulling fs layer [2023-01-10T15:36:30.313Z] dda99020689f: Waiting [2023-01-10T15:36:30.313Z] db1c61fa0a46: Waiting [2023-01-10T15:36:30.313Z] 891c053d2c06: Waiting [2023-01-10T15:36:30.313Z] fc693d55d65f: Waiting [2023-01-10T15:36:30.313Z] 7e9fc2657dce: Waiting [2023-01-10T15:36:30.313Z] e16973657156: Verifying Checksum [2023-01-10T15:36:30.313Z] e16973657156: Download complete [2023-01-10T15:36:30.313Z] 35d82f9e3411: Verifying Checksum [2023-01-10T15:36:30.313Z] 35d82f9e3411: Download complete [2023-01-10T15:36:30.313Z] 7e9fc2657dce: Verifying Checksum [2023-01-10T15:36:30.313Z] 7e9fc2657dce: Download complete [2023-01-10T15:36:30.313Z] dda99020689f: Verifying Checksum [2023-01-10T15:36:30.313Z] dda99020689f: Download complete [2023-01-10T15:36:30.314Z] 9b18e9b68314: Verifying Checksum [2023-01-10T15:36:30.909Z] 9b18e9b68314: Pull complete [2023-01-10T15:36:31.179Z] 891c053d2c06: Verifying Checksum [2023-01-10T15:36:31.179Z] 891c053d2c06: Download complete [2023-01-10T15:36:31.450Z] 35d82f9e3411: Pull complete [2023-01-10T15:36:32.036Z] e16973657156: Pull complete [2023-01-10T15:36:32.304Z] db1c61fa0a46: Verifying Checksum [2023-01-10T15:36:32.305Z] db1c61fa0a46: Download complete [2023-01-10T15:36:32.892Z] fc693d55d65f: Verifying Checksum [2023-01-10T15:36:32.892Z] fc693d55d65f: Download complete [2023-01-10T15:36:45.232Z] fc693d55d65f: Pull complete [2023-01-10T15:36:45.232Z] 7e9fc2657dce: Pull complete [2023-01-10T15:36:45.232Z] dda99020689f: Pull complete [2023-01-10T15:36:51.915Z] db1c61fa0a46: Pull complete [2023-01-10T15:36:53.865Z] 891c053d2c06: Pull complete [2023-01-10T15:36:53.865Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-10T15:36:55.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T15:36:55.273Z] ---> f96f9c87975a [2023-01-10T15:36:55.274Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T15:36:55.868Z] ---> Running in 14c6beb2bf6a [2023-01-10T15:36:56.136Z] Removing intermediate container 14c6beb2bf6a [2023-01-10T15:36:56.136Z] ---> e3adb2d65fd8 [2023-01-10T15:36:56.136Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T15:36:56.404Z] ---> Running in b8105b7bb260 [2023-01-10T15:36:56.672Z] Removing intermediate container b8105b7bb260 [2023-01-10T15:36:56.672Z] ---> b5dd55a799b5 [2023-01-10T15:36:56.672Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T15:36:56.672Z] ---> Running in 31e4e5137669 [2023-01-10T15:36:56.942Z] Removing intermediate container 31e4e5137669 [2023-01-10T15:36:56.942Z] ---> d58c40f3a025 [2023-01-10T15:36:56.942Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T15:36:57.209Z] ---> Running in 6a08803f07df [2023-01-10T15:36:57.476Z] Removing intermediate container 6a08803f07df [2023-01-10T15:36:57.476Z] ---> 8a5855e4b5e2 [2023-01-10T15:36:57.476Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T15:36:57.476Z] ---> Running in 7eee092860ec [2023-01-10T15:36:58.438Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T15:36:58.704Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T15:36:59.667Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T15:36:59.667Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T15:36:59.667Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T15:36:59.936Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T15:36:59.936Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T15:36:59.936Z] OK: 226 MiB in 55 packages [2023-01-10T15:37:00.968Z] Removing intermediate container 7eee092860ec [2023-01-10T15:37:00.968Z] ---> e6ddcd063fd8 [2023-01-10T15:37:00.968Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-10T15:37:00.968Z] ---> Running in 3d127fa0e6d7 [2023-01-10T15:37:01.234Z] Removing intermediate container 3d127fa0e6d7 [2023-01-10T15:37:01.234Z] ---> 232ea7beedda [2023-01-10T15:37:01.234Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T15:37:01.817Z] ---> 48dc91eebfbd [2023-01-10T15:37:01.817Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T15:37:01.817Z] ---> Running in 89884d768e0a [2023-01-10T15:37:58.230Z] Removing intermediate container 89884d768e0a [2023-01-10T15:37:58.230Z] ---> a6860d2337b1 [2023-01-10T15:37:58.230Z] Step 11/12 : COPY . . [2023-01-10T15:37:58.230Z] ---> a894531581f3 [2023-01-10T15:37:58.230Z] Step 12/12 : RUN $MAKE [2023-01-10T15:37:58.230Z] ---> Running in 90f995a0f160 [2023-01-10T15:37:58.230Z] noop [2023-01-10T15:37:58.230Z] Removing intermediate container 90f995a0f160 [2023-01-10T15:37:58.230Z] ---> 12fb553d52be [2023-01-10T15:37:58.230Z] Successfully built 12fb553d52be [2023-01-10T15:37:58.230Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T15:37:58.590Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T15:37:58.590Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T15:37:58.787Z] prd-ubuntu20.04-docker-arm64-4c-16g-1574 does not seem to be running inside a container [2023-01-10T15:37:58.853Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@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-arm64 cat [2023-01-10T15:38:00.027Z] $ docker top 404a46fdee5806569c22066e4f216e076a0ef321290225a6e5391c75a1289fa7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T15:38:00.847Z] + go version [2023-01-10T15:38:00.847Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-10T15:38:00.864Z] $ docker stop --time=1 404a46fdee5806569c22066e4f216e076a0ef321290225a6e5391c75a1289fa7 [2023-01-10T15:38:02.474Z] $ docker rm -f --volumes 404a46fdee5806569c22066e4f216e076a0ef321290225a6e5391c75a1289fa7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T15:38:03.025Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T15:38:03.025Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T15:38:03.214Z] prd-ubuntu20.04-docker-arm64-4c-16g-1574 does not seem to be running inside a container [2023-01-10T15:38:03.278Z] $ 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/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@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-arm64 cat [2023-01-10T15:38:04.413Z] $ docker top 050f4b8564ff6eefd212e25b2382e6d5985c8c32afd7c581dff7a7d4fc468bb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T15:38:04.901Z] + git config --global --add safe.directory /w/workspace/device-rest-go/8 [Pipeline] fileExists [Pipeline] sh [2023-01-10T15:38:05.500Z] + make test [2023-01-10T15:38:05.500Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-10T15:38:07.446Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-10T15:39:29.166Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-10T15:39:29.166Z] ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 26.8% of statements [2023-01-10T15:39:29.166Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-10T15:39:29.166Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-10T15:39:47.387Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T15:39:47.387Z] ./driver/protocolpropertykey.go [2023-01-10T15:39:47.387Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T15:39:47.387Z] make: *** [Makefile:48: test] Error 1 [Pipeline] } [2023-01-10T15:39:47.408Z] $ docker stop --time=1 050f4b8564ff6eefd212e25b2382e6d5985c8c32afd7c581dff7a7d4fc468bb0 [2023-01-10T15:39:49.170Z] $ docker rm -f --volumes 050f4b8564ff6eefd212e25b2382e6d5985c8c32afd7c581dff7a7d4fc468bb0 [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-10T15:39:50.165Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T15:39:50.165Z] [2023-01-10T15:39:50.165Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T15:39:50.503Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T15:39:50.774Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-10T15:39:50.774Z] 8998bd30e6a1: Pulling fs layer [2023-01-10T15:39:50.774Z] 04944245beec: Pulling fs layer [2023-01-10T15:39:50.774Z] 699f458cf7ca: Pulling fs layer [2023-01-10T15:39:50.774Z] 765212b225bb: Pulling fs layer [2023-01-10T15:39:50.774Z] f23df028b6ca: Pulling fs layer [2023-01-10T15:39:50.774Z] d65c8cfc05b1: Pulling fs layer [2023-01-10T15:39:50.774Z] 2437ff75d9bd: Pulling fs layer [2023-01-10T15:39:50.774Z] f23df028b6ca: Waiting [2023-01-10T15:39:50.774Z] d65c8cfc05b1: Waiting [2023-01-10T15:39:50.774Z] 2437ff75d9bd: Waiting [2023-01-10T15:39:50.774Z] 765212b225bb: Waiting [2023-01-10T15:39:50.774Z] 04944245beec: Verifying Checksum [2023-01-10T15:39:50.774Z] 04944245beec: Download complete [2023-01-10T15:39:50.774Z] 765212b225bb: Verifying Checksum [2023-01-10T15:39:50.774Z] 765212b225bb: Download complete [2023-01-10T15:39:51.053Z] f23df028b6ca: Download complete [2023-01-10T15:39:51.053Z] d65c8cfc05b1: Verifying Checksum [2023-01-10T15:39:51.053Z] d65c8cfc05b1: Download complete [2023-01-10T15:39:51.053Z] 699f458cf7ca: Verifying Checksum [2023-01-10T15:39:51.053Z] 699f458cf7ca: Download complete [2023-01-10T15:39:51.638Z] 8998bd30e6a1: Download complete [2023-01-10T15:39:54.223Z] 2437ff75d9bd: Verifying Checksum [2023-01-10T15:39:54.223Z] 2437ff75d9bd: Download complete [2023-01-10T15:39:55.636Z] 8998bd30e6a1: Pull complete [2023-01-10T15:39:55.903Z] 04944245beec: Pull complete [2023-01-10T15:39:57.318Z] 699f458cf7ca: Pull complete [2023-01-10T15:39:57.318Z] 765212b225bb: Pull complete [2023-01-10T15:39:58.280Z] f23df028b6ca: Pull complete [2023-01-10T15:39:58.281Z] d65c8cfc05b1: Pull complete [2023-01-10T15:40:13.291Z] 2437ff75d9bd: Pull complete [2023-01-10T15:40:13.291Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-10T15:40:13.291Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T15:40:13.291Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T15:40:13.571Z] prd-ubuntu20.04-docker-arm64-4c-16g-1574 does not seem to be running inside a container [2023-01-10T15:40:13.643Z] $ 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/8 -v /w/workspace/device-rest-go/8:/w/workspace/device-rest-go/8:rw,z -v /w/workspace/device-rest-go/8@tmp:/w/workspace/device-rest-go/8@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:arm64 cat [2023-01-10T15:40:16.349Z] $ docker top ac808b4d490d78372589eaf91eaba3956b9b5148def8780a144ccb1f7da694b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T15:40:17.254Z] ---> job-cost.sh [2023-01-10T15:40:17.254Z] lf-activate-venv: SKIPPING [2023-01-10T15:40:17.254Z] INFO: No Stack... [2023-01-10T15:40:17.838Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-10T15:40:18.425Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T15:40:19.172Z] + cat /w/workspace/device-rest-go/8/archives/cost.csv [2023-01-10T15:40:19.172Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T15:40:19.257Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-8-stack-cost] [2023-01-10T15:40:19.263Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-229-8-stack-cost] did not exist. Created. [2023-01-10T15:40:19.263Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T15:40:19.981Z] /w/workspace/device-rest-go/8@tmp/durable-124cd5cf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-10T15:40:20.692Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-10T15:40:20.718Z] Warning: overwriting stash ‘stack-cost’ [2023-01-10T15:40:21.256Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T15:40:21.267Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T15:40:21.284Z] $ docker stop --time=1 ac808b4d490d78372589eaf91eaba3956b9b5148def8780a144ccb1f7da694b9 [2023-01-10T15:40:22.784Z] $ docker rm -f --volumes ac808b4d490d78372589eaf91eaba3956b9b5148def8780a144ccb1f7da694b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T15:40:23.072Z] 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-10T15:40:23.771Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-229/archives ] [2023-01-10T15:40:23.772Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2023-01-10T15:40:23.772Z] total 16 [2023-01-10T15:40:23.772Z] drwxr-xr-x 3 root root 4096 Jan 10 15:35 . [2023-01-10T15:40:23.772Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 15:35 .. [2023-01-10T15:40:23.772Z] drwxr-xr-x 2 root root 4096 Jan 10 15:35 cost [2023-01-10T15:40:23.772Z] -rw-r--r-- 1 root root 86 Jan 10 15:35 cost.csv [2023-01-10T15:40:23.772Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2023-01-10T15:40:23.772Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2023-01-10T15:40:23.772Z] total 16 [2023-01-10T15:40:23.772Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 15:35 . [2023-01-10T15:40:23.772Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 15:35 .. [2023-01-10T15:40:23.772Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 15:35 cost [2023-01-10T15:40:23.772Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 10 15:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-10T15:40:24.065Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T15:40:24.925Z] ---> package-listing.sh [2023-01-10T15:40:24.925Z] ++ facter osfamily [2023-01-10T15:40:24.925Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-10T15:40:25.185Z] + OS_FAMILY=debian [2023-01-10T15:40:25.185Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-229 [2023-01-10T15:40:25.185Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-10T15:40:25.185Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-10T15:40:25.185Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-10T15:40:25.185Z] + PACKAGES=/tmp/packages_start.txt [2023-01-10T15:40:25.185Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' [2023-01-10T15:40:25.185Z] + PACKAGES=/tmp/packages_end.txt [2023-01-10T15:40:25.185Z] + case "${OS_FAMILY}" in [2023-01-10T15:40:25.185Z] + grep '^ii' [2023-01-10T15:40:25.185Z] + dpkg -l [2023-01-10T15:40:25.185Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-10T15:40:25.185Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-10T15:40:25.185Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-10T15:40:25.185Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' [2023-01-10T15:40:25.185Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [2023-01-10T15:40:25.185Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [Pipeline] echo [2023-01-10T15:40:25.197Z] 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-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-10T15:40:25.477Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T15:40:26.115Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T15:40:26.115Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T15:40:26.186Z] prd-ubuntu20.04-docker-8c-8g-1573 does not seem to be running inside a container [2023-01-10T15:40:26.214Z] $ 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-229/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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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-10T15:40:29.199Z] $ docker top 9f7474c19e49e2b49470ab39098e2cadceb57ebb3b1b8bbe734d6ca145e6df3e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T15:40:29.537Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-10T15:40:29.824Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-10T15:40:30.120Z] + ls /var/log/sa-host [2023-01-10T15:40:30.120Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T15:40:30.262Z] provisioning config files... [2023-01-10T15:40:30.272Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config9169459702293118600tmp [Pipeline] { [Pipeline] echo [2023-01-10T15:40:30.286Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T15:40:30.570Z] ---> create-netrc.sh [Pipeline] } [2023-01-10T15:40:30.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-10T15:40:30.953Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-10T15:40:30.963Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T15:40:31.252Z] ---> sudo-logs.sh [2023-01-10T15:40:31.252Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-10T15:40:31.304Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T15:40:31.596Z] ---> job-cost.sh [2023-01-10T15:40:31.596Z] lf-activate-venv: SKIPPING [2023-01-10T15:40:31.596Z] DEBUG: total: 0.2199999988079071 [2023-01-10T15:40:31.596Z] INFO: Retrieving Stack Cost... [2023-01-10T15:40:32.172Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T15:40:32.432Z] INFO: Archiving Costs [Pipeline] echo [2023-01-10T15:40:32.446Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T15:40:32.730Z] ---> logs-deploy.sh [2023-01-10T15:40:32.730Z] lf-activate-venv: SKIPPING [2023-01-10T15:40:32.730Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-229/8 [2023-01-10T15:40:32.730Z] INFO: archiving workspace using pattern(s): [2023-01-10T15:40:34.108Z] Archives upload complete. [2023-01-10T15:40:34.108Z] INFO: archiving logs to Nexus