Pull request #1368 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e4b37ab829c1d10f89709e89616bc56f75c4d1fc+774c2037947f109106e5ac1f44e7b15f17fcf2b1 (8da06b54b354b15cfa455b12f9ac49a0ef7bbd9f) 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-ssh18344927964805740614.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-ssh5334274915666023297.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1368/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1368/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6632913370180107604.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1368/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15491775543200930508.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9755869461141955358.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1368/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1368/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh105765102900713821.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/v3]] ========================================================= [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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8736 in /w/workspace/gexfoundry_device-sdk-go_PR-1368 [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-1368 # 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 Merging remotes/origin/main commit 774c2037947f109106e5ac1f44e7b15f17fcf2b1 into PR head commit e4b37ab829c1d10f89709e89616bc56f75c4d1fc Merge succeeded, producing e4b37ab829c1d10f89709e89616bc56f75c4d1fc Checking out Revision e4b37ab829c1d10f89709e89616bc56f75c4d1fc (PR-1368) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 > 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/1368/head:refs/remotes/origin/PR-1368 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4b37ab829c1d10f89709e89616bc56f75c4d1fc # 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 774c2037947f109106e5ac1f44e7b15f17fcf2b1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4b37ab829c1d10f89709e89616bc56f75c4d1fc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-08T04:59:04.705Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-08T04:59:04.886Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-08T04:59:04.992Z] ========================================================= [2023-03-08T04:59:04.992Z] EdgeX Global Pipelines Version Info [2023-03-08T04:59:04.992Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-08T04:59:05.730Z] ------------------- [2023-03-08T04:59:05.730Z] stable info: [2023-03-08T04:59:05.730Z] ------------------- [2023-03-08T04:59:05.730Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-08T04:59:05.730Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T04:59:05.730Z] Message: update stable to v1.0.244 [2023-03-08T04:59:06.300Z] ------------------- [2023-03-08T04:59:06.300Z] experimental info: [2023-03-08T04:59:06.300Z] ------------------- [2023-03-08T04:59:06.300Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-08T04:59:06.300Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T04:59:06.300Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-08T04:59:06.572Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-08T04:59:06.612Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-08T04:59:06.649Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-08T04:59:06.685Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-08T04:59:06.720Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-08T04:59:06.755Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-08T04:59:06.792Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-08T04:59:06.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-08T04:59:06.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-08T04:59:06.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-08T04:59:06.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-08T04:59:06.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-08T04:59:07.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-08T04:59:07.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-08T04:59:07.129Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-08T04:59:07.168Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T04:59:07.208Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T04:59:07.250Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-08T04:59:07.288Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-08T04:59:07.330Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-08T04:59:07.366Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-08T04:59:07.403Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-08T04:59:07.443Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-08T04:59:07.484Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-08T04:59:07.523Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-08T04:59:07.565Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-08T04:59:07.611Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-08T04:59:07.647Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1368 [Pipeline] echo [2023-03-08T04:59:07.684Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1368 [Pipeline] echo [2023-03-08T04:59:07.721Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1368 [Pipeline] echo [2023-03-08T04:59:07.758Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4b37ab829c1d10f89709e89616bc56f75c4d1fc [Pipeline] echo [2023-03-08T04:59:07.795Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4b37ab [Pipeline] echo [2023-03-08T04:59:07.830Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T04:59:07.943Z] provisioning config files... [2023-03-08T04:59:07.958Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1368@tmp/config3051604179452695782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T04:59:08.295Z] ---> docker-login.sh [2023-03-08T04:59:08.295Z] nexus3.edgexfoundry.org:10001 [2023-03-08T04:59:08.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T04:59:08.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T04:59:08.556Z] Configure a credential helper to remove this warning. See [2023-03-08T04:59:08.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T04:59:08.556Z] [2023-03-08T04:59:08.556Z] Login Succeeded [2023-03-08T04:59:08.556Z] nexus3.edgexfoundry.org:10002 [2023-03-08T04:59:08.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T04:59:08.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T04:59:08.556Z] Configure a credential helper to remove this warning. See [2023-03-08T04:59:08.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T04:59:08.556Z] [2023-03-08T04:59:08.556Z] Login Succeeded [2023-03-08T04:59:08.556Z] nexus3.edgexfoundry.org:10003 [2023-03-08T04:59:08.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T04:59:08.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T04:59:08.818Z] Configure a credential helper to remove this warning. See [2023-03-08T04:59:08.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T04:59:08.818Z] [2023-03-08T04:59:08.818Z] Login Succeeded [2023-03-08T04:59:08.818Z] nexus3.edgexfoundry.org:10004 [2023-03-08T04:59:08.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T04:59:08.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T04:59:08.818Z] Configure a credential helper to remove this warning. See [2023-03-08T04:59:08.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T04:59:08.818Z] [2023-03-08T04:59:08.818Z] Login Succeeded [2023-03-08T04:59:08.818Z] docker.io [2023-03-08T04:59:08.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T04:59:09.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T04:59:09.077Z] Configure a credential helper to remove this warning. See [2023-03-08T04:59:09.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T04:59:09.077Z] [2023-03-08T04:59:09.077Z] Login Succeeded [2023-03-08T04:59:09.078Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T04:59:09.106Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-08T04:59:09.715Z] + git rev-list -1 --merges e4b37ab829c1d10f89709e89616bc56f75c4d1fc~1..e4b37ab829c1d10f89709e89616bc56f75c4d1fc [Pipeline] echo [2023-03-08T04:59:09.777Z] -----------> git rev-list -1 --merges e4b37ab829c1d10f89709e89616bc56f75c4d1fc~1..e4b37ab829c1d10f89709e89616bc56f75c4d1fc e4b37ab829c1d10f89709e89616bc56f75c4d1fc [false] [Pipeline] sh [2023-03-08T04:59:10.087Z] + git log --format=format:%s -1 e4b37ab829c1d10f89709e89616bc56f75c4d1fc [Pipeline] echo [2023-03-08T04:59:10.120Z] ========================================================= [2023-03-08T04:59:10.120Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-08T04:59:10.120Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T04:59:10.531Z] + git log --format=format:%s -1 e4b37ab829c1d10f89709e89616bc56f75c4d1fc [Pipeline] echo [2023-03-08T04:59:10.565Z] [semverPrep] GIT_COMMIT: e4b37ab829c1d10f89709e89616bc56f75c4d1fc, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-08T04:59:10.597Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-08T04:59:10.961Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-08T04:59:10.961Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-08T04:59:10.961Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-08T04:59:10.961Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-08T04:59:10.961Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-08T04:59:10.961Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-08T04:59:10.961Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T04:59:11.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T04:59:11.378Z] [2023-03-08T04:59:11.378Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T04:59:11.750Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T04:59:12.322Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-08T04:59:12.322Z] b85a868b505f: Pulling fs layer [2023-03-08T04:59:12.322Z] e2be974225ed: Pulling fs layer [2023-03-08T04:59:12.322Z] 339a4e72a1f5: Pulling fs layer [2023-03-08T04:59:12.322Z] 988bab9f4d93: Pulling fs layer [2023-03-08T04:59:12.322Z] 1469e6f7b9e6: Pulling fs layer [2023-03-08T04:59:12.322Z] eaf3925da568: Pulling fs layer [2023-03-08T04:59:12.322Z] bab4dde63d76: Pulling fs layer [2023-03-08T04:59:12.322Z] bde34c3a00c8: Pulling fs layer [2023-03-08T04:59:12.322Z] b352a97aabf1: Pulling fs layer [2023-03-08T04:59:12.322Z] 4872d77fe225: Pulling fs layer [2023-03-08T04:59:12.322Z] 5851b861e8e6: Pulling fs layer [2023-03-08T04:59:12.322Z] eaf3925da568: Waiting [2023-03-08T04:59:12.322Z] 988bab9f4d93: Waiting [2023-03-08T04:59:12.322Z] bab4dde63d76: Waiting [2023-03-08T04:59:12.322Z] 1469e6f7b9e6: Waiting [2023-03-08T04:59:12.322Z] bde34c3a00c8: Waiting [2023-03-08T04:59:12.322Z] 4872d77fe225: Waiting [2023-03-08T04:59:12.322Z] 5851b861e8e6: Waiting [2023-03-08T04:59:12.322Z] b352a97aabf1: Waiting [2023-03-08T04:59:12.588Z] e2be974225ed: Download complete [2023-03-08T04:59:12.588Z] 988bab9f4d93: Verifying Checksum [2023-03-08T04:59:12.588Z] 988bab9f4d93: Download complete [2023-03-08T04:59:12.588Z] 1469e6f7b9e6: Verifying Checksum [2023-03-08T04:59:12.588Z] 1469e6f7b9e6: Download complete [2023-03-08T04:59:12.588Z] eaf3925da568: Verifying Checksum [2023-03-08T04:59:12.588Z] eaf3925da568: Download complete [2023-03-08T04:59:12.588Z] 339a4e72a1f5: Verifying Checksum [2023-03-08T04:59:12.588Z] 339a4e72a1f5: Download complete [2023-03-08T04:59:12.849Z] bde34c3a00c8: Download complete [2023-03-08T04:59:12.849Z] b352a97aabf1: Verifying Checksum [2023-03-08T04:59:12.849Z] b352a97aabf1: Download complete [2023-03-08T04:59:12.849Z] b85a868b505f: Verifying Checksum [2023-03-08T04:59:12.849Z] b85a868b505f: Download complete [2023-03-08T04:59:12.849Z] 4872d77fe225: Verifying Checksum [2023-03-08T04:59:12.849Z] 4872d77fe225: Download complete [2023-03-08T04:59:12.849Z] 5851b861e8e6: Download complete [2023-03-08T04:59:13.108Z] bab4dde63d76: Verifying Checksum [2023-03-08T04:59:13.108Z] bab4dde63d76: Download complete [2023-03-08T04:59:14.046Z] b85a868b505f: Pull complete [2023-03-08T04:59:14.046Z] e2be974225ed: Pull complete [2023-03-08T04:59:14.614Z] 339a4e72a1f5: Pull complete [2023-03-08T04:59:14.614Z] 988bab9f4d93: Pull complete [2023-03-08T04:59:14.875Z] 1469e6f7b9e6: Pull complete [2023-03-08T04:59:15.136Z] eaf3925da568: Pull complete [2023-03-08T04:59:17.042Z] bab4dde63d76: Pull complete [2023-03-08T04:59:17.042Z] bde34c3a00c8: Pull complete [2023-03-08T04:59:17.042Z] b352a97aabf1: Pull complete [2023-03-08T04:59:17.303Z] 4872d77fe225: Pull complete [2023-03-08T04:59:17.303Z] 5851b861e8e6: Pull complete [2023-03-08T04:59:17.303Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-08T04:59:17.303Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-08T04:59:17.303Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T04:59:17.530Z] prd-ubuntu20.04-docker-8c-8g-8736 does not seem to be running inside a container [2023-03-08T04:59:17.566Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1368 -v /w/workspace/gexfoundry_device-sdk-go_PR-1368:/w/workspace/gexfoundry_device-sdk-go_PR-1368:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1368@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-08T04:59:18.936Z] $ docker top cc84d111afc022b4472f0b87dd5237837b2624a1a022007b35f6215ab50e2966 -eo pid,comm [2023-03-08T04:59:18.996Z] 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-03-08T04:59:18.996Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-08T04:59:19.110Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T04:59:19.110Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T04:59:19.239Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T04:59:19.245Z] $ docker exec cc84d111afc022b4472f0b87dd5237837b2624a1a022007b35f6215ab50e2966 ssh-agent [2023-03-08T04:59:19.360Z] SSH_AUTH_SOCK=/tmp/ssh-iN4udMieSQKv/agent.33 [2023-03-08T04:59:19.361Z] SSH_AGENT_PID=39 [2023-03-08T04:59:19.367Z] Running ssh-add (command line suppressed) [2023-03-08T04:59:19.477Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1368@tmp/private_key_17545724597033067176.key (/w/workspace/gexfoundry_device-sdk-go_PR-1368@tmp/private_key_17545724597033067176.key) [2023-03-08T04:59:19.491Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T04:59:19.816Z] + git tag --points-at HEAD [Pipeline] } [2023-03-08T04:59:19.844Z] $ docker exec --env ******** --env ******** cc84d111afc022b4472f0b87dd5237837b2624a1a022007b35f6215ab50e2966 ssh-agent -k [2023-03-08T04:59:19.934Z] unset SSH_AUTH_SOCK; [2023-03-08T04:59:19.934Z] unset SSH_AGENT_PID; [2023-03-08T04:59:19.935Z] echo Agent pid 39 killed; [2023-03-08T04:59:19.943Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-08T04:59:20.020Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-08T04:59:20.020Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-08T04:59:20.136Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-08T04:59:20.142Z] $ docker exec cc84d111afc022b4472f0b87dd5237837b2624a1a022007b35f6215ab50e2966 ssh-agent [2023-03-08T04:59:20.246Z] SSH_AUTH_SOCK=/tmp/ssh-hrZrguCRVqZh/agent.71 [2023-03-08T04:59:20.246Z] SSH_AGENT_PID=78 [2023-03-08T04:59:20.251Z] Running ssh-add (command line suppressed) [2023-03-08T04:59:20.381Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1368@tmp/private_key_1121722646774908800.key (/w/workspace/gexfoundry_device-sdk-go_PR-1368@tmp/private_key_1121722646774908800.key) [2023-03-08T04:59:20.393Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-08T04:59:20.722Z] + git semver init [2023-03-08T04:59:20.981Z] 2023-03-08 04:59:20,929 [run_init] DEBUG init version:0.0.0 force:False [2023-03-08T04:59:20.981Z] 2023-03-08 04:59:20,929 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1368/.semver [2023-03-08T04:59:20.981Z] 2023-03-08 04:59:20,930 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1368/.semver [2023-03-08T04:59:20.981Z] 2023-03-08 04:59:20,930 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1368/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1368, universal_newlines=False, shell=None, istream=None) [2023-03-08T04:59:21.920Z] 2023-03-08 04:59:21,820 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1368/.git/info/exclude [2023-03-08T04:59:21.920Z] 2023-03-08 04:59:21,820 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1368/.semver/PR-1368 with force:False [2023-03-08T04:59:21.920Z] 2023-03-08 04:59:21,821 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1368/.semver/PR-1368 [2023-03-08T04:59:21.920Z] 2023-03-08 04:59:21,825 [execute] INFO git cat-file --batch-check [2023-03-08T04:59:21.920Z] 2023-03-08 04:59:21,826 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1368/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T04:59:21.920Z] 2023-03-08 04:59:21,833 [execute] INFO git cat-file --batch [2023-03-08T04:59:21.920Z] 2023-03-08 04:59:21,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1368/.semver, universal_newlines=False, shell=None, istream=) [2023-03-08T04:59:21.920Z] 2023-03-08 04:59:21,839 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1368/.semver/PR-1368 [2023-03-08T04:59:21.920Z] 0.0.0 [Pipeline] } [2023-03-08T04:59:21.952Z] $ docker exec --env ******** --env ******** cc84d111afc022b4472f0b87dd5237837b2624a1a022007b35f6215ab50e2966 ssh-agent -k [2023-03-08T04:59:22.052Z] unset SSH_AUTH_SOCK; [2023-03-08T04:59:22.052Z] unset SSH_AGENT_PID; [2023-03-08T04:59:22.052Z] echo Agent pid 78 killed; [2023-03-08T04:59:22.057Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-08T04:59:22.489Z] + git semver [Pipeline] } [2023-03-08T04:59:22.774Z] $ docker stop --time=1 cc84d111afc022b4472f0b87dd5237837b2624a1a022007b35f6215ab50e2966 [2023-03-08T04:59:24.214Z] $ docker rm -f --volumes cc84d111afc022b4472f0b87dd5237837b2624a1a022007b35f6215ab50e2966 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-08T04:59:24.621Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-08T04:59:24.909Z] Stashed 1 file(s) [Pipeline] echo [2023-03-08T04:59:24.928Z] [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-03-08T04:59:25.475Z] provisioning config files... [2023-03-08T04:59:25.484Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1368@tmp/config6568861503796936178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T04:59:25.829Z] ---> docker-login.sh [2023-03-08T04:59:25.829Z] nexus3.edgexfoundry.org:10001 [2023-03-08T04:59:25.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T04:59:25.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T04:59:25.829Z] Configure a credential helper to remove this warning. See [2023-03-08T04:59:25.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T04:59:25.829Z] [2023-03-08T04:59:25.829Z] Login Succeeded [2023-03-08T04:59:25.829Z] nexus3.edgexfoundry.org:10002 [2023-03-08T04:59:25.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T04:59:25.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T04:59:25.829Z] Configure a credential helper to remove this warning. See [2023-03-08T04:59:25.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T04:59:25.829Z] [2023-03-08T04:59:25.829Z] Login Succeeded [2023-03-08T04:59:25.829Z] nexus3.edgexfoundry.org:10003 [2023-03-08T04:59:26.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T04:59:26.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T04:59:26.089Z] Configure a credential helper to remove this warning. See [2023-03-08T04:59:26.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T04:59:26.089Z] [2023-03-08T04:59:26.089Z] Login Succeeded [2023-03-08T04:59:26.089Z] nexus3.edgexfoundry.org:10004 [2023-03-08T04:59:26.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T04:59:26.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T04:59:26.089Z] Configure a credential helper to remove this warning. See [2023-03-08T04:59:26.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T04:59:26.089Z] [2023-03-08T04:59:26.089Z] Login Succeeded [2023-03-08T04:59:26.089Z] docker.io [2023-03-08T04:59:26.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T04:59:26.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T04:59:26.607Z] Configure a credential helper to remove this warning. See [2023-03-08T04:59:26.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T04:59:26.607Z] [2023-03-08T04:59:26.607Z] Login Succeeded [2023-03-08T04:59:26.607Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T04:59:26.635Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T04:59:26.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T04:59:26.869Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T04:59:26.899Z] ========================================================= [2023-03-08T04:59:26.899Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-08T04:59:26.899Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T04:59:27.371Z] + 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-03-08T04:59:27.371Z] Sending build context to Docker daemon 10.64MB [2023-03-08T04:59:27.371Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T04:59:27.371Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-08T04:59:27.371Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-08T04:59:27.371Z] 213ec9aee27d: Pulling fs layer [2023-03-08T04:59:27.371Z] 4583459ba037: Pulling fs layer [2023-03-08T04:59:27.371Z] 93c1e223e6f2: Pulling fs layer [2023-03-08T04:59:27.371Z] 53926ce57604: Pulling fs layer [2023-03-08T04:59:27.371Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-08T04:59:27.371Z] 22ff95d597cd: Pulling fs layer [2023-03-08T04:59:27.371Z] 12d6caf4c0d1: Pulling fs layer [2023-03-08T04:59:27.371Z] 96b7cbca73a9: Pulling fs layer [2023-03-08T04:59:27.371Z] a7acece74701: Pulling fs layer [2023-03-08T04:59:27.371Z] 53926ce57604: Waiting [2023-03-08T04:59:27.371Z] 12d6caf4c0d1: Waiting [2023-03-08T04:59:27.371Z] 21b2b0c7a3f4: Waiting [2023-03-08T04:59:27.371Z] 96b7cbca73a9: Waiting [2023-03-08T04:59:27.371Z] 22ff95d597cd: Waiting [2023-03-08T04:59:27.632Z] 93c1e223e6f2: Verifying Checksum [2023-03-08T04:59:27.632Z] 93c1e223e6f2: Download complete [2023-03-08T04:59:27.632Z] 4583459ba037: Download complete [2023-03-08T04:59:27.632Z] 21b2b0c7a3f4: Download complete [2023-03-08T04:59:27.632Z] 22ff95d597cd: Download complete [2023-03-08T04:59:27.632Z] 213ec9aee27d: Verifying Checksum [2023-03-08T04:59:27.632Z] 213ec9aee27d: Download complete [2023-03-08T04:59:27.632Z] 12d6caf4c0d1: Verifying Checksum [2023-03-08T04:59:27.632Z] 12d6caf4c0d1: Download complete [2023-03-08T04:59:27.632Z] 213ec9aee27d: Pull complete [2023-03-08T04:59:27.897Z] 4583459ba037: Pull complete [2023-03-08T04:59:27.897Z] 93c1e223e6f2: Pull complete [2023-03-08T04:59:28.161Z] a7acece74701: Verifying Checksum [2023-03-08T04:59:28.162Z] a7acece74701: Download complete [2023-03-08T04:59:28.424Z] 96b7cbca73a9: Verifying Checksum [2023-03-08T04:59:28.424Z] 96b7cbca73a9: Download complete [2023-03-08T04:59:28.424Z] 53926ce57604: Verifying Checksum [2023-03-08T04:59:28.424Z] 53926ce57604: Download complete [2023-03-08T04:59:32.613Z] 53926ce57604: Pull complete [2023-03-08T04:59:32.613Z] 21b2b0c7a3f4: Pull complete [2023-03-08T04:59:32.613Z] 22ff95d597cd: Pull complete [2023-03-08T04:59:32.613Z] 12d6caf4c0d1: Pull complete [2023-03-08T04:59:35.144Z] 96b7cbca73a9: Pull complete [2023-03-08T04:59:35.710Z] a7acece74701: Pull complete [2023-03-08T04:59:35.710Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-08T04:59:35.710Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-08T04:59:35.710Z] ---> db6d94c90886 [2023-03-08T04:59:35.710Z] Step 3/10 : ARG MAKE=make build [2023-03-08T04:59:38.241Z] ---> Running in c299b78ac591 [2023-03-08T04:59:38.241Z] Removing intermediate container c299b78ac591 [2023-03-08T04:59:38.241Z] ---> d831e4aecef7 [2023-03-08T04:59:38.241Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-08T04:59:38.241Z] ---> Running in ea693e711add [2023-03-08T04:59:38.241Z] Removing intermediate container ea693e711add [2023-03-08T04:59:38.241Z] ---> d5b05f7fd1d9 [2023-03-08T04:59:38.241Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-08T04:59:38.241Z] ---> Running in ff9ab515488c [2023-03-08T04:59:38.241Z] Removing intermediate container ff9ab515488c [2023-03-08T04:59:38.241Z] ---> 84245f895c27 [2023-03-08T04:59:38.241Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-08T04:59:38.241Z] ---> Running in bd62e64139b5 [2023-03-08T04:59:38.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-08T04:59:38.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-08T04:59:39.017Z] OK: 211 MiB in 51 packages [2023-03-08T04:59:39.591Z] Removing intermediate container bd62e64139b5 [2023-03-08T04:59:39.591Z] ---> b07a57562fcc [2023-03-08T04:59:39.591Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-08T04:59:39.591Z] ---> 0982c57771e0 [2023-03-08T04:59:39.591Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T04:59:39.591Z] ---> Running in c6f2feb62017 [2023-03-08T04:59:40.310Z] Still waiting to schedule task [2023-03-08T04:59:40.311Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-08T05:00:01.526Z] Removing intermediate container c6f2feb62017 [2023-03-08T05:00:01.526Z] ---> 49f07773e52a [2023-03-08T05:00:01.526Z] Step 9/10 : COPY . . [2023-03-08T05:00:01.526Z] ---> 07b0e08dab4f [2023-03-08T05:00:01.526Z] Step 10/10 : RUN ${MAKE} [2023-03-08T05:00:01.526Z] ---> Running in 39dca44892ec [2023-03-08T05:00:01.526Z] noop [2023-03-08T05:00:01.526Z] Removing intermediate container 39dca44892ec [2023-03-08T05:00:01.526Z] ---> a9dd8b699041 [2023-03-08T05:00:01.526Z] Successfully built a9dd8b699041 [2023-03-08T05:00:01.526Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T05:00:01.965Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T05:00:01.965Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T05:00:02.125Z] prd-ubuntu20.04-docker-8c-8g-8736 does not seem to be running inside a container [2023-03-08T05:00:02.158Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1368 -v /w/workspace/gexfoundry_device-sdk-go_PR-1368:/w/workspace/gexfoundry_device-sdk-go_PR-1368:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1368@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-08T05:00:02.505Z] $ docker top 6f73d8ce7ee712b1d42671e1f0164d5bc23b62398b07935b8c52c254c15c1f5b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T05:00:02.897Z] + go version [2023-03-08T05:00:02.897Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-08T05:00:02.933Z] $ docker stop --time=1 6f73d8ce7ee712b1d42671e1f0164d5bc23b62398b07935b8c52c254c15c1f5b [2023-03-08T05:00:04.200Z] $ docker rm -f --volumes 6f73d8ce7ee712b1d42671e1f0164d5bc23b62398b07935b8c52c254c15c1f5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T05:00:04.898Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-08T05:00:04.898Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T05:00:05.058Z] prd-ubuntu20.04-docker-8c-8g-8736 does not seem to be running inside a container [2023-03-08T05:00:05.084Z] $ 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-1368 -v /w/workspace/gexfoundry_device-sdk-go_PR-1368:/w/workspace/gexfoundry_device-sdk-go_PR-1368:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1368@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-08T05:00:05.438Z] $ docker top 57cba16f302e51a4c6711d728b67dd560d0469d0e27fb6e5c8b8dc99a051fcc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T05:00:05.829Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1368 [Pipeline] fileExists [Pipeline] sh [2023-03-08T05:00:06.202Z] + make test [2023-03-08T05:00:06.202Z] go test -race -coverprofile=coverage.out ./... [2023-03-08T05:00:12.768Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-08T05:00:27.628Z] # github.com/edgexfoundry/device-sdk-go/v3/pkg/service [2023-03-08T05:00:27.628Z] pkg/service/async.go:138:47: cannot use value (variable of type any) as type string in argument to regexp.MatchString: [2023-03-08T05:00:27.628Z] need type assertion [2023-03-08T05:00:27.628Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.063s coverage: 27.6% of statements [2023-03-08T05:00:27.628Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.088s coverage: 78.9% of statements [2023-03-08T05:00:27.628Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.130s coverage: 86.0% of statements [2023-03-08T05:00:27.628Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.107s coverage: 75.4% of statements [2023-03-08T05:00:30.925Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.071s coverage: 15.3% of statements [2023-03-08T05:00:30.925Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.095s coverage: 65.2% of statements [2023-03-08T05:00:30.925Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.825s coverage: 89.2% of statements [2023-03-08T05:00:30.925Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-03-08T05:00:30.925Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-03-08T05:00:30.964Z] $ docker stop --time=1 57cba16f302e51a4c6711d728b67dd560d0469d0e27fb6e5c8b8dc99a051fcc3 [2023-03-08T05:00:33.178Z] $ docker rm -f --volumes 57cba16f302e51a4c6711d728b67dd560d0469d0e27fb6e5c8b8dc99a051fcc3 [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-03-08T05:00:34.436Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T05:00:34.436Z] [2023-03-08T05:00:34.436Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T05:00:34.847Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T05:00:34.847Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-08T05:00:34.847Z] 5eb5b503b376: Pulling fs layer [2023-03-08T05:00:34.847Z] 5c69ac0246d0: Pulling fs layer [2023-03-08T05:00:34.847Z] ec43610c2a17: Pulling fs layer [2023-03-08T05:00:34.847Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-08T05:00:34.847Z] 33b1e0a273af: Pulling fs layer [2023-03-08T05:00:34.847Z] 5d3b04190fa2: Pulling fs layer [2023-03-08T05:00:34.847Z] 2f39f015ded8: Pulling fs layer [2023-03-08T05:00:34.847Z] 33b1e0a273af: Waiting [2023-03-08T05:00:34.847Z] 5d3b04190fa2: Waiting [2023-03-08T05:00:34.847Z] 2f39f015ded8: Waiting [2023-03-08T05:00:34.847Z] 3a2ae6a8a46f: Waiting [2023-03-08T05:00:34.847Z] 5c69ac0246d0: Download complete [2023-03-08T05:00:34.847Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-08T05:00:34.847Z] 3a2ae6a8a46f: Download complete [2023-03-08T05:00:35.105Z] 33b1e0a273af: Verifying Checksum [2023-03-08T05:00:35.105Z] 33b1e0a273af: Download complete [2023-03-08T05:00:35.105Z] 5d3b04190fa2: Verifying Checksum [2023-03-08T05:00:35.105Z] 5d3b04190fa2: Download complete [2023-03-08T05:00:35.105Z] ec43610c2a17: Verifying Checksum [2023-03-08T05:00:35.105Z] ec43610c2a17: Download complete [2023-03-08T05:00:35.105Z] 5eb5b503b376: Verifying Checksum [2023-03-08T05:00:35.105Z] 5eb5b503b376: Download complete [2023-03-08T05:00:36.039Z] 2f39f015ded8: Download complete [2023-03-08T05:00:36.604Z] 5eb5b503b376: Pull complete [2023-03-08T05:00:36.604Z] 5c69ac0246d0: Pull complete [2023-03-08T05:00:37.171Z] ec43610c2a17: Pull complete [2023-03-08T05:00:37.171Z] 3a2ae6a8a46f: Pull complete [2023-03-08T05:00:37.171Z] 33b1e0a273af: Pull complete [2023-03-08T05:00:37.430Z] 5d3b04190fa2: Pull complete [2023-03-08T05:00:41.610Z] 2f39f015ded8: Pull complete [2023-03-08T05:00:41.610Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-08T05:00:41.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T05:00:41.610Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T05:00:41.823Z] prd-ubuntu20.04-docker-8c-8g-8736 does not seem to be running inside a container [2023-03-08T05:00:41.854Z] $ 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-1368 -v /w/workspace/gexfoundry_device-sdk-go_PR-1368:/w/workspace/gexfoundry_device-sdk-go_PR-1368:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1368@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-08T05:00:43.959Z] $ docker top 097d656c3e7edba4b6502027a174044bbb0a78692163ddeeaaa078643f948b36 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T05:00:44.417Z] ---> job-cost.sh [2023-03-08T05:00:44.417Z] lf-activate-venv: SKIPPING [2023-03-08T05:00:44.417Z] INFO: No Stack... [2023-03-08T05:00:44.676Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T05:00:44.935Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T05:00:45.253Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1368/archives/cost.csv [2023-03-08T05:00:45.253Z] + cut -d, -f6 [Pipeline] lock [2023-03-08T05:00:45.299Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1368-1-stack-cost] [2023-03-08T05:00:45.305Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1368-1-stack-cost] did not exist. Created. [2023-03-08T05:00:45.305Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1368-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T05:00:45.686Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-08T05:00:45.745Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T05:00:45.768Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1368-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T05:00:45.851Z] $ docker stop --time=1 097d656c3e7edba4b6502027a174044bbb0a78692163ddeeaaa078643f948b36 [2023-03-08T05:00:47.028Z] $ docker rm -f --volumes 097d656c3e7edba4b6502027a174044bbb0a78692163ddeeaaa078643f948b36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-08T05:00:47.372Z] Failed in branch amd64 [2023-03-08T05:02:20.371Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8740 in /w/workspace/gexfoundry_device-sdk-go_PR-1368 [Pipeline] { [Pipeline] ws [2023-03-08T05:02:20.428Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-08T05:02:20.512Z] The recommended git tool is: git [2023-03-08T05:02:29.039Z] using credential edgex-jenkins-ssh [2023-03-08T05:02:29.059Z] Cloning the remote Git repository [2023-03-08T05:02:29.123Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-08T05:02:29.211Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-08T05:02:29.426Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-08T05:02:29.427Z] > git --version # timeout=10 [2023-03-08T05:02:29.463Z] > git --version # 'git version 2.25.1' [2023-03-08T05:02:29.466Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T05:02:29.534Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T05:02:31.281Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-08T05:02:31.303Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-08T05:02:32.321Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-08T05:02:32.365Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-08T05:02:32.367Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T05:02:32.382Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1368/head:refs/remotes/origin/PR-1368 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-08T05:02:33.086Z] Merging remotes/origin/main commit 774c2037947f109106e5ac1f44e7b15f17fcf2b1 into PR head commit e4b37ab829c1d10f89709e89616bc56f75c4d1fc [2023-03-08T05:02:33.354Z] Merge succeeded, producing e4b37ab829c1d10f89709e89616bc56f75c4d1fc [2023-03-08T05:02:33.355Z] Checking out Revision e4b37ab829c1d10f89709e89616bc56f75c4d1fc (PR-1368) [2023-03-08T05:02:33.978Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-03-08T05:02:34.038Z] > git --version # timeout=10 [2023-03-08T05:02:34.051Z] > git --version # 'git version 2.25.1' [2023-03-08T05:02:34.067Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-08T05:02:33.109Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T05:02:33.128Z] > git checkout -f e4b37ab829c1d10f89709e89616bc56f75c4d1fc # timeout=10 [2023-03-08T05:02:33.251Z] > git remote # timeout=10 [2023-03-08T05:02:33.271Z] > git config --get remote.origin.url # timeout=10 [2023-03-08T05:02:33.291Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-08T05:02:33.306Z] > git merge 774c2037947f109106e5ac1f44e7b15f17fcf2b1 # timeout=10 [2023-03-08T05:02:33.336Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-08T05:02:33.366Z] > git config core.sparsecheckout # timeout=10 [2023-03-08T05:02:33.385Z] > git checkout -f e4b37ab829c1d10f89709e89616bc56f75c4d1fc # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-08T05:02:35.139Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-08T05:02:35.139Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-08T05:02:35.139Z] Dload Upload Total Spent Left Speed [2023-03-08T05:02:35.139Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh [2023-03-08T05:02:35.760Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-08T05:02:36.120Z] + sudo tee /etc/docker/daemon.new [2023-03-08T05:02:36.120Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-08T05:02:36.120Z] { [2023-03-08T05:02:36.120Z] "registry-mirrors": [ [2023-03-08T05:02:36.120Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-08T05:02:36.120Z] ], [2023-03-08T05:02:36.120Z] "bip": "10.250.0.254/24", [2023-03-08T05:02:36.120Z] "hosts": [ [2023-03-08T05:02:36.120Z] "tcp://0.0.0.0:5555", [2023-03-08T05:02:36.120Z] "unix:///var/run/docker.sock" [2023-03-08T05:02:36.120Z] ], [2023-03-08T05:02:36.120Z] "mtu": 1458, [2023-03-08T05:02:36.120Z] "selinux-enabled": true, [2023-03-08T05:02:36.120Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-08T05:02:36.120Z] } [Pipeline] sh [2023-03-08T05:02:36.478Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-08T05:02:36.846Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T05:02:55.206Z] provisioning config files... [2023-03-08T05:02:55.235Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9722369686898644460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T05:02:55.627Z] ---> docker-login.sh [2023-03-08T05:02:55.627Z] nexus3.edgexfoundry.org:10001 [2023-03-08T05:02:56.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T05:02:56.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T05:02:56.220Z] Configure a credential helper to remove this warning. See [2023-03-08T05:02:56.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T05:02:56.220Z] [2023-03-08T05:02:56.220Z] Login Succeeded [2023-03-08T05:02:56.220Z] nexus3.edgexfoundry.org:10002 [2023-03-08T05:02:56.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T05:02:56.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T05:02:56.762Z] Configure a credential helper to remove this warning. See [2023-03-08T05:02:56.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T05:02:56.762Z] [2023-03-08T05:02:56.762Z] Login Succeeded [2023-03-08T05:02:56.762Z] nexus3.edgexfoundry.org:10003 [2023-03-08T05:02:57.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T05:02:57.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T05:02:57.035Z] Configure a credential helper to remove this warning. See [2023-03-08T05:02:57.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T05:02:57.035Z] [2023-03-08T05:02:57.035Z] Login Succeeded [2023-03-08T05:02:57.035Z] nexus3.edgexfoundry.org:10004 [2023-03-08T05:02:57.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T05:02:57.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T05:02:57.591Z] Configure a credential helper to remove this warning. See [2023-03-08T05:02:57.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T05:02:57.591Z] [2023-03-08T05:02:57.591Z] Login Succeeded [2023-03-08T05:02:57.591Z] docker.io [2023-03-08T05:02:57.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-08T05:02:58.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-08T05:02:58.134Z] Configure a credential helper to remove this warning. See [2023-03-08T05:02:58.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-08T05:02:58.134Z] [2023-03-08T05:02:58.134Z] Login Succeeded [2023-03-08T05:02:58.134Z] ---> docker-login.sh ends [Pipeline] } [2023-03-08T05:02:58.162Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-08T05:02:58.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T05:02:58.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-08T05:02:58.683Z] ========================================================= [2023-03-08T05:02:58.683Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-08T05:02:58.683Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T05:02:59.208Z] + 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-03-08T05:02:59.816Z] Sending build context to Docker daemon 5.715MB [2023-03-08T05:02:59.816Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-08T05:02:59.816Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-08T05:02:59.816Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-08T05:02:59.816Z] 9b18e9b68314: Pulling fs layer [2023-03-08T05:02:59.816Z] 35d82f9e3411: Pulling fs layer [2023-03-08T05:02:59.816Z] e16973657156: Pulling fs layer [2023-03-08T05:02:59.816Z] fc693d55d65f: Pulling fs layer [2023-03-08T05:02:59.816Z] 7e9fc2657dce: Pulling fs layer [2023-03-08T05:02:59.816Z] dda99020689f: Pulling fs layer [2023-03-08T05:02:59.816Z] db1c61fa0a46: Pulling fs layer [2023-03-08T05:02:59.816Z] 891c053d2c06: Pulling fs layer [2023-03-08T05:02:59.816Z] 7e9fc2657dce: Waiting [2023-03-08T05:02:59.816Z] dda99020689f: Waiting [2023-03-08T05:02:59.816Z] db1c61fa0a46: Waiting [2023-03-08T05:02:59.816Z] 891c053d2c06: Waiting [2023-03-08T05:02:59.816Z] fc693d55d65f: Waiting [2023-03-08T05:02:59.816Z] e16973657156: Verifying Checksum [2023-03-08T05:02:59.816Z] e16973657156: Download complete [2023-03-08T05:02:59.816Z] 35d82f9e3411: Download complete [2023-03-08T05:03:00.108Z] 7e9fc2657dce: Verifying Checksum [2023-03-08T05:03:00.108Z] 7e9fc2657dce: Download complete [2023-03-08T05:03:00.108Z] dda99020689f: Verifying Checksum [2023-03-08T05:03:00.108Z] dda99020689f: Download complete [2023-03-08T05:03:00.108Z] 9b18e9b68314: Verifying Checksum [2023-03-08T05:03:00.108Z] 9b18e9b68314: Download complete [2023-03-08T05:03:01.101Z] 9b18e9b68314: Pull complete [2023-03-08T05:03:01.101Z] 891c053d2c06: Verifying Checksum [2023-03-08T05:03:01.101Z] 891c053d2c06: Download complete [2023-03-08T05:03:01.697Z] 35d82f9e3411: Pull complete [2023-03-08T05:03:01.970Z] e16973657156: Pull complete [2023-03-08T05:03:02.568Z] db1c61fa0a46: Download complete [2023-03-08T05:03:03.157Z] fc693d55d65f: Download complete [2023-03-08T05:03:15.601Z] fc693d55d65f: Pull complete [2023-03-08T05:03:15.601Z] 7e9fc2657dce: Pull complete [2023-03-08T05:03:15.873Z] dda99020689f: Pull complete [2023-03-08T05:03:22.582Z] db1c61fa0a46: Pull complete [2023-03-08T05:03:24.561Z] 891c053d2c06: Pull complete [2023-03-08T05:03:24.561Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-08T05:03:24.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-08T05:03:24.561Z] ---> f96f9c87975a [2023-03-08T05:03:24.561Z] Step 3/10 : ARG MAKE=make build [2023-03-08T05:03:26.528Z] ---> Running in 7cd54736896c [2023-03-08T05:03:26.800Z] Removing intermediate container 7cd54736896c [2023-03-08T05:03:26.800Z] ---> e39977a2a46b [2023-03-08T05:03:26.800Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-08T05:03:27.071Z] ---> Running in f6e4f54c3d38 [2023-03-08T05:03:27.340Z] Removing intermediate container f6e4f54c3d38 [2023-03-08T05:03:27.340Z] ---> bd444cf7d835 [2023-03-08T05:03:27.340Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-08T05:03:27.340Z] ---> Running in 553567f61253 [2023-03-08T05:03:27.619Z] Removing intermediate container 553567f61253 [2023-03-08T05:03:27.619Z] ---> 2dc6100c1cf7 [2023-03-08T05:03:27.619Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-08T05:03:27.895Z] ---> Running in e08752c21c51 [2023-03-08T05:03:29.326Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-08T05:03:29.596Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-08T05:03:31.036Z] OK: 221 MiB in 51 packages [2023-03-08T05:03:32.008Z] Removing intermediate container e08752c21c51 [2023-03-08T05:03:32.008Z] ---> c9798a0a72b4 [2023-03-08T05:03:32.008Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-08T05:03:32.600Z] ---> e96141a42525 [2023-03-08T05:03:32.601Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-08T05:03:32.601Z] ---> Running in 2db118e165fa [2023-03-08T05:04:40.513Z] Removing intermediate container 2db118e165fa [2023-03-08T05:04:40.513Z] ---> b7509837405c [2023-03-08T05:04:40.513Z] Step 9/10 : COPY . . [2023-03-08T05:04:40.513Z] ---> cbb11e797b12 [2023-03-08T05:04:40.513Z] Step 10/10 : RUN ${MAKE} [2023-03-08T05:04:40.513Z] ---> Running in 422e914c3cbf [2023-03-08T05:04:40.513Z] noop [2023-03-08T05:04:40.513Z] Removing intermediate container 422e914c3cbf [2023-03-08T05:04:40.513Z] ---> 1ce7a020c6fd [2023-03-08T05:04:40.513Z] Successfully built 1ce7a020c6fd [2023-03-08T05:04:40.513Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T05:04:41.002Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T05:04:41.002Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T05:04:41.313Z] prd-ubuntu20.04-docker-arm64-4c-16g-8740 does not seem to be running inside a container [2023-03-08T05:04:41.394Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-08T05:04:42.838Z] $ docker top cb84eebd40e7ee6b2cd1a4de023fd42a3a3578a912f6e705c7265a76b165d301 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T05:04:43.762Z] + go version [2023-03-08T05:04:43.762Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-08T05:04:43.798Z] $ docker stop --time=1 cb84eebd40e7ee6b2cd1a4de023fd42a3a3578a912f6e705c7265a76b165d301 [2023-03-08T05:04:45.487Z] $ docker rm -f --volumes cb84eebd40e7ee6b2cd1a4de023fd42a3a3578a912f6e705c7265a76b165d301 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T05:04:46.374Z] + docker inspect -f . ci-base-image-arm64 [2023-03-08T05:04:46.374Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T05:04:46.659Z] prd-ubuntu20.04-docker-arm64-4c-16g-8740 does not seem to be running inside a container [2023-03-08T05:04:46.736Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-08T05:04:48.035Z] $ docker top 0656c371bf2858ceabc1afe9006d3ce001c5c4ac66c1ad9728530f0ef428b3d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T05:04:48.926Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-08T05:04:49.693Z] + make test [2023-03-08T05:04:49.693Z] go test -race -coverprofile=coverage.out ./... [2023-03-08T05:05:28.597Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-08T05:07:35.288Z] # github.com/edgexfoundry/device-sdk-go/v3/pkg/service [2023-03-08T05:07:35.288Z] pkg/service/async.go:138:47: cannot use value (variable of type any) as type string in argument to regexp.MatchString: [2023-03-08T05:07:35.288Z] need type assertion [2023-03-08T05:07:35.288Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.281s coverage: 27.6% of statements [2023-03-08T05:07:35.288Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.330s coverage: 78.9% of statements [2023-03-08T05:07:38.675Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.475s coverage: 86.0% of statements [2023-03-08T05:07:40.636Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.550s coverage: 75.4% of statements [2023-03-08T05:07:40.636Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.414s coverage: 15.3% of statements [2023-03-08T05:07:42.593Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.482s coverage: 65.2% of statements [2023-03-08T05:07:43.563Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.206s coverage: 89.2% of statements [2023-03-08T05:07:43.563Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-03-08T05:07:44.152Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-03-08T05:07:44.202Z] $ docker stop --time=1 0656c371bf2858ceabc1afe9006d3ce001c5c4ac66c1ad9728530f0ef428b3d7 [2023-03-08T05:07:46.151Z] $ docker rm -f --volumes 0656c371bf2858ceabc1afe9006d3ce001c5c4ac66c1ad9728530f0ef428b3d7 [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-03-08T05:07:47.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T05:07:47.907Z] [2023-03-08T05:07:47.907Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T05:07:48.343Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T05:07:48.612Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-08T05:07:48.612Z] 8998bd30e6a1: Pulling fs layer [2023-03-08T05:07:48.612Z] 04944245beec: Pulling fs layer [2023-03-08T05:07:48.612Z] 699f458cf7ca: Pulling fs layer [2023-03-08T05:07:48.612Z] 765212b225bb: Pulling fs layer [2023-03-08T05:07:48.612Z] f23df028b6ca: Pulling fs layer [2023-03-08T05:07:48.612Z] d65c8cfc05b1: Pulling fs layer [2023-03-08T05:07:48.612Z] 2437ff75d9bd: Pulling fs layer [2023-03-08T05:07:48.612Z] f23df028b6ca: Waiting [2023-03-08T05:07:48.612Z] 765212b225bb: Waiting [2023-03-08T05:07:48.612Z] d65c8cfc05b1: Waiting [2023-03-08T05:07:48.612Z] 2437ff75d9bd: Waiting [2023-03-08T05:07:48.612Z] 04944245beec: Verifying Checksum [2023-03-08T05:07:48.612Z] 04944245beec: Download complete [2023-03-08T05:07:48.612Z] 765212b225bb: Verifying Checksum [2023-03-08T05:07:48.612Z] 765212b225bb: Download complete [2023-03-08T05:07:48.612Z] f23df028b6ca: Verifying Checksum [2023-03-08T05:07:48.612Z] f23df028b6ca: Download complete [2023-03-08T05:07:48.612Z] d65c8cfc05b1: Verifying Checksum [2023-03-08T05:07:48.612Z] d65c8cfc05b1: Download complete [2023-03-08T05:07:48.884Z] 699f458cf7ca: Verifying Checksum [2023-03-08T05:07:48.884Z] 699f458cf7ca: Download complete [2023-03-08T05:07:49.157Z] 8998bd30e6a1: Download complete [2023-03-08T05:07:51.768Z] 2437ff75d9bd: Verifying Checksum [2023-03-08T05:07:51.768Z] 2437ff75d9bd: Download complete [2023-03-08T05:07:53.731Z] 8998bd30e6a1: Pull complete [2023-03-08T05:07:54.002Z] 04944245beec: Pull complete [2023-03-08T05:07:55.417Z] 699f458cf7ca: Pull complete [2023-03-08T05:07:55.688Z] 765212b225bb: Pull complete [2023-03-08T05:07:56.657Z] f23df028b6ca: Pull complete [2023-03-08T05:07:56.657Z] d65c8cfc05b1: Pull complete [2023-03-08T05:08:11.701Z] 2437ff75d9bd: Pull complete [2023-03-08T05:08:11.701Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-08T05:08:11.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-08T05:08:11.701Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T05:08:12.061Z] prd-ubuntu20.04-docker-arm64-4c-16g-8740 does not seem to be running inside a container [2023-03-08T05:08:12.143Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-08T05:08:15.016Z] $ docker top 441283432f4cd8976421c40eefb8336119f74ca94d72bd5a02b77b246ebc6ffa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-08T05:08:15.951Z] ---> job-cost.sh [2023-03-08T05:08:15.951Z] lf-activate-venv: SKIPPING [2023-03-08T05:08:15.951Z] INFO: No Stack... [2023-03-08T05:08:16.536Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-08T05:08:17.498Z] INFO: Archiving Costs [Pipeline] sh [2023-03-08T05:08:18.176Z] + cut -d, -f6 [2023-03-08T05:08:18.176Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-03-08T05:08:18.277Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1368-1-stack-cost] [2023-03-08T05:08:18.357Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1368-1-stack-cost] did not exist. Created. [2023-03-08T05:08:18.358Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1368-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-08T05:08:19.096Z] /w/workspace/device-sdk-go/1@tmp/durable-f553c427/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-08T05:08:19.800Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-08T05:08:19.977Z] Warning: overwriting stash ‘stack-cost’ [2023-03-08T05:08:20.518Z] Stashed 1 file(s) [Pipeline] } [2023-03-08T05:08:20.535Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1368-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-08T05:08:20.907Z] $ docker stop --time=1 441283432f4cd8976421c40eefb8336119f74ca94d72bd5a02b77b246ebc6ffa [2023-03-08T05:08:22.483Z] $ docker rm -f --volumes 441283432f4cd8976421c40eefb8336119f74ca94d72bd5a02b77b246ebc6ffa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-08T05:08:24.761Z] 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-03-08T05:08:27.062Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1368/archives ] [2023-03-08T05:08:27.063Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1368/archives [2023-03-08T05:08:27.063Z] total 16 [2023-03-08T05:08:27.063Z] drwxr-xr-x 3 root root 4096 Mar 8 05:00 . [2023-03-08T05:08:27.063Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 05:00 .. [2023-03-08T05:08:27.063Z] drwxr-xr-x 2 root root 4096 Mar 8 05:00 cost [2023-03-08T05:08:27.063Z] -rw-r--r-- 1 root root 86 Mar 8 05:00 cost.csv [2023-03-08T05:08:27.063Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1368/archives [2023-03-08T05:08:27.063Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1368/archives [2023-03-08T05:08:27.063Z] total 16 [2023-03-08T05:08:27.063Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 05:00 . [2023-03-08T05:08:27.063Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 8 05:00 .. [2023-03-08T05:08:27.063Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 05:00 cost [2023-03-08T05:08:27.063Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 8 05:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-08T05:08:27.388Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T05:08:28.273Z] ---> package-listing.sh [2023-03-08T05:08:28.273Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-08T05:08:28.273Z] ++ facter osfamily [2023-03-08T05:08:28.532Z] + OS_FAMILY=debian [2023-03-08T05:08:28.532Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1368 [2023-03-08T05:08:28.532Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-08T05:08:28.532Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-08T05:08:28.532Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-08T05:08:28.532Z] + PACKAGES=/tmp/packages_start.txt [2023-03-08T05:08:28.532Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1368 ']' [2023-03-08T05:08:28.532Z] + PACKAGES=/tmp/packages_end.txt [2023-03-08T05:08:28.532Z] + case "${OS_FAMILY}" in [2023-03-08T05:08:28.532Z] + dpkg -l [2023-03-08T05:08:28.532Z] + grep '^ii' [2023-03-08T05:08:28.532Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-08T05:08:28.532Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-08T05:08:28.532Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-08T05:08:28.532Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1368 ']' [2023-03-08T05:08:28.532Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1368/archives/ [2023-03-08T05:08:28.532Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1368/archives/ [Pipeline] echo [2023-03-08T05:08:28.562Z] 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-1368/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-08T05:08:28.861Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-08T05:08:29.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-08T05:08:29.494Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-08T05:08:29.629Z] prd-ubuntu20.04-docker-8c-8g-8736 does not seem to be running inside a container [2023-03-08T05:08:29.658Z] $ 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-1368/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-1368 -v /w/workspace/gexfoundry_device-sdk-go_PR-1368:/w/workspace/gexfoundry_device-sdk-go_PR-1368:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1368@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1368@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-08T05:08:29.894Z] $ docker top 1aa6570b9ab15b867e0f44757540c01e0d78abd9d18704eb1ddf43df38fdd0e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-08T05:08:30.277Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-08T05:08:30.588Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-08T05:08:30.897Z] + ls /var/log/sa-host [2023-03-08T05:08:30.897Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-08T05:08:31.107Z] provisioning config files... [2023-03-08T05:08:31.118Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1368@tmp/config13088006373565379884tmp [Pipeline] { [Pipeline] echo [2023-03-08T05:08:31.259Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T05:08:31.569Z] ---> create-netrc.sh [Pipeline] } [2023-03-08T05:08:31.594Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-08T05:08:31.997Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-08T05:08:32.026Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T05:08:32.344Z] ---> sudo-logs.sh [2023-03-08T05:08:32.344Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-08T05:08:32.461Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T05:08:32.773Z] ---> job-cost.sh [2023-03-08T05:08:32.773Z] lf-activate-venv: SKIPPING [2023-03-08T05:08:32.773Z] DEBUG: total: 0.2199999988079071 [2023-03-08T05:08:32.773Z] INFO: Retrieving Stack Cost... [2023-03-08T05:08:33.031Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-08T05:08:33.600Z] INFO: Archiving Costs [Pipeline] echo [2023-03-08T05:08:33.639Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-08T05:08:33.952Z] ---> logs-deploy.sh [2023-03-08T05:08:33.952Z] lf-activate-venv: SKIPPING [2023-03-08T05:08:33.952Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1368/1 [2023-03-08T05:08:33.952Z] INFO: archiving workspace using pattern(s): [2023-03-08T05:08:34.888Z] Archives upload complete. [2023-03-08T05:08:34.888Z] INFO: archiving logs to Nexus