Pull request #728 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a28626f6aaa6c192cdd5985ec95e8d822927251d+d510da1b257a72a1ecadf2ee4e04e7d54b2df89d (921b550b54c16ef4357e0f92e762375e548fe11d) 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 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23554’ is offline; ‘prd-centos7-docker-4c-2g-23556’ is offline; ‘prd-centos7-docker-4c-2g-23558’ is offline; ‘prd-centos7-docker-4c-2g-23559’ is offline; ‘prd-centos7-docker-4c-2g-23577’ is offline; ‘prd-centos7-docker-4c-2g-23587’ is offline; ‘prd-centos7-docker-4c-2g-23588’ is offline; ‘prd-centos7-docker-4c-2g-23594’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-23595’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23426’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23547’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23565’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23566’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23568’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23569’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23570’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23585’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-23603 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [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-728 # 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/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit a28626f6aaa6c192cdd5985ec95e8d822927251d Merge succeeded, producing a28626f6aaa6c192cdd5985ec95e8d822927251d Checking out Revision a28626f6aaa6c192cdd5985ec95e8d822927251d (PR-728) > git config core.sparsecheckout # timeout=10 > git checkout -f a28626f6aaa6c192cdd5985ec95e8d822927251d # 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 d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a28626f6aaa6c192cdd5985ec95e8d822927251d # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:49:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk 6f85aae79f154fd1ef9fe61c0d26e972f4d920ed # timeout=10 00:49:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:49:54 ========================================================= 00:49:54 EdgeX Global Pipelines Version Info 00:49:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:49:55 ------------------- 00:49:55 stable info: 00:49:55 ------------------- 00:49:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:49:55 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:49:55 Message: update stable to v1.0.179 00:49:56 ------------------- 00:49:56 experimental info: 00:49:56 ------------------- 00:49:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:49:56 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:49:56 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:49:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 00:49:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 00:49:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:49:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:49:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:49:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:49:57 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:49:57 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:49:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 00:49:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:49:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:49:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 00:49:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:49:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:49:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:49:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:49:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:49:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:49:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-728 [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-728 [Pipeline] echo 00:49:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-728 [Pipeline] echo 00:50:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a28626f6aaa6c192cdd5985ec95e8d822927251d [Pipeline] echo 00:50:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a28626f [Pipeline] echo 00:50:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:50:00 provisioning config files... 00:50:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config3196025162342021849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:50:00 ---> docker-login.sh 00:50:00 nexus3.edgexfoundry.org:10001 00:50:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:01 Configure a credential helper to remove this warning. See 00:50:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:01 00:50:01 Login Succeeded 00:50:01 nexus3.edgexfoundry.org:10002 00:50:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:01 Configure a credential helper to remove this warning. See 00:50:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:01 00:50:01 Login Succeeded 00:50:01 nexus3.edgexfoundry.org:10003 00:50:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:01 Configure a credential helper to remove this warning. See 00:50:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:01 00:50:01 Login Succeeded 00:50:01 nexus3.edgexfoundry.org:10004 00:50:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:02 Configure a credential helper to remove this warning. See 00:50:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:02 00:50:02 Login Succeeded 00:50:02 docker.io 00:50:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:50:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:50:02 Configure a credential helper to remove this warning. See 00:50:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:50:02 00:50:02 Login Succeeded 00:50:02 ---> docker-login.sh ends [Pipeline] } 00:50:02 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 00:50:03 + git log --format=format:%s -1 a28626f6aaa6c192cdd5985ec95e8d822927251d [Pipeline] echo 00:50:03 GIT_COMMIT: a28626f6aaa6c192cdd5985ec95e8d822927251d, Commit Message: build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0 [Pipeline] echo 00:50:03 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:50:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:50:03 00:50:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:50:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:50:04 latest: Pulling from edgex-devops/git-semver 00:50:04 31603596830f: Pulling fs layer 00:50:04 2a8b12db71e7: Pulling fs layer 00:50:04 6ca5941a6612: Pulling fs layer 00:50:04 ecc8261a40a4: Pulling fs layer 00:50:04 ecc8261a40a4: Waiting 00:50:04 2a8b12db71e7: Verifying Checksum 00:50:04 2a8b12db71e7: Download complete 00:50:04 31603596830f: Verifying Checksum 00:50:04 31603596830f: Download complete 00:50:04 ecc8261a40a4: Verifying Checksum 00:50:04 ecc8261a40a4: Download complete 00:50:04 6ca5941a6612: Verifying Checksum 00:50:04 6ca5941a6612: Download complete 00:50:04 31603596830f: Pull complete 00:50:04 2a8b12db71e7: Pull complete 00:50:05 6ca5941a6612: Pull complete 00:50:05 ecc8261a40a4: Pull complete 00:50:05 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:50:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:50:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:50:05 prd-centos7-docker-4c-2g-23603 does not seem to be running inside a container 00:50:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-728 -v /w/workspace/dgexfoundry_device-sdk-go_PR-728:/w/workspace/dgexfoundry_device-sdk-go_PR-728:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:50:08 $ docker top b108b2671d9c2ec0c440fc31723a97412cec1c6824d35b0864348219ebcec70e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:50:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:50:08 [ssh-agent] Looking for ssh-agent implementation... 00:50:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:50:08 $ docker exec b108b2671d9c2ec0c440fc31723a97412cec1c6824d35b0864348219ebcec70e ssh-agent 00:50:08 SSH_AUTH_SOCK=/tmp/ssh-cpdiwui6oRuO/agent.12 00:50:08 SSH_AGENT_PID=18 00:50:08 Running ssh-add (command line suppressed) 00:50:08 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_4222780203622215835.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_4222780203622215835.key) 00:50:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:50:09 + git tag --points-at HEAD [Pipeline] } 00:50:09 $ docker exec --env ******** --env ******** b108b2671d9c2ec0c440fc31723a97412cec1c6824d35b0864348219ebcec70e ssh-agent -k 00:50:09 unset SSH_AUTH_SOCK; 00:50:09 unset SSH_AGENT_PID; 00:50:09 echo Agent pid 18 killed; 00:50:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:50:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:50:09 [ssh-agent] Looking for ssh-agent implementation... 00:50:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:50:09 $ docker exec b108b2671d9c2ec0c440fc31723a97412cec1c6824d35b0864348219ebcec70e ssh-agent 00:50:10 SSH_AUTH_SOCK=/tmp/ssh-Im56ZCs7Xn4u/agent.47 00:50:10 SSH_AGENT_PID=52 00:50:10 Running ssh-add (command line suppressed) 00:50:10 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_2158347597466884062.key (/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/private_key_2158347597466884062.key) 00:50:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:50:10 + git semver init 00:50:10 # -> Open(): unable to determine branch for HEAD 00:50:10 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.git 00:50:10 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-728 00:50:10 # $SEMVER_REMOTE_NAME = origin 00:50:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:50:10 # $SEMVER_USER_NAME = edgex-jenkins 00:50:10 # $SEMVER_BRANCH = PR-728 00:50:10 # $SEMVER_TEMP = /tmp/semver-206245998 00:50:10 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 00:50:11 # '/tmp/semver-206245998' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver' 00:50:11 # -> Force: false 00:50:11 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-728/.semver [Pipeline] } 00:50:11 $ docker exec --env ******** --env ******** b108b2671d9c2ec0c440fc31723a97412cec1c6824d35b0864348219ebcec70e ssh-agent -k 00:50:11 unset SSH_AUTH_SOCK; 00:50:11 unset SSH_AGENT_PID; 00:50:11 echo Agent pid 52 killed; 00:50:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:50:12 + git semver [Pipeline] } 00:50:12 $ docker stop --time=1 b108b2671d9c2ec0c440fc31723a97412cec1c6824d35b0864348219ebcec70e 00:50:13 $ docker rm -f b108b2671d9c2ec0c440fc31723a97412cec1c6824d35b0864348219ebcec70e [Pipeline] // withDockerContainer [Pipeline] sh 00:50:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:50:14 Stashed 1 file(s) [Pipeline] echo 00:50:14 [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 00:50:30 Still waiting to schedule task 00:50:30 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:50:30 Still waiting to schedule task 00:50:30 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:54:45 Running on prd-centos7-docker-4c-2g-23606 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws 00:54:45 Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout 00:54:48 using credential edgex-jenkins-ssh 00:54:48 Cloning the remote Git repository 00:54:48 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:54:48 > git init /w/workspace/device-sdk-go/13 # timeout=10 00:54:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:54:48 > git --version # timeout=10 00:54:48 > git --version # 'git version 2.24.3' 00:54:48 using GIT_SSH to set credentials SSH Credentials for GitHub 00:54:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:54:49 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit a28626f6aaa6c192cdd5985ec95e8d822927251d 00:54:49 Merge succeeded, producing a28626f6aaa6c192cdd5985ec95e8d822927251d 00:54:49 Checking out Revision a28626f6aaa6c192cdd5985ec95e8d822927251d (PR-728) 00:54:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:54:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:54:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:54:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:54:49 using GIT_SSH to set credentials SSH Credentials for GitHub 00:54:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:54:49 > git config core.sparsecheckout # timeout=10 00:54:49 > git checkout -f a28626f6aaa6c192cdd5985ec95e8d822927251d # timeout=10 00:54:49 > git remote # timeout=10 00:54:49 > git config --get remote.origin.url # timeout=10 00:54:49 using GIT_SSH to set credentials SSH Credentials for GitHub 00:54:49 > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 00:54:49 > git rev-parse HEAD^{commit} # timeout=10 00:54:49 > git config core.sparsecheckout # timeout=10 00:54:49 > git checkout -f a28626f6aaa6c192cdd5985ec95e8d822927251d # timeout=10 00:54:53 Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:54:55 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:54:55 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:54:55 + sudo service docker restart 00:54:55 + true 00:54:55 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:54:56 provisioning config files... 00:54:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/13@tmp/config3270722141125090858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:57 ---> docker-login.sh 00:54:57 nexus3.edgexfoundry.org:10001 00:54:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:57 Configure a credential helper to remove this warning. See 00:54:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:57 00:54:57 Login Succeeded 00:54:57 nexus3.edgexfoundry.org:10002 00:54:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:57 Configure a credential helper to remove this warning. See 00:54:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:57 00:54:57 Login Succeeded 00:54:57 nexus3.edgexfoundry.org:10003 00:54:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:58 Configure a credential helper to remove this warning. See 00:54:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:58 00:54:58 Login Succeeded 00:54:58 nexus3.edgexfoundry.org:10004 00:54:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:58 Configure a credential helper to remove this warning. See 00:54:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:58 00:54:58 Login Succeeded 00:54:58 docker.io 00:54:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:58 Configure a credential helper to remove this warning. See 00:54:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:58 00:54:58 Login Succeeded 00:54:58 ---> docker-login.sh ends [Pipeline] } 00:54:58 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:54:58 ========================================================= 00:54:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:54:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:54:59 + 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 . 00:54:59 Sending build context to Docker daemon 2.565MB 00:54:59 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:54:59 Step 2/8 : FROM ${BASE} 00:54:59 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:54:59 188c0c94c7c5: Pulling fs layer 00:54:59 0ef7d3d256c8: Pulling fs layer 00:54:59 de9db76c5a1d: Pulling fs layer 00:54:59 bca2f99d35d6: Pulling fs layer 00:54:59 93359f2a8cfa: Pulling fs layer 00:54:59 7c6f9722023f: Pulling fs layer 00:54:59 a35cf1a2eb13: Pulling fs layer 00:54:59 93359f2a8cfa: Waiting 00:54:59 7c6f9722023f: Waiting 00:54:59 a35cf1a2eb13: Waiting 00:54:59 bca2f99d35d6: Waiting 00:55:01 de9db76c5a1d: Verifying Checksum 00:55:01 de9db76c5a1d: Download complete 00:55:01 0ef7d3d256c8: Verifying Checksum 00:55:01 0ef7d3d256c8: Download complete 00:55:01 93359f2a8cfa: Verifying Checksum 00:55:01 93359f2a8cfa: Download complete 00:55:01 7c6f9722023f: Verifying Checksum 00:55:01 7c6f9722023f: Download complete 00:55:01 188c0c94c7c5: Verifying Checksum 00:55:01 188c0c94c7c5: Download complete 00:55:01 188c0c94c7c5: Pull complete 00:55:01 0ef7d3d256c8: Pull complete 00:55:01 de9db76c5a1d: Pull complete 00:55:02 a35cf1a2eb13: Verifying Checksum 00:55:02 a35cf1a2eb13: Download complete 00:55:03 bca2f99d35d6: Verifying Checksum 00:55:03 bca2f99d35d6: Download complete 00:55:09 bca2f99d35d6: Pull complete 00:55:09 93359f2a8cfa: Pull complete 00:55:09 7c6f9722023f: Pull complete 00:55:16 a35cf1a2eb13: Pull complete 00:55:16 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:55:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:55:16 ---> a62c8e92a672 00:55:16 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:55:16 ---> Running in c8fa8f6f2b86 00:55:16 Removing intermediate container c8fa8f6f2b86 00:55:16 ---> 871ccfdc0da5 00:55:16 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:55:16 ---> Running in 0d10f118b4f4 00:55:18 Removing intermediate container 0d10f118b4f4 00:55:18 ---> 2642e52d9325 00:55:18 Step 5/8 : RUN apk add --update --no-cache make git 00:55:18 ---> Running in 9b6f0692cfa3 00:55:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:55:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:55:20 OK: 166 MiB in 39 packages 00:55:21 Removing intermediate container 9b6f0692cfa3 00:55:21 ---> 18295505ad3f 00:55:21 Step 6/8 : WORKDIR /device-sdk-go 00:55:21 ---> Running in 27e287744f18 00:55:21 Removing intermediate container 27e287744f18 00:55:21 ---> 83ff4313cf23 00:55:21 Step 7/8 : COPY . . 00:55:23 ---> 5f4e6de6d63b 00:55:23 Step 8/8 : RUN go mod download 00:55:23 ---> Running in 86c86ce337eb 00:55:45 Removing intermediate container 86c86ce337eb 00:55:45 ---> c7cb6e20b516 00:55:45 Successfully built c7cb6e20b516 00:55:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:55:45 + docker inspect -f . ci-base-image-x86_64 00:55:45 . [Pipeline] withDockerContainer 00:55:45 prd-centos7-docker-4c-2g-23606 does not seem to be running inside a container 00:55:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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-x86_64 cat 00:55:46 $ docker top 8121c845e22bfe3b34d4696d613cd777712bef8d6a7e95dc57b90d5b41bfc460 -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:47 + go version 00:55:47 go version go1.15.5 linux/amd64 [Pipeline] } 00:55:47 $ docker stop --time=1 8121c845e22bfe3b34d4696d613cd777712bef8d6a7e95dc57b90d5b41bfc460 00:55:48 $ docker rm -f 8121c845e22bfe3b34d4696d613cd777712bef8d6a7e95dc57b90d5b41bfc460 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:55:49 + docker inspect -f . ci-base-image-x86_64 00:55:49 . [Pipeline] withDockerContainer 00:55:49 prd-centos7-docker-4c-2g-23606 does not seem to be running inside a container 00:55:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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-x86_64 cat 00:55:50 $ docker top 34acbb083456c2342166a50b9311459fa9e826a58ce06d3ff4c13d7a701e0e95 -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:51 + make test 00:55:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:55:59 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 00:56:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 00:56:18 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 00:56:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 00:56:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.086s coverage: 19.4% of statements 00:56:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.556s coverage: 97.1% of statements 00:56:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.072s coverage: 9.4% of statements 00:56:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.075s coverage: 21.7% of statements 00:56:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 00:56:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.252s coverage: 43.2% of statements 00:56:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 00:56:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.312s coverage: 68.9% of statements 00:56:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 00:56:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 00:56:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 00:56:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 00:56:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.083s coverage: 53.8% of statements 00:56:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 00:56:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 00:56:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.073s coverage: 26.8% of statements 00:56:52 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.356s coverage: 83.5% of statements 00:56:52 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.066s coverage: 4.2% of statements 00:56:52 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 00:56:52 GO111MODULE=on go vet ./... 00:56:55 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23614 in /w/workspace/dgexfoundry_device-sdk-go_PR-728 [Pipeline] { [Pipeline] ws 00:56:55 Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout 00:56:59 gofmt -l . 00:56:59 [ "`gofmt -l .`" = "" ] 00:56:59 ./bin/test-attribution-txt.sh 00:56:59 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:57:00 $ docker stop --time=1 34acbb083456c2342166a50b9311459fa9e826a58ce06d3ff4c13d7a701e0e95 00:57:01 using credential edgex-jenkins-ssh 00:57:01 Cloning the remote Git repository 00:57:02 $ docker rm -f 34acbb083456c2342166a50b9311459fa9e826a58ce06d3ff4c13d7a701e0e95 00:57:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:57:01 > git init /w/workspace/device-sdk-go/13 # timeout=10 00:57:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:57:01 > git --version # timeout=10 00:57:01 > git --version # 'git version 2.17.1' 00:57:01 using GIT_SSH to set credentials SSH Credentials for GitHub 00:57:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // withDockerContainer [Pipeline] sh 00:57:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:57:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:57:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:57:04 + ls -al . 00:57:04 total 216 00:57:04 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 28 00:56 . 00:57:04 drwxrwxr-x. 4 jenkins jenkins 30 Jan 28 00:54 .. 00:57:04 drwxrwxr-x. 2 jenkins jenkins 64 Jan 28 00:54 bin 00:57:04 -rw-r--r--. 1 jenkins jenkins 136842 Jan 28 00:56 coverage.out 00:57:04 -rw-rw-r--. 1 jenkins jenkins 949 Jan 28 00:54 Dockerfile.build 00:57:04 -rw-rw-r--. 1 jenkins jenkins 140 Jan 28 00:54 .dockerignore 00:57:04 drwxrwxr-x. 4 jenkins jenkins 48 Jan 28 00:54 example 00:57:04 drwxrwxr-x. 8 jenkins jenkins 179 Jan 28 00:54 .git 00:57:04 drwxrwxr-x. 2 jenkins jenkins 103 Jan 28 00:54 .github 00:57:04 -rw-rw-r--. 1 jenkins jenkins 138 Jan 28 00:54 .gitignore 00:57:04 -rw-r--r--. 1 jenkins jenkins 514 Jan 28 00:56 go.mod 00:57:04 -rw-r--r--. 1 jenkins jenkins 14191 Jan 28 00:56 go.sum 00:57:04 drwxrwxr-x. 15 jenkins jenkins 211 Jan 28 00:54 internal 00:57:04 -rw-rw-r--. 1 jenkins jenkins 901 Jan 28 00:54 Jenkinsfile 00:57:04 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 28 00:54 LICENSE 00:57:04 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 28 00:54 Makefile 00:57:04 drwxrwxr-x. 4 jenkins jenkins 26 Jan 28 00:54 openapi 00:57:04 drwxrwxr-x. 5 jenkins jenkins 50 Jan 28 00:54 pkg 00:57:04 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 28 00:54 README.md 00:57:04 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 28 00:54 RELEASE-NOTES.txt 00:57:04 drwxrwxr-x. 4 jenkins jenkins 54 Jan 28 00:54 snap 00:57:04 -rw-rw-r--. 1 jenkins jenkins 5 Jan 28 00:50 VERSION 00:57:04 -rw-rw-r--. 1 jenkins jenkins 222 Jan 28 00:54 version.go [Pipeline] isUnix [Pipeline] sh 00:57:05 + 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=a28626f6aaa6c192cdd5985ec95e8d822927251d --label arch=amd64 --label version=0.0.0 . 00:57:05 Sending build context to Docker daemon 2.703MB 00:57:05 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 00:57:05 Step 2/24 : FROM ${BASE} AS builder 00:57:05 ---> c7cb6e20b516 00:57:05 Step 3/24 : ARG MAKE='make build' 00:57:05 Merging remotes/origin/master commit d510da1b257a72a1ecadf2ee4e04e7d54b2df89d into PR head commit a28626f6aaa6c192cdd5985ec95e8d822927251d 00:57:06 ---> Running in a12915379f47 00:57:06 Removing intermediate container a12915379f47 00:57:06 ---> b5432afa24ed 00:57:06 Step 4/24 : WORKDIR /device-sdk-go 00:57:06 Merge succeeded, producing a28626f6aaa6c192cdd5985ec95e8d822927251d 00:57:06 Checking out Revision a28626f6aaa6c192cdd5985ec95e8d822927251d (PR-728) 00:57:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:57:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:57:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:57:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:57:05 using GIT_SSH to set credentials SSH Credentials for GitHub 00:57:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/728/head:refs/remotes/origin/PR-728 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:57:05 > git config core.sparsecheckout # timeout=10 00:57:05 > git checkout -f a28626f6aaa6c192cdd5985ec95e8d822927251d # timeout=10 00:57:05 > git remote # timeout=10 00:57:05 > git config --get remote.origin.url # timeout=10 00:57:05 using GIT_SSH to set credentials SSH Credentials for GitHub 00:57:06 > git merge d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 00:57:06 > git rev-parse HEAD^{commit} # timeout=10 00:57:06 > git config core.sparsecheckout # timeout=10 00:57:06 > git checkout -f a28626f6aaa6c192cdd5985ec95e8d822927251d # timeout=10 00:57:06 ---> Running in a8f6d0a2dd4b 00:57:06 Removing intermediate container a8f6d0a2dd4b 00:57:06 ---> 5585278dd19e 00:57:06 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:57:06 ---> Running in 80fb2dd1b101 00:57:06 Removing intermediate container 80fb2dd1b101 00:57:06 ---> 6bedba8aaed1 00:57:06 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:57:06 ---> Running in ab815a43a09a 00:57:07 Removing intermediate container ab815a43a09a 00:57:07 ---> 2d24bb5a151a 00:57:07 Step 7/24 : RUN apk add --update --no-cache make git 00:57:07 ---> Running in 0e5e33d3d88c 00:57:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:57:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:57:10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:57:11 OK: 166 MiB in 39 packages 00:57:12 Removing intermediate container 0e5e33d3d88c 00:57:12 ---> 58c6160eebfd 00:57:12 Step 8/24 : COPY . . 00:57:12 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:57:12 ---> 5a65f9f6df20 00:57:12 Step 9/24 : RUN ${MAKE} 00:57:12 ---> Running in f705c1600931 00:57:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:57:13 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 00:57:13 + + sudo service docker restart 00:57:13 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:57:16 provisioning config files... 00:57:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/13@tmp/config7407315201150046141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:57:16 ---> docker-login.sh 00:57:16 nexus3.edgexfoundry.org:10001 00:57:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:17 Configure a credential helper to remove this warning. See 00:57:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:17 00:57:17 Login Succeeded 00:57:17 nexus3.edgexfoundry.org:10002 00:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:18 Configure a credential helper to remove this warning. See 00:57:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:18 00:57:18 Login Succeeded 00:57:18 nexus3.edgexfoundry.org:10003 00:57:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:18 Configure a credential helper to remove this warning. See 00:57:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:18 00:57:18 Login Succeeded 00:57:18 nexus3.edgexfoundry.org:10004 00:57:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:19 Configure a credential helper to remove this warning. See 00:57:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:19 00:57:19 Login Succeeded 00:57:19 docker.io 00:57:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:57:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:57:20 Configure a credential helper to remove this warning. See 00:57:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:57:20 00:57:20 Login Succeeded 00:57:20 ---> docker-login.sh ends [Pipeline] } 00:57:20 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:57:20 ========================================================= 00:57:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:57:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:57:21 + 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 . 00:57:21 Sending build context to Docker daemon 2.566MB 00:57:21 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 00:57:21 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:57:21 Step 2/8 : FROM ${BASE} 00:57:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:57:21 5f621e34cdf4: Pulling fs layer 00:57:21 a4357932f1b6: Pulling fs layer 00:57:21 18c013af1878: Pulling fs layer 00:57:21 00ac8860ef70: Pulling fs layer 00:57:21 63d7cb157983: Pulling fs layer 00:57:21 b116817d02f9: Pulling fs layer 00:57:21 745a02a5169b: Pulling fs layer 00:57:21 00ac8860ef70: Waiting 00:57:21 63d7cb157983: Waiting 00:57:21 b116817d02f9: Waiting 00:57:21 745a02a5169b: Waiting 00:57:21 18c013af1878: Verifying Checksum 00:57:21 18c013af1878: Download complete 00:57:21 a4357932f1b6: Download complete 00:57:21 63d7cb157983: Download complete 00:57:21 b116817d02f9: Verifying Checksum 00:57:21 b116817d02f9: Download complete 00:57:21 5f621e34cdf4: Verifying Checksum 00:57:21 5f621e34cdf4: Download complete 00:57:22 5f621e34cdf4: Pull complete 00:57:23 a4357932f1b6: Pull complete 00:57:23 Removing intermediate container f705c1600931 00:57:23 ---> ae1e810ac974 00:57:23 Step 10/24 : FROM scratch 00:57:23 ---> 00:57:23 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:57:23 18c013af1878: Pull complete 00:57:23 ---> Running in 9e90b3f735bf 00:57:23 Removing intermediate container 9e90b3f735bf 00:57:23 ---> 27d512e3e079 00:57:23 Step 12/24 : ENV APP_PORT=49990 00:57:24 ---> Running in b35107b12882 00:57:24 Removing intermediate container b35107b12882 00:57:24 ---> 304f7293467a 00:57:24 Step 13/24 : EXPOSE $APP_PORT 00:57:24 ---> Running in 6ae98c0c7e11 00:57:24 Removing intermediate container 6ae98c0c7e11 00:57:24 ---> 44df6c088e24 00:57:24 Step 14/24 : WORKDIR / 00:57:24 ---> Running in ad2f05c85353 00:57:24 Removing intermediate container ad2f05c85353 00:57:24 ---> 963937bae941 00:57:24 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 00:57:24 745a02a5169b: Verifying Checksum 00:57:24 745a02a5169b: Download complete 00:57:25 ---> 3d6c4970ff15 00:57:25 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 00:57:25 ---> 8d9745cbb1a0 00:57:25 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 00:57:25 00ac8860ef70: Verifying Checksum 00:57:25 00ac8860ef70: Download complete 00:57:25 ---> 8920c07275eb 00:57:25 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 00:57:25 ---> ace4f421abfa 00:57:25 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 00:57:26 ---> 582ed1f99934 00:57:26 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 00:57:26 ---> Running in df992ee83855 00:57:26 Removing intermediate container df992ee83855 00:57:26 ---> ff32d30e937e 00:57:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:57:26 ---> Running in 4f57d796b5df 00:57:26 Removing intermediate container 4f57d796b5df 00:57:26 ---> 4ce65edd1dc9 00:57:26 Step 22/24 : LABEL arch=amd64 00:57:26 ---> Running in 696fdabafa53 00:57:27 Removing intermediate container 696fdabafa53 00:57:27 ---> 54e8235bbd67 00:57:27 Step 23/24 : LABEL git_sha=a28626f6aaa6c192cdd5985ec95e8d822927251d 00:57:27 ---> Running in 798d71ab3f45 00:57:27 Removing intermediate container 798d71ab3f45 00:57:27 ---> 3e2f882c8c41 00:57:27 Step 24/24 : LABEL version=0.0.0 00:57:27 ---> Running in 06b2ef3ede43 00:57:27 Removing intermediate container 06b2ef3ede43 00:57:27 ---> d7a9d96fe20d 00:57:27 [Warning] One or more build-args [ARCH] were not consumed 00:57:27 Successfully built d7a9d96fe20d 00:57:27 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:57:35 00ac8860ef70: Pull complete 00:57:36 63d7cb157983: Pull complete 00:57:36 b116817d02f9: Pull complete 00:57:39 745a02a5169b: Pull complete 00:57:39 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:57:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:57:39 ---> b7e6874047d6 00:57:39 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:57:43 ---> Running in d86e141dac83 00:57:43 Removing intermediate container d86e141dac83 00:57:43 ---> a558fd2f9863 00:57:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:57:43 ---> Running in 5c763102dd63 00:57:46 Removing intermediate container 5c763102dd63 00:57:46 ---> eb85bbf6a2e1 00:57:46 Step 5/8 : RUN apk add --update --no-cache make git 00:57:46 ---> Running in 5a7703333b92 00:57:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:57:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:57:50 OK: 142 MiB in 39 packages 00:57:51 Removing intermediate container 5a7703333b92 00:57:51 ---> 50233e6ef28a 00:57:51 Step 6/8 : WORKDIR /device-sdk-go 00:57:51 ---> Running in 90d1c49c35bd 00:57:52 Removing intermediate container 90d1c49c35bd 00:57:52 ---> e341756744ff 00:57:52 Step 7/8 : COPY . . 00:57:53 ---> c57a60174b3d 00:57:53 Step 8/8 : RUN go mod download 00:57:53 ---> Running in c02b8dfbafed 00:58:20 Removing intermediate container c02b8dfbafed 00:58:20 ---> cf2fb1072b79 00:58:20 Successfully built cf2fb1072b79 00:58:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:58:20 + docker inspect -f . ci-base-image-arm64 00:58:20 . [Pipeline] withDockerContainer 00:58:21 prd-ubuntu18.04-docker-arm64-4c-16g-23614 does not seem to be running inside a container 00:58:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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 ******** ci-base-image-arm64 cat 00:58:23 $ docker top 2c85074fd4483a4aeaac3691aa34cb5e5aafb599ae0b6e6994adbeff8d22653b -eo pid,comm [Pipeline] { [Pipeline] sh 00:58:24 + go version 00:58:24 go version go1.15.5 linux/arm64 [Pipeline] } 00:58:24 $ docker stop --time=1 2c85074fd4483a4aeaac3691aa34cb5e5aafb599ae0b6e6994adbeff8d22653b 00:58:26 $ docker rm -f 2c85074fd4483a4aeaac3691aa34cb5e5aafb599ae0b6e6994adbeff8d22653b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:58:27 + docker inspect -f . ci-base-image-arm64 00:58:27 . [Pipeline] withDockerContainer 00:58:27 prd-ubuntu18.04-docker-arm64-4c-16g-23614 does not seem to be running inside a container 00:58:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@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 ******** ci-base-image-arm64 cat 00:58:29 $ docker top ca192f5c09e6c626a5cbd8bd4bed2e447b669dc821fec0e7f4fe2a96f9c8d849 -eo pid,comm [Pipeline] { [Pipeline] sh 00:58:30 + make test 00:58:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:58:57 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 00:59:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 00:59:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 00:59:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 00:59:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.197s coverage: 19.4% of statements 00:59:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.548s coverage: 97.1% of statements 01:00:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.133s coverage: 9.4% of statements 01:00:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.129s coverage: 21.7% of statements 01:00:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:00:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.747s coverage: 43.2% of statements 01:00:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 01:00:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.838s coverage: 68.9% of statements 01:00:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 01:00:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 01:00:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:00:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:00:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.191s coverage: 53.8% of statements 01:00:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 01:00:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 01:00:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.190s coverage: 26.8% of statements 01:00:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.335s coverage: 83.5% of statements 01:00:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.152s coverage: 4.2% of statements 01:00:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:00:25 GO111MODULE=on go vet ./... 01:01:04 gofmt -l . 01:01:04 [ "`gofmt -l .`" = "" ] 01:01:04 ./bin/test-attribution-txt.sh 01:01:05 ./bin/test-go-mod-tidy.sh [Pipeline] } 01:01:05 $ docker stop --time=1 ca192f5c09e6c626a5cbd8bd4bed2e447b669dc821fec0e7f4fe2a96f9c8d849 01:01:08 $ docker rm -f ca192f5c09e6c626a5cbd8bd4bed2e447b669dc821fec0e7f4fe2a96f9c8d849 [Pipeline] // withDockerContainer [Pipeline] sh 01:01:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:01:09 Warning: overwriting stash ‘coverage-report’ 01:01:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:01:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:01:11 + ls -al . 01:01:11 total 252 01:01:11 drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 01:01 . 01:01:11 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:57 .. 01:01:11 -rw-rw-r-- 1 jenkins jenkins 140 Jan 28 00:57 .dockerignore 01:01:11 drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 00:57 .git 01:01:11 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 00:57 .github 01:01:11 -rw-rw-r-- 1 jenkins jenkins 138 Jan 28 00:57 .gitignore 01:01:11 -rw-rw-r-- 1 jenkins jenkins 949 Jan 28 00:57 Dockerfile.build 01:01:11 -rw-rw-r-- 1 jenkins jenkins 901 Jan 28 00:57 Jenkinsfile 01:01:11 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 28 00:57 LICENSE 01:01:11 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 28 00:57 Makefile 01:01:11 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 28 00:57 README.md 01:01:11 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 28 00:57 RELEASE-NOTES.txt 01:01:11 -rw-rw-r-- 1 jenkins jenkins 5 Jan 28 00:50 VERSION 01:01:11 drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 00:57 bin 01:01:11 -rw-r--r-- 1 jenkins jenkins 136842 Jan 28 01:00 coverage.out 01:01:11 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:57 example 01:01:11 -rw-r--r-- 1 jenkins jenkins 514 Jan 28 01:01 go.mod 01:01:11 -rw-r--r-- 1 jenkins jenkins 14191 Jan 28 01:01 go.sum 01:01:11 drwxrwxr-x 15 jenkins jenkins 4096 Jan 28 00:57 internal 01:01:11 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:57 openapi 01:01:11 drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 00:57 pkg 01:01:11 drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:57 snap 01:01:11 -rw-rw-r-- 1 jenkins jenkins 222 Jan 28 00:57 version.go [Pipeline] isUnix [Pipeline] sh 01:01:11 + 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=a28626f6aaa6c192cdd5985ec95e8d822927251d --label arch=arm64 --label version=0.0.0 . 01:01:12 Sending build context to Docker daemon 2.703MB 01:01:12 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 01:01:12 Step 2/24 : FROM ${BASE} AS builder 01:01:12 ---> cf2fb1072b79 01:01:12 Step 3/24 : ARG MAKE='make build' 01:01:12 ---> Running in 22dca175841c 01:01:13 Removing intermediate container 22dca175841c 01:01:13 ---> c0ad7fcb577a 01:01:13 Step 4/24 : WORKDIR /device-sdk-go 01:01:13 ---> Running in a5120f67deba 01:01:13 Removing intermediate container a5120f67deba 01:01:13 ---> cc6a4bc6ed09 01:01:13 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:01:13 ---> Running in ca55bce67b39 01:01:14 Removing intermediate container ca55bce67b39 01:01:14 ---> 44c7a43c3361 01:01:14 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:01:14 ---> Running in e02a3ad26ec7 01:01:17 Removing intermediate container e02a3ad26ec7 01:01:17 ---> 342c8858dde6 01:01:17 Step 7/24 : RUN apk add --update --no-cache make git 01:01:17 ---> Running in 754ae551eb4a 01:01:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:01:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:01:19 OK: 142 MiB in 39 packages 01:01:21 Removing intermediate container 754ae551eb4a 01:01:21 ---> 5bc12b27f222 01:01:21 Step 8/24 : COPY . . 01:01:22 ---> 211afa27c514 01:01:22 Step 9/24 : RUN ${MAKE} 01:01:22 ---> Running in 6af41fe51750 01:01:24 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 01:01:56 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 01:01:57 Removing intermediate container 6af41fe51750 01:01:57 ---> ea6cd7d5d97a 01:01:57 Step 10/24 : FROM scratch 01:01:57 ---> 01:01:57 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:01:57 ---> Running in 27dfb83f90c5 01:01:57 Removing intermediate container 27dfb83f90c5 01:01:57 ---> 53109b48ce46 01:01:57 Step 12/24 : ENV APP_PORT=49990 01:01:57 ---> Running in f9e01d46b250 01:01:58 Removing intermediate container f9e01d46b250 01:01:58 ---> 02b57b430b00 01:01:58 Step 13/24 : EXPOSE $APP_PORT 01:01:58 ---> Running in 4a2fa806dd09 01:01:59 Removing intermediate container 4a2fa806dd09 01:01:59 ---> b90d268afd3f 01:01:59 Step 14/24 : WORKDIR / 01:01:59 ---> Running in 804ae860bd3c 01:01:59 Removing intermediate container 804ae860bd3c 01:01:59 ---> 1f134f042b82 01:01:59 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 01:02:00 ---> 36e24bb2fee8 01:02:00 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 01:02:01 ---> c2a12ac5f5b4 01:02:01 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 01:02:02 ---> f336b993956e 01:02:02 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 01:02:03 ---> 65ab8296b487 01:02:03 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 01:02:03 ---> 982a7eb673c5 01:02:03 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 01:02:04 ---> Running in da16a1be505e 01:02:04 Removing intermediate container da16a1be505e 01:02:04 ---> 8a3fe23369f5 01:02:04 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:02:04 ---> Running in 7b8ff1f08ec9 01:02:05 Removing intermediate container 7b8ff1f08ec9 01:02:05 ---> df22eb7082d8 01:02:05 Step 22/24 : LABEL arch=arm64 01:02:05 ---> Running in d598a1adcd8b 01:02:05 Removing intermediate container d598a1adcd8b 01:02:05 ---> 10a6db3835f8 01:02:05 Step 23/24 : LABEL git_sha=a28626f6aaa6c192cdd5985ec95e8d822927251d 01:02:05 ---> Running in bada71c0580c 01:02:06 Removing intermediate container bada71c0580c 01:02:06 ---> 90f926c49141 01:02:06 Step 24/24 : LABEL version=0.0.0 01:02:06 ---> Running in e3bfaaa06a0b 01:02:07 Removing intermediate container e3bfaaa06a0b 01:02:07 ---> 1df29c40f892 01:02:07 [Warning] One or more build-args [ARCH] were not consumed 01:02:07 Successfully built 1df29c40f892 01:02:07 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 01:02:08 provisioning config files... 01:02:08 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config3402318843166647095tmp [Pipeline] { [Pipeline] sh 01:02:09 + set +x 01:02:09 + bash -s -- 01:02:09 + curl -s https://codecov.io/bash 01:02:09 01:02:09 _____ _ 01:02:09 / ____| | | 01:02:09 | | ___ __| | ___ ___ _____ __ 01:02:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:02:09 | |___| (_) | (_| | __/ (_| (_) \ V / 01:02:09 \_____\___/ \__,_|\___|\___\___/ \_/ 01:02:09 Bash-20210128-d4071a2 01:02:09 01:02:09 01:02:09 ==> git version 2.24.3 found 01:02:09 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 01:02:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 01:02:09 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 01:02:09 ==> Jenkins CI detected. 01:02:09 project root: . 01:02:09 --> token set from env 01:02:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:02:09 ==> Running gcov in . (disable via -X gcov) 01:02:09 ==> Python coveragepy not found 01:02:09 ==> Searching for coverage reports in: 01:02:09 + . 01:02:09 -> Found 1 reports 01:02:09 ==> Detecting git/mercurial file structure 01:02:09 ==> Reading reports 01:02:09 + ./coverage.out bytes=136842 01:02:09 ==> Appending adjustments 01:02:09 https://docs.codecov.io/docs/fixing-reports 01:02:09 + Found adjustments 01:02:09 ==> Gzipping contents 01:02:09 24K /tmp/codecov.2zMY2Y.gz 01:02:09 ==> Uploading reports 01:02:09 url: https://codecov.io 01:02:09 query: branch=PR-728&commit=a28626f6aaa6c192cdd5985ec95e8d822927251d&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= 01:02:09 -> Pinging Codecov 01:02:09 https://codecov.io/upload/v4?package=bash-20210128-d4071a2&token=secret&branch=PR-728&commit=a28626f6aaa6c192cdd5985ec95e8d822927251d&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-728%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=728&job=&cmd_args= 01:02:10 -> Uploading to 01:02:10 https://storage.googleapis.com/codecov/v4/raw/2021-01-28/7E55EF52A471D76F132DFD9A03CDDE97/a28626f6aaa6c192cdd5985ec95e8d822927251d/dad8eb25-f08c-4774-91c0-7cd6cec144a7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210128T010210Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1db0770a141879f8ff728cef828b701b8eda45c321eded1f90fcb8d0d91b1f40 01:02:10 % Total % Received % Xferd Average Speed Time Time Time Current 01:02:10 Dload Upload Total Spent Left Speed 01:02:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21554 0 0 100 21554 0 45904 --:--:-- --:--:-- --:--:-- 45859 01:02:10 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a28626f6aaa6c192cdd5985ec95e8d822927251d [Pipeline] } 01:02:10 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 01:02:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:02:13 ---> package-listing.sh 01:02:13 ++ facter osfamily 01:02:13 ++ tr '[:upper:]' '[:lower:]' 01:02:13 + OS_FAMILY=redhat 01:02:13 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-728 01:02:13 + START_PACKAGES=/tmp/packages_start.txt 01:02:13 + END_PACKAGES=/tmp/packages_end.txt 01:02:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:02:13 + PACKAGES=/tmp/packages_start.txt 01:02:13 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' 01:02:13 + PACKAGES=/tmp/packages_end.txt 01:02:13 + case "${OS_FAMILY}" in 01:02:13 + rpm -qa 01:02:13 + sort 01:02:18 + '[' -f /tmp/packages_start.txt ']' 01:02:18 + '[' -f /tmp/packages_end.txt ']' 01:02:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:02:18 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-728 ']' 01:02:18 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-728/archives/ 01:02:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-728/archives/ [Pipeline] echo 01:02:18 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-728/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:02:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:02:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:02:18 01:02:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:02:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:02:19 alpine: Pulling from edgex-lftools-log-publisher 01:02:19 df20fa9351a1: Pulling fs layer 01:02:19 36b3adc4ff6f: Pulling fs layer 01:02:19 8ad3a11d3b57: Pulling fs layer 01:02:19 46f8f816bc3b: Pulling fs layer 01:02:19 93b61091891f: Pulling fs layer 01:02:19 93b9cdb0e59b: Pulling fs layer 01:02:19 5e14af77c1be: Pulling fs layer 01:02:19 01666e4c0597: Pulling fs layer 01:02:19 aa168da1d23b: Pulling fs layer 01:02:19 46f8f816bc3b: Waiting 01:02:19 93b61091891f: Waiting 01:02:19 01666e4c0597: Waiting 01:02:19 aa168da1d23b: Waiting 01:02:19 93b9cdb0e59b: Waiting 01:02:19 36b3adc4ff6f: Download complete 01:02:19 46f8f816bc3b: Verifying Checksum 01:02:19 46f8f816bc3b: Download complete 01:02:19 df20fa9351a1: Verifying Checksum 01:02:19 df20fa9351a1: Download complete 01:02:19 93b9cdb0e59b: Verifying Checksum 01:02:19 93b9cdb0e59b: Download complete 01:02:19 93b61091891f: Download complete 01:02:19 5e14af77c1be: Verifying Checksum 01:02:19 5e14af77c1be: Download complete 01:02:19 01666e4c0597: Download complete 01:02:19 df20fa9351a1: Pull complete 01:02:19 36b3adc4ff6f: Pull complete 01:02:19 8ad3a11d3b57: Verifying Checksum 01:02:19 8ad3a11d3b57: Download complete 01:02:21 8ad3a11d3b57: Pull complete 01:02:21 aa168da1d23b: Verifying Checksum 01:02:21 aa168da1d23b: Download complete 01:02:21 46f8f816bc3b: Pull complete 01:02:22 93b61091891f: Pull complete 01:02:22 93b9cdb0e59b: Pull complete 01:02:22 5e14af77c1be: Pull complete 01:02:22 01666e4c0597: Pull complete 01:02:30 aa168da1d23b: Pull complete 01:02:30 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 01:02:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:02:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 01:02:30 prd-centos7-docker-4c-2g-23603 does not seem to be running inside a container 01:02:30 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-728/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-728 -v /w/workspace/dgexfoundry_device-sdk-go_PR-728:/w/workspace/dgexfoundry_device-sdk-go_PR-728:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 01:02:33 $ docker top 845ddf4b42736368e95fbb1624c65c9c2f7ee77aa090e3cf49314f4215358b48 -eo pid,comm [Pipeline] { [Pipeline] sh 01:02:34 + touch /tmp/pre-build-complete [Pipeline] sh 01:02:34 + mkdir -p /var/log/sa [Pipeline] sh 01:02:34 + ls /var/log/sa-host 01:02:34 + sadf -c /var/log/sa-host/sa23 01:02:34 file_magic: OK 01:02:34 HZ: Using current value: 100 01:02:34 file_header: OK 01:02:34 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 01:02:34 Statistics: 01:02:34 Hnuu...uuuununununu... 01:02:34 File successfully converted to sysstat format version 12.2.1 01:02:34 + sadf -c /var/log/sa-host/sa28 01:02:34 file_magic: OK 01:02:34 HZ: Using current value: 100 01:02:34 file_header: OK 01:02:34 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 01:02:34 Statistics: 01:02:34 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:02:34 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:02:35 provisioning config files... 01:02:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-728@tmp/config4048525876607701279tmp [Pipeline] { [Pipeline] echo 01:02:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:02:35 ---> create-netrc.sh [Pipeline] } 01:02:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 01:02:35 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 01:02:35 ---> python-tools-install.sh [Pipeline] echo 01:02:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:02:36 ---> sudo-logs.sh 01:02:36 Archiving 'sudo' log.. [Pipeline] echo 01:02:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:02:36 ---> job-cost.sh 01:02:36 lf-activate-venv: SKIPPING 01:02:36 INFO: No Stack... 01:02:37 INFO: Retrieving Pricing Info for: v1-standard-2 01:02:38 INFO: Archiving Costs [Pipeline] echo 01:02:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:02:38 ---> logs-deploy.sh 01:02:38 lf-activate-venv: SKIPPING 01:02:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-728/13 01:02:38 INFO: archiving workspace using pattern(s): 01:02:40 Archives upload complete. 01:02:40 INFO: archiving logs to Nexus