Pull request #768 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 7af912c45a376a8520a68a386b6086ff58bb65ae+3aea893206dfece0cb943228d650ae216607898f (6d66446853cd323e5191403ff1291280830ade9f) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # 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 > 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 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 > git rev-parse --is-inside-work-tree # 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 > 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 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-25561 in /w/workspace/dgexfoundry_device-sdk-go_PR-768 [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-768 # 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 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 7af912c45a376a8520a68a386b6086ff58bb65ae Merge succeeded, producing 7af912c45a376a8520a68a386b6086ff58bb65ae Checking out Revision 7af912c45a376a8520a68a386b6086ff58bb65ae (PR-768) > 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/768/head:refs/remotes/origin/PR-768 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7af912c45a376a8520a68a386b6086ff58bb65ae # 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 7af912c45a376a8520a68a386b6086ff58bb65ae # timeout=10 Commit message: "fix: fix requested changes in PR" > git rev-list --no-walk 583d86123c274110cf062250fdbdaf3d8e054e54 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:05:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:05:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:05:10 ========================================================= 11:05:10 EdgeX Global Pipelines Version Info 11:05:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:05:12 ------------------- 11:05:12 stable info: 11:05:12 ------------------- 11:05:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:05:12 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 11:05:12 Message: update stable to v1.0.179 11:05:13 ------------------- 11:05:13 experimental info: 11:05:13 ------------------- 11:05:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:05:13 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 11:05:13 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:05:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 11:05:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 11:05:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:05:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:05:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:05:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 11:05:14 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 11:05:14 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 11:05:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 11:05:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:05:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:05:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 11:05:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:05:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:05:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:05:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 11:05:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:05:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:05:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:05:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:05:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 11:05:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 11:05:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:05:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:05:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:05:16 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 11:05:16 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 11:05:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-768 [Pipeline] echo 11:05:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-768 [Pipeline] echo 11:05:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-768 [Pipeline] echo 11:05:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7af912c45a376a8520a68a386b6086ff58bb65ae [Pipeline] echo 11:05:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7af912c [Pipeline] echo 11:05:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:05:17 provisioning config files... 11:05:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/config4097337309999728032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:05:17 ---> docker-login.sh 11:05:17 nexus3.edgexfoundry.org:10001 11:05:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:18 Configure a credential helper to remove this warning. See 11:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:18 11:05:18 Login Succeeded 11:05:18 nexus3.edgexfoundry.org:10002 11:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:18 Configure a credential helper to remove this warning. See 11:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:18 11:05:18 Login Succeeded 11:05:18 nexus3.edgexfoundry.org:10003 11:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:18 Configure a credential helper to remove this warning. See 11:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:18 11:05:18 Login Succeeded 11:05:18 nexus3.edgexfoundry.org:10004 11:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:18 Configure a credential helper to remove this warning. See 11:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:18 11:05:18 Login Succeeded 11:05:18 docker.io 11:05:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:18 Configure a credential helper to remove this warning. See 11:05:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:18 11:05:18 Login Succeeded 11:05:18 ---> docker-login.sh ends [Pipeline] } 11:05:18 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 11:05:19 + git log --format=format:%s -1 7af912c45a376a8520a68a386b6086ff58bb65ae [Pipeline] echo 11:05:19 GIT_COMMIT: 7af912c45a376a8520a68a386b6086ff58bb65ae, Commit Message: fix: fix requested changes in PR [Pipeline] echo 11:05:19 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 11:05:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:05:20 11:05:20 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:05:20 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:05:20 latest: Pulling from edgex-devops/git-semver 11:05:20 31603596830f: Pulling fs layer 11:05:20 2a8b12db71e7: Pulling fs layer 11:05:20 6ca5941a6612: Pulling fs layer 11:05:20 ecc8261a40a4: Pulling fs layer 11:05:20 ecc8261a40a4: Waiting 11:05:20 2a8b12db71e7: Verifying Checksum 11:05:20 2a8b12db71e7: Download complete 11:05:21 31603596830f: Verifying Checksum 11:05:21 31603596830f: Download complete 11:05:21 ecc8261a40a4: Verifying Checksum 11:05:21 ecc8261a40a4: Download complete 11:05:21 6ca5941a6612: Verifying Checksum 11:05:21 6ca5941a6612: Download complete 11:05:21 31603596830f: Pull complete 11:05:21 2a8b12db71e7: Pull complete 11:05:22 6ca5941a6612: Pull complete 11:05:22 ecc8261a40a4: Pull complete 11:05:22 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 11:05:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:05:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:05:22 prd-centos7-docker-4c-2g-25561 does not seem to be running inside a container 11:05:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-768 -v /w/workspace/dgexfoundry_device-sdk-go_PR-768:/w/workspace/dgexfoundry_device-sdk-go_PR-768:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:05:24 $ docker top 49b48b241ac282da7319e89227a7d5233de3b0587684eb818df30315aa414e9f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:05:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:05:25 [ssh-agent] Looking for ssh-agent implementation... 11:05:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:05:25 $ docker exec 49b48b241ac282da7319e89227a7d5233de3b0587684eb818df30315aa414e9f ssh-agent 11:05:25 SSH_AUTH_SOCK=/tmp/ssh-jWf60DvRRDrv/agent.11 11:05:25 SSH_AGENT_PID=17 11:05:25 Running ssh-add (command line suppressed) 11:05:25 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/private_key_6379507025644763577.key (/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/private_key_6379507025644763577.key) 11:05:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:05:26 + git tag --points-at HEAD [Pipeline] } 11:05:26 $ docker exec --env ******** --env ******** 49b48b241ac282da7319e89227a7d5233de3b0587684eb818df30315aa414e9f ssh-agent -k 11:05:26 unset SSH_AUTH_SOCK; 11:05:26 unset SSH_AGENT_PID; 11:05:26 echo Agent pid 17 killed; 11:05:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:05:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:05:26 [ssh-agent] Looking for ssh-agent implementation... 11:05:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:05:26 $ docker exec 49b48b241ac282da7319e89227a7d5233de3b0587684eb818df30315aa414e9f ssh-agent 11:05:26 SSH_AUTH_SOCK=/tmp/ssh-QuQ6znhtBNBQ/agent.47 11:05:26 SSH_AGENT_PID=53 11:05:26 Running ssh-add (command line suppressed) 11:05:26 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/private_key_3134391926501785411.key (/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/private_key_3134391926501785411.key) 11:05:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:05:27 + git semver init 11:05:27 # -> Open(): unable to determine branch for HEAD 11:05:27 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-768/.git 11:05:27 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-768 11:05:27 # $SEMVER_REMOTE_NAME = origin 11:05:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:05:27 # $SEMVER_USER_NAME = edgex-jenkins 11:05:27 # $SEMVER_BRANCH = PR-768 11:05:27 # $SEMVER_TEMP = /tmp/semver-809744596 11:05:27 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 11:05:27 # '/tmp/semver-809744596' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-768/.semver' 11:05:27 # -> Force: false 11:05:27 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-768/.semver [Pipeline] } 11:05:27 $ docker exec --env ******** --env ******** 49b48b241ac282da7319e89227a7d5233de3b0587684eb818df30315aa414e9f ssh-agent -k 11:05:27 unset SSH_AUTH_SOCK; 11:05:27 unset SSH_AGENT_PID; 11:05:27 echo Agent pid 53 killed; 11:05:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:05:28 + git semver [Pipeline] } 11:05:28 $ docker stop --time=1 49b48b241ac282da7319e89227a7d5233de3b0587684eb818df30315aa414e9f 11:05:29 $ docker rm -f 49b48b241ac282da7319e89227a7d5233de3b0587684eb818df30315aa414e9f [Pipeline] // withDockerContainer [Pipeline] sh 11:05:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:05:30 Stashed 1 file(s) [Pipeline] echo 11:05:30 [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 11:05:46 Still waiting to schedule task 11:05:46 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-25561’ 11:05:46 Still waiting to schedule task 11:05:46 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 11:07:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-25562 in /w/workspace/dgexfoundry_device-sdk-go_PR-768 [Pipeline] { [Pipeline] ws 11:07:37 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 11:07:42 using credential edgex-jenkins-ssh 11:07:42 Cloning the remote Git repository 11:07:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 11:07:42 > git init /w/workspace/device-sdk-go/3 # timeout=10 11:07:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:07:42 > git --version # timeout=10 11:07:42 > git --version # 'git version 2.17.1' 11:07:42 using GIT_SSH to set credentials SSH Credentials for GitHub 11:07:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:07:44 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 7af912c45a376a8520a68a386b6086ff58bb65ae 11:07:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:07:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:07:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:07:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:07:43 using GIT_SSH to set credentials SSH Credentials for GitHub 11:07:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/768/head:refs/remotes/origin/PR-768 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:07:44 > git config core.sparsecheckout # timeout=10 11:07:44 > git checkout -f 7af912c45a376a8520a68a386b6086ff58bb65ae # timeout=10 11:07:44 > git remote # timeout=10 11:07:44 > git config --get remote.origin.url # timeout=10 11:07:44 Merge succeeded, producing 7af912c45a376a8520a68a386b6086ff58bb65ae 11:07:44 Checking out Revision 7af912c45a376a8520a68a386b6086ff58bb65ae (PR-768) 11:07:44 using GIT_SSH to set credentials SSH Credentials for GitHub 11:07:44 > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 11:07:44 > git rev-parse HEAD^{commit} # timeout=10 11:07:44 > git config core.sparsecheckout # timeout=10 11:07:45 > git checkout -f 7af912c45a376a8520a68a386b6086ff58bb65ae # timeout=10 11:07:49 Commit message: "fix: fix requested changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:07:51 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 11:07:51 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 11:07:52 + sudo service docker restart 11:07:52 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:07:54 provisioning config files... 11:07:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1743849448173627940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:07:55 ---> docker-login.sh 11:07:55 nexus3.edgexfoundry.org:10001 11:07:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:56 Configure a credential helper to remove this warning. See 11:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:56 11:07:56 Login Succeeded 11:07:56 nexus3.edgexfoundry.org:10002 11:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:56 Configure a credential helper to remove this warning. See 11:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:56 11:07:56 Login Succeeded 11:07:56 nexus3.edgexfoundry.org:10003 11:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:57 Configure a credential helper to remove this warning. See 11:07:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:57 11:07:57 Login Succeeded 11:07:57 nexus3.edgexfoundry.org:10004 11:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:58 Configure a credential helper to remove this warning. See 11:07:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:58 11:07:58 Login Succeeded 11:07:58 docker.io 11:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:58 Configure a credential helper to remove this warning. See 11:07:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:58 11:07:58 Login Succeeded 11:07:58 ---> docker-login.sh ends [Pipeline] } 11:07:58 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:07:59 ========================================================= 11:07:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 11:07:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:07: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 . 11:08:00 Sending build context to Docker daemon 2.429MB 11:08:00 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 11:08:00 Step 2/8 : FROM ${BASE} 11:08:00 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:08:00 5f621e34cdf4: Pulling fs layer 11:08:00 a4357932f1b6: Pulling fs layer 11:08:00 18c013af1878: Pulling fs layer 11:08:00 00ac8860ef70: Pulling fs layer 11:08:00 63d7cb157983: Pulling fs layer 11:08:00 b116817d02f9: Pulling fs layer 11:08:00 745a02a5169b: Pulling fs layer 11:08:00 b116817d02f9: Waiting 11:08:00 00ac8860ef70: Waiting 11:08:00 745a02a5169b: Waiting 11:08:00 63d7cb157983: Waiting 11:08:00 18c013af1878: Verifying Checksum 11:08:00 18c013af1878: Download complete 11:08:00 a4357932f1b6: Verifying Checksum 11:08:00 a4357932f1b6: Download complete 11:08:00 63d7cb157983: Verifying Checksum 11:08:00 63d7cb157983: Download complete 11:08:00 b116817d02f9: Verifying Checksum 11:08:00 b116817d02f9: Download complete 11:08:00 5f621e34cdf4: Verifying Checksum 11:08:00 5f621e34cdf4: Download complete 11:08:01 5f621e34cdf4: Pull complete 11:08:01 a4357932f1b6: Pull complete 11:08:02 18c013af1878: Pull complete 11:08:03 745a02a5169b: Download complete 11:08:04 00ac8860ef70: Verifying Checksum 11:08:04 00ac8860ef70: Download complete 11:08:14 00ac8860ef70: Pull complete 11:08:14 63d7cb157983: Pull complete 11:08:14 b116817d02f9: Pull complete 11:08:17 Running on prd-centos7-docker-4c-2g-25563 in /w/workspace/dgexfoundry_device-sdk-go_PR-768 [Pipeline] { [Pipeline] ws 11:08:17 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 11:08:19 745a02a5169b: Pull complete 11:08:19 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 11:08:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 11:08:19 ---> b7e6874047d6 11:08:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 11:08:20 using credential edgex-jenkins-ssh 11:08:20 Cloning the remote Git repository 11:08:20 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 11:08:20 > git init /w/workspace/device-sdk-go/3 # timeout=10 11:08:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:08:20 > git --version # timeout=10 11:08:20 > git --version # 'git version 2.24.3' 11:08:20 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:08:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:08:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:08:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 11:08:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 11:08:21 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/768/head:refs/remotes/origin/PR-768 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:08:21 ---> Running in b3e1528157a1 11:08:21 Removing intermediate container b3e1528157a1 11:08:21 ---> 4d96d938e041 11:08:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:08:21 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 7af912c45a376a8520a68a386b6086ff58bb65ae 11:08:21 Merge succeeded, producing 7af912c45a376a8520a68a386b6086ff58bb65ae 11:08:21 Checking out Revision 7af912c45a376a8520a68a386b6086ff58bb65ae (PR-768) 11:08:21 ---> Running in 8a4ec601743d 11:08:21 > git config core.sparsecheckout # timeout=10 11:08:21 > git checkout -f 7af912c45a376a8520a68a386b6086ff58bb65ae # timeout=10 11:08:21 > git remote # timeout=10 11:08:21 > git config --get remote.origin.url # timeout=10 11:08:21 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:21 > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 11:08:21 > git rev-parse HEAD^{commit} # timeout=10 11:08:21 > git config core.sparsecheckout # timeout=10 11:08:21 > git checkout -f 7af912c45a376a8520a68a386b6086ff58bb65ae # timeout=10 11:08:23 Removing intermediate container 8a4ec601743d 11:08:23 ---> 6ffbf9ce9484 11:08:23 Step 5/8 : RUN apk add --update --no-cache make git 11:08:24 ---> Running in 616b4196950c 11:08:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 11:08:25 Commit message: "fix: fix requested changes in PR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:08:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 11:08:26 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 11:08:27 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 11:08:27 OK: 142 MiB in 39 packages 11:08:27 + sudo service docker restart 11:08:27 + true 11:08:27 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 11:08:28 provisioning config files... 11:08:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3808524859792773740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:08:28 Removing intermediate container 616b4196950c 11:08:28 ---> e3bd9ebe6034 11:08:28 Step 6/8 : WORKDIR /device-sdk-go 11:08:28 ---> Running in 95a6b0a7cd36 11:08:28 ---> docker-login.sh 11:08:28 nexus3.edgexfoundry.org:10001 11:08:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:29 Configure a credential helper to remove this warning. See 11:08:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:29 11:08:29 Login Succeeded 11:08:29 nexus3.edgexfoundry.org:10002 11:08:29 Removing intermediate container 95a6b0a7cd36 11:08:29 ---> 35e07366269d 11:08:29 Step 7/8 : COPY . . 11:08:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:29 Configure a credential helper to remove this warning. See 11:08:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:29 11:08:29 Login Succeeded 11:08:29 nexus3.edgexfoundry.org:10003 11:08:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:29 Configure a credential helper to remove this warning. See 11:08:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:29 11:08:29 Login Succeeded 11:08:29 nexus3.edgexfoundry.org:10004 11:08:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:29 Configure a credential helper to remove this warning. See 11:08:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:29 11:08:29 Login Succeeded 11:08:29 docker.io 11:08:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:30 Configure a credential helper to remove this warning. See 11:08:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:30 11:08:30 Login Succeeded 11:08:30 ---> docker-login.sh ends [Pipeline] } 11:08:30 Deleting 1 temporary files [Pipeline] // wrap 11:08:30 ---> 58aff7eec48a 11:08:30 Step 8/8 : RUN go mod download [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:08:30 ========================================================= 11:08:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 11:08:30 ========================================================= 11:08:30 ---> Running in 9814327fca2b [Pipeline] isUnix [Pipeline] sh 11:08:30 + 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 . 11:08:30 Sending build context to Docker daemon 2.43MB 11:08:30 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 11:08:30 Step 2/8 : FROM ${BASE} 11:08:31 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 11:08:31 188c0c94c7c5: Pulling fs layer 11:08:31 0ef7d3d256c8: Pulling fs layer 11:08:31 de9db76c5a1d: Pulling fs layer 11:08:31 bca2f99d35d6: Pulling fs layer 11:08:31 93359f2a8cfa: Pulling fs layer 11:08:31 7c6f9722023f: Pulling fs layer 11:08:31 a35cf1a2eb13: Pulling fs layer 11:08:31 93359f2a8cfa: Waiting 11:08:31 7c6f9722023f: Waiting 11:08:31 a35cf1a2eb13: Waiting 11:08:31 bca2f99d35d6: Waiting 11:08:31 de9db76c5a1d: Verifying Checksum 11:08:31 de9db76c5a1d: Download complete 11:08:31 0ef7d3d256c8: Verifying Checksum 11:08:31 0ef7d3d256c8: Download complete 11:08:31 93359f2a8cfa: Verifying Checksum 11:08:31 93359f2a8cfa: Download complete 11:08:31 188c0c94c7c5: Verifying Checksum 11:08:31 188c0c94c7c5: Download complete 11:08:31 7c6f9722023f: Verifying Checksum 11:08:31 7c6f9722023f: Download complete 11:08:31 188c0c94c7c5: Pull complete 11:08:31 0ef7d3d256c8: Pull complete 11:08:31 de9db76c5a1d: Pull complete 11:08:32 a35cf1a2eb13: Verifying Checksum 11:08:32 a35cf1a2eb13: Download complete 11:08:33 bca2f99d35d6: Verifying Checksum 11:08:33 bca2f99d35d6: Download complete 11:08:38 bca2f99d35d6: Pull complete 11:08:39 93359f2a8cfa: Pull complete 11:08:39 7c6f9722023f: Pull complete 11:08:47 a35cf1a2eb13: Pull complete 11:08:47 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 11:08:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 11:08:47 ---> a62c8e92a672 11:08:47 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 11:08:47 ---> Running in b6ec491a5283 11:08:47 Removing intermediate container b6ec491a5283 11:08:47 ---> ccd516f15a5c 11:08:47 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:08:47 ---> Running in 61f199e2e3b0 11:08:49 Removing intermediate container 61f199e2e3b0 11:08:49 ---> 067e55bd6542 11:08:49 Step 5/8 : RUN apk add --update --no-cache make git 11:08:49 ---> Running in af29926d56c3 11:08:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 11:08:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 11:08:51 OK: 166 MiB in 39 packages 11:08:51 Removing intermediate container af29926d56c3 11:08:51 ---> 7ae48160a4cc 11:08:51 Step 6/8 : WORKDIR /device-sdk-go 11:08:51 ---> Running in ad9331f446ad 11:08:52 Removing intermediate container ad9331f446ad 11:08:52 ---> dafd77a9b8be 11:08:52 Step 7/8 : COPY . . 11:08:53 ---> 6be9e4baef80 11:08:53 Step 8/8 : RUN go mod download 11:08:53 ---> Running in 58bf51d05c9a 11:08:57 Removing intermediate container 9814327fca2b 11:08:57 ---> 0b7fc307087b 11:08:57 Successfully built 0b7fc307087b 11:08:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:08:57 + docker inspect -f . ci-base-image-arm64 11:08:57 . [Pipeline] withDockerContainer 11:08:57 prd-ubuntu18.04-docker-arm64-4c-16g-25562 does not seem to be running inside a container 11:08:57 $ 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 11:08:59 $ docker top 3346d84a7c7dbf95509126ca927304c9ad49687e06fdaa2441164da9085e8237 -eo pid,comm [Pipeline] { [Pipeline] sh 11:09:00 + go version 11:09:00 go version go1.15.5 linux/arm64 [Pipeline] } 11:09:00 $ docker stop --time=1 3346d84a7c7dbf95509126ca927304c9ad49687e06fdaa2441164da9085e8237 11:09:02 $ docker rm -f 3346d84a7c7dbf95509126ca927304c9ad49687e06fdaa2441164da9085e8237 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:09:03 + docker inspect -f . ci-base-image-arm64 11:09:03 . [Pipeline] withDockerContainer 11:09:03 prd-ubuntu18.04-docker-arm64-4c-16g-25562 does not seem to be running inside a container 11:09: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 11:09:05 $ docker top 451a68fe804409b2ea7972c14d4ffdd000088a1b2435a4622fefbcdfc3a7c561 -eo pid,comm [Pipeline] { [Pipeline] sh 11:09:06 + make test 11:09:06 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 11:09:15 Removing intermediate container 58bf51d05c9a 11:09:15 ---> bdbd9929986b 11:09:15 Successfully built bdbd9929986b 11:09:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:09:15 + docker inspect -f . ci-base-image-x86_64 11:09:15 . [Pipeline] withDockerContainer 11:09:16 prd-centos7-docker-4c-2g-25563 does not seem to be running inside a container 11:09:16 $ 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-x86_64 cat 11:09:17 $ docker top 451794a2f2597eaafd34574d19cb8a4e56271c1fb2d9bffa497a99c32675ffaa -eo pid,comm [Pipeline] { [Pipeline] sh 11:09:18 + go version 11:09:18 go version go1.15.5 linux/amd64 [Pipeline] } 11:09:18 $ docker stop --time=1 451794a2f2597eaafd34574d19cb8a4e56271c1fb2d9bffa497a99c32675ffaa 11:09:19 $ docker rm -f 451794a2f2597eaafd34574d19cb8a4e56271c1fb2d9bffa497a99c32675ffaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:09:20 + docker inspect -f . ci-base-image-x86_64 11:09:20 . [Pipeline] withDockerContainer 11:09:20 prd-centos7-docker-4c-2g-25563 does not seem to be running inside a container 11:09:20 $ 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-x86_64 cat 11:09:21 $ docker top fc69f9fe22cc9c41785d0c9f895d3daf8d45b2bcab86cafd516132e66d30fb6d -eo pid,comm [Pipeline] { [Pipeline] sh 11:09:21 + make test 11:09:21 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 11:09:28 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 11:09:29 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 11:09:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 11:09:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 11:09:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 11:09:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 25.5% of statements 11:10:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 11:10:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 11:10:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 11:10:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.159s coverage: 25.5% of statements 11:10:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.071s coverage: 10.1% of statements 11:10:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.074s coverage: 12.5% of statements 11:10:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 11:10:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.067s coverage: 84.8% of statements 11:10:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 11:10:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 11:10:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 11:10:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 11:10:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 49.2% of statements 11:10:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 11:10:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 11:10:19 --- FAIL: TestSecretRequest (0.01s) 11:10:19 --- FAIL: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash (0.00s) 11:10:19 common_test.go:261: 11:10:19 Error Trace: common_test.go:261 11:10:19 Error: Not equal: 11:10:19 expected: 201 11:10:19 actual : 400 11:10:19 Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash 11:10:19 Messages: HTTP status code not as expected 11:10:19 common_test.go:263: 11:10:19 Error Trace: common_test.go:263 11:10:19 Error: Not equal: 11:10:19 expected: 201 11:10:19 actual : 400 11:10:19 Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash 11:10:19 Messages: BaseResponse status code not as expected 11:10:19 common_test.go:270: 11:10:19 Error Trace: common_test.go:270 11:10:19 Error: Not equal: 11:10:19 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 11:10:19 actual : "" 11:10:19 11:10:19 Diff: 11:10:19 --- Expected 11:10:19 +++ Actual 11:10:19 @@ -1 +1 @@ 11:10:19 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 11:10:19 + 11:10:19 Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash 11:10:19 Messages: RequestID not as expected 11:10:19 common_test.go:271: 11:10:19 Error Trace: common_test.go:271 11:10:19 Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required 11:10:19 Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash 11:10:19 Messages: Message not empty, as expected 11:10:19 --- FAIL: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) 11:10:19 common_test.go:261: 11:10:19 Error Trace: common_test.go:261 11:10:19 Error: Not equal: 11:10:19 expected: 201 11:10:19 actual : 400 11:10:19 Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash 11:10:19 Messages: HTTP status code not as expected 11:10:19 common_test.go:263: 11:10:19 Error Trace: common_test.go:263 11:10:19 Error: Not equal: 11:10:19 expected: 201 11:10:19 actual : 400 11:10:19 Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash 11:10:19 Messages: BaseResponse status code not as expected 11:10:19 common_test.go:270: 11:10:19 Error Trace: common_test.go:270 11:10:19 Error: Not equal: 11:10:19 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 11:10:19 actual : "" 11:10:19 11:10:19 Diff: 11:10:19 --- Expected 11:10:19 +++ Actual 11:10:19 @@ -1 +1 @@ 11:10:19 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 11:10:19 + 11:10:19 Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash 11:10:19 Messages: RequestID not as expected 11:10:19 common_test.go:271: 11:10:19 Error Trace: common_test.go:271 11:10:19 Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required 11:10:19 Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash 11:10:19 Messages: Message not empty, as expected 11:10:19 --- FAIL: TestSecretRequest/Valid_-_both_trailing_slashes (0.00s) 11:10:19 common_test.go:261: 11:10:19 Error Trace: common_test.go:261 11:10:19 Error: Not equal: 11:10:19 expected: 201 11:10:19 actual : 400 11:10:19 Test: TestSecretRequest/Valid_-_both_trailing_slashes 11:10:19 Messages: HTTP status code not as expected 11:10:19 common_test.go:263: 11:10:19 Error Trace: common_test.go:263 11:10:19 Error: Not equal: 11:10:19 expected: 201 11:10:19 actual : 400 11:10:19 Test: TestSecretRequest/Valid_-_both_trailing_slashes 11:10:19 Messages: BaseResponse status code not as expected 11:10:19 common_test.go:270: 11:10:19 Error Trace: common_test.go:270 11:10:19 Error: Not equal: 11:10:19 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 11:10:19 actual : "" 11:10:19 11:10:19 Diff: 11:10:19 --- Expected 11:10:19 +++ Actual 11:10:19 @@ -1 +1 @@ 11:10:19 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 11:10:19 + 11:10:19 Test: TestSecretRequest/Valid_-_both_trailing_slashes 11:10:19 Messages: RequestID not as expected 11:10:19 common_test.go:271: 11:10:19 Error Trace: common_test.go:271 11:10:19 Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required 11:10:19 Test: TestSecretRequest/Valid_-_both_trailing_slashes 11:10:19 Messages: Message not empty, as expected 11:10:19 --- FAIL: TestSecretRequest/Valid_-_no_requestId (0.00s) 11:10:19 common_test.go:261: 11:10:19 Error Trace: common_test.go:261 11:10:19 Error: Not equal: 11:10:19 expected: 201 11:10:19 actual : 400 11:10:19 Test: TestSecretRequest/Valid_-_no_requestId 11:10:19 Messages: HTTP status code not as expected 11:10:19 common_test.go:263: 11:10:19 Error Trace: common_test.go:263 11:10:19 Error: Not equal: 11:10:19 expected: 201 11:10:19 actual : 400 11:10:19 Test: TestSecretRequest/Valid_-_no_requestId 11:10:19 Messages: BaseResponse status code not as expected 11:10:19 common_test.go:271: 11:10:19 Error Trace: common_test.go:271 11:10:19 Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required 11:10:19 Test: TestSecretRequest/Valid_-_no_requestId 11:10:19 Messages: Message not empty, as expected 11:10:19 --- FAIL: TestSecretRequest/Invalid_-_No_Secret_Store (0.00s) 11:10:19 common_test.go:261: 11:10:19 Error Trace: common_test.go:261 11:10:19 Error: Not equal: 11:10:19 expected: 500 11:10:19 actual : 400 11:10:19 Test: TestSecretRequest/Invalid_-_No_Secret_Store 11:10:19 Messages: HTTP status code not as expected 11:10:19 common_test.go:263: 11:10:19 Error Trace: common_test.go:263 11:10:19 Error: Not equal: 11:10:19 expected: 500 11:10:19 actual : 400 11:10:19 Test: TestSecretRequest/Invalid_-_No_Secret_Store 11:10:19 Messages: BaseResponse status code not as expected 11:10:19 FAIL 11:10:19 coverage: 17.0% of statements 11:10:19 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.057s 11:10:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.380s coverage: 83.5% of statements 11:10:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 5.3% of statements 11:10:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 11:10:19 FAIL 11:10:19 make: *** [Makefile:32: test] Error 1 [Pipeline] } 11:10:19 $ docker stop --time=1 fc69f9fe22cc9c41785d0c9f895d3daf8d45b2bcab86cafd516132e66d30fb6d 11:10:21 $ docker rm -f fc69f9fe22cc9c41785d0c9f895d3daf8d45b2bcab86cafd516132e66d30fb6d [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] } 11:10:22 Failed in branch amd64 11:10:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.115s coverage: 10.1% of statements 11:10:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.169s coverage: 12.5% of statements 11:10:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 11:10:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.173s coverage: 84.8% of statements 11:10:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 11:10:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 11:10:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 11:10:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 11:10:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.183s coverage: 49.2% of statements 11:10:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 11:10:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 11:10:44 --- FAIL: TestSecretRequest (0.04s) 11:10:44 --- FAIL: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash (0.01s) 11:10:44 common_test.go:261: 11:10:44 Error Trace: common_test.go:261 11:10:44 Error: Not equal: 11:10:44 expected: 201 11:10:44 actual : 400 11:10:44 Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash 11:10:44 Messages: HTTP status code not as expected 11:10:44 common_test.go:263: 11:10:44 Error Trace: common_test.go:263 11:10:44 Error: Not equal: 11:10:44 expected: 201 11:10:44 actual : 400 11:10:44 Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash 11:10:44 Messages: BaseResponse status code not as expected 11:10:44 common_test.go:270: 11:10:44 Error Trace: common_test.go:270 11:10:44 Error: Not equal: 11:10:44 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 11:10:44 actual : "" 11:10:44 11:10:44 Diff: 11:10:44 --- Expected 11:10:44 +++ Actual 11:10:44 @@ -1 +1 @@ 11:10:44 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 11:10:44 + 11:10:44 Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash 11:10:44 Messages: RequestID not as expected 11:10:44 common_test.go:271: 11:10:44 Error Trace: common_test.go:271 11:10:44 Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required 11:10:44 Test: TestSecretRequest/Valid_-_sub-path_no_trailing_slash,_SecretPath_has_trailing_slash 11:10:44 Messages: Message not empty, as expected 11:10:44 --- FAIL: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash (0.00s) 11:10:44 common_test.go:261: 11:10:44 Error Trace: common_test.go:261 11:10:44 Error: Not equal: 11:10:44 expected: 201 11:10:44 actual : 400 11:10:44 Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash 11:10:44 Messages: HTTP status code not as expected 11:10:44 common_test.go:263: 11:10:44 Error Trace: common_test.go:263 11:10:44 Error: Not equal: 11:10:44 expected: 201 11:10:44 actual : 400 11:10:44 Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash 11:10:44 Messages: BaseResponse status code not as expected 11:10:44 common_test.go:270: 11:10:44 Error Trace: common_test.go:270 11:10:44 Error: Not equal: 11:10:44 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 11:10:44 actual : "" 11:10:44 11:10:44 Diff: 11:10:44 --- Expected 11:10:44 +++ Actual 11:10:44 @@ -1 +1 @@ 11:10:44 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 11:10:44 + 11:10:44 Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash 11:10:44 Messages: RequestID not as expected 11:10:44 common_test.go:271: 11:10:44 Error Trace: common_test.go:271 11:10:44 Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required 11:10:44 Test: TestSecretRequest/Valid_-_sub-path_only_with_trailing_slash 11:10:44 Messages: Message not empty, as expected 11:10:44 --- FAIL: TestSecretRequest/Valid_-_both_trailing_slashes (0.00s) 11:10:44 common_test.go:261: 11:10:44 Error Trace: common_test.go:261 11:10:44 Error: Not equal: 11:10:44 expected: 201 11:10:44 actual : 400 11:10:44 Test: TestSecretRequest/Valid_-_both_trailing_slashes 11:10:44 Messages: HTTP status code not as expected 11:10:44 common_test.go:263: 11:10:44 Error Trace: common_test.go:263 11:10:44 Error: Not equal: 11:10:44 expected: 201 11:10:44 actual : 400 11:10:44 Test: TestSecretRequest/Valid_-_both_trailing_slashes 11:10:44 Messages: BaseResponse status code not as expected 11:10:44 common_test.go:270: 11:10:44 Error Trace: common_test.go:270 11:10:44 Error: Not equal: 11:10:44 expected: "82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc" 11:10:44 actual : "" 11:10:44 11:10:44 Diff: 11:10:44 --- Expected 11:10:44 +++ Actual 11:10:44 @@ -1 +1 @@ 11:10:44 -82eb2e26-0f24-48aa-ae4c-de9dac3fb9bc 11:10:44 + 11:10:44 Test: TestSecretRequest/Valid_-_both_trailing_slashes 11:10:44 Messages: RequestID not as expected 11:10:44 common_test.go:271: 11:10:44 Error Trace: common_test.go:271 11:10:44 Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required 11:10:44 Test: TestSecretRequest/Valid_-_both_trailing_slashes 11:10:44 Messages: Message not empty, as expected 11:10:44 --- FAIL: TestSecretRequest/Valid_-_no_requestId (0.00s) 11:10:44 common_test.go:261: 11:10:44 Error Trace: common_test.go:261 11:10:44 Error: Not equal: 11:10:44 expected: 201 11:10:44 actual : 400 11:10:44 Test: TestSecretRequest/Valid_-_no_requestId 11:10:44 Messages: HTTP status code not as expected 11:10:44 common_test.go:263: 11:10:44 Error Trace: common_test.go:263 11:10:44 Error: Not equal: 11:10:44 expected: 201 11:10:44 actual : 400 11:10:44 Test: TestSecretRequest/Valid_-_no_requestId 11:10:44 Messages: BaseResponse status code not as expected 11:10:44 common_test.go:271: 11:10:44 Error Trace: common_test.go:271 11:10:44 Error: Should be empty, but was JSON decode failed -> SecretRequest validation failed. -> SecretRequest.BaseRequest.Versionable.ApiVersion field is required 11:10:44 Test: TestSecretRequest/Valid_-_no_requestId 11:10:44 Messages: Message not empty, as expected 11:10:44 --- FAIL: TestSecretRequest/Invalid_-_No_Secret_Store (0.00s) 11:10:44 common_test.go:261: 11:10:44 Error Trace: common_test.go:261 11:10:44 Error: Not equal: 11:10:44 expected: 500 11:10:44 actual : 400 11:10:44 Test: TestSecretRequest/Invalid_-_No_Secret_Store 11:10:44 Messages: HTTP status code not as expected 11:10:44 common_test.go:263: 11:10:44 Error Trace: common_test.go:263 11:10:44 Error: Not equal: 11:10:44 expected: 500 11:10:44 actual : 400 11:10:44 Test: TestSecretRequest/Invalid_-_No_Secret_Store 11:10:44 Messages: BaseResponse status code not as expected 11:10:44 FAIL 11:10:44 coverage: 17.0% of statements 11:10:44 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.172s 11:10:44 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.082s coverage: 83.5% of statements 11:10:44 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.150s coverage: 5.3% of statements 11:10:44 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 11:10:44 FAIL 11:10:44 make: *** [Makefile:32: test] Error 1 [Pipeline] } 11:10:44 $ docker stop --time=1 451a68fe804409b2ea7972c14d4ffdd000088a1b2435a4622fefbcdfc3a7c561 11:10:46 $ docker rm -f 451a68fe804409b2ea7972c14d4ffdd000088a1b2435a4622fefbcdfc3a7c561 [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] } 11:10:48 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 11:10:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:10:51 ---> package-listing.sh 11:10:51 ++ facter osfamily 11:10:51 ++ tr '[:upper:]' '[:lower:]' 11:10:51 + OS_FAMILY=redhat 11:10:51 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-768 11:10:51 + START_PACKAGES=/tmp/packages_start.txt 11:10:51 + END_PACKAGES=/tmp/packages_end.txt 11:10:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:10:51 + PACKAGES=/tmp/packages_start.txt 11:10:51 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-768 ']' 11:10:51 + PACKAGES=/tmp/packages_end.txt 11:10:51 + case "${OS_FAMILY}" in 11:10:51 + rpm -qa 11:10:51 + sort 11:10:56 + '[' -f /tmp/packages_start.txt ']' 11:10:56 + '[' -f /tmp/packages_end.txt ']' 11:10:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:10:56 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-768 ']' 11:10:56 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-768/archives/ 11:10:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-768/archives/ [Pipeline] echo 11:10:56 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-768/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:10:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:10:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:10:57 11:10:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 11:10:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:10:57 alpine: Pulling from edgex-lftools-log-publisher 11:10:57 df20fa9351a1: Pulling fs layer 11:10:57 36b3adc4ff6f: Pulling fs layer 11:10:57 8ad3a11d3b57: Pulling fs layer 11:10:57 46f8f816bc3b: Pulling fs layer 11:10:57 93b61091891f: Pulling fs layer 11:10:57 93b9cdb0e59b: Pulling fs layer 11:10:57 5e14af77c1be: Pulling fs layer 11:10:57 01666e4c0597: Pulling fs layer 11:10:57 aa168da1d23b: Pulling fs layer 11:10:57 93b61091891f: Waiting 11:10:57 93b9cdb0e59b: Waiting 11:10:57 5e14af77c1be: Waiting 11:10:57 01666e4c0597: Waiting 11:10:57 aa168da1d23b: Waiting 11:10:57 46f8f816bc3b: Waiting 11:10:57 36b3adc4ff6f: Download complete 11:10:57 46f8f816bc3b: Verifying Checksum 11:10:57 46f8f816bc3b: Download complete 11:10:58 df20fa9351a1: Verifying Checksum 11:10:58 df20fa9351a1: Download complete 11:10:58 93b9cdb0e59b: Verifying Checksum 11:10:58 93b9cdb0e59b: Download complete 11:10:58 5e14af77c1be: Verifying Checksum 11:10:58 5e14af77c1be: Download complete 11:10:58 93b61091891f: Verifying Checksum 11:10:58 93b61091891f: Download complete 11:10:58 01666e4c0597: Verifying Checksum 11:10:58 01666e4c0597: Download complete 11:10:58 df20fa9351a1: Pull complete 11:10:58 8ad3a11d3b57: Download complete 11:10:58 36b3adc4ff6f: Pull complete 11:10:59 8ad3a11d3b57: Pull complete 11:10:59 46f8f816bc3b: Pull complete 11:11:00 93b61091891f: Pull complete 11:11:00 aa168da1d23b: Verifying Checksum 11:11:00 aa168da1d23b: Download complete 11:11:00 93b9cdb0e59b: Pull complete 11:11:00 5e14af77c1be: Pull complete 11:11:00 01666e4c0597: Pull complete 11:11:07 aa168da1d23b: Pull complete 11:11:07 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 11:11:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:11:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 11:11:07 prd-centos7-docker-4c-2g-25561 does not seem to be running inside a container 11:11:07 $ 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-768/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-768 -v /w/workspace/dgexfoundry_device-sdk-go_PR-768:/w/workspace/dgexfoundry_device-sdk-go_PR-768:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-768@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:alpine cat 11:11:10 $ docker top e478856a505781dfaf65bcdfc6fcad0b4108d7debd712c65d02bdf3a83843e42 -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:11 + touch /tmp/pre-build-complete [Pipeline] sh 11:11:11 + mkdir -p /var/log/sa [Pipeline] sh 11:11:11 + ls /var/log/sa-host 11:11:11 + sadf -c /var/log/sa-host/sa08 11:11:11 file_magic: OK 11:11:11 HZ: Using current value: 100 11:11:11 file_header: OK 11:11:11 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 11:11:11 Statistics: 11:11:11 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 11:11:11 File successfully converted to sysstat format version 12.2.1 11:11:11 + sadf -c /var/log/sa-host/sa23 11:11:11 file_magic: OK 11:11:11 HZ: Using current value: 100 11:11:11 file_header: OK 11:11:11 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 11:11:11 Statistics: 11:11:11 Hnuu...uuuununununu... 11:11:11 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:11:12 provisioning config files... 11:11:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/config5023883663140946937tmp [Pipeline] { [Pipeline] echo 11:11:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:11:12 ---> create-netrc.sh [Pipeline] } 11:11:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 11:11:12 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 11:11:12 ---> python-tools-install.sh [Pipeline] echo 11:11:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:11:13 ---> sudo-logs.sh 11:11:13 Archiving 'sudo' log.. [Pipeline] echo 11:11:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:11:13 ---> job-cost.sh 11:11:13 lf-activate-venv: SKIPPING 11:11:13 INFO: No Stack... 11:11:14 INFO: Retrieving Pricing Info for: v1-standard-2 11:11:14 INFO: Archiving Costs [Pipeline] echo 11:11:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:11:15 ---> logs-deploy.sh 11:11:15 lf-activate-venv: SKIPPING 11:11:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-768/3 11:11:15 INFO: archiving workspace using pattern(s): 11:11:16 Archives upload complete. 11:11:16 INFO: archiving logs to Nexus