Pull request #941 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 23dda6d3e478af8245a56a8abd96d3d7ee8eba29+f9e550b20f5a93948f1e6d0294bcd4043c76663f (edbf0038e96124876a6e3885c2df5023e24960c4) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3158603372689713131.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4089538293451490914.key > 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 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-941/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-941/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3213975849153156593.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4661477328388500967.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-941/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-941/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2226663243081497263.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName: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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-152 in /w/workspace/dgexfoundry_device-sdk-go_PR-941 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-941 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-941@tmp/jenkins-gitclient-ssh2905638930439798062.key > 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 Merging remotes/origin/master commit f9e550b20f5a93948f1e6d0294bcd4043c76663f into PR head commit 23dda6d3e478af8245a56a8abd96d3d7ee8eba29 Merge succeeded, producing 23dda6d3e478af8245a56a8abd96d3d7ee8eba29 Checking out Revision 23dda6d3e478af8245a56a8abd96d3d7ee8eba29 (PR-941) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-941@tmp/jenkins-gitclient-ssh7341614402371631971.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/941/head:refs/remotes/origin/PR-941 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23dda6d3e478af8245a56a8abd96d3d7ee8eba29 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-941@tmp/jenkins-gitclient-ssh684112850684348519.key > git merge f9e550b20f5a93948f1e6d0294bcd4043c76663f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23dda6d3e478af8245a56a8abd96d3d7ee8eba29 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-25T16:18:58.440Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-25T16:18:58.540Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-25T16:18:58.574Z] ========================================================= [2021-05-25T16:18:58.574Z] EdgeX Global Pipelines Version Info [2021-05-25T16:18:58.574Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f976fce980e8b102ebf9fbaac0fdd77c92a68530 # timeout=10 [2021-05-25T16:19:01.285Z] ------------------- [2021-05-25T16:19:01.285Z] stable info: [2021-05-25T16:19:01.285Z] ------------------- [2021-05-25T16:19:01.285Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-25T16:19:01.285Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-25T16:19:01.285Z] Message: update stable to v1.0.192 [2021-05-25T16:19:02.234Z] ------------------- [2021-05-25T16:19:02.234Z] experimental info: [2021-05-25T16:19:02.234Z] ------------------- [2021-05-25T16:19:02.234Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-25T16:19:02.234Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-25T16:19:02.234Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-25T16:19:02.354Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-25T16:19:02.377Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-25T16:19:02.400Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-25T16:19:02.422Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-25T16:19:02.446Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-25T16:19:02.470Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-25T16:19:02.494Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-25T16:19:02.520Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-25T16:19:02.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-25T16:19:02.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-25T16:19:02.618Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-25T16:19:02.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-25T16:19:02.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-25T16:19:02.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-25T16:19:02.714Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-25T16:19:02.737Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-25T16:19:02.760Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-25T16:19:02.784Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-25T16:19:02.806Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-25T16:19:02.829Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-25T16:19:02.853Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-25T16:19:02.881Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-25T16:19:02.910Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-25T16:19:02.935Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-25T16:19:02.959Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-25T16:19:02.982Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-25T16:19:03.007Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-941 [Pipeline] echo [2021-05-25T16:19:03.033Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-941 [Pipeline] echo [2021-05-25T16:19:03.057Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-941 [Pipeline] echo [2021-05-25T16:19:03.083Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23dda6d3e478af8245a56a8abd96d3d7ee8eba29 [Pipeline] echo [2021-05-25T16:19:03.106Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 23dda6d [Pipeline] echo [2021-05-25T16:19:03.154Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T16:19:03.230Z] provisioning config files... [2021-05-25T16:19:03.245Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-941@tmp/config8730446225486555245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-25T16:19:03.568Z] ---> docker-login.sh [2021-05-25T16:19:03.568Z] nexus3.edgexfoundry.org:10001 [2021-05-25T16:19:04.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T16:19:04.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T16:19:04.513Z] Configure a credential helper to remove this warning. See [2021-05-25T16:19:04.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T16:19:04.513Z] [2021-05-25T16:19:04.513Z] Login Succeeded [2021-05-25T16:19:04.513Z] nexus3.edgexfoundry.org:10002 [2021-05-25T16:19:04.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T16:19:04.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T16:19:04.513Z] Configure a credential helper to remove this warning. See [2021-05-25T16:19:04.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T16:19:04.513Z] [2021-05-25T16:19:04.513Z] Login Succeeded [2021-05-25T16:19:04.513Z] nexus3.edgexfoundry.org:10003 [2021-05-25T16:19:04.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T16:19:04.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T16:19:04.778Z] Configure a credential helper to remove this warning. See [2021-05-25T16:19:04.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T16:19:04.778Z] [2021-05-25T16:19:04.778Z] Login Succeeded [2021-05-25T16:19:04.778Z] nexus3.edgexfoundry.org:10004 [2021-05-25T16:19:04.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T16:19:04.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T16:19:04.778Z] Configure a credential helper to remove this warning. See [2021-05-25T16:19:04.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T16:19:04.778Z] [2021-05-25T16:19:04.778Z] Login Succeeded [2021-05-25T16:19:04.778Z] docker.io [2021-05-25T16:19:05.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T16:19:05.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T16:19:05.326Z] Configure a credential helper to remove this warning. See [2021-05-25T16:19:05.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T16:19:05.326Z] [2021-05-25T16:19:05.326Z] Login Succeeded [2021-05-25T16:19:05.326Z] ---> docker-login.sh ends [Pipeline] } [2021-05-25T16:19:05.335Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-25T16:19:05.782Z] + git log --format=format:%s -1 23dda6d3e478af8245a56a8abd96d3d7ee8eba29 [Pipeline] echo [2021-05-25T16:19:05.821Z] GIT_COMMIT: 23dda6d3e478af8245a56a8abd96d3d7ee8eba29, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-05-25T16:19:05.836Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-25T16:19:06.385Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-25T16:19:06.385Z] [2021-05-25T16:19:06.385Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-25T16:19:06.699Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-25T16:19:06.700Z] latest: Pulling from edgex-devops/git-semver [2021-05-25T16:19:06.700Z] 31603596830f: Pulling fs layer [2021-05-25T16:19:06.700Z] 54011a49482f: Pulling fs layer [2021-05-25T16:19:06.700Z] a6820b24f6d8: Pulling fs layer [2021-05-25T16:19:06.700Z] f581987b2513: Pulling fs layer [2021-05-25T16:19:06.700Z] f581987b2513: Waiting [2021-05-25T16:19:06.965Z] 54011a49482f: Verifying Checksum [2021-05-25T16:19:06.965Z] 54011a49482f: Download complete [2021-05-25T16:19:06.965Z] 31603596830f: Verifying Checksum [2021-05-25T16:19:06.965Z] 31603596830f: Download complete [2021-05-25T16:19:07.227Z] f581987b2513: Verifying Checksum [2021-05-25T16:19:07.228Z] f581987b2513: Download complete [2021-05-25T16:19:07.228Z] a6820b24f6d8: Verifying Checksum [2021-05-25T16:19:07.228Z] a6820b24f6d8: Download complete [2021-05-25T16:19:07.228Z] 31603596830f: Pull complete [2021-05-25T16:19:07.496Z] 54011a49482f: Pull complete [2021-05-25T16:19:08.464Z] a6820b24f6d8: Pull complete [2021-05-25T16:19:08.464Z] f581987b2513: Pull complete [2021-05-25T16:19:08.464Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-25T16:19:08.727Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-25T16:19:08.727Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-25T16:19:08.822Z] prd-centos7-docker-4c-2g-152 does not seem to be running inside a container [2021-05-25T16:19:08.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-941 -v /w/workspace/dgexfoundry_device-sdk-go_PR-941:/w/workspace/dgexfoundry_device-sdk-go_PR-941:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-941@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-941@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 [2021-05-25T16:19:10.644Z] $ docker top 508c90a882bf6c97691f698fd690c1a2295e54793a2aba56b5e4b14c94f47d18 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-25T16:19:10.779Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-25T16:19:10.779Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-25T16:19:10.890Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-25T16:19:10.888Z] $ docker exec 508c90a882bf6c97691f698fd690c1a2295e54793a2aba56b5e4b14c94f47d18 ssh-agent [2021-05-25T16:19:11.019Z] SSH_AUTH_SOCK=/tmp/ssh-KzQCJsKPJMP2/agent.13 [2021-05-25T16:19:11.019Z] SSH_AGENT_PID=19 [2021-05-25T16:19:11.028Z] Running ssh-add (command line suppressed) [2021-05-25T16:19:11.136Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-941@tmp/private_key_8603213418444531763.key (/w/workspace/dgexfoundry_device-sdk-go_PR-941@tmp/private_key_8603213418444531763.key) [2021-05-25T16:19:11.160Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-25T16:19:11.464Z] + git tag --points-at HEAD [Pipeline] } [2021-05-25T16:19:11.476Z] $ docker exec --env ******** --env ******** 508c90a882bf6c97691f698fd690c1a2295e54793a2aba56b5e4b14c94f47d18 ssh-agent -k [2021-05-25T16:19:11.587Z] unset SSH_AUTH_SOCK; [2021-05-25T16:19:11.588Z] unset SSH_AGENT_PID; [2021-05-25T16:19:11.588Z] echo Agent pid 19 killed; [2021-05-25T16:19:11.605Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-25T16:19:11.645Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-25T16:19:11.645Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-25T16:19:11.772Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-25T16:19:11.770Z] $ docker exec 508c90a882bf6c97691f698fd690c1a2295e54793a2aba56b5e4b14c94f47d18 ssh-agent [2021-05-25T16:19:11.890Z] SSH_AUTH_SOCK=/tmp/ssh-9S7nxpXqTfxV/agent.53 [2021-05-25T16:19:11.890Z] SSH_AGENT_PID=59 [2021-05-25T16:19:11.896Z] Running ssh-add (command line suppressed) [2021-05-25T16:19:11.992Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-941@tmp/private_key_4672534940074856611.key (/w/workspace/dgexfoundry_device-sdk-go_PR-941@tmp/private_key_4672534940074856611.key) [2021-05-25T16:19:12.016Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-25T16:19:12.319Z] + git semver init [2021-05-25T16:19:12.319Z] # -> Open(): unable to determine branch for HEAD [2021-05-25T16:19:12.319Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-941/.git [2021-05-25T16:19:12.319Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-941 [2021-05-25T16:19:12.319Z] # $SEMVER_REMOTE_NAME = origin [2021-05-25T16:19:12.319Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-25T16:19:12.319Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-25T16:19:12.319Z] # $SEMVER_BRANCH = PR-941 [2021-05-25T16:19:12.319Z] # $SEMVER_TEMP = /tmp/semver-735767237 [2021-05-25T16:19:12.319Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-25T16:19:12.898Z] # '/tmp/semver-735767237' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-941/.semver' [2021-05-25T16:19:12.898Z] # -> Force: false [2021-05-25T16:19:12.898Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-941/.semver [Pipeline] } [2021-05-25T16:19:12.906Z] $ docker exec --env ******** --env ******** 508c90a882bf6c97691f698fd690c1a2295e54793a2aba56b5e4b14c94f47d18 ssh-agent -k [2021-05-25T16:19:13.027Z] unset SSH_AUTH_SOCK; [2021-05-25T16:19:13.027Z] unset SSH_AGENT_PID; [2021-05-25T16:19:13.027Z] echo Agent pid 59 killed; [2021-05-25T16:19:13.043Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-25T16:19:13.398Z] + git semver [Pipeline] } [2021-05-25T16:19:13.410Z] $ docker stop --time=1 508c90a882bf6c97691f698fd690c1a2295e54793a2aba56b5e4b14c94f47d18 [2021-05-25T16:19:14.723Z] $ docker rm -f 508c90a882bf6c97691f698fd690c1a2295e54793a2aba56b5e4b14c94f47d18 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-25T16:19:15.101Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-25T16:19:15.389Z] Stashed 1 file(s) [Pipeline] echo [2021-05-25T16:19:15.391Z] [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 [2021-05-25T16:19:30.569Z] Still waiting to schedule task [2021-05-25T16:19:30.569Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-25T16:19:30.572Z] Still waiting to schedule task [2021-05-25T16:19:30.573Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-150’ [2021-05-25T16:22:13.780Z] Running on prd-centos7-docker-4c-2g-155 in /w/workspace/dgexfoundry_device-sdk-go_PR-941 [Pipeline] { [Pipeline] ws [2021-05-25T16:22:13.800Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-25T16:22:13.898Z] Selected Git installation does not exist. Using Default [2021-05-25T16:22:13.898Z] The recommended git tool is: NONE [2021-05-25T16:22:16.127Z] using credential edgex-jenkins-ssh [2021-05-25T16:22:16.139Z] Cloning the remote Git repository [2021-05-25T16:22:16.155Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-25T16:22:16.217Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-25T16:22:16.249Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-25T16:22:16.249Z] > git --version # timeout=10 [2021-05-25T16:22:16.257Z] > git --version # 'git version 2.24.4' [2021-05-25T16:22:16.258Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T16:22:16.314Z] [INFO] Currently running in a labeled security context [2021-05-25T16:22:16.314Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-25T16:22:16.314Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh6823542205222819950.key [2021-05-25T16:22:16.347Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T16:22:17.904Z] Merging remotes/origin/master commit f9e550b20f5a93948f1e6d0294bcd4043c76663f into PR head commit 23dda6d3e478af8245a56a8abd96d3d7ee8eba29 [2021-05-25T16:22:18.023Z] Merge succeeded, producing 23dda6d3e478af8245a56a8abd96d3d7ee8eba29 [2021-05-25T16:22:18.024Z] Checking out Revision 23dda6d3e478af8245a56a8abd96d3d7ee8eba29 (PR-941) [2021-05-25T16:22:17.465Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-25T16:22:17.472Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T16:22:17.483Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-25T16:22:17.495Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-25T16:22:17.496Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T16:22:17.497Z] [INFO] Currently running in a labeled security context [2021-05-25T16:22:17.497Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-25T16:22:17.497Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh1465525709388308696.key [2021-05-25T16:22:17.503Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/941/head:refs/remotes/origin/PR-941 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-25T16:22:17.917Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T16:22:17.932Z] > git checkout -f 23dda6d3e478af8245a56a8abd96d3d7ee8eba29 # timeout=10 [2021-05-25T16:22:17.977Z] > git remote # timeout=10 [2021-05-25T16:22:17.987Z] > git config --get remote.origin.url # timeout=10 [2021-05-25T16:22:17.995Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T16:22:17.996Z] [INFO] Currently running in a labeled security context [2021-05-25T16:22:17.996Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-25T16:22:17.996Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh8068537772759659197.key [2021-05-25T16:22:18.001Z] > git merge f9e550b20f5a93948f1e6d0294bcd4043c76663f # timeout=10 [2021-05-25T16:22:18.011Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-25T16:22:18.022Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T16:22:18.027Z] > git checkout -f 23dda6d3e478af8245a56a8abd96d3d7ee8eba29 # timeout=10 [2021-05-25T16:22:21.570Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-25T16:22:23.133Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-25T16:22:23.741Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-25T16:22:24.053Z] + sudo service docker restart [2021-05-25T16:22:24.054Z] + true [2021-05-25T16:22:24.054Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T16:22:46.066Z] provisioning config files... [2021-05-25T16:22:46.086Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2750160495344064680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-25T16:22:46.420Z] ---> docker-login.sh [2021-05-25T16:22:46.420Z] nexus3.edgexfoundry.org:10001 [2021-05-25T16:22:46.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T16:22:47.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T16:22:47.257Z] Configure a credential helper to remove this warning. See [2021-05-25T16:22:47.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T16:22:47.257Z] [2021-05-25T16:22:47.257Z] Login Succeeded [2021-05-25T16:22:47.257Z] nexus3.edgexfoundry.org:10002 [2021-05-25T16:22:47.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T16:22:47.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T16:22:47.257Z] Configure a credential helper to remove this warning. See [2021-05-25T16:22:47.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T16:22:47.257Z] [2021-05-25T16:22:47.257Z] Login Succeeded [2021-05-25T16:22:47.257Z] nexus3.edgexfoundry.org:10003 [2021-05-25T16:22:47.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T16:22:47.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T16:22:47.522Z] Configure a credential helper to remove this warning. See [2021-05-25T16:22:47.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T16:22:47.522Z] [2021-05-25T16:22:47.522Z] Login Succeeded [2021-05-25T16:22:47.522Z] nexus3.edgexfoundry.org:10004 [2021-05-25T16:22:47.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T16:22:47.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T16:22:47.522Z] Configure a credential helper to remove this warning. See [2021-05-25T16:22:47.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T16:22:47.522Z] [2021-05-25T16:22:47.522Z] Login Succeeded [2021-05-25T16:22:47.522Z] docker.io [2021-05-25T16:22:47.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T16:22:48.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T16:22:48.045Z] Configure a credential helper to remove this warning. See [2021-05-25T16:22:48.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T16:22:48.045Z] [2021-05-25T16:22:48.045Z] Login Succeeded [2021-05-25T16:22:48.045Z] ---> docker-login.sh ends [Pipeline] } [2021-05-25T16:22:48.059Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-25T16:22:48.256Z] ========================================================= [2021-05-25T16:22:48.256Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-25T16:22:48.256Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-25T16:22:48.563Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-25T16:22:48.563Z] Sending build context to Docker daemon 2.612MB [2021-05-25T16:22:48.563Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T16:22:48.563Z] Step 2/8 : FROM ${BASE} [2021-05-25T16:22:49.143Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-25T16:22:49.143Z] 540db60ca938: Pulling fs layer [2021-05-25T16:22:49.143Z] adcc1eea9eea: Pulling fs layer [2021-05-25T16:22:49.143Z] 4c4ab2625f07: Pulling fs layer [2021-05-25T16:22:49.143Z] 0510c868ecb4: Pulling fs layer [2021-05-25T16:22:49.143Z] afea3b2eda06: Pulling fs layer [2021-05-25T16:22:49.143Z] 7809a108b3ef: Pulling fs layer [2021-05-25T16:22:49.143Z] f706445af74f: Pulling fs layer [2021-05-25T16:22:49.143Z] afea3b2eda06: Waiting [2021-05-25T16:22:49.143Z] 7809a108b3ef: Waiting [2021-05-25T16:22:49.143Z] f706445af74f: Waiting [2021-05-25T16:22:49.143Z] 0510c868ecb4: Waiting [2021-05-25T16:22:49.143Z] 4c4ab2625f07: Verifying Checksum [2021-05-25T16:22:49.143Z] 4c4ab2625f07: Download complete [2021-05-25T16:22:49.143Z] adcc1eea9eea: Verifying Checksum [2021-05-25T16:22:49.143Z] adcc1eea9eea: Download complete [2021-05-25T16:22:49.143Z] afea3b2eda06: Verifying Checksum [2021-05-25T16:22:49.143Z] afea3b2eda06: Download complete [2021-05-25T16:22:49.143Z] 7809a108b3ef: Verifying Checksum [2021-05-25T16:22:49.143Z] 7809a108b3ef: Download complete [2021-05-25T16:22:49.143Z] 540db60ca938: Verifying Checksum [2021-05-25T16:22:49.143Z] 540db60ca938: Download complete [2021-05-25T16:22:49.718Z] 540db60ca938: Pull complete [2021-05-25T16:22:49.979Z] adcc1eea9eea: Pull complete [2021-05-25T16:22:49.979Z] 4c4ab2625f07: Pull complete [2021-05-25T16:22:50.926Z] f706445af74f: Verifying Checksum [2021-05-25T16:22:50.926Z] f706445af74f: Download complete [2021-05-25T16:22:51.512Z] 0510c868ecb4: Verifying Checksum [2021-05-25T16:22:51.512Z] 0510c868ecb4: Download complete [2021-05-25T16:22:56.841Z] 0510c868ecb4: Pull complete [2021-05-25T16:22:56.841Z] afea3b2eda06: Pull complete [2021-05-25T16:22:56.841Z] 7809a108b3ef: Pull complete [2021-05-25T16:22:58.789Z] f706445af74f: Pull complete [2021-05-25T16:22:58.789Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-25T16:22:58.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-25T16:22:58.789Z] ---> b068be0155e3 [2021-05-25T16:22:58.789Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-25T16:23:08.802Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-156 in /w/workspace/dgexfoundry_device-sdk-go_PR-941 [Pipeline] { [Pipeline] ws [2021-05-25T16:23:08.824Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-25T16:23:09.104Z] Selected Git installation does not exist. Using Default [2021-05-25T16:23:09.104Z] The recommended git tool is: NONE [2021-05-25T16:23:15.371Z] using credential edgex-jenkins-ssh [2021-05-25T16:23:15.390Z] Cloning the remote Git repository [2021-05-25T16:23:15.430Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-25T16:23:15.539Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-25T16:23:15.627Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-25T16:23:15.627Z] > git --version # timeout=10 [2021-05-25T16:23:15.642Z] > git --version # 'git version 2.17.1' [2021-05-25T16:23:15.644Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T16:23:15.715Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T16:23:17.629Z] Merging remotes/origin/master commit f9e550b20f5a93948f1e6d0294bcd4043c76663f into PR head commit 23dda6d3e478af8245a56a8abd96d3d7ee8eba29 [2021-05-25T16:23:17.826Z] Merge succeeded, producing 23dda6d3e478af8245a56a8abd96d3d7ee8eba29 [2021-05-25T16:23:17.827Z] Checking out Revision 23dda6d3e478af8245a56a8abd96d3d7ee8eba29 (PR-941) [2021-05-25T16:23:16.981Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-25T16:23:16.998Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T16:23:17.031Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-25T16:23:17.073Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-25T16:23:17.074Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T16:23:17.095Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/941/head:refs/remotes/origin/PR-941 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-25T16:23:17.631Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T16:23:17.642Z] > git checkout -f 23dda6d3e478af8245a56a8abd96d3d7ee8eba29 # timeout=10 [2021-05-25T16:23:17.737Z] > git remote # timeout=10 [2021-05-25T16:23:17.753Z] > git config --get remote.origin.url # timeout=10 [2021-05-25T16:23:17.765Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T16:23:17.776Z] > git merge f9e550b20f5a93948f1e6d0294bcd4043c76663f # timeout=10 [2021-05-25T16:23:17.795Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-25T16:23:17.817Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T16:23:17.832Z] > git checkout -f 23dda6d3e478af8245a56a8abd96d3d7ee8eba29 # timeout=10 [2021-05-25T16:23:22.071Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-25T16:23:23.379Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-25T16:23:23.805Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-25T16:23:24.149Z] + + sudo servicetrue docker [2021-05-25T16:23:24.149Z] restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T16:23:42.489Z] provisioning config files... [2021-05-25T16:23:42.517Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8810089966411819978tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-25T16:23:42.891Z] ---> docker-login.sh [2021-05-25T16:23:42.891Z] nexus3.edgexfoundry.org:10001 [2021-05-25T16:23:43.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T16:23:44.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T16:23:44.092Z] Configure a credential helper to remove this warning. See [2021-05-25T16:23:44.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T16:23:44.092Z] [2021-05-25T16:23:44.092Z] Login Succeeded [2021-05-25T16:23:44.092Z] nexus3.edgexfoundry.org:10002 [2021-05-25T16:23:44.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T16:23:44.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T16:23:44.640Z] Configure a credential helper to remove this warning. See [2021-05-25T16:23:44.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T16:23:44.640Z] [2021-05-25T16:23:44.640Z] Login Succeeded [2021-05-25T16:23:44.640Z] nexus3.edgexfoundry.org:10003 [2021-05-25T16:23:44.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T16:23:45.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T16:23:45.198Z] Configure a credential helper to remove this warning. See [2021-05-25T16:23:45.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T16:23:45.198Z] [2021-05-25T16:23:45.198Z] Login Succeeded [2021-05-25T16:23:45.198Z] nexus3.edgexfoundry.org:10004 [2021-05-25T16:23:45.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T16:23:45.556Z] ---> Running in 9aa554ef576e [2021-05-25T16:23:45.556Z] Removing intermediate container 9aa554ef576e [2021-05-25T16:23:45.556Z] ---> 64fc0d1358e3 [2021-05-25T16:23:45.556Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T16:23:45.556Z] ---> Running in 97b2427b1fea [2021-05-25T16:23:45.556Z] Removing intermediate container 97b2427b1fea [2021-05-25T16:23:45.556Z] ---> 3762a57a35c6 [2021-05-25T16:23:45.556Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-25T16:23:45.556Z] ---> Running in 12fced03c3d4 [2021-05-25T16:23:45.556Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-25T16:23:45.556Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-25T16:23:45.556Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-25T16:23:45.556Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-25T16:23:45.556Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-25T16:23:45.556Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-25T16:23:45.556Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-25T16:23:45.556Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-25T16:23:45.556Z] Executing busybox-1.32.1-r6.trigger [2021-05-25T16:23:45.556Z] OK: 150 MiB in 46 packages [2021-05-25T16:23:45.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T16:23:45.744Z] Configure a credential helper to remove this warning. See [2021-05-25T16:23:45.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T16:23:45.744Z] [2021-05-25T16:23:45.744Z] Login Succeeded [2021-05-25T16:23:45.744Z] docker.io [2021-05-25T16:23:45.817Z] Removing intermediate container 12fced03c3d4 [2021-05-25T16:23:45.817Z] ---> 187a94a2b11f [2021-05-25T16:23:45.817Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-25T16:23:46.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T16:23:46.078Z] ---> Running in ae9d3bcfee9a [2021-05-25T16:23:46.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T16:23:46.290Z] Configure a credential helper to remove this warning. See [2021-05-25T16:23:46.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T16:23:46.290Z] [2021-05-25T16:23:46.290Z] Login Succeeded [2021-05-25T16:23:46.290Z] ---> docker-login.sh ends [Pipeline] } [2021-05-25T16:23:46.311Z] Deleting 1 temporary files [Pipeline] // configFileProvider [2021-05-25T16:23:46.339Z] Removing intermediate container ae9d3bcfee9a [2021-05-25T16:23:46.339Z] ---> d46a469f1909 [2021-05-25T16:23:46.339Z] Step 7/8 : COPY . . [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-25T16:23:46.651Z] ========================================================= [2021-05-25T16:23:46.651Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-25T16:23:46.651Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-25T16:23:47.006Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-25T16:23:47.283Z] Sending build context to Docker daemon 2.611MB [2021-05-25T16:23:47.557Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T16:23:47.557Z] Step 2/8 : FROM ${BASE} [2021-05-25T16:23:47.557Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-25T16:23:47.557Z] 595b0fe564bb: Pulling fs layer [2021-05-25T16:23:47.557Z] 7186ed65a4f7: Pulling fs layer [2021-05-25T16:23:47.557Z] 316046926c0a: Pulling fs layer [2021-05-25T16:23:47.557Z] 4ebd0625c992: Pulling fs layer [2021-05-25T16:23:47.557Z] 207e8628e3a3: Pulling fs layer [2021-05-25T16:23:47.557Z] c791037a9be2: Pulling fs layer [2021-05-25T16:23:47.557Z] ffd874e62e21: Pulling fs layer [2021-05-25T16:23:47.557Z] 4ebd0625c992: Waiting [2021-05-25T16:23:47.557Z] 207e8628e3a3: Waiting [2021-05-25T16:23:47.557Z] c791037a9be2: Waiting [2021-05-25T16:23:47.557Z] ffd874e62e21: Waiting [2021-05-25T16:23:47.557Z] 316046926c0a: Download complete [2021-05-25T16:23:47.558Z] 7186ed65a4f7: Verifying Checksum [2021-05-25T16:23:47.558Z] 207e8628e3a3: Verifying Checksum [2021-05-25T16:23:47.558Z] 207e8628e3a3: Download complete [2021-05-25T16:23:47.834Z] c791037a9be2: Verifying Checksum [2021-05-25T16:23:47.834Z] c791037a9be2: Download complete [2021-05-25T16:23:47.834Z] 595b0fe564bb: Download complete [2021-05-25T16:23:48.434Z] 595b0fe564bb: Pull complete [2021-05-25T16:23:48.887Z] ---> 452dae655a33 [2021-05-25T16:23:48.887Z] Step 8/8 : RUN go mod download [2021-05-25T16:23:48.887Z] ---> Running in 80780e6398eb [2021-05-25T16:23:49.029Z] 7186ed65a4f7: Pull complete [2021-05-25T16:23:49.307Z] 316046926c0a: Pull complete [2021-05-25T16:23:50.285Z] ffd874e62e21: Verifying Checksum [2021-05-25T16:23:50.285Z] ffd874e62e21: Download complete [2021-05-25T16:23:51.707Z] 4ebd0625c992: Verifying Checksum [2021-05-25T16:23:51.707Z] 4ebd0625c992: Download complete [2021-05-25T16:24:01.872Z] 4ebd0625c992: Pull complete [2021-05-25T16:24:01.872Z] 207e8628e3a3: Pull complete [2021-05-25T16:24:02.471Z] c791037a9be2: Pull complete [2021-05-25T16:24:05.864Z] ffd874e62e21: Pull complete [2021-05-25T16:24:05.864Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-25T16:24:05.864Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-25T16:24:05.864Z] ---> cfc18b08335c [2021-05-25T16:24:05.864Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-25T16:24:07.846Z] ---> Running in 499020e41c67 [2021-05-25T16:24:08.476Z] Removing intermediate container 499020e41c67 [2021-05-25T16:24:08.476Z] ---> af03b8a7fa05 [2021-05-25T16:24:08.476Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T16:24:08.476Z] ---> Running in de88180d20fc [2021-05-25T16:24:11.138Z] Removing intermediate container de88180d20fc [2021-05-25T16:24:11.139Z] ---> 2913adecb667 [2021-05-25T16:24:11.139Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-25T16:24:11.139Z] ---> Running in 853c34995e7f [2021-05-25T16:24:12.110Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-25T16:24:13.080Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-25T16:24:13.669Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-25T16:24:13.939Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-25T16:24:13.939Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-25T16:24:13.939Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-25T16:24:14.211Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-25T16:24:14.211Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-25T16:24:14.211Z] Executing busybox-1.32.1-r6.trigger [2021-05-25T16:24:14.211Z] OK: 139 MiB in 46 packages [2021-05-25T16:24:15.645Z] Removing intermediate container 853c34995e7f [2021-05-25T16:24:15.645Z] ---> b75a6629dee8 [2021-05-25T16:24:15.645Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-25T16:24:15.645Z] ---> Running in df2aed882373 [2021-05-25T16:24:16.236Z] Removing intermediate container df2aed882373 [2021-05-25T16:24:16.236Z] ---> 6bf29be0b54a [2021-05-25T16:24:16.236Z] Step 7/8 : COPY . . [2021-05-25T16:24:17.213Z] ---> 8cdc1f5b23f4 [2021-05-25T16:24:17.213Z] Step 8/8 : RUN go mod download [2021-05-25T16:24:17.484Z] ---> Running in 65d3e3abed81 [2021-05-25T16:24:44.293Z] Removing intermediate container 65d3e3abed81 [2021-05-25T16:24:44.293Z] ---> 025159225403 [2021-05-25T16:24:44.293Z] Successfully built 025159225403 [2021-05-25T16:24:44.293Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-25T16:24:44.637Z] + docker inspect -f . ci-base-image-arm64 [2021-05-25T16:24:44.637Z] . [Pipeline] withDockerContainer [2021-05-25T16:24:44.863Z] prd-ubuntu18.04-docker-arm64-4c-16g-156 does not seem to be running inside a container [2021-05-25T16:24:44.932Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-25T16:24:45.174Z] Removing intermediate container 80780e6398eb [2021-05-25T16:24:45.174Z] ---> 96a3771b27dd [2021-05-25T16:24:45.174Z] Successfully built 96a3771b27dd [2021-05-25T16:24:45.174Z] Successfully tagged ci-base-image-x86_64:latest [2021-05-25T16:24:46.545Z] $ docker top c279211d12f1c68461afeb384328fa4962717510d735f8cab2d1f539eae59c1e -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-05-25T16:24:47.250Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-25T16:24:47.250Z] . [Pipeline] withDockerContainer [2021-05-25T16:24:47.321Z] prd-centos7-docker-4c-2g-155 does not seem to be running inside a container [2021-05-25T16:24:47.357Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 [2021-05-25T16:24:47.519Z] + go version [2021-05-25T16:24:47.519Z] go version go1.16.3 linux/arm64 [2021-05-25T16:24:48.284Z] $ docker top d8e37272e93faaf337d1c90298e1dc23dbd95228a61971a0d651c204d6270743 -eo pid,comm [Pipeline] { [Pipeline] } [2021-05-25T16:24:48.369Z] $ docker stop --time=1 c279211d12f1c68461afeb384328fa4962717510d735f8cab2d1f539eae59c1e [2021-05-25T16:24:50.199Z] $ docker rm -f c279211d12f1c68461afeb384328fa4962717510d735f8cab2d1f539eae59c1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-25T16:24:50.724Z] + go version [2021-05-25T16:24:50.724Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-25T16:24:50.733Z] $ docker stop --time=1 d8e37272e93faaf337d1c90298e1dc23dbd95228a61971a0d651c204d6270743 [2021-05-25T16:24:50.892Z] + docker inspect -f . ci-base-image-arm64 [2021-05-25T16:24:50.892Z] . [2021-05-25T16:24:52.166Z] $ docker rm -f d8e37272e93faaf337d1c90298e1dc23dbd95228a61971a0d651c204d6270743 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer [2021-05-25T16:24:52.471Z] prd-ubuntu18.04-docker-arm64-4c-16g-156 does not seem to be running inside a container [2021-05-25T16:24:52.541Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-25T16:24:54.133Z] $ docker top bbc81c7e1056fec1bb93590442a6ebf5fa79f4517866be3eccd4f943aff57a6f -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-25T16:24:54.868Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-25T16:24:54.869Z] . [Pipeline] withDockerContainer [2021-05-25T16:24:54.940Z] prd-centos7-docker-4c-2g-155 does not seem to be running inside a container [2021-05-25T16:24:54.978Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 [2021-05-25T16:24:55.103Z] + go mod tidy [2021-05-25T16:24:55.695Z] $ docker top 03fabf451468ef84f54c62108c5d32d4404dbc4b93027451535e956f7d8e9535 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-25T16:24:56.138Z] + go mod tidy [Pipeline] sh [2021-05-25T16:24:56.421Z] + make test [2021-05-25T16:24:56.421Z] go mod tidy [2021-05-25T16:24:56.713Z] + make test [2021-05-25T16:24:56.713Z] go mod tidy [2021-05-25T16:24:56.713Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-25T16:24:57.021Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-25T16:25:03.343Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-25T16:25:19.247Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-25T16:25:30.013Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-25T16:25:30.013Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-25T16:25:30.013Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-25T16:25:35.335Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.054s coverage: 25.4% of statements [2021-05-25T16:25:35.335Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-25T16:25:35.335Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 28.1% of statements [2021-05-25T16:25:39.634Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.050s coverage: 78.9% of statements [2021-05-25T16:25:39.634Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.050s coverage: 9.0% of statements [2021-05-25T16:25:39.634Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-25T16:25:39.634Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-25T16:25:39.634Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-25T16:25:43.851Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.072s coverage: 30.2% of statements [2021-05-25T16:25:43.851Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-25T16:25:45.264Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.050s coverage: 83.3% of statements [2021-05-25T16:25:45.264Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-25T16:25:45.264Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-25T16:25:45.264Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 58.0% of statements [2021-05-25T16:25:45.841Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.835s coverage: 89.2% of statements [2021-05-25T16:25:45.841Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-25T16:25:48.408Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.043s coverage: 5.0% of statements [2021-05-25T16:25:48.408Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-25T16:25:48.408Z] GO111MODULE=on go vet ./... [2021-05-25T16:26:20.567Z] gofmt -l . [2021-05-25T16:26:20.567Z] [ "`gofmt -l .`" = "" ] [2021-05-25T16:26:20.567Z] ./bin/test-attribution-txt.sh [2021-05-25T16:26:20.567Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-25T16:26:20.576Z] $ docker stop --time=1 03fabf451468ef84f54c62108c5d32d4404dbc4b93027451535e956f7d8e9535 [2021-05-25T16:26:25.090Z] $ docker rm -f 03fabf451468ef84f54c62108c5d32d4404dbc4b93027451535e956f7d8e9535 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-25T16:26:25.592Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-25T16:26:25.797Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-25T16:26:26.867Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-25T16:26:27.163Z] + ls -al . [2021-05-25T16:26:27.163Z] total 212 [2021-05-25T16:26:27.163Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 25 16:26 . [2021-05-25T16:26:27.163Z] drwxrwxr-x. 4 jenkins jenkins 28 May 25 16:22 .. [2021-05-25T16:26:27.163Z] drwxrwxr-x. 2 jenkins jenkins 64 May 25 16:22 bin [2021-05-25T16:26:27.163Z] -rw-r--r--. 1 jenkins jenkins 126444 May 25 16:25 coverage.out [2021-05-25T16:26:27.163Z] -rw-rw-r--. 1 jenkins jenkins 987 May 25 16:22 Dockerfile.build [2021-05-25T16:26:27.163Z] -rw-rw-r--. 1 jenkins jenkins 140 May 25 16:22 .dockerignore [2021-05-25T16:26:27.163Z] drwxrwxr-x. 5 jenkins jenkins 62 May 25 16:22 example [2021-05-25T16:26:27.163Z] drwxrwxr-x. 8 jenkins jenkins 179 May 25 16:22 .git [2021-05-25T16:26:27.163Z] drwxrwxr-x. 2 jenkins jenkins 103 May 25 16:22 .github [2021-05-25T16:26:27.163Z] -rw-rw-r--. 1 jenkins jenkins 138 May 25 16:22 .gitignore [2021-05-25T16:26:27.163Z] -rw-r--r--. 1 jenkins jenkins 575 May 25 16:26 go.mod [2021-05-25T16:26:27.163Z] -rw-r--r--. 1 jenkins jenkins 20803 May 25 16:24 go.sum [2021-05-25T16:26:27.163Z] drwxrwxr-x. 15 jenkins jenkins 224 May 25 16:22 internal [2021-05-25T16:26:27.163Z] -rw-rw-r--. 1 jenkins jenkins 894 May 25 16:22 Jenkinsfile [2021-05-25T16:26:27.163Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 25 16:22 LICENSE [2021-05-25T16:26:27.163Z] -rw-rw-r--. 1 jenkins jenkins 1026 May 25 16:22 Makefile [2021-05-25T16:26:27.163Z] drwxrwxr-x. 4 jenkins jenkins 26 May 25 16:22 openapi [2021-05-25T16:26:27.163Z] drwxrwxr-x. 5 jenkins jenkins 50 May 25 16:22 pkg [2021-05-25T16:26:27.163Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 25 16:22 README.md [2021-05-25T16:26:27.163Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 25 16:22 RELEASE-NOTES.txt [2021-05-25T16:26:27.163Z] drwxrwxr-x. 4 jenkins jenkins 54 May 25 16:22 snap [2021-05-25T16:26:27.163Z] -rw-rw-r--. 1 jenkins jenkins 5 May 25 16:19 VERSION [2021-05-25T16:26:27.163Z] -rw-rw-r--. 1 jenkins jenkins 222 May 25 16:22 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-25T16:26:27.467Z] + docker build -t 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=23dda6d3e478af8245a56a8abd96d3d7ee8eba29 --label arch=amd64 --label version=0.0.0 . [2021-05-25T16:26:27.467Z] Sending build context to Docker daemon 2.739MB [2021-05-25T16:26:27.494Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-25T16:26:27.494Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-25T16:26:27.494Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-25T16:26:28.043Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T16:26:28.043Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-25T16:26:28.043Z] ---> 96a3771b27dd [2021-05-25T16:26:28.043Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-25T16:26:29.427Z] ---> Running in fe3c2463eb9f [2021-05-25T16:26:29.689Z] Removing intermediate container fe3c2463eb9f [2021-05-25T16:26:29.689Z] ---> e88bca86678b [2021-05-25T16:26:29.689Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-25T16:26:29.950Z] ---> Running in e9dec9ae6779 [2021-05-25T16:26:30.212Z] Removing intermediate container e9dec9ae6779 [2021-05-25T16:26:30.212Z] ---> b7823b595280 [2021-05-25T16:26:30.212Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T16:26:30.479Z] ---> Running in 0ea9e6831e8a [2021-05-25T16:26:32.395Z] Removing intermediate container 0ea9e6831e8a [2021-05-25T16:26:32.395Z] ---> b05f22bc266a [2021-05-25T16:26:32.395Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-25T16:26:32.656Z] ---> Running in 0c72adc1b6b4 [2021-05-25T16:26:32.927Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.304s coverage: 25.4% of statements [2021-05-25T16:26:32.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-25T16:26:32.927Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.256s coverage: 28.1% of statements [2021-05-25T16:26:32.927Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.250s coverage: 78.9% of statements [2021-05-25T16:26:32.927Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.179s coverage: 9.0% of statements [2021-05-25T16:26:32.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-25T16:26:32.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-25T16:26:32.927Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-25T16:26:33.229Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-25T16:26:34.178Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-25T16:26:34.751Z] OK: 150 MiB in 46 packages [2021-05-25T16:26:34.943Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.308s coverage: 30.2% of statements [2021-05-25T16:26:34.943Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-25T16:26:35.560Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.278s coverage: 83.3% of statements [2021-05-25T16:26:35.560Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-25T16:26:35.560Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-25T16:26:36.136Z] Removing intermediate container 0c72adc1b6b4 [2021-05-25T16:26:36.136Z] ---> 7c1ba46e45f3 [2021-05-25T16:26:36.136Z] Step 7/23 : COPY . . [2021-05-25T16:26:36.172Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.490s coverage: 58.0% of statements [2021-05-25T16:26:38.051Z] ---> 2a34377cfe6f [2021-05-25T16:26:38.051Z] Step 8/23 : RUN go mod download [2021-05-25T16:26:38.317Z] ---> Running in d0f497085440 [2021-05-25T16:26:40.482Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.978s coverage: 89.2% of statements [2021-05-25T16:26:40.482Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-25T16:26:40.482Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.181s coverage: 5.0% of statements [2021-05-25T16:26:40.482Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-25T16:26:40.755Z] GO111MODULE=on go vet ./... [2021-05-25T16:26:41.628Z] Removing intermediate container d0f497085440 [2021-05-25T16:26:41.628Z] ---> 03c0cf2eb2cd [2021-05-25T16:26:41.628Z] Step 9/23 : RUN make build [2021-05-25T16:26:41.894Z] ---> Running in 8135245c4ea1 [2021-05-25T16:26:42.470Z] go mod tidy [2021-05-25T16:26:42.737Z] CGO_ENABLED=1 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 [2021-05-25T16:26:55.053Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-25T16:27:05.119Z] Removing intermediate container 8135245c4ea1 [2021-05-25T16:27:05.119Z] ---> 16d1dca84fca [2021-05-25T16:27:05.119Z] Step 10/23 : FROM alpine:3.12 [2021-05-25T16:27:05.119Z] 3.12: Pulling from library/alpine [2021-05-25T16:27:05.119Z] 339de151aab4: Pulling fs layer [2021-05-25T16:27:05.119Z] 339de151aab4: Verifying Checksum [2021-05-25T16:27:05.119Z] 339de151aab4: Download complete [2021-05-25T16:27:05.119Z] 339de151aab4: Pull complete [2021-05-25T16:27:05.119Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-25T16:27:05.119Z] Status: Downloaded newer image for alpine:3.12 [2021-05-25T16:27:05.119Z] ---> 13621d1b12d4 [2021-05-25T16:27:05.119Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-25T16:27:06.500Z] ---> Running in b908afc79a7e [2021-05-25T16:27:06.759Z] Removing intermediate container b908afc79a7e [2021-05-25T16:27:06.759Z] ---> 4f3992555c02 [2021-05-25T16:27:06.759Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T16:27:07.019Z] ---> Running in 3f9ddfd2a546 [2021-05-25T16:27:08.929Z] Removing intermediate container 3f9ddfd2a546 [2021-05-25T16:27:08.929Z] ---> 69e0a5829898 [2021-05-25T16:27:08.929Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-25T16:27:09.499Z] ---> Running in f83b5202888f [2021-05-25T16:27:12.044Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-25T16:27:12.624Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-25T16:27:12.885Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-25T16:27:12.885Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-25T16:27:13.146Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-25T16:27:13.716Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-25T16:27:13.976Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-25T16:27:13.976Z] Executing busybox-1.31.1-r20.trigger [2021-05-25T16:27:13.976Z] OK: 8 MiB in 19 packages [2021-05-25T16:27:15.359Z] Removing intermediate container f83b5202888f [2021-05-25T16:27:15.359Z] ---> 67436a8b0e0d [2021-05-25T16:27:15.359Z] Step 14/23 : WORKDIR / [2021-05-25T16:27:15.359Z] ---> Running in b93fdafc688f [2021-05-25T16:27:15.619Z] Removing intermediate container b93fdafc688f [2021-05-25T16:27:15.619Z] ---> c11930cb7bc8 [2021-05-25T16:27:15.619Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-25T16:27:16.190Z] ---> 0de7de005356 [2021-05-25T16:27:16.190Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-25T16:27:18.104Z] ---> 1d371fa8823c [2021-05-25T16:27:18.104Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-25T16:27:18.364Z] ---> d363d44e469a [2021-05-25T16:27:18.364Z] Step 18/23 : EXPOSE 59999 [2021-05-25T16:27:18.629Z] ---> Running in 5b1fba2b423c [2021-05-25T16:27:18.893Z] Removing intermediate container 5b1fba2b423c [2021-05-25T16:27:18.893Z] ---> b53d677e64f7 [2021-05-25T16:27:18.894Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-25T16:27:18.894Z] ---> Running in 1cdc18720be6 [2021-05-25T16:27:19.468Z] Removing intermediate container 1cdc18720be6 [2021-05-25T16:27:19.468Z] ---> 9175648f3f6a [2021-05-25T16:27:19.468Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-25T16:27:19.732Z] ---> Running in 57f343eb8fc2 [2021-05-25T16:27:19.993Z] Removing intermediate container 57f343eb8fc2 [2021-05-25T16:27:19.993Z] ---> fd2b2904d6b0 [2021-05-25T16:27:19.993Z] Step 21/23 : LABEL arch=amd64 [2021-05-25T16:27:20.564Z] ---> Running in 0c957ff297a9 [2021-05-25T16:27:20.825Z] Removing intermediate container 0c957ff297a9 [2021-05-25T16:27:20.825Z] ---> a1eb3b993d7c [2021-05-25T16:27:20.825Z] Step 22/23 : LABEL git_sha=23dda6d3e478af8245a56a8abd96d3d7ee8eba29 [2021-05-25T16:27:21.085Z] ---> Running in cc985cbce774 [2021-05-25T16:27:21.345Z] Removing intermediate container cc985cbce774 [2021-05-25T16:27:21.345Z] ---> 6396b89d4803 [2021-05-25T16:27:21.345Z] Step 23/23 : LABEL version=0.0.0 [2021-05-25T16:27:21.605Z] ---> Running in e9fdbfd50ac2 [2021-05-25T16:27:21.866Z] Removing intermediate container e9fdbfd50ac2 [2021-05-25T16:27:21.866Z] ---> 17abf37b666d [2021-05-25T16:27:21.866Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-25T16:27:21.866Z] Successfully built 17abf37b666d [2021-05-25T16:27:21.866Z] Successfully tagged 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-25T16:27:22.375Z] ---> job-cost.sh [2021-05-25T16:27:22.375Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZetL [2021-05-25T16:27:37.325Z] gofmt -l . [2021-05-25T16:27:37.325Z] [ "`gofmt -l .`" = "" ] [2021-05-25T16:27:37.325Z] ./bin/test-attribution-txt.sh [2021-05-25T16:27:37.325Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-25T16:27:37.607Z] $ docker stop --time=1 bbc81c7e1056fec1bb93590442a6ebf5fa79f4517866be3eccd4f943aff57a6f [2021-05-25T16:27:39.781Z] $ docker rm -f bbc81c7e1056fec1bb93590442a6ebf5fa79f4517866be3eccd4f943aff57a6f [Pipeline] // withDockerContainer [2021-05-25T16:27:40.507Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] sh [2021-05-25T16:27:40.847Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-25T16:27:40.880Z] Warning: overwriting stash ‘coverage-report’ [2021-05-25T16:27:41.472Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-25T16:27:41.914Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-25T16:27:42.262Z] + ls -al . [2021-05-25T16:27:42.262Z] total 248 [2021-05-25T16:27:42.262Z] drwxrwxr-x 10 jenkins jenkins 4096 May 25 16:27 . [2021-05-25T16:27:42.262Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 16:23 .. [2021-05-25T16:27:42.262Z] -rw-rw-r-- 1 jenkins jenkins 140 May 25 16:23 .dockerignore [2021-05-25T16:27:42.262Z] drwxrwxr-x 8 jenkins jenkins 4096 May 25 16:23 .git [2021-05-25T16:27:42.262Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 16:23 .github [2021-05-25T16:27:42.262Z] -rw-rw-r-- 1 jenkins jenkins 138 May 25 16:23 .gitignore [2021-05-25T16:27:42.262Z] -rw-rw-r-- 1 jenkins jenkins 987 May 25 16:23 Dockerfile.build [2021-05-25T16:27:42.262Z] -rw-rw-r-- 1 jenkins jenkins 894 May 25 16:23 Jenkinsfile [2021-05-25T16:27:42.262Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 25 16:23 LICENSE [2021-05-25T16:27:42.262Z] -rw-rw-r-- 1 jenkins jenkins 1026 May 25 16:23 Makefile [2021-05-25T16:27:42.262Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 25 16:23 README.md [2021-05-25T16:27:42.262Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 25 16:23 RELEASE-NOTES.txt [2021-05-25T16:27:42.262Z] -rw-rw-r-- 1 jenkins jenkins 5 May 25 16:19 VERSION [2021-05-25T16:27:42.262Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 16:23 bin [2021-05-25T16:27:42.262Z] -rw-r--r-- 1 jenkins jenkins 126444 May 25 16:26 coverage.out [2021-05-25T16:27:42.262Z] drwxrwxr-x 5 jenkins jenkins 4096 May 25 16:23 example [2021-05-25T16:27:42.262Z] -rw-r--r-- 1 jenkins jenkins 575 May 25 16:27 go.mod [2021-05-25T16:27:42.262Z] -rw-r--r-- 1 jenkins jenkins 20803 May 25 16:24 go.sum [2021-05-25T16:27:42.262Z] drwxrwxr-x 15 jenkins jenkins 4096 May 25 16:23 internal [2021-05-25T16:27:42.262Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 16:23 openapi [2021-05-25T16:27:42.262Z] drwxrwxr-x 5 jenkins jenkins 4096 May 25 16:23 pkg [2021-05-25T16:27:42.262Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 16:23 snap [2021-05-25T16:27:42.262Z] -rw-rw-r-- 1 jenkins jenkins 222 May 25 16:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-25T16:27:42.604Z] + docker build -t 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=23dda6d3e478af8245a56a8abd96d3d7ee8eba29 --label arch=arm64 --label version=0.0.0 . [2021-05-25T16:27:42.878Z] Sending build context to Docker daemon 2.738MB [2021-05-25T16:27:43.152Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T16:27:43.152Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-25T16:27:43.152Z] ---> 025159225403 [2021-05-25T16:27:43.152Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-25T16:27:43.427Z] ---> Running in f59de018d564 [2021-05-25T16:27:44.020Z] Removing intermediate container f59de018d564 [2021-05-25T16:27:44.020Z] ---> d0baab1d5df7 [2021-05-25T16:27:44.020Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-25T16:27:44.020Z] ---> Running in 14102a7490ec [2021-05-25T16:27:44.621Z] Removing intermediate container 14102a7490ec [2021-05-25T16:27:44.621Z] ---> dbf59ba066cf [2021-05-25T16:27:44.621Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T16:27:44.621Z] ---> Running in fa0165b2b2e5 [2021-05-25T16:27:46.600Z] Removing intermediate container fa0165b2b2e5 [2021-05-25T16:27:46.600Z] ---> eac05deb1aa4 [2021-05-25T16:27:46.600Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-25T16:27:46.872Z] ---> Running in b667139f2cbc [2021-05-25T16:27:47.855Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-25T16:27:48.823Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-25T16:27:49.813Z] OK: 139 MiB in 46 packages [2021-05-25T16:27:50.801Z] Removing intermediate container b667139f2cbc [2021-05-25T16:27:50.801Z] ---> 27e33533b022 [2021-05-25T16:27:50.801Z] Step 7/23 : COPY . . [2021-05-25T16:27:52.241Z] ---> 9ef6058924f4 [2021-05-25T16:27:52.241Z] Step 8/23 : RUN go mod download [2021-05-25T16:27:52.241Z] ---> Running in b4bd0c8ec6aa [2021-05-25T16:27:54.222Z] Removing intermediate container b4bd0c8ec6aa [2021-05-25T16:27:54.222Z] ---> e2d662d049c0 [2021-05-25T16:27:54.222Z] Step 9/23 : RUN make build [2021-05-25T16:27:54.499Z] ---> Running in 93cab2b2c131 [2021-05-25T16:27:55.475Z] go mod tidy [2021-05-25T16:27:56.078Z] CGO_ENABLED=1 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 [2021-05-25T16:28:27.762Z] lf-activate-venv(): INFO: Adding /tmp/venv-ZetL/bin to PATH [2021-05-25T16:28:27.762Z] INFO: No Stack... [2021-05-25T16:28:28.459Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-25T16:28:28.704Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-25T16:28:29.275Z] INFO: Archiving Costs [Pipeline] sh [2021-05-25T16:28:29.578Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-05-25T16:28:29.578Z] + cut -d, -f6 [Pipeline] lock [2021-05-25T16:28:29.609Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-941-2-stack-cost] [2021-05-25T16:28:29.619Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-941-2-stack-cost] did not exist. Created. [2021-05-25T16:28:29.619Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-941-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-25T16:28:29.942Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-25T16:28:30.010Z] Stashed 1 file(s) [Pipeline] } [2021-05-25T16:28:30.026Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-941-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-25T16:28:30.436Z] Removing intermediate container 93cab2b2c131 [2021-05-25T16:28:30.436Z] ---> d84c95b6f835 [2021-05-25T16:28:30.436Z] Step 10/23 : FROM alpine:3.12 [2021-05-25T16:28:30.735Z] 3.12: Pulling from library/alpine [2021-05-25T16:28:31.009Z] d2f70382dc9a: Pulling fs layer [2021-05-25T16:28:31.282Z] d2f70382dc9a: Verifying Checksum [2021-05-25T16:28:31.282Z] d2f70382dc9a: Download complete [2021-05-25T16:28:31.888Z] d2f70382dc9a: Pull complete [2021-05-25T16:28:31.888Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-25T16:28:31.888Z] Status: Downloaded newer image for alpine:3.12 [2021-05-25T16:28:31.888Z] ---> 9852663dfa18 [2021-05-25T16:28:31.888Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-25T16:28:32.161Z] ---> Running in 609525afd4a1 [2021-05-25T16:28:32.431Z] Removing intermediate container 609525afd4a1 [2021-05-25T16:28:32.431Z] ---> 8f6c058e9c21 [2021-05-25T16:28:32.431Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T16:28:32.704Z] ---> Running in aa24737a5a8a [2021-05-25T16:28:34.682Z] Removing intermediate container aa24737a5a8a [2021-05-25T16:28:34.682Z] ---> 1ca5e5659df6 [2021-05-25T16:28:34.682Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-25T16:28:34.958Z] ---> Running in 902b32f8b2ce [2021-05-25T16:28:35.943Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-25T16:28:36.927Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-25T16:28:37.624Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-25T16:28:37.624Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-25T16:28:37.624Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-25T16:28:37.895Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-25T16:28:37.895Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-25T16:28:38.168Z] Executing busybox-1.31.1-r20.trigger [2021-05-25T16:28:38.168Z] OK: 8 MiB in 19 packages [2021-05-25T16:28:39.142Z] Removing intermediate container 902b32f8b2ce [2021-05-25T16:28:39.142Z] ---> e68fd859db43 [2021-05-25T16:28:39.142Z] Step 14/23 : WORKDIR / [2021-05-25T16:28:39.413Z] ---> Running in 4fbb620c102e [2021-05-25T16:28:40.004Z] Removing intermediate container 4fbb620c102e [2021-05-25T16:28:40.004Z] ---> 0fab38c683f3 [2021-05-25T16:28:40.004Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-25T16:28:40.599Z] ---> b1f71b16634f [2021-05-25T16:28:40.599Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-25T16:28:42.029Z] ---> 6f8dc2641658 [2021-05-25T16:28:42.029Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-25T16:28:42.623Z] ---> 5a20989fedae [2021-05-25T16:28:42.623Z] Step 18/23 : EXPOSE 59999 [2021-05-25T16:28:42.623Z] ---> Running in 818fda14c9bc [2021-05-25T16:28:43.221Z] Removing intermediate container 818fda14c9bc [2021-05-25T16:28:43.221Z] ---> 2996a4de86d0 [2021-05-25T16:28:43.221Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-25T16:28:43.221Z] ---> Running in a9e765ff2377 [2021-05-25T16:28:43.816Z] Removing intermediate container a9e765ff2377 [2021-05-25T16:28:43.816Z] ---> 99025ac311d6 [2021-05-25T16:28:43.816Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-25T16:28:43.816Z] ---> Running in 9e3b61880081 [2021-05-25T16:28:44.413Z] Removing intermediate container 9e3b61880081 [2021-05-25T16:28:44.413Z] ---> 39f9808d3cd9 [2021-05-25T16:28:44.413Z] Step 21/23 : LABEL arch=arm64 [2021-05-25T16:28:44.413Z] ---> Running in 196c72ee0d25 [2021-05-25T16:28:45.009Z] Removing intermediate container 196c72ee0d25 [2021-05-25T16:28:45.009Z] ---> 6445afe767f7 [2021-05-25T16:28:45.009Z] Step 22/23 : LABEL git_sha=23dda6d3e478af8245a56a8abd96d3d7ee8eba29 [2021-05-25T16:28:45.009Z] ---> Running in 3ca5e803ee49 [2021-05-25T16:28:45.602Z] Removing intermediate container 3ca5e803ee49 [2021-05-25T16:28:45.602Z] ---> a159a686e546 [2021-05-25T16:28:45.602Z] Step 23/23 : LABEL version=0.0.0 [2021-05-25T16:28:45.602Z] ---> Running in 71105b2bee7a [2021-05-25T16:28:46.195Z] Removing intermediate container 71105b2bee7a [2021-05-25T16:28:46.195Z] ---> d1aa23a0483c [2021-05-25T16:28:46.195Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-25T16:28:46.195Z] Successfully built d1aa23a0483c [2021-05-25T16:28:46.195Z] Successfully tagged 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-25T16:28:46.655Z] ---> job-cost.sh [2021-05-25T16:28:46.655Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-athU [2021-05-25T16:29:25.613Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-25T16:30:47.384Z] lf-activate-venv(): INFO: Adding /tmp/venv-athU/bin to PATH [2021-05-25T16:30:47.384Z] INFO: No Stack... [2021-05-25T16:30:47.384Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-25T16:30:47.384Z] INFO: Archiving Costs [Pipeline] sh [2021-05-25T16:30:47.723Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv+ [2021-05-25T16:30:47.723Z] cut -d, -f6 [Pipeline] lock [2021-05-25T16:30:47.784Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-941-2-stack-cost] [2021-05-25T16:30:47.793Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-941-2-stack-cost] did not exist. Created. [2021-05-25T16:30:47.793Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-941-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-25T16:30:48.179Z] /w/workspace/device-sdk-go/2@tmp/durable-45a581f1/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-45a581f1/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-25T16:30:48.530Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-25T16:30:48.571Z] Warning: overwriting stash ‘stack-cost’ [2021-05-25T16:30:48.733Z] Stashed 1 file(s) [Pipeline] } [2021-05-25T16:30:48.745Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-941-2-stack-cost] [Pipeline] // lock [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] configFileProvider [2021-05-25T16:30:49.277Z] provisioning config files... [2021-05-25T16:30:49.297Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-941@tmp/config1972592472046739459tmp [Pipeline] { [Pipeline] sh [2021-05-25T16:30:49.634Z] + set +x [2021-05-25T16:30:49.634Z] + curl -s https://codecov.io/bash [2021-05-25T16:30:49.634Z] + bash -s -- [2021-05-25T16:30:49.634Z] [2021-05-25T16:30:49.634Z] _____ _ [2021-05-25T16:30:49.634Z] / ____| | | [2021-05-25T16:30:49.634Z] | | ___ __| | ___ ___ _____ __ [2021-05-25T16:30:49.634Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-25T16:30:49.634Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-25T16:30:49.634Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-25T16:30:49.634Z] Bash-1.0.3 [2021-05-25T16:30:49.634Z] [2021-05-25T16:30:49.635Z] [2021-05-25T16:30:49.635Z] ==> git version 2.24.4 found [2021-05-25T16:30:49.635Z] ==> 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 [2021-05-25T16:30:49.635Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-25T16:30:49.635Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-25T16:30:49.635Z] ==> Jenkins CI detected. [2021-05-25T16:30:49.635Z] project root: . [2021-05-25T16:30:49.635Z] --> token set from env [2021-05-25T16:30:49.635Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-25T16:30:49.635Z] ==> Running gcov in . (disable via -X gcov) [2021-05-25T16:30:49.897Z] ==> Python coveragepy not found [2021-05-25T16:30:49.897Z] ==> Searching for coverage reports in: [2021-05-25T16:30:49.897Z] + . [2021-05-25T16:30:49.897Z] -> Found 1 reports [2021-05-25T16:30:49.897Z] ==> Detecting git/mercurial file structure [2021-05-25T16:30:49.897Z] ==> Reading reports [2021-05-25T16:30:49.897Z] + ./coverage.out bytes=126444 [2021-05-25T16:30:49.897Z] ==> Appending adjustments [2021-05-25T16:30:49.897Z] https://docs.codecov.io/docs/fixing-reports [2021-05-25T16:30:50.164Z] + Found adjustments [2021-05-25T16:30:50.164Z] ==> Gzipping contents [2021-05-25T16:30:50.164Z] 20K /tmp/codecov.TJuOAR.gz [2021-05-25T16:30:50.164Z] ==> Uploading reports [2021-05-25T16:30:50.164Z] url: https://codecov.io [2021-05-25T16:30:50.164Z] query: branch=PR-941&commit=23dda6d3e478af8245a56a8abd96d3d7ee8eba29&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-941%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=941&job=&cmd_args= [2021-05-25T16:30:50.164Z] -> Pinging Codecov [2021-05-25T16:30:50.164Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-941&commit=23dda6d3e478af8245a56a8abd96d3d7ee8eba29&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-941%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=941&job=&cmd_args= [2021-05-25T16:30:50.750Z] -> Uploading to [2021-05-25T16:30:50.750Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-25/7E55EF52A471D76F132DFD9A03CDDE97/23dda6d3e478af8245a56a8abd96d3d7ee8eba29/cf41c57d-6dbb-435f-a704-5d94a64f1f72.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210525T163050Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6f4ad6b33824b6bac4ba4452a470d050872869780c25275951b4c01b128bdd11 [2021-05-25T16:30:50.750Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-25T16:30:50.750Z] Dload Upload Total Spent Left Speed [2021-05-25T16:30:51.324Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16465 0 0 100 16465 0 48634 --:--:-- --:--:-- --:--:-- 48713 [2021-05-25T16:30:51.324Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/23dda6d3e478af8245a56a8abd96d3d7ee8eba29 [Pipeline] } [2021-05-25T16:30:51.334Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency 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 [2021-05-25T16:30:52.390Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T16:30:52.958Z] ---> package-listing.sh [2021-05-25T16:30:52.958Z] ++ facter osfamily [2021-05-25T16:30:52.958Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-25T16:30:53.224Z] + OS_FAMILY=redhat [2021-05-25T16:30:53.224Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-941 [2021-05-25T16:30:53.224Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-25T16:30:53.224Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-25T16:30:53.224Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-25T16:30:53.224Z] + PACKAGES=/tmp/packages_start.txt [2021-05-25T16:30:53.224Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-941 ']' [2021-05-25T16:30:53.224Z] + PACKAGES=/tmp/packages_end.txt [2021-05-25T16:30:53.224Z] + case "${OS_FAMILY}" in [2021-05-25T16:30:53.224Z] + sort [2021-05-25T16:30:53.224Z] + rpm -qa [2021-05-25T16:30:53.824Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-25T16:30:53.824Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-25T16:30:53.824Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-25T16:30:53.824Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-941 ']' [2021-05-25T16:30:53.824Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-941/archives/ [2021-05-25T16:30:53.824Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-941/archives/ [Pipeline] echo [2021-05-25T16:30:53.846Z] 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-941/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-25T16:30:54.136Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-25T16:30:54.702Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-25T16:30:54.702Z] [2021-05-25T16:30:54.702Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-25T16:30:55.013Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-25T16:30:55.013Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-25T16:30:55.013Z] df20fa9351a1: Pulling fs layer [2021-05-25T16:30:55.013Z] 36b3adc4ff6f: Pulling fs layer [2021-05-25T16:30:55.013Z] 8ad3a11d3b57: Pulling fs layer [2021-05-25T16:30:55.013Z] 46f8f816bc3b: Pulling fs layer [2021-05-25T16:30:55.013Z] 93b61091891f: Pulling fs layer [2021-05-25T16:30:55.013Z] 93b9cdb0e59b: Pulling fs layer [2021-05-25T16:30:55.013Z] 5e14af77c1be: Pulling fs layer [2021-05-25T16:30:55.013Z] 01666e4c0597: Pulling fs layer [2021-05-25T16:30:55.013Z] aa168da1d23b: Pulling fs layer [2021-05-25T16:30:55.013Z] 46f8f816bc3b: Waiting [2021-05-25T16:30:55.013Z] 93b61091891f: Waiting [2021-05-25T16:30:55.013Z] 93b9cdb0e59b: Waiting [2021-05-25T16:30:55.013Z] 5e14af77c1be: Waiting [2021-05-25T16:30:55.013Z] 01666e4c0597: Waiting [2021-05-25T16:30:55.013Z] aa168da1d23b: Waiting [2021-05-25T16:30:55.013Z] 36b3adc4ff6f: Download complete [2021-05-25T16:30:55.013Z] 46f8f816bc3b: Verifying Checksum [2021-05-25T16:30:55.013Z] 46f8f816bc3b: Download complete [2021-05-25T16:30:55.013Z] df20fa9351a1: Verifying Checksum [2021-05-25T16:30:55.013Z] df20fa9351a1: Download complete [2021-05-25T16:30:55.280Z] 93b9cdb0e59b: Verifying Checksum [2021-05-25T16:30:55.280Z] 93b9cdb0e59b: Download complete [2021-05-25T16:30:55.280Z] 5e14af77c1be: Verifying Checksum [2021-05-25T16:30:55.280Z] 5e14af77c1be: Download complete [2021-05-25T16:30:55.280Z] 01666e4c0597: Verifying Checksum [2021-05-25T16:30:55.280Z] 01666e4c0597: Download complete [2021-05-25T16:30:55.280Z] 93b61091891f: Verifying Checksum [2021-05-25T16:30:55.280Z] 93b61091891f: Download complete [2021-05-25T16:30:55.280Z] 8ad3a11d3b57: Verifying Checksum [2021-05-25T16:30:55.280Z] 8ad3a11d3b57: Download complete [2021-05-25T16:30:55.280Z] df20fa9351a1: Pull complete [2021-05-25T16:30:55.542Z] 36b3adc4ff6f: Pull complete [2021-05-25T16:30:56.121Z] 8ad3a11d3b57: Pull complete [2021-05-25T16:30:56.383Z] 46f8f816bc3b: Pull complete [2021-05-25T16:30:56.652Z] 93b61091891f: Pull complete [2021-05-25T16:30:56.914Z] 93b9cdb0e59b: Pull complete [2021-05-25T16:30:56.914Z] 5e14af77c1be: Pull complete [2021-05-25T16:30:57.180Z] 01666e4c0597: Pull complete [2021-05-25T16:30:57.180Z] aa168da1d23b: Verifying Checksum [2021-05-25T16:30:57.180Z] aa168da1d23b: Download complete [2021-05-25T16:31:01.440Z] aa168da1d23b: Pull complete [2021-05-25T16:31:01.440Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-25T16:31:01.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-25T16:31:01.440Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-25T16:31:01.532Z] prd-centos7-docker-4c-2g-152 does not seem to be running inside a container [2021-05-25T16:31:01.571Z] $ 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-941/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-941 -v /w/workspace/dgexfoundry_device-sdk-go_PR-941:/w/workspace/dgexfoundry_device-sdk-go_PR-941:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-941@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-941@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 [2021-05-25T16:31:04.524Z] $ docker top f6a8382c82f83a9d950899dc788254ca929a03895154e773bf49d07db28cbfa7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T16:31:04.949Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-25T16:31:05.252Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-25T16:31:05.552Z] + ls /var/log/sa-host [2021-05-25T16:31:05.552Z] + sadf -c /var/log/sa-host/sa05 [2021-05-25T16:31:05.552Z] file_magic: OK [2021-05-25T16:31:05.552Z] HZ: Using current value: 100 [2021-05-25T16:31:05.552Z] file_header: OK [2021-05-25T16:31:05.552Z] 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 [2021-05-25T16:31:05.552Z] Statistics: [2021-05-25T16:31:05.552Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-25T16:31:05.552Z] File successfully converted to sysstat format version 12.2.1 [2021-05-25T16:31:05.552Z] + sadf -c /var/log/sa-host/sa25 [2021-05-25T16:31:05.552Z] file_magic: OK [2021-05-25T16:31:05.552Z] HZ: Using current value: 100 [2021-05-25T16:31:05.552Z] file_header: OK [2021-05-25T16:31:05.552Z] 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 [2021-05-25T16:31:05.552Z] Statistics: [2021-05-25T16:31:05.552Z] 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... [2021-05-25T16:31:05.552Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T16:31:06.072Z] provisioning config files... [2021-05-25T16:31:06.085Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-941@tmp/config1715235883167306639tmp [Pipeline] { [Pipeline] echo [2021-05-25T16:31:06.107Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T16:31:06.402Z] ---> create-netrc.sh [Pipeline] } [2021-05-25T16:31:06.412Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-25T16:31:06.448Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T16:31:06.746Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-25T16:31:06.755Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T16:31:07.054Z] ---> sudo-logs.sh [2021-05-25T16:31:07.054Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-25T16:31:07.087Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T16:31:07.387Z] ---> job-cost.sh [2021-05-25T16:31:07.387Z] lf-activate-venv: SKIPPING [2021-05-25T16:31:07.387Z] DEBUG: total: 0.18000000715255737 [2021-05-25T16:31:07.387Z] INFO: Retrieving Stack Cost... [2021-05-25T16:31:08.335Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-25T16:31:08.909Z] INFO: Archiving Costs [Pipeline] echo [2021-05-25T16:31:08.920Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T16:31:09.217Z] ---> logs-deploy.sh [2021-05-25T16:31:09.217Z] lf-activate-venv: SKIPPING [2021-05-25T16:31:09.217Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-941/2 [2021-05-25T16:31:09.217Z] INFO: archiving workspace using pattern(s): [2021-05-25T16:31:10.167Z] Archives upload complete. [2021-05-25T16:31:10.167Z] INFO: archiving logs to Nexus