Pull request #1083 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 81b915aab5932ed37375b2fed4054c60207cc43a+010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 (dc9f89133c48a07c957e8b78133e048b28ce9364) 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-ssh7730136455969776108.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh3631090474353713665.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-1083/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-1083/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16671138015167728018.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-1083/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18346573821956211441.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh6300058216124527333.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-1083/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-1083/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17392390005855154204.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 dae07dc806156effb2cae02074e2f5f64a063e83 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: [[centos7-docker-4c-2g, ubuntu18.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 Running on prd-centos7-docker-4c-2g-1494 in /w/workspace/gexfoundry_device-sdk-go_PR-1083 [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-1083 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/gexfoundry_device-sdk-go_PR-1083@tmp/jenkins-gitclient-ssh7066717676846776551.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 into PR head commit 81b915aab5932ed37375b2fed4054c60207cc43a Merge succeeded, producing 81b915aab5932ed37375b2fed4054c60207cc43a Checking out Revision 81b915aab5932ed37375b2fed4054c60207cc43a (PR-1083) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1083@tmp/jenkins-gitclient-ssh3536442918345038789.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1083/head:refs/remotes/origin/PR-1083 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 81b915aab5932ed37375b2fed4054c60207cc43a # timeout=10 > git remote # timeout=10 > 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 /w/workspace/gexfoundry_device-sdk-go_PR-1083@tmp/jenkins-gitclient-ssh6212730307010938791.key > git merge 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 81b915aab5932ed37375b2fed4054c60207cc43a # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:14:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:14:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:14:21 ========================================================= 04:14:21 EdgeX Global Pipelines Version Info 04:14:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:14:23 ------------------- 04:14:23 stable info: 04:14:23 ------------------- 04:14:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:14:23 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 04:14:23 Message: update stable to v1.0.219 04:14:23 ------------------- 04:14:23 experimental info: 04:14:23 ------------------- 04:14:23 Commited By: **** collab-it+edgex@linuxfoundation.org 04:14:23 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 04:14:23 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:14:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:14:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1083 [Pipeline] echo 04:14:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1083 [Pipeline] echo 04:14:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1083 [Pipeline] echo 04:14:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 81b915aab5932ed37375b2fed4054c60207cc43a [Pipeline] echo 04:14:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 81b915a [Pipeline] echo 04:14:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:14:25 provisioning config files... 04:14:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1083@tmp/config105886179858186330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:14:25 ---> docker-login.sh 04:14:25 nexus3.edgexfoundry.org:10001 04:14:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:25 Configure a credential helper to remove this warning. See 04:14:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:25 04:14:25 Login Succeeded 04:14:25 nexus3.edgexfoundry.org:10002 04:14:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:25 Configure a credential helper to remove this warning. See 04:14:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:25 04:14:25 Login Succeeded 04:14:25 nexus3.edgexfoundry.org:10003 04:14:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:26 Configure a credential helper to remove this warning. See 04:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:26 04:14:26 Login Succeeded 04:14:26 nexus3.edgexfoundry.org:10004 04:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:26 Configure a credential helper to remove this warning. See 04:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:26 04:14:26 Login Succeeded 04:14:26 docker.io 04:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:26 Configure a credential helper to remove this warning. See 04:14:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:26 04:14:26 Login Succeeded 04:14:26 ---> docker-login.sh ends [Pipeline] } 04:14:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:14:27 + git rev-list -1 --merges 81b915aab5932ed37375b2fed4054c60207cc43a~1..81b915aab5932ed37375b2fed4054c60207cc43a [Pipeline] echo 04:14:27 -----------> git rev-list -1 --merges 81b915aab5932ed37375b2fed4054c60207cc43a~1..81b915aab5932ed37375b2fed4054c60207cc43a 81b915aab5932ed37375b2fed4054c60207cc43a [false] [Pipeline] sh 04:14:27 + git log --format=format:%s -1 81b915aab5932ed37375b2fed4054c60207cc43a [Pipeline] echo 04:14:27 ========================================================= 04:14:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:14:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:14:28 + git log --format=format:%s -1 81b915aab5932ed37375b2fed4054c60207cc43a [Pipeline] echo 04:14:28 [semverPrep] GIT_COMMIT: 81b915aab5932ed37375b2fed4054c60207cc43a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 04:14:28 [semverPrep] This is not a build commit. [Pipeline] sh 04:14:28 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:14:28 + grep -v github /etc/ssh/ssh_known_hosts 04:14:28 + '[' -e /tmp/ssh_known_hosts ']' 04:14:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:14:28 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 04:14:28 + sudo tee -a /etc/ssh/ssh_known_hosts 04:14:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:14:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:14:29 04:14:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:14:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:14:29 latest: Pulling from edgex-devops/git-semver 04:14:29 a0d0a0d46f8b: Pulling fs layer 04:14:29 3e5f54012d9b: Pulling fs layer 04:14:29 4c7163046ea9: Pulling fs layer 04:14:29 0c2d73faf560: Pulling fs layer 04:14:29 0c2d73faf560: Waiting 04:14:29 3e5f54012d9b: Verifying Checksum 04:14:29 3e5f54012d9b: Download complete 04:14:29 a0d0a0d46f8b: Verifying Checksum 04:14:29 a0d0a0d46f8b: Download complete 04:14:29 0c2d73faf560: Verifying Checksum 04:14:29 0c2d73faf560: Download complete 04:14:29 4c7163046ea9: Verifying Checksum 04:14:29 4c7163046ea9: Download complete 04:14:29 a0d0a0d46f8b: Pull complete 04:14:29 3e5f54012d9b: Pull complete 04:14:30 4c7163046ea9: Pull complete 04:14:30 0c2d73faf560: Pull complete 04:14:30 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:14:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:14:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:14:30 prd-centos7-docker-4c-2g-1494 does not seem to be running inside a container 04:14:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1083 -v /w/workspace/gexfoundry_device-sdk-go_PR-1083:/w/workspace/gexfoundry_device-sdk-go_PR-1083:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1083@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1083@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:14:31 $ docker top 32ec313d1b2686ecb719d83b58c94384cf44a4ceaedb31af21da811dbbe89d4c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:14:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:14:31 [ssh-agent] Looking for ssh-agent implementation... 04:14:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:14:31 $ docker exec 32ec313d1b2686ecb719d83b58c94384cf44a4ceaedb31af21da811dbbe89d4c ssh-agent 04:14:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlApGac/agent.14 04:14:31 SSH_AGENT_PID=21 04:14:31 Running ssh-add (command line suppressed) 04:14:31 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1083@tmp/private_key_1996061659272995409.key (/w/workspace/gexfoundry_device-sdk-go_PR-1083@tmp/private_key_1996061659272995409.key) 04:14:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:14:32 + git tag --points-at HEAD [Pipeline] } 04:14:32 $ docker exec --env ******** --env ******** 32ec313d1b2686ecb719d83b58c94384cf44a4ceaedb31af21da811dbbe89d4c ssh-agent -k 04:14:32 unset SSH_AUTH_SOCK; 04:14:32 unset SSH_AGENT_PID; 04:14:32 echo Agent pid 21 killed; 04:14:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:14:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:14:32 [ssh-agent] Looking for ssh-agent implementation... 04:14:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:14:32 $ docker exec 32ec313d1b2686ecb719d83b58c94384cf44a4ceaedb31af21da811dbbe89d4c ssh-agent 04:14:32 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhNjIjd/agent.55 04:14:32 SSH_AGENT_PID=61 04:14:32 Running ssh-add (command line suppressed) 04:14:32 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1083@tmp/private_key_5493797236514435488.key (/w/workspace/gexfoundry_device-sdk-go_PR-1083@tmp/private_key_5493797236514435488.key) 04:14:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:14:33 + git semver init 04:14:33 # -> Open(): unable to determine branch for HEAD 04:14:33 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1083/.git 04:14:33 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1083 04:14:33 # $SEMVER_REMOTE_NAME = origin 04:14:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:14:33 # $SEMVER_USER_NAME = edgex-jenkins 04:14:33 # $SEMVER_BRANCH = PR-1083 04:14:33 # $SEMVER_TEMP = /tmp/semver-615994493 04:14:33 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:14:33 # '/tmp/semver-615994493' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1083/.semver' 04:14:33 # -> Force: false 04:14:33 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1083/.semver [Pipeline] } 04:14:34 $ docker exec --env ******** --env ******** 32ec313d1b2686ecb719d83b58c94384cf44a4ceaedb31af21da811dbbe89d4c ssh-agent -k 04:14:34 unset SSH_AUTH_SOCK; 04:14:34 unset SSH_AGENT_PID; 04:14:34 echo Agent pid 61 killed; 04:14:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:14:34 + git semver [Pipeline] } 04:14:34 $ docker stop --time=1 32ec313d1b2686ecb719d83b58c94384cf44a4ceaedb31af21da811dbbe89d4c 04:14:35 $ docker rm -f 32ec313d1b2686ecb719d83b58c94384cf44a4ceaedb31af21da811dbbe89d4c [Pipeline] // withDockerContainer [Pipeline] sh 04:14:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:14:36 Stashed 1 file(s) [Pipeline] echo 04:14:36 [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 04:14:37 provisioning config files... 04:14:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1083@tmp/config6285768922166065747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:14:37 ---> docker-login.sh 04:14:37 nexus3.edgexfoundry.org:10001 04:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:37 Configure a credential helper to remove this warning. See 04:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:37 04:14:37 Login Succeeded 04:14:37 nexus3.edgexfoundry.org:10002 04:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:37 Configure a credential helper to remove this warning. See 04:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:37 04:14:37 Login Succeeded 04:14:37 nexus3.edgexfoundry.org:10003 04:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:37 Configure a credential helper to remove this warning. See 04:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:37 04:14:37 Login Succeeded 04:14:37 nexus3.edgexfoundry.org:10004 04:14:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:37 Configure a credential helper to remove this warning. See 04:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:37 04:14:37 Login Succeeded 04:14:37 docker.io 04:14:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:38 Configure a credential helper to remove this warning. See 04:14:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:38 04:14:38 Login Succeeded 04:14:38 ---> docker-login.sh ends [Pipeline] } 04:14:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:14:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:14:38 ========================================================= 04:14:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:14:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:14:39 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 04:14:39 Sending build context to Docker daemon 9.375MB 04:14:39 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 04:14:39 Step 2/10 : FROM ${BASE} AS builder 04:14:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:14:39 59bf1c3509f3: Pulling fs layer 04:14:39 666ba61612fd: Pulling fs layer 04:14:39 8ed8ca486205: Pulling fs layer 04:14:39 4fe6c5a15a65: Pulling fs layer 04:14:39 22a0e8bec74d: Pulling fs layer 04:14:39 f965cba54748: Pulling fs layer 04:14:39 861ffc35075e: Pulling fs layer 04:14:39 4b385c91608e: Pulling fs layer 04:14:39 560528eb2ebb: Pulling fs layer 04:14:39 4fe6c5a15a65: Waiting 04:14:39 22a0e8bec74d: Waiting 04:14:39 f965cba54748: Waiting 04:14:39 861ffc35075e: Waiting 04:14:39 4b385c91608e: Waiting 04:14:39 560528eb2ebb: Waiting 04:14:39 8ed8ca486205: Verifying Checksum 04:14:39 8ed8ca486205: Download complete 04:14:39 666ba61612fd: Download complete 04:14:39 22a0e8bec74d: Verifying Checksum 04:14:39 22a0e8bec74d: Download complete 04:14:39 f965cba54748: Verifying Checksum 04:14:39 f965cba54748: Download complete 04:14:39 861ffc35075e: Verifying Checksum 04:14:39 861ffc35075e: Download complete 04:14:39 59bf1c3509f3: Verifying Checksum 04:14:39 59bf1c3509f3: Download complete 04:14:39 4b385c91608e: Verifying Checksum 04:14:39 4b385c91608e: Download complete 04:14:39 59bf1c3509f3: Pull complete 04:14:39 4fe6c5a15a65: Verifying Checksum 04:14:39 4fe6c5a15a65: Download complete 04:14:39 560528eb2ebb: Verifying Checksum 04:14:39 560528eb2ebb: Download complete 04:14:39 666ba61612fd: Pull complete 04:14:40 8ed8ca486205: Pull complete 04:14:44 4fe6c5a15a65: Pull complete 04:14:44 22a0e8bec74d: Pull complete 04:14:44 f965cba54748: Pull complete 04:14:44 861ffc35075e: Pull complete 04:14:44 4b385c91608e: Pull complete 04:14:46 560528eb2ebb: Pull complete 04:14:46 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 04:14:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:14:46 ---> dd4a08f94e63 04:14:46 Step 3/10 : ARG MAKE=make build 04:14:48 ---> Running in ce8d35ad5b40 04:14:48 Removing intermediate container ce8d35ad5b40 04:14:48 ---> 378bf07b4b85 04:14:48 Step 4/10 : WORKDIR /device-sdk-go 04:14:48 ---> Running in bc923d6eddc2 04:14:48 Removing intermediate container bc923d6eddc2 04:14:48 ---> bc197a4d5cb0 04:14:48 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:14:48 ---> Running in 48611442a8f9 04:14:48 Removing intermediate container 48611442a8f9 04:14:48 ---> 5330dd4a456b 04:14:48 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:14:48 ---> Running in 0161be773807 04:14:49 Removing intermediate container 0161be773807 04:14:49 ---> 308bd59bdea0 04:14:49 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:14:49 ---> Running in a02dd6abc527 04:14:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:14:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:14:50 OK: 221 MiB in 52 packages 04:14:51 Removing intermediate container a02dd6abc527 04:14:51 ---> ac56eda03c8e 04:14:51 Step 8/10 : COPY . . 04:14:51 ---> 3367436f1cc2 04:14:51 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:14:51 ---> Running in 48b0c42b9ccf 04:14:52 Still waiting to schedule task 04:14:52 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 04:15:30 Removing intermediate container 48b0c42b9ccf 04:15:30 ---> bee44feac2f9 04:15:30 Step 10/10 : RUN ${MAKE} 04:15:30 ---> Running in 5119889258e2 04:15:30 noop 04:15:30 Removing intermediate container 5119889258e2 04:15:30 ---> f5ad31cfc000 04:15:30 Successfully built f5ad31cfc000 04:15:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:15:30 + docker inspect -f . ci-base-image-x86_64 04:15:30 . [Pipeline] withDockerContainer 04:15:30 prd-centos7-docker-4c-2g-1494 does not seem to be running inside a container 04:15:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1083 -v /w/workspace/gexfoundry_device-sdk-go_PR-1083:/w/workspace/gexfoundry_device-sdk-go_PR-1083:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1083@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1083@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 ******** ci-base-image-x86_64 cat 04:15:31 $ docker top ee3e59eb99d0ae34ac7e7a81e6b509cf050f670edbe41bd6523e912249f38129 -eo pid,comm [Pipeline] { [Pipeline] sh 04:15:31 + go version 04:15:31 go version go1.17.6 linux/amd64 [Pipeline] } 04:15:31 $ docker stop --time=1 ee3e59eb99d0ae34ac7e7a81e6b509cf050f670edbe41bd6523e912249f38129 04:15:32 $ docker rm -f ee3e59eb99d0ae34ac7e7a81e6b509cf050f670edbe41bd6523e912249f38129 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:15:33 + docker inspect -f . ci-base-image-x86_64 04:15:33 . [Pipeline] withDockerContainer 04:15:33 prd-centos7-docker-4c-2g-1494 does not seem to be running inside a container 04:15:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1083 -v /w/workspace/gexfoundry_device-sdk-go_PR-1083:/w/workspace/gexfoundry_device-sdk-go_PR-1083:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1083@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1083@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 ******** ci-base-image-x86_64 cat 04:15:34 $ docker top 404f583ae4c6ed51ebd760c55d77b63f3757cad03e9861253432d08d44a4a328 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:15:34 + make test 04:15:34 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:15:41 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:16:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:16:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:16:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:16:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.062s coverage: 23.3% of statements 04:16:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:16:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements 04:16:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.051s coverage: 78.9% of statements 04:16:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.060s coverage: 9.0% of statements 04:16:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:16:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:16:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:16:05 --- FAIL: TestMetricsRequest (0.00s) 04:16:05 common_test.go:114: 04:16:05 Error Trace: common_test.go:114 04:16:05 Error: Should not be zero, but was 0 04:16:05 Test: TestMetricsRequest 04:16:05 FAIL 04:16:05 coverage: 28.7% of statements 04:16:05 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.047s 04:16:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:16:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.046s coverage: 86.1% of statements 04:16:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:16:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:16:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 57.4% of statements 04:16:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.736s coverage: 89.2% of statements 04:16:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:16:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 4.8% of statements 04:16:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:16:07 FAIL 04:16:07 make: *** [Makefile:36: unittest] Error 1 [Pipeline] } 04:16:07 $ docker stop --time=1 404f583ae4c6ed51ebd760c55d77b63f3757cad03e9861253432d08d44a4a328 04:16:09 $ docker rm -f 404f583ae4c6ed51ebd760c55d77b63f3757cad03e9861253432d08d44a4a328 [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 04:16:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:10 04:16:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:16:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:10 latest: Pulling from edgex-lftools-log-publisher 04:16:10 b4d181a07f80: Pulling fs layer 04:16:10 a1111a8f2ec3: Pulling fs layer 04:16:10 ed53099fbce6: Pulling fs layer 04:16:10 dc539afda2c1: Pulling fs layer 04:16:10 77bc0d833cb6: Pulling fs layer 04:16:10 9065ff56babe: Pulling fs layer 04:16:10 d287ab97295c: Pulling fs layer 04:16:10 dc539afda2c1: Waiting 04:16:10 77bc0d833cb6: Waiting 04:16:10 9065ff56babe: Waiting 04:16:10 d287ab97295c: Waiting 04:16:10 a1111a8f2ec3: Verifying Checksum 04:16:10 a1111a8f2ec3: Download complete 04:16:10 dc539afda2c1: Verifying Checksum 04:16:10 dc539afda2c1: Download complete 04:16:10 ed53099fbce6: Verifying Checksum 04:16:10 ed53099fbce6: Download complete 04:16:11 9065ff56babe: Verifying Checksum 04:16:11 9065ff56babe: Download complete 04:16:11 77bc0d833cb6: Verifying Checksum 04:16:11 77bc0d833cb6: Download complete 04:16:11 b4d181a07f80: Verifying Checksum 04:16:11 b4d181a07f80: Download complete 04:16:11 d287ab97295c: Verifying Checksum 04:16:11 d287ab97295c: Download complete 04:16:12 b4d181a07f80: Pull complete 04:16:12 a1111a8f2ec3: Pull complete 04:16:13 ed53099fbce6: Pull complete 04:16:13 dc539afda2c1: Pull complete 04:16:13 77bc0d833cb6: Pull complete 04:16:13 9065ff56babe: Pull complete 04:16:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1496 in /w/workspace/gexfoundry_device-sdk-go_PR-1083 [Pipeline] { [Pipeline] ws 04:16:16 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:16:16 The recommended git tool is: git 04:16:19 d287ab97295c: Pull complete 04:16:19 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:16:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:16:19 prd-centos7-docker-4c-2g-1494 does not seem to be running inside a container 04:16:19 $ 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-1083 -v /w/workspace/gexfoundry_device-sdk-go_PR-1083:/w/workspace/gexfoundry_device-sdk-go_PR-1083:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1083@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1083@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-lftools-log-publisher:latest cat 04:16:21 using credential edgex-jenkins-ssh 04:16:21 Cloning the remote Git repository 04:16:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:16:21 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:16:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:16:21 > git --version # timeout=10 04:16:21 > git --version # 'git version 2.17.1' 04:16:21 using GIT_SSH to set credentials SSH Credentials for GitHub 04:16:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:16:22 $ docker top 6a2eaf863bb30cb89fcbdad47f6b361b28142c5466f05f94030949618ec3475e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:16:22 ---> job-cost.sh 04:16:22 lf-activate-venv: SKIPPING 04:16:22 INFO: No Stack... 04:16:22 INFO: Retrieving Pricing Info for: v3-standard-2 04:16:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:16:23 INFO: Archiving Costs [Pipeline] sh 04:16:23 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1083/archives/cost.csv 04:16:23 + cut -d, -f6 [Pipeline] lock 04:16:23 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1083-1-stack-cost] 04:16:23 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1083-1-stack-cost] did not exist. Created. 04:16:23 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1083-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:16:23 Merging remotes/origin/main commit 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 into PR head commit 81b915aab5932ed37375b2fed4054c60207cc43a 04:16:24 + echo total: 0.05999999865889549 [Pipeline] stash 04:16:24 Merge succeeded, producing 81b915aab5932ed37375b2fed4054c60207cc43a 04:16:24 Checking out Revision 81b915aab5932ed37375b2fed4054c60207cc43a (PR-1083) 04:16:24 Stashed 1 file(s) [Pipeline] } 04:16:24 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1083-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:16:24 $ docker stop --time=1 6a2eaf863bb30cb89fcbdad47f6b361b28142c5466f05f94030949618ec3475e 04:16:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:16:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:16:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:16:23 using GIT_SSH to set credentials SSH Credentials for GitHub 04:16:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1083/head:refs/remotes/origin/PR-1083 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:16:23 > git config core.sparsecheckout # timeout=10 04:16:23 > git checkout -f 81b915aab5932ed37375b2fed4054c60207cc43a # timeout=10 04:16:24 > git remote # timeout=10 04:16:24 > git config --get remote.origin.url # timeout=10 04:16:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:16:24 > git merge 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 # timeout=10 04:16:24 > git rev-parse HEAD^{commit} # timeout=10 04:16:24 > git config core.sparsecheckout # timeout=10 04:16:24 > git checkout -f 81b915aab5932ed37375b2fed4054c60207cc43a # timeout=10 04:16:25 $ docker rm -f 6a2eaf863bb30cb89fcbdad47f6b361b28142c5466f05f94030949618ec3475e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:16:25 Failed in branch amd64 04:16:28 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 04:16:28 > git --version # timeout=10 04:16:28 > git --version # 'git version 2.17.1' 04:16:28 fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:16:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:16:29 % Total % Received % Xferd Average Speed Time Time Time Current 04:16:29 Dload Upload Total Spent Left Speed 04:16:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 65794 0 --:--:-- --:--:-- --:--:-- 66162 [Pipeline] sh 04:16:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:16:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:16:30 + sudo tee /etc/docker/daemon.new 04:16:30 { 04:16:30 "registry-mirrors": [ 04:16:30 "https://nexus3.edgexfoundry.org:10001" 04:16:30 ], 04:16:30 "bip": "10.250.0.254/24", 04:16:30 "hosts": [ 04:16:30 "tcp://0.0.0.0:5555", 04:16:30 "unix:///var/run/docker.sock" 04:16:30 ], 04:16:30 "mtu": 1458, 04:16:30 "selinux-enabled": true, 04:16:30 "seccomp-profile": "/etc/docker/seccomp.json" 04:16:30 } [Pipeline] sh 04:16:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:16:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:16:49 provisioning config files... 04:16:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1776219557629188011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:16:49 ---> docker-login.sh 04:16:49 nexus3.edgexfoundry.org:10001 04:16:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:50 Configure a credential helper to remove this warning. See 04:16:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:50 04:16:50 Login Succeeded 04:16:50 nexus3.edgexfoundry.org:10002 04:16:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:51 Configure a credential helper to remove this warning. See 04:16:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:51 04:16:51 Login Succeeded 04:16:51 nexus3.edgexfoundry.org:10003 04:16:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:51 Configure a credential helper to remove this warning. See 04:16:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:51 04:16:51 Login Succeeded 04:16:51 nexus3.edgexfoundry.org:10004 04:16:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:52 Configure a credential helper to remove this warning. See 04:16:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:52 04:16:52 Login Succeeded 04:16:52 docker.io 04:16:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:16:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:16:52 Configure a credential helper to remove this warning. See 04:16:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:16:52 04:16:52 Login Succeeded 04:16:52 ---> docker-login.sh ends [Pipeline] } 04:16:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:16:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:16:53 ========================================================= 04:16:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:16:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:16:53 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 04:16:54 Sending build context to Docker daemon 5.052MB 04:16:54 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 04:16:54 Step 2/10 : FROM ${BASE} AS builder 04:16:54 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:16:54 9b3977197b4f: Pulling fs layer 04:16:54 1a89e8eeedd5: Pulling fs layer 04:16:54 94645a83ff95: Pulling fs layer 04:16:54 3f3a8bcf1eab: Pulling fs layer 04:16:54 0c92f367c5e7: Pulling fs layer 04:16:54 4b8299f9d1f4: Pulling fs layer 04:16:54 9a6b49a46696: Pulling fs layer 04:16:54 cf05db05a679: Pulling fs layer 04:16:54 3f3a8bcf1eab: Waiting 04:16:54 0c92f367c5e7: Waiting 04:16:54 4b8299f9d1f4: Waiting 04:16:54 9a6b49a46696: Waiting 04:16:54 cf05db05a679: Waiting 04:16:54 94645a83ff95: Verifying Checksum 04:16:54 94645a83ff95: Download complete 04:16:54 1a89e8eeedd5: Verifying Checksum 04:16:54 1a89e8eeedd5: Download complete 04:16:54 0c92f367c5e7: Verifying Checksum 04:16:54 0c92f367c5e7: Download complete 04:16:54 4b8299f9d1f4: Verifying Checksum 04:16:54 4b8299f9d1f4: Download complete 04:16:54 9b3977197b4f: Verifying Checksum 04:16:54 9b3977197b4f: Download complete 04:16:54 9a6b49a46696: Verifying Checksum 04:16:54 9a6b49a46696: Download complete 04:16:55 9b3977197b4f: Pull complete 04:16:55 1a89e8eeedd5: Pull complete 04:16:56 94645a83ff95: Pull complete 04:16:56 cf05db05a679: Download complete 04:16:56 3f3a8bcf1eab: Verifying Checksum 04:16:56 3f3a8bcf1eab: Download complete 04:17:09 3f3a8bcf1eab: Pull complete 04:17:09 0c92f367c5e7: Pull complete 04:17:09 4b8299f9d1f4: Pull complete 04:17:09 9a6b49a46696: Pull complete 04:17:14 cf05db05a679: Pull complete 04:17:14 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 04:17:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:17:14 ---> 0ccda1f7e2ee 04:17:14 Step 3/10 : ARG MAKE=make build 04:17:16 ---> Running in e94bcb762082 04:17:16 Removing intermediate container e94bcb762082 04:17:16 ---> fc9f1e8ed701 04:17:16 Step 4/10 : WORKDIR /device-sdk-go 04:17:16 ---> Running in 7aa7f6e68b16 04:17:17 Removing intermediate container 7aa7f6e68b16 04:17:17 ---> 0bf0341fdaac 04:17:17 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:17:17 ---> Running in 4a26b545fa5a 04:17:17 Removing intermediate container 4a26b545fa5a 04:17:17 ---> c8ce89be6df1 04:17:17 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:17:17 ---> Running in 02462e36c89a 04:17:19 Removing intermediate container 02462e36c89a 04:17:19 ---> 52e10c6eb35e 04:17:19 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:17:19 ---> Running in e6fdaf0fe64c 04:17:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:17:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:17:22 OK: 220 MiB in 52 packages 04:17:23 Removing intermediate container e6fdaf0fe64c 04:17:23 ---> fa9e4edc10b2 04:17:23 Step 8/10 : COPY . . 04:17:24 ---> 0d10b9b0e002 04:17:24 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:17:24 ---> Running in 64b9409c2e3f 04:18:46 Removing intermediate container 64b9409c2e3f 04:18:46 ---> a01f09bd1e5d 04:18:46 Step 10/10 : RUN ${MAKE} 04:18:46 ---> Running in f77730c84be5 04:18:46 noop 04:18:46 Removing intermediate container f77730c84be5 04:18:46 ---> 69baebbc9fd2 04:18:46 Successfully built 69baebbc9fd2 04:18:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:18:46 + docker inspect -f . ci-base-image-arm64 04:18:46 . [Pipeline] withDockerContainer 04:18:47 prd-ubuntu18.04-docker-arm64-4c-16g-1496 does not seem to be running inside a container 04:18:47 $ 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 ******** ci-base-image-arm64 cat 04:18:48 $ docker top 6de7f48a3dc8eb4a669e85400523590d4fc2bd7a55471f29860dd116af3b8fb2 -eo pid,comm [Pipeline] { [Pipeline] sh 04:18:49 + go version 04:18:49 go version go1.17.6 linux/arm64 [Pipeline] } 04:18:49 $ docker stop --time=1 6de7f48a3dc8eb4a669e85400523590d4fc2bd7a55471f29860dd116af3b8fb2 04:18:51 $ docker rm -f 6de7f48a3dc8eb4a669e85400523590d4fc2bd7a55471f29860dd116af3b8fb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:18:52 + docker inspect -f . ci-base-image-arm64 04:18:52 . [Pipeline] withDockerContainer 04:18:52 prd-ubuntu18.04-docker-arm64-4c-16g-1496 does not seem to be running inside a container 04:18:52 $ 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 ******** ci-base-image-arm64 cat 04:18:53 $ docker top b50be38a9699ba2931772d51b5bc1934b67dc045f8acd03aabcb452600432fe1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:18:54 + make test 04:18:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:19:27 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:20:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:20:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:20:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:20:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.347s coverage: 23.3% of statements 04:20:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:20:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.208s coverage: 27.6% of statements 04:20:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.239s coverage: 78.9% of statements 04:20:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.198s coverage: 9.0% of statements 04:20:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:20:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:20:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:20:42 --- FAIL: TestMetricsRequest (0.00s) 04:20:42 common_test.go:114: 04:20:42 Error Trace: common_test.go:114 04:20:42 Error: Should not be zero, but was 0 04:20:42 Test: TestMetricsRequest 04:20:42 FAIL 04:20:42 coverage: 28.7% of statements 04:20:42 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.286s 04:20:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:20:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.218s coverage: 86.1% of statements 04:20:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:20:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:20:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.378s coverage: 57.4% of statements 04:20:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.074s coverage: 89.2% of statements 04:20:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:20:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.193s coverage: 4.8% of statements 04:20:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:20:48 FAIL 04:20:48 make: *** [Makefile:36: unittest] Error 1 [Pipeline] } 04:20:48 $ docker stop --time=1 b50be38a9699ba2931772d51b5bc1934b67dc045f8acd03aabcb452600432fe1 04:20:50 $ docker rm -f b50be38a9699ba2931772d51b5bc1934b67dc045f8acd03aabcb452600432fe1 [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 04:20:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:20:51 04:20:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:20:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:20:52 arm64: Pulling from edgex-lftools-log-publisher 04:20:52 448f6bf000e3: Pulling fs layer 04:20:52 f757da607395: Pulling fs layer 04:20:52 05883995daec: Pulling fs layer 04:20:52 8603b9c90790: Pulling fs layer 04:20:52 1560dd03e051: Pulling fs layer 04:20:52 27f5ce0e4adf: Pulling fs layer 04:20:52 c2d8d7efcc4b: Pulling fs layer 04:20:52 1560dd03e051: Waiting 04:20:52 27f5ce0e4adf: Waiting 04:20:52 c2d8d7efcc4b: Waiting 04:20:52 8603b9c90790: Waiting 04:20:52 f757da607395: Verifying Checksum 04:20:52 f757da607395: Download complete 04:20:52 8603b9c90790: Verifying Checksum 04:20:52 8603b9c90790: Download complete 04:20:52 1560dd03e051: Verifying Checksum 04:20:52 1560dd03e051: Download complete 04:20:52 27f5ce0e4adf: Download complete 04:20:52 05883995daec: Verifying Checksum 04:20:52 05883995daec: Download complete 04:20:52 448f6bf000e3: Verifying Checksum 04:20:52 448f6bf000e3: Download complete 04:20:55 c2d8d7efcc4b: Verifying Checksum 04:20:55 c2d8d7efcc4b: Download complete 04:20:57 448f6bf000e3: Pull complete 04:20:57 f757da607395: Pull complete 04:20:59 05883995daec: Pull complete 04:20:59 8603b9c90790: Pull complete 04:21:00 1560dd03e051: Pull complete 04:21:00 27f5ce0e4adf: Pull complete 04:21:15 c2d8d7efcc4b: Pull complete 04:21:15 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 04:21:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:21:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:21:15 prd-ubuntu18.04-docker-arm64-4c-16g-1496 does not seem to be running inside a container 04:21:16 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:21:18 $ docker top 7e120dbeed2aba8d6de5ec8839bceddb436b5893290dcd43e940506039401cb7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:19 ---> job-cost.sh 04:21:19 lf-activate-venv: SKIPPING 04:21:19 INFO: No Stack... 04:21:19 INFO: Retrieving Pricing Info for: v3-standard-4 04:21:20 INFO: Archiving Costs [Pipeline] sh 04:21:21 + cat+ /w/workspace/device-sdk-go/1/archives/cost.csv 04:21:21 cut -d, -f6 [Pipeline] lock 04:21:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1083-1-stack-cost] 04:21:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1083-1-stack-cost] did not exist. Created. 04:21:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1083-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:21:21 /w/workspace/device-sdk-go/1@tmp/durable-1ede6e90/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-1ede6e90/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:21:22 + echo total: 0.10999999940395355 [Pipeline] stash 04:21:22 Warning: overwriting stash ‘stack-cost’ 04:21:23 Stashed 1 file(s) [Pipeline] } 04:21:23 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1083-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:21:23 $ docker stop --time=1 7e120dbeed2aba8d6de5ec8839bceddb436b5893290dcd43e940506039401cb7 04:21:24 $ docker rm -f 7e120dbeed2aba8d6de5ec8839bceddb436b5893290dcd43e940506039401cb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:21:25 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 04:21:27 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1083/archives ']' 04:21:27 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1083/archives 04:21:27 total 8 04:21:27 drwxr-xr-x. 3 root root 34 Jan 14 04:16 . 04:21:27 drwxrwxr-x. 12 jenkins jenkins 4096 Jan 14 04:16 .. 04:21:27 drwxr-xr-x. 2 root root 6 Jan 14 04:16 cost 04:21:27 -rw-r--r--. 1 root root 85 Jan 14 04:16 cost.csv 04:21:27 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1083/archives 04:21:27 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1083/archives 04:21:27 total 8 04:21:27 drwxr-xr-x. 3 jenkins jenkins 34 Jan 14 04:16 . 04:21:27 drwxrwxr-x. 12 jenkins jenkins 4096 Jan 14 04:16 .. 04:21:27 drwxr-xr-x. 2 jenkins jenkins 6 Jan 14 04:16 cost 04:21:27 -rw-r--r--. 1 jenkins jenkins 85 Jan 14 04:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:21:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:21:28 ---> package-listing.sh 04:21:28 ++ tr '[:upper:]' '[:lower:]' 04:21:28 ++ facter osfamily 04:21:28 + OS_FAMILY=redhat 04:21:28 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1083 04:21:28 + START_PACKAGES=/tmp/packages_start.txt 04:21:28 + END_PACKAGES=/tmp/packages_end.txt 04:21:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:21:28 + PACKAGES=/tmp/packages_start.txt 04:21:28 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1083 ']' 04:21:28 + PACKAGES=/tmp/packages_end.txt 04:21:28 + case "${OS_FAMILY}" in 04:21:28 + sort 04:21:28 + rpm -qa 04:21:29 + '[' -f /tmp/packages_start.txt ']' 04:21:29 + '[' -f /tmp/packages_end.txt ']' 04:21:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:21:29 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1083 ']' 04:21:29 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1083/archives/ 04:21:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1083/archives/ [Pipeline] echo 04:21:29 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1083/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:21:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:21:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:29 . [Pipeline] withDockerContainer 04:21:30 prd-centos7-docker-4c-2g-1494 does not seem to be running inside a container 04:21:30 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1083/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-1083 -v /w/workspace/gexfoundry_device-sdk-go_PR-1083:/w/workspace/gexfoundry_device-sdk-go_PR-1083:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1083@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1083@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:21:30 $ docker top decd7ad25a3571bd21dae9d4d41b57d1437b89df247a3f2b99cbacd3a8b83914 -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:30 + touch /tmp/pre-build-complete [Pipeline] sh 04:21:31 + mkdir -p /var/log/sysstat [Pipeline] sh 04:21:31 + ls /var/log/sa-host 04:21:31 + sadf -c /var/log/sa-host/sa14 04:21:31 file_magic: OK 04:21:31 HZ: Using current value: 100 04:21:31 file_header: OK 04:21:31 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 04:21:31 Statistics: 04:21:31 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:21:31 File successfully converted to sysstat format version 12.0.3 04:21:31 + sadf -c /var/log/sa-host/sa17 04:21:31 file_magic: OK 04:21:31 HZ: Using current value: 100 04:21:31 file_header: OK 04:21:31 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 04:21:31 Statistics: 04:21:31 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:21:31 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:21:31 provisioning config files... 04:21:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1083@tmp/config3778651258845912225tmp [Pipeline] { [Pipeline] echo 04:21:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:21:32 ---> create-netrc.sh [Pipeline] } 04:21:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:21:32 ---> python-tools-install.sh [Pipeline] echo 04:21:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:21:33 ---> sudo-logs.sh 04:21:33 Archiving 'sudo' log.. 04:21:33 sudo: unable to resolve host prd-centos7-docker-4c-2g-1494.novalocal: Name or service not known 04:21:33 sudo: unable to resolve host prd-centos7-docker-4c-2g-1494.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 04:21:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:21:33 ---> job-cost.sh 04:21:33 lf-activate-venv: SKIPPING 04:21:33 DEBUG: total: 0.05999999865889549 04:21:33 INFO: Retrieving Stack Cost... 04:21:33 INFO: Retrieving Pricing Info for: v3-standard-2 04:21:33 INFO: Archiving Costs [Pipeline] echo 04:21:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:21:34 ---> logs-deploy.sh 04:21:34 lf-activate-venv: SKIPPING 04:21:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1083/1 04:21:34 INFO: archiving workspace using pattern(s): 04:21:34 Archives upload complete. 04:21:35 INFO: archiving logs to Nexus