Pull request #936 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 4457eeb11f4282b8d723e5d08eac7139e39d76df+a3df5a9219cebd743c534ea7ba05fe82cddb65a8 (dfe729e3abb74b15416e3ea3cde39e2be64b8bfd) 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-ssh670514650763530021.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-ssh4773253093246059956.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-936/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-936/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4321867543660671759.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-ssh844038701132480268.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-936/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-936/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7128469131360465832.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-15152 in /w/workspace/dgexfoundry_device-sdk-go_PR-936 [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-936 # 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-936@tmp/jenkins-gitclient-ssh3198291939578478559.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 > 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-936@tmp/jenkins-gitclient-ssh2592256701778024612.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/936/head:refs/remotes/origin/PR-936 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit a3df5a9219cebd743c534ea7ba05fe82cddb65a8 into PR head commit 4457eeb11f4282b8d723e5d08eac7139e39d76df Merge succeeded, producing 4457eeb11f4282b8d723e5d08eac7139e39d76df Checking out Revision 4457eeb11f4282b8d723e5d08eac7139e39d76df (PR-936) > git config core.sparsecheckout # timeout=10 > git checkout -f 4457eeb11f4282b8d723e5d08eac7139e39d76df # 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-936@tmp/jenkins-gitclient-ssh3761574225213182653.key > git merge a3df5a9219cebd743c534ea7ba05fe82cddb65a8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4457eeb11f4282b8d723e5d08eac7139e39d76df # timeout=10 Commit message: "refactor: Update to assign and uses new Port Assignments" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-19T23:26:30.594Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-19T23:26:30.693Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-19T23:26:30.722Z] ========================================================= [2021-05-19T23:26:30.722Z] EdgeX Global Pipelines Version Info [2021-05-19T23:26:30.722Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0139bd10e10db40eb89588db6f020ead38305881 # timeout=10 [2021-05-19T23:26:32.140Z] ------------------- [2021-05-19T23:26:32.140Z] stable info: [2021-05-19T23:26:32.140Z] ------------------- [2021-05-19T23:26:32.140Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-19T23:26:32.140Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-19T23:26:32.140Z] Message: update stable to v1.0.192 [2021-05-19T23:26:32.719Z] ------------------- [2021-05-19T23:26:32.719Z] experimental info: [2021-05-19T23:26:32.719Z] ------------------- [2021-05-19T23:26:32.719Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-19T23:26:32.719Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-19T23:26:32.719Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-19T23:26:32.884Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-19T23:26:32.909Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-19T23:26:32.933Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-19T23:26:32.956Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-19T23:26:32.980Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-19T23:26:33.004Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-19T23:26:33.027Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-19T23:26:33.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-19T23:26:33.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-19T23:26:33.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-19T23:26:33.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-19T23:26:33.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-19T23:26:33.172Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-19T23:26:33.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-19T23:26:33.219Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-19T23:26:33.243Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-19T23:26:33.265Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-19T23:26:33.289Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-19T23:26:33.312Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-19T23:26:33.336Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-19T23:26:33.360Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-19T23:26:33.384Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-19T23:26:33.408Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-19T23:26:33.431Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-19T23:26:33.456Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-19T23:26:33.483Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-19T23:26:33.540Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-936 [Pipeline] echo [2021-05-19T23:26:33.568Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-936 [Pipeline] echo [2021-05-19T23:26:33.592Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-936 [Pipeline] echo [2021-05-19T23:26:33.616Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4457eeb11f4282b8d723e5d08eac7139e39d76df [Pipeline] echo [2021-05-19T23:26:33.640Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4457eeb [Pipeline] echo [2021-05-19T23:26:33.664Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T23:26:33.741Z] provisioning config files... [2021-05-19T23:26:33.755Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp/config5154504913912088196tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-19T23:26:34.084Z] ---> docker-login.sh [2021-05-19T23:26:34.084Z] nexus3.edgexfoundry.org:10001 [2021-05-19T23:26:34.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T23:26:34.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T23:26:34.349Z] Configure a credential helper to remove this warning. See [2021-05-19T23:26:34.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T23:26:34.349Z] [2021-05-19T23:26:34.349Z] Login Succeeded [2021-05-19T23:26:34.349Z] nexus3.edgexfoundry.org:10002 [2021-05-19T23:26:34.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T23:26:34.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T23:26:34.349Z] Configure a credential helper to remove this warning. See [2021-05-19T23:26:34.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T23:26:34.349Z] [2021-05-19T23:26:34.349Z] Login Succeeded [2021-05-19T23:26:34.349Z] nexus3.edgexfoundry.org:10003 [2021-05-19T23:26:34.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T23:26:34.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T23:26:34.610Z] Configure a credential helper to remove this warning. See [2021-05-19T23:26:34.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T23:26:34.610Z] [2021-05-19T23:26:34.610Z] Login Succeeded [2021-05-19T23:26:34.610Z] nexus3.edgexfoundry.org:10004 [2021-05-19T23:26:34.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T23:26:34.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T23:26:34.610Z] Configure a credential helper to remove this warning. See [2021-05-19T23:26:34.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T23:26:34.610Z] [2021-05-19T23:26:34.610Z] Login Succeeded [2021-05-19T23:26:34.610Z] docker.io [2021-05-19T23:26:34.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T23:26:35.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T23:26:35.133Z] Configure a credential helper to remove this warning. See [2021-05-19T23:26:35.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T23:26:35.133Z] [2021-05-19T23:26:35.133Z] Login Succeeded [2021-05-19T23:26:35.133Z] ---> docker-login.sh ends [Pipeline] } [2021-05-19T23:26:35.142Z] 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-19T23:26:35.642Z] + git log --format=format:%s -1 4457eeb11f4282b8d723e5d08eac7139e39d76df [Pipeline] echo [2021-05-19T23:26:35.678Z] GIT_COMMIT: 4457eeb11f4282b8d723e5d08eac7139e39d76df, Commit Message: refactor: Update to assign and uses new Port Assignments [Pipeline] echo [2021-05-19T23:26:35.691Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-19T23:26:36.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-19T23:26:36.290Z] [2021-05-19T23:26:36.290Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-19T23:26:36.604Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-19T23:26:36.604Z] latest: Pulling from edgex-devops/git-semver [2021-05-19T23:26:36.604Z] 31603596830f: Pulling fs layer [2021-05-19T23:26:36.604Z] 54011a49482f: Pulling fs layer [2021-05-19T23:26:36.604Z] a6820b24f6d8: Pulling fs layer [2021-05-19T23:26:36.604Z] f581987b2513: Pulling fs layer [2021-05-19T23:26:36.604Z] f581987b2513: Waiting [2021-05-19T23:26:36.604Z] 54011a49482f: Verifying Checksum [2021-05-19T23:26:36.604Z] 54011a49482f: Download complete [2021-05-19T23:26:36.870Z] 31603596830f: Verifying Checksum [2021-05-19T23:26:36.870Z] 31603596830f: Download complete [2021-05-19T23:26:36.870Z] a6820b24f6d8: Verifying Checksum [2021-05-19T23:26:36.870Z] a6820b24f6d8: Download complete [2021-05-19T23:26:36.870Z] f581987b2513: Verifying Checksum [2021-05-19T23:26:36.870Z] f581987b2513: Download complete [2021-05-19T23:26:36.870Z] 31603596830f: Pull complete [2021-05-19T23:26:37.135Z] 54011a49482f: Pull complete [2021-05-19T23:26:37.710Z] a6820b24f6d8: Pull complete [2021-05-19T23:26:37.710Z] f581987b2513: Pull complete [2021-05-19T23:26:37.710Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-19T23:26:37.710Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-19T23:26:37.710Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-19T23:26:37.785Z] prd-centos7-docker-4c-2g-15152 does not seem to be running inside a container [2021-05-19T23:26:37.827Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-936 -v /w/workspace/dgexfoundry_device-sdk-go_PR-936:/w/workspace/dgexfoundry_device-sdk-go_PR-936:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-19T23:26:38.845Z] $ docker top e35439857fddebb502174a8b46c30eb553832181a64dc8aa600d9e5dac0940bf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-19T23:26:38.983Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-19T23:26:38.983Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-19T23:26:39.093Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-19T23:26:39.099Z] $ docker exec e35439857fddebb502174a8b46c30eb553832181a64dc8aa600d9e5dac0940bf ssh-agent [2021-05-19T23:26:39.197Z] SSH_AUTH_SOCK=/tmp/ssh-BE4IFman37Yw/agent.14 [2021-05-19T23:26:39.197Z] SSH_AGENT_PID=20 [2021-05-19T23:26:39.206Z] Running ssh-add (command line suppressed) [2021-05-19T23:26:39.304Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp/private_key_1058367873890012486.key (/w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp/private_key_1058367873890012486.key) [2021-05-19T23:26:39.317Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-19T23:26:39.622Z] + git tag --points-at HEAD [Pipeline] } [2021-05-19T23:26:39.639Z] $ docker exec --env ******** --env ******** e35439857fddebb502174a8b46c30eb553832181a64dc8aa600d9e5dac0940bf ssh-agent -k [2021-05-19T23:26:39.728Z] unset SSH_AUTH_SOCK; [2021-05-19T23:26:39.729Z] unset SSH_AGENT_PID; [2021-05-19T23:26:39.729Z] echo Agent pid 20 killed; [2021-05-19T23:26:39.736Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-19T23:26:39.785Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-19T23:26:39.785Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-19T23:26:39.898Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-19T23:26:39.903Z] $ docker exec e35439857fddebb502174a8b46c30eb553832181a64dc8aa600d9e5dac0940bf ssh-agent [2021-05-19T23:26:40.002Z] SSH_AUTH_SOCK=/tmp/ssh-exIAKO1X6KDS/agent.56 [2021-05-19T23:26:40.002Z] SSH_AGENT_PID=62 [2021-05-19T23:26:40.008Z] Running ssh-add (command line suppressed) [2021-05-19T23:26:40.111Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp/private_key_7073826403906111664.key (/w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp/private_key_7073826403906111664.key) [2021-05-19T23:26:40.123Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-19T23:26:40.423Z] + git semver init [2021-05-19T23:26:40.424Z] # -> Open(): unable to determine branch for HEAD [2021-05-19T23:26:40.424Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-936/.git [2021-05-19T23:26:40.424Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-936 [2021-05-19T23:26:40.424Z] # $SEMVER_REMOTE_NAME = origin [2021-05-19T23:26:40.424Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-19T23:26:40.424Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-19T23:26:40.424Z] # $SEMVER_BRANCH = PR-936 [2021-05-19T23:26:40.424Z] # $SEMVER_TEMP = /tmp/semver-863996553 [2021-05-19T23:26:40.424Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-19T23:26:41.005Z] # '/tmp/semver-863996553' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-936/.semver' [2021-05-19T23:26:41.005Z] # -> Force: false [2021-05-19T23:26:41.005Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-936/.semver [Pipeline] } [2021-05-19T23:26:41.023Z] $ docker exec --env ******** --env ******** e35439857fddebb502174a8b46c30eb553832181a64dc8aa600d9e5dac0940bf ssh-agent -k [2021-05-19T23:26:41.131Z] unset SSH_AUTH_SOCK; [2021-05-19T23:26:41.131Z] unset SSH_AGENT_PID; [2021-05-19T23:26:41.131Z] echo Agent pid 62 killed; [2021-05-19T23:26:41.141Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-19T23:26:41.474Z] + git semver [Pipeline] } [2021-05-19T23:26:41.490Z] $ docker stop --time=1 e35439857fddebb502174a8b46c30eb553832181a64dc8aa600d9e5dac0940bf [2021-05-19T23:26:42.776Z] $ docker rm -f e35439857fddebb502174a8b46c30eb553832181a64dc8aa600d9e5dac0940bf [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-19T23:26:43.139Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-19T23:26:43.393Z] Stashed 1 file(s) [Pipeline] echo [2021-05-19T23:26:43.397Z] [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-19T23:26:58.671Z] Still waiting to schedule task [2021-05-19T23:26:58.671Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-19T23:26:58.674Z] Still waiting to schedule task [2021-05-19T23:26:58.674Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-15150’ is offline [2021-05-19T23:28:52.135Z] Running on prd-centos7-docker-4c-2g-15154 in /w/workspace/dgexfoundry_device-sdk-go_PR-936 [Pipeline] { [Pipeline] ws [2021-05-19T23:28:52.156Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-05-19T23:28:52.310Z] Selected Git installation does not exist. Using Default [2021-05-19T23:28:52.310Z] The recommended git tool is: NONE [2021-05-19T23:28:54.765Z] using credential edgex-jenkins-ssh [2021-05-19T23:28:54.778Z] Cloning the remote Git repository [2021-05-19T23:28:54.800Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T23:28:54.872Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-05-19T23:28:54.906Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T23:28:54.906Z] > git --version # timeout=10 [2021-05-19T23:28:54.916Z] > git --version # 'git version 2.24.4' [2021-05-19T23:28:54.916Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T23:28:54.942Z] [INFO] Currently running in a labeled security context [2021-05-19T23:28:54.942Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-19T23:28:54.942Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh8619766234244991877.key [2021-05-19T23:28:54.964Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T23:28:55.722Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-19T23:28:55.733Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T23:28:55.743Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-19T23:28:55.758Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T23:28:55.758Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T23:28:55.759Z] [INFO] Currently running in a labeled security context [2021-05-19T23:28:55.759Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-19T23:28:55.759Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh5343101155439754867.key [2021-05-19T23:28:56.271Z] Merging remotes/origin/master commit a3df5a9219cebd743c534ea7ba05fe82cddb65a8 into PR head commit 4457eeb11f4282b8d723e5d08eac7139e39d76df [2021-05-19T23:28:56.386Z] Merge succeeded, producing 4457eeb11f4282b8d723e5d08eac7139e39d76df [2021-05-19T23:28:56.387Z] Checking out Revision 4457eeb11f4282b8d723e5d08eac7139e39d76df (PR-936) [2021-05-19T23:28:55.774Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/936/head:refs/remotes/origin/PR-936 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-19T23:28:56.278Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T23:28:56.287Z] > git checkout -f 4457eeb11f4282b8d723e5d08eac7139e39d76df # timeout=10 [2021-05-19T23:28:56.329Z] > git remote # timeout=10 [2021-05-19T23:28:56.336Z] > git config --get remote.origin.url # timeout=10 [2021-05-19T23:28:56.343Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T23:28:56.344Z] [INFO] Currently running in a labeled security context [2021-05-19T23:28:56.344Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-19T23:28:56.344Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh5852855681198442719.key [2021-05-19T23:28:56.357Z] > git merge a3df5a9219cebd743c534ea7ba05fe82cddb65a8 # timeout=10 [2021-05-19T23:28:56.375Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-19T23:28:56.390Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T23:28:56.397Z] > git checkout -f 4457eeb11f4282b8d723e5d08eac7139e39d76df # timeout=10 [2021-05-19T23:28:59.198Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15153 in /w/workspace/dgexfoundry_device-sdk-go_PR-936 [Pipeline] { [Pipeline] ws [2021-05-19T23:28:59.219Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-05-19T23:28:59.430Z] Selected Git installation does not exist. Using Default [2021-05-19T23:28:59.431Z] The recommended git tool is: NONE [2021-05-19T23:28:59.972Z] Commit message: "refactor: Update to assign and uses new Port Assignments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-19T23:29:01.170Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-19T23:29:01.542Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-19T23:29:01.857Z] + sudo service docker restart [2021-05-19T23:29:01.857Z] + true [2021-05-19T23:29:01.857Z] Redirecting to /bin/systemctl restart docker.service [2021-05-19T23:29:05.224Z] using credential edgex-jenkins-ssh [2021-05-19T23:29:05.273Z] Cloning the remote Git repository [2021-05-19T23:29:05.346Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T23:29:05.456Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-05-19T23:29:05.574Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T23:29:05.575Z] > git --version # timeout=10 [2021-05-19T23:29:05.593Z] > git --version # 'git version 2.17.1' [2021-05-19T23:29:05.595Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T23:29:05.667Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T23:29:07.613Z] Merging remotes/origin/master commit a3df5a9219cebd743c534ea7ba05fe82cddb65a8 into PR head commit 4457eeb11f4282b8d723e5d08eac7139e39d76df [2021-05-19T23:29:07.842Z] Merge succeeded, producing 4457eeb11f4282b8d723e5d08eac7139e39d76df [2021-05-19T23:29:07.843Z] Checking out Revision 4457eeb11f4282b8d723e5d08eac7139e39d76df (PR-936) [2021-05-19T23:29:06.871Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-19T23:29:06.889Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T23:29:06.916Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-19T23:29:06.965Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T23:29:06.966Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T23:29:06.980Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/936/head:refs/remotes/origin/PR-936 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-19T23:29:07.638Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T23:29:07.655Z] > git checkout -f 4457eeb11f4282b8d723e5d08eac7139e39d76df # timeout=10 [2021-05-19T23:29:07.756Z] > git remote # timeout=10 [2021-05-19T23:29:07.776Z] > git config --get remote.origin.url # timeout=10 [2021-05-19T23:29:07.792Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T23:29:07.803Z] > git merge a3df5a9219cebd743c534ea7ba05fe82cddb65a8 # timeout=10 [2021-05-19T23:29:07.827Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-19T23:29:07.859Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T23:29:07.877Z] > git checkout -f 4457eeb11f4282b8d723e5d08eac7139e39d76df # timeout=10 [2021-05-19T23:29:12.151Z] Commit message: "refactor: Update to assign and uses new Port Assignments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-19T23:29:13.518Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-19T23:29:13.949Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-19T23:29:14.289Z] + + true [2021-05-19T23:29:14.289Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T23:29:20.044Z] provisioning config files... [2021-05-19T23:29:20.061Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4146759297557522149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-19T23:29:20.392Z] ---> docker-login.sh [2021-05-19T23:29:20.392Z] nexus3.edgexfoundry.org:10001 [2021-05-19T23:29:20.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T23:29:20.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T23:29:20.968Z] Configure a credential helper to remove this warning. See [2021-05-19T23:29:20.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T23:29:20.968Z] [2021-05-19T23:29:20.968Z] Login Succeeded [2021-05-19T23:29:20.968Z] nexus3.edgexfoundry.org:10002 [2021-05-19T23:29:21.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T23:29:21.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T23:29:21.234Z] Configure a credential helper to remove this warning. See [2021-05-19T23:29:21.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T23:29:21.234Z] [2021-05-19T23:29:21.234Z] Login Succeeded [2021-05-19T23:29:21.234Z] nexus3.edgexfoundry.org:10003 [2021-05-19T23:29:21.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T23:29:21.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T23:29:21.500Z] Configure a credential helper to remove this warning. See [2021-05-19T23:29:21.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T23:29:21.500Z] [2021-05-19T23:29:21.500Z] Login Succeeded [2021-05-19T23:29:21.500Z] nexus3.edgexfoundry.org:10004 [2021-05-19T23:29:21.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T23:29:21.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T23:29:21.500Z] Configure a credential helper to remove this warning. See [2021-05-19T23:29:21.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T23:29:21.500Z] [2021-05-19T23:29:21.500Z] Login Succeeded [2021-05-19T23:29:21.500Z] docker.io [2021-05-19T23:29:21.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T23:29:22.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T23:29:22.031Z] Configure a credential helper to remove this warning. See [2021-05-19T23:29:22.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T23:29:22.031Z] [2021-05-19T23:29:22.031Z] Login Succeeded [2021-05-19T23:29:22.031Z] ---> docker-login.sh ends [Pipeline] } [2021-05-19T23:29:22.041Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-19T23:29:22.227Z] ========================================================= [2021-05-19T23:29:22.227Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-19T23:29:22.227Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-19T23:29:22.543Z] + 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-19T23:29:22.543Z] Sending build context to Docker daemon 2.6MB [2021-05-19T23:29:22.543Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T23:29:22.543Z] Step 2/8 : FROM ${BASE} [2021-05-19T23:29:22.813Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-19T23:29:22.813Z] 540db60ca938: Pulling fs layer [2021-05-19T23:29:22.813Z] adcc1eea9eea: Pulling fs layer [2021-05-19T23:29:22.813Z] 4c4ab2625f07: Pulling fs layer [2021-05-19T23:29:22.813Z] 0510c868ecb4: Pulling fs layer [2021-05-19T23:29:22.813Z] afea3b2eda06: Pulling fs layer [2021-05-19T23:29:22.813Z] 7809a108b3ef: Pulling fs layer [2021-05-19T23:29:22.813Z] f706445af74f: Pulling fs layer [2021-05-19T23:29:22.813Z] 0510c868ecb4: Waiting [2021-05-19T23:29:22.813Z] afea3b2eda06: Waiting [2021-05-19T23:29:22.813Z] 7809a108b3ef: Waiting [2021-05-19T23:29:22.813Z] f706445af74f: Waiting [2021-05-19T23:29:22.813Z] 4c4ab2625f07: Verifying Checksum [2021-05-19T23:29:22.813Z] 4c4ab2625f07: Download complete [2021-05-19T23:29:22.813Z] adcc1eea9eea: Verifying Checksum [2021-05-19T23:29:22.813Z] adcc1eea9eea: Download complete [2021-05-19T23:29:22.813Z] afea3b2eda06: Verifying Checksum [2021-05-19T23:29:22.813Z] afea3b2eda06: Download complete [2021-05-19T23:29:22.813Z] 540db60ca938: Verifying Checksum [2021-05-19T23:29:22.813Z] 540db60ca938: Download complete [2021-05-19T23:29:22.813Z] 7809a108b3ef: Verifying Checksum [2021-05-19T23:29:22.813Z] 7809a108b3ef: Download complete [2021-05-19T23:29:23.083Z] 540db60ca938: Pull complete [2021-05-19T23:29:23.346Z] adcc1eea9eea: Pull complete [2021-05-19T23:29:23.346Z] 4c4ab2625f07: Pull complete [2021-05-19T23:29:25.272Z] f706445af74f: Verifying Checksum [2021-05-19T23:29:25.272Z] f706445af74f: Download complete [2021-05-19T23:29:25.272Z] 0510c868ecb4: Verifying Checksum [2021-05-19T23:29:25.272Z] 0510c868ecb4: Download complete [2021-05-19T23:29:29.519Z] 0510c868ecb4: Pull complete [2021-05-19T23:29:29.519Z] afea3b2eda06: Pull complete [2021-05-19T23:29:29.519Z] 7809a108b3ef: Pull complete [2021-05-19T23:29:30.923Z] f706445af74f: Pull complete [2021-05-19T23:29:30.923Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-19T23:29:30.923Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-19T23:29:30.923Z] ---> b068be0155e3 [2021-05-19T23:29:30.923Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T23:29:32.673Z] provisioning config files... [2021-05-19T23:29:32.704Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config6612500743268619967tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-19T23:29:33.081Z] ---> docker-login.sh [2021-05-19T23:29:33.081Z] nexus3.edgexfoundry.org:10001 [2021-05-19T23:29:34.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T23:29:34.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T23:29:34.343Z] Configure a credential helper to remove this warning. See [2021-05-19T23:29:34.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T23:29:34.343Z] [2021-05-19T23:29:34.343Z] Login Succeeded [2021-05-19T23:29:34.343Z] nexus3.edgexfoundry.org:10002 [2021-05-19T23:29:34.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T23:29:34.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T23:29:34.893Z] Configure a credential helper to remove this warning. See [2021-05-19T23:29:34.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T23:29:34.893Z] [2021-05-19T23:29:34.893Z] Login Succeeded [2021-05-19T23:29:34.893Z] nexus3.edgexfoundry.org:10003 [2021-05-19T23:29:35.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T23:29:35.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T23:29:35.474Z] Configure a credential helper to remove this warning. See [2021-05-19T23:29:35.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T23:29:35.474Z] [2021-05-19T23:29:35.474Z] Login Succeeded [2021-05-19T23:29:35.474Z] nexus3.edgexfoundry.org:10004 [2021-05-19T23:29:35.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T23:29:36.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T23:29:36.024Z] Configure a credential helper to remove this warning. See [2021-05-19T23:29:36.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T23:29:36.024Z] [2021-05-19T23:29:36.024Z] Login Succeeded [2021-05-19T23:29:36.024Z] docker.io [2021-05-19T23:29:36.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T23:29:36.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T23:29:36.571Z] Configure a credential helper to remove this warning. See [2021-05-19T23:29:36.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T23:29:36.571Z] [2021-05-19T23:29:36.571Z] Login Succeeded [2021-05-19T23:29:36.571Z] ---> docker-login.sh ends [Pipeline] } [2021-05-19T23:29:36.591Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-19T23:29:36.915Z] ========================================================= [2021-05-19T23:29:36.915Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-19T23:29:36.915Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-19T23:29:37.263Z] + 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-19T23:29:37.869Z] Sending build context to Docker daemon 2.599MB [2021-05-19T23:29:37.869Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T23:29:37.869Z] Step 2/8 : FROM ${BASE} [2021-05-19T23:29:38.152Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-19T23:29:38.152Z] 595b0fe564bb: Pulling fs layer [2021-05-19T23:29:38.152Z] 7186ed65a4f7: Pulling fs layer [2021-05-19T23:29:38.152Z] 316046926c0a: Pulling fs layer [2021-05-19T23:29:38.152Z] 4ebd0625c992: Pulling fs layer [2021-05-19T23:29:38.152Z] 207e8628e3a3: Pulling fs layer [2021-05-19T23:29:38.152Z] c791037a9be2: Pulling fs layer [2021-05-19T23:29:38.152Z] ffd874e62e21: Pulling fs layer [2021-05-19T23:29:38.152Z] 207e8628e3a3: Waiting [2021-05-19T23:29:38.152Z] c791037a9be2: Waiting [2021-05-19T23:29:38.152Z] ffd874e62e21: Waiting [2021-05-19T23:29:38.152Z] 4ebd0625c992: Waiting [2021-05-19T23:29:38.152Z] 316046926c0a: Verifying Checksum [2021-05-19T23:29:38.152Z] 316046926c0a: Download complete [2021-05-19T23:29:38.152Z] 7186ed65a4f7: Verifying Checksum [2021-05-19T23:29:38.152Z] 7186ed65a4f7: Download complete [2021-05-19T23:29:38.152Z] 207e8628e3a3: Verifying Checksum [2021-05-19T23:29:38.152Z] 207e8628e3a3: Download complete [2021-05-19T23:29:38.152Z] c791037a9be2: Verifying Checksum [2021-05-19T23:29:38.152Z] c791037a9be2: Download complete [2021-05-19T23:29:38.152Z] 595b0fe564bb: Verifying Checksum [2021-05-19T23:29:38.152Z] 595b0fe564bb: Download complete [2021-05-19T23:29:38.760Z] 595b0fe564bb: Pull complete [2021-05-19T23:29:39.369Z] 7186ed65a4f7: Pull complete [2021-05-19T23:29:39.985Z] 316046926c0a: Pull complete [2021-05-19T23:29:40.587Z] ffd874e62e21: Verifying Checksum [2021-05-19T23:29:40.587Z] ffd874e62e21: Download complete [2021-05-19T23:29:41.580Z] 4ebd0625c992: Verifying Checksum [2021-05-19T23:29:41.580Z] 4ebd0625c992: Download complete [2021-05-19T23:29:45.854Z] ---> Running in d1c93a9fa901 [2021-05-19T23:29:45.854Z] Removing intermediate container d1c93a9fa901 [2021-05-19T23:29:45.854Z] ---> ed3c88ef619b [2021-05-19T23:29:45.854Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T23:29:45.854Z] ---> Running in 5c2c1ef48d77 [2021-05-19T23:29:45.854Z] Removing intermediate container 5c2c1ef48d77 [2021-05-19T23:29:45.854Z] ---> 196cadf2f9f6 [2021-05-19T23:29:45.854Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-19T23:29:45.854Z] ---> Running in 7539229ca693 [2021-05-19T23:29:45.854Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-19T23:29:46.118Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-19T23:29:46.380Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-19T23:29:46.380Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-19T23:29:46.642Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-19T23:29:46.642Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-19T23:29:46.642Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-19T23:29:46.909Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-19T23:29:46.909Z] Executing busybox-1.32.1-r6.trigger [2021-05-19T23:29:46.909Z] OK: 150 MiB in 46 packages [2021-05-19T23:29:47.483Z] Removing intermediate container 7539229ca693 [2021-05-19T23:29:47.483Z] ---> 7b6ba5e180c0 [2021-05-19T23:29:47.483Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-19T23:29:47.483Z] ---> Running in 96d9c6fccc0d [2021-05-19T23:29:47.483Z] Removing intermediate container 96d9c6fccc0d [2021-05-19T23:29:47.483Z] ---> 97e2a66af28f [2021-05-19T23:29:47.483Z] Step 7/8 : COPY . . [2021-05-19T23:29:48.053Z] ---> 58baf5cd1d2f [2021-05-19T23:29:48.053Z] Step 8/8 : RUN go mod download [2021-05-19T23:29:48.053Z] ---> Running in 10f70c5ed8ed [2021-05-19T23:29:51.776Z] 4ebd0625c992: Pull complete [2021-05-19T23:29:52.057Z] 207e8628e3a3: Pull complete [2021-05-19T23:29:52.333Z] c791037a9be2: Pull complete [2021-05-19T23:29:55.748Z] ffd874e62e21: Pull complete [2021-05-19T23:29:55.748Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-19T23:29:55.748Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-19T23:29:55.748Z] ---> cfc18b08335c [2021-05-19T23:29:55.748Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T23:29:57.775Z] ---> Running in 8369955d6b14 [2021-05-19T23:29:58.409Z] Removing intermediate container 8369955d6b14 [2021-05-19T23:29:58.409Z] ---> 4fbfdda7b286 [2021-05-19T23:29:58.409Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T23:29:58.409Z] ---> Running in 86a6f94c0ea5 [2021-05-19T23:30:01.053Z] Removing intermediate container 86a6f94c0ea5 [2021-05-19T23:30:01.053Z] ---> fc8a72835399 [2021-05-19T23:30:01.053Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-19T23:30:01.053Z] ---> Running in 6cc770d2ade5 [2021-05-19T23:30:02.496Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-19T23:30:03.487Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-19T23:30:04.085Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-19T23:30:04.085Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-19T23:30:04.361Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-19T23:30:04.361Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-19T23:30:04.361Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-19T23:30:04.633Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-19T23:30:04.633Z] Executing busybox-1.32.1-r6.trigger [2021-05-19T23:30:04.633Z] OK: 139 MiB in 46 packages [2021-05-19T23:30:06.080Z] Removing intermediate container 6cc770d2ade5 [2021-05-19T23:30:06.080Z] ---> 01ecc0248390 [2021-05-19T23:30:06.080Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-19T23:30:06.080Z] ---> Running in 7d829c36595a [2021-05-19T23:30:06.681Z] Removing intermediate container 7d829c36595a [2021-05-19T23:30:06.681Z] ---> c37965e8a408 [2021-05-19T23:30:06.681Z] Step 7/8 : COPY . . [2021-05-19T23:30:08.121Z] ---> b95ff6f22a08 [2021-05-19T23:30:08.121Z] Step 8/8 : RUN go mod download [2021-05-19T23:30:08.121Z] ---> Running in ce5f8dada76d [2021-05-19T23:30:10.062Z] Removing intermediate container 10f70c5ed8ed [2021-05-19T23:30:10.062Z] ---> 2f26858835dd [2021-05-19T23:30:10.062Z] Successfully built 2f26858835dd [2021-05-19T23:30:10.062Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-19T23:30:10.384Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-19T23:30:10.384Z] . [Pipeline] withDockerContainer [2021-05-19T23:30:10.483Z] prd-centos7-docker-4c-2g-15154 does not seem to be running inside a container [2021-05-19T23:30:10.545Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-19T23:30:11.292Z] $ docker top 7c96beb2f92c0c1327395e9cdd8fb4b6964fed1c9a8423344f1ddc7bb2ab3a31 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T23:30:11.693Z] + go version [2021-05-19T23:30:11.693Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-19T23:30:11.706Z] $ docker stop --time=1 7c96beb2f92c0c1327395e9cdd8fb4b6964fed1c9a8423344f1ddc7bb2ab3a31 [2021-05-19T23:30:12.918Z] $ docker rm -f 7c96beb2f92c0c1327395e9cdd8fb4b6964fed1c9a8423344f1ddc7bb2ab3a31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-19T23:30:13.468Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-19T23:30:13.468Z] . [Pipeline] withDockerContainer [2021-05-19T23:30:13.553Z] prd-centos7-docker-4c-2g-15154 does not seem to be running inside a container [2021-05-19T23:30:13.599Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-19T23:30:14.217Z] $ docker top 761aa5a7c38be4034141d9d467f591235e349d46296d57a4082566296f58b7af -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T23:30:14.630Z] + go mod tidy [Pipeline] sh [2021-05-19T23:30:15.193Z] + make test [2021-05-19T23:30:15.193Z] go mod tidy [2021-05-19T23:30:15.466Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-19T23:30:20.858Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-19T23:30:34.944Z] Removing intermediate container ce5f8dada76d [2021-05-19T23:30:34.944Z] ---> 8ce0a624d22c [2021-05-19T23:30:34.944Z] Successfully built 8ce0a624d22c [2021-05-19T23:30:34.944Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-19T23:30:35.301Z] + docker inspect -f . ci-base-image-arm64 [2021-05-19T23:30:35.301Z] . [Pipeline] withDockerContainer [2021-05-19T23:30:35.563Z] prd-ubuntu18.04-docker-arm64-4c-16g-15153 does not seem to be running inside a container [2021-05-19T23:30:35.660Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-19T23:30:37.233Z] $ docker top 1206d15d70869602c9468c05057e8a98a5bd4ec893728186b31d6df1e012bd38 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T23:30:38.182Z] + go version [2021-05-19T23:30:38.182Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-19T23:30:38.210Z] $ docker stop --time=1 1206d15d70869602c9468c05057e8a98a5bd4ec893728186b31d6df1e012bd38 [2021-05-19T23:30:40.085Z] $ docker rm -f 1206d15d70869602c9468c05057e8a98a5bd4ec893728186b31d6df1e012bd38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-19T23:30:40.895Z] + docker inspect -f . ci-base-image-arm64 [2021-05-19T23:30:40.895Z] . [Pipeline] withDockerContainer [2021-05-19T23:30:41.160Z] prd-ubuntu18.04-docker-arm64-4c-16g-15153 does not seem to be running inside a container [2021-05-19T23:30:41.246Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-19T23:30:42.881Z] $ docker top 7492006ff3a0989f0a85602315376f9d0f0da713fbee74a021e7444bd584516e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T23:30:43.869Z] + go mod tidy [Pipeline] sh [2021-05-19T23:30:45.135Z] + make test [2021-05-19T23:30:45.135Z] go mod tidy [2021-05-19T23:30:45.731Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-19T23:30:47.589Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-19T23:30:47.590Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-19T23:30:47.590Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-19T23:30:48.593Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.058s coverage: 25.4% of statements [2021-05-19T23:30:48.593Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-19T23:30:48.593Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 28.1% of statements [2021-05-19T23:30:49.559Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.057s coverage: 78.9% of statements [2021-05-19T23:30:50.507Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.050s coverage: 10.7% of statements [2021-05-19T23:30:50.507Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-19T23:30:50.507Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-19T23:30:50.507Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-19T23:30:50.507Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.068s coverage: 30.2% of statements [2021-05-19T23:30:50.507Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-19T23:30:52.434Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.053s coverage: 83.3% of statements [2021-05-19T23:30:52.434Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-19T23:30:52.434Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-19T23:30:52.434Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 58.0% of statements [2021-05-19T23:30:53.022Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.847s coverage: 89.2% of statements [2021-05-19T23:30:53.022Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-19T23:30:53.022Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.0% of statements [2021-05-19T23:30:53.022Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-19T23:30:53.022Z] GO111MODULE=on go vet ./... [2021-05-19T23:31:07.918Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-19T23:31:15.106Z] gofmt -l . [2021-05-19T23:31:15.106Z] [ "`gofmt -l .`" = "" ] [2021-05-19T23:31:15.106Z] ./bin/test-attribution-txt.sh [2021-05-19T23:31:15.106Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-19T23:31:15.119Z] $ docker stop --time=1 761aa5a7c38be4034141d9d467f591235e349d46296d57a4082566296f58b7af [2021-05-19T23:31:17.361Z] $ docker rm -f 761aa5a7c38be4034141d9d467f591235e349d46296d57a4082566296f58b7af [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-19T23:31:17.874Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-19T23:31:18.094Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-19T23:31:20.728Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-19T23:31:21.025Z] + ls -al . [2021-05-19T23:31:21.025Z] total 212 [2021-05-19T23:31:21.025Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 19 23:31 . [2021-05-19T23:31:21.025Z] drwxrwxr-x. 4 jenkins jenkins 28 May 19 23:28 .. [2021-05-19T23:31:21.025Z] drwxrwxr-x. 2 jenkins jenkins 64 May 19 23:28 bin [2021-05-19T23:31:21.025Z] -rw-r--r--. 1 jenkins jenkins 126187 May 19 23:30 coverage.out [2021-05-19T23:31:21.025Z] -rw-rw-r--. 1 jenkins jenkins 987 May 19 23:28 Dockerfile.build [2021-05-19T23:31:21.025Z] -rw-rw-r--. 1 jenkins jenkins 140 May 19 23:28 .dockerignore [2021-05-19T23:31:21.025Z] drwxrwxr-x. 5 jenkins jenkins 62 May 19 23:28 example [2021-05-19T23:31:21.025Z] drwxrwxr-x. 8 jenkins jenkins 179 May 19 23:28 .git [2021-05-19T23:31:21.025Z] drwxrwxr-x. 2 jenkins jenkins 103 May 19 23:28 .github [2021-05-19T23:31:21.025Z] -rw-rw-r--. 1 jenkins jenkins 138 May 19 23:28 .gitignore [2021-05-19T23:31:21.025Z] -rw-r--r--. 1 jenkins jenkins 575 May 19 23:31 go.mod [2021-05-19T23:31:21.025Z] -rw-r--r--. 1 jenkins jenkins 20803 May 19 23:30 go.sum [2021-05-19T23:31:21.025Z] drwxrwxr-x. 15 jenkins jenkins 224 May 19 23:28 internal [2021-05-19T23:31:21.025Z] -rw-rw-r--. 1 jenkins jenkins 894 May 19 23:28 Jenkinsfile [2021-05-19T23:31:21.025Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 19 23:28 LICENSE [2021-05-19T23:31:21.025Z] -rw-rw-r--. 1 jenkins jenkins 1026 May 19 23:28 Makefile [2021-05-19T23:31:21.025Z] drwxrwxr-x. 4 jenkins jenkins 26 May 19 23:28 openapi [2021-05-19T23:31:21.025Z] drwxrwxr-x. 5 jenkins jenkins 50 May 19 23:28 pkg [2021-05-19T23:31:21.025Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 19 23:28 README.md [2021-05-19T23:31:21.025Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 19 23:28 RELEASE-NOTES.txt [2021-05-19T23:31:21.025Z] drwxrwxr-x. 4 jenkins jenkins 54 May 19 23:28 snap [2021-05-19T23:31:21.025Z] -rw-rw-r--. 1 jenkins jenkins 5 May 19 23:26 VERSION [2021-05-19T23:31:21.025Z] -rw-rw-r--. 1 jenkins jenkins 222 May 19 23:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-19T23:31:21.349Z] + 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=4457eeb11f4282b8d723e5d08eac7139e39d76df --label arch=amd64 --label version=0.0.0 . [2021-05-19T23:31:21.349Z] Sending build context to Docker daemon 2.727MB [2021-05-19T23:31:21.614Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T23:31:21.614Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-19T23:31:21.614Z] ---> 2f26858835dd [2021-05-19T23:31:21.614Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-19T23:31:21.879Z] ---> Running in 7d1543cfeba5 [2021-05-19T23:31:21.879Z] Removing intermediate container 7d1543cfeba5 [2021-05-19T23:31:21.879Z] ---> 14351f425e15 [2021-05-19T23:31:21.879Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T23:31:21.879Z] ---> Running in 4b736527b9c9 [2021-05-19T23:31:22.151Z] Removing intermediate container 4b736527b9c9 [2021-05-19T23:31:22.151Z] ---> 4ec388144668 [2021-05-19T23:31:22.151Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T23:31:22.151Z] ---> Running in 8a072826b3a0 [2021-05-19T23:31:23.098Z] Removing intermediate container 8a072826b3a0 [2021-05-19T23:31:23.098Z] ---> a5fc0b0f5ae6 [2021-05-19T23:31:23.098Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-19T23:31:23.098Z] ---> Running in 85b36b651e65 [2021-05-19T23:31:23.679Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-19T23:31:24.252Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-19T23:31:24.828Z] OK: 150 MiB in 46 packages [2021-05-19T23:31:25.089Z] Removing intermediate container 85b36b651e65 [2021-05-19T23:31:25.089Z] ---> 3e4805121852 [2021-05-19T23:31:25.089Z] Step 7/23 : COPY . . [2021-05-19T23:31:25.662Z] ---> abeba3f62544 [2021-05-19T23:31:25.663Z] Step 8/23 : RUN go mod download [2021-05-19T23:31:25.663Z] ---> Running in 1126dc14d2a9 [2021-05-19T23:31:26.238Z] Removing intermediate container 1126dc14d2a9 [2021-05-19T23:31:26.238Z] ---> db2551272813 [2021-05-19T23:31:26.238Z] Step 9/23 : RUN make build [2021-05-19T23:31:26.500Z] ---> Running in a864c60fb812 [2021-05-19T23:31:26.764Z] go mod tidy [2021-05-19T23:31:26.764Z] 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-19T23:31:39.099Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-19T23:31:40.046Z] Removing intermediate container a864c60fb812 [2021-05-19T23:31:40.046Z] ---> 1ee6b8af3b75 [2021-05-19T23:31:40.046Z] Step 10/23 : FROM alpine:3.12 [2021-05-19T23:31:40.618Z] 3.12: Pulling from library/alpine [2021-05-19T23:31:40.618Z] 339de151aab4: Pulling fs layer [2021-05-19T23:31:40.885Z] 339de151aab4: Verifying Checksum [2021-05-19T23:31:40.885Z] 339de151aab4: Download complete [2021-05-19T23:31:40.885Z] 339de151aab4: Pull complete [2021-05-19T23:31:41.147Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-19T23:31:41.147Z] Status: Downloaded newer image for alpine:3.12 [2021-05-19T23:31:41.147Z] ---> 13621d1b12d4 [2021-05-19T23:31:41.147Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T23:31:41.410Z] ---> Running in 3302344e0b2d [2021-05-19T23:31:41.410Z] Removing intermediate container 3302344e0b2d [2021-05-19T23:31:41.410Z] ---> fd9c66d5fb71 [2021-05-19T23:31:41.410Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T23:31:41.410Z] ---> Running in 14e8a11585b8 [2021-05-19T23:31:41.982Z] Removing intermediate container 14e8a11585b8 [2021-05-19T23:31:41.982Z] ---> a24ed15e7db5 [2021-05-19T23:31:41.982Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-19T23:31:41.982Z] ---> Running in 8a2f419d8b4d [2021-05-19T23:31:42.246Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-19T23:31:42.837Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-19T23:31:43.409Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-19T23:31:43.409Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-19T23:31:43.409Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-19T23:31:44.349Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-19T23:31:44.350Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-19T23:31:44.613Z] Executing busybox-1.31.1-r20.trigger [2021-05-19T23:31:44.613Z] OK: 8 MiB in 19 packages [2021-05-19T23:31:44.877Z] Removing intermediate container 8a2f419d8b4d [2021-05-19T23:31:44.877Z] ---> 77a6157c5a34 [2021-05-19T23:31:44.877Z] Step 14/23 : WORKDIR / [2021-05-19T23:31:44.877Z] ---> Running in 8d885282c21e [2021-05-19T23:31:44.877Z] Removing intermediate container 8d885282c21e [2021-05-19T23:31:44.877Z] ---> cdd31f528260 [2021-05-19T23:31:44.877Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-19T23:31:45.141Z] ---> 30e519c143aa [2021-05-19T23:31:45.141Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-19T23:31:45.722Z] ---> 30cb213a55f1 [2021-05-19T23:31:45.722Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-19T23:31:45.985Z] ---> 090a28d203d4 [2021-05-19T23:31:45.985Z] Step 18/23 : EXPOSE 59999 [2021-05-19T23:31:45.985Z] ---> Running in 8bd17822b55e [2021-05-19T23:31:45.985Z] Removing intermediate container 8bd17822b55e [2021-05-19T23:31:45.985Z] ---> 9986c3f24462 [2021-05-19T23:31:45.985Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-19T23:31:46.248Z] ---> Running in 3d0746e3a72b [2021-05-19T23:31:46.248Z] Removing intermediate container 3d0746e3a72b [2021-05-19T23:31:46.248Z] ---> 5e87db3899d5 [2021-05-19T23:31:46.248Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-19T23:31:46.248Z] ---> Running in 5cbb2d77db26 [2021-05-19T23:31:46.511Z] Removing intermediate container 5cbb2d77db26 [2021-05-19T23:31:46.511Z] ---> b7a9079369f9 [2021-05-19T23:31:46.511Z] Step 21/23 : LABEL arch=amd64 [2021-05-19T23:31:46.511Z] ---> Running in 37d5f4f8c2ab [2021-05-19T23:31:46.511Z] Removing intermediate container 37d5f4f8c2ab [2021-05-19T23:31:46.511Z] ---> 6026c933aaac [2021-05-19T23:31:46.511Z] Step 22/23 : LABEL git_sha=4457eeb11f4282b8d723e5d08eac7139e39d76df [2021-05-19T23:31:46.511Z] ---> Running in 6541721a6a3f [2021-05-19T23:31:46.770Z] Removing intermediate container 6541721a6a3f [2021-05-19T23:31:46.771Z] ---> 307bdbcfe0db [2021-05-19T23:31:46.771Z] Step 23/23 : LABEL version=0.0.0 [2021-05-19T23:31:47.031Z] ---> Running in 6f7d33e119dd [2021-05-19T23:31:47.031Z] Removing intermediate container 6f7d33e119dd [2021-05-19T23:31:47.031Z] ---> 9f2ece22dfc9 [2021-05-19T23:31:47.031Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-19T23:31:47.031Z] Successfully built 9f2ece22dfc9 [2021-05-19T23:31:47.293Z] 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-19T23:31:48.225Z] ---> job-cost.sh [2021-05-19T23:31:48.225Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7qTx [2021-05-19T23:31:58.237Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-19T23:32:13.196Z] lf-activate-venv(): INFO: Adding /tmp/venv-7qTx/bin to PATH [2021-05-19T23:32:13.196Z] INFO: No Stack... [2021-05-19T23:32:14.592Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-19T23:32:15.171Z] INFO: Archiving Costs [Pipeline] sh [2021-05-19T23:32:15.482Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-05-19T23:32:15.482Z] + cut -d, -f6 [Pipeline] lock [2021-05-19T23:32:15.542Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-936-3-stack-cost] [2021-05-19T23:32:15.574Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-936-3-stack-cost] did not exist. Created. [2021-05-19T23:32:15.575Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-936-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-19T23:32:15.905Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-19T23:32:15.963Z] Stashed 1 file(s) [Pipeline] } [2021-05-19T23:32:15.978Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-936-3-stack-cost] [Pipeline] // lock [2021-05-19T23:32:16.005Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-19T23:32:16.005Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-19T23:32:16.005Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-19T23:32:22.746Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.277s coverage: 25.4% of statements [2021-05-19T23:32:22.746Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-19T23:32:22.746Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.192s coverage: 28.1% of statements [2021-05-19T23:32:22.746Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.306s coverage: 78.9% of statements [2021-05-19T23:32:22.746Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.170s coverage: 10.7% of statements [2021-05-19T23:32:22.746Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-19T23:32:22.746Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-19T23:32:22.746Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-19T23:32:24.255Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.304s coverage: 30.2% of statements [2021-05-19T23:32:24.255Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-19T23:32:26.249Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.236s coverage: 83.3% of statements [2021-05-19T23:32:26.249Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-19T23:32:26.249Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-19T23:32:26.249Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.290s coverage: 58.0% of statements [2021-05-19T23:32:29.646Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.034s coverage: 89.2% of statements [2021-05-19T23:32:29.646Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-19T23:32:29.646Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.187s coverage: 5.0% of statements [2021-05-19T23:32:29.646Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-19T23:32:29.646Z] GO111MODULE=on go vet ./... [2021-05-19T23:33:26.245Z] gofmt -l . [2021-05-19T23:33:26.245Z] [ "`gofmt -l .`" = "" ] [2021-05-19T23:33:26.245Z] ./bin/test-attribution-txt.sh [2021-05-19T23:33:26.245Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-19T23:33:26.265Z] $ docker stop --time=1 7492006ff3a0989f0a85602315376f9d0f0da713fbee74a021e7444bd584516e [2021-05-19T23:33:28.378Z] $ docker rm -f 7492006ff3a0989f0a85602315376f9d0f0da713fbee74a021e7444bd584516e [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-19T23:33:29.460Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-19T23:33:29.494Z] Warning: overwriting stash ‘coverage-report’ [2021-05-19T23:33:30.095Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-19T23:33:30.705Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-19T23:33:31.101Z] + ls -al . [2021-05-19T23:33:31.101Z] total 248 [2021-05-19T23:33:31.101Z] drwxrwxr-x 10 jenkins jenkins 4096 May 19 23:33 . [2021-05-19T23:33:31.101Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 23:29 .. [2021-05-19T23:33:31.101Z] -rw-rw-r-- 1 jenkins jenkins 140 May 19 23:29 .dockerignore [2021-05-19T23:33:31.101Z] drwxrwxr-x 8 jenkins jenkins 4096 May 19 23:29 .git [2021-05-19T23:33:31.101Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 23:29 .github [2021-05-19T23:33:31.101Z] -rw-rw-r-- 1 jenkins jenkins 138 May 19 23:29 .gitignore [2021-05-19T23:33:31.101Z] -rw-rw-r-- 1 jenkins jenkins 987 May 19 23:29 Dockerfile.build [2021-05-19T23:33:31.101Z] -rw-rw-r-- 1 jenkins jenkins 894 May 19 23:29 Jenkinsfile [2021-05-19T23:33:31.101Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 19 23:29 LICENSE [2021-05-19T23:33:31.101Z] -rw-rw-r-- 1 jenkins jenkins 1026 May 19 23:29 Makefile [2021-05-19T23:33:31.101Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 19 23:29 README.md [2021-05-19T23:33:31.101Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 19 23:29 RELEASE-NOTES.txt [2021-05-19T23:33:31.101Z] -rw-rw-r-- 1 jenkins jenkins 5 May 19 23:26 VERSION [2021-05-19T23:33:31.101Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 23:29 bin [2021-05-19T23:33:31.101Z] -rw-r--r-- 1 jenkins jenkins 126187 May 19 23:32 coverage.out [2021-05-19T23:33:31.101Z] drwxrwxr-x 5 jenkins jenkins 4096 May 19 23:29 example [2021-05-19T23:33:31.101Z] -rw-r--r-- 1 jenkins jenkins 575 May 19 23:33 go.mod [2021-05-19T23:33:31.101Z] -rw-r--r-- 1 jenkins jenkins 20803 May 19 23:30 go.sum [2021-05-19T23:33:31.101Z] drwxrwxr-x 15 jenkins jenkins 4096 May 19 23:29 internal [2021-05-19T23:33:31.101Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 23:29 openapi [2021-05-19T23:33:31.101Z] drwxrwxr-x 5 jenkins jenkins 4096 May 19 23:29 pkg [2021-05-19T23:33:31.101Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 23:29 snap [2021-05-19T23:33:31.101Z] -rw-rw-r-- 1 jenkins jenkins 222 May 19 23:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-19T23:33:31.588Z] + 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=4457eeb11f4282b8d723e5d08eac7139e39d76df --label arch=arm64 --label version=0.0.0 . [2021-05-19T23:33:32.213Z] Sending build context to Docker daemon 2.726MB [2021-05-19T23:33:32.213Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T23:33:32.213Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-19T23:33:32.213Z] ---> 8ce0a624d22c [2021-05-19T23:33:32.213Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-19T23:33:32.523Z] ---> Running in 33955b6a50a0 [2021-05-19T23:33:33.118Z] Removing intermediate container 33955b6a50a0 [2021-05-19T23:33:33.118Z] ---> c29f32ad60f1 [2021-05-19T23:33:33.118Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T23:33:33.403Z] ---> Running in 55e8921780e0 [2021-05-19T23:33:33.676Z] Removing intermediate container 55e8921780e0 [2021-05-19T23:33:33.676Z] ---> bbf37fded230 [2021-05-19T23:33:33.676Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T23:33:33.950Z] ---> Running in 0c658fd9c9a4 [2021-05-19T23:33:35.931Z] Removing intermediate container 0c658fd9c9a4 [2021-05-19T23:33:35.931Z] ---> b2dc0050d4f3 [2021-05-19T23:33:35.931Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-19T23:33:36.205Z] ---> Running in 5e0cd2da6443 [2021-05-19T23:33:37.186Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-19T23:33:38.160Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-19T23:33:39.135Z] OK: 139 MiB in 46 packages [2021-05-19T23:33:40.118Z] Removing intermediate container 5e0cd2da6443 [2021-05-19T23:33:40.118Z] ---> b3e2f941c510 [2021-05-19T23:33:40.118Z] Step 7/23 : COPY . . [2021-05-19T23:33:41.561Z] ---> 73231e169a60 [2021-05-19T23:33:41.561Z] Step 8/23 : RUN go mod download [2021-05-19T23:33:41.835Z] ---> Running in 34368f014429 [2021-05-19T23:33:44.452Z] Removing intermediate container 34368f014429 [2021-05-19T23:33:44.452Z] ---> f13f113c5693 [2021-05-19T23:33:44.452Z] Step 9/23 : RUN make build [2021-05-19T23:33:44.452Z] ---> Running in b459a7a2e8ae [2021-05-19T23:33:45.428Z] go mod tidy [2021-05-19T23:33:46.025Z] 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-19T23:34:18.425Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-19T23:34:21.051Z] Removing intermediate container b459a7a2e8ae [2021-05-19T23:34:21.051Z] ---> 92223f50be50 [2021-05-19T23:34:21.051Z] Step 10/23 : FROM alpine:3.12 [2021-05-19T23:34:21.336Z] 3.12: Pulling from library/alpine [2021-05-19T23:34:21.336Z] d2f70382dc9a: Pulling fs layer [2021-05-19T23:34:21.609Z] d2f70382dc9a: Verifying Checksum [2021-05-19T23:34:21.609Z] d2f70382dc9a: Download complete [2021-05-19T23:34:22.205Z] d2f70382dc9a: Pull complete [2021-05-19T23:34:22.205Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-19T23:34:22.205Z] Status: Downloaded newer image for alpine:3.12 [2021-05-19T23:34:22.205Z] ---> 9852663dfa18 [2021-05-19T23:34:22.205Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T23:34:22.478Z] ---> Running in 11e27664d687 [2021-05-19T23:34:23.074Z] Removing intermediate container 11e27664d687 [2021-05-19T23:34:23.074Z] ---> f2026a7b6c60 [2021-05-19T23:34:23.074Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T23:34:23.074Z] ---> Running in 8c617bced855 [2021-05-19T23:34:25.079Z] Removing intermediate container 8c617bced855 [2021-05-19T23:34:25.079Z] ---> 181b4c2d2a2f [2021-05-19T23:34:25.079Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-19T23:34:25.355Z] ---> Running in 5074ac6abda0 [2021-05-19T23:34:26.788Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-19T23:34:27.384Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-19T23:34:27.988Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-19T23:34:27.988Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-19T23:34:27.988Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-19T23:34:28.259Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-19T23:34:28.532Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-19T23:34:28.532Z] Executing busybox-1.31.1-r20.trigger [2021-05-19T23:34:28.532Z] OK: 8 MiB in 19 packages [2021-05-19T23:34:29.967Z] Removing intermediate container 5074ac6abda0 [2021-05-19T23:34:29.967Z] ---> ca25a32624c3 [2021-05-19T23:34:29.967Z] Step 14/23 : WORKDIR / [2021-05-19T23:34:29.967Z] ---> Running in 918cc14f6581 [2021-05-19T23:34:30.239Z] Removing intermediate container 918cc14f6581 [2021-05-19T23:34:30.239Z] ---> ef96833c3419 [2021-05-19T23:34:30.240Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-19T23:34:31.218Z] ---> b5b3337c5941 [2021-05-19T23:34:31.218Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-19T23:34:32.197Z] ---> 7e8c223511ac [2021-05-19T23:34:32.197Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-19T23:34:33.178Z] ---> 194a4a9f6005 [2021-05-19T23:34:33.178Z] Step 18/23 : EXPOSE 59999 [2021-05-19T23:34:33.178Z] ---> Running in 8701b910c1e5 [2021-05-19T23:34:33.772Z] Removing intermediate container 8701b910c1e5 [2021-05-19T23:34:33.772Z] ---> f70e255238ff [2021-05-19T23:34:33.772Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-19T23:34:33.772Z] ---> Running in 64b699e9ea61 [2021-05-19T23:34:34.373Z] Removing intermediate container 64b699e9ea61 [2021-05-19T23:34:34.373Z] ---> 03fc20b5b96b [2021-05-19T23:34:34.373Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-19T23:34:34.373Z] ---> Running in 86b421761088 [2021-05-19T23:34:34.967Z] Removing intermediate container 86b421761088 [2021-05-19T23:34:34.967Z] ---> 5fefe8e32aac [2021-05-19T23:34:34.967Z] Step 21/23 : LABEL arch=arm64 [2021-05-19T23:34:35.245Z] ---> Running in ba454e7e5cd6 [2021-05-19T23:34:35.516Z] Removing intermediate container ba454e7e5cd6 [2021-05-19T23:34:35.516Z] ---> 2cfa2584cdeb [2021-05-19T23:34:35.516Z] Step 22/23 : LABEL git_sha=4457eeb11f4282b8d723e5d08eac7139e39d76df [2021-05-19T23:34:35.791Z] ---> Running in dd02ba7263bf [2021-05-19T23:34:36.386Z] Removing intermediate container dd02ba7263bf [2021-05-19T23:34:36.386Z] ---> 141538d36c32 [2021-05-19T23:34:36.386Z] Step 23/23 : LABEL version=0.0.0 [2021-05-19T23:34:36.386Z] ---> Running in 7b8c9646d259 [2021-05-19T23:34:36.977Z] Removing intermediate container 7b8c9646d259 [2021-05-19T23:34:36.977Z] ---> dc4d0229aad8 [2021-05-19T23:34:36.977Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-19T23:34:36.977Z] Successfully built dc4d0229aad8 [2021-05-19T23:34:36.977Z] 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-19T23:34:37.525Z] ---> job-cost.sh [2021-05-19T23:34:37.525Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TFlZ [2021-05-19T23:35:16.485Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-19T23:36:38.226Z] lf-activate-venv(): INFO: Adding /tmp/venv-TFlZ/bin to PATH [2021-05-19T23:36:38.226Z] INFO: No Stack... [2021-05-19T23:36:38.226Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-19T23:36:38.499Z] INFO: Archiving Costs [Pipeline] sh [2021-05-19T23:36:38.846Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-05-19T23:36:38.846Z] + cut -d, -f6 [Pipeline] lock [2021-05-19T23:36:38.909Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-936-3-stack-cost] [2021-05-19T23:36:38.917Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-936-3-stack-cost] did not exist. Created. [2021-05-19T23:36:38.917Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-936-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-19T23:36:39.293Z] /w/workspace/device-sdk-go/3@tmp/durable-b1d39dd8/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-b1d39dd8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-19T23:36:39.656Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-19T23:36:39.702Z] Warning: overwriting stash ‘stack-cost’ [2021-05-19T23:36:39.873Z] Stashed 1 file(s) [Pipeline] } [2021-05-19T23:36:39.886Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-936-3-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-19T23:36:40.816Z] provisioning config files... [2021-05-19T23:36:40.825Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp/config6770398816039927146tmp [Pipeline] { [Pipeline] sh [2021-05-19T23:36:41.142Z] + set +x [2021-05-19T23:36:41.142Z] + curl -s https://codecov.io/bash [2021-05-19T23:36:41.142Z] + bash -s -- [2021-05-19T23:36:41.142Z] [2021-05-19T23:36:41.142Z] _____ _ [2021-05-19T23:36:41.142Z] / ____| | | [2021-05-19T23:36:41.142Z] | | ___ __| | ___ ___ _____ __ [2021-05-19T23:36:41.142Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-19T23:36:41.142Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-19T23:36:41.142Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-19T23:36:41.142Z] Bash-1.0.2 [2021-05-19T23:36:41.142Z] [2021-05-19T23:36:41.142Z] [2021-05-19T23:36:41.142Z] ==> git version 2.24.4 found [2021-05-19T23:36:41.142Z] ==> 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-19T23:36:41.142Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-19T23:36:41.142Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-19T23:36:41.142Z] ==> Jenkins CI detected. [2021-05-19T23:36:41.142Z] project root: . [2021-05-19T23:36:41.142Z] --> token set from env [2021-05-19T23:36:41.142Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-19T23:36:41.407Z] ==> Running gcov in . (disable via -X gcov) [2021-05-19T23:36:41.407Z] ==> Python coveragepy not found [2021-05-19T23:36:41.407Z] ==> Searching for coverage reports in: [2021-05-19T23:36:41.407Z] + . [2021-05-19T23:36:41.407Z] -> Found 1 reports [2021-05-19T23:36:41.407Z] ==> Detecting git/mercurial file structure [2021-05-19T23:36:41.407Z] ==> Reading reports [2021-05-19T23:36:41.407Z] + ./coverage.out bytes=126187 [2021-05-19T23:36:41.407Z] ==> Appending adjustments [2021-05-19T23:36:41.407Z] https://docs.codecov.io/docs/fixing-reports [2021-05-19T23:36:41.671Z] + Found adjustments [2021-05-19T23:36:41.671Z] ==> Gzipping contents [2021-05-19T23:36:41.671Z] 20K /tmp/codecov.i7emqZ.gz [2021-05-19T23:36:41.671Z] ==> Uploading reports [2021-05-19T23:36:41.671Z] url: https://codecov.io [2021-05-19T23:36:41.671Z] query: branch=PR-936&commit=4457eeb11f4282b8d723e5d08eac7139e39d76df&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-936%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=936&job=&cmd_args= [2021-05-19T23:36:41.671Z] -> Pinging Codecov [2021-05-19T23:36:41.671Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-936&commit=4457eeb11f4282b8d723e5d08eac7139e39d76df&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-936%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=936&job=&cmd_args= [2021-05-19T23:36:41.932Z] -> Uploading to [2021-05-19T23:36:41.932Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-19/7E55EF52A471D76F132DFD9A03CDDE97/4457eeb11f4282b8d723e5d08eac7139e39d76df/2596e13e-3a86-4a80-84f8-f899edb8c8ff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210519%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210519T233641Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f38b71638f244328b611e6c48137895e7d8829a032c87aad92e2f0fcb66d9cad [2021-05-19T23:36:41.932Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-19T23:36:41.932Z] Dload Upload Total Spent Left Speed [2021-05-19T23:36:42.506Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16476 0 0 100 16476 0 32315 --:--:-- --:--:-- --:--:-- 32305 100 16476 0 0 100 16476 0 32305 --:--:-- --:--:-- --:--:-- 32305 [2021-05-19T23:36:42.506Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4457eeb11f4282b8d723e5d08eac7139e39d76df [Pipeline] } [2021-05-19T23:36:42.516Z] 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-19T23:36:44.279Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T23:36:44.850Z] ---> package-listing.sh [2021-05-19T23:36:44.850Z] ++ facter osfamily [2021-05-19T23:36:44.850Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-19T23:36:45.117Z] + OS_FAMILY=redhat [2021-05-19T23:36:45.117Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-936 [2021-05-19T23:36:45.117Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-19T23:36:45.117Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-19T23:36:45.117Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-19T23:36:45.117Z] + PACKAGES=/tmp/packages_start.txt [2021-05-19T23:36:45.117Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-936 ']' [2021-05-19T23:36:45.117Z] + PACKAGES=/tmp/packages_end.txt [2021-05-19T23:36:45.118Z] + case "${OS_FAMILY}" in [2021-05-19T23:36:45.118Z] + rpm -qa [2021-05-19T23:36:45.118Z] + sort [2021-05-19T23:36:45.690Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-19T23:36:45.690Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-19T23:36:45.690Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-19T23:36:45.690Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-936 ']' [2021-05-19T23:36:45.690Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-936/archives/ [2021-05-19T23:36:45.690Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-936/archives/ [Pipeline] echo [2021-05-19T23:36:45.705Z] 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-936/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-19T23:36:45.994Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-19T23:36:46.565Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-19T23:36:46.565Z] [2021-05-19T23:36:46.565Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-19T23:36:46.878Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-19T23:36:46.878Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-19T23:36:46.878Z] df20fa9351a1: Pulling fs layer [2021-05-19T23:36:46.878Z] 36b3adc4ff6f: Pulling fs layer [2021-05-19T23:36:46.878Z] 8ad3a11d3b57: Pulling fs layer [2021-05-19T23:36:46.878Z] 46f8f816bc3b: Pulling fs layer [2021-05-19T23:36:46.878Z] 93b61091891f: Pulling fs layer [2021-05-19T23:36:46.878Z] 93b9cdb0e59b: Pulling fs layer [2021-05-19T23:36:46.878Z] 5e14af77c1be: Pulling fs layer [2021-05-19T23:36:46.878Z] 01666e4c0597: Pulling fs layer [2021-05-19T23:36:46.878Z] aa168da1d23b: Pulling fs layer [2021-05-19T23:36:46.878Z] 93b9cdb0e59b: Waiting [2021-05-19T23:36:46.878Z] 5e14af77c1be: Waiting [2021-05-19T23:36:46.878Z] 01666e4c0597: Waiting [2021-05-19T23:36:46.878Z] aa168da1d23b: Waiting [2021-05-19T23:36:46.878Z] 46f8f816bc3b: Waiting [2021-05-19T23:36:46.878Z] 93b61091891f: Waiting [2021-05-19T23:36:46.878Z] 36b3adc4ff6f: Verifying Checksum [2021-05-19T23:36:46.878Z] 36b3adc4ff6f: Download complete [2021-05-19T23:36:47.142Z] 46f8f816bc3b: Verifying Checksum [2021-05-19T23:36:47.142Z] 46f8f816bc3b: Download complete [2021-05-19T23:36:47.142Z] df20fa9351a1: Verifying Checksum [2021-05-19T23:36:47.142Z] df20fa9351a1: Download complete [2021-05-19T23:36:47.142Z] 93b9cdb0e59b: Verifying Checksum [2021-05-19T23:36:47.142Z] 93b9cdb0e59b: Download complete [2021-05-19T23:36:47.142Z] 93b61091891f: Verifying Checksum [2021-05-19T23:36:47.142Z] 93b61091891f: Download complete [2021-05-19T23:36:47.142Z] 5e14af77c1be: Verifying Checksum [2021-05-19T23:36:47.142Z] 5e14af77c1be: Download complete [2021-05-19T23:36:47.142Z] 01666e4c0597: Verifying Checksum [2021-05-19T23:36:47.142Z] 01666e4c0597: Download complete [2021-05-19T23:36:47.406Z] df20fa9351a1: Pull complete [2021-05-19T23:36:47.406Z] 8ad3a11d3b57: Verifying Checksum [2021-05-19T23:36:47.406Z] 8ad3a11d3b57: Download complete [2021-05-19T23:36:47.406Z] 36b3adc4ff6f: Pull complete [2021-05-19T23:36:47.990Z] 8ad3a11d3b57: Pull complete [2021-05-19T23:36:47.990Z] 46f8f816bc3b: Pull complete [2021-05-19T23:36:48.252Z] 93b61091891f: Pull complete [2021-05-19T23:36:48.519Z] 93b9cdb0e59b: Pull complete [2021-05-19T23:36:48.519Z] 5e14af77c1be: Pull complete [2021-05-19T23:36:48.519Z] 01666e4c0597: Pull complete [2021-05-19T23:36:49.475Z] aa168da1d23b: Verifying Checksum [2021-05-19T23:36:49.475Z] aa168da1d23b: Download complete [2021-05-19T23:36:53.718Z] aa168da1d23b: Pull complete [2021-05-19T23:36:53.718Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-19T23:36:53.718Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-19T23:36:53.718Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-19T23:36:53.793Z] prd-centos7-docker-4c-2g-15152 does not seem to be running inside a container [2021-05-19T23:36:53.833Z] $ 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-936/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-936 -v /w/workspace/dgexfoundry_device-sdk-go_PR-936:/w/workspace/dgexfoundry_device-sdk-go_PR-936:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-19T23:36:56.585Z] $ docker top 9f5c52500dba5493db11e29430a69bb3e40217b46e03e1b8905d18a94cf4c62f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T23:36:56.952Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-19T23:36:57.264Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-19T23:36:57.561Z] + ls /var/log/sa-host [2021-05-19T23:36:57.561Z] + sadf -c /var/log/sa-host/sa05 [2021-05-19T23:36:57.561Z] file_magic: OK [2021-05-19T23:36:57.561Z] HZ: Using current value: 100 [2021-05-19T23:36:57.561Z] file_header: OK [2021-05-19T23:36:57.561Z] 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-19T23:36:57.561Z] Statistics: [2021-05-19T23:36:57.561Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-19T23:36:57.561Z] File successfully converted to sysstat format version 12.2.1 [2021-05-19T23:36:57.561Z] + sadf -c /var/log/sa-host/sa19 [2021-05-19T23:36:57.561Z] file_magic: OK [2021-05-19T23:36:57.561Z] HZ: Using current value: 100 [2021-05-19T23:36:57.561Z] file_header: OK [2021-05-19T23:36:57.561Z] 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-19T23:36:57.561Z] Statistics: [2021-05-19T23:36:57.561Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-19T23:36:57.561Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T23:36:59.891Z] provisioning config files... [2021-05-19T23:36:59.907Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp/config1338015678485448522tmp [Pipeline] { [Pipeline] echo [2021-05-19T23:36:59.928Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T23:37:00.226Z] ---> create-netrc.sh [Pipeline] } [2021-05-19T23:37:00.235Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-19T23:37:00.261Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T23:37:00.576Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-19T23:37:00.587Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T23:37:00.885Z] ---> sudo-logs.sh [2021-05-19T23:37:00.885Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-19T23:37:00.926Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T23:37:01.225Z] ---> job-cost.sh [2021-05-19T23:37:01.225Z] lf-activate-venv: SKIPPING [2021-05-19T23:37:01.225Z] DEBUG: total: 0.18000000715255737 [2021-05-19T23:37:01.225Z] INFO: Retrieving Stack Cost... [2021-05-19T23:37:02.173Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-19T23:37:02.751Z] INFO: Archiving Costs [Pipeline] echo [2021-05-19T23:37:02.774Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T23:37:03.087Z] ---> logs-deploy.sh [2021-05-19T23:37:03.087Z] lf-activate-venv: SKIPPING [2021-05-19T23:37:03.087Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-936/3 [2021-05-19T23:37:03.087Z] INFO: archiving workspace using pattern(s): [2021-05-19T23:37:04.053Z] Archives upload complete. [2021-05-19T23:37:04.053Z] INFO: archiving logs to Nexus