Pull request #1058 updated Connecting to https://api.github.com using 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 ef01e9ba3f6e835449006231ead7474d7327b9ec+555c3bb6a6e69767d223739ff73f88b00326690d (3d8d9eaa5de598904a268d9c711f0666ef826292) 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7292036735426257356.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7401253273647374888.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-1058/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1058/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6778061576859925872.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6778717243744277849.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-1058/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1058/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7979149116198373888.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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/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 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder 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/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 ‘prd-centos7-docker-4c-2g-27954’ is offline Running on prd-centos7-docker-4c-2g-27957 in /w/workspace/gexfoundry_device-sdk-go_PR-1058 [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/gexfoundry_device-sdk-go_PR-1058 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1058@tmp/jenkins-gitclient-ssh4684831411914563333.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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1058@tmp/jenkins-gitclient-ssh4324961781186887472.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1058/head:refs/remotes/origin/PR-1058 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 555c3bb6a6e69767d223739ff73f88b00326690d into PR head commit ef01e9ba3f6e835449006231ead7474d7327b9ec Merge succeeded, producing ef01e9ba3f6e835449006231ead7474d7327b9ec Checking out Revision ef01e9ba3f6e835449006231ead7474d7327b9ec (PR-1058) > git config core.sparsecheckout # timeout=10 > git checkout -f ef01e9ba3f6e835449006231ead7474d7327b9ec # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1058@tmp/jenkins-gitclient-ssh4765718257640395226.key > git merge 555c3bb6a6e69767d223739ff73f88b00326690d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ef01e9ba3f6e835449006231ead7474d7327b9ec # timeout=10 Commit message: "fix: Add setting correlation id when Events created via AutoEvents" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-08T17:56:40.272Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-08T17:56:40.314Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-08T17:56:40.326Z] ========================================================= [2021-11-08T17:56:40.326Z] EdgeX Global Pipelines Version Info [2021-11-08T17:56:40.326Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2556ce3b2b6f9474cf70d81c4fbe75796a88baf4 # timeout=10 [2021-11-08T17:56:41.469Z] ------------------- [2021-11-08T17:56:41.469Z] stable info: [2021-11-08T17:56:41.469Z] ------------------- [2021-11-08T17:56:41.469Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-08T17:56:41.469Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-08T17:56:41.469Z] Message: update stable to v1.0.211 [2021-11-08T17:56:42.044Z] ------------------- [2021-11-08T17:56:42.044Z] experimental info: [2021-11-08T17:56:42.044Z] ------------------- [2021-11-08T17:56:42.044Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-08T17:56:42.044Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-08T17:56:42.044Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-08T17:56:42.118Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-08T17:56:42.130Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-08T17:56:42.139Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-08T17:56:42.149Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-08T17:56:42.159Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-08T17:56:42.168Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-08T17:56:42.178Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-08T17:56:42.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-08T17:56:42.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-08T17:56:42.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-08T17:56:42.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-08T17:56:42.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-08T17:56:42.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-08T17:56:42.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-08T17:56:42.259Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-08T17:56:42.268Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-08T17:56:42.278Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-08T17:56:42.287Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-08T17:56:42.297Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-08T17:56:42.306Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-08T17:56:42.319Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-08T17:56:42.333Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-08T17:56:42.343Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-08T17:56:42.353Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-08T17:56:42.365Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-08T17:56:42.377Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-08T17:56:42.386Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1058 [Pipeline] echo [2021-11-08T17:56:42.395Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1058 [Pipeline] echo [2021-11-08T17:56:42.405Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1058 [Pipeline] echo [2021-11-08T17:56:42.416Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ef01e9ba3f6e835449006231ead7474d7327b9ec [Pipeline] echo [2021-11-08T17:56:42.425Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ef01e9b [Pipeline] echo [2021-11-08T17:56:42.435Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-08T17:56:42.470Z] provisioning config files... [2021-11-08T17:56:42.480Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1058@tmp/config3724183152097562525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T17:56:42.791Z] ---> docker-login.sh [2021-11-08T17:56:42.791Z] nexus3.edgexfoundry.org:10001 [2021-11-08T17:56:42.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T17:56:43.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T17:56:43.052Z] Configure a credential helper to remove this warning. See [2021-11-08T17:56:43.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T17:56:43.052Z] [2021-11-08T17:56:43.052Z] Login Succeeded [2021-11-08T17:56:43.052Z] nexus3.edgexfoundry.org:10002 [2021-11-08T17:56:43.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T17:56:43.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T17:56:43.052Z] Configure a credential helper to remove this warning. See [2021-11-08T17:56:43.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T17:56:43.052Z] [2021-11-08T17:56:43.052Z] Login Succeeded [2021-11-08T17:56:43.052Z] nexus3.edgexfoundry.org:10003 [2021-11-08T17:56:43.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T17:56:43.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T17:56:43.314Z] Configure a credential helper to remove this warning. See [2021-11-08T17:56:43.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T17:56:43.314Z] [2021-11-08T17:56:43.314Z] Login Succeeded [2021-11-08T17:56:43.314Z] nexus3.edgexfoundry.org:10004 [2021-11-08T17:56:43.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T17:56:43.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T17:56:43.314Z] Configure a credential helper to remove this warning. See [2021-11-08T17:56:43.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T17:56:43.314Z] [2021-11-08T17:56:43.314Z] Login Succeeded [2021-11-08T17:56:43.314Z] docker.io [2021-11-08T17:56:43.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T17:56:43.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T17:56:43.887Z] Configure a credential helper to remove this warning. See [2021-11-08T17:56:43.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T17:56:43.887Z] [2021-11-08T17:56:43.887Z] Login Succeeded [2021-11-08T17:56:43.887Z] ---> docker-login.sh ends [Pipeline] } [2021-11-08T17:56:43.896Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-08T17:56:44.359Z] + git rev-list -1 --merges ef01e9ba3f6e835449006231ead7474d7327b9ec~1..ef01e9ba3f6e835449006231ead7474d7327b9ec [Pipeline] echo [2021-11-08T17:56:44.397Z] -----------> git rev-list -1 --merges ef01e9ba3f6e835449006231ead7474d7327b9ec~1..ef01e9ba3f6e835449006231ead7474d7327b9ec ef01e9ba3f6e835449006231ead7474d7327b9ec [false] [Pipeline] sh [2021-11-08T17:56:44.696Z] + git log --format=format:%s -1 ef01e9ba3f6e835449006231ead7474d7327b9ec [Pipeline] echo [2021-11-08T17:56:44.711Z] ========================================================= [2021-11-08T17:56:44.711Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-08T17:56:44.711Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-08T17:56:45.049Z] + git log --format=format:%s -1 ef01e9ba3f6e835449006231ead7474d7327b9ec [Pipeline] echo [2021-11-08T17:56:45.060Z] [semverPrep] GIT_COMMIT: ef01e9ba3f6e835449006231ead7474d7327b9ec, Commit Message: fix: Add setting correlation id when Events created via AutoEvents [Pipeline] echo [2021-11-08T17:56:45.069Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-08T17:56:45.694Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-08T17:56:45.694Z] [2021-11-08T17:56:45.694Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-08T17:56:46.010Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-08T17:56:46.010Z] latest: Pulling from edgex-devops/git-semver [2021-11-08T17:56:46.010Z] a0d0a0d46f8b: Pulling fs layer [2021-11-08T17:56:46.010Z] 3e5f54012d9b: Pulling fs layer [2021-11-08T17:56:46.010Z] 4c7163046ea9: Pulling fs layer [2021-11-08T17:56:46.010Z] 0c2d73faf560: Pulling fs layer [2021-11-08T17:56:46.010Z] 0c2d73faf560: Waiting [2021-11-08T17:56:46.010Z] 3e5f54012d9b: Verifying Checksum [2021-11-08T17:56:46.010Z] 3e5f54012d9b: Download complete [2021-11-08T17:56:46.010Z] a0d0a0d46f8b: Download complete [2021-11-08T17:56:46.277Z] 4c7163046ea9: Verifying Checksum [2021-11-08T17:56:46.277Z] 4c7163046ea9: Download complete [2021-11-08T17:56:46.277Z] 0c2d73faf560: Verifying Checksum [2021-11-08T17:56:46.277Z] 0c2d73faf560: Download complete [2021-11-08T17:56:46.277Z] a0d0a0d46f8b: Pull complete [2021-11-08T17:56:46.277Z] 3e5f54012d9b: Pull complete [2021-11-08T17:56:46.544Z] 4c7163046ea9: Pull complete [2021-11-08T17:56:46.805Z] 0c2d73faf560: Pull complete [2021-11-08T17:56:46.805Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-08T17:56:46.805Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-08T17:56:46.805Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-08T17:56:46.882Z] prd-centos7-docker-4c-2g-27957 does not seem to be running inside a container [2021-11-08T17:56:46.927Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1058 -v /w/workspace/gexfoundry_device-sdk-go_PR-1058:/w/workspace/gexfoundry_device-sdk-go_PR-1058:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1058@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1058@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-08T17:56:47.547Z] $ docker top c83f787a7ce830029813cdd947b8d91e7cd347749a576a0a42640f3fe37a216b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-08T17:56:47.634Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-08T17:56:47.634Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-08T17:56:47.742Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-08T17:56:47.746Z] $ docker exec c83f787a7ce830029813cdd947b8d91e7cd347749a576a0a42640f3fe37a216b ssh-agent [2021-11-08T17:56:47.845Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgnLAHC/agent.15 [2021-11-08T17:56:47.845Z] SSH_AGENT_PID=22 [2021-11-08T17:56:47.852Z] Running ssh-add (command line suppressed) [2021-11-08T17:56:47.950Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1058@tmp/private_key_1071079017172582507.key (/w/workspace/gexfoundry_device-sdk-go_PR-1058@tmp/private_key_1071079017172582507.key) [2021-11-08T17:56:47.959Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-08T17:56:48.252Z] + git tag --points-at HEAD [Pipeline] } [2021-11-08T17:56:48.265Z] $ docker exec --env ******** --env ******** c83f787a7ce830029813cdd947b8d91e7cd347749a576a0a42640f3fe37a216b ssh-agent -k [2021-11-08T17:56:48.352Z] unset SSH_AUTH_SOCK; [2021-11-08T17:56:48.352Z] unset SSH_AGENT_PID; [2021-11-08T17:56:48.353Z] echo Agent pid 22 killed; [2021-11-08T17:56:48.362Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-08T17:56:48.380Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-08T17:56:48.380Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-08T17:56:48.493Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-08T17:56:48.500Z] $ docker exec c83f787a7ce830029813cdd947b8d91e7cd347749a576a0a42640f3fe37a216b ssh-agent [2021-11-08T17:56:48.611Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnFeNCG/agent.54 [2021-11-08T17:56:48.611Z] SSH_AGENT_PID=60 [2021-11-08T17:56:48.618Z] Running ssh-add (command line suppressed) [2021-11-08T17:56:48.713Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1058@tmp/private_key_7731455237022905805.key (/w/workspace/gexfoundry_device-sdk-go_PR-1058@tmp/private_key_7731455237022905805.key) [2021-11-08T17:56:48.724Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-08T17:56:49.021Z] + git semver init [2021-11-08T17:56:49.021Z] # -> Open(): unable to determine branch for HEAD [2021-11-08T17:56:49.021Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1058/.git [2021-11-08T17:56:49.021Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1058 [2021-11-08T17:56:49.021Z] # $SEMVER_REMOTE_NAME = origin [2021-11-08T17:56:49.021Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-08T17:56:49.021Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-08T17:56:49.021Z] # $SEMVER_BRANCH = PR-1058 [2021-11-08T17:56:49.021Z] # $SEMVER_TEMP = /tmp/semver-302737416 [2021-11-08T17:56:49.021Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-08T17:56:49.964Z] # '/tmp/semver-302737416' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1058/.semver' [2021-11-08T17:56:49.964Z] # -> Force: false [2021-11-08T17:56:49.964Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1058/.semver [Pipeline] } [2021-11-08T17:56:49.975Z] $ docker exec --env ******** --env ******** c83f787a7ce830029813cdd947b8d91e7cd347749a576a0a42640f3fe37a216b ssh-agent -k [2021-11-08T17:56:50.061Z] unset SSH_AUTH_SOCK; [2021-11-08T17:56:50.061Z] unset SSH_AGENT_PID; [2021-11-08T17:56:50.061Z] echo Agent pid 60 killed; [2021-11-08T17:56:50.068Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-08T17:56:50.369Z] + git semver [Pipeline] } [2021-11-08T17:56:50.383Z] $ docker stop --time=1 c83f787a7ce830029813cdd947b8d91e7cd347749a576a0a42640f3fe37a216b [2021-11-08T17:56:51.621Z] $ docker rm -f c83f787a7ce830029813cdd947b8d91e7cd347749a576a0a42640f3fe37a216b [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-08T17:56:51.962Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-08T17:56:52.192Z] Stashed 1 file(s) [Pipeline] echo [2021-11-08T17:56:52.194Z] [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-11-08T17:57:07.329Z] Still waiting to schedule task [2021-11-08T17:57:07.329Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-27957’ [2021-11-08T17:57:07.330Z] Still waiting to schedule task [2021-11-08T17:57:07.331Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-08T17:58:57.527Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27958 in /w/workspace/gexfoundry_device-sdk-go_PR-1058 [Pipeline] { [Pipeline] ws [2021-11-08T17:58:57.538Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-11-08T17:58:57.757Z] Selected Git installation does not exist. Using Default [2021-11-08T17:58:57.757Z] The recommended git tool is: NONE [2021-11-08T17:59:03.441Z] using credential edgex-jenkins-ssh [2021-11-08T17:59:03.458Z] Cloning the remote Git repository [2021-11-08T17:59:03.511Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-08T17:59:03.617Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-11-08T17:59:03.695Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-08T17:59:03.696Z] > git --version # timeout=10 [2021-11-08T17:59:03.711Z] > git --version # 'git version 2.17.1' [2021-11-08T17:59:03.713Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-08T17:59:03.810Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-08T17:59:05.969Z] Merging remotes/origin/main commit 555c3bb6a6e69767d223739ff73f88b00326690d into PR head commit ef01e9ba3f6e835449006231ead7474d7327b9ec [2021-11-08T17:59:06.191Z] Merge succeeded, producing ef01e9ba3f6e835449006231ead7474d7327b9ec [2021-11-08T17:59:06.192Z] Checking out Revision ef01e9ba3f6e835449006231ead7474d7327b9ec (PR-1058) [2021-11-08T17:59:05.169Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-08T17:59:05.189Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-08T17:59:05.218Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-08T17:59:05.255Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-08T17:59:05.256Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-08T17:59:05.271Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1058/head:refs/remotes/origin/PR-1058 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-08T17:59:05.990Z] > git config core.sparsecheckout # timeout=10 [2021-11-08T17:59:06.006Z] > git checkout -f ef01e9ba3f6e835449006231ead7474d7327b9ec # timeout=10 [2021-11-08T17:59:06.111Z] > git remote # timeout=10 [2021-11-08T17:59:06.134Z] > git config --get remote.origin.url # timeout=10 [2021-11-08T17:59:06.146Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-08T17:59:06.158Z] > git merge 555c3bb6a6e69767d223739ff73f88b00326690d # timeout=10 [2021-11-08T17:59:06.179Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-08T17:59:06.201Z] > git config core.sparsecheckout # timeout=10 [2021-11-08T17:59:06.213Z] > git checkout -f ef01e9ba3f6e835449006231ead7474d7327b9ec # timeout=10 [2021-11-08T17:59:10.452Z] Commit message: "fix: Add setting correlation id when Events created via AutoEvents" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-08T17:59:11.475Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-08T17:59:11.475Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-08T17:59:11.475Z] Dload Upload Total Spent Left Speed [2021-11-08T17:59:11.475Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 64967 0 --:--:-- --:--:-- --:--:-- 64967 [Pipeline] sh [2021-11-08T17:59:11.881Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-08T17:59:12.217Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2021-11-08T17:59:12.217Z] sudo tee /etc/docker/daemon.new [2021-11-08T17:59:12.217Z] { [2021-11-08T17:59:12.217Z] "registry-mirrors": [ [2021-11-08T17:59:12.218Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-08T17:59:12.218Z] ], [2021-11-08T17:59:12.218Z] "bip": "10.250.0.254/24", [2021-11-08T17:59:12.218Z] "hosts": [ [2021-11-08T17:59:12.218Z] "tcp://0.0.0.0:5555", [2021-11-08T17:59:12.218Z] "unix:///var/run/docker.sock" [2021-11-08T17:59:12.218Z] ], [2021-11-08T17:59:12.218Z] "mtu": 1458, [2021-11-08T17:59:12.218Z] "selinux-enabled": true, [2021-11-08T17:59:12.218Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-08T17:59:12.218Z] } [Pipeline] sh [2021-11-08T17:59:12.563Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-08T17:59:12.718Z] Running on prd-centos7-docker-4c-2g-27959 in /w/workspace/gexfoundry_device-sdk-go_PR-1058 [Pipeline] { [Pipeline] ws [2021-11-08T17:59:12.730Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-11-08T17:59:12.825Z] Selected Git installation does not exist. Using Default [2021-11-08T17:59:12.825Z] The recommended git tool is: NONE [2021-11-08T17:59:12.915Z] + sudo service docker restart [2021-11-08T17:59:14.722Z] using credential edgex-jenkins-ssh [2021-11-08T17:59:14.732Z] Cloning the remote Git repository [2021-11-08T17:59:14.140Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-08T17:59:14.193Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-11-08T17:59:14.230Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-08T17:59:14.231Z] > git --version # timeout=10 [2021-11-08T17:59:14.237Z] > git --version # 'git version 2.24.4' [2021-11-08T17:59:14.237Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-08T17:59:14.259Z] [INFO] Currently running in a labeled security context [2021-11-08T17:59:14.259Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-08T17:59:14.259Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh1054520672135416192.key [2021-11-08T17:59:14.283Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-08T17:59:15.032Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-08T17:59:15.042Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-08T17:59:15.057Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-08T17:59:15.079Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-08T17:59:15.079Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-08T17:59:15.080Z] [INFO] Currently running in a labeled security context [2021-11-08T17:59:15.080Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-08T17:59:15.080Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh8692514167636845078.key [2021-11-08T17:59:15.091Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1058/head:refs/remotes/origin/PR-1058 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-08T17:59:16.277Z] Merging remotes/origin/main commit 555c3bb6a6e69767d223739ff73f88b00326690d into PR head commit ef01e9ba3f6e835449006231ead7474d7327b9ec [2021-11-08T17:59:16.392Z] Merge succeeded, producing ef01e9ba3f6e835449006231ead7474d7327b9ec [2021-11-08T17:59:16.392Z] Checking out Revision ef01e9ba3f6e835449006231ead7474d7327b9ec (PR-1058) [2021-11-08T17:59:15.671Z] > git config core.sparsecheckout # timeout=10 [2021-11-08T17:59:15.680Z] > git checkout -f ef01e9ba3f6e835449006231ead7474d7327b9ec # timeout=10 [2021-11-08T17:59:15.719Z] > git remote # timeout=10 [2021-11-08T17:59:15.730Z] > git config --get remote.origin.url # timeout=10 [2021-11-08T17:59:15.743Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-08T17:59:15.744Z] [INFO] Currently running in a labeled security context [2021-11-08T17:59:15.744Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-08T17:59:15.745Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh6511845705679397192.key [2021-11-08T17:59:15.756Z] > git merge 555c3bb6a6e69767d223739ff73f88b00326690d # timeout=10 [2021-11-08T17:59:15.768Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-08T17:59:15.783Z] > git config core.sparsecheckout # timeout=10 [2021-11-08T17:59:15.791Z] > git checkout -f ef01e9ba3f6e835449006231ead7474d7327b9ec # timeout=10 [2021-11-08T17:59:19.977Z] Commit message: "fix: Add setting correlation id when Events created via AutoEvents" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-08T17:59:20.623Z] provisioning config files... [2021-11-08T17:59:20.634Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1933442088815240678tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T17:59:21.035Z] ---> docker-login.sh [2021-11-08T17:59:21.035Z] nexus3.edgexfoundry.org:10001 [2021-11-08T17:59:21.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T17:59:21.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T17:59:21.035Z] Configure a credential helper to remove this warning. See [2021-11-08T17:59:21.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T17:59:21.035Z] [2021-11-08T17:59:21.035Z] Login Succeeded [2021-11-08T17:59:21.035Z] nexus3.edgexfoundry.org:10002 [2021-11-08T17:59:21.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T17:59:21.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T17:59:21.303Z] Configure a credential helper to remove this warning. See [2021-11-08T17:59:21.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T17:59:21.303Z] [2021-11-08T17:59:21.303Z] Login Succeeded [2021-11-08T17:59:21.303Z] nexus3.edgexfoundry.org:10003 [2021-11-08T17:59:21.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T17:59:21.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T17:59:21.303Z] Configure a credential helper to remove this warning. See [2021-11-08T17:59:21.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T17:59:21.303Z] [2021-11-08T17:59:21.303Z] Login Succeeded [2021-11-08T17:59:21.303Z] nexus3.edgexfoundry.org:10004 [2021-11-08T17:59:21.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T17:59:21.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T17:59:21.564Z] Configure a credential helper to remove this warning. See [2021-11-08T17:59:21.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T17:59:21.564Z] [2021-11-08T17:59:21.564Z] Login Succeeded [2021-11-08T17:59:21.564Z] docker.io [2021-11-08T17:59:21.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T17:59:21.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T17:59:21.824Z] Configure a credential helper to remove this warning. See [2021-11-08T17:59:21.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T17:59:21.824Z] [2021-11-08T17:59:21.824Z] Login Succeeded [2021-11-08T17:59:21.824Z] ---> docker-login.sh ends [Pipeline] } [2021-11-08T17:59:21.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-08T17:59:21.989Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-08T17:59:22.001Z] ========================================================= [2021-11-08T17:59:22.001Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-08T17:59:22.001Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-08T17:59:22.305Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-11-08T17:59:22.306Z] Sending build context to Docker daemon 2.742MB [2021-11-08T17:59:22.306Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-08T17:59:22.306Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-08T17:59:22.306Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-08T17:59:22.306Z] a0d0a0d46f8b: Pulling fs layer [2021-11-08T17:59:22.306Z] 31adcdaf11c8: Pulling fs layer [2021-11-08T17:59:22.306Z] b8b176561691: Pulling fs layer [2021-11-08T17:59:22.306Z] 4527c011a84f: Pulling fs layer [2021-11-08T17:59:22.306Z] 5d74067f8e1e: Pulling fs layer [2021-11-08T17:59:22.306Z] e0aca202a116: Pulling fs layer [2021-11-08T17:59:22.306Z] 3a43be97a3b4: Pulling fs layer [2021-11-08T17:59:22.306Z] 34cad66bf833: Pulling fs layer [2021-11-08T17:59:22.306Z] b4e3c513aaa6: Pulling fs layer [2021-11-08T17:59:22.306Z] 4527c011a84f: Waiting [2021-11-08T17:59:22.306Z] 5d74067f8e1e: Waiting [2021-11-08T17:59:22.306Z] e0aca202a116: Waiting [2021-11-08T17:59:22.306Z] 3a43be97a3b4: Waiting [2021-11-08T17:59:22.306Z] 34cad66bf833: Waiting [2021-11-08T17:59:22.306Z] b4e3c513aaa6: Waiting [2021-11-08T17:59:22.306Z] b8b176561691: Verifying Checksum [2021-11-08T17:59:22.306Z] b8b176561691: Download complete [2021-11-08T17:59:22.306Z] 31adcdaf11c8: Verifying Checksum [2021-11-08T17:59:22.306Z] 31adcdaf11c8: Download complete [2021-11-08T17:59:22.597Z] 5d74067f8e1e: Verifying Checksum [2021-11-08T17:59:22.597Z] 5d74067f8e1e: Download complete [2021-11-08T17:59:22.597Z] e0aca202a116: Verifying Checksum [2021-11-08T17:59:22.597Z] e0aca202a116: Download complete [2021-11-08T17:59:22.597Z] 3a43be97a3b4: Verifying Checksum [2021-11-08T17:59:22.597Z] 3a43be97a3b4: Download complete [2021-11-08T17:59:22.597Z] a0d0a0d46f8b: Verifying Checksum [2021-11-08T17:59:22.597Z] a0d0a0d46f8b: Download complete [2021-11-08T17:59:22.597Z] 34cad66bf833: Verifying Checksum [2021-11-08T17:59:22.597Z] 34cad66bf833: Download complete [2021-11-08T17:59:22.874Z] 4527c011a84f: Verifying Checksum [2021-11-08T17:59:22.874Z] 4527c011a84f: Download complete [2021-11-08T17:59:23.145Z] a0d0a0d46f8b: Pull complete [2021-11-08T17:59:23.145Z] b4e3c513aaa6: Verifying Checksum [2021-11-08T17:59:23.145Z] b4e3c513aaa6: Download complete [2021-11-08T17:59:23.145Z] 31adcdaf11c8: Pull complete [2021-11-08T17:59:23.145Z] b8b176561691: Pull complete [2021-11-08T17:59:27.396Z] 4527c011a84f: Pull complete [2021-11-08T17:59:27.396Z] 5d74067f8e1e: Pull complete [2021-11-08T17:59:27.396Z] e0aca202a116: Pull complete [2021-11-08T17:59:27.396Z] 3a43be97a3b4: Pull complete [2021-11-08T17:59:27.396Z] 34cad66bf833: Pull complete [2021-11-08T17:59:29.321Z] b4e3c513aaa6: Pull complete [2021-11-08T17:59:29.321Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-08T17:59:29.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-08T17:59:29.321Z] ---> 9f6097aaca64 [2021-11-08T17:59:29.321Z] Step 3/10 : ARG MAKE=make build [2021-11-08T17:59:30.707Z] ---> Running in 6636a818e102 [2021-11-08T17:59:30.707Z] Removing intermediate container 6636a818e102 [2021-11-08T17:59:30.707Z] ---> f568fe521a84 [2021-11-08T17:59:30.707Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-08T17:59:30.707Z] ---> Running in dce5d4276699 [2021-11-08T17:59:30.975Z] Removing intermediate container dce5d4276699 [2021-11-08T17:59:30.975Z] ---> b3f5d7a7a06d [2021-11-08T17:59:30.975Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-08T17:59:30.975Z] ---> Running in e68913a6aa4e [2021-11-08T17:59:30.975Z] Removing intermediate container e68913a6aa4e [2021-11-08T17:59:30.975Z] ---> df27f7b7859d [2021-11-08T17:59:30.975Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T17:59:30.975Z] ---> Running in 24bcc6646dfe [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-08T17:59:31.251Z] provisioning config files... [2021-11-08T17:59:31.276Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config429944213626029331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T17:59:31.551Z] Removing intermediate container 24bcc6646dfe [2021-11-08T17:59:31.551Z] ---> 22ed35fb46f0 [2021-11-08T17:59:31.551Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-08T17:59:31.551Z] ---> Running in 7f11ad61bfe3 [2021-11-08T17:59:31.643Z] ---> docker-login.sh [2021-11-08T17:59:31.643Z] nexus3.edgexfoundry.org:10001 [2021-11-08T17:59:31.812Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-08T17:59:32.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T17:59:32.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T17:59:32.514Z] Configure a credential helper to remove this warning. See [2021-11-08T17:59:32.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T17:59:32.514Z] [2021-11-08T17:59:32.514Z] Login Succeeded [2021-11-08T17:59:32.514Z] nexus3.edgexfoundry.org:10002 [2021-11-08T17:59:32.763Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-08T17:59:32.763Z] OK: 220 MiB in 52 packages [2021-11-08T17:59:33.038Z] Removing intermediate container 7f11ad61bfe3 [2021-11-08T17:59:33.038Z] ---> 976c9d2c7369 [2021-11-08T17:59:33.038Z] Step 8/10 : COPY . . [2021-11-08T17:59:33.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T17:59:33.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T17:59:33.113Z] Configure a credential helper to remove this warning. See [2021-11-08T17:59:33.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T17:59:33.113Z] [2021-11-08T17:59:33.113Z] Login Succeeded [2021-11-08T17:59:33.113Z] nexus3.edgexfoundry.org:10003 [2021-11-08T17:59:33.615Z] ---> 9dc297c0f94d [2021-11-08T17:59:33.615Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-08T17:59:33.615Z] ---> Running in 00c5323577f6 [2021-11-08T17:59:33.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T17:59:33.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T17:59:33.714Z] Configure a credential helper to remove this warning. See [2021-11-08T17:59:33.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T17:59:33.714Z] [2021-11-08T17:59:33.714Z] Login Succeeded [2021-11-08T17:59:33.714Z] nexus3.edgexfoundry.org:10004 [2021-11-08T17:59:33.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T17:59:34.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T17:59:34.260Z] Configure a credential helper to remove this warning. See [2021-11-08T17:59:34.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T17:59:34.260Z] [2021-11-08T17:59:34.260Z] Login Succeeded [2021-11-08T17:59:34.260Z] docker.io [2021-11-08T17:59:34.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T17:59:35.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T17:59:35.132Z] Configure a credential helper to remove this warning. See [2021-11-08T17:59:35.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T17:59:35.132Z] [2021-11-08T17:59:35.132Z] Login Succeeded [2021-11-08T17:59:35.132Z] ---> docker-login.sh ends [Pipeline] } [2021-11-08T17:59:35.149Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-08T17:59:35.599Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-08T17:59:35.605Z] ========================================================= [2021-11-08T17:59:35.605Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-08T17:59:35.605Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-08T17:59:35.975Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-11-08T17:59:36.584Z] Sending build context to Docker daemon 2.741MB [2021-11-08T17:59:36.584Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-08T17:59:36.584Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-08T17:59:36.584Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-08T17:59:36.584Z] 552d1f2373af: Pulling fs layer [2021-11-08T17:59:36.584Z] ea3f2d53f512: Pulling fs layer [2021-11-08T17:59:36.584Z] 9e70ebbbe112: Pulling fs layer [2021-11-08T17:59:36.584Z] 7a9cfe048b4a: Pulling fs layer [2021-11-08T17:59:36.584Z] 72dc09318566: Pulling fs layer [2021-11-08T17:59:36.584Z] f4f7b4309257: Pulling fs layer [2021-11-08T17:59:36.584Z] 0ac9a79272e3: Pulling fs layer [2021-11-08T17:59:36.584Z] b78e95d17946: Pulling fs layer [2021-11-08T17:59:36.584Z] 72dc09318566: Waiting [2021-11-08T17:59:36.584Z] f4f7b4309257: Waiting [2021-11-08T17:59:36.584Z] 7a9cfe048b4a: Waiting [2021-11-08T17:59:36.584Z] 0ac9a79272e3: Waiting [2021-11-08T17:59:36.584Z] b78e95d17946: Waiting [2021-11-08T17:59:36.862Z] 9e70ebbbe112: Verifying Checksum [2021-11-08T17:59:36.862Z] 9e70ebbbe112: Download complete [2021-11-08T17:59:36.862Z] ea3f2d53f512: Verifying Checksum [2021-11-08T17:59:36.862Z] ea3f2d53f512: Download complete [2021-11-08T17:59:36.862Z] 72dc09318566: Download complete [2021-11-08T17:59:36.862Z] f4f7b4309257: Download complete [2021-11-08T17:59:36.862Z] 0ac9a79272e3: Verifying Checksum [2021-11-08T17:59:36.862Z] 0ac9a79272e3: Download complete [2021-11-08T17:59:36.862Z] 552d1f2373af: Verifying Checksum [2021-11-08T17:59:36.862Z] 552d1f2373af: Download complete [2021-11-08T17:59:37.463Z] 552d1f2373af: Pull complete [2021-11-08T17:59:38.452Z] ea3f2d53f512: Pull complete [2021-11-08T17:59:38.730Z] 9e70ebbbe112: Pull complete [2021-11-08T17:59:39.005Z] b78e95d17946: Verifying Checksum [2021-11-08T17:59:39.005Z] b78e95d17946: Download complete [2021-11-08T17:59:39.280Z] 7a9cfe048b4a: Verifying Checksum [2021-11-08T17:59:39.280Z] 7a9cfe048b4a: Download complete [2021-11-08T17:59:49.439Z] 7a9cfe048b4a: Pull complete [2021-11-08T17:59:49.439Z] 72dc09318566: Pull complete [2021-11-08T17:59:49.711Z] f4f7b4309257: Pull complete [2021-11-08T17:59:49.985Z] 0ac9a79272e3: Pull complete [2021-11-08T17:59:56.696Z] b78e95d17946: Pull complete [2021-11-08T17:59:56.696Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-08T17:59:56.696Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-08T17:59:56.696Z] ---> 8b459fc5aaf0 [2021-11-08T17:59:56.696Z] Step 3/10 : ARG MAKE=make build [2021-11-08T17:59:57.293Z] ---> Running in b0d72f061178 [2021-11-08T17:59:57.892Z] Removing intermediate container b0d72f061178 [2021-11-08T17:59:57.892Z] ---> 86ada3d7ad3c [2021-11-08T17:59:57.892Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-08T17:59:57.892Z] ---> Running in f72e3f6a5609 [2021-11-08T17:59:58.170Z] Removing intermediate container f72e3f6a5609 [2021-11-08T17:59:58.170Z] ---> 68e23fa295da [2021-11-08T17:59:58.170Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-08T17:59:58.449Z] ---> Running in 41e1774c7f5e [2021-11-08T17:59:59.053Z] Removing intermediate container 41e1774c7f5e [2021-11-08T17:59:59.053Z] ---> 8f1e851dbf13 [2021-11-08T17:59:59.053Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T17:59:59.053Z] ---> Running in 8263a772b11c [2021-11-08T18:00:01.029Z] Removing intermediate container 8263a772b11c [2021-11-08T18:00:01.029Z] ---> 9c5f1a88e8fd [2021-11-08T18:00:01.029Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-08T18:00:01.301Z] ---> Running in 79acda4cde69 [2021-11-08T18:00:02.737Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-08T18:00:03.341Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-08T18:00:04.340Z] OK: 219 MiB in 52 packages [2021-11-08T18:00:05.326Z] Removing intermediate container 79acda4cde69 [2021-11-08T18:00:05.326Z] ---> 30978862a6d5 [2021-11-08T18:00:05.326Z] Step 8/10 : COPY . . [2021-11-08T18:00:06.014Z] Removing intermediate container 00c5323577f6 [2021-11-08T18:00:06.014Z] ---> 6e04e82f42fc [2021-11-08T18:00:06.014Z] Step 10/10 : RUN ${MAKE} [2021-11-08T18:00:06.014Z] ---> Running in 0f7a2575e666 [2021-11-08T18:00:06.014Z] noop [2021-11-08T18:00:06.014Z] Removing intermediate container 0f7a2575e666 [2021-11-08T18:00:06.014Z] ---> c7aa3224ea70 [2021-11-08T18:00:06.014Z] Successfully built c7aa3224ea70 [2021-11-08T18:00:06.014Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-08T18:00:06.311Z] ---> fd624b3ce5c2 [2021-11-08T18:00:06.311Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-08T18:00:06.311Z] ---> Running in 9036f00ed59f [2021-11-08T18:00:06.314Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-08T18:00:06.314Z] . [Pipeline] withDockerContainer [2021-11-08T18:00:06.382Z] prd-centos7-docker-4c-2g-27959 does not seem to be running inside a container [2021-11-08T18:00:06.431Z] $ 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-x86_64 cat [2021-11-08T18:00:06.848Z] $ docker top 953f2276b57c44565978fc577b6b24d098cf28e19cd73d09115a58728843fca6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-08T18:00:07.249Z] + go version [2021-11-08T18:00:07.249Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-08T18:00:07.260Z] $ docker stop --time=1 953f2276b57c44565978fc577b6b24d098cf28e19cd73d09115a58728843fca6 [2021-11-08T18:00:08.484Z] $ docker rm -f 953f2276b57c44565978fc577b6b24d098cf28e19cd73d09115a58728843fca6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-08T18:00:08.992Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-08T18:00:08.993Z] . [Pipeline] withDockerContainer [2021-11-08T18:00:09.068Z] prd-centos7-docker-4c-2g-27959 does not seem to be running inside a container [2021-11-08T18:00:09.102Z] $ 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-x86_64 cat [2021-11-08T18:00:09.491Z] $ docker top fa99c1d7747e1f4f2b63330d6d2b125be1066606995726889e0220d18d6ec965 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-08T18:00:09.868Z] + make test [2021-11-08T18:00:09.868Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-08T18:00:15.191Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-08T18:00:41.876Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-08T18:00:41.876Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-08T18:00:41.876Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-08T18:00:41.876Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.056s coverage: 23.5% of statements [2021-11-08T18:00:41.876Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-08T18:00:41.876Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.044s coverage: 27.6% of statements [2021-11-08T18:00:42.139Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.051s coverage: 78.9% of statements [2021-11-08T18:00:42.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.045s coverage: 9.0% of statements [2021-11-08T18:00:42.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-08T18:00:42.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-08T18:00:42.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-08T18:00:43.304Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.058s coverage: 28.7% of statements [2021-11-08T18:00:43.304Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-08T18:00:44.709Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.047s coverage: 83.3% of statements [2021-11-08T18:00:44.709Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-08T18:00:44.709Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-08T18:00:44.709Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 57.8% of statements [2021-11-08T18:00:45.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.830s coverage: 89.2% of statements [2021-11-08T18:00:45.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-08T18:00:45.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.049s coverage: 4.9% of statements [2021-11-08T18:00:45.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-08T18:00:45.670Z] GO111MODULE=on go vet ./... [2021-11-08T18:01:07.783Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-08T18:01:07.783Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-08T18:01:07.783Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-08T18:01:07.793Z] $ docker stop --time=1 fa99c1d7747e1f4f2b63330d6d2b125be1066606995726889e0220d18d6ec965 [2021-11-08T18:01:09.242Z] $ docker rm -f fa99c1d7747e1f4f2b63330d6d2b125be1066606995726889e0220d18d6ec965 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-08T18:01:09.682Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-08T18:01:09.866Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-08T18:01:11.116Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-08T18:01:11.441Z] + ls -al . [2021-11-08T18:01:11.441Z] total 264 [2021-11-08T18:01:11.441Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 8 18:01 . [2021-11-08T18:01:11.441Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 8 17:59 .. [2021-11-08T18:01:11.441Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 8 17:59 bin [2021-11-08T18:01:11.441Z] -rw-rw-r--. 1 jenkins jenkins 24816 Nov 8 17:59 CHANGELOG.md [2021-11-08T18:01:11.441Z] -rw-r--r--. 1 jenkins jenkins 127569 Nov 8 18:00 coverage.out [2021-11-08T18:01:11.441Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 8 17:59 .dockerignore [2021-11-08T18:01:11.441Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 8 17:59 example [2021-11-08T18:01:11.441Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 8 17:59 .git [2021-11-08T18:01:11.441Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 8 17:59 .github [2021-11-08T18:01:11.441Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 8 17:59 .gitignore [2021-11-08T18:01:11.441Z] -rw-rw-r--. 1 jenkins jenkins 602 Nov 8 17:59 go.mod [2021-11-08T18:01:11.441Z] -rw-rw-r--. 1 jenkins jenkins 49022 Nov 8 17:59 go.sum [2021-11-08T18:01:11.441Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 8 17:59 GOVERNANCE.md [2021-11-08T18:01:11.441Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 8 17:59 internal [2021-11-08T18:01:11.441Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 8 17:59 Jenkinsfile [2021-11-08T18:01:11.441Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 8 17:59 LICENSE [2021-11-08T18:01:11.441Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 8 17:59 Makefile [2021-11-08T18:01:11.441Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 8 17:59 openapi [2021-11-08T18:01:11.441Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 8 17:59 OWNERS.md [2021-11-08T18:01:11.441Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 8 17:59 pkg [2021-11-08T18:01:11.441Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 8 17:59 README.md [2021-11-08T18:01:11.441Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 8 17:59 snap [2021-11-08T18:01:11.441Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 8 17:56 VERSION [2021-11-08T18:01:11.441Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 8 17:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-08T18:01:11.771Z] + 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=ef01e9ba3f6e835449006231ead7474d7327b9ec --label arch=amd64 --label version=0.0.0 . [2021-11-08T18:01:11.771Z] Sending build context to Docker daemon 2.87MB [2021-11-08T18:01:11.771Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-08T18:01:11.771Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-08T18:01:11.771Z] ---> c7aa3224ea70 [2021-11-08T18:01:11.771Z] Step 3/24 : ARG MAKE=make build [2021-11-08T18:01:11.771Z] ---> Running in d9e79c7cb3cd [2021-11-08T18:01:11.771Z] Removing intermediate container d9e79c7cb3cd [2021-11-08T18:01:11.771Z] ---> 04e96f54b946 [2021-11-08T18:01:11.771Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-08T18:01:12.034Z] ---> Running in 0904fc45c6dd [2021-11-08T18:01:12.034Z] Removing intermediate container 0904fc45c6dd [2021-11-08T18:01:12.034Z] ---> 89bc4ac48884 [2021-11-08T18:01:12.034Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-08T18:01:12.034Z] ---> Running in b3aefac38f6a [2021-11-08T18:01:12.034Z] Removing intermediate container b3aefac38f6a [2021-11-08T18:01:12.034Z] ---> 14897b3cec99 [2021-11-08T18:01:12.034Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T18:01:12.034Z] ---> Running in 94049828f39a [2021-11-08T18:01:12.612Z] Removing intermediate container 94049828f39a [2021-11-08T18:01:12.612Z] ---> aa22a689cca6 [2021-11-08T18:01:12.612Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-08T18:01:12.612Z] ---> Running in f6b316496acf [2021-11-08T18:01:12.877Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-08T18:01:13.820Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-08T18:01:14.079Z] OK: 220 MiB in 52 packages [2021-11-08T18:01:14.339Z] Removing intermediate container f6b316496acf [2021-11-08T18:01:14.339Z] ---> 6b52e232f9ee [2021-11-08T18:01:14.339Z] Step 8/24 : COPY . . [2021-11-08T18:01:14.600Z] ---> 5064e6cc523c [2021-11-08T18:01:14.600Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-08T18:01:14.600Z] ---> Running in 502d2bc9b987 [2021-11-08T18:01:15.175Z] Removing intermediate container 502d2bc9b987 [2021-11-08T18:01:15.175Z] ---> 30b4337684ed [2021-11-08T18:01:15.175Z] Step 10/24 : RUN ${MAKE} [2021-11-08T18:01:15.437Z] ---> Running in 178da72896b6 [2021-11-08T18:01:15.704Z] 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-11-08T18:01:28.004Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-08T18:01:28.004Z] Removing intermediate container 178da72896b6 [2021-11-08T18:01:28.004Z] ---> 60cb26fd2d84 [2021-11-08T18:01:28.004Z] Step 11/24 : FROM alpine:3.14 [2021-11-08T18:01:28.116Z] Removing intermediate container 9036f00ed59f [2021-11-08T18:01:28.116Z] ---> 989dd8996cb7 [2021-11-08T18:01:28.116Z] Step 10/10 : RUN ${MAKE} [2021-11-08T18:01:28.116Z] ---> Running in 67b0c0a172ed [2021-11-08T18:01:28.116Z] noop [2021-11-08T18:01:28.116Z] Removing intermediate container 67b0c0a172ed [2021-11-08T18:01:28.116Z] ---> 48a5bd1cc1ca [2021-11-08T18:01:28.116Z] Successfully built 48a5bd1cc1ca [2021-11-08T18:01:28.116Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-08T18:01:28.456Z] + docker inspect -f . ci-base-image-arm64 [2021-11-08T18:01:28.456Z] . [Pipeline] withDockerContainer [2021-11-08T18:01:28.715Z] prd-ubuntu18.04-docker-arm64-4c-16g-27958 does not seem to be running inside a container [2021-11-08T18:01:28.838Z] $ 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-11-08T18:01:30.398Z] $ docker top c2899cba287a843f09130e38e8c2ef2c1f29e124ffb8f5a6990f9076ac824ae9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-08T18:01:31.329Z] + go version [2021-11-08T18:01:31.329Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-08T18:01:31.396Z] $ docker stop --time=1 c2899cba287a843f09130e38e8c2ef2c1f29e124ffb8f5a6990f9076ac824ae9 [2021-11-08T18:01:32.235Z] 3.14: Pulling from library/alpine [2021-11-08T18:01:32.236Z] a0d0a0d46f8b: Already exists [2021-11-08T18:01:32.236Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-08T18:01:32.236Z] Status: Downloaded newer image for alpine:3.14 [2021-11-08T18:01:32.236Z] ---> 14119a10abf4 [2021-11-08T18:01:32.236Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-08T18:01:32.236Z] ---> Running in 45bfbdeb21de [2021-11-08T18:01:32.236Z] Removing intermediate container 45bfbdeb21de [2021-11-08T18:01:32.236Z] ---> 8ee94b633be2 [2021-11-08T18:01:32.236Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T18:01:32.236Z] ---> Running in 6b9b76731dd7 [2021-11-08T18:01:32.505Z] Removing intermediate container 6b9b76731dd7 [2021-11-08T18:01:32.506Z] ---> 4da0b02206a9 [2021-11-08T18:01:32.506Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-08T18:01:32.777Z] ---> Running in 19c8e99cffc2 [2021-11-08T18:01:33.049Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-08T18:01:33.102Z] $ docker rm -f c2899cba287a843f09130e38e8c2ef2c1f29e124ffb8f5a6990f9076ac824ae9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-08T18:01:33.785Z] + docker inspect -f . ci-base-image-arm64 [2021-11-08T18:01:33.785Z] . [Pipeline] withDockerContainer [2021-11-08T18:01:34.009Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-08T18:01:34.045Z] prd-ubuntu18.04-docker-arm64-4c-16g-27958 does not seem to be running inside a container [2021-11-08T18:01:34.182Z] $ 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-11-08T18:01:34.270Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-08T18:01:34.270Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-08T18:01:34.270Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-08T18:01:34.531Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-08T18:01:34.531Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-08T18:01:34.531Z] Executing busybox-1.33.1-r3.trigger [2021-11-08T18:01:34.531Z] OK: 8 MiB in 19 packages [2021-11-08T18:01:34.791Z] Removing intermediate container 19c8e99cffc2 [2021-11-08T18:01:34.791Z] ---> c0a294fba748 [2021-11-08T18:01:34.791Z] Step 15/24 : WORKDIR / [2021-11-08T18:01:35.052Z] ---> Running in e1474a8f547c [2021-11-08T18:01:35.052Z] Removing intermediate container e1474a8f547c [2021-11-08T18:01:35.052Z] ---> 455e66377be9 [2021-11-08T18:01:35.052Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-08T18:01:35.052Z] ---> 12424ac2966c [2021-11-08T18:01:35.052Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-08T18:01:35.623Z] ---> e87e6450eb58 [2021-11-08T18:01:35.623Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-08T18:01:35.623Z] ---> 636fd4d60b55 [2021-11-08T18:01:35.623Z] Step 19/24 : EXPOSE 59999 [2021-11-08T18:01:35.623Z] ---> Running in 94e4739d2603 [2021-11-08T18:01:35.706Z] $ docker top 81f34465ee8175da0f7b0c965dea515012c5ccee34d79263a236ff16068666a2 -eo pid,comm [2021-11-08T18:01:35.883Z] Removing intermediate container 94e4739d2603 [2021-11-08T18:01:35.883Z] ---> 011c73d7f585 [2021-11-08T18:01:35.883Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-08T18:01:35.883Z] ---> Running in f3f247ef8b70 [2021-11-08T18:01:35.883Z] Removing intermediate container f3f247ef8b70 [2021-11-08T18:01:35.883Z] ---> e0fc7de0084f [2021-11-08T18:01:35.883Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-08T18:01:35.883Z] ---> Running in af857eccbff1 [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-08T18:01:36.159Z] Removing intermediate container af857eccbff1 [2021-11-08T18:01:36.159Z] ---> 187460a71c3a [2021-11-08T18:01:36.159Z] Step 22/24 : LABEL arch=amd64 [2021-11-08T18:01:36.159Z] ---> Running in 5079df5175fa [2021-11-08T18:01:36.159Z] Removing intermediate container 5079df5175fa [2021-11-08T18:01:36.159Z] ---> 0fb120a2af34 [2021-11-08T18:01:36.159Z] Step 23/24 : LABEL git_sha=ef01e9ba3f6e835449006231ead7474d7327b9ec [2021-11-08T18:01:36.159Z] ---> Running in 8cda7faf47a3 [2021-11-08T18:01:36.159Z] Removing intermediate container 8cda7faf47a3 [2021-11-08T18:01:36.160Z] ---> ffc66a65d712 [2021-11-08T18:01:36.160Z] Step 24/24 : LABEL version=0.0.0 [2021-11-08T18:01:36.160Z] ---> Running in ce43d35c9ecc [2021-11-08T18:01:36.420Z] Removing intermediate container ce43d35c9ecc [2021-11-08T18:01:36.420Z] ---> 32a3554f93b5 [2021-11-08T18:01:36.420Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-08T18:01:36.420Z] Successfully built 32a3554f93b5 [2021-11-08T18:01:36.420Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2021-11-08T18:01:36.616Z] + make test [2021-11-08T18:01:36.616Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-08T18:01:37.025Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T18:01:37.026Z] [2021-11-08T18:01:37.026Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-08T18:01:37.332Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T18:01:37.332Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-08T18:01:37.332Z] b4d181a07f80: Pulling fs layer [2021-11-08T18:01:37.332Z] a1111a8f2ec3: Pulling fs layer [2021-11-08T18:01:37.332Z] ed53099fbce6: Pulling fs layer [2021-11-08T18:01:37.332Z] dc539afda2c1: Pulling fs layer [2021-11-08T18:01:37.332Z] 77bc0d833cb6: Pulling fs layer [2021-11-08T18:01:37.332Z] 9065ff56babe: Pulling fs layer [2021-11-08T18:01:37.332Z] d287ab97295c: Pulling fs layer [2021-11-08T18:01:37.332Z] 77bc0d833cb6: Waiting [2021-11-08T18:01:37.332Z] 9065ff56babe: Waiting [2021-11-08T18:01:37.332Z] d287ab97295c: Waiting [2021-11-08T18:01:37.332Z] dc539afda2c1: Waiting [2021-11-08T18:01:37.332Z] a1111a8f2ec3: Verifying Checksum [2021-11-08T18:01:37.332Z] a1111a8f2ec3: Download complete [2021-11-08T18:01:37.332Z] dc539afda2c1: Verifying Checksum [2021-11-08T18:01:37.332Z] dc539afda2c1: Download complete [2021-11-08T18:01:37.592Z] 77bc0d833cb6: Verifying Checksum [2021-11-08T18:01:37.592Z] 77bc0d833cb6: Download complete [2021-11-08T18:01:37.592Z] ed53099fbce6: Verifying Checksum [2021-11-08T18:01:37.592Z] ed53099fbce6: Download complete [2021-11-08T18:01:37.592Z] 9065ff56babe: Verifying Checksum [2021-11-08T18:01:37.592Z] 9065ff56babe: Download complete [2021-11-08T18:01:37.592Z] b4d181a07f80: Verifying Checksum [2021-11-08T18:01:37.592Z] b4d181a07f80: Download complete [2021-11-08T18:01:38.174Z] d287ab97295c: Verifying Checksum [2021-11-08T18:01:38.174Z] d287ab97295c: Download complete [2021-11-08T18:01:39.125Z] b4d181a07f80: Pull complete [2021-11-08T18:01:39.390Z] a1111a8f2ec3: Pull complete [2021-11-08T18:01:40.344Z] ed53099fbce6: Pull complete [2021-11-08T18:01:40.344Z] dc539afda2c1: Pull complete [2021-11-08T18:01:40.604Z] 77bc0d833cb6: Pull complete [2021-11-08T18:01:40.604Z] 9065ff56babe: Pull complete [2021-11-08T18:01:45.950Z] d287ab97295c: Pull complete [2021-11-08T18:01:46.212Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-08T18:01:46.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T18:01:46.212Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-08T18:01:46.286Z] prd-centos7-docker-4c-2g-27959 does not seem to be running inside a container [2021-11-08T18:01:46.319Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-08T18:01:49.002Z] $ docker top 5f46467879d52f6a9a0b78d925c049c502524a4e42d6811dfddf39c3b2e63140 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T18:01:49.446Z] ---> job-cost.sh [2021-11-08T18:01:49.446Z] lf-activate-venv: SKIPPING [2021-11-08T18:01:49.446Z] INFO: No Stack... [2021-11-08T18:01:56.030Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-08T18:01:56.030Z] INFO: Archiving Costs [Pipeline] sh [2021-11-08T18:01:56.322Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-11-08T18:01:56.322Z] + cut -d, -f6 [Pipeline] lock [2021-11-08T18:01:56.357Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1058-3-stack-cost] [2021-11-08T18:01:56.369Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1058-3-stack-cost] did not exist. Created. [2021-11-08T18:01:56.369Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1058-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-08T18:01:56.702Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-08T18:01:56.738Z] Stashed 1 file(s) [Pipeline] } [2021-11-08T18:01:56.744Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1058-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-08T18:01:56.761Z] $ docker stop --time=1 5f46467879d52f6a9a0b78d925c049c502524a4e42d6811dfddf39c3b2e63140 [2021-11-08T18:01:57.917Z] $ docker rm -f 5f46467879d52f6a9a0b78d925c049c502524a4e42d6811dfddf39c3b2e63140 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-08T18:02:03.433Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-08T18:03:11.649Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-08T18:03:11.649Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-08T18:03:11.649Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-08T18:03:18.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.290s coverage: 23.5% of statements [2021-11-08T18:03:18.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-08T18:03:18.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.199s coverage: 27.6% of statements [2021-11-08T18:03:18.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.259s coverage: 78.9% of statements [2021-11-08T18:03:18.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.260s coverage: 9.0% of statements [2021-11-08T18:03:18.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-08T18:03:18.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-08T18:03:18.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-08T18:03:19.432Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.358s coverage: 28.7% of statements [2021-11-08T18:03:19.432Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-08T18:03:21.430Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.292s coverage: 83.3% of statements [2021-11-08T18:03:21.430Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-08T18:03:21.430Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-08T18:03:21.430Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.416s coverage: 57.8% of statements [2021-11-08T18:03:25.752Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.061s coverage: 89.2% of statements [2021-11-08T18:03:25.752Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-08T18:03:25.752Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.208s coverage: 4.9% of statements [2021-11-08T18:03:25.752Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-08T18:03:26.025Z] GO111MODULE=on go vet ./... [2021-11-08T18:04:22.601Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-08T18:04:22.601Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-08T18:04:23.198Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-08T18:04:25.290Z] $ docker stop --time=1 81f34465ee8175da0f7b0c965dea515012c5ccee34d79263a236ff16068666a2 [2021-11-08T18:04:27.149Z] $ docker rm -f 81f34465ee8175da0f7b0c965dea515012c5ccee34d79263a236ff16068666a2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-08T18:04:28.170Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-08T18:04:28.197Z] Warning: overwriting stash ‘coverage-report’ [2021-11-08T18:04:28.839Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-08T18:04:29.311Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-08T18:04:29.645Z] + ls -al . [2021-11-08T18:04:29.645Z] total 300 [2021-11-08T18:04:29.645Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 18:04 . [2021-11-08T18:04:29.645Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 17:59 .. [2021-11-08T18:04:29.645Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 17:59 .dockerignore [2021-11-08T18:04:29.645Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 17:59 .git [2021-11-08T18:04:29.645Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 17:59 .github [2021-11-08T18:04:29.645Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 8 17:59 .gitignore [2021-11-08T18:04:29.645Z] -rw-rw-r-- 1 jenkins jenkins 24816 Nov 8 17:59 CHANGELOG.md [2021-11-08T18:04:29.645Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 17:59 GOVERNANCE.md [2021-11-08T18:04:29.645Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 8 17:59 Jenkinsfile [2021-11-08T18:04:29.645Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 8 17:59 LICENSE [2021-11-08T18:04:29.645Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 8 17:59 Makefile [2021-11-08T18:04:29.645Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 8 17:59 OWNERS.md [2021-11-08T18:04:29.645Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 8 17:59 README.md [2021-11-08T18:04:29.645Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 17:56 VERSION [2021-11-08T18:04:29.645Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 17:59 bin [2021-11-08T18:04:29.645Z] -rw-r--r-- 1 jenkins jenkins 127568 Nov 8 18:03 coverage.out [2021-11-08T18:04:29.645Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 8 17:59 example [2021-11-08T18:04:29.645Z] -rw-rw-r-- 1 jenkins jenkins 602 Nov 8 17:59 go.mod [2021-11-08T18:04:29.645Z] -rw-rw-r-- 1 jenkins jenkins 49022 Nov 8 17:59 go.sum [2021-11-08T18:04:29.645Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 8 17:59 internal [2021-11-08T18:04:29.645Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 17:59 openapi [2021-11-08T18:04:29.645Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 8 17:59 pkg [2021-11-08T18:04:29.645Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 17:59 snap [2021-11-08T18:04:29.645Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 8 17:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-08T18:04:29.996Z] + 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=ef01e9ba3f6e835449006231ead7474d7327b9ec --label arch=arm64 --label version=0.0.0 . [2021-11-08T18:04:30.590Z] Sending build context to Docker daemon 2.869MB [2021-11-08T18:04:30.590Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-08T18:04:30.590Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-08T18:04:30.590Z] ---> 48a5bd1cc1ca [2021-11-08T18:04:30.590Z] Step 3/24 : ARG MAKE=make build [2021-11-08T18:04:30.590Z] ---> Running in 26c34f4e0898 [2021-11-08T18:04:31.192Z] Removing intermediate container 26c34f4e0898 [2021-11-08T18:04:31.193Z] ---> 670278549a43 [2021-11-08T18:04:31.193Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-08T18:04:31.193Z] ---> Running in 2e4b4ca41fc2 [2021-11-08T18:04:31.789Z] Removing intermediate container 2e4b4ca41fc2 [2021-11-08T18:04:31.789Z] ---> 1126ed0a886e [2021-11-08T18:04:31.789Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-08T18:04:31.789Z] ---> Running in 2a125bc3b53a [2021-11-08T18:04:32.068Z] Removing intermediate container 2a125bc3b53a [2021-11-08T18:04:32.068Z] ---> 7d472906aff8 [2021-11-08T18:04:32.068Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T18:04:32.342Z] ---> Running in 5569f30491ff [2021-11-08T18:04:34.324Z] Removing intermediate container 5569f30491ff [2021-11-08T18:04:34.324Z] ---> ac1259e2be28 [2021-11-08T18:04:34.324Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-08T18:04:34.324Z] ---> Running in ba5c6aa14f08 [2021-11-08T18:04:35.757Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-08T18:04:36.356Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-08T18:04:37.340Z] OK: 219 MiB in 52 packages [2021-11-08T18:04:37.938Z] Removing intermediate container ba5c6aa14f08 [2021-11-08T18:04:37.938Z] ---> 01d14bc780d1 [2021-11-08T18:04:37.938Z] Step 8/24 : COPY . . [2021-11-08T18:04:39.383Z] ---> dfb6c8899f10 [2021-11-08T18:04:39.383Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-08T18:04:39.383Z] ---> Running in bb938177dfeb [2021-11-08T18:04:42.015Z] Removing intermediate container bb938177dfeb [2021-11-08T18:04:42.015Z] ---> c3cb65cf2299 [2021-11-08T18:04:42.015Z] Step 10/24 : RUN ${MAKE} [2021-11-08T18:04:42.015Z] ---> Running in c9ef3f0afae5 [2021-11-08T18:04:42.996Z] 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-11-08T18:05:22.028Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-08T18:05:22.028Z] Removing intermediate container c9ef3f0afae5 [2021-11-08T18:05:22.028Z] ---> f433c0286ebc [2021-11-08T18:05:22.028Z] Step 11/24 : FROM alpine:3.14 [2021-11-08T18:05:23.455Z] 3.14: Pulling from library/alpine [2021-11-08T18:05:23.455Z] 552d1f2373af: Already exists [2021-11-08T18:05:23.729Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-08T18:05:23.729Z] Status: Downloaded newer image for alpine:3.14 [2021-11-08T18:05:23.729Z] ---> bb3de5531c18 [2021-11-08T18:05:23.729Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-08T18:05:23.729Z] ---> Running in 5bfdbce22679 [2021-11-08T18:05:24.324Z] Removing intermediate container 5bfdbce22679 [2021-11-08T18:05:24.324Z] ---> 196e60d643db [2021-11-08T18:05:24.324Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T18:05:24.324Z] ---> Running in ac2798766857 [2021-11-08T18:05:26.303Z] Removing intermediate container ac2798766857 [2021-11-08T18:05:26.303Z] ---> b88ebcb9f944 [2021-11-08T18:05:26.303Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-08T18:05:26.303Z] ---> Running in 6958ac56435c [2021-11-08T18:05:27.741Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-08T18:05:28.729Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-08T18:05:29.322Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-08T18:05:29.322Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-08T18:05:29.594Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-08T18:05:29.594Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-08T18:05:29.870Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-08T18:05:29.870Z] Executing busybox-1.33.1-r3.trigger [2021-11-08T18:05:29.870Z] OK: 8 MiB in 19 packages [2021-11-08T18:05:30.848Z] Removing intermediate container 6958ac56435c [2021-11-08T18:05:30.848Z] ---> 2df7f0d76485 [2021-11-08T18:05:30.848Z] Step 15/24 : WORKDIR / [2021-11-08T18:05:30.848Z] ---> Running in 936613bb9f46 [2021-11-08T18:05:31.443Z] Removing intermediate container 936613bb9f46 [2021-11-08T18:05:31.443Z] ---> 68c1085df34c [2021-11-08T18:05:31.443Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-08T18:05:32.419Z] ---> 36d24ff0b73d [2021-11-08T18:05:32.419Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-08T18:05:33.395Z] ---> ff2dbe117497 [2021-11-08T18:05:33.395Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-08T18:05:33.991Z] ---> 8223d7e53c33 [2021-11-08T18:05:33.991Z] Step 19/24 : EXPOSE 59999 [2021-11-08T18:05:34.264Z] ---> Running in e70314440ba3 [2021-11-08T18:05:34.536Z] Removing intermediate container e70314440ba3 [2021-11-08T18:05:34.536Z] ---> 4faba7f0103e [2021-11-08T18:05:34.536Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-08T18:05:34.811Z] ---> Running in 5d4d4dd93ca4 [2021-11-08T18:05:35.087Z] Removing intermediate container 5d4d4dd93ca4 [2021-11-08T18:05:35.087Z] ---> 5010f0d1d6b1 [2021-11-08T18:05:35.087Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-08T18:05:35.362Z] ---> Running in 496c02436999 [2021-11-08T18:05:35.637Z] Removing intermediate container 496c02436999 [2021-11-08T18:05:35.637Z] ---> 5bc5c84062eb [2021-11-08T18:05:35.637Z] Step 22/24 : LABEL arch=arm64 [2021-11-08T18:05:35.637Z] ---> Running in 2abebbd2c141 [2021-11-08T18:05:36.233Z] Removing intermediate container 2abebbd2c141 [2021-11-08T18:05:36.233Z] ---> 26e361e570ec [2021-11-08T18:05:36.233Z] Step 23/24 : LABEL git_sha=ef01e9ba3f6e835449006231ead7474d7327b9ec [2021-11-08T18:05:36.233Z] ---> Running in f13d401afd16 [2021-11-08T18:05:36.830Z] Removing intermediate container f13d401afd16 [2021-11-08T18:05:36.830Z] ---> 7cc91febf5f5 [2021-11-08T18:05:36.830Z] Step 24/24 : LABEL version=0.0.0 [2021-11-08T18:05:36.830Z] ---> Running in 34331c028887 [2021-11-08T18:05:37.105Z] Removing intermediate container 34331c028887 [2021-11-08T18:05:37.105Z] ---> e3804bcd4340 [2021-11-08T18:05:37.105Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-08T18:05:37.105Z] Successfully built e3804bcd4340 [2021-11-08T18:05:37.105Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-08T18:05:37.976Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-08T18:05:38.248Z] [2021-11-08T18:05:38.248Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-08T18:05:38.595Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-08T18:05:38.873Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-08T18:05:38.873Z] 448f6bf000e3: Pulling fs layer [2021-11-08T18:05:38.873Z] f757da607395: Pulling fs layer [2021-11-08T18:05:38.873Z] 05883995daec: Pulling fs layer [2021-11-08T18:05:38.873Z] 8603b9c90790: Pulling fs layer [2021-11-08T18:05:38.873Z] 1560dd03e051: Pulling fs layer [2021-11-08T18:05:38.873Z] 27f5ce0e4adf: Pulling fs layer [2021-11-08T18:05:38.873Z] c2d8d7efcc4b: Pulling fs layer [2021-11-08T18:05:38.873Z] 1560dd03e051: Waiting [2021-11-08T18:05:38.873Z] 27f5ce0e4adf: Waiting [2021-11-08T18:05:38.873Z] c2d8d7efcc4b: Waiting [2021-11-08T18:05:38.873Z] f757da607395: Verifying Checksum [2021-11-08T18:05:38.873Z] f757da607395: Download complete [2021-11-08T18:05:39.149Z] 1560dd03e051: Verifying Checksum [2021-11-08T18:05:39.149Z] 1560dd03e051: Download complete [2021-11-08T18:05:39.149Z] 27f5ce0e4adf: Verifying Checksum [2021-11-08T18:05:39.149Z] 27f5ce0e4adf: Download complete [2021-11-08T18:05:39.149Z] 05883995daec: Verifying Checksum [2021-11-08T18:05:39.149Z] 05883995daec: Download complete [2021-11-08T18:05:39.425Z] 448f6bf000e3: Verifying Checksum [2021-11-08T18:05:39.425Z] 448f6bf000e3: Download complete [2021-11-08T18:05:42.045Z] c2d8d7efcc4b: Verifying Checksum [2021-11-08T18:05:42.045Z] c2d8d7efcc4b: Download complete [2021-11-08T18:05:43.023Z] 448f6bf000e3: Pull complete [2021-11-08T18:05:43.621Z] f757da607395: Pull complete [2021-11-08T18:05:45.057Z] 05883995daec: Pull complete [2021-11-08T18:05:45.332Z] 8603b9c90790: Pull complete [2021-11-08T18:05:46.319Z] 1560dd03e051: Pull complete [2021-11-08T18:05:46.916Z] 27f5ce0e4adf: Pull complete [2021-11-08T18:06:02.028Z] c2d8d7efcc4b: Pull complete [2021-11-08T18:06:02.029Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-08T18:06:02.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-08T18:06:02.029Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-08T18:06:02.278Z] prd-ubuntu18.04-docker-arm64-4c-16g-27958 does not seem to be running inside a container [2021-11-08T18:06:02.448Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-08T18:06:05.370Z] $ docker top 92815c439dfee115a38f1bda367d7aad9f21878ac0c7ca1bd9ad2687bdace113 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T18:06:06.282Z] ---> job-cost.sh [2021-11-08T18:06:06.282Z] lf-activate-venv: SKIPPING [2021-11-08T18:06:06.282Z] INFO: No Stack... [2021-11-08T18:06:08.898Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-08T18:06:08.898Z] INFO: Archiving Costs [Pipeline] sh [2021-11-08T18:06:09.567Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-11-08T18:06:09.567Z] + cut -d, -f6 [Pipeline] lock [2021-11-08T18:06:09.630Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1058-3-stack-cost] [2021-11-08T18:06:09.635Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1058-3-stack-cost] did not exist. Created. [2021-11-08T18:06:09.635Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1058-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-08T18:06:10.313Z] /w/workspace/device-sdk-go/3@tmp/durable-6447e465/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-6447e465/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-08T18:06:10.983Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-08T18:06:11.010Z] Warning: overwriting stash ‘stack-cost’ [2021-11-08T18:06:11.079Z] Stashed 1 file(s) [Pipeline] } [2021-11-08T18:06:11.085Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1058-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-08T18:06:11.191Z] $ docker stop --time=1 92815c439dfee115a38f1bda367d7aad9f21878ac0c7ca1bd9ad2687bdace113 [2021-11-08T18:06:12.811Z] $ docker rm -f 92815c439dfee115a38f1bda367d7aad9f21878ac0c7ca1bd9ad2687bdace113 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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-11-08T18:06:13.529Z] provisioning config files... [2021-11-08T18:06:13.538Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1058@tmp/config8326876470219783206tmp [Pipeline] { [Pipeline] sh [2021-11-08T18:06:13.845Z] + set +x [2021-11-08T18:06:13.845Z] + curl -s https://codecov.io/bash [2021-11-08T18:06:13.845Z] + bash -s -- [2021-11-08T18:06:13.845Z] [2021-11-08T18:06:13.845Z] _____ _ [2021-11-08T18:06:13.845Z] / ____| | | [2021-11-08T18:06:13.845Z] | | ___ __| | ___ ___ _____ __ [2021-11-08T18:06:13.845Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-08T18:06:13.845Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-08T18:06:13.845Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-08T18:06:13.845Z] Bash-1.0.6 [2021-11-08T18:06:13.845Z] [2021-11-08T18:06:13.845Z] [2021-11-08T18:06:13.845Z] ==> git version 2.24.4 found [2021-11-08T18:06:13.845Z] ==> 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-11-08T18:06:13.845Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-08T18:06:13.845Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-08T18:06:13.845Z] ==> Jenkins CI detected. [2021-11-08T18:06:13.845Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1058 [2021-11-08T18:06:13.845Z] project root: . [2021-11-08T18:06:13.845Z] --> token set from env [2021-11-08T18:06:13.845Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-08T18:06:14.105Z] ==> Running gcov in . (disable via -X gcov) [2021-11-08T18:06:14.105Z] ==> Python coveragepy not found [2021-11-08T18:06:14.105Z] ==> Searching for coverage reports in: [2021-11-08T18:06:14.105Z] + . [2021-11-08T18:06:14.105Z] -> Found 1 reports [2021-11-08T18:06:14.105Z] ==> Detecting git/mercurial file structure [2021-11-08T18:06:14.105Z] ==> Reading reports [2021-11-08T18:06:14.105Z] + ./coverage.out bytes=127568 [2021-11-08T18:06:14.105Z] ==> Appending adjustments [2021-11-08T18:06:14.105Z] https://docs.codecov.io/docs/fixing-reports [2021-11-08T18:06:14.367Z] + Found adjustments [2021-11-08T18:06:14.367Z] ==> Gzipping contents [2021-11-08T18:06:14.367Z] 16K /tmp/codecov.wV8Jcy.gz [2021-11-08T18:06:14.367Z] ==> Uploading reports [2021-11-08T18:06:14.367Z] url: https://codecov.io [2021-11-08T18:06:14.367Z] query: branch=PR-1058&commit=ef01e9ba3f6e835449006231ead7474d7327b9ec&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1058%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1058&job=&cmd_args= [2021-11-08T18:06:14.367Z] -> Pinging Codecov [2021-11-08T18:06:14.367Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1058&commit=ef01e9ba3f6e835449006231ead7474d7327b9ec&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1058%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1058&job=&cmd_args= [2021-11-08T18:06:14.628Z] -> Uploading to [2021-11-08T18:06:14.628Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-08/7E55EF52A471D76F132DFD9A03CDDE97/ef01e9ba3f6e835449006231ead7474d7327b9ec/711bab38-a870-4c16-83b4-caac81d3782d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211108T180614Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7e96d310c34340d9447ef8dea2d64fd23ffecb5979adeb96e10582c72de30ba6 [2021-11-08T18:06:14.628Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-08T18:06:14.628Z] Dload Upload Total Spent Left Speed [2021-11-08T18:06:14.889Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16252 0 0 100 16252 0 53276 --:--:-- --:--:-- --:--:-- 53460 [2021-11-08T18:06:14.889Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ef01e9ba3f6e835449006231ead7474d7327b9ec [Pipeline] } [2021-11-08T18:06:14.897Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-08T18:06:16.250Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1058/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-08T18:06:16.552Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T18:06:17.111Z] ---> package-listing.sh [2021-11-08T18:06:17.111Z] ++ facter osfamily [2021-11-08T18:06:17.111Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-08T18:06:17.372Z] + OS_FAMILY=redhat [2021-11-08T18:06:17.372Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1058 [2021-11-08T18:06:17.372Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-08T18:06:17.372Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-08T18:06:17.372Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-08T18:06:17.372Z] + PACKAGES=/tmp/packages_start.txt [2021-11-08T18:06:17.372Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1058 ']' [2021-11-08T18:06:17.372Z] + PACKAGES=/tmp/packages_end.txt [2021-11-08T18:06:17.372Z] + case "${OS_FAMILY}" in [2021-11-08T18:06:17.372Z] + sort [2021-11-08T18:06:17.372Z] + rpm -qa [2021-11-08T18:06:17.943Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-08T18:06:17.943Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-08T18:06:17.943Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-08T18:06:17.943Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1058 ']' [2021-11-08T18:06:17.943Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1058/archives/ [2021-11-08T18:06:17.943Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1058/archives/ [Pipeline] echo [2021-11-08T18:06:17.954Z] 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/gexfoundry_device-sdk-go_PR-1058/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-08T18:06:18.246Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-08T18:06:18.811Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T18:06:18.811Z] [2021-11-08T18:06:18.811Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-08T18:06:19.115Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T18:06:19.115Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-08T18:06:19.115Z] b4d181a07f80: Pulling fs layer [2021-11-08T18:06:19.115Z] a1111a8f2ec3: Pulling fs layer [2021-11-08T18:06:19.115Z] ed53099fbce6: Pulling fs layer [2021-11-08T18:06:19.115Z] dc539afda2c1: Pulling fs layer [2021-11-08T18:06:19.115Z] 77bc0d833cb6: Pulling fs layer [2021-11-08T18:06:19.115Z] 9065ff56babe: Pulling fs layer [2021-11-08T18:06:19.115Z] d287ab97295c: Pulling fs layer [2021-11-08T18:06:19.115Z] dc539afda2c1: Waiting [2021-11-08T18:06:19.115Z] 77bc0d833cb6: Waiting [2021-11-08T18:06:19.115Z] 9065ff56babe: Waiting [2021-11-08T18:06:19.115Z] d287ab97295c: Waiting [2021-11-08T18:06:19.115Z] a1111a8f2ec3: Verifying Checksum [2021-11-08T18:06:19.115Z] a1111a8f2ec3: Download complete [2021-11-08T18:06:19.115Z] dc539afda2c1: Verifying Checksum [2021-11-08T18:06:19.115Z] dc539afda2c1: Download complete [2021-11-08T18:06:19.115Z] ed53099fbce6: Verifying Checksum [2021-11-08T18:06:19.115Z] ed53099fbce6: Download complete [2021-11-08T18:06:19.115Z] 77bc0d833cb6: Verifying Checksum [2021-11-08T18:06:19.115Z] 77bc0d833cb6: Download complete [2021-11-08T18:06:19.384Z] 9065ff56babe: Verifying Checksum [2021-11-08T18:06:19.384Z] 9065ff56babe: Download complete [2021-11-08T18:06:19.384Z] b4d181a07f80: Verifying Checksum [2021-11-08T18:06:19.384Z] b4d181a07f80: Download complete [2021-11-08T18:06:19.958Z] d287ab97295c: Verifying Checksum [2021-11-08T18:06:19.958Z] d287ab97295c: Download complete [2021-11-08T18:06:20.914Z] b4d181a07f80: Pull complete [2021-11-08T18:06:20.914Z] a1111a8f2ec3: Pull complete [2021-11-08T18:06:21.489Z] ed53099fbce6: Pull complete [2021-11-08T18:06:21.489Z] dc539afda2c1: Pull complete [2021-11-08T18:06:21.748Z] 77bc0d833cb6: Pull complete [2021-11-08T18:06:21.748Z] 9065ff56babe: Pull complete [2021-11-08T18:06:27.061Z] d287ab97295c: Pull complete [2021-11-08T18:06:27.061Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-08T18:06:27.061Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T18:06:27.061Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-08T18:06:27.120Z] prd-centos7-docker-4c-2g-27957 does not seem to be running inside a container [2021-11-08T18:06:27.153Z] $ 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/gexfoundry_device-sdk-go_PR-1058/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1058 -v /w/workspace/gexfoundry_device-sdk-go_PR-1058:/w/workspace/gexfoundry_device-sdk-go_PR-1058:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1058@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1058@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-08T18:06:29.118Z] $ docker top d2f9d6a362227f78158db567b635f5eba8c474980fed8789f1a71a17b7c1cea6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-08T18:06:29.472Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-08T18:06:29.778Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-08T18:06:30.072Z] + ls /var/log/sa-host [2021-11-08T18:06:30.072Z] + sadf -c /var/log/sa-host/sa08 [2021-11-08T18:06:30.072Z] file_magic: OK [2021-11-08T18:06:30.072Z] HZ: Using current value: 100 [2021-11-08T18:06:30.072Z] file_header: OK [2021-11-08T18:06:30.072Z] 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-11-08T18:06:30.072Z] Statistics: [2021-11-08T18:06:30.072Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-08T18:06:30.072Z] File successfully converted to sysstat format version 12.0.3 [2021-11-08T18:06:30.072Z] + sadf -c /var/log/sa-host/sa30 [2021-11-08T18:06:30.072Z] file_magic: OK [2021-11-08T18:06:30.072Z] HZ: Using current value: 100 [2021-11-08T18:06:30.072Z] file_header: OK [2021-11-08T18:06:30.072Z] 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-11-08T18:06:30.072Z] Statistics: [2021-11-08T18:06:30.072Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-08T18:06:30.072Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-08T18:06:30.315Z] provisioning config files... [2021-11-08T18:06:30.326Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1058@tmp/config517678889780137156tmp [Pipeline] { [Pipeline] echo [2021-11-08T18:06:30.352Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T18:06:30.651Z] ---> create-netrc.sh [Pipeline] } [2021-11-08T18:06:30.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-08T18:06:30.992Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-08T18:06:31.000Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T18:06:31.282Z] ---> sudo-logs.sh [2021-11-08T18:06:31.282Z] Archiving 'sudo' log.. [2021-11-08T18:06:31.282Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-27957.novalocal: Name or service not known [2021-11-08T18:06:31.282Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-27957.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-08T18:06:31.305Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T18:06:31.590Z] ---> job-cost.sh [2021-11-08T18:06:31.590Z] lf-activate-venv: SKIPPING [2021-11-08T18:06:31.590Z] DEBUG: total: 0.10999999940395355 [2021-11-08T18:06:31.590Z] INFO: Retrieving Stack Cost... [2021-11-08T18:06:31.854Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-08T18:06:32.423Z] INFO: Archiving Costs [Pipeline] echo [2021-11-08T18:06:32.436Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T18:06:32.726Z] ---> logs-deploy.sh [2021-11-08T18:06:32.726Z] lf-activate-venv: SKIPPING [2021-11-08T18:06:32.726Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1058/3 [2021-11-08T18:06:32.726Z] INFO: archiving workspace using pattern(s): [2021-11-08T18:06:33.297Z] Archives upload complete. [2021-11-08T18:06:33.556Z] INFO: archiving logs to Nexus