Branch indexing 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 gao270615179 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at d47b03cf12e2f169eefdaad978a8d5668b399891 rather than bb3603909ab1ef3aa492044f3b646f1bb29ba67c Obtained Jenkinsfile from d47b03cf12e2f169eefdaad978a8d5668b399891 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-21046 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [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-732 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c > 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/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 Merge succeeded, producing 1204a9500ff0c8c746a195a3f0774d96d98a6e6f Checking out Revision 1204a9500ff0c8c746a195a3f0774d96d98a6e6f (PR-732) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1204a9500ff0c8c746a195a3f0774d96d98a6e6f # timeout=10 Commit message: "Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:42:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:42:43 ========================================================= 02:42:43 EdgeX Global Pipelines Version Info 02:42:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 54903d81de16e04aa6173ce8aa56354737f9ea07 # timeout=10 02:42:45 ------------------- 02:42:45 stable info: 02:42:45 ------------------- 02:42:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:42:45 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 02:42:45 Message: update stable to v1.0.177 02:42:46 ------------------- 02:42:46 experimental info: 02:42:46 ------------------- 02:42:46 Commited By: **** collab-it+edgex@linuxfoundation.org 02:42:46 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 02:42:46 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:42:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:42:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:42:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:42:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:42:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:42:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:42:46 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:42:46 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:42:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:42:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:42:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:42:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:42:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-732 [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-732 [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-732 [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1204a9500ff0c8c746a195a3f0774d96d98a6e6f [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1204a95 [Pipeline] echo 02:42:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:42:49 provisioning config files... 02:42:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config622224459750468617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:49 ---> docker-login.sh 02:42:49 nexus3.edgexfoundry.org:10001 02:42:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:50 Configure a credential helper to remove this warning. See 02:42:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:50 02:42:50 Login Succeeded 02:42:50 nexus3.edgexfoundry.org:10002 02:42:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:50 Configure a credential helper to remove this warning. See 02:42:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:50 02:42:50 Login Succeeded 02:42:50 nexus3.edgexfoundry.org:10003 02:42:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:51 Configure a credential helper to remove this warning. See 02:42:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:51 02:42:51 Login Succeeded 02:42:51 nexus3.edgexfoundry.org:10004 02:42:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:51 Configure a credential helper to remove this warning. See 02:42:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:51 02:42:51 Login Succeeded 02:42:51 docker.io 02:42:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:42:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:42:51 Configure a credential helper to remove this warning. See 02:42:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:42:51 02:42:51 Login Succeeded 02:42:51 ---> docker-login.sh ends [Pipeline] } 02:42:51 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 02:42:52 + git log --format=format:%s -1 1204a9500ff0c8c746a195a3f0774d96d98a6e6f [Pipeline] echo 02:42:52 GIT_COMMIT: 1204a9500ff0c8c746a195a3f0774d96d98a6e6f, Commit Message: Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD [Pipeline] echo 02:42:52 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:42:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:53 02:42:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:42:53 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:53 latest: Pulling from edgex-devops/git-semver 02:42:53 31603596830f: Pulling fs layer 02:42:53 2a8b12db71e7: Pulling fs layer 02:42:53 6ca5941a6612: Pulling fs layer 02:42:53 ecc8261a40a4: Pulling fs layer 02:42:53 ecc8261a40a4: Waiting 02:42:53 2a8b12db71e7: Verifying Checksum 02:42:53 2a8b12db71e7: Download complete 02:42:53 ecc8261a40a4: Verifying Checksum 02:42:53 ecc8261a40a4: Download complete 02:42:53 6ca5941a6612: Verifying Checksum 02:42:53 6ca5941a6612: Download complete 02:42:53 31603596830f: Verifying Checksum 02:42:53 31603596830f: Download complete 02:42:54 31603596830f: Pull complete 02:42:54 2a8b12db71e7: Pull complete 02:42:55 6ca5941a6612: Pull complete 02:42:55 ecc8261a40a4: Pull complete 02:42:55 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:42:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:42:55 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:42:55 prd-centos7-docker-4c-2g-21046 does not seem to be running inside a container 02:42:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@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 02:42:57 $ docker top 96287807e50f8b897294eddd6fbbc4c62140590be70924f1d9d654d74eecf7ef -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:58 [ssh-agent] Looking for ssh-agent implementation... 02:42:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:58 $ docker exec 96287807e50f8b897294eddd6fbbc4c62140590be70924f1d9d654d74eecf7ef ssh-agent 02:42:58 SSH_AUTH_SOCK=/tmp/ssh-vUVBpyUpJMpn/agent.12 02:42:58 SSH_AGENT_PID=17 02:42:58 Running ssh-add (command line suppressed) 02:42:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_699073530362021438.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_699073530362021438.key) 02:42:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:59 + git tag --points-at HEAD [Pipeline] } 02:42:59 $ docker exec --env ******** --env ******** 96287807e50f8b897294eddd6fbbc4c62140590be70924f1d9d654d74eecf7ef ssh-agent -k 02:42:59 unset SSH_AUTH_SOCK; 02:42:59 unset SSH_AGENT_PID; 02:42:59 echo Agent pid 17 killed; 02:42:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:42:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:59 [ssh-agent] Looking for ssh-agent implementation... 02:42:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:59 $ docker exec 96287807e50f8b897294eddd6fbbc4c62140590be70924f1d9d654d74eecf7ef ssh-agent 02:42:59 SSH_AUTH_SOCK=/tmp/ssh-ndnKw9WyV3Rr/agent.46 02:42:59 SSH_AGENT_PID=51 02:42:59 Running ssh-add (command line suppressed) 02:43:00 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_1634284030388056638.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_1634284030388056638.key) 02:43:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:00 + git semver init 02:43:00 # -> Open(): unable to determine branch for HEAD 02:43:00 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.git 02:43:00 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-732 02:43:00 # $SEMVER_REMOTE_NAME = origin 02:43:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:00 # $SEMVER_USER_NAME = edgex-jenkins 02:43:00 # $SEMVER_BRANCH = PR-732 02:43:00 # $SEMVER_TEMP = /tmp/semver-685387449 02:43:00 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:01 # '/tmp/semver-685387449' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver' 02:43:01 # -> Force: false 02:43:01 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver [Pipeline] } 02:43:01 $ docker exec --env ******** --env ******** 96287807e50f8b897294eddd6fbbc4c62140590be70924f1d9d654d74eecf7ef ssh-agent -k 02:43:01 unset SSH_AUTH_SOCK; 02:43:01 unset SSH_AGENT_PID; 02:43:01 echo Agent pid 51 killed; 02:43:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:02 + git semver [Pipeline] } 02:43:02 $ docker stop --time=1 96287807e50f8b897294eddd6fbbc4c62140590be70924f1d9d654d74eecf7ef 02:43:04 $ docker rm -f 96287807e50f8b897294eddd6fbbc4c62140590be70924f1d9d654d74eecf7ef [Pipeline] // withDockerContainer [Pipeline] sh 02:43:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:05 Stashed 1 file(s) [Pipeline] echo 02:43:05 [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 02:43:20 Still waiting to schedule task 02:43:20 ‘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-21049’ is offline; ‘prd-centos7-docker-4c-2g-21050’ is offline; ‘prd-centos7-docker-4c-2g-21051’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 02:43:20 Still waiting to schedule task 02:43:20 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 02:44:17 Running on prd-centos7-docker-4c-2g-21052 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws 02:44:17 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 02:44:19 using credential edgex-jenkins-ssh 02:44:19 Cloning the remote Git repository 02:44:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:19 > git init /w/workspace/device-sdk-go/4 # timeout=10 02:44:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:19 > git --version # timeout=10 02:44:19 > git --version # 'git version 2.24.3' 02:44:19 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:20 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:21 Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c 02:44:21 Merge succeeded, producing 0f7c6e3383767b591841856c62c3bd768e236b05 02:44:21 Checking out Revision 0f7c6e3383767b591841856c62c3bd768e236b05 (PR-732) 02:44:21 > git config core.sparsecheckout # timeout=10 02:44:21 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 02:44:21 > git remote # timeout=10 02:44:21 > git config --get remote.origin.url # timeout=10 02:44:21 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:21 > git merge d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 02:44:21 > git rev-parse HEAD^{commit} # timeout=10 02:44:21 > git config core.sparsecheckout # timeout=10 02:44:21 > git checkout -f 0f7c6e3383767b591841856c62c3bd768e236b05 # timeout=10 02:44:25 Commit message: "Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD" 02:44:25 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 02:44:25 > git rev-list --no-walk 54903d81de16e04aa6173ce8aa56354737f9ea07 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:26 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:44:27 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:27 + sudo service docker restart 02:44:27 + true 02:44:27 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:28 provisioning config files... 02:44:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config1651723296660435199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:29 ---> docker-login.sh 02:44:29 nexus3.edgexfoundry.org:10001 02:44:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:29 Configure a credential helper to remove this warning. See 02:44:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:29 02:44:29 Login Succeeded 02:44:29 nexus3.edgexfoundry.org:10002 02:44:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:29 Configure a credential helper to remove this warning. See 02:44:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:29 02:44:29 Login Succeeded 02:44:29 nexus3.edgexfoundry.org:10003 02:44:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:30 Configure a credential helper to remove this warning. See 02:44:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:30 02:44:30 Login Succeeded 02:44:30 nexus3.edgexfoundry.org:10004 02:44:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:30 Configure a credential helper to remove this warning. See 02:44:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:30 02:44:30 Login Succeeded 02:44:30 docker.io 02:44:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:30 Configure a credential helper to remove this warning. See 02:44:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:30 02:44:30 Login Succeeded 02:44:30 ---> docker-login.sh ends [Pipeline] } 02:44:30 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:31 ========================================================= 02:44:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:44:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:31 + 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 . 02:44:31 Sending build context to Docker daemon 2.577MB 02:44:31 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:44:31 Step 2/8 : FROM ${BASE} 02:44:31 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:31 188c0c94c7c5: Pulling fs layer 02:44:31 0ef7d3d256c8: Pulling fs layer 02:44:31 de9db76c5a1d: Pulling fs layer 02:44:31 bca2f99d35d6: Pulling fs layer 02:44:31 93359f2a8cfa: Pulling fs layer 02:44:31 7c6f9722023f: Pulling fs layer 02:44:31 a35cf1a2eb13: Pulling fs layer 02:44:31 7c6f9722023f: Waiting 02:44:31 bca2f99d35d6: Waiting 02:44:31 93359f2a8cfa: Waiting 02:44:31 a35cf1a2eb13: Waiting 02:44:31 de9db76c5a1d: Verifying Checksum 02:44:31 de9db76c5a1d: Download complete 02:44:31 0ef7d3d256c8: Verifying Checksum 02:44:31 0ef7d3d256c8: Download complete 02:44:31 93359f2a8cfa: Verifying Checksum 02:44:31 93359f2a8cfa: Download complete 02:44:31 7c6f9722023f: Verifying Checksum 02:44:31 7c6f9722023f: Download complete 02:44:31 188c0c94c7c5: Verifying Checksum 02:44:31 188c0c94c7c5: Download complete 02:44:32 188c0c94c7c5: Pull complete 02:44:32 0ef7d3d256c8: Pull complete 02:44:32 de9db76c5a1d: Pull complete 02:44:33 a35cf1a2eb13: Verifying Checksum 02:44:33 a35cf1a2eb13: Download complete 02:44:34 bca2f99d35d6: Verifying Checksum 02:44:34 bca2f99d35d6: Download complete 02:44:41 bca2f99d35d6: Pull complete 02:44:41 93359f2a8cfa: Pull complete 02:44:41 7c6f9722023f: Pull complete 02:44:45 a35cf1a2eb13: Pull complete 02:44:45 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:44:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:45 ---> a62c8e92a672 02:44:45 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:45 ---> Running in 21a02d6016ed 02:44:45 Removing intermediate container 21a02d6016ed 02:44:45 ---> 0db0b2c4e3cf 02:44:45 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:45 ---> Running in 1318789b09b0 02:44:46 Removing intermediate container 1318789b09b0 02:44:46 ---> ee1dc1ad3b85 02:44:46 Step 5/8 : RUN apk add --update --no-cache make git 02:44:47 ---> Running in c73f17c66158 02:44:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:44:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:44:48 OK: 166 MiB in 39 packages 02:44:49 Removing intermediate container c73f17c66158 02:44:49 ---> 742da228f18a 02:44:49 Step 6/8 : WORKDIR /device-sdk-go 02:44:49 ---> Running in 23b0e4b3aa67 02:44:49 Removing intermediate container 23b0e4b3aa67 02:44:49 ---> 8f49a6f26c61 02:44:49 Step 7/8 : COPY . . 02:44:51 ---> 9c724bafefc5 02:44:51 Step 8/8 : RUN go mod download 02:44:51 ---> Running in 8ee953462fd2 02:45:09 Removing intermediate container 8ee953462fd2 02:45:09 ---> 2fae11df4f97 02:45:09 Successfully built 2fae11df4f97 02:45:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:45:10 + docker inspect -f . ci-base-image-x86_64 02:45:10 . [Pipeline] withDockerContainer 02:45:10 prd-centos7-docker-4c-2g-21052 does not seem to be running inside a container 02:45:10 $ 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 ******** ci-base-image-x86_64 cat 02:45:11 $ docker top 83cb9e88e4819cd1b398a72bdef706871d6fe8157280627c96e475af3d1dbe75 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:12 + go version 02:45:12 go version go1.15.5 linux/amd64 [Pipeline] } 02:45:12 $ docker stop --time=1 83cb9e88e4819cd1b398a72bdef706871d6fe8157280627c96e475af3d1dbe75 02:45:13 $ docker rm -f 83cb9e88e4819cd1b398a72bdef706871d6fe8157280627c96e475af3d1dbe75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:14 + docker inspect -f . ci-base-image-x86_64 02:45:14 . [Pipeline] withDockerContainer 02:45:14 prd-centos7-docker-4c-2g-21052 does not seem to be running inside a container 02:45:14 $ 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 ******** ci-base-image-x86_64 cat 02:45:15 $ docker top fb78d6fa1b24ed9d77e23e5551f60aabd6cd4e7f5ab2755d61bf9abae60741aa -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:15 + make test 02:45:15 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:24 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:45:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:45:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:45:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:45:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 19.4% of statements 02:45:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.518s coverage: 97.1% of statements 02:45:48 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21055 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws 02:45:49 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 02:45:54 using credential edgex-jenkins-ssh 02:45:54 Cloning the remote Git repository 02:45:54 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:54 > git init /w/workspace/device-sdk-go/4 # timeout=10 02:45:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:55 > git --version # timeout=10 02:45:55 > git --version # 'git version 2.17.1' 02:45:55 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:56 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:57 Merging remotes/origin/master commit d47b03cf12e2f169eefdaad978a8d5668b399891 into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c 02:45:57 Merge succeeded, producing ac3e514e64ace8225a868521ef768bad021b7a80 02:45:57 Checking out Revision ac3e514e64ace8225a868521ef768bad021b7a80 (PR-732) 02:45:57 > git config core.sparsecheckout # timeout=10 02:45:57 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 02:45:57 > git remote # timeout=10 02:45:57 > git config --get remote.origin.url # timeout=10 02:45:57 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:57 > git merge d47b03cf12e2f169eefdaad978a8d5668b399891 # timeout=10 02:45:57 > git rev-parse HEAD^{commit} # timeout=10 02:45:57 > git config core.sparsecheckout # timeout=10 02:45:57 > git checkout -f ac3e514e64ace8225a868521ef768bad021b7a80 # timeout=10 02:46:02 Commit message: "Merge commit 'd47b03cf12e2f169eefdaad978a8d5668b399891' into HEAD" 02:46:02 First time build. Skipping changelog. 02:46:02 > git rev-list --no-walk 54903d81de16e04aa6173ce8aa56354737f9ea07 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:04 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:46:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:46:04 + sudo service docker restart 02:46:04 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:46:07 provisioning config files... 02:46:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config1681081786674605461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:08 ---> docker-login.sh 02:46:08 nexus3.edgexfoundry.org:10001 02:46:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:09 Configure a credential helper to remove this warning. See 02:46:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:09 02:46:09 Login Succeeded 02:46:09 nexus3.edgexfoundry.org:10002 02:46:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:10 Configure a credential helper to remove this warning. See 02:46:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:10 02:46:10 Login Succeeded 02:46:10 nexus3.edgexfoundry.org:10003 02:46:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:10 Configure a credential helper to remove this warning. See 02:46:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:10 02:46:10 Login Succeeded 02:46:10 nexus3.edgexfoundry.org:10004 02:46:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:11 Configure a credential helper to remove this warning. See 02:46:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:11 02:46:11 Login Succeeded 02:46:11 docker.io 02:46:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:12 Configure a credential helper to remove this warning. See 02:46:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:12 02:46:12 Login Succeeded 02:46:12 ---> docker-login.sh ends [Pipeline] } 02:46:12 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:12 ========================================================= 02:46:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:46:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46: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 . 02:46:13 Sending build context to Docker daemon 2.583MB 02:46:13 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:46:13 Step 2/8 : FROM ${BASE} 02:46:13 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:13 5f621e34cdf4: Pulling fs layer 02:46:13 a4357932f1b6: Pulling fs layer 02:46:13 18c013af1878: Pulling fs layer 02:46:13 00ac8860ef70: Pulling fs layer 02:46:13 63d7cb157983: Pulling fs layer 02:46:13 b116817d02f9: Pulling fs layer 02:46:13 745a02a5169b: Pulling fs layer 02:46:13 63d7cb157983: Waiting 02:46:13 b116817d02f9: Waiting 02:46:13 745a02a5169b: Waiting 02:46:13 00ac8860ef70: Waiting 02:46:13 18c013af1878: Verifying Checksum 02:46:13 18c013af1878: Download complete 02:46:13 a4357932f1b6: Verifying Checksum 02:46:13 a4357932f1b6: Download complete 02:46:13 63d7cb157983: Verifying Checksum 02:46:13 63d7cb157983: Download complete 02:46:13 b116817d02f9: Verifying Checksum 02:46:13 b116817d02f9: Download complete 02:46:13 5f621e34cdf4: Verifying Checksum 02:46:13 5f621e34cdf4: Download complete 02:46:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.066s coverage: 9.4% of statements 02:46:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.062s coverage: 21.7% of statements 02:46:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:46:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.236s coverage: 42.9% of statements 02:46:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:46:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.267s coverage: 66.5% of statements 02:46:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:46:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:46:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:46:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:46:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.093s coverage: 53.8% of statements 02:46:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:46:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:46:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.067s coverage: 25.6% of statements 02:46:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.910s coverage: 68.9% of statements 02:46:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 4.2% of statements 02:46:13 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:46:13 GO111MODULE=on go vet ./... 02:46:14 5f621e34cdf4: Pull complete 02:46:15 a4357932f1b6: Pull complete 02:46:15 18c013af1878: Pull complete 02:46:16 745a02a5169b: Verifying Checksum 02:46:16 745a02a5169b: Download complete 02:46:17 00ac8860ef70: Verifying Checksum 02:46:17 00ac8860ef70: Download complete 02:46:23 gofmt -l . 02:46:23 [ "`gofmt -l .`" = "" ] 02:46:23 ./bin/test-attribution-txt.sh 02:46:24 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:46:24 $ docker stop --time=1 fb78d6fa1b24ed9d77e23e5551f60aabd6cd4e7f5ab2755d61bf9abae60741aa 02:46:26 $ docker rm -f fb78d6fa1b24ed9d77e23e5551f60aabd6cd4e7f5ab2755d61bf9abae60741aa [Pipeline] // withDockerContainer [Pipeline] sh 02:46:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 02:46:27 00ac8860ef70: Pull complete 02:46:27 63d7cb157983: Pull complete 02:46:28 b116817d02f9: Pull complete [Pipeline] sh 02:46:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:28 + ls -al . 02:46:28 total 224 02:46:28 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 02:46 . 02:46:28 drwxrwxr-x. 4 jenkins jenkins 28 Jan 19 02:44 .. 02:46:28 drwxrwxr-x. 2 jenkins jenkins 64 Jan 19 02:44 bin 02:46:28 -rw-r--r--. 1 jenkins jenkins 145101 Jan 19 02:46 coverage.out 02:46:28 -rw-rw-r--. 1 jenkins jenkins 949 Jan 19 02:44 Dockerfile.build 02:46:28 -rw-rw-r--. 1 jenkins jenkins 140 Jan 19 02:44 .dockerignore 02:46:28 drwxrwxr-x. 4 jenkins jenkins 48 Jan 19 02:44 example 02:46:28 drwxrwxr-x. 8 jenkins jenkins 179 Jan 19 02:44 .git 02:46:28 drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 02:44 .github 02:46:28 -rw-rw-r--. 1 jenkins jenkins 138 Jan 19 02:44 .gitignore 02:46:28 -rw-r--r--. 1 jenkins jenkins 491 Jan 19 02:46 go.mod 02:46:28 -rw-r--r--. 1 jenkins jenkins 14124 Jan 19 02:46 go.sum 02:46:28 drwxrwxr-x. 15 jenkins jenkins 211 Jan 19 02:44 internal 02:46:28 -rw-rw-r--. 1 jenkins jenkins 901 Jan 19 02:44 Jenkinsfile 02:46:28 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 19 02:44 LICENSE 02:46:28 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 19 02:44 Makefile 02:46:28 drwxrwxr-x. 4 jenkins jenkins 26 Jan 19 02:44 openapi 02:46:28 drwxrwxr-x. 5 jenkins jenkins 50 Jan 19 02:44 pkg 02:46:28 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 19 02:44 README.md 02:46:28 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 19 02:44 RELEASE-NOTES.txt 02:46:28 drwxrwxr-x. 4 jenkins jenkins 54 Jan 19 02:44 snap 02:46:28 -rw-rw-r--. 1 jenkins jenkins 5 Jan 19 02:43 VERSION 02:46:28 -rw-rw-r--. 1 jenkins jenkins 222 Jan 19 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:46:29 + 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=1204a9500ff0c8c746a195a3f0774d96d98a6e6f --label arch=amd64 --label version=0.0.0 . 02:46:29 Sending build context to Docker daemon 2.723MB 02:46:29 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:46:29 Step 2/24 : FROM ${BASE} AS builder 02:46:29 ---> 2fae11df4f97 02:46:29 Step 3/24 : ARG MAKE='make build' 02:46:30 ---> Running in e41216376678 02:46:30 Removing intermediate container e41216376678 02:46:30 ---> a9a3d3156681 02:46:30 Step 4/24 : WORKDIR /device-sdk-go 02:46:30 ---> Running in 116c6fa82266 02:46:30 Removing intermediate container 116c6fa82266 02:46:30 ---> a46214a7350f 02:46:30 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:30 ---> Running in 8b9def3daf7c 02:46:30 Removing intermediate container 8b9def3daf7c 02:46:30 ---> 51c6e3c092a9 02:46:30 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:30 ---> Running in 2b0975e2fef1 02:46:31 Removing intermediate container 2b0975e2fef1 02:46:31 ---> 162d1d317e88 02:46:31 Step 7/24 : RUN apk add --update --no-cache make git 02:46:31 ---> Running in 03278ecfd356 02:46:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:32 745a02a5169b: Pull complete 02:46:32 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:46:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:46:32 ---> b7e6874047d6 02:46:32 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:33 OK: 166 MiB in 39 packages 02:46:34 Removing intermediate container 03278ecfd356 02:46:34 ---> 963ad5084873 02:46:34 Step 8/24 : COPY . . 02:46:35 ---> c6f943216962 02:46:35 Step 9/24 : RUN ${MAKE} 02:46:35 ---> Running in bf7becfa9c02 02:46:36 ---> Running in 93e01b30a27c 02:46:36 Removing intermediate container 93e01b30a27c 02:46:36 ---> d15fd9e411a3 02:46:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:36 ---> Running in f5ca5f0f9479 02:46:36 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 02:46:38 Removing intermediate container f5ca5f0f9479 02:46:38 ---> c1e488dad544 02:46:38 Step 5/8 : RUN apk add --update --no-cache make git 02:46:38 ---> Running in f9799df889eb 02:46:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:41 OK: 142 MiB in 39 packages 02:46:43 Removing intermediate container f9799df889eb 02:46:43 ---> 9c2dfe0eec25 02:46:43 Step 6/8 : WORKDIR /device-sdk-go 02:46:43 ---> Running in acd4b17a5041 02:46:43 Removing intermediate container acd4b17a5041 02:46:43 ---> b35ea468a1ea 02:46:43 Step 7/8 : COPY . . 02:46:45 ---> 46fc16f587be 02:46:45 Step 8/8 : RUN go mod download 02:46:45 ---> Running in 859cc65359e2 02:46:46 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:46:48 Removing intermediate container bf7becfa9c02 02:46:48 ---> 77bb4d3d41ec 02:46:48 Step 10/24 : FROM scratch 02:46:48 ---> 02:46:48 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:48 ---> Running in 897fafb2032b 02:46:48 Removing intermediate container 897fafb2032b 02:46:48 ---> 461dc8605f47 02:46:48 Step 12/24 : ENV APP_PORT=49990 02:46:48 ---> Running in 0a9f0b4aa8f3 02:46:48 Removing intermediate container 0a9f0b4aa8f3 02:46:48 ---> 715647ba6d63 02:46:48 Step 13/24 : EXPOSE $APP_PORT 02:46:48 ---> Running in 2efbc421d354 02:46:48 Removing intermediate container 2efbc421d354 02:46:48 ---> f74d7b4b499b 02:46:48 Step 14/24 : WORKDIR / 02:46:48 ---> Running in db378190cf3a 02:46:48 Removing intermediate container db378190cf3a 02:46:48 ---> 65cee441ef28 02:46:48 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:46:49 ---> dc95c5982559 02:46:49 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:46:49 ---> 8f67d7a4527d 02:46:49 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:46:49 ---> 943599ea7016 02:46:49 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:46:49 ---> 7bf18452634e 02:46:49 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:46:50 ---> 5bce8c78552f 02:46:50 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:46:50 ---> Running in 4834f91a8742 02:46:50 Removing intermediate container 4834f91a8742 02:46:50 ---> 3d31194a711e 02:46:50 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:46:50 ---> Running in 9a635562c221 02:46:50 Removing intermediate container 9a635562c221 02:46:50 ---> 9a2a97ebe80c 02:46:50 Step 22/24 : LABEL arch=amd64 02:46:50 ---> Running in ebf1bd5c1cee 02:46:51 Removing intermediate container ebf1bd5c1cee 02:46:51 ---> 33be802d38bb 02:46:51 Step 23/24 : LABEL git_sha=1204a9500ff0c8c746a195a3f0774d96d98a6e6f 02:46:51 ---> Running in 48d14fcf44c8 02:46:51 Removing intermediate container 48d14fcf44c8 02:46:51 ---> 2bb4b8eb3a25 02:46:51 Step 24/24 : LABEL version=0.0.0 02:46:51 ---> Running in 6f94dbdbf8c2 02:46:51 Removing intermediate container 6f94dbdbf8c2 02:46:51 ---> 2464a908310a 02:46:51 [Warning] One or more build-args [ARCH] were not consumed 02:46:51 Successfully built 2464a908310a 02:46:51 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] } 02:47:12 Removing intermediate container 859cc65359e2 02:47:12 ---> 6e52d4b4ef33 02:47:12 Successfully built 6e52d4b4ef33 02:47:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:47:12 + docker inspect -f . ci-base-image-arm64 02:47:12 . [Pipeline] withDockerContainer 02:47:12 prd-ubuntu18.04-docker-arm64-4c-16g-21055 does not seem to be running inside a container 02:47:13 $ 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 ******** ci-base-image-arm64 cat 02:47:14 $ docker top 77ec5f7b370347465e9c3e90c8b10d02b78cd631e3e4694d60fe5bb5f105e7f8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:15 + go version 02:47:15 go version go1.15.5 linux/arm64 [Pipeline] } 02:47:15 $ docker stop --time=1 77ec5f7b370347465e9c3e90c8b10d02b78cd631e3e4694d60fe5bb5f105e7f8 02:47:17 $ docker rm -f 77ec5f7b370347465e9c3e90c8b10d02b78cd631e3e4694d60fe5bb5f105e7f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:18 + docker inspect -f . ci-base-image-arm64 02:47:18 . [Pipeline] withDockerContainer 02:47:18 prd-ubuntu18.04-docker-arm64-4c-16g-21055 does not seem to be running inside a container 02:47:18 $ 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 ******** ci-base-image-arm64 cat 02:47:20 $ docker top 4830be899ae901711067b55b22e60c268f0776fc1166a225399b8398af42f26f -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:21 + make test 02:47:21 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:48 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:48:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:48:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:48:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:48:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.166s coverage: 19.4% of statements 02:48:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.247s coverage: 97.1% of statements 02:49:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.137s coverage: 9.4% of statements 02:49:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.165s coverage: 21.7% of statements 02:49:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:49:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.624s coverage: 42.9% of statements 02:49:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:49:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.780s coverage: 66.5% of statements 02:49:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:49:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:49:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:49:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:49:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.214s coverage: 53.8% of statements 02:49:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:49:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:49:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.203s coverage: 25.6% of statements 02:49:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.983s coverage: 68.9% of statements 02:49:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 4.2% of statements 02:49:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:49:04 GO111MODULE=on go vet ./... 02:49:44 gofmt -l . 02:49:44 [ "`gofmt -l .`" = "" ] 02:49:44 ./bin/test-attribution-txt.sh 02:49:44 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:49:44 $ docker stop --time=1 4830be899ae901711067b55b22e60c268f0776fc1166a225399b8398af42f26f 02:49:47 $ docker rm -f 4830be899ae901711067b55b22e60c268f0776fc1166a225399b8398af42f26f [Pipeline] // withDockerContainer [Pipeline] sh 02:49:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:48 Warning: overwriting stash ‘coverage-report’ 02:49:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:50 + ls -al . 02:49:50 total 260 02:49:50 drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 02:49 . 02:49:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:45 .. 02:49:50 -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 02:45 .dockerignore 02:49:50 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 02:46 .git 02:49:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:45 .github 02:49:50 -rw-rw-r-- 1 jenkins jenkins 138 Jan 19 02:45 .gitignore 02:49:50 -rw-rw-r-- 1 jenkins jenkins 949 Jan 19 02:45 Dockerfile.build 02:49:50 -rw-rw-r-- 1 jenkins jenkins 901 Jan 19 02:45 Jenkinsfile 02:49:50 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 19 02:45 LICENSE 02:49:50 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 19 02:45 Makefile 02:49:50 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 19 02:45 README.md 02:49:50 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 19 02:45 RELEASE-NOTES.txt 02:49:50 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 02:43 VERSION 02:49:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 02:45 bin 02:49:50 -rw-r--r-- 1 jenkins jenkins 145101 Jan 19 02:49 coverage.out 02:49:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:45 example 02:49:50 -rw-r--r-- 1 jenkins jenkins 491 Jan 19 02:49 go.mod 02:49:50 -rw-r--r-- 1 jenkins jenkins 14124 Jan 19 02:49 go.sum 02:49:50 drwxrwxr-x 15 jenkins jenkins 4096 Jan 19 02:45 internal 02:49:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:45 openapi 02:49:50 drwxrwxr-x 5 jenkins jenkins 4096 Jan 19 02:45 pkg 02:49:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 02:45 snap 02:49:50 -rw-rw-r-- 1 jenkins jenkins 222 Jan 19 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:49:50 + 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=1204a9500ff0c8c746a195a3f0774d96d98a6e6f --label arch=arm64 --label version=0.0.0 . 02:49:51 Sending build context to Docker daemon 2.729MB 02:49:51 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:49:51 Step 2/24 : FROM ${BASE} AS builder 02:49:51 ---> 6e52d4b4ef33 02:49:51 Step 3/24 : ARG MAKE='make build' 02:49:51 ---> Running in 7ce6df89aa69 02:49:51 Removing intermediate container 7ce6df89aa69 02:49:51 ---> 1f8c56ff1fdd 02:49:51 Step 4/24 : WORKDIR /device-sdk-go 02:49:52 ---> Running in cbf76d970932 02:49:52 Removing intermediate container cbf76d970932 02:49:52 ---> bde1f12df660 02:49:52 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:52 ---> Running in 39138a472e5c 02:49:53 Removing intermediate container 39138a472e5c 02:49:53 ---> 4f7265aee4b2 02:49:53 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:53 ---> Running in b7ef82f55fc4 02:49:56 Removing intermediate container b7ef82f55fc4 02:49:56 ---> be78018d3227 02:49:56 Step 7/24 : RUN apk add --update --no-cache make git 02:49:56 ---> Running in 73f6bc8764d1 02:49:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:49:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:49:58 OK: 142 MiB in 39 packages 02:49:59 Removing intermediate container 73f6bc8764d1 02:49:59 ---> 6d30980e821c 02:49:59 Step 8/24 : COPY . . 02:50:01 ---> 093f282a20e2 02:50:01 Step 9/24 : RUN ${MAKE} 02:50:01 ---> Running in 9bc9aa1557b1 02:50:02 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 02:50:29 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:50:31 Removing intermediate container 9bc9aa1557b1 02:50:31 ---> c50b6953b4c2 02:50:31 Step 10/24 : FROM scratch 02:50:31 ---> 02:50:31 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:32 ---> Running in 514b6a429e4f 02:50:32 Removing intermediate container 514b6a429e4f 02:50:32 ---> 2253b4fcb2da 02:50:32 Step 12/24 : ENV APP_PORT=49990 02:50:32 ---> Running in 3ec9deb0745b 02:50:33 Removing intermediate container 3ec9deb0745b 02:50:33 ---> 0466eece1d81 02:50:33 Step 13/24 : EXPOSE $APP_PORT 02:50:33 ---> Running in 17df598f784d 02:50:33 Removing intermediate container 17df598f784d 02:50:33 ---> feb7810ffc63 02:50:33 Step 14/24 : WORKDIR / 02:50:33 ---> Running in 7686f40ef1de 02:50:34 Removing intermediate container 7686f40ef1de 02:50:34 ---> 5cf717d1457e 02:50:34 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:50:35 ---> 035fc9c4cf1f 02:50:35 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:50:36 ---> 3444b15981f7 02:50:36 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:50:37 ---> 08ba1be25657 02:50:37 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:50:38 ---> c085dd4fe55d 02:50:38 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:50:38 ---> d5e1afc1c5b3 02:50:38 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:50:38 ---> Running in efb085b76047 02:50:39 Removing intermediate container efb085b76047 02:50:39 ---> d8439e887842 02:50:39 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:39 ---> Running in b40af0aa12fd 02:50:40 Removing intermediate container b40af0aa12fd 02:50:40 ---> ed0d0893f13f 02:50:40 Step 22/24 : LABEL arch=arm64 02:50:40 ---> Running in 5fe9c59bfdfc 02:50:40 Removing intermediate container 5fe9c59bfdfc 02:50:40 ---> fd721b3d3a0f 02:50:40 Step 23/24 : LABEL git_sha=1204a9500ff0c8c746a195a3f0774d96d98a6e6f 02:50:40 ---> Running in 88b8a2729d19 02:50:41 Removing intermediate container 88b8a2729d19 02:50:41 ---> f940e8222b2d 02:50:41 Step 24/24 : LABEL version=0.0.0 02:50:41 ---> Running in f46ca732fdc3 02:50:42 Removing intermediate container f46ca732fdc3 02:50:42 ---> 3cab5c0f11f9 02:50:42 [Warning] One or more build-args [ARCH] were not consumed 02:50:42 Successfully built 3cab5c0f11f9 02:50:42 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 02:50:43 provisioning config files... 02:50:43 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config4506870687408858566tmp [Pipeline] { [Pipeline] sh 02:50:43 + set +x 02:50:43 + curl -s https://codecov.io/bash 02:50:43 + bash -s -- 02:50:44 02:50:44 _____ _ 02:50:44 / ____| | | 02:50:44 | | ___ __| | ___ ___ _____ __ 02:50:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:50:44 | |___| (_) | (_| | __/ (_| (_) \ V / 02:50:44 \_____\___/ \__,_|\___|\___\___/ \_/ 02:50:44 Bash-20210115-cec3c92 02:50:44 02:50:44 02:50:44 ==> git version 2.24.3 found 02:50:44 ==> 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 02:50:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:50:44 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:50:44 ==> Jenkins CI detected. 02:50:44 project root: . 02:50:44 --> token set from env 02:50:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:50:44 ==> Running gcov in . (disable via -X gcov) 02:50:44 ==> Python coveragepy not found 02:50:44 ==> Searching for coverage reports in: 02:50:44 + . 02:50:44 -> Found 1 reports 02:50:44 ==> Detecting git/mercurial file structure 02:50:44 ==> Reading reports 02:50:44 + ./coverage.out bytes=145101 02:50:44 ==> Appending adjustments 02:50:44 https://docs.codecov.io/docs/fixing-reports 02:50:44 + Found adjustments 02:50:44 ==> Gzipping contents 02:50:44 24K /tmp/codecov.nkkm8L.gz 02:50:44 ==> Uploading reports 02:50:44 url: https://codecov.io 02:50:44 query: branch=PR-732&commit=1204a9500ff0c8c746a195a3f0774d96d98a6e6f&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= 02:50:44 -> Pinging Codecov 02:50:44 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-732&commit=1204a9500ff0c8c746a195a3f0774d96d98a6e6f&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= 02:50:45 -> Uploading to 02:50:45 https://storage.googleapis.com/codecov/v4/raw/2021-01-19/7E55EF52A471D76F132DFD9A03CDDE97/1204a9500ff0c8c746a195a3f0774d96d98a6e6f/0a5b6b9a-0ca8-46a3-ac2f-a2a9279d5afa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210119T025045Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b27c5b08951d455f23575b54707d56672ad7c2b93779f5b005d6cb4448aee07b 02:50:45 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:45 Dload Upload Total Spent Left Speed 02:50:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22454 0 0 100 22454 0 49421 --:--:-- --:--:-- --:--:-- 49349 100 22454 0 0 100 22454 0 49393 --:--:-- --:--:-- --:--:-- 49349 02:50:45 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1204a9500ff0c8c746a195a3f0774d96d98a6e6f [Pipeline] } 02:50:45 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 02:50:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:50:49 ---> package-listing.sh 02:50:49 ++ facter osfamily 02:50:49 ++ tr '[:upper:]' '[:lower:]' 02:50:49 + OS_FAMILY=redhat 02:50:49 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-732 02:50:49 + START_PACKAGES=/tmp/packages_start.txt 02:50:49 + END_PACKAGES=/tmp/packages_end.txt 02:50:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:50:49 + PACKAGES=/tmp/packages_start.txt 02:50:49 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' 02:50:49 + PACKAGES=/tmp/packages_end.txt 02:50:49 + case "${OS_FAMILY}" in 02:50:49 + rpm -qa 02:50:49 + sort 02:50:54 + '[' -f /tmp/packages_start.txt ']' 02:50:54 + '[' -f /tmp/packages_end.txt ']' 02:50:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:50:54 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' 02:50:54 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ 02:50:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ [Pipeline] echo 02:50:54 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-732/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:50:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:50:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:55 02:50:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:50:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:50:55 alpine: Pulling from edgex-lftools-log-publisher 02:50:55 df20fa9351a1: Pulling fs layer 02:50:55 36b3adc4ff6f: Pulling fs layer 02:50:55 8ad3a11d3b57: Pulling fs layer 02:50:55 46f8f816bc3b: Pulling fs layer 02:50:55 93b61091891f: Pulling fs layer 02:50:55 93b9cdb0e59b: Pulling fs layer 02:50:55 5e14af77c1be: Pulling fs layer 02:50:55 01666e4c0597: Pulling fs layer 02:50:55 aa168da1d23b: Pulling fs layer 02:50:55 93b9cdb0e59b: Waiting 02:50:55 5e14af77c1be: Waiting 02:50:55 46f8f816bc3b: Waiting 02:50:55 01666e4c0597: Waiting 02:50:55 aa168da1d23b: Waiting 02:50:55 93b61091891f: Waiting 02:50:55 36b3adc4ff6f: Verifying Checksum 02:50:55 36b3adc4ff6f: Download complete 02:50:55 46f8f816bc3b: Verifying Checksum 02:50:55 46f8f816bc3b: Download complete 02:50:55 df20fa9351a1: Verifying Checksum 02:50:55 df20fa9351a1: Download complete 02:50:55 93b9cdb0e59b: Verifying Checksum 02:50:55 93b9cdb0e59b: Download complete 02:50:55 93b61091891f: Verifying Checksum 02:50:55 93b61091891f: Download complete 02:50:55 01666e4c0597: Verifying Checksum 02:50:55 01666e4c0597: Download complete 02:50:55 5e14af77c1be: Verifying Checksum 02:50:55 5e14af77c1be: Download complete 02:50:55 8ad3a11d3b57: Verifying Checksum 02:50:55 8ad3a11d3b57: Download complete 02:50:56 df20fa9351a1: Pull complete 02:50:56 36b3adc4ff6f: Pull complete 02:50:57 8ad3a11d3b57: Pull complete 02:50:58 46f8f816bc3b: Pull complete 02:50:58 93b61091891f: Pull complete 02:50:58 aa168da1d23b: Verifying Checksum 02:50:58 aa168da1d23b: Download complete 02:50:58 93b9cdb0e59b: Pull complete 02:50:58 5e14af77c1be: Pull complete 02:50:58 01666e4c0597: Pull complete 02:51:07 aa168da1d23b: Pull complete 02:51:07 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:51:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:51:07 prd-centos7-docker-4c-2g-21046 does not seem to be running inside a container 02:51:07 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-732/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-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@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 02:51:10 $ docker top 7bf3a62eeb129c56222a4ced26fdaf18451865da04bef30f8f940fc40d78d65c -eo pid,comm [Pipeline] { [Pipeline] sh 02:51:11 + touch /tmp/pre-build-complete [Pipeline] sh 02:51:11 + mkdir -p /var/log/sa [Pipeline] sh 02:51:12 + ls /var/log/sa-host 02:51:12 + sadf -c /var/log/sa-host/sa19 02:51:12 file_magic: OK 02:51:12 HZ: Using current value: 100 02:51:12 file_header: OK 02:51:12 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 02:51:12 Statistics: 02:51:12 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:51:12 File successfully converted to sysstat format version 12.2.1 02:51:12 + sadf -c /var/log/sa-host/sa23 02:51:12 file_magic: OK 02:51:12 HZ: Using current value: 100 02:51:12 file_header: OK 02:51:12 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 02:51:12 Statistics: 02:51:12 Hnuu...uuuununununu... 02:51:12 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:12 provisioning config files... 02:51:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config6799583956939834790tmp [Pipeline] { [Pipeline] echo 02:51:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:51:12 ---> create-netrc.sh [Pipeline] } 02:51:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:51:12 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:51:13 ---> python-tools-install.sh [Pipeline] echo 02:51:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:51:13 ---> sudo-logs.sh 02:51:13 Archiving 'sudo' log.. [Pipeline] echo 02:51:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:51:13 ---> job-cost.sh 02:51:13 lf-activate-venv: SKIPPING 02:51:13 INFO: No Stack... 02:51:14 INFO: Retrieving Pricing Info for: v1-standard-2 02:51:14 INFO: Archiving Costs [Pipeline] echo 02:51:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:51:15 ---> logs-deploy.sh 02:51:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-732/4 02:51:15 INFO: archiving workspace using pattern(s): 02:51:17 Archives upload complete. 02:51:17 INFO: archiving logs to Nexus