Pull request #1284 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-sdk-go Obtained Jenkinsfile from 111ff82ba69970d8d50d02b03bb3601a28173754+7610f6dc338b87754f939bb9ede04e880837a002 (edd26a7d60bffb744e28459ae5f2bc88e61c6e8a) 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-ssh15718620026906148507.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-ssh15567963411799168428.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-sdk-go/branches/PR-1284/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-sdk-go/branches/PR-1284/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1751209540100852090.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-ssh17271478407004330528.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-sdk-go/branches/PR-1284/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-sdk-go/branches/PR-1284/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18148954740108862165.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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2803 in /w/workspace/gexfoundry_device-sdk-go_PR-1284 [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-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1284 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1284/head:refs/remotes/origin/PR-1284 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7610f6dc338b87754f939bb9ede04e880837a002 into PR head commit 111ff82ba69970d8d50d02b03bb3601a28173754 Merge succeeded, producing 111ff82ba69970d8d50d02b03bb3601a28173754 Checking out Revision 111ff82ba69970d8d50d02b03bb3601a28173754 (PR-1284) > git config core.sparsecheckout # timeout=10 > git checkout -f 111ff82ba69970d8d50d02b03bb3601a28173754 # 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 7610f6dc338b87754f939bb9ede04e880837a002 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 111ff82ba69970d8d50d02b03bb3601a28173754 # timeout=10 Commit message: "refactor!: Update config for removal of SecretStore from services' configuration file" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-17T21:02:36.191Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-17T21:02:36.253Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-17T21:02:36.272Z] ========================================================= [2023-01-17T21:02:36.272Z] EdgeX Global Pipelines Version Info [2023-01-17T21:02:36.272Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 105ad4e9fc30416fca8392263e84564a1ed17eaa # timeout=10 [2023-01-17T21:02:36.998Z] ------------------- [2023-01-17T21:02:36.998Z] stable info: [2023-01-17T21:02:36.998Z] ------------------- [2023-01-17T21:02:36.998Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-17T21:02:36.998Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-17T21:02:36.998Z] Message: update stable to v1.0.244 [2023-01-17T21:02:37.566Z] ------------------- [2023-01-17T21:02:37.566Z] experimental info: [2023-01-17T21:02:37.566Z] ------------------- [2023-01-17T21:02:37.566Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-17T21:02:37.566Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-17T21:02:37.566Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-17T21:02:37.731Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-17T21:02:37.748Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-17T21:02:37.765Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-17T21:02:37.782Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-17T21:02:37.795Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-17T21:02:37.811Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-17T21:02:37.821Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-17T21:02:37.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-17T21:02:37.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-17T21:02:37.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-17T21:02:37.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-17T21:02:37.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-17T21:02:37.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-17T21:02:37.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-17T21:02:37.928Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-17T21:02:37.942Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-17T21:02:37.952Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-17T21:02:37.964Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-17T21:02:37.976Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-17T21:02:37.992Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-17T21:02:38.002Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-17T21:02:38.010Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-17T21:02:38.019Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-17T21:02:38.029Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-17T21:02:38.049Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-17T21:02:38.066Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-17T21:02:38.083Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-17T21:02:38.096Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1284 [Pipeline] echo [2023-01-17T21:02:38.107Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1284 [Pipeline] echo [2023-01-17T21:02:38.121Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1284 [Pipeline] echo [2023-01-17T21:02:38.136Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 111ff82ba69970d8d50d02b03bb3601a28173754 [Pipeline] echo [2023-01-17T21:02:38.149Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 111ff82 [Pipeline] echo [2023-01-17T21:02:38.159Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T21:02:38.203Z] provisioning config files... [2023-01-17T21:02:38.215Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1284@tmp/config13027609084150681171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T21:02:38.518Z] ---> docker-login.sh [2023-01-17T21:02:38.518Z] nexus3.edgexfoundry.org:10001 [2023-01-17T21:02:39.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T21:02:39.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T21:02:39.458Z] Configure a credential helper to remove this warning. See [2023-01-17T21:02:39.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T21:02:39.458Z] [2023-01-17T21:02:39.458Z] Login Succeeded [2023-01-17T21:02:39.458Z] nexus3.edgexfoundry.org:10002 [2023-01-17T21:02:39.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T21:02:39.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T21:02:39.760Z] Configure a credential helper to remove this warning. See [2023-01-17T21:02:39.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T21:02:39.760Z] [2023-01-17T21:02:39.760Z] Login Succeeded [2023-01-17T21:02:39.760Z] nexus3.edgexfoundry.org:10003 [2023-01-17T21:02:39.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T21:02:39.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T21:02:39.760Z] Configure a credential helper to remove this warning. See [2023-01-17T21:02:39.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T21:02:39.760Z] [2023-01-17T21:02:39.760Z] Login Succeeded [2023-01-17T21:02:39.760Z] nexus3.edgexfoundry.org:10004 [2023-01-17T21:02:39.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T21:02:40.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T21:02:40.022Z] Configure a credential helper to remove this warning. See [2023-01-17T21:02:40.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T21:02:40.022Z] [2023-01-17T21:02:40.022Z] Login Succeeded [2023-01-17T21:02:40.022Z] docker.io [2023-01-17T21:02:40.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T21:02:40.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T21:02:40.282Z] Configure a credential helper to remove this warning. See [2023-01-17T21:02:40.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T21:02:40.282Z] [2023-01-17T21:02:40.282Z] Login Succeeded [2023-01-17T21:02:40.282Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T21:02:40.289Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-17T21:02:40.665Z] + git rev-list -1 --merges 111ff82ba69970d8d50d02b03bb3601a28173754~1..111ff82ba69970d8d50d02b03bb3601a28173754 [Pipeline] echo [2023-01-17T21:02:40.726Z] -----------> git rev-list -1 --merges 111ff82ba69970d8d50d02b03bb3601a28173754~1..111ff82ba69970d8d50d02b03bb3601a28173754 111ff82ba69970d8d50d02b03bb3601a28173754 [false] [Pipeline] sh [2023-01-17T21:02:41.021Z] + git log --format=format:%s -1 111ff82ba69970d8d50d02b03bb3601a28173754 [Pipeline] echo [2023-01-17T21:02:41.037Z] ========================================================= [2023-01-17T21:02:41.037Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-17T21:02:41.037Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T21:02:41.378Z] + git log --format=format:%s -1 111ff82ba69970d8d50d02b03bb3601a28173754 [Pipeline] echo [2023-01-17T21:02:41.387Z] [semverPrep] GIT_COMMIT: 111ff82ba69970d8d50d02b03bb3601a28173754, Commit Message: refactor!: Update config for removal of SecretStore from services' configuration file [Pipeline] echo [2023-01-17T21:02:41.397Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-17T21:02:41.747Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T21:02:41.747Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-17T21:02:41.747Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-17T21:02:41.747Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-17T21:02:41.747Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-17T21:02:41.747Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-17T21:02:41.747Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T21:02:42.104Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T21:02:42.104Z] [2023-01-17T21:02:42.104Z] 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-17T21:02:42.412Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T21:02:42.412Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-17T21:02:42.412Z] b85a868b505f: Pulling fs layer [2023-01-17T21:02:42.412Z] e2be974225ed: Pulling fs layer [2023-01-17T21:02:42.412Z] 339a4e72a1f5: Pulling fs layer [2023-01-17T21:02:42.412Z] 988bab9f4d93: Pulling fs layer [2023-01-17T21:02:42.412Z] 1469e6f7b9e6: Pulling fs layer [2023-01-17T21:02:42.412Z] eaf3925da568: Pulling fs layer [2023-01-17T21:02:42.412Z] bab4dde63d76: Pulling fs layer [2023-01-17T21:02:42.412Z] bde34c3a00c8: Pulling fs layer [2023-01-17T21:02:42.412Z] b352a97aabf1: Pulling fs layer [2023-01-17T21:02:42.412Z] 4872d77fe225: Pulling fs layer [2023-01-17T21:02:42.412Z] 5851b861e8e6: Pulling fs layer [2023-01-17T21:02:42.412Z] 1469e6f7b9e6: Waiting [2023-01-17T21:02:42.412Z] eaf3925da568: Waiting [2023-01-17T21:02:42.412Z] bab4dde63d76: Waiting [2023-01-17T21:02:42.412Z] bde34c3a00c8: Waiting [2023-01-17T21:02:42.412Z] b352a97aabf1: Waiting [2023-01-17T21:02:42.412Z] 4872d77fe225: Waiting [2023-01-17T21:02:42.412Z] 5851b861e8e6: Waiting [2023-01-17T21:02:42.412Z] 988bab9f4d93: Waiting [2023-01-17T21:02:42.412Z] e2be974225ed: Verifying Checksum [2023-01-17T21:02:42.412Z] e2be974225ed: Download complete [2023-01-17T21:02:42.412Z] 988bab9f4d93: Verifying Checksum [2023-01-17T21:02:42.412Z] 988bab9f4d93: Download complete [2023-01-17T21:02:42.677Z] 1469e6f7b9e6: Verifying Checksum [2023-01-17T21:02:42.677Z] 1469e6f7b9e6: Download complete [2023-01-17T21:02:42.677Z] 339a4e72a1f5: Verifying Checksum [2023-01-17T21:02:42.677Z] 339a4e72a1f5: Download complete [2023-01-17T21:02:42.677Z] eaf3925da568: Download complete [2023-01-17T21:02:42.677Z] bde34c3a00c8: Download complete [2023-01-17T21:02:42.938Z] b352a97aabf1: Verifying Checksum [2023-01-17T21:02:42.939Z] b352a97aabf1: Download complete [2023-01-17T21:02:42.939Z] 4872d77fe225: Download complete [2023-01-17T21:02:42.939Z] 5851b861e8e6: Verifying Checksum [2023-01-17T21:02:42.939Z] 5851b861e8e6: Download complete [2023-01-17T21:02:42.939Z] b85a868b505f: Verifying Checksum [2023-01-17T21:02:42.939Z] b85a868b505f: Download complete [2023-01-17T21:02:43.198Z] bab4dde63d76: Verifying Checksum [2023-01-17T21:02:43.198Z] bab4dde63d76: Download complete [2023-01-17T21:02:44.576Z] b85a868b505f: Pull complete [2023-01-17T21:02:45.515Z] e2be974225ed: Pull complete [2023-01-17T21:02:46.908Z] 339a4e72a1f5: Pull complete [2023-01-17T21:02:47.850Z] 988bab9f4d93: Pull complete [2023-01-17T21:02:48.788Z] 1469e6f7b9e6: Pull complete [2023-01-17T21:02:48.788Z] eaf3925da568: Pull complete [2023-01-17T21:02:50.695Z] bab4dde63d76: Pull complete [2023-01-17T21:02:50.695Z] bde34c3a00c8: Pull complete [2023-01-17T21:02:50.955Z] b352a97aabf1: Pull complete [2023-01-17T21:02:51.215Z] 4872d77fe225: Pull complete [2023-01-17T21:02:51.215Z] 5851b861e8e6: Pull complete [2023-01-17T21:02:51.477Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-17T21:02:51.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T21:02:51.477Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T21:02:51.582Z] prd-ubuntu20.04-docker-8c-8g-2803 does not seem to be running inside a container [2023-01-17T21:02:51.619Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1284 -v /w/workspace/gexfoundry_device-sdk-go_PR-1284:/w/workspace/gexfoundry_device-sdk-go_PR-1284:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1284@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1284@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-17T21:02:58.198Z] $ docker top 0be6ce799a10a2af3a6d5c0a6aedf51a2f5061ad1a909c81319a5bc8e2e98c7c -eo pid,comm [2023-01-17T21:02:58.255Z] 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-17T21:02:58.255Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T21:02:58.295Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T21:02:58.295Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T21:02:58.407Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T21:02:58.414Z] $ docker exec 0be6ce799a10a2af3a6d5c0a6aedf51a2f5061ad1a909c81319a5bc8e2e98c7c ssh-agent [2023-01-17T21:02:58.539Z] SSH_AUTH_SOCK=/tmp/ssh-xdtEtgYtqxy1/agent.32 [2023-01-17T21:02:58.539Z] SSH_AGENT_PID=38 [2023-01-17T21:02:58.549Z] Running ssh-add (command line suppressed) [2023-01-17T21:02:58.675Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1284@tmp/private_key_423008445495987165.key (/w/workspace/gexfoundry_device-sdk-go_PR-1284@tmp/private_key_423008445495987165.key) [2023-01-17T21:02:58.686Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T21:02:58.974Z] + git tag --points-at HEAD [Pipeline] } [2023-01-17T21:02:58.988Z] $ docker exec --env ******** --env ******** 0be6ce799a10a2af3a6d5c0a6aedf51a2f5061ad1a909c81319a5bc8e2e98c7c ssh-agent -k [2023-01-17T21:02:59.106Z] unset SSH_AUTH_SOCK; [2023-01-17T21:02:59.109Z] unset SSH_AGENT_PID; [2023-01-17T21:02:59.109Z] echo Agent pid 38 killed; [2023-01-17T21:02:59.112Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-17T21:02:59.136Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T21:02:59.136Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T21:02:59.255Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T21:02:59.261Z] $ docker exec 0be6ce799a10a2af3a6d5c0a6aedf51a2f5061ad1a909c81319a5bc8e2e98c7c ssh-agent [2023-01-17T21:02:59.358Z] SSH_AUTH_SOCK=/tmp/ssh-gE3OcARZ2MZt/agent.70 [2023-01-17T21:02:59.358Z] SSH_AGENT_PID=76 [2023-01-17T21:02:59.363Z] Running ssh-add (command line suppressed) [2023-01-17T21:02:59.496Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1284@tmp/private_key_17505533806303489086.key (/w/workspace/gexfoundry_device-sdk-go_PR-1284@tmp/private_key_17505533806303489086.key) [2023-01-17T21:02:59.518Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T21:02:59.843Z] + git semver init [2023-01-17T21:03:00.104Z] 2023-01-17 21:03:00,047 [run_init] DEBUG init version:0.0.0 force:False [2023-01-17T21:03:00.104Z] 2023-01-17 21:03:00,049 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1284/.semver [2023-01-17T21:03:00.104Z] 2023-01-17 21:03:00,050 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1284/.semver [2023-01-17T21:03:00.104Z] 2023-01-17 21:03:00,050 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1284/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1284, universal_newlines=False, shell=None, istream=None) [2023-01-17T21:03:01.578Z] 2023-01-17 21:03:01,266 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1284/.git/info/exclude [2023-01-17T21:03:01.579Z] 2023-01-17 21:03:01,266 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1284/.semver/PR-1284 with force:False [2023-01-17T21:03:01.579Z] 2023-01-17 21:03:01,267 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1284/.semver/PR-1284 [2023-01-17T21:03:01.579Z] 2023-01-17 21:03:01,270 [execute] INFO git cat-file --batch-check [2023-01-17T21:03:01.579Z] 2023-01-17 21:03:01,271 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1284/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T21:03:01.579Z] 2023-01-17 21:03:01,277 [execute] INFO git cat-file --batch [2023-01-17T21:03:01.579Z] 2023-01-17 21:03:01,277 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1284/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T21:03:01.579Z] 2023-01-17 21:03:01,282 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1284/.semver/PR-1284 [2023-01-17T21:03:01.579Z] 0.0.0 [Pipeline] } [2023-01-17T21:03:01.591Z] $ docker exec --env ******** --env ******** 0be6ce799a10a2af3a6d5c0a6aedf51a2f5061ad1a909c81319a5bc8e2e98c7c ssh-agent -k [2023-01-17T21:03:01.790Z] unset SSH_AUTH_SOCK; [2023-01-17T21:03:01.791Z] unset SSH_AGENT_PID; [2023-01-17T21:03:01.791Z] echo Agent pid 76 killed; [2023-01-17T21:03:01.799Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T21:03:02.102Z] + git semver [Pipeline] } [2023-01-17T21:03:02.709Z] $ docker stop --time=1 0be6ce799a10a2af3a6d5c0a6aedf51a2f5061ad1a909c81319a5bc8e2e98c7c [2023-01-17T21:03:04.801Z] $ docker rm -f --volumes 0be6ce799a10a2af3a6d5c0a6aedf51a2f5061ad1a909c81319a5bc8e2e98c7c [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T21:03:05.299Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-17T21:03:05.560Z] Stashed 1 file(s) [Pipeline] echo [2023-01-17T21:03:05.564Z] [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-17T21:03:05.723Z] provisioning config files... [2023-01-17T21:03:05.733Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1284@tmp/config14155819057671045573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T21:03:06.030Z] ---> docker-login.sh [2023-01-17T21:03:06.030Z] nexus3.edgexfoundry.org:10001 [2023-01-17T21:03:06.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T21:03:06.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T21:03:06.030Z] Configure a credential helper to remove this warning. See [2023-01-17T21:03:06.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T21:03:06.030Z] [2023-01-17T21:03:06.030Z] Login Succeeded [2023-01-17T21:03:06.030Z] nexus3.edgexfoundry.org:10002 [2023-01-17T21:03:06.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T21:03:06.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T21:03:06.290Z] Configure a credential helper to remove this warning. See [2023-01-17T21:03:06.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T21:03:06.290Z] [2023-01-17T21:03:06.290Z] Login Succeeded [2023-01-17T21:03:06.290Z] nexus3.edgexfoundry.org:10003 [2023-01-17T21:03:06.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T21:03:06.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T21:03:06.290Z] Configure a credential helper to remove this warning. See [2023-01-17T21:03:06.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T21:03:06.290Z] [2023-01-17T21:03:06.290Z] Login Succeeded [2023-01-17T21:03:06.290Z] nexus3.edgexfoundry.org:10004 [2023-01-17T21:03:06.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T21:03:06.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T21:03:06.290Z] Configure a credential helper to remove this warning. See [2023-01-17T21:03:06.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T21:03:06.290Z] [2023-01-17T21:03:06.290Z] Login Succeeded [2023-01-17T21:03:06.549Z] docker.io [2023-01-17T21:03:06.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T21:03:06.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T21:03:06.809Z] Configure a credential helper to remove this warning. See [2023-01-17T21:03:06.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T21:03:06.809Z] [2023-01-17T21:03:06.809Z] Login Succeeded [2023-01-17T21:03:06.809Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T21:03:06.816Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-17T21:03:06.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T21:03:06.884Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T21:03:06.890Z] ========================================================= [2023-01-17T21:03:06.890Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-17T21:03:06.890Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T21:03:07.196Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/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-17T21:03:07.197Z] Sending build context to Docker daemon 10.48MB [2023-01-17T21:03:07.197Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T21:03:07.197Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-17T21:03:07.767Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-17T21:03:07.767Z] 213ec9aee27d: Pulling fs layer [2023-01-17T21:03:07.767Z] 4583459ba037: Pulling fs layer [2023-01-17T21:03:07.767Z] 93c1e223e6f2: Pulling fs layer [2023-01-17T21:03:07.767Z] 53926ce57604: Pulling fs layer [2023-01-17T21:03:07.767Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-17T21:03:07.767Z] 22ff95d597cd: Pulling fs layer [2023-01-17T21:03:07.768Z] 12d6caf4c0d1: Pulling fs layer [2023-01-17T21:03:07.768Z] 96b7cbca73a9: Pulling fs layer [2023-01-17T21:03:07.768Z] a7acece74701: Pulling fs layer [2023-01-17T21:03:07.768Z] 21b2b0c7a3f4: Waiting [2023-01-17T21:03:07.768Z] 22ff95d597cd: Waiting [2023-01-17T21:03:07.768Z] 12d6caf4c0d1: Waiting [2023-01-17T21:03:07.768Z] 96b7cbca73a9: Waiting [2023-01-17T21:03:07.768Z] a7acece74701: Waiting [2023-01-17T21:03:07.768Z] 53926ce57604: Waiting [2023-01-17T21:03:07.768Z] 93c1e223e6f2: Verifying Checksum [2023-01-17T21:03:07.768Z] 93c1e223e6f2: Download complete [2023-01-17T21:03:07.768Z] 4583459ba037: Verifying Checksum [2023-01-17T21:03:07.768Z] 4583459ba037: Download complete [2023-01-17T21:03:07.768Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-17T21:03:07.768Z] 21b2b0c7a3f4: Download complete [2023-01-17T21:03:07.768Z] 22ff95d597cd: Verifying Checksum [2023-01-17T21:03:07.768Z] 22ff95d597cd: Download complete [2023-01-17T21:03:07.768Z] 213ec9aee27d: Verifying Checksum [2023-01-17T21:03:07.768Z] 12d6caf4c0d1: Download complete [2023-01-17T21:03:08.035Z] 213ec9aee27d: Pull complete [2023-01-17T21:03:08.306Z] 4583459ba037: Pull complete [2023-01-17T21:03:08.579Z] 93c1e223e6f2: Pull complete [2023-01-17T21:03:08.861Z] a7acece74701: Verifying Checksum [2023-01-17T21:03:08.861Z] a7acece74701: Download complete [2023-01-17T21:03:09.125Z] 96b7cbca73a9: Verifying Checksum [2023-01-17T21:03:09.125Z] 96b7cbca73a9: Download complete [2023-01-17T21:03:09.126Z] 53926ce57604: Verifying Checksum [2023-01-17T21:03:09.126Z] 53926ce57604: Download complete [2023-01-17T21:03:14.394Z] 53926ce57604: Pull complete [2023-01-17T21:03:14.651Z] 21b2b0c7a3f4: Pull complete [2023-01-17T21:03:14.909Z] 22ff95d597cd: Pull complete [2023-01-17T21:03:15.168Z] 12d6caf4c0d1: Pull complete [2023-01-17T21:03:18.483Z] 96b7cbca73a9: Pull complete [2023-01-17T21:03:19.420Z] a7acece74701: Pull complete [2023-01-17T21:03:19.679Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-17T21:03:19.679Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-17T21:03:19.679Z] ---> db6d94c90886 [2023-01-17T21:03:19.679Z] Step 3/10 : ARG MAKE=make build [2023-01-17T21:03:20.670Z] Still waiting to schedule task [2023-01-17T21:03:20.671Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-17T21:03:34.615Z] ---> Running in 2a9d067fcc24 [2023-01-17T21:03:34.615Z] Removing intermediate container 2a9d067fcc24 [2023-01-17T21:03:34.615Z] ---> 4dd700dce535 [2023-01-17T21:03:34.615Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-17T21:03:34.615Z] ---> Running in 9ecc8472d8e1 [2023-01-17T21:03:34.615Z] Removing intermediate container 9ecc8472d8e1 [2023-01-17T21:03:34.615Z] ---> e9869257c189 [2023-01-17T21:03:34.615Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-17T21:03:34.615Z] ---> Running in 980f52847d80 [2023-01-17T21:03:34.615Z] Removing intermediate container 980f52847d80 [2023-01-17T21:03:34.615Z] ---> c25929cde55e [2023-01-17T21:03:34.615Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-17T21:03:34.615Z] ---> Running in 4a0da04f671b [2023-01-17T21:03:34.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-17T21:03:34.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-17T21:03:34.615Z] OK: 211 MiB in 51 packages [2023-01-17T21:03:34.615Z] Removing intermediate container 4a0da04f671b [2023-01-17T21:03:34.615Z] ---> 9f48e6e3e1d4 [2023-01-17T21:03:34.615Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-17T21:03:34.615Z] ---> b5965e27d4d7 [2023-01-17T21:03:34.615Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T21:03:34.897Z] ---> Running in b2f43a58c8f5 [2023-01-17T21:03:49.809Z] go: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.11 (replaced by ../MODS/go-mod-bootstrap): reading /MODS/go-mod-bootstrap/go.mod: open /MODS/go-mod-bootstrap/go.mod: no such file or directory [2023-01-17T21:03:49.809Z] skipping... [2023-01-17T21:04:57.550Z] Removing intermediate container b2f43a58c8f5 [2023-01-17T21:04:57.550Z] ---> 6357ae6386b9 [2023-01-17T21:04:57.550Z] Step 9/10 : COPY . . [2023-01-17T21:04:57.550Z] ---> a79c298d9568 [2023-01-17T21:04:57.550Z] Step 10/10 : RUN ${MAKE} [2023-01-17T21:04:57.550Z] ---> Running in c0ebb2c4411f [2023-01-17T21:04:57.550Z] noop [2023-01-17T21:04:57.550Z] Removing intermediate container c0ebb2c4411f [2023-01-17T21:04:57.550Z] ---> 46f400f63cfc [2023-01-17T21:04:57.550Z] Successfully built 46f400f63cfc [2023-01-17T21:04:57.550Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T21:04:57.857Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-17T21:04:57.857Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T21:04:57.947Z] prd-ubuntu20.04-docker-8c-8g-2803 does not seem to be running inside a container [2023-01-17T21:04:57.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1284 -v /w/workspace/gexfoundry_device-sdk-go_PR-1284:/w/workspace/gexfoundry_device-sdk-go_PR-1284:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1284@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1284@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-x86_64 cat [2023-01-17T21:04:59.959Z] $ docker top e6d684d02c35d2eb306a8466b31c2f7c85ef54fccab9b29c73f0cdc7da7d5aa4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T21:05:00.306Z] + go version [2023-01-17T21:05:00.306Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-17T21:05:00.320Z] $ docker stop --time=1 e6d684d02c35d2eb306a8466b31c2f7c85ef54fccab9b29c73f0cdc7da7d5aa4 [2023-01-17T21:05:02.259Z] $ docker rm -f --volumes e6d684d02c35d2eb306a8466b31c2f7c85ef54fccab9b29c73f0cdc7da7d5aa4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T21:05:02.718Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-17T21:05:02.718Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T21:05:02.791Z] prd-ubuntu20.04-docker-8c-8g-2803 does not seem to be running inside a container [2023-01-17T21:05:02.824Z] $ 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-sdk-go_PR-1284 -v /w/workspace/gexfoundry_device-sdk-go_PR-1284:/w/workspace/gexfoundry_device-sdk-go_PR-1284:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1284@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1284@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-x86_64 cat [2023-01-17T21:05:03.844Z] $ docker top d5640f7f70808774ef3f7e2da1a173118b7919504fdddc4ea6aa1bacaeded34c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T21:05:04.176Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1284 [Pipeline] fileExists [Pipeline] sh [2023-01-17T21:05:04.472Z] + make test [2023-01-17T21:05:04.472Z] go test -race -coverprofile=coverage.out ./... [2023-01-17T21:05:04.731Z] pkg/service/main.go:14:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.11: replacement directory ../MODS/go-mod-bootstrap does not exist [2023-01-17T21:05:04.731Z] pkg/service/service.go:29:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.11: replacement directory ../MODS/go-mod-bootstrap does not exist [2023-01-17T21:05:04.731Z] internal/autodiscovery/autodiscovery.go:15:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.11: replacement directory ../MODS/go-mod-bootstrap does not exist [2023-01-17T21:05:04.731Z] pkg/service/main.go:16:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.11: replacement directory ../MODS/go-mod-bootstrap does not exist [2023-01-17T21:05:04.731Z] pkg/service/main.go:17:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.11: replacement directory ../MODS/go-mod-bootstrap does not exist [2023-01-17T21:05:04.731Z] internal/common/utils.go:16:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.11: replacement directory ../MODS/go-mod-bootstrap does not exist [2023-01-17T21:05:04.731Z] internal/autodiscovery/autodiscovery.go:16:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.11: replacement directory ../MODS/go-mod-bootstrap does not exist [2023-01-17T21:05:04.731Z] internal/config/config.go:10:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.11: replacement directory ../MODS/go-mod-bootstrap does not exist [2023-01-17T21:05:04.731Z] internal/container/config.go:10:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.11: replacement directory ../MODS/go-mod-bootstrap does not exist [2023-01-17T21:05:04.731Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-01-17T21:05:04.744Z] $ docker stop --time=1 d5640f7f70808774ef3f7e2da1a173118b7919504fdddc4ea6aa1bacaeded34c [2023-01-17T21:05:06.292Z] $ docker rm -f --volumes d5640f7f70808774ef3f7e2da1a173118b7919504fdddc4ea6aa1bacaeded34c [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-17T21:05:06.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T21:05:06.747Z] [2023-01-17T21:05:06.747Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T21:05:07.042Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T21:05:07.311Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-17T21:05:07.311Z] 5eb5b503b376: Pulling fs layer [2023-01-17T21:05:07.311Z] 5c69ac0246d0: Pulling fs layer [2023-01-17T21:05:07.311Z] ec43610c2a17: Pulling fs layer [2023-01-17T21:05:07.311Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-17T21:05:07.311Z] 33b1e0a273af: Pulling fs layer [2023-01-17T21:05:07.311Z] 5d3b04190fa2: Pulling fs layer [2023-01-17T21:05:07.311Z] 2f39f015ded8: Pulling fs layer [2023-01-17T21:05:07.311Z] 33b1e0a273af: Waiting [2023-01-17T21:05:07.311Z] 5d3b04190fa2: Waiting [2023-01-17T21:05:07.311Z] 2f39f015ded8: Waiting [2023-01-17T21:05:07.311Z] 3a2ae6a8a46f: Waiting [2023-01-17T21:05:07.311Z] 5c69ac0246d0: Download complete [2023-01-17T21:05:07.311Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-17T21:05:07.311Z] 3a2ae6a8a46f: Download complete [2023-01-17T21:05:07.572Z] 33b1e0a273af: Download complete [2023-01-17T21:05:07.572Z] ec43610c2a17: Verifying Checksum [2023-01-17T21:05:07.572Z] ec43610c2a17: Download complete [2023-01-17T21:05:07.572Z] 5d3b04190fa2: Verifying Checksum [2023-01-17T21:05:07.572Z] 5d3b04190fa2: Download complete [2023-01-17T21:05:07.572Z] 5eb5b503b376: Verifying Checksum [2023-01-17T21:05:07.572Z] 5eb5b503b376: Download complete [2023-01-17T21:05:08.508Z] 2f39f015ded8: Download complete [2023-01-17T21:05:09.459Z] 5eb5b503b376: Pull complete [2023-01-17T21:05:10.029Z] 5c69ac0246d0: Pull complete [2023-01-17T21:05:10.597Z] ec43610c2a17: Pull complete [2023-01-17T21:05:10.860Z] 3a2ae6a8a46f: Pull complete [2023-01-17T21:05:11.438Z] 33b1e0a273af: Pull complete [2023-01-17T21:05:11.696Z] 5d3b04190fa2: Pull complete [2023-01-17T21:05:15.878Z] 2f39f015ded8: Pull complete [2023-01-17T21:05:15.878Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-17T21:05:16.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T21:05:16.136Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T21:05:16.216Z] prd-ubuntu20.04-docker-8c-8g-2803 does not seem to be running inside a container [2023-01-17T21:05:16.245Z] $ 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-sdk-go_PR-1284 -v /w/workspace/gexfoundry_device-sdk-go_PR-1284:/w/workspace/gexfoundry_device-sdk-go_PR-1284:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1284@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1284@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:latest cat [2023-01-17T21:05:21.708Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2805 in /w/workspace/gexfoundry_device-sdk-go_PR-1284 [2023-01-17T21:05:24.506Z] $ docker top 71da818e413671a968366b532f468a888d3f04b1021399a3e83842dabee54f82 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-01-17T21:05:24.645Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-01-17T21:05:24.682Z] The recommended git tool is: git [2023-01-17T21:05:24.897Z] ---> job-cost.sh [2023-01-17T21:05:24.897Z] lf-activate-venv: SKIPPING [2023-01-17T21:05:24.897Z] INFO: No Stack... [2023-01-17T21:05:25.155Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-17T21:05:25.722Z] INFO: Archiving Costs [Pipeline] sh [2023-01-17T21:05:26.009Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1284/archives/cost.csv [2023-01-17T21:05:26.009Z] + cut -d, -f6 [Pipeline] lock [2023-01-17T21:05:26.023Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1284-2-stack-cost] [2023-01-17T21:05:26.032Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1284-2-stack-cost] did not exist. Created. [2023-01-17T21:05:26.032Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1284-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-17T21:05:26.330Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-17T21:05:26.380Z] Stashed 1 file(s) [Pipeline] } [2023-01-17T21:05:26.387Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1284-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-17T21:05:26.403Z] $ docker stop --time=1 71da818e413671a968366b532f468a888d3f04b1021399a3e83842dabee54f82 [2023-01-17T21:05:27.577Z] $ docker rm -f --volumes 71da818e413671a968366b532f468a888d3f04b1021399a3e83842dabee54f82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-17T21:05:27.666Z] Failed in branch amd64 [2023-01-17T21:05:30.377Z] using credential edgex-jenkins-ssh [2023-01-17T21:05:30.397Z] Cloning the remote Git repository [2023-01-17T21:05:30.451Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-17T21:05:30.539Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-01-17T21:05:30.720Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-17T21:05:30.722Z] > git --version # timeout=10 [2023-01-17T21:05:30.745Z] > git --version # 'git version 2.25.1' [2023-01-17T21:05:30.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-17T21:05:30.827Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-17T21:05:32.532Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-17T21:05:32.554Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-17T21:05:34.364Z] Merging remotes/origin/main commit 7610f6dc338b87754f939bb9ede04e880837a002 into PR head commit 111ff82ba69970d8d50d02b03bb3601a28173754 [2023-01-17T21:05:34.628Z] Merge succeeded, producing 111ff82ba69970d8d50d02b03bb3601a28173754 [2023-01-17T21:05:34.628Z] Checking out Revision 111ff82ba69970d8d50d02b03bb3601a28173754 (PR-1284) [2023-01-17T21:05:33.582Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-17T21:05:33.632Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-17T21:05:33.633Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-17T21:05:33.655Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1284/head:refs/remotes/origin/PR-1284 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-17T21:05:34.385Z] > git config core.sparsecheckout # timeout=10 [2023-01-17T21:05:34.415Z] > git checkout -f 111ff82ba69970d8d50d02b03bb3601a28173754 # timeout=10 [2023-01-17T21:05:34.526Z] > git remote # timeout=10 [2023-01-17T21:05:34.545Z] > git config --get remote.origin.url # timeout=10 [2023-01-17T21:05:34.561Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-17T21:05:34.576Z] > git merge 7610f6dc338b87754f939bb9ede04e880837a002 # timeout=10 [2023-01-17T21:05:34.605Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-17T21:05:34.636Z] > git config core.sparsecheckout # timeout=10 [2023-01-17T21:05:34.653Z] > git checkout -f 111ff82ba69970d8d50d02b03bb3601a28173754 # timeout=10 [2023-01-17T21:05:38.221Z] Commit message: "refactor!: Update config for removal of SecretStore from services' configuration file" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T21:05:39.148Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-17T21:05:39.148Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-17T21:05:39.148Z] Dload Upload Total Spent Left Speed [2023-01-17T21:05:39.148Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2023-01-17T21:05:39.871Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-17T21:05:40.215Z] + sudo tee /etc/docker/daemon.new [2023-01-17T21:05:40.215Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-17T21:05:40.215Z] { [2023-01-17T21:05:40.215Z] "registry-mirrors": [ [2023-01-17T21:05:40.215Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-17T21:05:40.215Z] ], [2023-01-17T21:05:40.215Z] "bip": "10.250.0.254/24", [2023-01-17T21:05:40.215Z] "hosts": [ [2023-01-17T21:05:40.215Z] "tcp://0.0.0.0:5555", [2023-01-17T21:05:40.215Z] "unix:///var/run/docker.sock" [2023-01-17T21:05:40.215Z] ], [2023-01-17T21:05:40.215Z] "mtu": 1458, [2023-01-17T21:05:40.215Z] "selinux-enabled": true, [2023-01-17T21:05:40.215Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-17T21:05:40.215Z] } [Pipeline] sh [2023-01-17T21:05:40.558Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-17T21:05:40.900Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T21:05:59.221Z] provisioning config files... [2023-01-17T21:05:59.255Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config16920483266370491591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T21:05:59.631Z] ---> docker-login.sh [2023-01-17T21:05:59.631Z] nexus3.edgexfoundry.org:10001 [2023-01-17T21:06:00.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T21:06:00.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T21:06:00.497Z] Configure a credential helper to remove this warning. See [2023-01-17T21:06:00.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T21:06:00.497Z] [2023-01-17T21:06:00.497Z] Login Succeeded [2023-01-17T21:06:00.497Z] nexus3.edgexfoundry.org:10002 [2023-01-17T21:06:00.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T21:06:00.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T21:06:00.770Z] Configure a credential helper to remove this warning. See [2023-01-17T21:06:00.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T21:06:00.770Z] [2023-01-17T21:06:00.770Z] Login Succeeded [2023-01-17T21:06:00.770Z] nexus3.edgexfoundry.org:10003 [2023-01-17T21:06:01.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T21:06:01.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T21:06:01.314Z] Configure a credential helper to remove this warning. See [2023-01-17T21:06:01.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T21:06:01.314Z] [2023-01-17T21:06:01.314Z] Login Succeeded [2023-01-17T21:06:01.314Z] nexus3.edgexfoundry.org:10004 [2023-01-17T21:06:01.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T21:06:01.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T21:06:01.588Z] Configure a credential helper to remove this warning. See [2023-01-17T21:06:01.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T21:06:01.588Z] [2023-01-17T21:06:01.588Z] Login Succeeded [2023-01-17T21:06:01.588Z] docker.io [2023-01-17T21:06:01.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T21:06:02.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T21:06:02.132Z] Configure a credential helper to remove this warning. See [2023-01-17T21:06:02.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T21:06:02.132Z] [2023-01-17T21:06:02.132Z] Login Succeeded [2023-01-17T21:06:02.132Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T21:06:02.150Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-17T21:06:02.476Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T21:06:02.487Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T21:06:02.495Z] ========================================================= [2023-01-17T21:06:02.495Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-17T21:06:02.495Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T21:06:02.851Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/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-17T21:06:03.449Z] Sending build context to Docker daemon 5.65MB [2023-01-17T21:06:03.449Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-17T21:06:03.449Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-17T21:06:03.449Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-17T21:06:03.449Z] 9b18e9b68314: Pulling fs layer [2023-01-17T21:06:03.449Z] 35d82f9e3411: Pulling fs layer [2023-01-17T21:06:03.449Z] e16973657156: Pulling fs layer [2023-01-17T21:06:03.449Z] fc693d55d65f: Pulling fs layer [2023-01-17T21:06:03.449Z] 7e9fc2657dce: Pulling fs layer [2023-01-17T21:06:03.449Z] dda99020689f: Pulling fs layer [2023-01-17T21:06:03.449Z] db1c61fa0a46: Pulling fs layer [2023-01-17T21:06:03.449Z] 891c053d2c06: Pulling fs layer [2023-01-17T21:06:03.449Z] fc693d55d65f: Waiting [2023-01-17T21:06:03.449Z] 7e9fc2657dce: Waiting [2023-01-17T21:06:03.449Z] dda99020689f: Waiting [2023-01-17T21:06:03.449Z] db1c61fa0a46: Waiting [2023-01-17T21:06:03.449Z] 891c053d2c06: Waiting [2023-01-17T21:06:03.449Z] e16973657156: Verifying Checksum [2023-01-17T21:06:03.449Z] e16973657156: Download complete [2023-01-17T21:06:03.449Z] 35d82f9e3411: Verifying Checksum [2023-01-17T21:06:03.449Z] 35d82f9e3411: Download complete [2023-01-17T21:06:03.449Z] 7e9fc2657dce: Download complete [2023-01-17T21:06:03.724Z] dda99020689f: Download complete [2023-01-17T21:06:03.724Z] 9b18e9b68314: Verifying Checksum [2023-01-17T21:06:03.724Z] 9b18e9b68314: Download complete [2023-01-17T21:06:04.715Z] 9b18e9b68314: Pull complete [2023-01-17T21:06:04.715Z] 891c053d2c06: Verifying Checksum [2023-01-17T21:06:04.715Z] 891c053d2c06: Download complete [2023-01-17T21:06:04.989Z] 35d82f9e3411: Pull complete [2023-01-17T21:06:05.264Z] e16973657156: Pull complete [2023-01-17T21:06:06.240Z] db1c61fa0a46: Verifying Checksum [2023-01-17T21:06:06.240Z] db1c61fa0a46: Download complete [2023-01-17T21:06:06.511Z] fc693d55d65f: Download complete [2023-01-17T21:06:18.880Z] fc693d55d65f: Pull complete [2023-01-17T21:06:18.880Z] 7e9fc2657dce: Pull complete [2023-01-17T21:06:18.880Z] dda99020689f: Pull complete [2023-01-17T21:06:23.165Z] db1c61fa0a46: Pull complete [2023-01-17T21:06:25.131Z] 891c053d2c06: Pull complete [2023-01-17T21:06:25.131Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-17T21:06:25.131Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-17T21:06:25.131Z] ---> f96f9c87975a [2023-01-17T21:06:25.131Z] Step 3/10 : ARG MAKE=make build [2023-01-17T21:06:27.097Z] ---> Running in 6556f06dd0f9 [2023-01-17T21:06:27.367Z] Removing intermediate container 6556f06dd0f9 [2023-01-17T21:06:27.367Z] ---> 74506f799b90 [2023-01-17T21:06:27.367Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-17T21:06:27.638Z] ---> Running in 36cae85a0b63 [2023-01-17T21:06:27.910Z] Removing intermediate container 36cae85a0b63 [2023-01-17T21:06:27.910Z] ---> 6a377b11ed31 [2023-01-17T21:06:27.910Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-17T21:06:27.910Z] ---> Running in 4099f30bf03e [2023-01-17T21:06:28.180Z] Removing intermediate container 4099f30bf03e [2023-01-17T21:06:28.180Z] ---> 831d23034f48 [2023-01-17T21:06:28.180Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-17T21:06:28.452Z] ---> Running in cc734a7d4a64 [2023-01-17T21:06:29.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-17T21:06:30.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-17T21:06:30.978Z] OK: 221 MiB in 51 packages [2023-01-17T21:06:33.561Z] Removing intermediate container cc734a7d4a64 [2023-01-17T21:06:33.561Z] ---> 1bcffe1afdc1 [2023-01-17T21:06:33.561Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-17T21:06:34.148Z] ---> e8f053a83689 [2023-01-17T21:06:34.148Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-17T21:06:34.148Z] ---> Running in 6530c0d02057 [2023-01-17T21:07:00.846Z] go: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.11 (replaced by ../MODS/go-mod-bootstrap): reading /MODS/go-mod-bootstrap/go.mod: open /MODS/go-mod-bootstrap/go.mod: no such file or directory [2023-01-17T21:07:01.120Z] skipping... [2023-01-17T21:07:48.017Z] Removing intermediate container 6530c0d02057 [2023-01-17T21:07:48.017Z] ---> 32faf1bdbf06 [2023-01-17T21:07:48.017Z] Step 9/10 : COPY . . [2023-01-17T21:07:48.017Z] ---> 092d297543fe [2023-01-17T21:07:48.017Z] Step 10/10 : RUN ${MAKE} [2023-01-17T21:07:48.017Z] ---> Running in c0735fe3a4fa [2023-01-17T21:07:48.017Z] noop [2023-01-17T21:07:48.017Z] Removing intermediate container c0735fe3a4fa [2023-01-17T21:07:48.017Z] ---> 216d4fd88e38 [2023-01-17T21:07:48.017Z] Successfully built 216d4fd88e38 [2023-01-17T21:07:48.017Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T21:07:48.367Z] + docker inspect -f . ci-base-image-arm64 [2023-01-17T21:07:48.367Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T21:07:48.561Z] prd-ubuntu20.04-docker-arm64-4c-16g-2805 does not seem to be running inside a container [2023-01-17T21:07:48.629Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-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-17T21:07:49.882Z] $ docker top 1b685440980c4324c7601a1cf5ed71b5ae54da3710778b3872217ebf140b5f4c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T21:07:50.702Z] + go version [2023-01-17T21:07:50.702Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-17T21:07:50.723Z] $ docker stop --time=1 1b685440980c4324c7601a1cf5ed71b5ae54da3710778b3872217ebf140b5f4c [2023-01-17T21:07:52.403Z] $ docker rm -f --volumes 1b685440980c4324c7601a1cf5ed71b5ae54da3710778b3872217ebf140b5f4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T21:07:52.920Z] + docker inspect -f . ci-base-image-arm64 [2023-01-17T21:07:52.920Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T21:07:53.104Z] prd-ubuntu20.04-docker-arm64-4c-16g-2805 does not seem to be running inside a container [2023-01-17T21:07:53.170Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-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-17T21:07:54.315Z] $ docker top b9ec009469db7920197f7a3939288588a959bb58e2004cbf05cb5a2ec736d68b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T21:07:55.138Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-01-17T21:07:55.472Z] + make test [2023-01-17T21:07:55.472Z] go test -race -coverprofile=coverage.out ./... [2023-01-17T21:07:56.434Z] pkg/service/main.go:14:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.11: replacement directory ../MODS/go-mod-bootstrap does not exist [2023-01-17T21:07:56.434Z] pkg/service/service.go:29:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.11: replacement directory ../MODS/go-mod-bootstrap does not exist [2023-01-17T21:07:56.434Z] internal/autodiscovery/autodiscovery.go:15:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.11: replacement directory ../MODS/go-mod-bootstrap does not exist [2023-01-17T21:07:56.434Z] pkg/service/main.go:16:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.11: replacement directory ../MODS/go-mod-bootstrap does not exist [2023-01-17T21:07:56.434Z] pkg/service/main.go:17:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.11: replacement directory ../MODS/go-mod-bootstrap does not exist [2023-01-17T21:07:56.434Z] internal/common/utils.go:16:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.11: replacement directory ../MODS/go-mod-bootstrap does not exist [2023-01-17T21:07:56.434Z] internal/autodiscovery/autodiscovery.go:16:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.11: replacement directory ../MODS/go-mod-bootstrap does not exist [2023-01-17T21:07:56.434Z] internal/config/config.go:10:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.11: replacement directory ../MODS/go-mod-bootstrap does not exist [2023-01-17T21:07:56.434Z] internal/container/config.go:10:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.11: replacement directory ../MODS/go-mod-bootstrap does not exist [2023-01-17T21:07:56.434Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-01-17T21:07:56.455Z] $ docker stop --time=1 b9ec009469db7920197f7a3939288588a959bb58e2004cbf05cb5a2ec736d68b [2023-01-17T21:07:58.094Z] $ docker rm -f --volumes b9ec009469db7920197f7a3939288588a959bb58e2004cbf05cb5a2ec736d68b [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-17T21:07:58.682Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T21:07:58.682Z] [2023-01-17T21:07:58.682Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T21:07:59.020Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T21:07:59.020Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-17T21:07:59.020Z] 8998bd30e6a1: Pulling fs layer [2023-01-17T21:07:59.020Z] 04944245beec: Pulling fs layer [2023-01-17T21:07:59.020Z] 699f458cf7ca: Pulling fs layer [2023-01-17T21:07:59.020Z] 765212b225bb: Pulling fs layer [2023-01-17T21:07:59.020Z] f23df028b6ca: Pulling fs layer [2023-01-17T21:07:59.020Z] d65c8cfc05b1: Pulling fs layer [2023-01-17T21:07:59.020Z] 2437ff75d9bd: Pulling fs layer [2023-01-17T21:07:59.020Z] 765212b225bb: Waiting [2023-01-17T21:07:59.020Z] f23df028b6ca: Waiting [2023-01-17T21:07:59.020Z] d65c8cfc05b1: Waiting [2023-01-17T21:07:59.020Z] 2437ff75d9bd: Waiting [2023-01-17T21:07:59.288Z] 04944245beec: Verifying Checksum [2023-01-17T21:07:59.288Z] 04944245beec: Download complete [2023-01-17T21:07:59.288Z] 765212b225bb: Verifying Checksum [2023-01-17T21:07:59.288Z] 765212b225bb: Download complete [2023-01-17T21:07:59.288Z] f23df028b6ca: Verifying Checksum [2023-01-17T21:07:59.288Z] f23df028b6ca: Download complete [2023-01-17T21:07:59.288Z] d65c8cfc05b1: Verifying Checksum [2023-01-17T21:07:59.288Z] d65c8cfc05b1: Download complete [2023-01-17T21:07:59.557Z] 699f458cf7ca: Verifying Checksum [2023-01-17T21:07:59.557Z] 699f458cf7ca: Download complete [2023-01-17T21:07:59.825Z] 8998bd30e6a1: Verifying Checksum [2023-01-17T21:07:59.825Z] 8998bd30e6a1: Download complete [2023-01-17T21:08:02.413Z] 2437ff75d9bd: Verifying Checksum [2023-01-17T21:08:02.413Z] 2437ff75d9bd: Download complete [2023-01-17T21:08:03.375Z] 8998bd30e6a1: Pull complete [2023-01-17T21:08:03.958Z] 04944245beec: Pull complete [2023-01-17T21:08:05.366Z] 699f458cf7ca: Pull complete [2023-01-17T21:08:05.366Z] 765212b225bb: Pull complete [2023-01-17T21:08:05.950Z] f23df028b6ca: Pull complete [2023-01-17T21:08:06.218Z] d65c8cfc05b1: Pull complete [2023-01-17T21:08:18.541Z] 2437ff75d9bd: Pull complete [2023-01-17T21:08:18.541Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-17T21:08:18.541Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T21:08:18.541Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T21:08:18.745Z] prd-ubuntu20.04-docker-arm64-4c-16g-2805 does not seem to be running inside a container [2023-01-17T21:08:18.816Z] $ 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-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-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-17T21:08:21.403Z] $ docker top 9bcbe4e427bd771234b48fa9ae2a41f476a1bc7c43bc74fdf59d827975415673 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T21:08:22.236Z] ---> job-cost.sh [2023-01-17T21:08:22.236Z] lf-activate-venv: SKIPPING [2023-01-17T21:08:22.236Z] INFO: No Stack... [2023-01-17T21:08:22.818Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-17T21:08:23.398Z] INFO: Archiving Costs [Pipeline] sh [2023-01-17T21:08:24.036Z] + cut -d, -f6 [2023-01-17T21:08:24.036Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2023-01-17T21:08:24.100Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1284-2-stack-cost] [2023-01-17T21:08:24.106Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1284-2-stack-cost] did not exist. Created. [2023-01-17T21:08:24.106Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1284-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-17T21:08:24.447Z] /w/workspace/device-sdk-go/2@tmp/durable-95e5da6f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-17T21:08:24.785Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-17T21:08:24.813Z] Warning: overwriting stash ‘stack-cost’ [2023-01-17T21:08:25.319Z] Stashed 1 file(s) [Pipeline] } [2023-01-17T21:08:25.329Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1284-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-17T21:08:25.346Z] $ docker stop --time=1 9bcbe4e427bd771234b48fa9ae2a41f476a1bc7c43bc74fdf59d827975415673 [2023-01-17T21:08:26.831Z] $ docker rm -f --volumes 9bcbe4e427bd771234b48fa9ae2a41f476a1bc7c43bc74fdf59d827975415673 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-17T21:08:27.129Z] 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-17T21:08:27.790Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1284/archives ] [2023-01-17T21:08:27.790Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1284/archives [2023-01-17T21:08:27.790Z] total 16 [2023-01-17T21:08:27.790Z] drwxr-xr-x 3 root root 4096 Jan 17 21:05 . [2023-01-17T21:08:27.790Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 17 21:05 .. [2023-01-17T21:08:27.790Z] drwxr-xr-x 2 root root 4096 Jan 17 21:05 cost [2023-01-17T21:08:27.790Z] -rw-r--r-- 1 root root 86 Jan 17 21:05 cost.csv [2023-01-17T21:08:27.790Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1284/archives [2023-01-17T21:08:27.790Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1284/archives [2023-01-17T21:08:27.790Z] total 16 [2023-01-17T21:08:27.790Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 21:05 . [2023-01-17T21:08:27.790Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 17 21:05 .. [2023-01-17T21:08:27.790Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 17 21:05 cost [2023-01-17T21:08:27.790Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 17 21:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-17T21:08:28.085Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T21:08:28.936Z] ---> package-listing.sh [2023-01-17T21:08:28.936Z] ++ facter osfamily [2023-01-17T21:08:28.936Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-17T21:08:29.194Z] + OS_FAMILY=debian [2023-01-17T21:08:29.194Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1284 [2023-01-17T21:08:29.194Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-17T21:08:29.194Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-17T21:08:29.194Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-17T21:08:29.194Z] + PACKAGES=/tmp/packages_start.txt [2023-01-17T21:08:29.194Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1284 ']' [2023-01-17T21:08:29.194Z] + PACKAGES=/tmp/packages_end.txt [2023-01-17T21:08:29.194Z] + case "${OS_FAMILY}" in [2023-01-17T21:08:29.194Z] + dpkg -l [2023-01-17T21:08:29.194Z] + grep '^ii' [2023-01-17T21:08:29.194Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-17T21:08:29.194Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-17T21:08:29.194Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-17T21:08:29.194Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1284 ']' [2023-01-17T21:08:29.194Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1284/archives/ [2023-01-17T21:08:29.194Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1284/archives/ [Pipeline] echo [2023-01-17T21:08:29.203Z] 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-sdk-go_PR-1284/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-17T21:08:29.478Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T21:08:30.031Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T21:08:30.031Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T21:08:30.100Z] prd-ubuntu20.04-docker-8c-8g-2803 does not seem to be running inside a container [2023-01-17T21:08:30.133Z] $ 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-sdk-go_PR-1284/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-sdk-go_PR-1284 -v /w/workspace/gexfoundry_device-sdk-go_PR-1284:/w/workspace/gexfoundry_device-sdk-go_PR-1284:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1284@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1284@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-17T21:08:30.328Z] $ docker top 3f1ea238c713972baa622570cac61f63c0d3b4e554e6ab7060b13f474799e0d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T21:08:30.670Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-17T21:08:30.954Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-17T21:08:31.237Z] + ls /var/log/sa-host [2023-01-17T21:08:31.237Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T21:08:31.383Z] provisioning config files... [2023-01-17T21:08:31.393Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1284@tmp/config8038852465346840150tmp [Pipeline] { [Pipeline] echo [2023-01-17T21:08:31.405Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T21:08:31.689Z] ---> create-netrc.sh [Pipeline] } [2023-01-17T21:08:31.696Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-17T21:08:32.025Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-17T21:08:32.034Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T21:08:32.319Z] ---> sudo-logs.sh [2023-01-17T21:08:32.319Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-17T21:08:32.343Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T21:08:32.626Z] ---> job-cost.sh [2023-01-17T21:08:32.626Z] lf-activate-venv: SKIPPING [2023-01-17T21:08:32.626Z] DEBUG: total: 0.2199999988079071 [2023-01-17T21:08:32.626Z] INFO: Retrieving Stack Cost... [2023-01-17T21:08:32.886Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-17T21:08:33.145Z] INFO: Archiving Costs [Pipeline] echo [2023-01-17T21:08:33.158Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T21:08:33.444Z] ---> logs-deploy.sh [2023-01-17T21:08:33.444Z] lf-activate-venv: SKIPPING [2023-01-17T21:08:33.444Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1284/2 [2023-01-17T21:08:33.444Z] INFO: archiving workspace using pattern(s): [2023-01-17T21:08:34.378Z] Archives upload complete. [2023-01-17T21:08:34.637Z] INFO: archiving logs to Nexus