Pull request #1164 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of AlexCuse for edgexfoundry/device-sdk-go Loading trusted files from base branch jakarta at 6a81118fd5fae2129fb08f9495f332ae0f5b104f rather than b74281feb3ca292a29f16dc1a3788ed764b8fe93 Obtained Jenkinsfile from 6a81118fd5fae2129fb08f9495f332ae0f5b104f 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-ssh2597956955170091932.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh4137117455293746006.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-1164/workspace@libs/edgex-global-pipelines # 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-1164/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12567288866928993588.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-1164/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6379320199607623660.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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 shared 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-ssh13692170529400714470.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-1164/workspace@libs/lf-pipelines # 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-1164/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9798894322891859625.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 95c76d14630896f3c9cf825147e1b1e2bad20cbb Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-64198’ Running on prd-ubuntu20.04-docker-8c-8g-64200 in /w/workspace/gexfoundry_device-sdk-go_PR-1164 [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-1164 # 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 Merging remotes/origin/jakarta commit 6a81118fd5fae2129fb08f9495f332ae0f5b104f into PR head commit b74281feb3ca292a29f16dc1a3788ed764b8fe93 Merge succeeded, producing b74281feb3ca292a29f16dc1a3788ed764b8fe93 Checking out Revision b74281feb3ca292a29f16dc1a3788ed764b8fe93 (PR-1164) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1164/head:refs/remotes/origin/PR-1164 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b74281feb3ca292a29f16dc1a3788ed764b8fe93 # 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 6a81118fd5fae2129fb08f9495f332ae0f5b104f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b74281feb3ca292a29f16dc1a3788ed764b8fe93 # timeout=10 Commit message: "fix: Remove MessageBus Options data from configuration after client created" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-20T14:44:20.595Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-20T14:44:20.751Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-20T14:44:20.846Z] ========================================================= [2022-05-20T14:44:20.846Z] EdgeX Global Pipelines Version Info [2022-05-20T14:44:20.846Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-20T14:44:21.754Z] ------------------- [2022-05-20T14:44:21.754Z] stable info: [2022-05-20T14:44:21.754Z] ------------------- [2022-05-20T14:44:21.754Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-20T14:44:21.754Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-20T14:44:21.754Z] Message: update stable to v1.0.230 [2022-05-20T14:44:22.330Z] ------------------- [2022-05-20T14:44:22.330Z] experimental info: [2022-05-20T14:44:22.330Z] ------------------- [2022-05-20T14:44:22.330Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-20T14:44:22.330Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-20T14:44:22.330Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-20T14:44:22.579Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-05-20T14:44:22.630Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-05-20T14:44:22.676Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-20T14:44:22.715Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-20T14:44:22.752Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-20T14:44:22.788Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-20T14:44:22.825Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-20T14:44:22.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-05-20T14:44:22.903Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-20T14:44:22.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-20T14:44:22.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-20T14:44:23.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-05-20T14:44:23.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-20T14:44:23.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-20T14:44:23.139Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-20T14:44:23.176Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-20T14:44:23.215Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-20T14:44:23.252Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-20T14:44:23.288Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-20T14:44:23.328Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-20T14:44:23.367Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-20T14:44:23.402Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-20T14:44:23.437Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-20T14:44:23.476Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-20T14:44:23.516Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-20T14:44:23.553Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-20T14:44:23.591Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1164 [Pipeline] echo [2022-05-20T14:44:23.633Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1164 [Pipeline] echo [2022-05-20T14:44:23.670Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1164 [Pipeline] echo [2022-05-20T14:44:23.711Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b74281feb3ca292a29f16dc1a3788ed764b8fe93 [Pipeline] echo [2022-05-20T14:44:23.753Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b74281f [Pipeline] echo [2022-05-20T14:44:23.830Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-20T14:44:23.947Z] provisioning config files... [2022-05-20T14:44:23.963Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1164@tmp/config8146743274567768929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-20T14:44:24.324Z] ---> docker-login.sh [2022-05-20T14:44:24.324Z] nexus3.edgexfoundry.org:10001 [2022-05-20T14:44:24.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T14:44:24.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T14:44:24.587Z] Configure a credential helper to remove this warning. See [2022-05-20T14:44:24.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T14:44:24.587Z] [2022-05-20T14:44:24.587Z] Login Succeeded [2022-05-20T14:44:24.587Z] nexus3.edgexfoundry.org:10002 [2022-05-20T14:44:24.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T14:44:24.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T14:44:24.849Z] Configure a credential helper to remove this warning. See [2022-05-20T14:44:24.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T14:44:24.849Z] [2022-05-20T14:44:24.849Z] Login Succeeded [2022-05-20T14:44:24.849Z] nexus3.edgexfoundry.org:10003 [2022-05-20T14:44:24.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T14:44:24.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T14:44:24.849Z] Configure a credential helper to remove this warning. See [2022-05-20T14:44:24.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T14:44:24.849Z] [2022-05-20T14:44:24.849Z] Login Succeeded [2022-05-20T14:44:24.849Z] nexus3.edgexfoundry.org:10004 [2022-05-20T14:44:25.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T14:44:25.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T14:44:25.112Z] Configure a credential helper to remove this warning. See [2022-05-20T14:44:25.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T14:44:25.112Z] [2022-05-20T14:44:25.112Z] Login Succeeded [2022-05-20T14:44:25.112Z] docker.io [2022-05-20T14:44:25.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T14:44:25.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T14:44:25.377Z] Configure a credential helper to remove this warning. See [2022-05-20T14:44:25.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T14:44:25.377Z] [2022-05-20T14:44:25.377Z] Login Succeeded [2022-05-20T14:44:25.377Z] ---> docker-login.sh ends [Pipeline] } [2022-05-20T14:44:25.407Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-20T14:44:26.019Z] + git rev-list -1 --merges b74281feb3ca292a29f16dc1a3788ed764b8fe93~1..b74281feb3ca292a29f16dc1a3788ed764b8fe93 [Pipeline] echo [2022-05-20T14:44:26.069Z] -----------> git rev-list -1 --merges b74281feb3ca292a29f16dc1a3788ed764b8fe93~1..b74281feb3ca292a29f16dc1a3788ed764b8fe93 b74281feb3ca292a29f16dc1a3788ed764b8fe93 [false] [Pipeline] sh [2022-05-20T14:44:26.376Z] + git log --format=format:%s -1 b74281feb3ca292a29f16dc1a3788ed764b8fe93 [Pipeline] echo [2022-05-20T14:44:26.409Z] ========================================================= [2022-05-20T14:44:26.409Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-20T14:44:26.409Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-20T14:44:26.841Z] + git log --format=format:%s -1 b74281feb3ca292a29f16dc1a3788ed764b8fe93 [Pipeline] echo [2022-05-20T14:44:26.878Z] [semverPrep] GIT_COMMIT: b74281feb3ca292a29f16dc1a3788ed764b8fe93, Commit Message: fix: Remove MessageBus Options data from configuration after client created [Pipeline] echo [2022-05-20T14:44:26.905Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-20T14:44:27.303Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-20T14:44:27.303Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-20T14:44:27.303Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-20T14:44:27.303Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-20T14:44:27.303Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-20T14:44:27.303Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-20T14:44:27.303Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-20T14:44:27.679Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-20T14:44:27.679Z] [2022-05-20T14:44:27.679Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-20T14:44:28.023Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-20T14:44:28.024Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-20T14:44:28.024Z] 1fe172e4850f: Pulling fs layer [2022-05-20T14:44:28.024Z] caf521ccaac6: Pulling fs layer [2022-05-20T14:44:28.024Z] 3ead6fa29328: Pulling fs layer [2022-05-20T14:44:28.024Z] 5c2a1cbceb83: Pulling fs layer [2022-05-20T14:44:28.024Z] a8d5f1318db7: Pulling fs layer [2022-05-20T14:44:28.024Z] c427282e49a2: Pulling fs layer [2022-05-20T14:44:28.024Z] 1827001aaf11: Pulling fs layer [2022-05-20T14:44:28.024Z] 0714d37db230: Pulling fs layer [2022-05-20T14:44:28.024Z] ac28cf19c067: Pulling fs layer [2022-05-20T14:44:28.024Z] ca983d60f3e2: Pulling fs layer [2022-05-20T14:44:28.024Z] 9f894cec8388: Pulling fs layer [2022-05-20T14:44:28.024Z] 5c2a1cbceb83: Waiting [2022-05-20T14:44:28.024Z] a8d5f1318db7: Waiting [2022-05-20T14:44:28.024Z] c427282e49a2: Waiting [2022-05-20T14:44:28.024Z] ca983d60f3e2: Waiting [2022-05-20T14:44:28.024Z] 9f894cec8388: Waiting [2022-05-20T14:44:28.024Z] 1827001aaf11: Waiting [2022-05-20T14:44:28.024Z] 0714d37db230: Waiting [2022-05-20T14:44:28.024Z] ac28cf19c067: Waiting [2022-05-20T14:44:28.024Z] caf521ccaac6: Download complete [2022-05-20T14:44:28.024Z] 5c2a1cbceb83: Verifying Checksum [2022-05-20T14:44:28.024Z] 5c2a1cbceb83: Download complete [2022-05-20T14:44:28.284Z] a8d5f1318db7: Verifying Checksum [2022-05-20T14:44:28.284Z] a8d5f1318db7: Download complete [2022-05-20T14:44:28.284Z] c427282e49a2: Verifying Checksum [2022-05-20T14:44:28.284Z] c427282e49a2: Download complete [2022-05-20T14:44:28.284Z] 3ead6fa29328: Verifying Checksum [2022-05-20T14:44:28.284Z] 3ead6fa29328: Download complete [2022-05-20T14:44:28.284Z] 0714d37db230: Download complete [2022-05-20T14:44:28.284Z] ac28cf19c067: Verifying Checksum [2022-05-20T14:44:28.284Z] ac28cf19c067: Download complete [2022-05-20T14:44:28.284Z] ca983d60f3e2: Verifying Checksum [2022-05-20T14:44:28.284Z] ca983d60f3e2: Download complete [2022-05-20T14:44:28.284Z] 9f894cec8388: Verifying Checksum [2022-05-20T14:44:28.284Z] 9f894cec8388: Download complete [2022-05-20T14:44:28.284Z] 1fe172e4850f: Verifying Checksum [2022-05-20T14:44:28.284Z] 1fe172e4850f: Download complete [2022-05-20T14:44:28.544Z] 1827001aaf11: Verifying Checksum [2022-05-20T14:44:28.544Z] 1827001aaf11: Download complete [2022-05-20T14:44:29.925Z] 1fe172e4850f: Pull complete [2022-05-20T14:44:29.925Z] caf521ccaac6: Pull complete [2022-05-20T14:44:30.505Z] 3ead6fa29328: Pull complete [2022-05-20T14:44:30.505Z] 5c2a1cbceb83: Pull complete [2022-05-20T14:44:30.766Z] a8d5f1318db7: Pull complete [2022-05-20T14:44:30.766Z] c427282e49a2: Pull complete [2022-05-20T14:44:32.685Z] 1827001aaf11: Pull complete [2022-05-20T14:44:32.685Z] 0714d37db230: Pull complete [2022-05-20T14:44:32.950Z] ac28cf19c067: Pull complete [2022-05-20T14:44:32.950Z] ca983d60f3e2: Pull complete [2022-05-20T14:44:33.214Z] 9f894cec8388: Pull complete [2022-05-20T14:44:33.214Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-20T14:44:33.214Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-20T14:44:33.214Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-20T14:44:33.323Z] prd-ubuntu20.04-docker-8c-8g-64200 does not seem to be running inside a container [2022-05-20T14:44:33.365Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1164 -v /w/workspace/gexfoundry_device-sdk-go_PR-1164:/w/workspace/gexfoundry_device-sdk-go_PR-1164:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1164@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1164@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-20T14:44:34.596Z] $ docker top 95e4a74d963f04112a02ca1ced4bcf492d55709b92356a5dc748e4997ddd790c -eo pid,comm [2022-05-20T14:44:34.667Z] 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). [2022-05-20T14:44:34.667Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-20T14:44:34.794Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-20T14:44:34.795Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-20T14:44:34.939Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-20T14:44:34.945Z] $ docker exec 95e4a74d963f04112a02ca1ced4bcf492d55709b92356a5dc748e4997ddd790c ssh-agent [2022-05-20T14:44:35.075Z] SSH_AUTH_SOCK=/tmp/ssh-rOg5RYF66cJV/agent.34 [2022-05-20T14:44:35.075Z] SSH_AGENT_PID=40 [2022-05-20T14:44:35.084Z] Running ssh-add (command line suppressed) [2022-05-20T14:44:35.210Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1164@tmp/private_key_4618093593512520529.key (/w/workspace/gexfoundry_device-sdk-go_PR-1164@tmp/private_key_4618093593512520529.key) [2022-05-20T14:44:35.227Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-20T14:44:35.558Z] + git tag --points-at HEAD [Pipeline] } [2022-05-20T14:44:35.587Z] $ docker exec --env ******** --env ******** 95e4a74d963f04112a02ca1ced4bcf492d55709b92356a5dc748e4997ddd790c ssh-agent -k [2022-05-20T14:44:35.716Z] unset SSH_AUTH_SOCK; [2022-05-20T14:44:35.717Z] unset SSH_AGENT_PID; [2022-05-20T14:44:35.717Z] echo Agent pid 40 killed; [2022-05-20T14:44:35.728Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-20T14:44:35.812Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-20T14:44:35.812Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-20T14:44:35.952Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-20T14:44:35.958Z] $ docker exec 95e4a74d963f04112a02ca1ced4bcf492d55709b92356a5dc748e4997ddd790c ssh-agent [2022-05-20T14:44:36.089Z] SSH_AUTH_SOCK=/tmp/ssh-Ho922PBYnKoO/agent.73 [2022-05-20T14:44:36.089Z] SSH_AGENT_PID=79 [2022-05-20T14:44:36.095Z] Running ssh-add (command line suppressed) [2022-05-20T14:44:36.229Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1164@tmp/private_key_1428077092539277396.key (/w/workspace/gexfoundry_device-sdk-go_PR-1164@tmp/private_key_1428077092539277396.key) [2022-05-20T14:44:36.249Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-20T14:44:36.591Z] + git semver init [2022-05-20T14:44:36.853Z] 2022-05-20 14:44:36,841 [run_init] DEBUG init version:0.0.0 force:False [2022-05-20T14:44:36.853Z] 2022-05-20 14:44:36,842 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1164/.semver [2022-05-20T14:44:36.853Z] 2022-05-20 14:44:36,843 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1164/.semver [2022-05-20T14:44:36.853Z] 2022-05-20 14:44:36,843 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1164/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1164, universal_newlines=False, shell=None, istream=None) [2022-05-20T14:44:37.799Z] 2022-05-20 14:44:37,602 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1164/.git/info/exclude [2022-05-20T14:44:37.799Z] 2022-05-20 14:44:37,602 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1164/.semver/PR-1164 with force:False [2022-05-20T14:44:37.799Z] 2022-05-20 14:44:37,603 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1164/.semver/PR-1164 [2022-05-20T14:44:37.799Z] 2022-05-20 14:44:37,607 [execute] INFO git cat-file --batch-check [2022-05-20T14:44:37.799Z] 2022-05-20 14:44:37,608 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1164/.semver, universal_newlines=False, shell=None, istream=) [2022-05-20T14:44:37.799Z] 2022-05-20 14:44:37,614 [execute] INFO git cat-file --batch [2022-05-20T14:44:37.799Z] 2022-05-20 14:44:37,614 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1164/.semver, universal_newlines=False, shell=None, istream=) [2022-05-20T14:44:37.799Z] 2022-05-20 14:44:37,620 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1164/.semver/PR-1164 [2022-05-20T14:44:37.799Z] 0.0.0 [Pipeline] } [2022-05-20T14:44:37.824Z] $ docker exec --env ******** --env ******** 95e4a74d963f04112a02ca1ced4bcf492d55709b92356a5dc748e4997ddd790c ssh-agent -k [2022-05-20T14:44:37.943Z] unset SSH_AUTH_SOCK; [2022-05-20T14:44:37.944Z] unset SSH_AGENT_PID; [2022-05-20T14:44:37.944Z] echo Agent pid 79 killed; [2022-05-20T14:44:37.953Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-20T14:44:38.353Z] + git semver [Pipeline] } [2022-05-20T14:44:38.647Z] $ docker stop --time=1 95e4a74d963f04112a02ca1ced4bcf492d55709b92356a5dc748e4997ddd790c [2022-05-20T14:44:39.973Z] $ docker rm -f 95e4a74d963f04112a02ca1ced4bcf492d55709b92356a5dc748e4997ddd790c [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-20T14:44:40.391Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-20T14:44:40.711Z] Stashed 1 file(s) [Pipeline] echo [2022-05-20T14:44:40.728Z] [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 [2022-05-20T14:44:41.329Z] provisioning config files... [2022-05-20T14:44:41.341Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1164@tmp/config1364964534893674545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-20T14:44:41.685Z] ---> docker-login.sh [2022-05-20T14:44:41.685Z] nexus3.edgexfoundry.org:10001 [2022-05-20T14:44:41.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T14:44:41.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T14:44:41.685Z] Configure a credential helper to remove this warning. See [2022-05-20T14:44:41.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T14:44:41.685Z] [2022-05-20T14:44:41.685Z] Login Succeeded [2022-05-20T14:44:41.685Z] nexus3.edgexfoundry.org:10002 [2022-05-20T14:44:41.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T14:44:41.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T14:44:41.949Z] Configure a credential helper to remove this warning. See [2022-05-20T14:44:41.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T14:44:41.949Z] [2022-05-20T14:44:41.949Z] Login Succeeded [2022-05-20T14:44:41.949Z] nexus3.edgexfoundry.org:10003 [2022-05-20T14:44:41.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T14:44:41.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T14:44:41.949Z] Configure a credential helper to remove this warning. See [2022-05-20T14:44:41.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T14:44:41.949Z] [2022-05-20T14:44:41.949Z] Login Succeeded [2022-05-20T14:44:41.949Z] nexus3.edgexfoundry.org:10004 [2022-05-20T14:44:42.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T14:44:42.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T14:44:42.211Z] Configure a credential helper to remove this warning. See [2022-05-20T14:44:42.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T14:44:42.211Z] [2022-05-20T14:44:42.211Z] Login Succeeded [2022-05-20T14:44:42.211Z] docker.io [2022-05-20T14:44:42.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T14:44:42.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T14:44:42.473Z] Configure a credential helper to remove this warning. See [2022-05-20T14:44:42.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T14:44:42.473Z] [2022-05-20T14:44:42.473Z] Login Succeeded [2022-05-20T14:44:42.473Z] ---> docker-login.sh ends [Pipeline] } [2022-05-20T14:44:42.502Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-20T14:44:42.702Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-20T14:44:42.732Z] ========================================================= [2022-05-20T14:44:42.732Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] [2022-05-20T14:44:42.732Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-20T14:44:43.140Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-05-20T14:44:43.399Z] Sending build context to Docker daemon 20.8MB [2022-05-20T14:44:43.399Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-05-20T14:44:43.399Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-20T14:44:43.399Z] 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2022-05-20T14:44:43.399Z] 59bf1c3509f3: Pulling fs layer [2022-05-20T14:44:43.399Z] 666ba61612fd: Pulling fs layer [2022-05-20T14:44:43.399Z] 8ed8ca486205: Pulling fs layer [2022-05-20T14:44:43.399Z] 4fe6c5a15a65: Pulling fs layer [2022-05-20T14:44:43.399Z] 22a0e8bec74d: Pulling fs layer [2022-05-20T14:44:43.399Z] 5f8736975d2d: Pulling fs layer [2022-05-20T14:44:43.399Z] fe9c1520953f: Pulling fs layer [2022-05-20T14:44:43.399Z] 4fe6c5a15a65: Waiting [2022-05-20T14:44:43.399Z] 5f8736975d2d: Waiting [2022-05-20T14:44:43.399Z] 22a0e8bec74d: Waiting [2022-05-20T14:44:43.399Z] fe9c1520953f: Waiting [2022-05-20T14:44:43.399Z] ad63dd2c9e3e: Pulling fs layer [2022-05-20T14:44:43.399Z] 15d927b9e438: Pulling fs layer [2022-05-20T14:44:43.399Z] ad63dd2c9e3e: Waiting [2022-05-20T14:44:43.399Z] 15d927b9e438: Waiting [2022-05-20T14:44:43.399Z] 8ed8ca486205: Download complete [2022-05-20T14:44:43.399Z] 666ba61612fd: Verifying Checksum [2022-05-20T14:44:43.399Z] 666ba61612fd: Download complete [2022-05-20T14:44:43.399Z] 22a0e8bec74d: Verifying Checksum [2022-05-20T14:44:43.399Z] 22a0e8bec74d: Download complete [2022-05-20T14:44:43.399Z] 59bf1c3509f3: Verifying Checksum [2022-05-20T14:44:43.399Z] 5f8736975d2d: Verifying Checksum [2022-05-20T14:44:43.399Z] 5f8736975d2d: Download complete [2022-05-20T14:44:43.399Z] fe9c1520953f: Verifying Checksum [2022-05-20T14:44:43.399Z] fe9c1520953f: Download complete [2022-05-20T14:44:43.663Z] ad63dd2c9e3e: Verifying Checksum [2022-05-20T14:44:43.663Z] ad63dd2c9e3e: Download complete [2022-05-20T14:44:43.663Z] 59bf1c3509f3: Pull complete [2022-05-20T14:44:43.663Z] 666ba61612fd: Pull complete [2022-05-20T14:44:43.925Z] 8ed8ca486205: Pull complete [2022-05-20T14:44:44.185Z] 15d927b9e438: Verifying Checksum [2022-05-20T14:44:44.185Z] 15d927b9e438: Download complete [2022-05-20T14:44:44.185Z] 4fe6c5a15a65: Verifying Checksum [2022-05-20T14:44:44.185Z] 4fe6c5a15a65: Download complete [2022-05-20T14:44:48.382Z] 4fe6c5a15a65: Pull complete [2022-05-20T14:44:48.382Z] 22a0e8bec74d: Pull complete [2022-05-20T14:44:48.382Z] 5f8736975d2d: Pull complete [2022-05-20T14:44:48.382Z] fe9c1520953f: Pull complete [2022-05-20T14:44:48.382Z] ad63dd2c9e3e: Pull complete [2022-05-20T14:44:50.928Z] 15d927b9e438: Pull complete [2022-05-20T14:44:50.928Z] Digest: sha256:661808593d0254beeed429a39851472eaea702e19ad1e0a0b350076e4156c215 [2022-05-20T14:44:50.928Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts [2022-05-20T14:44:50.928Z] ---> 38c4cad2258c [2022-05-20T14:44:50.928Z] Step 3/10 : ARG MAKE=make build [2022-05-20T14:44:51.871Z] ---> Running in 2357975c5139 [2022-05-20T14:44:52.132Z] Removing intermediate container 2357975c5139 [2022-05-20T14:44:52.132Z] ---> 3f82686dd5d0 [2022-05-20T14:44:52.132Z] Step 4/10 : WORKDIR /device-sdk-go [2022-05-20T14:44:52.132Z] ---> Running in 40cf08322b35 [2022-05-20T14:44:52.133Z] Removing intermediate container 40cf08322b35 [2022-05-20T14:44:52.133Z] ---> 3254d9eea52e [2022-05-20T14:44:52.133Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-20T14:44:52.133Z] ---> Running in 4f27b7cef291 [2022-05-20T14:44:52.394Z] Removing intermediate container 4f27b7cef291 [2022-05-20T14:44:52.394Z] ---> 4d47a4cb7f18 [2022-05-20T14:44:52.394Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-20T14:44:52.394Z] ---> Running in 938123b3677c [2022-05-20T14:44:52.965Z] Removing intermediate container 938123b3677c [2022-05-20T14:44:52.965Z] ---> e2a2e8e500e4 [2022-05-20T14:44:52.965Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-20T14:44:52.965Z] ---> Running in 13843f782c43 [2022-05-20T14:44:53.227Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-20T14:44:54.171Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-20T14:44:54.437Z] OK: 221 MiB in 52 packages [2022-05-20T14:44:54.699Z] Removing intermediate container 13843f782c43 [2022-05-20T14:44:54.699Z] ---> 1546be27677c [2022-05-20T14:44:54.699Z] Step 8/10 : COPY . . [2022-05-20T14:44:55.691Z] ---> 96ee7101f9cb [2022-05-20T14:44:55.691Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-20T14:44:55.691Z] ---> Running in 9bee6fcdf11b [2022-05-20T14:44:56.005Z] skipping... [2022-05-20T14:44:56.153Z] Still waiting to schedule task [2022-05-20T14:44:56.154Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-64199’ [2022-05-20T14:44:56.266Z] Removing intermediate container 9bee6fcdf11b [2022-05-20T14:44:56.266Z] ---> 31b1cf6918e9 [2022-05-20T14:44:56.266Z] Step 10/10 : RUN ${MAKE} [2022-05-20T14:44:56.266Z] ---> Running in 84d819f2e151 [2022-05-20T14:44:56.527Z] noop [2022-05-20T14:44:57.103Z] Removing intermediate container 84d819f2e151 [2022-05-20T14:44:57.103Z] ---> ca9855eb72c4 [2022-05-20T14:44:57.103Z] Successfully built ca9855eb72c4 [2022-05-20T14:44:57.103Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-20T14:44:57.443Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-20T14:44:57.443Z] . [Pipeline] withDockerContainer [2022-05-20T14:44:57.541Z] prd-ubuntu20.04-docker-8c-8g-64200 does not seem to be running inside a container [2022-05-20T14:44:57.585Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1164 -v /w/workspace/gexfoundry_device-sdk-go_PR-1164:/w/workspace/gexfoundry_device-sdk-go_PR-1164:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1164@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-20T14:44:57.976Z] $ docker top 924dbe2cce7a949e405f3a76f5156bd43ccc9ff0191e5652eb503bf3871fd367 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-20T14:44:58.384Z] + go version [2022-05-20T14:44:58.384Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-20T14:44:58.416Z] $ docker stop --time=1 924dbe2cce7a949e405f3a76f5156bd43ccc9ff0191e5652eb503bf3871fd367 [2022-05-20T14:44:59.728Z] $ docker rm -f 924dbe2cce7a949e405f3a76f5156bd43ccc9ff0191e5652eb503bf3871fd367 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-20T14:45:00.435Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-20T14:45:00.435Z] . [Pipeline] withDockerContainer [2022-05-20T14:45:00.529Z] prd-ubuntu20.04-docker-8c-8g-64200 does not seem to be running inside a container [2022-05-20T14:45:00.564Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1164 -v /w/workspace/gexfoundry_device-sdk-go_PR-1164:/w/workspace/gexfoundry_device-sdk-go_PR-1164:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1164@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-20T14:45:00.931Z] $ docker top bcf84865ea25559bc2f84d1f96610536ac5dc4f1494463ba1d2546c99ce4dab0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-20T14:45:01.389Z] + make test [2022-05-20T14:45:01.389Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-20T14:45:06.677Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-20T14:45:16.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-20T14:45:16.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-20T14:45:16.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-20T14:45:16.661Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.063s coverage: 23.3% of statements [2022-05-20T14:45:16.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-20T14:45:16.661Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 27.6% of statements [2022-05-20T14:45:16.661Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.063s coverage: 78.9% of statements [2022-05-20T14:45:16.661Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.041s coverage: 9.0% of statements [2022-05-20T14:45:16.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-05-20T14:45:16.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-20T14:45:16.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-20T14:45:16.661Z] --- FAIL: TestMetricsRequest (0.00s) [2022-05-20T14:45:16.661Z] common_test.go:114: [2022-05-20T14:45:16.661Z] Error Trace: common_test.go:114 [2022-05-20T14:45:16.661Z] Error: Should not be zero, but was 0 [2022-05-20T14:45:16.661Z] Test: TestMetricsRequest [2022-05-20T14:45:16.661Z] FAIL [2022-05-20T14:45:16.661Z] coverage: 28.7% of statements [2022-05-20T14:45:16.661Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.049s [2022-05-20T14:45:16.661Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-20T14:45:16.921Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.077s coverage: 83.8% of statements [2022-05-20T14:45:16.921Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-20T14:45:16.921Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-20T14:45:16.921Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.080s coverage: 57.8% of statements [2022-05-20T14:45:16.921Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.871s coverage: 89.2% of statements [2022-05-20T14:45:16.921Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-20T14:45:16.921Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.8% of statements [2022-05-20T14:45:16.921Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-20T14:45:16.921Z] FAIL [2022-05-20T14:45:17.183Z] make: *** [Makefile:35: test] Error 1 [Pipeline] } [2022-05-20T14:45:17.228Z] $ docker stop --time=1 bcf84865ea25559bc2f84d1f96610536ac5dc4f1494463ba1d2546c99ce4dab0 [2022-05-20T14:45:18.938Z] $ docker rm -f bcf84865ea25559bc2f84d1f96610536ac5dc4f1494463ba1d2546c99ce4dab0 [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] sh [2022-05-20T14:45:20.058Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-20T14:45:20.058Z] [2022-05-20T14:45:20.058Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-20T14:45:20.409Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-20T14:45:20.410Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-20T14:45:20.410Z] 5eb5b503b376: Pulling fs layer [2022-05-20T14:45:20.410Z] 5c69ac0246d0: Pulling fs layer [2022-05-20T14:45:20.410Z] ec43610c2a17: Pulling fs layer [2022-05-20T14:45:20.410Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-20T14:45:20.410Z] 33b1e0a273af: Pulling fs layer [2022-05-20T14:45:20.410Z] 5d3b04190fa2: Pulling fs layer [2022-05-20T14:45:20.410Z] 2f39f015ded8: Pulling fs layer [2022-05-20T14:45:20.410Z] 33b1e0a273af: Waiting [2022-05-20T14:45:20.410Z] 3a2ae6a8a46f: Waiting [2022-05-20T14:45:20.410Z] 5d3b04190fa2: Waiting [2022-05-20T14:45:20.410Z] 2f39f015ded8: Waiting [2022-05-20T14:45:20.410Z] 5c69ac0246d0: Verifying Checksum [2022-05-20T14:45:20.410Z] 5c69ac0246d0: Download complete [2022-05-20T14:45:20.410Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-20T14:45:20.410Z] 3a2ae6a8a46f: Download complete [2022-05-20T14:45:20.410Z] 33b1e0a273af: Verifying Checksum [2022-05-20T14:45:20.410Z] 33b1e0a273af: Download complete [2022-05-20T14:45:20.410Z] 5d3b04190fa2: Verifying Checksum [2022-05-20T14:45:20.410Z] 5d3b04190fa2: Download complete [2022-05-20T14:45:20.410Z] ec43610c2a17: Verifying Checksum [2022-05-20T14:45:20.410Z] ec43610c2a17: Download complete [2022-05-20T14:45:20.670Z] 5eb5b503b376: Verifying Checksum [2022-05-20T14:45:20.670Z] 5eb5b503b376: Download complete [2022-05-20T14:45:21.239Z] 2f39f015ded8: Download complete [2022-05-20T14:45:21.810Z] 5eb5b503b376: Pull complete [2022-05-20T14:45:21.810Z] 5c69ac0246d0: Pull complete [2022-05-20T14:45:22.384Z] ec43610c2a17: Pull complete [2022-05-20T14:45:22.384Z] 3a2ae6a8a46f: Pull complete [2022-05-20T14:45:22.647Z] 33b1e0a273af: Pull complete [2022-05-20T14:45:22.908Z] 5d3b04190fa2: Pull complete [2022-05-20T14:45:27.105Z] 2f39f015ded8: Pull complete [2022-05-20T14:45:27.105Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-20T14:45:27.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-20T14:45:27.105Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-20T14:45:27.205Z] prd-ubuntu20.04-docker-8c-8g-64200 does not seem to be running inside a container [2022-05-20T14:45:27.243Z] $ 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-1164 -v /w/workspace/gexfoundry_device-sdk-go_PR-1164:/w/workspace/gexfoundry_device-sdk-go_PR-1164:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1164@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-20T14:45:28.629Z] $ docker top e9f4663f1edaeac31569ffe4070e662a2595cd69bff653786984d8107291d791 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-20T14:45:29.084Z] ---> job-cost.sh [2022-05-20T14:45:29.084Z] lf-activate-venv: SKIPPING [2022-05-20T14:45:29.084Z] INFO: No Stack... [2022-05-20T14:45:29.659Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-20T14:45:30.232Z] INFO: Archiving Costs [Pipeline] sh [2022-05-20T14:45:30.553Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1164/archives/cost.csv [2022-05-20T14:45:30.553Z] + cut -d, -f6 [Pipeline] lock [2022-05-20T14:45:30.599Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1164-1-stack-cost] [2022-05-20T14:45:30.604Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1164-1-stack-cost] did not exist. Created. [2022-05-20T14:45:30.604Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1164-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-20T14:45:31.001Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-20T14:45:31.092Z] Stashed 1 file(s) [Pipeline] } [2022-05-20T14:45:31.109Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1164-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-20T14:45:31.208Z] $ docker stop --time=1 e9f4663f1edaeac31569ffe4070e662a2595cd69bff653786984d8107291d791 [2022-05-20T14:45:32.379Z] $ docker rm -f e9f4663f1edaeac31569ffe4070e662a2595cd69bff653786984d8107291d791 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-20T14:45:32.746Z] Failed in branch amd64 [2022-05-20T14:47:25.406Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-64202 in /w/workspace/gexfoundry_device-sdk-go_PR-1164 [Pipeline] { [Pipeline] ws [2022-05-20T14:47:25.447Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-05-20T14:47:25.956Z] The recommended git tool is: git [2022-05-20T14:47:32.593Z] using credential edgex-jenkins-ssh [2022-05-20T14:47:32.615Z] Cloning the remote Git repository [2022-05-20T14:47:32.690Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-05-20T14:47:32.776Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-05-20T14:47:32.924Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-20T14:47:32.925Z] > git --version # timeout=10 [2022-05-20T14:47:32.971Z] > git --version # 'git version 2.25.1' [2022-05-20T14:47:32.973Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-20T14:47:33.133Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-20T14:47:34.698Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-20T14:47:34.720Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-20T14:47:34.752Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-20T14:47:34.790Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-20T14:47:34.791Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-20T14:47:34.807Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1164/head:refs/remotes/origin/PR-1164 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 [2022-05-20T14:47:35.400Z] Merging remotes/origin/jakarta commit 6a81118fd5fae2129fb08f9495f332ae0f5b104f into PR head commit b74281feb3ca292a29f16dc1a3788ed764b8fe93 [2022-05-20T14:47:36.027Z] Merge succeeded, producing b74281feb3ca292a29f16dc1a3788ed764b8fe93 [2022-05-20T14:47:36.028Z] Checking out Revision b74281feb3ca292a29f16dc1a3788ed764b8fe93 (PR-1164) [2022-05-20T14:47:35.425Z] > git config core.sparsecheckout # timeout=10 [2022-05-20T14:47:35.451Z] > git checkout -f b74281feb3ca292a29f16dc1a3788ed764b8fe93 # timeout=10 [2022-05-20T14:47:35.935Z] > git remote # timeout=10 [2022-05-20T14:47:35.955Z] > git config --get remote.origin.url # timeout=10 [2022-05-20T14:47:35.969Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-20T14:47:35.983Z] > git merge 6a81118fd5fae2129fb08f9495f332ae0f5b104f # timeout=10 [2022-05-20T14:47:36.009Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-20T14:47:36.039Z] > git config core.sparsecheckout # timeout=10 [2022-05-20T14:47:36.055Z] > git checkout -f b74281feb3ca292a29f16dc1a3788ed764b8fe93 # timeout=10 [2022-05-20T14:47:40.818Z] Commit message: "fix: Remove MessageBus Options data from configuration after client created" [2022-05-20T14:47:40.901Z] > git --version # timeout=10 [2022-05-20T14:47:40.914Z] > git --version # 'git version 2.25.1' [2022-05-20T14:47:40.933Z] fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-20T14:47:42.057Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-20T14:47:42.057Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-20T14:47:42.057Z] Dload Upload Total Spent Left Speed [2022-05-20T14:47:42.057Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 221k 0 --:--:-- --:--:-- --:--:-- 221k [Pipeline] sh [2022-05-20T14:47:42.614Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-20T14:47:42.985Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-20T14:47:42.985Z] + sudo tee /etc/docker/daemon.new [2022-05-20T14:47:42.985Z] { [2022-05-20T14:47:42.985Z] "registry-mirrors": [ [2022-05-20T14:47:42.985Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-20T14:47:42.985Z] ], [2022-05-20T14:47:42.985Z] "bip": "10.250.0.254/24", [2022-05-20T14:47:42.985Z] "hosts": [ [2022-05-20T14:47:42.985Z] "tcp://0.0.0.0:5555", [2022-05-20T14:47:42.985Z] "unix:///var/run/docker.sock" [2022-05-20T14:47:42.985Z] ], [2022-05-20T14:47:42.985Z] "mtu": 1458, [2022-05-20T14:47:42.985Z] "selinux-enabled": true, [2022-05-20T14:47:42.985Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-20T14:47:42.985Z] } [Pipeline] sh [2022-05-20T14:47:43.364Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-20T14:47:43.738Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-20T14:48:02.241Z] provisioning config files... [2022-05-20T14:48:02.271Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5178433979068387677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-20T14:48:02.878Z] ---> docker-login.sh [2022-05-20T14:48:02.878Z] nexus3.edgexfoundry.org:10001 [2022-05-20T14:48:03.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T14:48:03.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T14:48:03.753Z] Configure a credential helper to remove this warning. See [2022-05-20T14:48:03.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T14:48:03.753Z] [2022-05-20T14:48:03.753Z] Login Succeeded [2022-05-20T14:48:03.753Z] nexus3.edgexfoundry.org:10002 [2022-05-20T14:48:04.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T14:48:04.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T14:48:04.352Z] Configure a credential helper to remove this warning. See [2022-05-20T14:48:04.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T14:48:04.352Z] [2022-05-20T14:48:04.352Z] Login Succeeded [2022-05-20T14:48:04.352Z] nexus3.edgexfoundry.org:10003 [2022-05-20T14:48:04.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T14:48:04.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T14:48:04.911Z] Configure a credential helper to remove this warning. See [2022-05-20T14:48:04.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T14:48:04.911Z] [2022-05-20T14:48:04.911Z] Login Succeeded [2022-05-20T14:48:04.911Z] nexus3.edgexfoundry.org:10004 [2022-05-20T14:48:05.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T14:48:05.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T14:48:05.461Z] Configure a credential helper to remove this warning. See [2022-05-20T14:48:05.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T14:48:05.461Z] [2022-05-20T14:48:05.461Z] Login Succeeded [2022-05-20T14:48:05.461Z] docker.io [2022-05-20T14:48:05.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-20T14:48:06.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-20T14:48:06.011Z] Configure a credential helper to remove this warning. See [2022-05-20T14:48:06.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-20T14:48:06.011Z] [2022-05-20T14:48:06.011Z] Login Succeeded [2022-05-20T14:48:06.011Z] ---> docker-login.sh ends [Pipeline] } [2022-05-20T14:48:06.043Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-20T14:48:06.450Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-20T14:48:06.481Z] ========================================================= [2022-05-20T14:48:06.482Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] [2022-05-20T14:48:06.482Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-20T14:48:06.941Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-05-20T14:48:08.399Z] Sending build context to Docker daemon 16.3MB [2022-05-20T14:48:08.399Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-05-20T14:48:08.399Z] Step 2/10 : FROM ${BASE} AS builder [2022-05-20T14:48:08.399Z] 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-20T14:48:08.399Z] 9b3977197b4f: Pulling fs layer [2022-05-20T14:48:08.399Z] 1a89e8eeedd5: Pulling fs layer [2022-05-20T14:48:08.399Z] 94645a83ff95: Pulling fs layer [2022-05-20T14:48:08.399Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-20T14:48:08.399Z] 0c92f367c5e7: Pulling fs layer [2022-05-20T14:48:08.399Z] 045706c8da98: Pulling fs layer [2022-05-20T14:48:08.399Z] d7189365e05b: Pulling fs layer [2022-05-20T14:48:08.399Z] a32415fbff51: Pulling fs layer [2022-05-20T14:48:08.399Z] 3f3a8bcf1eab: Waiting [2022-05-20T14:48:08.399Z] d7189365e05b: Waiting [2022-05-20T14:48:08.399Z] a32415fbff51: Waiting [2022-05-20T14:48:08.399Z] 0c92f367c5e7: Waiting [2022-05-20T14:48:08.678Z] 94645a83ff95: Verifying Checksum [2022-05-20T14:48:08.678Z] 94645a83ff95: Download complete [2022-05-20T14:48:08.678Z] 1a89e8eeedd5: Verifying Checksum [2022-05-20T14:48:08.678Z] 1a89e8eeedd5: Download complete [2022-05-20T14:48:08.678Z] 0c92f367c5e7: Verifying Checksum [2022-05-20T14:48:08.678Z] 0c92f367c5e7: Download complete [2022-05-20T14:48:08.678Z] 9b3977197b4f: Download complete [2022-05-20T14:48:08.678Z] 045706c8da98: Verifying Checksum [2022-05-20T14:48:08.678Z] 045706c8da98: Download complete [2022-05-20T14:48:08.678Z] d7189365e05b: Verifying Checksum [2022-05-20T14:48:08.678Z] d7189365e05b: Download complete [2022-05-20T14:48:09.295Z] 9b3977197b4f: Pull complete [2022-05-20T14:48:09.918Z] 1a89e8eeedd5: Pull complete [2022-05-20T14:48:10.198Z] 94645a83ff95: Pull complete [2022-05-20T14:48:10.804Z] a32415fbff51: Verifying Checksum [2022-05-20T14:48:10.804Z] a32415fbff51: Download complete [2022-05-20T14:48:11.406Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-20T14:48:11.406Z] 3f3a8bcf1eab: Download complete [2022-05-20T14:48:23.825Z] 3f3a8bcf1eab: Pull complete [2022-05-20T14:48:23.825Z] 0c92f367c5e7: Pull complete [2022-05-20T14:48:24.101Z] 045706c8da98: Pull complete [2022-05-20T14:48:24.375Z] d7189365e05b: Pull complete [2022-05-20T14:48:31.120Z] a32415fbff51: Pull complete [2022-05-20T14:48:31.120Z] Digest: sha256:763293993303eff07c8e57fe0fe9116095497c40c1fdc093d1a27926bd48f831 [2022-05-20T14:48:31.120Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts [2022-05-20T14:48:31.120Z] ---> 96786ed1eff5 [2022-05-20T14:48:31.120Z] Step 3/10 : ARG MAKE=make build [2022-05-20T14:48:32.573Z] ---> Running in 3af153ab8e24 [2022-05-20T14:48:34.027Z] Removing intermediate container 3af153ab8e24 [2022-05-20T14:48:34.027Z] ---> 4ea19cfe151c [2022-05-20T14:48:34.027Z] Step 4/10 : WORKDIR /device-sdk-go [2022-05-20T14:48:34.027Z] ---> Running in d996e164330b [2022-05-20T14:48:34.304Z] Removing intermediate container d996e164330b [2022-05-20T14:48:34.304Z] ---> f6cc7802817a [2022-05-20T14:48:34.304Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-20T14:48:34.304Z] ---> Running in 608fa03d8d12 [2022-05-20T14:48:34.584Z] Removing intermediate container 608fa03d8d12 [2022-05-20T14:48:34.584Z] ---> 4867b5e17ab3 [2022-05-20T14:48:34.584Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-20T14:48:34.858Z] ---> Running in 7cd9a3401f7c [2022-05-20T14:48:36.846Z] Removing intermediate container 7cd9a3401f7c [2022-05-20T14:48:36.846Z] ---> 516b83c5e07d [2022-05-20T14:48:36.846Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-20T14:48:36.846Z] ---> Running in 9e3bb4844370 [2022-05-20T14:48:37.833Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-20T14:48:38.810Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-20T14:48:39.790Z] OK: 220 MiB in 52 packages [2022-05-20T14:48:40.391Z] Removing intermediate container 9e3bb4844370 [2022-05-20T14:48:40.391Z] ---> 8f838427aa49 [2022-05-20T14:48:40.391Z] Step 8/10 : COPY . . [2022-05-20T14:48:44.728Z] ---> ef25c6d93f66 [2022-05-20T14:48:44.728Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-20T14:48:44.728Z] ---> Running in 3242c34ba7f0 [2022-05-20T14:48:45.715Z] skipping... [2022-05-20T14:48:46.314Z] Removing intermediate container 3242c34ba7f0 [2022-05-20T14:48:46.314Z] ---> f81b6dacf2ef [2022-05-20T14:48:46.314Z] Step 10/10 : RUN ${MAKE} [2022-05-20T14:48:46.314Z] ---> Running in 821410b40517 [2022-05-20T14:48:47.294Z] noop [2022-05-20T14:48:47.910Z] Removing intermediate container 821410b40517 [2022-05-20T14:48:47.910Z] ---> 0e2bd1df05f7 [2022-05-20T14:48:48.186Z] Successfully built 0e2bd1df05f7 [2022-05-20T14:48:48.186Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-20T14:48:48.563Z] + docker inspect -f . ci-base-image-arm64 [2022-05-20T14:48:48.564Z] . [Pipeline] withDockerContainer [2022-05-20T14:48:48.830Z] prd-ubuntu20.04-docker-arm64-4c-16g-64202 does not seem to be running inside a container [2022-05-20T14:48:48.918Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-05-20T14:48:50.248Z] $ docker top 2b8d3eed8556bae478513fe5b268c054bbf9580ca1622fcaf75f0530e3e3c865 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-20T14:48:51.216Z] + go version [2022-05-20T14:48:51.216Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-20T14:48:51.257Z] $ docker stop --time=1 2b8d3eed8556bae478513fe5b268c054bbf9580ca1622fcaf75f0530e3e3c865 [2022-05-20T14:48:52.942Z] $ docker rm -f 2b8d3eed8556bae478513fe5b268c054bbf9580ca1622fcaf75f0530e3e3c865 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-20T14:48:53.821Z] + docker inspect -f . ci-base-image-arm64 [2022-05-20T14:48:53.821Z] . [Pipeline] withDockerContainer [2022-05-20T14:48:54.075Z] prd-ubuntu20.04-docker-arm64-4c-16g-64202 does not seem to be running inside a container [2022-05-20T14:48:54.161Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-05-20T14:48:55.466Z] $ docker top d929c10090742c8d4504aab03760374851f1f7fa9c08ad4d9837f4f10f5c2274 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-20T14:48:56.482Z] + make test [2022-05-20T14:48:56.482Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-20T14:49:28.866Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-20T14:50:36.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-20T14:50:36.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-20T14:50:36.996Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-20T14:50:52.129Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.353s coverage: 23.3% of statements [2022-05-20T14:50:52.129Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-20T14:50:52.129Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.281s coverage: 27.6% of statements [2022-05-20T14:50:52.129Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.290s coverage: 78.9% of statements [2022-05-20T14:50:52.129Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.247s coverage: 9.0% of statements [2022-05-20T14:50:52.129Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-05-20T14:50:52.129Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-20T14:50:52.129Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-20T14:50:52.129Z] --- FAIL: TestMetricsRequest (0.01s) [2022-05-20T14:50:52.129Z] common_test.go:114: [2022-05-20T14:50:52.129Z] Error Trace: common_test.go:114 [2022-05-20T14:50:52.129Z] Error: Should not be zero, but was 0 [2022-05-20T14:50:52.129Z] Test: TestMetricsRequest [2022-05-20T14:50:52.129Z] FAIL [2022-05-20T14:50:52.129Z] coverage: 28.7% of statements [2022-05-20T14:50:52.129Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.460s [2022-05-20T14:50:52.129Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-20T14:50:52.129Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.326s coverage: 83.8% of statements [2022-05-20T14:50:52.129Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-20T14:50:52.129Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-20T14:50:52.129Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.465s coverage: 57.8% of statements [2022-05-20T14:50:56.443Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.103s coverage: 89.2% of statements [2022-05-20T14:50:56.443Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-20T14:50:56.443Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.227s coverage: 4.8% of statements [2022-05-20T14:50:56.443Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-20T14:50:56.443Z] FAIL [2022-05-20T14:50:56.715Z] make: *** [Makefile:35: test] Error 1 [Pipeline] } [2022-05-20T14:50:56.764Z] $ docker stop --time=1 d929c10090742c8d4504aab03760374851f1f7fa9c08ad4d9837f4f10f5c2274 [2022-05-20T14:50:58.569Z] $ docker rm -f d929c10090742c8d4504aab03760374851f1f7fa9c08ad4d9837f4f10f5c2274 [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] sh [2022-05-20T14:51:00.038Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-20T14:51:00.039Z] [2022-05-20T14:51:00.039Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-20T14:51:00.412Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-20T14:51:00.688Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-20T14:51:00.688Z] 8998bd30e6a1: Pulling fs layer [2022-05-20T14:51:00.688Z] 04944245beec: Pulling fs layer [2022-05-20T14:51:00.688Z] 699f458cf7ca: Pulling fs layer [2022-05-20T14:51:00.688Z] 765212b225bb: Pulling fs layer [2022-05-20T14:51:00.688Z] f23df028b6ca: Pulling fs layer [2022-05-20T14:51:00.688Z] d65c8cfc05b1: Pulling fs layer [2022-05-20T14:51:00.688Z] 2437ff75d9bd: Pulling fs layer [2022-05-20T14:51:00.688Z] 765212b225bb: Waiting [2022-05-20T14:51:00.688Z] f23df028b6ca: Waiting [2022-05-20T14:51:00.688Z] d65c8cfc05b1: Waiting [2022-05-20T14:51:00.688Z] 2437ff75d9bd: Waiting [2022-05-20T14:51:00.688Z] 04944245beec: Verifying Checksum [2022-05-20T14:51:00.688Z] 04944245beec: Download complete [2022-05-20T14:51:00.688Z] 765212b225bb: Verifying Checksum [2022-05-20T14:51:00.688Z] 765212b225bb: Download complete [2022-05-20T14:51:00.688Z] f23df028b6ca: Download complete [2022-05-20T14:51:00.688Z] d65c8cfc05b1: Verifying Checksum [2022-05-20T14:51:00.688Z] d65c8cfc05b1: Download complete [2022-05-20T14:51:00.962Z] 699f458cf7ca: Verifying Checksum [2022-05-20T14:51:00.962Z] 699f458cf7ca: Download complete [2022-05-20T14:51:01.237Z] 8998bd30e6a1: Verifying Checksum [2022-05-20T14:51:01.237Z] 8998bd30e6a1: Download complete [2022-05-20T14:51:03.882Z] 2437ff75d9bd: Verifying Checksum [2022-05-20T14:51:03.882Z] 2437ff75d9bd: Download complete [2022-05-20T14:51:05.865Z] 8998bd30e6a1: Pull complete [2022-05-20T14:51:06.140Z] 04944245beec: Pull complete [2022-05-20T14:51:07.586Z] 699f458cf7ca: Pull complete [2022-05-20T14:51:07.859Z] 765212b225bb: Pull complete [2022-05-20T14:51:08.841Z] f23df028b6ca: Pull complete [2022-05-20T14:51:08.841Z] d65c8cfc05b1: Pull complete [2022-05-20T14:51:23.931Z] 2437ff75d9bd: Pull complete [2022-05-20T14:51:23.931Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-20T14:51:23.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-20T14:51:23.931Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-20T14:51:24.184Z] prd-ubuntu20.04-docker-arm64-4c-16g-64202 does not seem to be running inside a container [2022-05-20T14:51:24.283Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-20T14:51:26.894Z] $ docker top 126850e3543e137152c6129bc0bc01473badbad1f99a2ac5345d7119ac3909b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-20T14:51:27.899Z] ---> job-cost.sh [2022-05-20T14:51:27.899Z] lf-activate-venv: SKIPPING [2022-05-20T14:51:27.899Z] INFO: No Stack... [2022-05-20T14:51:28.497Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-20T14:51:29.475Z] INFO: Archiving Costs [Pipeline] sh [2022-05-20T14:51:30.153Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-05-20T14:51:30.153Z] + cut -d, -f6 [Pipeline] lock [2022-05-20T14:51:30.237Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1164-1-stack-cost] [2022-05-20T14:51:30.242Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1164-1-stack-cost] did not exist. Created. [2022-05-20T14:51:30.242Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1164-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-20T14:51:30.997Z] /w/workspace/device-sdk-go/1@tmp/durable-354948ec/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-20T14:51:31.729Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-20T14:51:31.766Z] Warning: overwriting stash ‘stack-cost’ [2022-05-20T14:51:32.522Z] Stashed 1 file(s) [Pipeline] } [2022-05-20T14:51:32.539Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1164-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-20T14:51:32.624Z] $ docker stop --time=1 126850e3543e137152c6129bc0bc01473badbad1f99a2ac5345d7119ac3909b6 [2022-05-20T14:51:34.129Z] $ docker rm -f 126850e3543e137152c6129bc0bc01473badbad1f99a2ac5345d7119ac3909b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-20T14:51:34.897Z] 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 [2022-05-20T14:51:36.927Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1164/archives ] [2022-05-20T14:51:36.927Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1164/archives [2022-05-20T14:51:36.927Z] total 16 [2022-05-20T14:51:36.927Z] drwxr-xr-x 3 root root 4096 May 20 14:45 . [2022-05-20T14:51:36.927Z] drwxrwxr-x 13 jenkins jenkins 4096 May 20 14:45 .. [2022-05-20T14:51:36.927Z] drwxr-xr-x 2 root root 4096 May 20 14:45 cost [2022-05-20T14:51:36.927Z] -rw-r--r-- 1 root root 85 May 20 14:45 cost.csv [2022-05-20T14:51:36.927Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1164/archives [2022-05-20T14:51:36.927Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1164/archives [2022-05-20T14:51:36.927Z] total 16 [2022-05-20T14:51:36.927Z] drwxr-xr-x 3 jenkins jenkins 4096 May 20 14:45 . [2022-05-20T14:51:36.927Z] drwxrwxr-x 13 jenkins jenkins 4096 May 20 14:45 .. [2022-05-20T14:51:36.927Z] drwxr-xr-x 2 jenkins jenkins 4096 May 20 14:45 cost [2022-05-20T14:51:36.927Z] -rw-r--r-- 1 jenkins jenkins 85 May 20 14:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-20T14:51:37.259Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-20T14:51:38.159Z] ---> package-listing.sh [2022-05-20T14:51:38.159Z] ++ facter osfamily [2022-05-20T14:51:38.159Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-20T14:51:38.420Z] + OS_FAMILY=debian [2022-05-20T14:51:38.420Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1164 [2022-05-20T14:51:38.420Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-20T14:51:38.420Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-20T14:51:38.420Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-20T14:51:38.420Z] + PACKAGES=/tmp/packages_start.txt [2022-05-20T14:51:38.420Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1164 ']' [2022-05-20T14:51:38.420Z] + PACKAGES=/tmp/packages_end.txt [2022-05-20T14:51:38.420Z] + case "${OS_FAMILY}" in [2022-05-20T14:51:38.420Z] + dpkg -l [2022-05-20T14:51:38.420Z] + grep '^ii' [2022-05-20T14:51:38.420Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-20T14:51:38.420Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-20T14:51:38.420Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-20T14:51:38.420Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1164 ']' [2022-05-20T14:51:38.420Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1164/archives/ [2022-05-20T14:51:38.420Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1164/archives/ [Pipeline] echo [2022-05-20T14:51:38.451Z] 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-1164/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-20T14:51:38.743Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-20T14:51:39.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-20T14:51:39.329Z] . [Pipeline] withDockerContainer [2022-05-20T14:51:39.423Z] prd-ubuntu20.04-docker-8c-8g-64200 does not seem to be running inside a container [2022-05-20T14:51:39.459Z] $ 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-1164/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-1164 -v /w/workspace/gexfoundry_device-sdk-go_PR-1164:/w/workspace/gexfoundry_device-sdk-go_PR-1164:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1164@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1164@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 [2022-05-20T14:51:39.671Z] $ docker top c6dff1a1bdc6e4b502c8540dcda3a4a7f5c8f8028f002c2e15c49bcc90524c5a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-20T14:51:40.082Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-20T14:51:40.389Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-20T14:51:40.703Z] + ls /var/log/sa-host [2022-05-20T14:51:40.703Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-20T14:51:40.851Z] provisioning config files... [2022-05-20T14:51:40.860Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1164@tmp/config5343913481041258322tmp [Pipeline] { [Pipeline] echo [2022-05-20T14:51:40.912Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-20T14:51:41.226Z] ---> create-netrc.sh [Pipeline] } [2022-05-20T14:51:41.252Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-20T14:51:41.736Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-20T14:51:41.769Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-20T14:51:42.089Z] ---> sudo-logs.sh [2022-05-20T14:51:42.089Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-20T14:51:42.170Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-20T14:51:42.489Z] ---> job-cost.sh [2022-05-20T14:51:42.489Z] lf-activate-venv: SKIPPING [2022-05-20T14:51:42.489Z] DEBUG: total: 0.2199999988079071 [2022-05-20T14:51:42.489Z] INFO: Retrieving Stack Cost... [2022-05-20T14:51:42.751Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-20T14:51:43.323Z] INFO: Archiving Costs [Pipeline] echo [2022-05-20T14:51:43.358Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-20T14:51:43.668Z] ---> logs-deploy.sh [2022-05-20T14:51:43.668Z] lf-activate-venv: SKIPPING [2022-05-20T14:51:43.668Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1164/1 [2022-05-20T14:51:43.668Z] INFO: archiving workspace using pattern(s): [2022-05-20T14:51:44.610Z] Archives upload complete. [2022-05-20T14:51:44.610Z] INFO: archiving logs to Nexus