Pull request #844 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 a2b2291b08b531062f7f4dca65e9a843683076fa+b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 (1defc7232ddde87046f96617a16086570398f202) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-31969 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [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-844 # 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/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit a2b2291b08b531062f7f4dca65e9a843683076fa Merge succeeded, producing a2b2291b08b531062f7f4dca65e9a843683076fa Checking out Revision a2b2291b08b531062f7f4dca65e9a843683076fa (PR-844) > git config core.sparsecheckout # timeout=10 > git checkout -f a2b2291b08b531062f7f4dca65e9a843683076fa # 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 b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a2b2291b08b531062f7f4dca65e9a843683076fa # timeout=10 Commit message: "feat: add capability to load devices from directory" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:52:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:52:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:52:18 ========================================================= 03:52:18 EdgeX Global Pipelines Version Info 03:52:18 ========================================================= [Pipeline] libraryResource > git rev-list --no-walk 3d062754da7f414ea9c38f1a7497b277f79d6cd0 # timeout=10 [Pipeline] sh 03:52:20 ------------------- 03:52:20 stable info: 03:52:20 ------------------- 03:52:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:52:20 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 03:52:20 Message: update stable to v1.0.186 03:52:21 ------------------- 03:52:21 experimental info: 03:52:21 ------------------- 03:52:21 Commited By: **** collab-it+edgex@linuxfoundation.org 03:52:21 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 03:52:21 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:52:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:52:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:52:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:52:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:52:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:52:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 03:52:22 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:52:22 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 03:52:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:52:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:52:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:52:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 03:52:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:52:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:52:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:52:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:52:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:52:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:52:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:52:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:52:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:52:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 03:52:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:52:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:52:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:52:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:52:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-844 [Pipeline] echo 03:52:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-844 [Pipeline] echo 03:52:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-844 [Pipeline] echo 03:52:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a2b2291b08b531062f7f4dca65e9a843683076fa [Pipeline] echo 03:52:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a2b2291 [Pipeline] echo 03:52:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:52:24 provisioning config files... 03:52:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config2218324619819176634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:52:25 ---> docker-login.sh 03:52:25 nexus3.edgexfoundry.org:10001 03:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:25 Configure a credential helper to remove this warning. See 03:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:25 03:52:25 Login Succeeded 03:52:25 nexus3.edgexfoundry.org:10002 03:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:25 Configure a credential helper to remove this warning. See 03:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:25 03:52:25 Login Succeeded 03:52:25 nexus3.edgexfoundry.org:10003 03:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:26 Configure a credential helper to remove this warning. See 03:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:26 03:52:26 Login Succeeded 03:52:26 nexus3.edgexfoundry.org:10004 03:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:26 Configure a credential helper to remove this warning. See 03:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:26 03:52:26 Login Succeeded 03:52:26 docker.io 03:52:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:26 Configure a credential helper to remove this warning. See 03:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:26 03:52:26 Login Succeeded 03:52:26 ---> docker-login.sh ends [Pipeline] } 03:52:26 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 03:52:27 + git log --format=format:%s -1 a2b2291b08b531062f7f4dca65e9a843683076fa [Pipeline] echo 03:52:27 GIT_COMMIT: a2b2291b08b531062f7f4dca65e9a843683076fa, Commit Message: feat: add capability to load devices from directory [Pipeline] echo 03:52:27 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:52:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:52:28 03:52:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:52:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:52:28 latest: Pulling from edgex-devops/git-semver 03:52:28 31603596830f: Pulling fs layer 03:52:28 2a8b12db71e7: Pulling fs layer 03:52:28 6ca5941a6612: Pulling fs layer 03:52:28 ecc8261a40a4: Pulling fs layer 03:52:28 ecc8261a40a4: Waiting 03:52:28 2a8b12db71e7: Verifying Checksum 03:52:28 2a8b12db71e7: Download complete 03:52:28 31603596830f: Verifying Checksum 03:52:28 31603596830f: Download complete 03:52:28 6ca5941a6612: Verifying Checksum 03:52:28 6ca5941a6612: Download complete 03:52:28 ecc8261a40a4: Verifying Checksum 03:52:28 ecc8261a40a4: Download complete 03:52:29 31603596830f: Pull complete 03:52:29 2a8b12db71e7: Pull complete 03:52:30 6ca5941a6612: Pull complete 03:52:30 ecc8261a40a4: Pull complete 03:52:30 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:52:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:52:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:52:30 prd-centos7-docker-4c-2g-31969 does not seem to be running inside a container 03:52:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-844 -v /w/workspace/dgexfoundry_device-sdk-go_PR-844:/w/workspace/dgexfoundry_device-sdk-go_PR-844:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:52:32 $ docker top a85aa7e8c164e4ba6a0d7c5a2cdd0e1d8c950e846ad4931043c3288549cd68a2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:52:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:52:33 [ssh-agent] Looking for ssh-agent implementation... 03:52:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:52:33 $ docker exec a85aa7e8c164e4ba6a0d7c5a2cdd0e1d8c950e846ad4931043c3288549cd68a2 ssh-agent 03:52:33 SSH_AUTH_SOCK=/tmp/ssh-h8nJZ6j4O8DG/agent.11 03:52:33 SSH_AGENT_PID=17 03:52:33 Running ssh-add (command line suppressed) 03:52:33 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_5642631855504603813.key (/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_5642631855504603813.key) 03:52:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:52:34 + git tag --points-at HEAD [Pipeline] } 03:52:34 $ docker exec --env ******** --env ******** a85aa7e8c164e4ba6a0d7c5a2cdd0e1d8c950e846ad4931043c3288549cd68a2 ssh-agent -k 03:52:34 unset SSH_AUTH_SOCK; 03:52:34 unset SSH_AGENT_PID; 03:52:34 echo Agent pid 17 killed; 03:52:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:52:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:52:34 [ssh-agent] Looking for ssh-agent implementation... 03:52:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:52:34 $ docker exec a85aa7e8c164e4ba6a0d7c5a2cdd0e1d8c950e846ad4931043c3288549cd68a2 ssh-agent 03:52:34 SSH_AUTH_SOCK=/tmp/ssh-TukKeVYv5E51/agent.47 03:52:34 SSH_AGENT_PID=53 03:52:34 Running ssh-add (command line suppressed) 03:52:34 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_672951569987329508.key (/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_672951569987329508.key) 03:52:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:52:35 + git semver init 03:52:35 # -> Open(): unable to determine branch for HEAD 03:52:35 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-844/.git 03:52:35 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-844 03:52:35 # $SEMVER_REMOTE_NAME = origin 03:52:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:52:35 # $SEMVER_USER_NAME = edgex-jenkins 03:52:35 # $SEMVER_BRANCH = PR-844 03:52:35 # $SEMVER_TEMP = /tmp/semver-547443543 03:52:35 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:52:36 # '/tmp/semver-547443543' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-844/.semver' 03:52:36 # -> Force: false 03:52:36 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-844/.semver [Pipeline] } 03:52:36 $ docker exec --env ******** --env ******** a85aa7e8c164e4ba6a0d7c5a2cdd0e1d8c950e846ad4931043c3288549cd68a2 ssh-agent -k 03:52:36 unset SSH_AUTH_SOCK; 03:52:36 unset SSH_AGENT_PID; 03:52:36 echo Agent pid 53 killed; 03:52:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:52:36 + git semver [Pipeline] } 03:52:37 $ docker stop --time=1 a85aa7e8c164e4ba6a0d7c5a2cdd0e1d8c950e846ad4931043c3288549cd68a2 03:52:38 $ docker rm -f a85aa7e8c164e4ba6a0d7c5a2cdd0e1d8c950e846ad4931043c3288549cd68a2 [Pipeline] // withDockerContainer [Pipeline] sh 03:52:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:52:39 Stashed 1 file(s) [Pipeline] echo 03:52:39 [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 03:52:54 Still waiting to schedule task 03:52:54 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:52:54 Still waiting to schedule task 03:52:54 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 03:55:00 Running on prd-centos7-docker-4c-2g-31971 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [Pipeline] { [Pipeline] ws 03:55:00 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 03:55:02 using credential edgex-jenkins-ssh 03:55:02 Cloning the remote Git repository 03:55:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:55:02 > git init /w/workspace/device-sdk-go/4 # timeout=10 03:55:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:55:02 > git --version # timeout=10 03:55:02 > git --version # 'git version 2.24.3' 03:55:02 using GIT_SSH to set credentials SSH Credentials for GitHub 03:55:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:55:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:55:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:55:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:55:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:55:04 using GIT_SSH to set credentials SSH Credentials for GitHub 03:55:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:55:05 Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit a2b2291b08b531062f7f4dca65e9a843683076fa 03:55:05 Merge succeeded, producing a2b2291b08b531062f7f4dca65e9a843683076fa 03:55:05 Checking out Revision a2b2291b08b531062f7f4dca65e9a843683076fa (PR-844) 03:55:05 > git config core.sparsecheckout # timeout=10 03:55:05 > git checkout -f a2b2291b08b531062f7f4dca65e9a843683076fa # timeout=10 03:55:05 > git remote # timeout=10 03:55:05 > git config --get remote.origin.url # timeout=10 03:55:05 using GIT_SSH to set credentials SSH Credentials for GitHub 03:55:05 > git merge b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 03:55:05 > git rev-parse HEAD^{commit} # timeout=10 03:55:05 > git config core.sparsecheckout # timeout=10 03:55:05 > git checkout -f a2b2291b08b531062f7f4dca65e9a843683076fa # timeout=10 03:55:08 Commit message: "feat: add capability to load devices from directory" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:55:10 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 03:55:10 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:55:10 + sudo service docker restart 03:55:10 + true 03:55:10 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:55:12 provisioning config files... 03:55:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config5666729887552050604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:55:12 ---> docker-login.sh 03:55:12 nexus3.edgexfoundry.org:10001 03:55:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:12 Configure a credential helper to remove this warning. See 03:55:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:12 03:55:12 Login Succeeded 03:55:12 nexus3.edgexfoundry.org:10002 03:55:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:12 Configure a credential helper to remove this warning. See 03:55:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:12 03:55:12 Login Succeeded 03:55:12 nexus3.edgexfoundry.org:10003 03:55:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:13 Configure a credential helper to remove this warning. See 03:55:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:13 03:55:13 Login Succeeded 03:55:13 nexus3.edgexfoundry.org:10004 03:55:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:13 Configure a credential helper to remove this warning. See 03:55:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:13 03:55:13 Login Succeeded 03:55:13 docker.io 03:55:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:55:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:55:13 Configure a credential helper to remove this warning. See 03:55:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:55:13 03:55:13 Login Succeeded 03:55:13 ---> docker-login.sh ends [Pipeline] } 03:55:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:55:14 ========================================================= 03:55:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 03:55:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:55:14 + 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 . 03:55:14 Sending build context to Docker daemon 2.344MB 03:55:14 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 03:55:14 Step 2/8 : FROM ${BASE} 03:55:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 03:55:14 188c0c94c7c5: Pulling fs layer 03:55:14 0ef7d3d256c8: Pulling fs layer 03:55:14 de9db76c5a1d: Pulling fs layer 03:55:14 bca2f99d35d6: Pulling fs layer 03:55:14 93359f2a8cfa: Pulling fs layer 03:55:14 7c6f9722023f: Pulling fs layer 03:55:14 a35cf1a2eb13: Pulling fs layer 03:55:14 93359f2a8cfa: Waiting 03:55:14 7c6f9722023f: Waiting 03:55:14 a35cf1a2eb13: Waiting 03:55:14 bca2f99d35d6: Waiting 03:55:14 de9db76c5a1d: Verifying Checksum 03:55:14 de9db76c5a1d: Download complete 03:55:14 0ef7d3d256c8: Verifying Checksum 03:55:14 0ef7d3d256c8: Download complete 03:55:14 188c0c94c7c5: Download complete 03:55:14 93359f2a8cfa: Verifying Checksum 03:55:14 93359f2a8cfa: Download complete 03:55:14 7c6f9722023f: Verifying Checksum 03:55:14 7c6f9722023f: Download complete 03:55:15 188c0c94c7c5: Pull complete 03:55:15 0ef7d3d256c8: Pull complete 03:55:15 de9db76c5a1d: Pull complete 03:55:16 a35cf1a2eb13: Verifying Checksum 03:55:16 a35cf1a2eb13: Download complete 03:55:17 bca2f99d35d6: Verifying Checksum 03:55:17 bca2f99d35d6: Download complete 03:55:22 bca2f99d35d6: Pull complete 03:55:22 93359f2a8cfa: Pull complete 03:55:22 7c6f9722023f: Pull complete 03:55:30 a35cf1a2eb13: Pull complete 03:55:30 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 03:55:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 03:55:30 ---> a62c8e92a672 03:55:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:55:30 ---> Running in 61abc2b7a21f 03:55:30 Removing intermediate container 61abc2b7a21f 03:55:30 ---> f5afe5c7f9f1 03:55:30 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:55:30 ---> Running in 4297b81911dc 03:55:31 Removing intermediate container 4297b81911dc 03:55:31 ---> 4be70a8370c2 03:55:31 Step 5/8 : RUN apk add --update --no-cache make git 03:55:31 ---> Running in 62e843c0f72a 03:55:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:55:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:55:33 OK: 166 MiB in 39 packages 03:55:34 Removing intermediate container 62e843c0f72a 03:55:34 ---> 80497502c201 03:55:34 Step 6/8 : WORKDIR /device-sdk-go 03:55:34 ---> Running in 345e1918a434 03:55:34 Removing intermediate container 345e1918a434 03:55:34 ---> e70063fd0913 03:55:34 Step 7/8 : COPY . . 03:55:35 ---> 43b633e80c4d 03:55:35 Step 8/8 : RUN go mod download 03:55:35 ---> Running in 619c13278925 03:55:48 Running on prd-ubuntu18.04-docker-arm64-4c-16g-31970 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [Pipeline] { [Pipeline] ws 03:55:48 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 03:55:53 Removing intermediate container 619c13278925 03:55:53 ---> ad4e7ee557b8 03:55:53 Successfully built ad4e7ee557b8 03:55:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:55:54 + docker inspect -f . ci-base-image-x86_64 03:55:54 . [Pipeline] withDockerContainer 03:55:54 using credential edgex-jenkins-ssh 03:55:54 Cloning the remote Git repository 03:55:54 prd-centos7-docker-4c-2g-31971 does not seem to be running inside a container 03:55:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-x86_64 cat 03:55:54 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:55:54 > git init /w/workspace/device-sdk-go/4 # timeout=10 03:55:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:55:54 > git --version # timeout=10 03:55:54 > git --version # 'git version 2.17.1' 03:55:54 using GIT_SSH to set credentials SSH Credentials for GitHub 03:55:55 $ docker top d065c9e67c42f4901b406bcd6c513073191f6aa42657adae539d7939d06b8128 -eo pid,comm [Pipeline] { [Pipeline] sh 03:55:55 + go version 03:55:55 go version go1.15.5 linux/amd64 [Pipeline] } 03:55:55 $ docker stop --time=1 d065c9e67c42f4901b406bcd6c513073191f6aa42657adae539d7939d06b8128 03:55:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:55:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:55:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:55:56 Merging remotes/origin/master commit b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 into PR head commit a2b2291b08b531062f7f4dca65e9a843683076fa 03:55:57 Merge succeeded, producing a2b2291b08b531062f7f4dca65e9a843683076fa 03:55:57 Checking out Revision a2b2291b08b531062f7f4dca65e9a843683076fa (PR-844) 03:55:57 $ docker rm -f d065c9e67c42f4901b406bcd6c513073191f6aa42657adae539d7939d06b8128 [Pipeline] // withDockerContainer 03:55:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:55:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:55:56 using GIT_SSH to set credentials SSH Credentials for GitHub 03:55:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 03:55:56 > git config core.sparsecheckout # timeout=10 03:55:56 > git checkout -f a2b2291b08b531062f7f4dca65e9a843683076fa # timeout=10 03:55:56 > git remote # timeout=10 03:55:57 > git config --get remote.origin.url # timeout=10 03:55:57 using GIT_SSH to set credentials SSH Credentials for GitHub 03:55:57 > git merge b0d30380dd6a4cdd6de0b127c09cc9d17a1afa79 # timeout=10 03:55:57 > git rev-parse HEAD^{commit} # timeout=10 03:55:57 > git config core.sparsecheckout # timeout=10 03:55:57 > git checkout -f a2b2291b08b531062f7f4dca65e9a843683076fa # timeout=10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:55:58 + docker inspect -f . ci-base-image-x86_64 03:55:58 . [Pipeline] withDockerContainer 03:55:58 prd-centos7-docker-4c-2g-31971 does not seem to be running inside a container 03:55:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-x86_64 cat 03:55:58 $ docker top 3d266aadee8e6001f7c87a35c37e3644e076d5c655544377d9b71f53c7ed289a -eo pid,comm [Pipeline] { [Pipeline] sh 03:55:59 + make test 03:55:59 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:56:01 Commit message: "feat: add capability to load devices from directory" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:56:03 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 03:56:03 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 03:56:04 + sudo service docker restart 03:56:04 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:56:07 provisioning config files... 03:56:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config7692262157796424743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:56:07 ---> docker-login.sh 03:56:07 nexus3.edgexfoundry.org:10001 03:56:07 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 03:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:08 Configure a credential helper to remove this warning. See 03:56:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:08 03:56:08 Login Succeeded 03:56:08 nexus3.edgexfoundry.org:10002 03:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:09 Configure a credential helper to remove this warning. See 03:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:09 03:56:09 Login Succeeded 03:56:09 nexus3.edgexfoundry.org:10003 03:56:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:09 Configure a credential helper to remove this warning. See 03:56:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:09 03:56:09 Login Succeeded 03:56:09 nexus3.edgexfoundry.org:10004 03:56:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:10 Configure a credential helper to remove this warning. See 03:56:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:10 03:56:10 Login Succeeded 03:56:10 docker.io 03:56:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:56:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:56:11 Configure a credential helper to remove this warning. See 03:56:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:56:11 03:56:11 Login Succeeded 03:56:11 ---> docker-login.sh ends [Pipeline] } 03:56:11 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:56:12 ========================================================= 03:56:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 03:56:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 03:56:12 + 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 . 03:56:13 Sending build context to Docker daemon 2.343MB 03:56:13 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 03:56:13 Step 2/8 : FROM ${BASE} 03:56:13 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:56:13 5f621e34cdf4: Pulling fs layer 03:56:13 a4357932f1b6: Pulling fs layer 03:56:13 18c013af1878: Pulling fs layer 03:56:13 00ac8860ef70: Pulling fs layer 03:56:13 63d7cb157983: Pulling fs layer 03:56:13 b116817d02f9: Pulling fs layer 03:56:13 745a02a5169b: Pulling fs layer 03:56:13 63d7cb157983: Waiting 03:56:13 b116817d02f9: Waiting 03:56:13 745a02a5169b: Waiting 03:56:13 00ac8860ef70: Waiting 03:56:13 18c013af1878: Verifying Checksum 03:56:13 18c013af1878: Download complete 03:56:13 a4357932f1b6: Verifying Checksum 03:56:13 a4357932f1b6: Download complete 03:56:13 63d7cb157983: Verifying Checksum 03:56:13 63d7cb157983: Download complete 03:56:13 b116817d02f9: Download complete 03:56:13 5f621e34cdf4: Download complete 03:56:14 5f621e34cdf4: Pull complete 03:56:14 a4357932f1b6: Pull complete 03:56:15 18c013af1878: Pull complete 03:56:16 745a02a5169b: Verifying Checksum 03:56:16 745a02a5169b: Download complete 03:56:17 00ac8860ef70: Download complete 03:56:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 03:56:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 03:56:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 03:56:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 03:56:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 03:56:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 27.0% of statements 03:56:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.080s coverage: 81.2% of statements 03:56:27 00ac8860ef70: Pull complete 03:56:27 63d7cb157983: Pull complete 03:56:28 b116817d02f9: Pull complete 03:56:32 745a02a5169b: Pull complete 03:56:32 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 03:56:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 03:56:32 ---> b7e6874047d6 03:56:32 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:56:35 ---> Running in 8b318a16ce0b 03:56:35 Removing intermediate container 8b318a16ce0b 03:56:35 ---> 318e1ea2a48e 03:56:35 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:56:35 ---> Running in 7e6de97d0793 03:56:38 Removing intermediate container 7e6de97d0793 03:56:38 ---> a98ff63d1e64 03:56:38 Step 5/8 : RUN apk add --update --no-cache make git 03:56:38 ---> Running in 3fa63f837650 03:56:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:56:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:56:41 OK: 142 MiB in 39 packages 03:56:42 Removing intermediate container 3fa63f837650 03:56:42 ---> 2c56461c6b24 03:56:42 Step 6/8 : WORKDIR /device-sdk-go 03:56:42 ---> Running in adb30eb73057 03:56:42 Removing intermediate container adb30eb73057 03:56:42 ---> 5bd2b965ea32 03:56:42 Step 7/8 : COPY . . 03:56:44 ---> 5d720e3ce01b 03:56:44 Step 8/8 : RUN go mod download 03:56:44 ---> Running in 933a60315493 03:56:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.067s coverage: 10.5% of statements 03:56:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 03:56:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 03:56:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.100s coverage: 32.5% of statements 03:56:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 03:56:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 03:56:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 03:56:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.082s coverage: 57.3% of statements 03:56:56 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.148s coverage: 6.6% of statements 03:56:56 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.053s coverage: 5.0% of statements 03:56:56 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 03:56:56 GO111MODULE=on go vet ./... 03:57:02 gofmt -l . 03:57:02 [ "`gofmt -l .`" = "" ] 03:57:02 ./bin/test-attribution-txt.sh 03:57:02 ./bin/test-go-mod-tidy.sh [Pipeline] } 03:57:02 $ docker stop --time=1 3d266aadee8e6001f7c87a35c37e3644e076d5c655544377d9b71f53c7ed289a 03:57:04 $ docker rm -f 3d266aadee8e6001f7c87a35c37e3644e076d5c655544377d9b71f53c7ed289a [Pipeline] // withDockerContainer [Pipeline] sh 03:57:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:57:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:57:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:57:07 + ls -al . 03:57:07 total 184 03:57:07 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 30 03:57 . 03:57:07 drwxrwxr-x. 4 jenkins jenkins 28 Mar 30 03:55 .. 03:57:07 drwxrwxr-x. 2 jenkins jenkins 64 Mar 30 03:55 bin 03:57:07 -rw-r--r--. 1 jenkins jenkins 100081 Mar 30 03:56 coverage.out 03:57:07 -rw-rw-r--. 1 jenkins jenkins 949 Mar 30 03:55 Dockerfile.build 03:57:07 -rw-rw-r--. 1 jenkins jenkins 140 Mar 30 03:55 .dockerignore 03:57:07 drwxrwxr-x. 5 jenkins jenkins 62 Mar 30 03:55 example 03:57:07 drwxrwxr-x. 8 jenkins jenkins 179 Mar 30 03:55 .git 03:57:07 drwxrwxr-x. 2 jenkins jenkins 103 Mar 30 03:55 .github 03:57:07 -rw-rw-r--. 1 jenkins jenkins 138 Mar 30 03:55 .gitignore 03:57:07 -rw-r--r--. 1 jenkins jenkins 514 Mar 30 03:57 go.mod 03:57:07 -rw-r--r--. 1 jenkins jenkins 17372 Mar 30 03:57 go.sum 03:57:07 drwxrwxr-x. 13 jenkins jenkins 193 Mar 30 03:55 internal 03:57:07 -rw-rw-r--. 1 jenkins jenkins 901 Mar 30 03:55 Jenkinsfile 03:57:07 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 30 03:55 LICENSE 03:57:07 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 30 03:55 Makefile 03:57:07 drwxrwxr-x. 4 jenkins jenkins 26 Mar 30 03:55 openapi 03:57:07 drwxrwxr-x. 5 jenkins jenkins 50 Mar 30 03:55 pkg 03:57:07 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 30 03:55 README.md 03:57:07 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 30 03:55 RELEASE-NOTES.txt 03:57:07 drwxrwxr-x. 4 jenkins jenkins 54 Mar 30 03:55 snap 03:57:07 -rw-rw-r--. 1 jenkins jenkins 5 Mar 30 03:52 VERSION 03:57:07 -rw-rw-r--. 1 jenkins jenkins 222 Mar 30 03:55 version.go [Pipeline] isUnix [Pipeline] sh 03:57:07 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=a2b2291b08b531062f7f4dca65e9a843683076fa --label arch=amd64 --label version=0.0.0 . 03:57:08 Sending build context to Docker daemon 2.445MB 03:57:08 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 03:57:08 Step 2/24 : FROM ${BASE} AS builder 03:57:08 ---> ad4e7ee557b8 03:57:08 Step 3/24 : ARG MAKE='make build' 03:57:08 ---> Running in 6662b30f9de6 03:57:08 Removing intermediate container 6662b30f9de6 03:57:08 ---> 8f3323f073a3 03:57:08 Step 4/24 : WORKDIR /device-sdk-go 03:57:08 ---> Running in bea3267c16b9 03:57:08 Removing intermediate container bea3267c16b9 03:57:08 ---> 5f1fa12dad5a 03:57:08 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:57:08 ---> Running in 7465dc2a6d78 03:57:08 Removing intermediate container 7465dc2a6d78 03:57:08 ---> 9aad8ff9e96c 03:57:08 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:57:09 ---> Running in 69e047f7f1e8 03:57:10 Removing intermediate container 69e047f7f1e8 03:57:10 ---> f3ab85c3cb3c 03:57:10 Step 7/24 : RUN apk add --update --no-cache make git 03:57:10 ---> Running in 7bbf9869ceab 03:57:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 03:57:11 Removing intermediate container 933a60315493 03:57:11 ---> 4e6fea33d076 03:57:11 Successfully built 4e6fea33d076 03:57:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:57:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 03:57:11 + docker inspect -f . ci-base-image-arm64 03:57:11 . [Pipeline] withDockerContainer 03:57:11 prd-ubuntu18.04-docker-arm64-4c-16g-31970 does not seem to be running inside a container 03:57:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:57:12 OK: 166 MiB in 39 packages 03:57:12 Removing intermediate container 7bbf9869ceab 03:57:12 ---> 5e1571e73451 03:57:12 Step 8/24 : COPY . . 03:57:13 $ docker top 7cfbc45c7a642f24c01e037d95873107d1c3361900f9c5f3e1bd8535859bc863 -eo pid,comm [Pipeline] { [Pipeline] sh 03:57:13 ---> ff8855ea2805 03:57:13 Step 9/24 : RUN ${MAKE} 03:57:13 ---> Running in 4eddb200b01d 03:57:14 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:57:14 + go version 03:57:14 go version go1.15.5 linux/arm64 [Pipeline] } 03:57:14 $ docker stop --time=1 7cfbc45c7a642f24c01e037d95873107d1c3361900f9c5f3e1bd8535859bc863 03:57:16 $ docker rm -f 7cfbc45c7a642f24c01e037d95873107d1c3361900f9c5f3e1bd8535859bc863 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:57:17 + docker inspect -f . ci-base-image-arm64 03:57:17 . [Pipeline] withDockerContainer 03:57:17 prd-ubuntu18.04-docker-arm64-4c-16g-31970 does not seem to be running inside a container 03:57:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:57:19 $ docker top c2616739e790af74108c6d65906476cf0f6c9b811b74c3213a5de5d68d9a63d7 -eo pid,comm [Pipeline] { [Pipeline] sh 03:57:20 + make test 03:57:20 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:57:22 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 03:57:24 Removing intermediate container 4eddb200b01d 03:57:24 ---> 580d708fa303 03:57:24 Step 10/24 : FROM scratch 03:57:24 ---> 03:57:24 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:57:24 ---> Running in 402f15e807d4 03:57:24 Removing intermediate container 402f15e807d4 03:57:24 ---> 92ce45a5971a 03:57:24 Step 12/24 : ENV APP_PORT=49990 03:57:24 ---> Running in ee4a60cbdc42 03:57:25 Removing intermediate container ee4a60cbdc42 03:57:25 ---> 25ad409d0778 03:57:25 Step 13/24 : EXPOSE $APP_PORT 03:57:25 ---> Running in 4c43453aafd7 03:57:25 Removing intermediate container 4c43453aafd7 03:57:25 ---> 20fbcf6b0f81 03:57:25 Step 14/24 : WORKDIR / 03:57:25 ---> Running in 2394b1891621 03:57:25 Removing intermediate container 2394b1891621 03:57:25 ---> f0f197eced6c 03:57:25 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 03:57:25 ---> e8be690359df 03:57:25 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 03:57:26 ---> c96dfcdad197 03:57:26 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 03:57:26 COPY failed: stat /var/lib/docker/overlay2/1fa8660d3e720d51f432cbbdee0ee8bc2899e00f4727f563d7809d05008f7af7/merged/device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml: no such file or directory [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 03:57:27 ---> job-cost.sh 03:57:27 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-He41 03:57:42 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 03:57:42 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 03:58:08 lf-activate-venv(): INFO: Adding /tmp/venv-He41/bin to PATH 03:58:08 INFO: No Stack... 03:58:08 INFO: Retrieving Pricing Info for: v1-standard-2 03:58:09 INFO: Archiving Costs [Pipeline] sh 03:58:10 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 03:58:10 + cut -d, -f6 [Pipeline] lock 03:58:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-844-4-stack-cost] 03:58:10 Resource [jenkins-edgexfoundry-device-sdk-go-PR-844-4-stack-cost] did not exist. Created. 03:58:10 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-844-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:58:10 + echo total: 0.029999999329447746 [Pipeline] stash 03:58:10 Stashed 1 file(s) [Pipeline] } 03:58:10 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-844-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:58:11 Failed in branch amd64 03:58:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 03:58:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 03:58:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 03:58:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 03:58:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 03:58:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.120s coverage: 27.0% of statements 03:58:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.160s coverage: 81.2% of statements 03:58:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.105s coverage: 10.5% of statements 03:58:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 03:58:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 03:58:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.218s coverage: 32.5% of statements 03:58:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 03:58:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 03:58:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 03:58:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.247s coverage: 57.3% of statements 03:58:55 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.923s coverage: 6.6% of statements 03:58:55 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.138s coverage: 5.0% of statements 03:58:55 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 03:58:55 GO111MODULE=on go vet ./... 03:59:27 gofmt -l . 03:59:27 [ "`gofmt -l .`" = "" ] 03:59:27 ./bin/test-attribution-txt.sh 03:59:27 ./bin/test-go-mod-tidy.sh [Pipeline] } 03:59:27 $ docker stop --time=1 c2616739e790af74108c6d65906476cf0f6c9b811b74c3213a5de5d68d9a63d7 03:59:29 $ docker rm -f c2616739e790af74108c6d65906476cf0f6c9b811b74c3213a5de5d68d9a63d7 [Pipeline] // withDockerContainer [Pipeline] sh 03:59:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:59:31 Warning: overwriting stash ‘coverage-report’ 03:59:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:59:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:59:32 + ls -al . 03:59:32 total 220 03:59:32 drwxrwxr-x 10 jenkins jenkins 4096 Mar 30 03:59 . 03:59:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 03:55 .. 03:59:32 -rw-rw-r-- 1 jenkins jenkins 140 Mar 30 03:55 .dockerignore 03:59:32 drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 03:56 .git 03:59:32 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 03:55 .github 03:59:32 -rw-rw-r-- 1 jenkins jenkins 138 Mar 30 03:55 .gitignore 03:59:32 -rw-rw-r-- 1 jenkins jenkins 949 Mar 30 03:55 Dockerfile.build 03:59:32 -rw-rw-r-- 1 jenkins jenkins 901 Mar 30 03:55 Jenkinsfile 03:59:32 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 30 03:55 LICENSE 03:59:32 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 30 03:55 Makefile 03:59:32 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 30 03:55 README.md 03:59:32 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 30 03:55 RELEASE-NOTES.txt 03:59:32 -rw-rw-r-- 1 jenkins jenkins 5 Mar 30 03:52 VERSION 03:59:32 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 03:55 bin 03:59:32 -rw-r--r-- 1 jenkins jenkins 100082 Mar 30 03:58 coverage.out 03:59:32 drwxrwxr-x 5 jenkins jenkins 4096 Mar 30 03:55 example 03:59:32 -rw-r--r-- 1 jenkins jenkins 514 Mar 30 03:59 go.mod 03:59:32 -rw-r--r-- 1 jenkins jenkins 17372 Mar 30 03:59 go.sum 03:59:32 drwxrwxr-x 13 jenkins jenkins 4096 Mar 30 03:55 internal 03:59:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 03:55 openapi 03:59:32 drwxrwxr-x 5 jenkins jenkins 4096 Mar 30 03:55 pkg 03:59:32 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 03:55 snap 03:59:32 -rw-rw-r-- 1 jenkins jenkins 222 Mar 30 03:55 version.go [Pipeline] isUnix [Pipeline] sh 03:59:33 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a2b2291b08b531062f7f4dca65e9a843683076fa --label arch=arm64 --label version=0.0.0 . 03:59:33 Sending build context to Docker daemon 2.444MB 03:59:33 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 03:59:33 Step 2/24 : FROM ${BASE} AS builder 03:59:33 ---> 4e6fea33d076 03:59:33 Step 3/24 : ARG MAKE='make build' 03:59:33 ---> Running in bb831ce6388b 03:59:34 Removing intermediate container bb831ce6388b 03:59:34 ---> e91a84cc7f35 03:59:34 Step 4/24 : WORKDIR /device-sdk-go 03:59:34 ---> Running in 951356a8af3c 03:59:34 Removing intermediate container 951356a8af3c 03:59:34 ---> 9c91dbf53920 03:59:34 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:59:35 ---> Running in 36af676db132 03:59:35 Removing intermediate container 36af676db132 03:59:35 ---> a1d98e0c70a8 03:59:35 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:59:35 ---> Running in 1371e09701f8 03:59:37 Removing intermediate container 1371e09701f8 03:59:37 ---> 1c6ca14cf732 03:59:37 Step 7/24 : RUN apk add --update --no-cache make git 03:59:37 ---> Running in 344feacfaebb 03:59:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 03:59:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 03:59:41 OK: 142 MiB in 39 packages 03:59:42 Removing intermediate container 344feacfaebb 03:59:42 ---> 5edd55767c5d 03:59:42 Step 8/24 : COPY . . 03:59:44 ---> 2eb46bb564db 03:59:44 Step 9/24 : RUN ${MAKE} 03:59:44 ---> Running in 5e521d511aa6 03:59:45 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:00:11 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:00:13 Removing intermediate container 5e521d511aa6 04:00:13 ---> 1fa9deb6e958 04:00:13 Step 10/24 : FROM scratch 04:00:13 ---> 04:00:13 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:00:13 ---> Running in 4918272081fd 04:00:13 Removing intermediate container 4918272081fd 04:00:13 ---> 6b8d5bb74571 04:00:13 Step 12/24 : ENV APP_PORT=49990 04:00:14 ---> Running in 7db0c81b3a9c 04:00:14 Removing intermediate container 7db0c81b3a9c 04:00:14 ---> 4f79601d60a2 04:00:14 Step 13/24 : EXPOSE $APP_PORT 04:00:14 ---> Running in 4e3100c560b8 04:00:14 Removing intermediate container 4e3100c560b8 04:00:14 ---> 828cf87961f9 04:00:14 Step 14/24 : WORKDIR / 04:00:14 ---> Running in feaa0a181c1d 04:00:15 Removing intermediate container feaa0a181c1d 04:00:15 ---> 7e22ac235a45 04:00:15 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:00:16 ---> 1b680fccc6c3 04:00:16 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:00:17 ---> 737aff2526a5 04:00:17 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:00:17 COPY failed: stat /var/lib/docker/overlay2/2baec20ac49d0c95e6cd0d01c460afaf8ebda6efbe0f956a24dfdc4035f1d929/merged/device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml: no such file or directory [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 04:00:18 ---> job-cost.sh 04:00:18 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-J0ph 04:00:57 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 04:02:34 lf-activate-venv(): INFO: Adding /tmp/venv-J0ph/bin to PATH 04:02:34 INFO: No Stack... 04:02:34 INFO: Retrieving Pricing Info for: lf-standard-4 04:02:34 INFO: Archiving Costs [Pipeline] sh 04:02:34 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 04:02:34 + cut -d, -f6 [Pipeline] lock 04:02:34 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-844-4-stack-cost] 04:02:34 Resource [jenkins-edgexfoundry-device-sdk-go-PR-844-4-stack-cost] did not exist. Created. 04:02:34 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-844-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:02:35 /w/workspace/device-sdk-go/4@tmp/durable-8e465f5d/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-8e465f5d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:02:35 + echo total: 0.20999999344348907 [Pipeline] stash 04:02:35 Warning: overwriting stash ‘stack-cost’ 04:02:35 Stashed 1 file(s) [Pipeline] } 04:02:35 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-844-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:02:36 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 04:02:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:02:39 ---> package-listing.sh 04:02:39 ++ facter osfamily 04:02:39 ++ tr '[:upper:]' '[:lower:]' 04:02:39 + OS_FAMILY=redhat 04:02:39 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-844 04:02:39 + START_PACKAGES=/tmp/packages_start.txt 04:02:39 + END_PACKAGES=/tmp/packages_end.txt 04:02:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:02:39 + PACKAGES=/tmp/packages_start.txt 04:02:39 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-844 ']' 04:02:39 + PACKAGES=/tmp/packages_end.txt 04:02:39 + case "${OS_FAMILY}" in 04:02:39 + rpm -qa 04:02:39 + sort 04:02:44 + '[' -f /tmp/packages_start.txt ']' 04:02:44 + '[' -f /tmp/packages_end.txt ']' 04:02:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:02:44 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-844 ']' 04:02:44 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-844/archives/ 04:02:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-844/archives/ [Pipeline] echo 04:02:44 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-844/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:02:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:02:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:02:45 04:02:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:02:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:02:45 alpine: Pulling from edgex-lftools-log-publisher 04:02:45 df20fa9351a1: Pulling fs layer 04:02:45 36b3adc4ff6f: Pulling fs layer 04:02:45 8ad3a11d3b57: Pulling fs layer 04:02:45 46f8f816bc3b: Pulling fs layer 04:02:45 93b61091891f: Pulling fs layer 04:02:45 93b9cdb0e59b: Pulling fs layer 04:02:45 5e14af77c1be: Pulling fs layer 04:02:45 01666e4c0597: Pulling fs layer 04:02:45 aa168da1d23b: Pulling fs layer 04:02:45 93b9cdb0e59b: Waiting 04:02:45 5e14af77c1be: Waiting 04:02:45 aa168da1d23b: Waiting 04:02:45 46f8f816bc3b: Waiting 04:02:45 93b61091891f: Waiting 04:02:45 36b3adc4ff6f: Verifying Checksum 04:02:45 36b3adc4ff6f: Download complete 04:02:45 46f8f816bc3b: Verifying Checksum 04:02:45 46f8f816bc3b: Download complete 04:02:45 df20fa9351a1: Verifying Checksum 04:02:45 df20fa9351a1: Download complete 04:02:45 93b9cdb0e59b: Verifying Checksum 04:02:45 93b9cdb0e59b: Download complete 04:02:45 5e14af77c1be: Verifying Checksum 04:02:45 5e14af77c1be: Download complete 04:02:45 01666e4c0597: Verifying Checksum 04:02:45 93b61091891f: Verifying Checksum 04:02:45 93b61091891f: Download complete 04:02:45 01666e4c0597: Download complete 04:02:46 df20fa9351a1: Pull complete 04:02:46 8ad3a11d3b57: Verifying Checksum 04:02:46 8ad3a11d3b57: Download complete 04:02:46 36b3adc4ff6f: Pull complete 04:02:47 8ad3a11d3b57: Pull complete 04:02:47 46f8f816bc3b: Pull complete 04:02:47 93b61091891f: Pull complete 04:02:47 93b9cdb0e59b: Pull complete 04:02:48 aa168da1d23b: Verifying Checksum 04:02:48 aa168da1d23b: Download complete 04:02:48 5e14af77c1be: Pull complete 04:02:48 01666e4c0597: Pull complete 04:02:58 aa168da1d23b: Pull complete 04:02:58 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 04:02:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:02:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:02:58 prd-centos7-docker-4c-2g-31969 does not seem to be running inside a container 04:02:58 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-844/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-844 -v /w/workspace/dgexfoundry_device-sdk-go_PR-844:/w/workspace/dgexfoundry_device-sdk-go_PR-844:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 04:03:01 $ docker top 17223120d8cf745dd7774feea7f42cef44b0c1db319c1ae49d64b9c26671b71d -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:02 + touch /tmp/pre-build-complete [Pipeline] sh 04:03:02 + mkdir -p /var/log/sa [Pipeline] sh 04:03:03 + ls /var/log/sa-host 04:03:03 + sadf -c /var/log/sa-host/sa23 04:03:03 file_magic: OK 04:03:03 HZ: Using current value: 100 04:03:03 file_header: OK 04:03:03 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 04:03:03 Statistics: 04:03:03 Hnuu...uuuununununu... 04:03:03 File successfully converted to sysstat format version 12.2.1 04:03:03 + sadf -c /var/log/sa-host/sa30 04:03:03 file_magic: OK 04:03:03 HZ: Using current value: 100 04:03:03 file_header: OK 04:03:03 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 04:03:03 Statistics: 04:03:03 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:03:03 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:03:03 provisioning config files... 04:03:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config2548481551609372333tmp [Pipeline] { [Pipeline] echo 04:03:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:03:03 ---> create-netrc.sh [Pipeline] } 04:03:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:03:03 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:03:04 ---> python-tools-install.sh [Pipeline] echo 04:03:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:03:04 ---> sudo-logs.sh 04:03:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:03:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:03:05 ---> job-cost.sh 04:03:05 lf-activate-venv: SKIPPING 04:03:05 DEBUG: total: 0.20999999344348907 04:03:05 INFO: Retrieving Stack Cost... 04:03:05 INFO: Retrieving Pricing Info for: v1-standard-2 04:03:06 INFO: Archiving Costs [Pipeline] echo 04:03:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:03:06 ---> logs-deploy.sh 04:03:06 lf-activate-venv: SKIPPING 04:03:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-844/4 04:03:06 INFO: archiving workspace using pattern(s): 04:03:08 Archives upload complete. 04:03:08 INFO: archiving logs to Nexus