Pull request #772 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6+3aea893206dfece0cb943228d650ae216607898f (9ff7b265e45089ff6a2af5e0f1190b5ca3188fb8) Running in Durability level: MAX_SURVIVABILITY 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 69a7e166112f335804d9fea76440e5140e47f034 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-772/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 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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-772/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 > 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 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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 69a7e166112f335804d9fea76440e5140e47f034 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:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-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/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-24672 in /w/workspace/dgexfoundry_device-sdk-go_PR-772 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-772 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/772/head:refs/remotes/origin/PR-772 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 Merge succeeded, producing dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 Checking out Revision dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 (PR-772) > git config core.sparsecheckout # timeout=10 > git checkout -f dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:53:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:53:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:53:05 ========================================================= 05:53:05 EdgeX Global Pipelines Version Info 05:53:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:53:07 ------------------- 05:53:07 stable info: 05:53:07 ------------------- 05:53:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:53:07 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 05:53:07 Message: update stable to v1.0.179 05:53:08 ------------------- 05:53:08 experimental info: 05:53:08 ------------------- 05:53:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:53:08 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 05:53:08 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:53:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:53:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:53:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:53:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:53:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:53:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:53:09 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:53:09 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:53:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:53:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:53:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:53:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:53:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:53:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:53:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:53:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:53:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:53:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:53:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:53:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:53:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:53:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:53:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:53:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:53:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:53:12 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 05:53:12 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 05:53:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-772 [Pipeline] echo 05:53:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-772 [Pipeline] echo 05:53:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-772 [Pipeline] echo 05:53:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 [Pipeline] echo 05:53:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dddac66 [Pipeline] echo 05:53:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:53:13 provisioning config files... 05:53:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-772@tmp/config194464046953773221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:13 ---> docker-login.sh 05:53:13 nexus3.edgexfoundry.org:10001 05:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:14 Configure a credential helper to remove this warning. See 05:53:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:14 05:53:14 Login Succeeded 05:53:14 nexus3.edgexfoundry.org:10002 05:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:14 Configure a credential helper to remove this warning. See 05:53:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:14 05:53:14 Login Succeeded 05:53:14 nexus3.edgexfoundry.org:10003 05:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:14 Configure a credential helper to remove this warning. See 05:53:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:14 05:53:14 Login Succeeded 05:53:14 nexus3.edgexfoundry.org:10004 05:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:14 Configure a credential helper to remove this warning. See 05:53:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:14 05:53:14 Login Succeeded 05:53:14 docker.io 05:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:15 Configure a credential helper to remove this warning. See 05:53:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:15 05:53:15 Login Succeeded 05:53:15 ---> docker-login.sh ends [Pipeline] } 05:53:15 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:53:16 + git log --format=format:%s -1 dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 [Pipeline] echo 05:53:16 GIT_COMMIT: dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:53:16 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:53:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:53:17 05:53:17 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:53:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:53:18 latest: Pulling from edgex-devops/git-semver 05:53:18 31603596830f: Pulling fs layer 05:53:18 2a8b12db71e7: Pulling fs layer 05:53:18 6ca5941a6612: Pulling fs layer 05:53:18 ecc8261a40a4: Pulling fs layer 05:53:18 ecc8261a40a4: Waiting 05:53:18 2a8b12db71e7: Verifying Checksum 05:53:18 2a8b12db71e7: Download complete 05:53:18 31603596830f: Verifying Checksum 05:53:18 31603596830f: Download complete 05:53:18 ecc8261a40a4: Verifying Checksum 05:53:18 ecc8261a40a4: Download complete 05:53:18 6ca5941a6612: Verifying Checksum 05:53:18 6ca5941a6612: Download complete 05:53:18 31603596830f: Pull complete 05:53:18 2a8b12db71e7: Pull complete 05:53:19 6ca5941a6612: Pull complete 05:53:19 ecc8261a40a4: Pull complete 05:53:19 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:53:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:53:19 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:53:19 prd-centos7-docker-4c-2g-24672 does not seem to be running inside a container 05:53:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-772 -v /w/workspace/dgexfoundry_device-sdk-go_PR-772:/w/workspace/dgexfoundry_device-sdk-go_PR-772:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-772@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-772@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:53:22 $ docker top e279a0eb3d5eba5a5c90f1d8c5a2daf78962b2d1773d125bb7778b16a916a4d8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:53:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:22 [ssh-agent] Looking for ssh-agent implementation... 05:53:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:23 $ docker exec e279a0eb3d5eba5a5c90f1d8c5a2daf78962b2d1773d125bb7778b16a916a4d8 ssh-agent 05:53:23 SSH_AUTH_SOCK=/tmp/ssh-K2i5FyajIPJM/agent.12 05:53:23 SSH_AGENT_PID=17 05:53:23 Running ssh-add (command line suppressed) 05:53:23 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-772@tmp/private_key_3602079047495144655.key (/w/workspace/dgexfoundry_device-sdk-go_PR-772@tmp/private_key_3602079047495144655.key) 05:53:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:23 + git tag --points-at HEAD [Pipeline] } 05:53:23 $ docker exec --env ******** --env ******** e279a0eb3d5eba5a5c90f1d8c5a2daf78962b2d1773d125bb7778b16a916a4d8 ssh-agent -k 05:53:23 unset SSH_AUTH_SOCK; 05:53:23 unset SSH_AGENT_PID; 05:53:23 echo Agent pid 17 killed; 05:53:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:53:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:24 [ssh-agent] Looking for ssh-agent implementation... 05:53:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:24 $ docker exec e279a0eb3d5eba5a5c90f1d8c5a2daf78962b2d1773d125bb7778b16a916a4d8 ssh-agent 05:53:24 SSH_AUTH_SOCK=/tmp/ssh-meUQcVI2llDe/agent.47 05:53:24 SSH_AGENT_PID=52 05:53:24 Running ssh-add (command line suppressed) 05:53:24 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-772@tmp/private_key_7077158615755097584.key (/w/workspace/dgexfoundry_device-sdk-go_PR-772@tmp/private_key_7077158615755097584.key) 05:53:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:25 + git semver init 05:53:25 # -> Open(): unable to determine branch for HEAD 05:53:25 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-772/.git 05:53:25 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-772 05:53:25 # $SEMVER_REMOTE_NAME = origin 05:53:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:53:25 # $SEMVER_USER_NAME = edgex-jenkins 05:53:25 # $SEMVER_BRANCH = PR-772 05:53:25 # $SEMVER_TEMP = /tmp/semver-308088996 05:53:25 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:53:25 # '/tmp/semver-308088996' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-772/.semver' 05:53:25 # -> Force: false 05:53:25 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-772/.semver [Pipeline] } 05:53:25 $ docker exec --env ******** --env ******** e279a0eb3d5eba5a5c90f1d8c5a2daf78962b2d1773d125bb7778b16a916a4d8 ssh-agent -k 05:53:25 unset SSH_AUTH_SOCK; 05:53:25 unset SSH_AGENT_PID; 05:53:25 echo Agent pid 52 killed; 05:53:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:53:26 + git semver [Pipeline] } 05:53:26 $ docker stop --time=1 e279a0eb3d5eba5a5c90f1d8c5a2daf78962b2d1773d125bb7778b16a916a4d8 05:53:27 $ docker rm -f e279a0eb3d5eba5a5c90f1d8c5a2daf78962b2d1773d125bb7778b16a916a4d8 [Pipeline] // withDockerContainer [Pipeline] sh 05:53:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:53:28 Stashed 1 file(s) [Pipeline] echo 05:53:28 [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] node [Pipeline] node 05:53:44 Still waiting to schedule task 05:53:44 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-24672’ 05:53:44 Still waiting to schedule task 05:53:44 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:55:36 Running on prd-ubuntu18.04-docker-arm64-4c-16g-24673 in /w/workspace/dgexfoundry_device-sdk-go_PR-772 [Pipeline] { [Pipeline] ws 05:55:36 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:55:41 using credential edgex-jenkins-ssh 05:55:41 Cloning the remote Git repository 05:55:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:55:41 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:55:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:55:42 > git --version # timeout=10 05:55:42 > git --version # 'git version 2.17.1' 05:55:42 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:55:43 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 05:55:44 Merge succeeded, producing dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 05:55:44 Checking out Revision dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 (PR-772) 05:55:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:55:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:55:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:55:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:55:43 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/772/head:refs/remotes/origin/PR-772 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:55:43 > git config core.sparsecheckout # timeout=10 05:55:43 > git checkout -f dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 # timeout=10 05:55:43 > git remote # timeout=10 05:55:43 > git config --get remote.origin.url # timeout=10 05:55:43 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:43 > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 05:55:44 > git rev-parse HEAD^{commit} # timeout=10 05:55:44 > git config core.sparsecheckout # timeout=10 05:55:44 > git checkout -f dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 # timeout=10 05:55:48 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:55:48 > git --version # timeout=10 05:55:48 > git --version # 'git version 2.17.1' 05:55:48 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:55:50 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:55:50 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:55:51 + + sudo service docker restart 05:55:51 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:55:53 provisioning config files... 05:55:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4450981660346410938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:55:54 ---> docker-login.sh 05:55:54 nexus3.edgexfoundry.org:10001 05:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:55 Configure a credential helper to remove this warning. See 05:55:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:55 05:55:55 Login Succeeded 05:55:55 nexus3.edgexfoundry.org:10002 05:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:56 Configure a credential helper to remove this warning. See 05:55:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:56 05:55:56 Login Succeeded 05:55:56 nexus3.edgexfoundry.org:10003 05:55:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:56 Configure a credential helper to remove this warning. See 05:55:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:56 05:55:56 Login Succeeded 05:55:56 nexus3.edgexfoundry.org:10004 05:55:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:57 Configure a credential helper to remove this warning. See 05:55:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:57 05:55:57 Login Succeeded 05:55:57 docker.io 05:55:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:58 Configure a credential helper to remove this warning. See 05:55:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:58 05:55:58 Login Succeeded 05:55:58 ---> docker-login.sh ends [Pipeline] } 05:55:58 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:55:58 ========================================================= 05:55:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:55:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:55:59 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 05:55:59 Sending build context to Docker daemon 2.498MB 05:55:59 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:55:59 Step 2/8 : FROM ${BASE} 05:55:59 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:55:59 5f621e34cdf4: Pulling fs layer 05:55:59 a4357932f1b6: Pulling fs layer 05:55:59 18c013af1878: Pulling fs layer 05:55:59 00ac8860ef70: Pulling fs layer 05:55:59 63d7cb157983: Pulling fs layer 05:55:59 b116817d02f9: Pulling fs layer 05:55:59 745a02a5169b: Pulling fs layer 05:55:59 63d7cb157983: Waiting 05:55:59 00ac8860ef70: Waiting 05:55:59 b116817d02f9: Waiting 05:55:59 745a02a5169b: Waiting 05:55:59 18c013af1878: Download complete 05:55:59 a4357932f1b6: Verifying Checksum 05:55:59 a4357932f1b6: Download complete 05:55:59 63d7cb157983: Verifying Checksum 05:55:59 63d7cb157983: Download complete 05:55:59 5f621e34cdf4: Download complete 05:55:59 b116817d02f9: Download complete 05:56:00 5f621e34cdf4: Pull complete 05:56:01 a4357932f1b6: Pull complete 05:56:01 18c013af1878: Pull complete 05:56:02 745a02a5169b: Verifying Checksum 05:56:02 745a02a5169b: Download complete 05:56:03 00ac8860ef70: Verifying Checksum 05:56:03 00ac8860ef70: Download complete 05:56:03 Running on prd-centos7-docker-4c-2g-24674 in /w/workspace/dgexfoundry_device-sdk-go_PR-772 [Pipeline] { [Pipeline] ws 05:56:03 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:56:06 using credential edgex-jenkins-ssh 05:56:06 Cloning the remote Git repository 05:56:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:56:06 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:56:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:56:06 > git --version # timeout=10 05:56:06 > git --version # 'git version 2.24.3' 05:56:06 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:56:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:56:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:56:08 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 05:56:08 Merge succeeded, producing dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 05:56:08 Checking out Revision dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 (PR-772) 05:56:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:56:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:56:07 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/772/head:refs/remotes/origin/PR-772 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:56:08 > git config core.sparsecheckout # timeout=10 05:56:08 > git checkout -f dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 # timeout=10 05:56:08 > git remote # timeout=10 05:56:08 > git config --get remote.origin.url # timeout=10 05:56:08 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:08 > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 05:56:08 > git rev-parse HEAD^{commit} # timeout=10 05:56:08 > git config core.sparsecheckout # timeout=10 05:56:08 > git checkout -f dddac6645bfb0161c6a33a25f2af1ca8b0c57bd6 # timeout=10 05:56:11 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:56:11 > git --version # timeout=10 05:56:11 > git --version # 'git version 2.24.3' 05:56:11 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:56:13 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:56:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:56:13 00ac8860ef70: Pull complete 05:56:13 63d7cb157983: Pull complete 05:56:13 + sudo service docker restart 05:56:13 + true 05:56:14 Redirecting to /bin/systemctl restart docker.service 05:56:14 b116817d02f9: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:56:16 provisioning config files... 05:56:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1131724772303456917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:16 ---> docker-login.sh 05:56:16 nexus3.edgexfoundry.org:10001 05:56:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:16 Configure a credential helper to remove this warning. See 05:56:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:16 05:56:16 Login Succeeded 05:56:16 nexus3.edgexfoundry.org:10002 05:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:17 Configure a credential helper to remove this warning. See 05:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:17 05:56:17 Login Succeeded 05:56:17 nexus3.edgexfoundry.org:10003 05:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:17 Configure a credential helper to remove this warning. See 05:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:17 05:56:17 Login Succeeded 05:56:17 nexus3.edgexfoundry.org:10004 05:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:17 Configure a credential helper to remove this warning. See 05:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:17 05:56:17 Login Succeeded 05:56:17 docker.io 05:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:17 Configure a credential helper to remove this warning. See 05:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:17 05:56:17 Login Succeeded 05:56:17 ---> docker-login.sh ends [Pipeline] } 05:56:17 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 05:56:18 745a02a5169b: Pull complete 05:56:18 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:56:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:56:18 ---> b7e6874047d6 05:56:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] echo 05:56:18 ========================================================= 05:56:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:56:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:56:19 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 05:56:19 Sending build context to Docker daemon 2.499MB 05:56:19 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:56:19 Step 2/8 : FROM ${BASE} 05:56:19 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:56:19 188c0c94c7c5: Pulling fs layer 05:56:19 0ef7d3d256c8: Pulling fs layer 05:56:19 de9db76c5a1d: Pulling fs layer 05:56:19 bca2f99d35d6: Pulling fs layer 05:56:19 93359f2a8cfa: Pulling fs layer 05:56:19 7c6f9722023f: Pulling fs layer 05:56:19 a35cf1a2eb13: Pulling fs layer 05:56:19 bca2f99d35d6: Waiting 05:56:19 93359f2a8cfa: Waiting 05:56:19 7c6f9722023f: Waiting 05:56:19 a35cf1a2eb13: Waiting 05:56:19 de9db76c5a1d: Verifying Checksum 05:56:19 de9db76c5a1d: Download complete 05:56:19 0ef7d3d256c8: Download complete 05:56:19 93359f2a8cfa: Verifying Checksum 05:56:19 93359f2a8cfa: Download complete 05:56:19 188c0c94c7c5: Verifying Checksum 05:56:19 7c6f9722023f: Verifying Checksum 05:56:19 7c6f9722023f: Download complete 05:56:19 188c0c94c7c5: Pull complete 05:56:19 0ef7d3d256c8: Pull complete 05:56:20 de9db76c5a1d: Pull complete 05:56:21 ---> Running in b241c163bf1f 05:56:21 Removing intermediate container b241c163bf1f 05:56:21 ---> a165a8b7611f 05:56:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:56:21 ---> Running in 1411abb52664 05:56:21 a35cf1a2eb13: Verifying Checksum 05:56:21 a35cf1a2eb13: Download complete 05:56:21 bca2f99d35d6: Verifying Checksum 05:56:21 bca2f99d35d6: Download complete 05:56:23 Removing intermediate container 1411abb52664 05:56:23 ---> 1292ed0b7b6b 05:56:23 Step 5/8 : RUN apk add --update --no-cache make git 05:56:23 ---> Running in e5e2d2583615 05:56:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:56:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:56:25 OK: 142 MiB in 39 packages 05:56:27 bca2f99d35d6: Pull complete 05:56:27 Removing intermediate container e5e2d2583615 05:56:27 ---> 2e3ad46cdba9 05:56:27 Step 6/8 : WORKDIR /device-sdk-go 05:56:27 ---> Running in d572bc748ea8 05:56:27 93359f2a8cfa: Pull complete 05:56:27 7c6f9722023f: Pull complete 05:56:27 Removing intermediate container d572bc748ea8 05:56:27 ---> 7fd9a30c16df 05:56:27 Step 7/8 : COPY . . 05:56:29 ---> 0517c77e40af 05:56:29 Step 8/8 : RUN go mod download 05:56:29 ---> Running in 119026c223b8 05:56:32 a35cf1a2eb13: Pull complete 05:56:32 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:56:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:56:32 ---> a62c8e92a672 05:56:32 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:56:32 ---> Running in 99593f04ed5e 05:56:32 Removing intermediate container 99593f04ed5e 05:56:32 ---> c7723c9050b1 05:56:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:56:33 ---> Running in 4e5678053df7 05:56:34 Removing intermediate container 4e5678053df7 05:56:34 ---> aa71e6457150 05:56:34 Step 5/8 : RUN apk add --update --no-cache make git 05:56:34 ---> Running in 2a3977398013 05:56:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:56:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:56:36 OK: 166 MiB in 39 packages 05:56:36 Removing intermediate container 2a3977398013 05:56:36 ---> d6a0425a4c4c 05:56:36 Step 6/8 : WORKDIR /device-sdk-go 05:56:36 ---> Running in 8191df7f7760 05:56:37 Removing intermediate container 8191df7f7760 05:56:37 ---> eb25a341f74f 05:56:37 Step 7/8 : COPY . . 05:56:38 ---> f89d37160e73 05:56:38 Step 8/8 : RUN go mod download 05:56:38 ---> Running in 69042852d761 05:56:51 Removing intermediate container 119026c223b8 05:56:51 ---> 6284a2f6fe77 05:56:51 Successfully built 6284a2f6fe77 05:56:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:56:51 + docker inspect -f . ci-base-image-arm64 05:56:51 . [Pipeline] withDockerContainer 05:56:52 prd-ubuntu18.04-docker-arm64-4c-16g-24673 does not seem to be running inside a container 05:56: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 ******** ci-base-image-arm64 cat 05:56:53 $ docker top bcbda679c8772f2e9d757ef912f699fa17489e65817ee59e3db0f88a9293323f -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:54 + go version 05:56:54 go version go1.15.5 linux/arm64 [Pipeline] } 05:56:55 $ docker stop --time=1 bcbda679c8772f2e9d757ef912f699fa17489e65817ee59e3db0f88a9293323f 05:56:56 Removing intermediate container 69042852d761 05:56:56 ---> 47c43ab2c703 05:56:56 Successfully built 47c43ab2c703 05:56:56 Successfully tagged ci-base-image-x86_64:latest 05:56:57 $ docker rm -f bcbda679c8772f2e9d757ef912f699fa17489e65817ee59e3db0f88a9293323f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:56:58 + docker inspect -f . ci-base-image-x86_64 05:56:58 . [Pipeline] withDockerContainer 05:56:58 prd-centos7-docker-4c-2g-24674 does not seem to be running inside a container 05:56:58 + docker inspect -f . ci-base-image-arm64 05:56:58 . 05:56:58 $ 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 ******** ci-base-image-x86_64 cat 05:56:59 $ docker top 1e05e8fd84e120ebbcc9026dc040d3f8e4279b1b57494b9c695b4f43dab338ac -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 05:56:59 prd-ubuntu18.04-docker-arm64-4c-16g-24673 does not seem to be running inside a container 05:56:59 $ 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 ******** ci-base-image-arm64 cat 05:57:01 $ docker top f4b15714b49a1a9fc7d0f694a7624fd748a76cd8fee50f21595041a692645afb -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 05:57:02 + go version 05:57:02 go version go1.15.5 linux/amd64 [Pipeline] } 05:57:02 $ docker stop --time=1 1e05e8fd84e120ebbcc9026dc040d3f8e4279b1b57494b9c695b4f43dab338ac 05:57:02 + make test 05:57:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:57:04 $ docker rm -f 1e05e8fd84e120ebbcc9026dc040d3f8e4279b1b57494b9c695b4f43dab338ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:57:05 + docker inspect -f . ci-base-image-x86_64 05:57:05 . [Pipeline] withDockerContainer 05:57:05 prd-centos7-docker-4c-2g-24674 does not seem to be running inside a container 05:57:05 $ 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 ******** ci-base-image-x86_64 cat 05:57:05 $ docker top 53e97d79a5e203e10a98a3f61b0bf72583f06e1c8efe1618405300adf57994fa -eo pid,comm [Pipeline] { [Pipeline] sh 05:57:06 + make test 05:57:06 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:57:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:57:24 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:57:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:57:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:57:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:57:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.077s coverage: 19.4% of statements 05:57:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.446s coverage: 97.1% of statements 05:58:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:58:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:58:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:58:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.172s coverage: 19.4% of statements 05:58:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.069s coverage: 9.4% of statements 05:58:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.054s coverage: 21.7% of statements 05:58:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:58:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.251s coverage: 43.6% of statements 05:58:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 05:58:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.300s coverage: 68.9% of statements 05:58:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 05:58:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 05:58:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:58:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:58:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 53.8% of statements 05:58:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 05:58:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 05:58:04 --- FAIL: TestSecretRequest (0.02s) 05:58:04 --- FAIL: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash (0.00s) 05:58:04 common_test.go:261: 05:58:04 Error Trace: common_test.go:261 05:58:04 Error: Not equal: 05:58:04 expected: 201 05:58:04 actual : 400 05:58:04 Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash 05:58:04 Messages: HTTP status code not as expected 05:58:04 common_test.go:263: 05:58:04 Error Trace: common_test.go:263 05:58:04 Error: Not equal: 05:58:04 expected: 201 05:58:04 actual : 400 05:58:04 Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash 05:58:04 Messages: BaseResponse status code not as expected 05:58:04 common_test.go:270: 05:58:04 Error Trace: common_test.go:270 05:58:04 Error: Not equal: 05:58:04 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 05:58:04 actual : "" 05:58:04 05:58:04 Diff: 05:58:04 --- Expected 05:58:04 +++ Actual 05:58:04 @@ -1 +1 @@ 05:58:04 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 05:58:04 + 05:58:04 Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash 05:58:04 Messages: RequestID not as expected 05:58:04 common_test.go:271: 05:58:04 Error Trace: common_test.go:271 05:58:04 Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required 05:58:04 Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash 05:58:04 Messages: Message not empty, as expected 05:58:04 --- FAIL: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) 05:58:04 common_test.go:261: 05:58:04 Error Trace: common_test.go:261 05:58:04 Error: Not equal: 05:58:04 expected: 201 05:58:04 actual : 400 05:58:04 Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash 05:58:04 Messages: HTTP status code not as expected 05:58:04 common_test.go:263: 05:58:04 Error Trace: common_test.go:263 05:58:04 Error: Not equal: 05:58:04 expected: 201 05:58:04 actual : 400 05:58:04 Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash 05:58:04 Messages: BaseResponse status code not as expected 05:58:04 common_test.go:270: 05:58:04 Error Trace: common_test.go:270 05:58:04 Error: Not equal: 05:58:04 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 05:58:04 actual : "" 05:58:04 05:58:04 Diff: 05:58:04 --- Expected 05:58:04 +++ Actual 05:58:04 @@ -1 +1 @@ 05:58:04 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 05:58:04 + 05:58:04 Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash 05:58:04 Messages: RequestID not as expected 05:58:04 common_test.go:271: 05:58:04 Error Trace: common_test.go:271 05:58:04 Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required 05:58:04 Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash 05:58:04 Messages: Message not empty, as expected 05:58:04 --- FAIL: TestSecretRequest/Valid_-_both_trailing_slashes (0.00s) 05:58:04 common_test.go:261: 05:58:04 Error Trace: common_test.go:261 05:58:04 Error: Not equal: 05:58:04 expected: 201 05:58:04 actual : 400 05:58:04 Test: TestSecretRequest/Valid_-_both_trailing_slashes 05:58:04 Messages: HTTP status code not as expected 05:58:04 common_test.go:263: 05:58:04 Error Trace: common_test.go:263 05:58:04 Error: Not equal: 05:58:04 expected: 201 05:58:04 actual : 400 05:58:04 Test: TestSecretRequest/Valid_-_both_trailing_slashes 05:58:04 Messages: BaseResponse status code not as expected 05:58:04 common_test.go:270: 05:58:04 Error Trace: common_test.go:270 05:58:04 Error: Not equal: 05:58:04 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 05:58:04 actual : "" 05:58:04 05:58:04 Diff: 05:58:04 --- Expected 05:58:04 +++ Actual 05:58:04 @@ -1 +1 @@ 05:58:04 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 05:58:04 + 05:58:04 Test: TestSecretRequest/Valid_-_both_trailing_slashes 05:58:04 Messages: RequestID not as expected 05:58:04 common_test.go:271: 05:58:04 Error Trace: common_test.go:271 05:58:04 Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required 05:58:04 Test: TestSecretRequest/Valid_-_both_trailing_slashes 05:58:04 Messages: Message not empty, as expected 05:58:04 --- FAIL: TestSecretRequest/Valid_-_no_requestId (0.00s) 05:58:04 common_test.go:261: 05:58:04 Error Trace: common_test.go:261 05:58:04 Error: Not equal: 05:58:04 expected: 201 05:58:04 actual : 400 05:58:04 Test: TestSecretRequest/Valid_-_no_requestId 05:58:04 Messages: HTTP status code not as expected 05:58:04 common_test.go:263: 05:58:04 Error Trace: common_test.go:263 05:58:04 Error: Not equal: 05:58:04 expected: 201 05:58:04 actual : 400 05:58:04 Test: TestSecretRequest/Valid_-_no_requestId 05:58:04 Messages: BaseResponse status code not as expected 05:58:04 common_test.go:271: 05:58:04 Error Trace: common_test.go:271 05:58:04 Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required 05:58:04 Test: TestSecretRequest/Valid_-_no_requestId 05:58:04 Messages: Message not empty, as expected 05:58:04 --- FAIL: TestSecretRequest/Invalid_-_No_Secret_Store (0.00s) 05:58:04 common_test.go:261: 05:58:04 Error Trace: common_test.go:261 05:58:04 Error: Not equal: 05:58:04 expected: 500 05:58:04 actual : 400 05:58:04 Test: TestSecretRequest/Invalid_-_No_Secret_Store 05:58:04 Messages: HTTP status code not as expected 05:58:04 common_test.go:263: 05:58:04 Error Trace: common_test.go:263 05:58:04 Error: Not equal: 05:58:04 expected: 500 05:58:04 actual : 400 05:58:04 Test: TestSecretRequest/Invalid_-_No_Secret_Store 05:58:04 Messages: BaseResponse status code not as expected 05:58:04 FAIL 05:58:04 coverage: 17.3% of statements 05:58:04 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.065s 05:58:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.538s coverage: 83.5% of statements 05:58:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.077s coverage: 4.2% of statements 05:58:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:58:04 FAIL 05:58:04 make: *** [Makefile:32: test] Error 1 [Pipeline] } 05:58:04 $ docker stop --time=1 53e97d79a5e203e10a98a3f61b0bf72583f06e1c8efe1618405300adf57994fa 05:58:06 $ docker rm -f 53e97d79a5e203e10a98a3f61b0bf72583f06e1c8efe1618405300adf57994fa [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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:58:08 Failed in branch amd64 05:58:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.211s coverage: 97.1% of statements 05:58:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.128s coverage: 9.4% of statements 05:58:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.113s coverage: 21.7% of statements 05:58:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:58:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.592s coverage: 43.6% of statements 05:58:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 05:58:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.787s coverage: 68.9% of statements 05:58:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 05:58:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 05:58:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:58:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:58:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.169s coverage: 53.8% of statements 05:58:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 05:58:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 05:58:36 --- FAIL: TestSecretRequest (0.04s) 05:58:36 --- FAIL: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash (0.01s) 05:58:36 common_test.go:261: 05:58:36 Error Trace: common_test.go:261 05:58:36 Error: Not equal: 05:58:36 expected: 201 05:58:36 actual : 400 05:58:36 Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash 05:58:36 Messages: HTTP status code not as expected 05:58:36 common_test.go:263: 05:58:36 Error Trace: common_test.go:263 05:58:36 Error: Not equal: 05:58:36 expected: 201 05:58:36 actual : 400 05:58:36 Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash 05:58:36 Messages: BaseResponse status code not as expected 05:58:36 common_test.go:270: 05:58:36 Error Trace: common_test.go:270 05:58:36 Error: Not equal: 05:58:36 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 05:58:36 actual : "" 05:58:36 05:58:36 Diff: 05:58:36 --- Expected 05:58:36 +++ Actual 05:58:36 @@ -1 +1 @@ 05:58:36 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 05:58:36 + 05:58:36 Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash 05:58:36 Messages: RequestID not as expected 05:58:36 common_test.go:271: 05:58:36 Error Trace: common_test.go:271 05:58:36 Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required 05:58:36 Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash 05:58:36 Messages: Message not empty, as expected 05:58:36 --- FAIL: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.01s) 05:58:36 common_test.go:261: 05:58:36 Error Trace: common_test.go:261 05:58:36 Error: Not equal: 05:58:36 expected: 201 05:58:36 actual : 400 05:58:36 Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash 05:58:36 Messages: HTTP status code not as expected 05:58:36 common_test.go:263: 05:58:36 Error Trace: common_test.go:263 05:58:36 Error: Not equal: 05:58:36 expected: 201 05:58:36 actual : 400 05:58:36 Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash 05:58:36 Messages: BaseResponse status code not as expected 05:58:36 common_test.go:270: 05:58:36 Error Trace: common_test.go:270 05:58:36 Error: Not equal: 05:58:36 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 05:58:36 actual : "" 05:58:36 05:58:36 Diff: 05:58:36 --- Expected 05:58:36 +++ Actual 05:58:36 @@ -1 +1 @@ 05:58:36 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 05:58:36 + 05:58:36 Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash 05:58:36 Messages: RequestID not as expected 05:58:36 common_test.go:271: 05:58:36 Error Trace: common_test.go:271 05:58:36 Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required 05:58:36 Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash 05:58:36 Messages: Message not empty, as expected 05:58:36 --- FAIL: TestSecretRequest/Valid_-_both_trailing_slashes (0.01s) 05:58:36 common_test.go:261: 05:58:36 Error Trace: common_test.go:261 05:58:36 Error: Not equal: 05:58:36 expected: 201 05:58:36 actual : 400 05:58:36 Test: TestSecretRequest/Valid_-_both_trailing_slashes 05:58:36 Messages: HTTP status code not as expected 05:58:36 common_test.go:263: 05:58:36 Error Trace: common_test.go:263 05:58:36 Error: Not equal: 05:58:36 expected: 201 05:58:36 actual : 400 05:58:36 Test: TestSecretRequest/Valid_-_both_trailing_slashes 05:58:36 Messages: BaseResponse status code not as expected 05:58:36 common_test.go:270: 05:58:36 Error Trace: common_test.go:270 05:58:36 Error: Not equal: 05:58:36 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 05:58:36 actual : "" 05:58:36 05:58:36 Diff: 05:58:36 --- Expected 05:58:36 +++ Actual 05:58:36 @@ -1 +1 @@ 05:58:36 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 05:58:36 + 05:58:36 Test: TestSecretRequest/Valid_-_both_trailing_slashes 05:58:36 Messages: RequestID not as expected 05:58:36 common_test.go:271: 05:58:36 Error Trace: common_test.go:271 05:58:36 Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required 05:58:36 Test: TestSecretRequest/Valid_-_both_trailing_slashes 05:58:36 Messages: Message not empty, as expected 05:58:36 --- FAIL: TestSecretRequest/Valid_-_no_requestId (0.00s) 05:58:36 common_test.go:261: 05:58:36 Error Trace: common_test.go:261 05:58:36 Error: Not equal: 05:58:36 expected: 201 05:58:36 actual : 400 05:58:36 Test: TestSecretRequest/Valid_-_no_requestId 05:58:36 Messages: HTTP status code not as expected 05:58:36 common_test.go:263: 05:58:36 Error Trace: common_test.go:263 05:58:36 Error: Not equal: 05:58:36 expected: 201 05:58:36 actual : 400 05:58:36 Test: TestSecretRequest/Valid_-_no_requestId 05:58:36 Messages: BaseResponse status code not as expected 05:58:36 common_test.go:271: 05:58:36 Error Trace: common_test.go:271 05:58:36 Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required 05:58:36 Test: TestSecretRequest/Valid_-_no_requestId 05:58:36 Messages: Message not empty, as expected 05:58:36 --- FAIL: TestSecretRequest/Invalid_-_No_Secret_Store (0.00s) 05:58:36 common_test.go:261: 05:58:36 Error Trace: common_test.go:261 05:58:36 Error: Not equal: 05:58:36 expected: 500 05:58:36 actual : 400 05:58:36 Test: TestSecretRequest/Invalid_-_No_Secret_Store 05:58:36 Messages: HTTP status code not as expected 05:58:36 common_test.go:263: 05:58:36 Error Trace: common_test.go:263 05:58:36 Error: Not equal: 05:58:36 expected: 500 05:58:36 actual : 400 05:58:36 Test: TestSecretRequest/Invalid_-_No_Secret_Store 05:58:36 Messages: BaseResponse status code not as expected 05:58:36 FAIL 05:58:36 coverage: 17.3% of statements 05:58:36 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.163s 05:58:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.703s coverage: 83.5% of statements 05:58:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 4.2% of statements 05:58:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:58:36 FAIL 05:58:36 make: *** [Makefile:32: test] Error 1 [Pipeline] } 05:58:36 $ docker stop --time=1 f4b15714b49a1a9fc7d0f694a7624fd748a76cd8fee50f21595041a692645afb 05:58:38 $ docker rm -f f4b15714b49a1a9fc7d0f694a7624fd748a76cd8fee50f21595041a692645afb [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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:58:41 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 05:58:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:58:46 ---> package-listing.sh 05:58:46 ++ facter osfamily 05:58:46 ++ tr '[:upper:]' '[:lower:]' 05:58:46 + OS_FAMILY=redhat 05:58:46 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-772 05:58:46 + START_PACKAGES=/tmp/packages_start.txt 05:58:46 + END_PACKAGES=/tmp/packages_end.txt 05:58:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:58:46 + PACKAGES=/tmp/packages_start.txt 05:58:46 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-772 ']' 05:58:46 + PACKAGES=/tmp/packages_end.txt 05:58:46 + case "${OS_FAMILY}" in 05:58:46 + rpm -qa 05:58:46 + sort 05:58:52 + '[' -f /tmp/packages_start.txt ']' 05:58:52 + '[' -f /tmp/packages_end.txt ']' 05:58:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:58:52 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-772 ']' 05:58:52 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-772/archives/ 05:58:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-772/archives/ [Pipeline] echo 05:58:52 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/dgexfoundry_device-sdk-go_PR-772/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:58:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:58:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:58:52 05:58:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:58:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:58:53 alpine: Pulling from edgex-lftools-log-publisher 05:58:53 df20fa9351a1: Pulling fs layer 05:58:53 36b3adc4ff6f: Pulling fs layer 05:58:53 8ad3a11d3b57: Pulling fs layer 05:58:53 46f8f816bc3b: Pulling fs layer 05:58:53 93b61091891f: Pulling fs layer 05:58:53 93b9cdb0e59b: Pulling fs layer 05:58:53 5e14af77c1be: Pulling fs layer 05:58:53 01666e4c0597: Pulling fs layer 05:58:53 aa168da1d23b: Pulling fs layer 05:58:53 93b9cdb0e59b: Waiting 05:58:53 5e14af77c1be: Waiting 05:58:53 01666e4c0597: Waiting 05:58:53 aa168da1d23b: Waiting 05:58:53 46f8f816bc3b: Waiting 05:58:53 93b61091891f: Waiting 05:58:53 36b3adc4ff6f: Verifying Checksum 05:58:53 36b3adc4ff6f: Download complete 05:58:53 46f8f816bc3b: Verifying Checksum 05:58:53 46f8f816bc3b: Download complete 05:58:53 df20fa9351a1: Verifying Checksum 05:58:53 93b9cdb0e59b: Verifying Checksum 05:58:53 93b9cdb0e59b: Download complete 05:58:53 5e14af77c1be: Verifying Checksum 05:58:53 5e14af77c1be: Download complete 05:58:53 01666e4c0597: Verifying Checksum 05:58:53 01666e4c0597: Download complete 05:58:53 93b61091891f: Verifying Checksum 05:58:53 93b61091891f: Download complete 05:58:53 8ad3a11d3b57: Verifying Checksum 05:58:53 8ad3a11d3b57: Download complete 05:58:53 df20fa9351a1: Pull complete 05:58:54 36b3adc4ff6f: Pull complete 05:58:55 8ad3a11d3b57: Pull complete 05:58:55 46f8f816bc3b: Pull complete 05:58:55 aa168da1d23b: Verifying Checksum 05:58:55 aa168da1d23b: Download complete 05:58:55 93b61091891f: Pull complete 05:58:56 93b9cdb0e59b: Pull complete 05:58:56 5e14af77c1be: Pull complete 05:58:56 01666e4c0597: Pull complete 05:59:03 aa168da1d23b: Pull complete 05:59:03 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:59:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:59:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:59:03 prd-centos7-docker-4c-2g-24672 does not seem to be running inside a container 05:59:03 $ 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/dgexfoundry_device-sdk-go_PR-772/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-772 -v /w/workspace/dgexfoundry_device-sdk-go_PR-772:/w/workspace/dgexfoundry_device-sdk-go_PR-772:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-772@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-772@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:59:07 $ docker top 6ca4e4bfb6fe5c0b6c2d6b9eed78758ac7057445d6709d9f1ee37be2cf12e095 -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:07 + touch /tmp/pre-build-complete [Pipeline] sh 05:59:08 + mkdir -p /var/log/sa [Pipeline] sh 05:59:08 + ls /var/log/sa-host 05:59:08 + sadf -c /var/log/sa-host/sa03 05:59:08 file_magic: OK 05:59:08 HZ: Using current value: 100 05:59:08 file_header: OK 05:59:08 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 05:59:08 Statistics: 05:59:08 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:59:08 File successfully converted to sysstat format version 12.2.1 05:59:08 + sadf -c /var/log/sa-host/sa23 05:59:08 file_magic: OK 05:59:08 HZ: Using current value: 100 05:59:08 file_header: OK 05:59:08 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 05:59:08 Statistics: 05:59:08 Hnuu...uuuununununu... 05:59:08 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:59:09 provisioning config files... 05:59:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-772@tmp/config7988947974478378055tmp [Pipeline] { [Pipeline] echo 05:59:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:59:09 ---> create-netrc.sh [Pipeline] } 05:59:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:59:09 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:59:10 ---> python-tools-install.sh [Pipeline] echo 05:59:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:59:10 ---> sudo-logs.sh 05:59:10 Archiving 'sudo' log.. [Pipeline] echo 05:59:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:59:10 ---> job-cost.sh 05:59:10 lf-activate-venv: SKIPPING 05:59:10 INFO: No Stack... 05:59:11 INFO: Retrieving Pricing Info for: v1-standard-2 05:59:12 INFO: Archiving Costs [Pipeline] echo 05:59:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:59:12 ---> logs-deploy.sh 05:59:12 lf-activate-venv: SKIPPING 05:59:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-772/1 05:59:12 INFO: archiving workspace using pattern(s): 05:59:14 Archives upload complete. 05:59:14 INFO: archiving logs to Nexus