Pull request #1084 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 9c4a710147023a03750a7c8be88dd34c1b4c6428+010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 (cd73aed5d2820b468f29a4f60b7ab45ad00be375) 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-ssh10754619370026855215.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-ssh4265041225115879167.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1084/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1084/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13492717705399678197.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 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-ssh7442252690660826837.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1084/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1084/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8266694169583502770.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 ‘prd-centos7-blackbox-4c-2g-1555’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-2140’ is offline ‘prd-centos7-docker-4c-2g-2144’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-2141’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-2143’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2146 in /w/workspace/gexfoundry_device-sdk-go_PR-1084 [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-1084 # 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-1084@tmp/jenkins-gitclient-ssh484906919905084439.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 9c4a710147023a03750a7c8be88dd34c1b4c6428 Merge succeeded, producing 9c4a710147023a03750a7c8be88dd34c1b4c6428 Checking out Revision 9c4a710147023a03750a7c8be88dd34c1b4c6428 (PR-1084) > 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-1084@tmp/jenkins-gitclient-ssh3336109755287927720.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1084/head:refs/remotes/origin/PR-1084 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9c4a710147023a03750a7c8be88dd34c1b4c6428 # 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-1084@tmp/jenkins-gitclient-ssh2798469516992164542.key > git merge 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9c4a710147023a03750a7c8be88dd34c1b4c6428 # timeout=10 Commit message: "ci: Go 1.17 related changes" First time build. Skipping changelog. > git rev-list --no-walk c5bde19f229bd9fb830245ad58441650dbec3d77 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:36:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:36:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:36:21 ========================================================= 23:36:21 EdgeX Global Pipelines Version Info 23:36:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:36:22 ------------------- 23:36:22 stable info: 23:36:22 ------------------- 23:36:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:36:22 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 23:36:22 Message: update stable to v1.0.219 23:36:23 ------------------- 23:36:23 experimental info: 23:36:23 ------------------- 23:36:23 Commited By: **** collab-it+edgex@linuxfoundation.org 23:36:23 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 23:36:23 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1084 [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1084 [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1084 [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9c4a710147023a03750a7c8be88dd34c1b4c6428 [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9c4a710 [Pipeline] echo 23:36:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:36:23 provisioning config files... 23:36:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/config2668927036912201940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:36:24 ---> docker-login.sh 23:36:24 nexus3.edgexfoundry.org:10001 23:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:24 Configure a credential helper to remove this warning. See 23:36:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:24 23:36:24 Login Succeeded 23:36:24 nexus3.edgexfoundry.org:10002 23:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:24 Configure a credential helper to remove this warning. See 23:36:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:24 23:36:24 Login Succeeded 23:36:24 nexus3.edgexfoundry.org:10003 23:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:24 Configure a credential helper to remove this warning. See 23:36:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:24 23:36:24 Login Succeeded 23:36:24 nexus3.edgexfoundry.org:10004 23:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:24 Configure a credential helper to remove this warning. See 23:36:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:24 23:36:24 Login Succeeded 23:36:24 docker.io 23:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:25 Configure a credential helper to remove this warning. See 23:36:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:25 23:36:25 Login Succeeded 23:36:25 ---> docker-login.sh ends [Pipeline] } 23:36:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:36:25 + git rev-list -1 --merges 9c4a710147023a03750a7c8be88dd34c1b4c6428~1..9c4a710147023a03750a7c8be88dd34c1b4c6428 [Pipeline] echo 23:36:25 -----------> git rev-list -1 --merges 9c4a710147023a03750a7c8be88dd34c1b4c6428~1..9c4a710147023a03750a7c8be88dd34c1b4c6428 9c4a710147023a03750a7c8be88dd34c1b4c6428 [false] [Pipeline] sh 23:36:25 + git log --format=format:%s -1 9c4a710147023a03750a7c8be88dd34c1b4c6428 [Pipeline] echo 23:36:25 ========================================================= 23:36:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:36:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:36:26 + git log --format=format:%s -1 9c4a710147023a03750a7c8be88dd34c1b4c6428 [Pipeline] echo 23:36:26 [semverPrep] GIT_COMMIT: 9c4a710147023a03750a7c8be88dd34c1b4c6428, Commit Message: ci: Go 1.17 related changes [Pipeline] echo 23:36:26 [semverPrep] This is not a build commit. [Pipeline] sh 23:36:26 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 23:36:26 + grep -v github /etc/ssh/ssh_known_hosts 23:36:26 + '[' -e /tmp/ssh_known_hosts ']' 23:36:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:36:26 + sudo tee -a /etc/ssh/ssh_known_hosts 23:36:26 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 23:36:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:36:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:36:26 23:36:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:36:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:36:27 latest: Pulling from edgex-devops/git-semver 23:36:27 a0d0a0d46f8b: Pulling fs layer 23:36:27 3e5f54012d9b: Pulling fs layer 23:36:27 4c7163046ea9: Pulling fs layer 23:36:27 0c2d73faf560: Pulling fs layer 23:36:27 0c2d73faf560: Waiting 23:36:27 3e5f54012d9b: Verifying Checksum 23:36:27 3e5f54012d9b: Download complete 23:36:27 a0d0a0d46f8b: Verifying Checksum 23:36:27 a0d0a0d46f8b: Download complete 23:36:27 4c7163046ea9: Verifying Checksum 23:36:27 4c7163046ea9: Download complete 23:36:27 0c2d73faf560: Verifying Checksum 23:36:27 0c2d73faf560: Download complete 23:36:27 a0d0a0d46f8b: Pull complete 23:36:27 3e5f54012d9b: Pull complete 23:36:27 4c7163046ea9: Pull complete 23:36:28 0c2d73faf560: Pull complete 23:36:28 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 23:36:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:36:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:36:28 prd-centos7-docker-4c-2g-2146 does not seem to be running inside a container 23:36:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1084 -v /w/workspace/gexfoundry_device-sdk-go_PR-1084:/w/workspace/gexfoundry_device-sdk-go_PR-1084:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1084@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:10004/edgex-devops/git-semver:latest cat 23:36:28 $ docker top 305f7624236cfe8a6cac6e7ebf8766b68432c0c19a814ebb284518a3506f52e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:36:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:36:28 [ssh-agent] Looking for ssh-agent implementation... 23:36:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:36:28 $ docker exec 305f7624236cfe8a6cac6e7ebf8766b68432c0c19a814ebb284518a3506f52e3 ssh-agent 23:36:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFFoBfm/agent.13 23:36:29 SSH_AGENT_PID=19 23:36:29 Running ssh-add (command line suppressed) 23:36:28 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/private_key_5383026359560353610.key (/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/private_key_5383026359560353610.key) 23:36:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:36:29 + git tag --points-at HEAD [Pipeline] } 23:36:29 $ docker exec --env ******** --env ******** 305f7624236cfe8a6cac6e7ebf8766b68432c0c19a814ebb284518a3506f52e3 ssh-agent -k 23:36:29 unset SSH_AUTH_SOCK; 23:36:29 unset SSH_AGENT_PID; 23:36:29 echo Agent pid 19 killed; 23:36:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:36:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:36:29 [ssh-agent] Looking for ssh-agent implementation... 23:36:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:36:29 $ docker exec 305f7624236cfe8a6cac6e7ebf8766b68432c0c19a814ebb284518a3506f52e3 ssh-agent 23:36:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfmcEec/agent.53 23:36:29 SSH_AGENT_PID=59 23:36:29 Running ssh-add (command line suppressed) 23:36:29 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/private_key_7211499145347114370.key (/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/private_key_7211499145347114370.key) 23:36:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:36:30 + git semver init 23:36:30 # -> Open(): unable to determine branch for HEAD 23:36:30 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1084/.git 23:36:30 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1084 23:36:30 # $SEMVER_REMOTE_NAME = origin 23:36:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:36:30 # $SEMVER_USER_NAME = edgex-jenkins 23:36:30 # $SEMVER_BRANCH = PR-1084 23:36:30 # $SEMVER_TEMP = /tmp/semver-045377899 23:36:30 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 23:36:31 # '/tmp/semver-045377899' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1084/.semver' 23:36:31 # -> Force: false 23:36:31 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1084/.semver [Pipeline] } 23:36:31 $ docker exec --env ******** --env ******** 305f7624236cfe8a6cac6e7ebf8766b68432c0c19a814ebb284518a3506f52e3 ssh-agent -k 23:36:31 unset SSH_AUTH_SOCK; 23:36:31 unset SSH_AGENT_PID; 23:36:31 echo Agent pid 59 killed; 23:36:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:36:31 + git semver [Pipeline] } 23:36:31 $ docker stop --time=1 305f7624236cfe8a6cac6e7ebf8766b68432c0c19a814ebb284518a3506f52e3 23:36:32 $ docker rm -f 305f7624236cfe8a6cac6e7ebf8766b68432c0c19a814ebb284518a3506f52e3 [Pipeline] // withDockerContainer [Pipeline] sh 23:36:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:36:33 Stashed 1 file(s) [Pipeline] echo 23:36:33 [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 23:36:33 provisioning config files... 23:36:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/config6794963532725902754tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:36:34 ---> docker-login.sh 23:36:34 nexus3.edgexfoundry.org:10001 23:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:34 Configure a credential helper to remove this warning. See 23:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:34 23:36:34 Login Succeeded 23:36:34 nexus3.edgexfoundry.org:10002 23:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:34 Configure a credential helper to remove this warning. See 23:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:34 23:36:34 Login Succeeded 23:36:34 nexus3.edgexfoundry.org:10003 23:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:34 Configure a credential helper to remove this warning. See 23:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:34 23:36:34 Login Succeeded 23:36:34 nexus3.edgexfoundry.org:10004 23:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:34 Configure a credential helper to remove this warning. See 23:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:34 23:36:34 Login Succeeded 23:36:34 docker.io 23:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:36:34 Configure a credential helper to remove this warning. See 23:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:36:34 23:36:34 Login Succeeded 23:36:34 ---> docker-login.sh ends [Pipeline] } 23:36:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:36:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:36:34 ========================================================= 23:36:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 23:36:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:36:35 + 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 . 23:36:35 Sending build context to Docker daemon 9.378MB 23:36:35 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 23:36:35 Step 2/11 : FROM ${BASE} AS builder 23:36:35 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 23:36:35 59bf1c3509f3: Pulling fs layer 23:36:35 666ba61612fd: Pulling fs layer 23:36:35 8ed8ca486205: Pulling fs layer 23:36:35 4fe6c5a15a65: Pulling fs layer 23:36:35 22a0e8bec74d: Pulling fs layer 23:36:35 f965cba54748: Pulling fs layer 23:36:35 861ffc35075e: Pulling fs layer 23:36:35 4b385c91608e: Pulling fs layer 23:36:35 560528eb2ebb: Pulling fs layer 23:36:35 f965cba54748: Waiting 23:36:35 861ffc35075e: Waiting 23:36:35 4b385c91608e: Waiting 23:36:35 560528eb2ebb: Waiting 23:36:35 4fe6c5a15a65: Waiting 23:36:35 22a0e8bec74d: Waiting 23:36:35 8ed8ca486205: Verifying Checksum 23:36:35 8ed8ca486205: Download complete 23:36:35 666ba61612fd: Verifying Checksum 23:36:35 666ba61612fd: Download complete 23:36:35 22a0e8bec74d: Verifying Checksum 23:36:35 22a0e8bec74d: Download complete 23:36:35 f965cba54748: Verifying Checksum 23:36:35 f965cba54748: Download complete 23:36:35 59bf1c3509f3: Verifying Checksum 23:36:35 59bf1c3509f3: Download complete 23:36:35 861ffc35075e: Verifying Checksum 23:36:35 861ffc35075e: Download complete 23:36:35 4b385c91608e: Verifying Checksum 23:36:35 4b385c91608e: Download complete 23:36:35 59bf1c3509f3: Pull complete 23:36:35 666ba61612fd: Pull complete 23:36:36 8ed8ca486205: Pull complete 23:36:36 4fe6c5a15a65: Verifying Checksum 23:36:36 4fe6c5a15a65: Download complete 23:36:36 560528eb2ebb: Verifying Checksum 23:36:36 560528eb2ebb: Download complete 23:36:40 4fe6c5a15a65: Pull complete 23:36:40 22a0e8bec74d: Pull complete 23:36:40 f965cba54748: Pull complete 23:36:40 861ffc35075e: Pull complete 23:36:40 4b385c91608e: Pull complete 23:36:42 560528eb2ebb: Pull complete 23:36:42 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 23:36:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 23:36:42 ---> dd4a08f94e63 23:36:42 Step 3/11 : ARG MAKE=make build 23:36:44 ---> Running in c484c646b1d1 23:36:44 Removing intermediate container c484c646b1d1 23:36:44 ---> 4c4880309dd3 23:36:44 Step 4/11 : WORKDIR /device-sdk-go 23:36:44 ---> Running in 90e6dc860422 23:36:44 Removing intermediate container 90e6dc860422 23:36:44 ---> 67fff107b4ef 23:36:44 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:36:44 ---> Running in 735ecc597487 23:36:44 Removing intermediate container 735ecc597487 23:36:44 ---> e56df2d22d41 23:36:44 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:36:44 ---> Running in c4f6989dd539 23:36:45 Removing intermediate container c4f6989dd539 23:36:45 ---> ad864703ba91 23:36:45 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:36:45 ---> Running in c0b1cb9a3b05 23:36:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:36:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:36:46 OK: 221 MiB in 52 packages 23:36:46 Removing intermediate container c0b1cb9a3b05 23:36:46 ---> ee4c60377c06 23:36:46 Step 8/11 : COPY go.mod vendor* ./ 23:36:46 ---> d1e7fcab0404 23:36:46 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:36:46 ---> Running in 057538594ef8 23:36:48 Still waiting to schedule task 23:36:48 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 23:37:18 Removing intermediate container 057538594ef8 23:37:18 ---> 660ed7e9d931 23:37:18 Step 10/11 : COPY . . 23:37:18 ---> 2e43222451a4 23:37:18 Step 11/11 : RUN ${MAKE} 23:37:18 ---> Running in 29d2a267939d 23:37:18 noop 23:37:18 Removing intermediate container 29d2a267939d 23:37:18 ---> 9361aa119874 23:37:18 Successfully built 9361aa119874 23:37:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:37:19 + docker inspect -f . ci-base-image-x86_64 23:37:19 . [Pipeline] withDockerContainer 23:37:19 prd-centos7-docker-4c-2g-2146 does not seem to be running inside a container 23:37:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1084 -v /w/workspace/gexfoundry_device-sdk-go_PR-1084:/w/workspace/gexfoundry_device-sdk-go_PR-1084:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:37:19 $ docker top a50da138302cf0038355775c28438f7b74279cff7d99c6409ab5f626a974a2c6 -eo pid,comm [Pipeline] { [Pipeline] sh 23:37:20 + go version 23:37:20 go version go1.17.6 linux/amd64 [Pipeline] } 23:37:20 $ docker stop --time=1 a50da138302cf0038355775c28438f7b74279cff7d99c6409ab5f626a974a2c6 23:37:21 $ docker rm -f a50da138302cf0038355775c28438f7b74279cff7d99c6409ab5f626a974a2c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:37:21 + docker inspect -f . ci-base-image-x86_64 23:37:21 . [Pipeline] withDockerContainer 23:37:21 prd-centos7-docker-4c-2g-2146 does not seem to be running inside a container 23:37:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1084 -v /w/workspace/gexfoundry_device-sdk-go_PR-1084:/w/workspace/gexfoundry_device-sdk-go_PR-1084:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:37:22 $ docker top 728dafcc32c20d779a7af4cd8359a8acaefbe285fad335ca5c7f67c48837a29e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:37:22 + make test 23:37:22 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:37:29 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:37:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:37:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:37:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:37:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.061s coverage: 23.3% of statements 23:37:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:37:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements 23:37:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.047s coverage: 78.9% of statements 23:37:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.055s coverage: 9.0% of statements 23:37:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 23:37:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:37:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:37:51 --- FAIL: TestMetricsRequest (0.00s) 23:37:51 common_test.go:114: 23:37:51 Error Trace: common_test.go:114 23:37:51 Error: Should not be zero, but was 0 23:37:51 Test: TestMetricsRequest 23:37:51 FAIL 23:37:51 coverage: 28.7% of statements 23:37:51 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.043s 23:37:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:37:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.049s coverage: 86.1% of statements 23:37:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:37:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:37:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.089s coverage: 57.4% of statements 23:37:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.724s coverage: 89.2% of statements 23:37:54 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 23:37:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.8% of statements 23:37:54 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:37:54 FAIL 23:37:54 make: *** [Makefile:36: unittest] Error 1 [Pipeline] } 23:37:54 $ docker stop --time=1 728dafcc32c20d779a7af4cd8359a8acaefbe285fad335ca5c7f67c48837a29e 23:37:55 $ docker rm -f 728dafcc32c20d779a7af4cd8359a8acaefbe285fad335ca5c7f67c48837a29e [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 23:37:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:37:56 23:37:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:37:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:37:56 latest: Pulling from edgex-lftools-log-publisher 23:37:56 b4d181a07f80: Pulling fs layer 23:37:56 a1111a8f2ec3: Pulling fs layer 23:37:56 ed53099fbce6: Pulling fs layer 23:37:56 dc539afda2c1: Pulling fs layer 23:37:56 77bc0d833cb6: Pulling fs layer 23:37:56 9065ff56babe: Pulling fs layer 23:37:56 d287ab97295c: Pulling fs layer 23:37:56 dc539afda2c1: Waiting 23:37:56 77bc0d833cb6: Waiting 23:37:56 9065ff56babe: Waiting 23:37:56 d287ab97295c: Waiting 23:37:56 a1111a8f2ec3: Verifying Checksum 23:37:56 a1111a8f2ec3: Download complete 23:37:56 dc539afda2c1: Verifying Checksum 23:37:56 dc539afda2c1: Download complete 23:37:57 ed53099fbce6: Verifying Checksum 23:37:57 ed53099fbce6: Download complete 23:37:57 9065ff56babe: Verifying Checksum 23:37:57 9065ff56babe: Download complete 23:37:57 77bc0d833cb6: Verifying Checksum 23:37:57 77bc0d833cb6: Download complete 23:37:57 b4d181a07f80: Verifying Checksum 23:37:57 b4d181a07f80: Download complete 23:37:57 d287ab97295c: Verifying Checksum 23:37:57 d287ab97295c: Download complete 23:37:58 b4d181a07f80: Pull complete 23:37:58 a1111a8f2ec3: Pull complete 23:37:59 ed53099fbce6: Pull complete 23:37:59 dc539afda2c1: Pull complete 23:37:59 77bc0d833cb6: Pull complete 23:37:59 9065ff56babe: Pull complete 23:38:04 d287ab97295c: Pull complete 23:38:04 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:38:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:38:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:38:05 prd-centos7-docker-4c-2g-2146 does not seem to be running inside a container 23:38:05 $ 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-1084 -v /w/workspace/gexfoundry_device-sdk-go_PR-1084:/w/workspace/gexfoundry_device-sdk-go_PR-1084:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:38:07 $ docker top 41005e78f773068048e550520840fd87e1412dcab6749e435f6ceac681a0676d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:38:08 ---> job-cost.sh 23:38:08 lf-activate-venv: SKIPPING 23:38:08 INFO: No Stack... 23:38:08 INFO: Retrieving Pricing Info for: v3-standard-2 23:38:08 INFO: Archiving Costs [Pipeline] sh 23:38:09 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives/cost.csv 23:38:09 + cut -d, -f6 [Pipeline] lock 23:38:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1084-3-stack-cost] 23:38:09 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1084-3-stack-cost] did not exist. Created. 23:38:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1084-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:38:09 + echo total: 0.05999999865889549 [Pipeline] stash 23:38:09 Stashed 1 file(s) [Pipeline] } 23:38:09 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1084-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:38:09 $ docker stop --time=1 41005e78f773068048e550520840fd87e1412dcab6749e435f6ceac681a0676d 23:38:10 $ docker rm -f 41005e78f773068048e550520840fd87e1412dcab6749e435f6ceac681a0676d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:38:10 Failed in branch amd64 23:39:25 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2150 in /w/workspace/gexfoundry_device-sdk-go_PR-1084 [Pipeline] { [Pipeline] ws 23:39:25 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 23:39:26 The recommended git tool is: git 23:39:30 using credential edgex-jenkins-ssh 23:39:30 Cloning the remote Git repository 23:39:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:39:31 > git init /w/workspace/device-sdk-go/3 # timeout=10 23:39:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:39:31 > git --version # timeout=10 23:39:31 > git --version # 'git version 2.17.1' 23:39:31 using GIT_SSH to set credentials SSH Credentials for GitHub 23:39:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:39:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:39:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:39:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:39:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:39:33 using GIT_SSH to set credentials SSH Credentials for GitHub 23:39:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1084/head:refs/remotes/origin/PR-1084 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:39:33 Merging remotes/origin/main commit 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 into PR head commit 9c4a710147023a03750a7c8be88dd34c1b4c6428 23:39:34 Merge succeeded, producing 9c4a710147023a03750a7c8be88dd34c1b4c6428 23:39:34 Checking out Revision 9c4a710147023a03750a7c8be88dd34c1b4c6428 (PR-1084) 23:39:33 > git config core.sparsecheckout # timeout=10 23:39:33 > git checkout -f 9c4a710147023a03750a7c8be88dd34c1b4c6428 # timeout=10 23:39:33 > git remote # timeout=10 23:39:33 > git config --get remote.origin.url # timeout=10 23:39:33 using GIT_SSH to set credentials SSH Credentials for GitHub 23:39:34 > git merge 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 # timeout=10 23:39:34 > git rev-parse HEAD^{commit} # timeout=10 23:39:34 > git config core.sparsecheckout # timeout=10 23:39:34 > git checkout -f 9c4a710147023a03750a7c8be88dd34c1b4c6428 # timeout=10 23:39:38 Commit message: "ci: Go 1.17 related changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:39:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:39:39 % Total % Received % Xferd Average Speed Time Time Time Current 23:39:39 Dload Upload Total Spent Left Speed 23:39:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 186k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh 23:39:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:39:39 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 23:39:39 23:39:39 { 23:39:39 "registry-mirrors": [ 23:39:39 "https://nexus3.edgexfoundry.org:10001" 23:39:39 ], 23:39:39 "bip": "10.250.0.254/24", 23:39:39 "hosts": [ 23:39:39 "tcp://0.0.0.0:5555", 23:39:39 "unix:///var/run/docker.sock" 23:39:39 ], 23:39:39 "mtu": 1458, 23:39:39 "selinux-enabled": true, 23:39:39 "seccomp-profile": "/etc/docker/seccomp.json" 23:39:39 } [Pipeline] sh 23:39:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:39:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:39:59 provisioning config files... 23:39:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3407537521958859749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:39:59 ---> docker-login.sh 23:39:59 nexus3.edgexfoundry.org:10001 23:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:00 Configure a credential helper to remove this warning. See 23:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:00 23:40:00 Login Succeeded 23:40:00 nexus3.edgexfoundry.org:10002 23:40:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:00 Configure a credential helper to remove this warning. See 23:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:00 23:40:00 Login Succeeded 23:40:00 nexus3.edgexfoundry.org:10003 23:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:01 Configure a credential helper to remove this warning. See 23:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:01 23:40:01 Login Succeeded 23:40:01 nexus3.edgexfoundry.org:10004 23:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:01 Configure a credential helper to remove this warning. See 23:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:01 23:40:01 Login Succeeded 23:40:01 docker.io 23:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:02 Configure a credential helper to remove this warning. See 23:40:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:02 23:40:02 Login Succeeded 23:40:02 ---> docker-login.sh ends [Pipeline] } 23:40:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:40:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:40:03 ========================================================= 23:40:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 23:40:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:40:03 + 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 . 23:40:03 Sending build context to Docker daemon 5.067MB 23:40:03 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 23:40:03 Step 2/11 : FROM ${BASE} AS builder 23:40:03 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:40:03 9b3977197b4f: Pulling fs layer 23:40:03 1a89e8eeedd5: Pulling fs layer 23:40:03 94645a83ff95: Pulling fs layer 23:40:03 3f3a8bcf1eab: Pulling fs layer 23:40:03 0c92f367c5e7: Pulling fs layer 23:40:03 4b8299f9d1f4: Pulling fs layer 23:40:03 9a6b49a46696: Pulling fs layer 23:40:03 cf05db05a679: Pulling fs layer 23:40:03 4b8299f9d1f4: Waiting 23:40:03 3f3a8bcf1eab: Waiting 23:40:03 0c92f367c5e7: Waiting 23:40:03 9a6b49a46696: Waiting 23:40:03 94645a83ff95: Verifying Checksum 23:40:03 94645a83ff95: Download complete 23:40:03 1a89e8eeedd5: Verifying Checksum 23:40:03 1a89e8eeedd5: Download complete 23:40:03 0c92f367c5e7: Verifying Checksum 23:40:03 0c92f367c5e7: Download complete 23:40:03 4b8299f9d1f4: Verifying Checksum 23:40:03 4b8299f9d1f4: Download complete 23:40:03 9b3977197b4f: Verifying Checksum 23:40:03 9b3977197b4f: Download complete 23:40:03 9a6b49a46696: Verifying Checksum 23:40:03 9a6b49a46696: Download complete 23:40:04 9b3977197b4f: Pull complete 23:40:05 1a89e8eeedd5: Pull complete 23:40:05 94645a83ff95: Pull complete 23:40:06 cf05db05a679: Verifying Checksum 23:40:06 cf05db05a679: Download complete 23:40:06 3f3a8bcf1eab: Verifying Checksum 23:40:06 3f3a8bcf1eab: Download complete 23:40:19 3f3a8bcf1eab: Pull complete 23:40:19 0c92f367c5e7: Pull complete 23:40:19 4b8299f9d1f4: Pull complete 23:40:19 9a6b49a46696: Pull complete 23:40:25 cf05db05a679: Pull complete 23:40:25 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 23:40:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 23:40:25 ---> 0ccda1f7e2ee 23:40:25 Step 3/11 : ARG MAKE=make build 23:40:27 ---> Running in d05ac846db33 23:40:27 Removing intermediate container d05ac846db33 23:40:27 ---> 1ee42136b7d7 23:40:27 Step 4/11 : WORKDIR /device-sdk-go 23:40:27 ---> Running in 1d8be6a34cde 23:40:28 Removing intermediate container 1d8be6a34cde 23:40:28 ---> 85efa20da0e5 23:40:28 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:40:28 ---> Running in 9cd955037121 23:40:28 Removing intermediate container 9cd955037121 23:40:28 ---> b3e2727dc123 23:40:28 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:40:28 ---> Running in b30f74492227 23:40:30 Removing intermediate container b30f74492227 23:40:30 ---> 93b57d9894bb 23:40:30 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:40:30 ---> Running in 2e055635da6f 23:40:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:40:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:40:33 OK: 220 MiB in 52 packages 23:40:34 Removing intermediate container 2e055635da6f 23:40:34 ---> 565dbe927755 23:40:34 Step 8/11 : COPY go.mod vendor* ./ 23:40:35 ---> d09da3153599 23:40:35 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:40:35 ---> Running in 9a9746b70000 23:41:57 Removing intermediate container 9a9746b70000 23:41:57 ---> 9a4e85293cf2 23:41:57 Step 10/11 : COPY . . 23:41:57 ---> b7152d929336 23:41:57 Step 11/11 : RUN ${MAKE} 23:41:57 ---> Running in d59d6996e336 23:41:57 noop 23:41:57 Removing intermediate container d59d6996e336 23:41:57 ---> d15d8bbb54a5 23:41:57 Successfully built d15d8bbb54a5 23:41:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:41:58 + docker inspect -f . ci-base-image-arm64 23:41:58 . [Pipeline] withDockerContainer 23:41:58 prd-ubuntu18.04-docker-arm64-4c-16g-2150 does not seem to be running inside a container 23:41:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:41:59 $ docker top 0b8dd023d90a5b209044ea6b0414a8782e9b19240ee0a6857ce83a532f718adf -eo pid,comm [Pipeline] { [Pipeline] sh 23:42:00 + go version 23:42:00 go version go1.17.6 linux/arm64 [Pipeline] } 23:42:00 $ docker stop --time=1 0b8dd023d90a5b209044ea6b0414a8782e9b19240ee0a6857ce83a532f718adf 23:42:02 $ docker rm -f 0b8dd023d90a5b209044ea6b0414a8782e9b19240ee0a6857ce83a532f718adf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:42:03 + docker inspect -f . ci-base-image-arm64 23:42:03 . [Pipeline] withDockerContainer 23:42:03 prd-ubuntu18.04-docker-arm64-4c-16g-2150 does not seem to be running inside a container 23:42:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:42:05 $ docker top 92f91619379c82cfa1c39f05a07a93fd3fe9a55d66469e7a7409b03b857fee30 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:42:06 + make test 23:42:06 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:42:45 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:43:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:43:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:43:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:44:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.324s coverage: 23.3% of statements 23:44:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:44:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.273s coverage: 27.6% of statements 23:44:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.324s coverage: 78.9% of statements 23:44:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.221s coverage: 9.0% of statements 23:44:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 23:44:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:44:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:44:08 --- FAIL: TestMetricsRequest (0.00s) 23:44:08 common_test.go:114: 23:44:08 Error Trace: common_test.go:114 23:44:08 Error: Should not be zero, but was 0 23:44:08 Test: TestMetricsRequest 23:44:08 FAIL 23:44:08 coverage: 28.7% of statements 23:44:08 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.380s 23:44:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:44:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.265s coverage: 86.1% of statements 23:44:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:44:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:44:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.364s coverage: 57.4% of statements 23:44:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.301s coverage: 89.2% of statements 23:44:14 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 23:44:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.261s coverage: 4.8% of statements 23:44:14 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:44:14 FAIL 23:44:15 make: *** [Makefile:36: unittest] Error 1 [Pipeline] } 23:44:15 $ docker stop --time=1 92f91619379c82cfa1c39f05a07a93fd3fe9a55d66469e7a7409b03b857fee30 23:44:16 $ docker rm -f 92f91619379c82cfa1c39f05a07a93fd3fe9a55d66469e7a7409b03b857fee30 [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 23:44:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:44:17 23:44:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:44:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:44:18 arm64: Pulling from edgex-lftools-log-publisher 23:44:18 448f6bf000e3: Pulling fs layer 23:44:18 f757da607395: Pulling fs layer 23:44:18 05883995daec: Pulling fs layer 23:44:18 8603b9c90790: Pulling fs layer 23:44:18 1560dd03e051: Pulling fs layer 23:44:18 27f5ce0e4adf: Pulling fs layer 23:44:18 c2d8d7efcc4b: Pulling fs layer 23:44:18 1560dd03e051: Waiting 23:44:18 27f5ce0e4adf: Waiting 23:44:18 c2d8d7efcc4b: Waiting 23:44:18 8603b9c90790: Waiting 23:44:18 f757da607395: Verifying Checksum 23:44:18 f757da607395: Download complete 23:44:18 8603b9c90790: Verifying Checksum 23:44:18 8603b9c90790: Download complete 23:44:18 1560dd03e051: Verifying Checksum 23:44:18 1560dd03e051: Download complete 23:44:18 27f5ce0e4adf: Download complete 23:44:18 05883995daec: Verifying Checksum 23:44:18 05883995daec: Download complete 23:44:19 448f6bf000e3: Verifying Checksum 23:44:19 448f6bf000e3: Download complete 23:44:21 c2d8d7efcc4b: Verifying Checksum 23:44:21 c2d8d7efcc4b: Download complete 23:44:23 448f6bf000e3: Pull complete 23:44:24 f757da607395: Pull complete 23:44:25 05883995daec: Pull complete 23:44:26 8603b9c90790: Pull complete 23:44:27 1560dd03e051: Pull complete 23:44:27 27f5ce0e4adf: Pull complete 23:44:46 c2d8d7efcc4b: Pull complete 23:44:46 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:44:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:44:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:44:46 prd-ubuntu18.04-docker-arm64-4c-16g-2150 does not seem to be running inside a container 23:44:46 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:44:49 $ docker top 6f7ede19edd788c7926ebe2ff115fa4ee864a940f4c6d35a45425d94489ea009 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:44:50 ---> job-cost.sh 23:44:50 lf-activate-venv: SKIPPING 23:44:50 INFO: No Stack... 23:44:50 INFO: Retrieving Pricing Info for: v3-standard-4 23:44:50 INFO: Archiving Costs [Pipeline] sh 23:44:51 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 23:44:51 + cut -d, -f6 [Pipeline] lock 23:44:51 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1084-3-stack-cost] 23:44:51 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1084-3-stack-cost] did not exist. Created. 23:44:51 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1084-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:44:52 /w/workspace/device-sdk-go/3@tmp/durable-2b6b8970/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-2b6b8970/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:44:52 + echo total: 0.10999999940395355 [Pipeline] stash 23:44:52 Warning: overwriting stash ‘stack-cost’ 23:44:53 Stashed 1 file(s) [Pipeline] } 23:44:53 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1084-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:44:53 $ docker stop --time=1 6f7ede19edd788c7926ebe2ff115fa4ee864a940f4c6d35a45425d94489ea009 23:44:55 $ docker rm -f 6f7ede19edd788c7926ebe2ff115fa4ee864a940f4c6d35a45425d94489ea009 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:44:55 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 23:44:56 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives ']' 23:44:56 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives 23:44:56 total 8 23:44:56 drwxr-xr-x. 3 root root 34 Jan 19 23:38 . 23:44:56 drwxrwxr-x. 12 jenkins jenkins 4096 Jan 19 23:38 .. 23:44:56 drwxr-xr-x. 2 root root 6 Jan 19 23:38 cost 23:44:56 -rw-r--r--. 1 root root 85 Jan 19 23:38 cost.csv 23:44:56 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives 23:44:56 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives 23:44:56 total 8 23:44:56 drwxr-xr-x. 3 jenkins jenkins 34 Jan 19 23:38 . 23:44:56 drwxrwxr-x. 12 jenkins jenkins 4096 Jan 19 23:38 .. 23:44:56 drwxr-xr-x. 2 jenkins jenkins 6 Jan 19 23:38 cost 23:44:56 -rw-r--r--. 1 jenkins jenkins 85 Jan 19 23:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:44:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:44:56 ---> package-listing.sh 23:44:56 ++ facter osfamily 23:44:56 ++ tr '[:upper:]' '[:lower:]' 23:44:57 + OS_FAMILY=redhat 23:44:57 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1084 23:44:57 + START_PACKAGES=/tmp/packages_start.txt 23:44:57 + END_PACKAGES=/tmp/packages_end.txt 23:44:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:44:57 + PACKAGES=/tmp/packages_start.txt 23:44:57 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1084 ']' 23:44:57 + PACKAGES=/tmp/packages_end.txt 23:44:57 + case "${OS_FAMILY}" in 23:44:57 + sort 23:44:57 + rpm -qa 23:44:57 + '[' -f /tmp/packages_start.txt ']' 23:44:57 + '[' -f /tmp/packages_end.txt ']' 23:44:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:44:57 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1084 ']' 23:44:57 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives/ 23:44:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives/ [Pipeline] echo 23:44:57 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-1084/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:44:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:44:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:44:58 . [Pipeline] withDockerContainer 23:44:58 prd-centos7-docker-4c-2g-2146 does not seem to be running inside a container 23:44:58 $ 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-1084/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-1084 -v /w/workspace/gexfoundry_device-sdk-go_PR-1084:/w/workspace/gexfoundry_device-sdk-go_PR-1084:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:44:58 $ docker top f6c6e98345c9cc4c8e6c086c8c688165d78fb8bfac37c0b451f6e85c109c3a27 -eo pid,comm [Pipeline] { [Pipeline] sh 23:44:59 + touch /tmp/pre-build-complete [Pipeline] sh 23:44:59 + mkdir -p /var/log/sysstat [Pipeline] sh 23:45:00 + ls /var/log/sa-host 23:45:00 + sadf -c /var/log/sa-host/sa17 23:45:00 file_magic: OK 23:45:00 HZ: Using current value: 100 23:45:00 file_header: OK 23:45:00 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 23:45:00 Statistics: 23:45:00 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:45:00 File successfully converted to sysstat format version 12.0.3 23:45:00 + sadf -c /var/log/sa-host/sa19 23:45:00 file_magic: OK 23:45:00 HZ: Using current value: 100 23:45:00 file_header: OK 23:45:00 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 23:45:00 Statistics: 23:45:00 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:45:00 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:45:00 provisioning config files... 23:45:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/config8134052941624407410tmp [Pipeline] { [Pipeline] echo 23:45:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:45:00 ---> create-netrc.sh [Pipeline] } 23:45:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:45:00 ---> python-tools-install.sh [Pipeline] echo 23:45:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:45:01 ---> sudo-logs.sh 23:45:01 Archiving 'sudo' log.. 23:45:01 sudo: unable to resolve host prd-centos7-docker-4c-2g-2146.novalocal: Name or service not known 23:45:01 sudo: unable to resolve host prd-centos7-docker-4c-2g-2146.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 23:45:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:45:01 ---> job-cost.sh 23:45:01 lf-activate-venv: SKIPPING 23:45:01 DEBUG: total: 0.05999999865889549 23:45:01 INFO: Retrieving Stack Cost... 23:45:02 INFO: Retrieving Pricing Info for: v3-standard-2 23:45:02 INFO: Archiving Costs [Pipeline] echo 23:45:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:45:02 ---> logs-deploy.sh 23:45:02 lf-activate-venv: SKIPPING 23:45:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1084/3 23:45:02 INFO: archiving workspace using pattern(s): 23:45:03 Archives upload complete. 23:45:03 INFO: archiving logs to Nexus