Pull request #1005 opened 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 iain-anderson for edgexfoundry/device-sdk-go Obtained Jenkinsfile from be89de1644b6547029dfb061f861d4b7a5600c82+b8bde01b3040ded824082163a6ece586529576f1 (97e6b7398c63a51b78f68c75cdb181324dadff32) Running in Durability level: MAX_SURVIVABILITY 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-ssh5103526566365617085.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 155abbc8877922835dbd6f2f82c828d26e35ec40 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-ssh5900206574308272075.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 155abbc8877922835dbd6f2f82c828d26e35ec40 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1005/workspace@libs/edgex-global-pipelines # timeout=10 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-1005/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3700180087424123544.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1005/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1909735877076738795.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 155abbc8877922835dbd6f2f82c828d26e35ec40 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 155abbc8877922835dbd6f2f82c828d26e35ec40 # timeout=10 Commit message: "Merge pull request #342 from ernestojeda/fix-c-docker-image-names" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh5048353671117230989.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1005/workspace@libs/lf-pipelines # timeout=10 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-1005/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3138832499850641360.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 155abbc8877922835dbd6f2f82c828d26e35ec40 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1032 in /w/workspace/gexfoundry_device-sdk-go_PR-1005 [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-1005 # 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-1005@tmp/jenkins-gitclient-ssh466404998371898829.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b8bde01b3040ded824082163a6ece586529576f1 into PR head commit be89de1644b6547029dfb061f861d4b7a5600c82 Merge succeeded, producing be89de1644b6547029dfb061f861d4b7a5600c82 Checking out Revision be89de1644b6547029dfb061f861d4b7a5600c82 (PR-1005) > 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-1005@tmp/jenkins-gitclient-ssh993921411087691.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1005/head:refs/remotes/origin/PR-1005 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f be89de1644b6547029dfb061f861d4b7a5600c82 # 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-1005@tmp/jenkins-gitclient-ssh8255494315208084511.key > git merge b8bde01b3040ded824082163a6ece586529576f1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f be89de1644b6547029dfb061f861d4b7a5600c82 # timeout=10 Commit message: "docs: Add templates for new GitHub issues" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 155abbc8877922835dbd6f2f82c828d26e35ec40 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-30T15:51:30.407Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-30T15:51:30.615Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-30T15:51:30.767Z] ========================================================= [2021-07-30T15:51:30.767Z] EdgeX Global Pipelines Version Info [2021-07-30T15:51:30.767Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-30T15:51:32.045Z] ------------------- [2021-07-30T15:51:32.046Z] stable info: [2021-07-30T15:51:32.046Z] ------------------- [2021-07-30T15:51:32.046Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-30T15:51:32.046Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-07-30T15:51:32.046Z] Message: update stable to v1.0.199 [2021-07-30T15:51:32.628Z] ------------------- [2021-07-30T15:51:32.628Z] experimental info: [2021-07-30T15:51:32.628Z] ------------------- [2021-07-30T15:51:32.628Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-30T15:51:32.628Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-07-30T15:51:32.628Z] Message: update experimental to v1.0.199 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-30T15:51:32.866Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-07-30T15:51:32.924Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-07-30T15:51:32.978Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-30T15:51:33.033Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-30T15:51:33.089Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-30T15:51:33.154Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-30T15:51:33.223Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-30T15:51:33.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-30T15:51:33.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-07-30T15:51:33.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-30T15:51:33.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-30T15:51:33.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-07-30T15:51:33.555Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-07-30T15:51:33.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-30T15:51:33.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-30T15:51:33.729Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-30T15:51:33.788Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-30T15:51:33.853Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-30T15:51:33.913Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-30T15:51:33.970Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-30T15:51:34.028Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-30T15:51:34.083Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-30T15:51:34.140Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-30T15:51:34.192Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-30T15:51:34.254Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-30T15:51:34.309Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-07-30T15:51:34.364Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-30T15:51:34.436Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1005 [Pipeline] echo [2021-07-30T15:51:34.491Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1005 [Pipeline] echo [2021-07-30T15:51:34.546Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1005 [Pipeline] echo [2021-07-30T15:51:34.606Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = be89de1644b6547029dfb061f861d4b7a5600c82 [Pipeline] echo [2021-07-30T15:51:34.671Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = be89de1 [Pipeline] echo [2021-07-30T15:51:34.740Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T15:51:34.899Z] provisioning config files... [2021-07-30T15:51:34.918Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp/config6482681392566154796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T15:51:35.318Z] ---> docker-login.sh [2021-07-30T15:51:35.318Z] nexus3.edgexfoundry.org:10001 [2021-07-30T15:51:35.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T15:51:35.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T15:51:35.587Z] Configure a credential helper to remove this warning. See [2021-07-30T15:51:35.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T15:51:35.587Z] [2021-07-30T15:51:35.587Z] Login Succeeded [2021-07-30T15:51:35.587Z] nexus3.edgexfoundry.org:10002 [2021-07-30T15:51:35.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T15:51:35.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T15:51:35.860Z] Configure a credential helper to remove this warning. See [2021-07-30T15:51:35.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T15:51:35.860Z] [2021-07-30T15:51:35.860Z] Login Succeeded [2021-07-30T15:51:35.860Z] nexus3.edgexfoundry.org:10003 [2021-07-30T15:51:35.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T15:51:35.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T15:51:35.860Z] Configure a credential helper to remove this warning. See [2021-07-30T15:51:35.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T15:51:35.860Z] [2021-07-30T15:51:35.860Z] Login Succeeded [2021-07-30T15:51:35.860Z] nexus3.edgexfoundry.org:10004 [2021-07-30T15:51:36.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T15:51:36.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T15:51:36.129Z] Configure a credential helper to remove this warning. See [2021-07-30T15:51:36.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T15:51:36.129Z] [2021-07-30T15:51:36.129Z] Login Succeeded [2021-07-30T15:51:36.129Z] docker.io [2021-07-30T15:51:36.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T15:51:36.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T15:51:36.397Z] Configure a credential helper to remove this warning. See [2021-07-30T15:51:36.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T15:51:36.397Z] [2021-07-30T15:51:36.397Z] Login Succeeded [2021-07-30T15:51:36.397Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T15:51:36.423Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-30T15:51:37.267Z] + git log --format=format:%s -1 be89de1644b6547029dfb061f861d4b7a5600c82 [Pipeline] echo [2021-07-30T15:51:37.339Z] GIT_COMMIT: be89de1644b6547029dfb061f861d4b7a5600c82, Commit Message: docs: Add templates for new GitHub issues [Pipeline] echo [2021-07-30T15:51:37.381Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-30T15:51:38.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T15:51:38.072Z] [2021-07-30T15:51:38.072Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T15:51:38.439Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T15:51:38.439Z] latest: Pulling from edgex-devops/git-semver [2021-07-30T15:51:38.439Z] 31603596830f: Pulling fs layer [2021-07-30T15:51:38.439Z] b6dc333f4379: Pulling fs layer [2021-07-30T15:51:38.439Z] 3d9ef1400e77: Pulling fs layer [2021-07-30T15:51:38.439Z] fd332fbdc1db: Pulling fs layer [2021-07-30T15:51:38.439Z] fd332fbdc1db: Waiting [2021-07-30T15:51:38.439Z] b6dc333f4379: Verifying Checksum [2021-07-30T15:51:38.439Z] b6dc333f4379: Download complete [2021-07-30T15:51:38.705Z] 31603596830f: Verifying Checksum [2021-07-30T15:51:38.705Z] 31603596830f: Download complete [2021-07-30T15:51:38.979Z] 31603596830f: Pull complete [2021-07-30T15:51:38.979Z] b6dc333f4379: Pull complete [2021-07-30T15:51:38.979Z] 3d9ef1400e77: Verifying Checksum [2021-07-30T15:51:38.979Z] 3d9ef1400e77: Download complete [2021-07-30T15:51:38.979Z] fd332fbdc1db: Verifying Checksum [2021-07-30T15:51:38.979Z] fd332fbdc1db: Download complete [2021-07-30T15:51:39.574Z] 3d9ef1400e77: Pull complete [2021-07-30T15:51:39.848Z] fd332fbdc1db: Pull complete [2021-07-30T15:51:39.848Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-30T15:51:39.848Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T15:51:39.848Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-30T15:51:39.970Z] prd-centos7-docker-4c-2g-1032 does not seem to be running inside a container [2021-07-30T15:51:40.031Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1005 -v /w/workspace/gexfoundry_device-sdk-go_PR-1005:/w/workspace/gexfoundry_device-sdk-go_PR-1005:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-30T15:51:40.893Z] $ docker top 65eeb4ccf0714715b9af23744921074f9c10e36a9c8e1fd88a6a62b68e140a2b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-30T15:51:41.115Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T15:51:41.115Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T15:51:41.253Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T15:51:41.253Z] $ docker exec 65eeb4ccf0714715b9af23744921074f9c10e36a9c8e1fd88a6a62b68e140a2b ssh-agent [2021-07-30T15:51:41.390Z] SSH_AUTH_SOCK=/tmp/ssh-k40OVq3fiz9a/agent.12 [2021-07-30T15:51:41.391Z] SSH_AGENT_PID=19 [2021-07-30T15:51:41.405Z] Running ssh-add (command line suppressed) [2021-07-30T15:51:41.514Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp/private_key_84293845058773066.key (/w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp/private_key_84293845058773066.key) [2021-07-30T15:51:41.543Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T15:51:41.916Z] + git tag --points-at HEAD [Pipeline] } [2021-07-30T15:51:41.939Z] $ docker exec --env ******** --env ******** 65eeb4ccf0714715b9af23744921074f9c10e36a9c8e1fd88a6a62b68e140a2b ssh-agent -k [2021-07-30T15:51:42.052Z] unset SSH_AUTH_SOCK; [2021-07-30T15:51:42.053Z] unset SSH_AGENT_PID; [2021-07-30T15:51:42.053Z] echo Agent pid 19 killed; [2021-07-30T15:51:42.071Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-30T15:51:42.169Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T15:51:42.169Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T15:51:42.293Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T15:51:42.292Z] $ docker exec 65eeb4ccf0714715b9af23744921074f9c10e36a9c8e1fd88a6a62b68e140a2b ssh-agent [2021-07-30T15:51:42.415Z] SSH_AUTH_SOCK=/tmp/ssh-UKtEdiuF1SUo/agent.50 [2021-07-30T15:51:42.415Z] SSH_AGENT_PID=57 [2021-07-30T15:51:42.426Z] Running ssh-add (command line suppressed) [2021-07-30T15:51:42.529Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp/private_key_4714539646896153795.key (/w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp/private_key_4714539646896153795.key) [2021-07-30T15:51:42.555Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T15:51:42.927Z] + git semver init [2021-07-30T15:51:42.927Z] # -> Open(): unable to determine branch for HEAD [2021-07-30T15:51:42.927Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1005/.git [2021-07-30T15:51:42.927Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1005 [2021-07-30T15:51:42.927Z] # $SEMVER_REMOTE_NAME = origin [2021-07-30T15:51:42.927Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-30T15:51:42.927Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-30T15:51:42.927Z] # $SEMVER_BRANCH = PR-1005 [2021-07-30T15:51:42.927Z] # $SEMVER_TEMP = /tmp/semver-199653054 [2021-07-30T15:51:42.927Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-07-30T15:51:44.884Z] # '/tmp/semver-199653054' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1005/.semver' [2021-07-30T15:51:44.884Z] # -> Force: false [2021-07-30T15:51:44.884Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1005/.semver [Pipeline] } [2021-07-30T15:51:44.905Z] $ docker exec --env ******** --env ******** 65eeb4ccf0714715b9af23744921074f9c10e36a9c8e1fd88a6a62b68e140a2b ssh-agent -k [2021-07-30T15:51:45.019Z] unset SSH_AUTH_SOCK; [2021-07-30T15:51:45.021Z] unset SSH_AGENT_PID; [2021-07-30T15:51:45.021Z] echo Agent pid 57 killed; [2021-07-30T15:51:45.042Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-30T15:51:45.507Z] + git semver [Pipeline] } [2021-07-30T15:51:45.536Z] $ docker stop --time=1 65eeb4ccf0714715b9af23744921074f9c10e36a9c8e1fd88a6a62b68e140a2b [2021-07-30T15:51:46.779Z] $ docker rm -f 65eeb4ccf0714715b9af23744921074f9c10e36a9c8e1fd88a6a62b68e140a2b [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-30T15:51:47.237Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-30T15:51:47.631Z] Stashed 1 file(s) [Pipeline] echo [2021-07-30T15:51:47.656Z] [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-07-30T15:52:03.202Z] Still waiting to schedule task [2021-07-30T15:52:03.203Z] ‘prd-centos7-blackbox-4c-2g-77’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-30T15:52:03.203Z] ‘prd-centos7-docker-4c-2g-1026’ is offline [2021-07-30T15:52:03.203Z] ‘prd-centos7-docker-4c-2g-1029’ is offline [2021-07-30T15:52:03.203Z] ‘prd-centos7-docker-4c-2g-1033’ is offline [2021-07-30T15:52:03.203Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1028’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-30T15:52:03.235Z] Still waiting to schedule task [2021-07-30T15:52:03.235Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-30T15:53:11.381Z] Running on prd-centos7-docker-4c-2g-1034 in /w/workspace/gexfoundry_device-sdk-go_PR-1005 [Pipeline] { [Pipeline] ws [2021-07-30T15:53:11.440Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-07-30T15:53:11.598Z] Selected Git installation does not exist. Using Default [2021-07-30T15:53:11.598Z] The recommended git tool is: NONE [2021-07-30T15:53:14.468Z] using credential edgex-jenkins-ssh [2021-07-30T15:53:14.487Z] Cloning the remote Git repository [2021-07-30T15:53:13.663Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-07-30T15:53:13.744Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-07-30T15:53:13.794Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-30T15:53:13.795Z] > git --version # timeout=10 [2021-07-30T15:53:13.802Z] > git --version # 'git version 2.24.4' [2021-07-30T15:53:13.803Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T15:53:13.832Z] [INFO] Currently running in a labeled security context [2021-07-30T15:53:13.832Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-30T15:53:13.832Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1343078442979533202.key [2021-07-30T15:53:13.865Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T15:53:14.653Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-30T15:53:14.661Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T15:53:14.683Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-30T15:53:14.701Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-30T15:53:14.702Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T15:53:14.703Z] [INFO] Currently running in a labeled security context [2021-07-30T15:53:14.703Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-30T15:53:14.703Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6349139512547757678.key [2021-07-30T15:53:14.709Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1005/head:refs/remotes/origin/PR-1005 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-30T15:53:16.218Z] Merging remotes/origin/main commit b8bde01b3040ded824082163a6ece586529576f1 into PR head commit be89de1644b6547029dfb061f861d4b7a5600c82 [2021-07-30T15:53:16.314Z] Merge succeeded, producing be89de1644b6547029dfb061f861d4b7a5600c82 [2021-07-30T15:53:16.315Z] Checking out Revision be89de1644b6547029dfb061f861d4b7a5600c82 (PR-1005) [2021-07-30T15:53:15.520Z] > git config core.sparsecheckout # timeout=10 [2021-07-30T15:53:15.528Z] > git checkout -f be89de1644b6547029dfb061f861d4b7a5600c82 # timeout=10 [2021-07-30T15:53:15.573Z] > git remote # timeout=10 [2021-07-30T15:53:15.581Z] > git config --get remote.origin.url # timeout=10 [2021-07-30T15:53:15.588Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T15:53:15.589Z] [INFO] Currently running in a labeled security context [2021-07-30T15:53:15.589Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-30T15:53:15.590Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh5505184602519877136.key [2021-07-30T15:53:15.596Z] > git merge b8bde01b3040ded824082163a6ece586529576f1 # timeout=10 [2021-07-30T15:53:15.605Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-30T15:53:15.617Z] > git config core.sparsecheckout # timeout=10 [2021-07-30T15:53:15.621Z] > git checkout -f be89de1644b6547029dfb061f861d4b7a5600c82 # timeout=10 [2021-07-30T15:53:19.833Z] Commit message: "docs: Add templates for new GitHub issues" [2021-07-30T15:53:19.460Z] > git --version # timeout=10 [2021-07-30T15:53:19.464Z] > git --version # 'git version 2.24.4' [2021-07-30T15:53:19.471Z] fatal: bad object 155abbc8877922835dbd6f2f82c828d26e35ec40 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T15:53:20.452Z] provisioning config files... [2021-07-30T15:53:20.472Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3638598991307024716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T15:53:20.970Z] ---> docker-login.sh [2021-07-30T15:53:20.970Z] nexus3.edgexfoundry.org:10001 [2021-07-30T15:53:20.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T15:53:21.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T15:53:21.242Z] Configure a credential helper to remove this warning. See [2021-07-30T15:53:21.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T15:53:21.242Z] [2021-07-30T15:53:21.242Z] Login Succeeded [2021-07-30T15:53:21.242Z] nexus3.edgexfoundry.org:10002 [2021-07-30T15:53:21.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T15:53:21.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T15:53:21.242Z] Configure a credential helper to remove this warning. See [2021-07-30T15:53:21.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T15:53:21.242Z] [2021-07-30T15:53:21.242Z] Login Succeeded [2021-07-30T15:53:21.242Z] nexus3.edgexfoundry.org:10003 [2021-07-30T15:53:21.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T15:53:21.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T15:53:21.512Z] Configure a credential helper to remove this warning. See [2021-07-30T15:53:21.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T15:53:21.512Z] [2021-07-30T15:53:21.512Z] Login Succeeded [2021-07-30T15:53:21.512Z] nexus3.edgexfoundry.org:10004 [2021-07-30T15:53:21.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T15:53:21.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T15:53:21.783Z] Configure a credential helper to remove this warning. See [2021-07-30T15:53:21.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T15:53:21.783Z] [2021-07-30T15:53:21.783Z] Login Succeeded [2021-07-30T15:53:21.783Z] docker.io [2021-07-30T15:53:21.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T15:53:22.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T15:53:22.050Z] Configure a credential helper to remove this warning. See [2021-07-30T15:53:22.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T15:53:22.050Z] [2021-07-30T15:53:22.050Z] Login Succeeded [2021-07-30T15:53:22.050Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T15:53:22.127Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-30T15:53:22.440Z] ========================================================= [2021-07-30T15:53:22.440Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-30T15:53:22.440Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-07-30T15:53:22.849Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-07-30T15:53:22.849Z] Sending build context to Docker daemon 2.59MB [2021-07-30T15:53:22.849Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T15:53:22.849Z] Step 2/8 : FROM ${BASE} [2021-07-30T15:53:23.117Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-30T15:53:23.117Z] 540db60ca938: Pulling fs layer [2021-07-30T15:53:23.117Z] adcc1eea9eea: Pulling fs layer [2021-07-30T15:53:23.117Z] 4c4ab2625f07: Pulling fs layer [2021-07-30T15:53:23.117Z] 0773c198feca: Pulling fs layer [2021-07-30T15:53:23.117Z] 345f892a5656: Pulling fs layer [2021-07-30T15:53:23.117Z] 4796506630df: Pulling fs layer [2021-07-30T15:53:23.117Z] cc55df3e53f1: Pulling fs layer [2021-07-30T15:53:23.117Z] 4d027b6c602c: Pulling fs layer [2021-07-30T15:53:23.117Z] 449e75d2c14e: Pulling fs layer [2021-07-30T15:53:23.117Z] 4796506630df: Waiting [2021-07-30T15:53:23.117Z] cc55df3e53f1: Waiting [2021-07-30T15:53:23.117Z] 4d027b6c602c: Waiting [2021-07-30T15:53:23.117Z] 449e75d2c14e: Waiting [2021-07-30T15:53:23.117Z] 0773c198feca: Waiting [2021-07-30T15:53:23.117Z] 345f892a5656: Waiting [2021-07-30T15:53:23.117Z] 4c4ab2625f07: Verifying Checksum [2021-07-30T15:53:23.117Z] 4c4ab2625f07: Download complete [2021-07-30T15:53:23.117Z] adcc1eea9eea: Verifying Checksum [2021-07-30T15:53:23.117Z] adcc1eea9eea: Download complete [2021-07-30T15:53:23.117Z] 345f892a5656: Verifying Checksum [2021-07-30T15:53:23.117Z] 345f892a5656: Download complete [2021-07-30T15:53:23.117Z] 4796506630df: Verifying Checksum [2021-07-30T15:53:23.117Z] 4796506630df: Download complete [2021-07-30T15:53:23.117Z] 540db60ca938: Verifying Checksum [2021-07-30T15:53:23.117Z] cc55df3e53f1: Verifying Checksum [2021-07-30T15:53:23.117Z] cc55df3e53f1: Download complete [2021-07-30T15:53:23.385Z] 540db60ca938: Pull complete [2021-07-30T15:53:23.385Z] adcc1eea9eea: Pull complete [2021-07-30T15:53:23.653Z] 4c4ab2625f07: Pull complete [2021-07-30T15:53:23.654Z] 4d027b6c602c: Verifying Checksum [2021-07-30T15:53:23.654Z] 4d027b6c602c: Download complete [2021-07-30T15:53:26.244Z] 449e75d2c14e: Verifying Checksum [2021-07-30T15:53:26.244Z] 449e75d2c14e: Download complete [2021-07-30T15:53:27.210Z] 0773c198feca: Verifying Checksum [2021-07-30T15:53:27.210Z] 0773c198feca: Download complete [2021-07-30T15:53:30.591Z] 0773c198feca: Pull complete [2021-07-30T15:53:30.591Z] 345f892a5656: Pull complete [2021-07-30T15:53:30.591Z] 4796506630df: Pull complete [2021-07-30T15:53:30.591Z] cc55df3e53f1: Pull complete [2021-07-30T15:53:30.591Z] 4d027b6c602c: Pull complete [2021-07-30T15:53:32.017Z] 449e75d2c14e: Pull complete [2021-07-30T15:53:32.289Z] Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 [2021-07-30T15:53:32.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-30T15:53:32.289Z] ---> 0d28375d9b5b [2021-07-30T15:53:32.289Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-30T15:53:33.700Z] ---> Running in 7ea6cf5eb39d [2021-07-30T15:53:33.700Z] Removing intermediate container 7ea6cf5eb39d [2021-07-30T15:53:33.700Z] ---> 2f76e0825307 [2021-07-30T15:53:33.700Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T15:53:33.972Z] ---> Running in 59baea956cd0 [2021-07-30T15:53:34.248Z] Removing intermediate container 59baea956cd0 [2021-07-30T15:53:34.248Z] ---> 3eff305f107d [2021-07-30T15:53:34.248Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-07-30T15:53:34.513Z] ---> Running in 011ac5ede200 [2021-07-30T15:53:34.513Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-30T15:53:35.930Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-30T15:53:36.514Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-07-30T15:53:36.514Z] (2/6) Installing libsodium (1.0.18-r0) [2021-07-30T15:53:36.782Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-07-30T15:53:36.782Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-07-30T15:53:36.782Z] (5/6) Installing libzmq (4.3.3-r1) [2021-07-30T15:53:37.056Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-07-30T15:53:37.056Z] Executing busybox-1.32.1-r6.trigger [2021-07-30T15:53:37.056Z] OK: 150 MiB in 46 packages [2021-07-30T15:53:37.328Z] Removing intermediate container 011ac5ede200 [2021-07-30T15:53:37.329Z] ---> c17cce3149fd [2021-07-30T15:53:37.329Z] Step 6/8 : WORKDIR /device-sdk-go [2021-07-30T15:53:37.329Z] ---> Running in e4d3a7c6f915 [2021-07-30T15:53:37.597Z] Removing intermediate container e4d3a7c6f915 [2021-07-30T15:53:37.597Z] ---> 3fd2d4f26c09 [2021-07-30T15:53:37.597Z] Step 7/8 : COPY . . [2021-07-30T15:53:37.866Z] ---> ea2e5b798c78 [2021-07-30T15:53:37.866Z] Step 8/8 : RUN go mod download [2021-07-30T15:53:37.866Z] ---> Running in 60b259a290fe [2021-07-30T15:53:50.192Z] Removing intermediate container 60b259a290fe [2021-07-30T15:53:50.192Z] ---> 45524be5902e [2021-07-30T15:53:50.192Z] Successfully built 45524be5902e [2021-07-30T15:53:50.192Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T15:53:50.552Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-30T15:53:50.552Z] . [Pipeline] withDockerContainer [2021-07-30T15:53:50.712Z] prd-centos7-docker-4c-2g-1034 does not seem to be running inside a container [2021-07-30T15:53:50.765Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-30T15:53:51.166Z] $ docker top 9d8dce842d14582920c340d080fa8fc3c0c9acd38fd2ac50fb933c979a8269b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T15:53:51.636Z] + go version [2021-07-30T15:53:51.636Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-30T15:53:51.692Z] $ docker stop --time=1 9d8dce842d14582920c340d080fa8fc3c0c9acd38fd2ac50fb933c979a8269b4 [2021-07-30T15:53:52.882Z] $ docker rm -f 9d8dce842d14582920c340d080fa8fc3c0c9acd38fd2ac50fb933c979a8269b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T15:53:53.771Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-30T15:53:53.771Z] . [Pipeline] withDockerContainer [2021-07-30T15:53:53.877Z] prd-centos7-docker-4c-2g-1034 does not seem to be running inside a container [2021-07-30T15:53:53.927Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-30T15:53:54.277Z] $ docker top a9ae2ea6a0c89bd8462b81644ce086f1155571612fcb1459cbee70c08e51c8db -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T15:53:54.727Z] + go mod tidy [Pipeline] sh [2021-07-30T15:53:55.379Z] + make test [2021-07-30T15:53:55.379Z] go mod tidy [2021-07-30T15:53:55.379Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-30T15:54:00.760Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-07-30T15:54:22.981Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-07-30T15:54:22.981Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-07-30T15:54:22.981Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-07-30T15:54:26.357Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.058s coverage: 24.2% of statements [2021-07-30T15:54:26.357Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-07-30T15:54:26.357Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.051s coverage: 28.1% of statements [2021-07-30T15:54:26.357Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.051s coverage: 78.9% of statements [2021-07-30T15:54:26.632Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.047s coverage: 9.0% of statements [2021-07-30T15:54:26.632Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-07-30T15:54:26.632Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-07-30T15:54:26.632Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-07-30T15:54:27.221Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.061s coverage: 28.7% of statements [2021-07-30T15:54:27.221Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-07-30T15:54:28.639Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.055s coverage: 83.3% of statements [2021-07-30T15:54:28.639Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-07-30T15:54:28.639Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-07-30T15:54:28.639Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 58.0% of statements [2021-07-30T15:54:29.612Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.827s coverage: 89.2% of statements [2021-07-30T15:54:29.612Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-07-30T15:54:29.612Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.051s coverage: 4.9% of statements [2021-07-30T15:54:29.612Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-07-30T15:54:29.612Z] GO111MODULE=on go vet ./... [2021-07-30T15:54:47.936Z] gofmt -l . [2021-07-30T15:54:47.936Z] [ "`gofmt -l .`" = "" ] [2021-07-30T15:54:47.936Z] ./bin/test-attribution-txt.sh [2021-07-30T15:54:47.936Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-30T15:54:47.970Z] $ docker stop --time=1 a9ae2ea6a0c89bd8462b81644ce086f1155571612fcb1459cbee70c08e51c8db [2021-07-30T15:54:49.697Z] $ docker rm -f a9ae2ea6a0c89bd8462b81644ce086f1155571612fcb1459cbee70c08e51c8db [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-30T15:54:50.263Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-30T15:54:50.537Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-07-30T15:54:52.875Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-30T15:54:53.207Z] + ls -al . [2021-07-30T15:54:53.208Z] total 228 [2021-07-30T15:54:53.208Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jul 30 15:54 . [2021-07-30T15:54:53.208Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 30 15:53 .. [2021-07-30T15:54:53.208Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 30 15:53 bin [2021-07-30T15:54:53.208Z] -rw-rw-r--. 1 jenkins jenkins 24816 Jul 30 15:53 CHANGELOG.md [2021-07-30T15:54:53.208Z] -rw-r--r--. 1 jenkins jenkins 125634 Jul 30 15:54 coverage.out [2021-07-30T15:54:53.208Z] -rw-rw-r--. 1 jenkins jenkins 987 Jul 30 15:53 Dockerfile.build [2021-07-30T15:54:53.208Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 30 15:53 .dockerignore [2021-07-30T15:54:53.208Z] drwxrwxr-x. 5 jenkins jenkins 62 Jul 30 15:53 example [2021-07-30T15:54:53.208Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 30 15:53 .git [2021-07-30T15:54:53.208Z] drwxrwxr-x. 3 jenkins jenkins 125 Jul 30 15:53 .github [2021-07-30T15:54:53.208Z] -rw-rw-r--. 1 jenkins jenkins 138 Jul 30 15:53 .gitignore [2021-07-30T15:54:53.208Z] -rw-r--r--. 1 jenkins jenkins 548 Jul 30 15:54 go.mod [2021-07-30T15:54:53.208Z] -rw-r--r--. 1 jenkins jenkins 20301 Jul 30 15:53 go.sum [2021-07-30T15:54:53.208Z] drwxrwxr-x. 15 jenkins jenkins 224 Jul 30 15:53 internal [2021-07-30T15:54:53.208Z] -rw-rw-r--. 1 jenkins jenkins 880 Jul 30 15:53 Jenkinsfile [2021-07-30T15:54:53.208Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jul 30 15:53 LICENSE [2021-07-30T15:54:53.208Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jul 30 15:53 Makefile [2021-07-30T15:54:53.208Z] drwxrwxr-x. 3 jenkins jenkins 16 Jul 30 15:53 openapi [2021-07-30T15:54:53.208Z] drwxrwxr-x. 5 jenkins jenkins 50 Jul 30 15:53 pkg [2021-07-30T15:54:53.208Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jul 30 15:53 README.md [2021-07-30T15:54:53.208Z] drwxrwxr-x. 4 jenkins jenkins 54 Jul 30 15:53 snap [2021-07-30T15:54:53.208Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 30 15:51 VERSION [2021-07-30T15:54:53.208Z] -rw-rw-r--. 1 jenkins jenkins 222 Jul 30 15:53 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-30T15:54:53.563Z] + 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=be89de1644b6547029dfb061f861d4b7a5600c82 --label arch=amd64 --label version=0.0.0 . [2021-07-30T15:54:53.563Z] Sending build context to Docker daemon 2.717MB [2021-07-30T15:54:53.563Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T15:54:53.563Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-30T15:54:53.563Z] ---> 45524be5902e [2021-07-30T15:54:53.563Z] Step 3/23 : WORKDIR /device-sdk-go [2021-07-30T15:54:53.563Z] ---> Running in bd1cd1e4ee4b [2021-07-30T15:54:53.829Z] Removing intermediate container bd1cd1e4ee4b [2021-07-30T15:54:53.829Z] ---> 6fec333f577c [2021-07-30T15:54:53.829Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-30T15:54:53.829Z] ---> Running in 664d7564ac67 [2021-07-30T15:54:53.829Z] Removing intermediate container 664d7564ac67 [2021-07-30T15:54:53.829Z] ---> 434253e0c092 [2021-07-30T15:54:53.829Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T15:54:53.829Z] ---> Running in 713fe79c58cf [2021-07-30T15:54:54.417Z] Removing intermediate container 713fe79c58cf [2021-07-30T15:54:54.417Z] ---> c4af6e71efd4 [2021-07-30T15:54:54.417Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-07-30T15:54:54.417Z] ---> Running in 6a52845280e5 [2021-07-30T15:54:54.684Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-30T15:54:55.267Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-30T15:54:55.853Z] OK: 150 MiB in 46 packages [2021-07-30T15:54:56.129Z] Removing intermediate container 6a52845280e5 [2021-07-30T15:54:56.129Z] ---> 8fe969cda7b2 [2021-07-30T15:54:56.129Z] Step 7/23 : COPY . . [2021-07-30T15:54:56.424Z] ---> 9db02665c304 [2021-07-30T15:54:56.424Z] Step 8/23 : RUN go mod download [2021-07-30T15:54:56.424Z] ---> Running in cb73798d4010 [2021-07-30T15:54:57.009Z] Removing intermediate container cb73798d4010 [2021-07-30T15:54:57.009Z] ---> 471cf64f5f3f [2021-07-30T15:54:57.009Z] Step 9/23 : RUN make build [2021-07-30T15:54:57.009Z] ---> Running in 37b9bf9976f5 [2021-07-30T15:54:57.280Z] go mod tidy [2021-07-30T15:54:57.346Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1035 in /w/workspace/gexfoundry_device-sdk-go_PR-1005 [Pipeline] { [Pipeline] ws [2021-07-30T15:54:57.403Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-07-30T15:54:57.549Z] 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-07-30T15:54:57.668Z] Selected Git installation does not exist. Using Default [2021-07-30T15:54:57.668Z] The recommended git tool is: NONE [2021-07-30T15:55:03.829Z] using credential edgex-jenkins-ssh [2021-07-30T15:55:03.847Z] Cloning the remote Git repository [2021-07-30T15:55:03.902Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-07-30T15:55:04.020Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-07-30T15:55:04.097Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-30T15:55:04.099Z] > git --version # timeout=10 [2021-07-30T15:55:04.126Z] > git --version # 'git version 2.17.1' [2021-07-30T15:55:04.129Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T15:55:04.216Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T15:55:06.286Z] Merging remotes/origin/main commit b8bde01b3040ded824082163a6ece586529576f1 into PR head commit be89de1644b6547029dfb061f861d4b7a5600c82 [2021-07-30T15:55:05.481Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-30T15:55:05.501Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T15:55:05.539Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-30T15:55:05.576Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-30T15:55:05.577Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T15:55:05.589Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1005/head:refs/remotes/origin/PR-1005 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-30T15:55:06.308Z] > git config core.sparsecheckout # timeout=10 [2021-07-30T15:55:06.327Z] > git checkout -f be89de1644b6547029dfb061f861d4b7a5600c82 # timeout=10 [2021-07-30T15:55:06.448Z] > git remote # timeout=10 [2021-07-30T15:55:06.469Z] > git config --get remote.origin.url # timeout=10 [2021-07-30T15:55:06.490Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T15:55:06.502Z] > git merge b8bde01b3040ded824082163a6ece586529576f1 # timeout=10 [2021-07-30T15:55:06.545Z] Merge succeeded, producing be89de1644b6547029dfb061f861d4b7a5600c82 [2021-07-30T15:55:06.546Z] Checking out Revision be89de1644b6547029dfb061f861d4b7a5600c82 (PR-1005) [2021-07-30T15:55:07.661Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-07-30T15:55:06.527Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-30T15:55:06.554Z] > git config core.sparsecheckout # timeout=10 [2021-07-30T15:55:06.572Z] > git checkout -f be89de1644b6547029dfb061f861d4b7a5600c82 # timeout=10 [2021-07-30T15:55:08.247Z] Removing intermediate container 37b9bf9976f5 [2021-07-30T15:55:08.247Z] ---> 64636bc79212 [2021-07-30T15:55:08.247Z] Step 10/23 : FROM alpine:3.12 [2021-07-30T15:55:09.209Z] 3.12: Pulling from library/alpine [2021-07-30T15:55:09.209Z] 339de151aab4: Pulling fs layer [2021-07-30T15:55:09.808Z] 339de151aab4: Verifying Checksum [2021-07-30T15:55:09.808Z] 339de151aab4: Download complete [2021-07-30T15:55:09.808Z] 339de151aab4: Pull complete [2021-07-30T15:55:09.808Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-30T15:55:09.808Z] Status: Downloaded newer image for alpine:3.12 [2021-07-30T15:55:09.808Z] ---> 13621d1b12d4 [2021-07-30T15:55:09.808Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-30T15:55:09.808Z] ---> Running in ea3303b21249 [2021-07-30T15:55:10.074Z] Removing intermediate container ea3303b21249 [2021-07-30T15:55:10.074Z] ---> e9b1f482da9f [2021-07-30T15:55:10.074Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T15:55:10.074Z] ---> Running in 8aaa13f07750 [2021-07-30T15:55:10.342Z] Removing intermediate container 8aaa13f07750 [2021-07-30T15:55:10.342Z] ---> 55c83ee3812e [2021-07-30T15:55:10.342Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-07-30T15:55:10.342Z] ---> Running in a7eb89ab7f27 [2021-07-30T15:55:10.612Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-30T15:55:10.953Z] Commit message: "docs: Add templates for new GitHub issues" [2021-07-30T15:55:11.018Z] > git --version # timeout=10 [2021-07-30T15:55:11.028Z] > git --version # 'git version 2.17.1' [2021-07-30T15:55:11.039Z] fatal: bad object 155abbc8877922835dbd6f2f82c828d26e35ec40 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2021-07-30T15:55:11.573Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T15:55:11.689Z] provisioning config files... [2021-07-30T15:55:11.722Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8217707034524918065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T15:55:11.839Z] (1/5) Installing libgcc (9.3.0-r2) [2021-07-30T15:55:11.839Z] (2/5) Installing libsodium (1.0.18-r0) [2021-07-30T15:55:11.839Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-07-30T15:55:12.393Z] ---> docker-login.sh [2021-07-30T15:55:12.394Z] nexus3.edgexfoundry.org:10001 [2021-07-30T15:55:12.804Z] (4/5) Installing libzmq (4.3.3-r0) [2021-07-30T15:55:12.804Z] (5/5) Installing zeromq (4.3.3-r0) [2021-07-30T15:55:12.804Z] Executing busybox-1.31.1-r20.trigger [2021-07-30T15:55:12.804Z] OK: 8 MiB in 19 packages [2021-07-30T15:55:13.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T15:55:13.076Z] Removing intermediate container a7eb89ab7f27 [2021-07-30T15:55:13.076Z] ---> 5166d89994e7 [2021-07-30T15:55:13.076Z] Step 14/23 : WORKDIR / [2021-07-30T15:55:13.076Z] ---> Running in eb1d076a5e02 [2021-07-30T15:55:13.345Z] Removing intermediate container eb1d076a5e02 [2021-07-30T15:55:13.345Z] ---> d4402ebe4458 [2021-07-30T15:55:13.345Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-07-30T15:55:13.345Z] ---> 3bbd44ce5d1c [2021-07-30T15:55:13.345Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-07-30T15:55:13.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T15:55:13.620Z] Configure a credential helper to remove this warning. See [2021-07-30T15:55:13.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T15:55:13.620Z] [2021-07-30T15:55:13.620Z] Login Succeeded [2021-07-30T15:55:13.620Z] nexus3.edgexfoundry.org:10002 [2021-07-30T15:55:13.939Z] ---> ca4a08f8d9f4 [2021-07-30T15:55:13.939Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-07-30T15:55:13.939Z] ---> 3572030a2582 [2021-07-30T15:55:13.939Z] Step 18/23 : EXPOSE 59999 [2021-07-30T15:55:13.939Z] ---> Running in 5bd2b28a6d59 [2021-07-30T15:55:13.939Z] Removing intermediate container 5bd2b28a6d59 [2021-07-30T15:55:13.939Z] ---> 4e526f90b593 [2021-07-30T15:55:13.939Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-07-30T15:55:13.939Z] ---> Running in 07fb366637cb [2021-07-30T15:55:14.207Z] Removing intermediate container 07fb366637cb [2021-07-30T15:55:14.207Z] ---> 7c413f90cee8 [2021-07-30T15:55:14.207Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-30T15:55:14.207Z] ---> Running in 6a89b0fb6e39 [2021-07-30T15:55:14.207Z] Removing intermediate container 6a89b0fb6e39 [2021-07-30T15:55:14.207Z] ---> f8d07c795502 [2021-07-30T15:55:14.207Z] Step 21/23 : LABEL arch=amd64 [2021-07-30T15:55:14.207Z] ---> Running in efa6105fc404 [2021-07-30T15:55:14.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T15:55:14.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T15:55:14.226Z] Configure a credential helper to remove this warning. See [2021-07-30T15:55:14.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T15:55:14.226Z] [2021-07-30T15:55:14.226Z] Login Succeeded [2021-07-30T15:55:14.226Z] nexus3.edgexfoundry.org:10003 [2021-07-30T15:55:14.477Z] Removing intermediate container efa6105fc404 [2021-07-30T15:55:14.477Z] ---> 227f8d3a7b02 [2021-07-30T15:55:14.477Z] Step 22/23 : LABEL git_sha=be89de1644b6547029dfb061f861d4b7a5600c82 [2021-07-30T15:55:14.477Z] ---> Running in da31beaec19a [2021-07-30T15:55:14.477Z] Removing intermediate container da31beaec19a [2021-07-30T15:55:14.477Z] ---> 9790fe8711d5 [2021-07-30T15:55:14.477Z] Step 23/23 : LABEL version=0.0.0 [2021-07-30T15:55:14.477Z] ---> Running in 38031e85b6c1 [2021-07-30T15:55:14.477Z] Removing intermediate container 38031e85b6c1 [2021-07-30T15:55:14.477Z] ---> d446c4e68553 [2021-07-30T15:55:14.477Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-30T15:55:14.477Z] Successfully built d446c4e68553 [2021-07-30T15:55:14.477Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2021-07-30T15:55:14.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [2021-07-30T15:55:15.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T15:55:15.168Z] Configure a credential helper to remove this warning. See [2021-07-30T15:55:15.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T15:55:15.168Z] [2021-07-30T15:55:15.168Z] Login Succeeded [2021-07-30T15:55:15.168Z] nexus3.edgexfoundry.org:10004 [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T15:55:15.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T15:55:15.617Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T15:55:15.618Z] [2021-07-30T15:55:15.618Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T15:55:15.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T15:55:15.723Z] Configure a credential helper to remove this warning. See [2021-07-30T15:55:15.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T15:55:15.723Z] [2021-07-30T15:55:15.723Z] Login Succeeded [2021-07-30T15:55:15.723Z] docker.io [2021-07-30T15:55:15.998Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T15:55:15.998Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-30T15:55:15.998Z] b4d181a07f80: Pulling fs layer [2021-07-30T15:55:15.998Z] a1111a8f2ec3: Pulling fs layer [2021-07-30T15:55:15.998Z] ed53099fbce6: Pulling fs layer [2021-07-30T15:55:15.998Z] dc539afda2c1: Pulling fs layer [2021-07-30T15:55:15.998Z] 77bc0d833cb6: Pulling fs layer [2021-07-30T15:55:15.998Z] 9065ff56babe: Pulling fs layer [2021-07-30T15:55:15.998Z] d287ab97295c: Pulling fs layer [2021-07-30T15:55:15.998Z] 77bc0d833cb6: Waiting [2021-07-30T15:55:15.998Z] 9065ff56babe: Waiting [2021-07-30T15:55:15.998Z] d287ab97295c: Waiting [2021-07-30T15:55:15.998Z] dc539afda2c1: Waiting [2021-07-30T15:55:16.264Z] a1111a8f2ec3: Download complete [2021-07-30T15:55:16.264Z] dc539afda2c1: Verifying Checksum [2021-07-30T15:55:16.264Z] dc539afda2c1: Download complete [2021-07-30T15:55:16.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T15:55:16.530Z] 77bc0d833cb6: Verifying Checksum [2021-07-30T15:55:16.531Z] 77bc0d833cb6: Download complete [2021-07-30T15:55:16.531Z] 9065ff56babe: Verifying Checksum [2021-07-30T15:55:16.531Z] 9065ff56babe: Download complete [2021-07-30T15:55:16.531Z] ed53099fbce6: Verifying Checksum [2021-07-30T15:55:16.531Z] ed53099fbce6: Download complete [2021-07-30T15:55:16.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T15:55:16.620Z] Configure a credential helper to remove this warning. See [2021-07-30T15:55:16.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T15:55:16.620Z] [2021-07-30T15:55:16.620Z] Login Succeeded [2021-07-30T15:55:16.620Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T15:55:16.764Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-30T15:55:17.419Z] ========================================================= [2021-07-30T15:55:17.420Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-30T15:55:17.420Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [2021-07-30T15:55:17.503Z] b4d181a07f80: Verifying Checksum [2021-07-30T15:55:17.503Z] b4d181a07f80: Download complete [Pipeline] sh [2021-07-30T15:55:17.858Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-07-30T15:55:18.466Z] Sending build context to Docker daemon 2.589MB [2021-07-30T15:55:18.466Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T15:55:18.466Z] Step 2/8 : FROM ${BASE} [2021-07-30T15:55:18.473Z] b4d181a07f80: Pull complete [2021-07-30T15:55:18.744Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-30T15:55:18.744Z] 595b0fe564bb: Pulling fs layer [2021-07-30T15:55:18.744Z] 24495759ef45: Pulling fs layer [2021-07-30T15:55:18.744Z] d148012ef14d: Pulling fs layer [2021-07-30T15:55:18.744Z] cb65c68fc2e2: Pulling fs layer [2021-07-30T15:55:18.744Z] 093eec477d81: Pulling fs layer [2021-07-30T15:55:18.744Z] a6d5b2bbb924: Pulling fs layer [2021-07-30T15:55:18.744Z] 2446dc1eb7d3: Pulling fs layer [2021-07-30T15:55:18.744Z] 596795e73e0f: Pulling fs layer [2021-07-30T15:55:18.744Z] cb65c68fc2e2: Waiting [2021-07-30T15:55:18.744Z] 093eec477d81: Waiting [2021-07-30T15:55:18.744Z] a6d5b2bbb924: Waiting [2021-07-30T15:55:18.744Z] 2446dc1eb7d3: Waiting [2021-07-30T15:55:18.744Z] 596795e73e0f: Waiting [2021-07-30T15:55:18.744Z] d148012ef14d: Verifying Checksum [2021-07-30T15:55:18.744Z] d148012ef14d: Download complete [2021-07-30T15:55:18.744Z] 24495759ef45: Verifying Checksum [2021-07-30T15:55:18.744Z] 24495759ef45: Download complete [2021-07-30T15:55:18.744Z] 093eec477d81: Verifying Checksum [2021-07-30T15:55:18.744Z] 093eec477d81: Download complete [2021-07-30T15:55:18.744Z] a6d5b2bbb924: Download complete [2021-07-30T15:55:18.744Z] 595b0fe564bb: Download complete [2021-07-30T15:55:18.744Z] 2446dc1eb7d3: Download complete [2021-07-30T15:55:18.751Z] a1111a8f2ec3: Pull complete [2021-07-30T15:55:19.366Z] ed53099fbce6: Pull complete [2021-07-30T15:55:19.366Z] dc539afda2c1: Pull complete [2021-07-30T15:55:19.632Z] 77bc0d833cb6: Pull complete [2021-07-30T15:55:19.632Z] 9065ff56babe: Pull complete [2021-07-30T15:55:19.742Z] 595b0fe564bb: Pull complete [2021-07-30T15:55:20.356Z] 24495759ef45: Pull complete [2021-07-30T15:55:20.633Z] d148012ef14d: Pull complete [2021-07-30T15:55:22.111Z] 596795e73e0f: Verifying Checksum [2021-07-30T15:55:22.111Z] 596795e73e0f: Download complete [2021-07-30T15:55:22.729Z] cb65c68fc2e2: Verifying Checksum [2021-07-30T15:55:22.729Z] cb65c68fc2e2: Download complete [2021-07-30T15:55:23.905Z] d287ab97295c: Verifying Checksum [2021-07-30T15:55:23.905Z] d287ab97295c: Download complete [2021-07-30T15:55:27.274Z] d287ab97295c: Pull complete [2021-07-30T15:55:27.274Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-30T15:55:27.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T15:55:27.274Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-30T15:55:27.390Z] prd-centos7-docker-4c-2g-1034 does not seem to be running inside a container [2021-07-30T15:55:27.455Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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-07-30T15:55:29.792Z] $ docker top f4a95604f7692a694c6905ecddece3d3d29520bc618b56dbc1027ccd7001e6a3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T15:55:30.334Z] ---> job-cost.sh [2021-07-30T15:55:30.334Z] lf-activate-venv: SKIPPING [2021-07-30T15:55:30.334Z] INFO: No Stack... [2021-07-30T15:55:31.291Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-30T15:55:31.875Z] INFO: Archiving Costs [Pipeline] sh [2021-07-30T15:55:32.220Z] + cut -d, -f6 [2021-07-30T15:55:32.220Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-07-30T15:55:32.281Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1005-1-stack-cost] [2021-07-30T15:55:32.288Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1005-1-stack-cost] did not exist. Created. [2021-07-30T15:55:32.288Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1005-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-30T15:55:32.716Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-30T15:55:32.774Z] Stashed 1 file(s) [Pipeline] } [2021-07-30T15:55:32.800Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1005-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-30T15:55:32.873Z] $ docker stop --time=1 f4a95604f7692a694c6905ecddece3d3d29520bc618b56dbc1027ccd7001e6a3 [2021-07-30T15:55:32.932Z] cb65c68fc2e2: Pull complete [2021-07-30T15:55:32.932Z] 093eec477d81: Pull complete [2021-07-30T15:55:32.932Z] a6d5b2bbb924: Pull complete [2021-07-30T15:55:33.549Z] 2446dc1eb7d3: Pull complete [2021-07-30T15:55:34.019Z] $ docker rm -f f4a95604f7692a694c6905ecddece3d3d29520bc618b56dbc1027ccd7001e6a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-30T15:55:37.920Z] 596795e73e0f: Pull complete [2021-07-30T15:55:37.921Z] Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 [2021-07-30T15:55:37.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-30T15:55:37.921Z] ---> d9e956139c92 [2021-07-30T15:55:37.921Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-30T15:55:42.231Z] ---> Running in 0f7c357ef2e0 [2021-07-30T15:55:42.504Z] Removing intermediate container 0f7c357ef2e0 [2021-07-30T15:55:42.504Z] ---> 3be78af16e70 [2021-07-30T15:55:42.504Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T15:55:42.781Z] ---> Running in d03e5a87f037 [2021-07-30T15:55:45.436Z] Removing intermediate container d03e5a87f037 [2021-07-30T15:55:45.436Z] ---> 0be4f172c1d0 [2021-07-30T15:55:45.436Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-07-30T15:55:45.711Z] ---> Running in af49a1cb1d6e [2021-07-30T15:55:47.164Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-30T15:55:47.761Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-30T15:55:48.747Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-07-30T15:55:48.747Z] (2/6) Installing libsodium (1.0.18-r0) [2021-07-30T15:55:49.020Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-07-30T15:55:49.020Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-07-30T15:55:49.020Z] (5/6) Installing libzmq (4.3.3-r1) [2021-07-30T15:55:49.297Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-07-30T15:55:49.297Z] Executing busybox-1.32.1-r6.trigger [2021-07-30T15:55:49.297Z] OK: 139 MiB in 46 packages [2021-07-30T15:55:51.279Z] Removing intermediate container af49a1cb1d6e [2021-07-30T15:55:51.279Z] ---> 85927cfd5f77 [2021-07-30T15:55:51.279Z] Step 6/8 : WORKDIR /device-sdk-go [2021-07-30T15:55:51.279Z] ---> Running in 36ffb74ac307 [2021-07-30T15:55:51.879Z] Removing intermediate container 36ffb74ac307 [2021-07-30T15:55:51.879Z] ---> 30a8c057df42 [2021-07-30T15:55:51.879Z] Step 7/8 : COPY . . [2021-07-30T15:55:53.325Z] ---> 6c600351a817 [2021-07-30T15:55:53.325Z] Step 8/8 : RUN go mod download [2021-07-30T15:55:53.325Z] ---> Running in 2af7d7c87222 [2021-07-30T15:56:25.691Z] Removing intermediate container 2af7d7c87222 [2021-07-30T15:56:25.691Z] ---> b66de033cdc7 [2021-07-30T15:56:25.691Z] Successfully built b66de033cdc7 [2021-07-30T15:56:25.691Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T15:56:26.086Z] + docker inspect -f . ci-base-image-arm64 [2021-07-30T15:56:26.086Z] . [Pipeline] withDockerContainer [2021-07-30T15:56:26.392Z] prd-ubuntu18.04-docker-arm64-4c-16g-1035 does not seem to be running inside a container [2021-07-30T15:56:26.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-30T15:56:28.364Z] $ docker top 84a3e77e7c4b2da135a54fd8c463e9e68c9641aef8e01f6fed618083c7d35138 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T15:56:29.429Z] + go version [2021-07-30T15:56:29.429Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-30T15:56:29.467Z] $ docker stop --time=1 84a3e77e7c4b2da135a54fd8c463e9e68c9641aef8e01f6fed618083c7d35138 [2021-07-30T15:56:31.441Z] $ docker rm -f 84a3e77e7c4b2da135a54fd8c463e9e68c9641aef8e01f6fed618083c7d35138 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T15:56:32.641Z] + docker inspect -f . ci-base-image-arm64 [2021-07-30T15:56:32.641Z] . [Pipeline] withDockerContainer [2021-07-30T15:56:32.921Z] prd-ubuntu18.04-docker-arm64-4c-16g-1035 does not seem to be running inside a container [2021-07-30T15:56:33.008Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-30T15:56:34.929Z] $ docker top 38c8422a1150d1de459864255df2931b31de6b451129cb5119ba09a86f7769ae -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T15:56:35.969Z] + go mod tidy [Pipeline] sh [2021-07-30T15:56:37.261Z] + make test [2021-07-30T15:56:37.261Z] go mod tidy [2021-07-30T15:56:37.863Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-30T15:57:00.068Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-07-30T15:58:08.136Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-07-30T15:58:08.136Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-07-30T15:58:08.136Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-07-30T15:58:16.473Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.387s coverage: 24.2% of statements [2021-07-30T15:58:16.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-07-30T15:58:16.473Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.196s coverage: 28.1% of statements [2021-07-30T15:58:16.473Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.216s coverage: 78.9% of statements [2021-07-30T15:58:16.473Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.215s coverage: 9.0% of statements [2021-07-30T15:58:16.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-07-30T15:58:16.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-07-30T15:58:16.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-07-30T15:58:16.473Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.324s coverage: 28.7% of statements [2021-07-30T15:58:16.473Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-07-30T15:58:19.132Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.189s coverage: 83.3% of statements [2021-07-30T15:58:19.132Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-07-30T15:58:19.132Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-07-30T15:58:19.132Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.418s coverage: 58.0% of statements [2021-07-30T15:58:21.125Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.050s coverage: 89.2% of statements [2021-07-30T15:58:21.125Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-07-30T15:58:21.125Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.181s coverage: 4.9% of statements [2021-07-30T15:58:21.125Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-07-30T15:58:21.399Z] GO111MODULE=on go vet ./... [2021-07-30T15:59:18.044Z] gofmt -l . [2021-07-30T15:59:18.044Z] [ "`gofmt -l .`" = "" ] [2021-07-30T15:59:18.044Z] ./bin/test-attribution-txt.sh [2021-07-30T15:59:18.044Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-30T15:59:18.076Z] $ docker stop --time=1 38c8422a1150d1de459864255df2931b31de6b451129cb5119ba09a86f7769ae [2021-07-30T15:59:20.736Z] $ docker rm -f 38c8422a1150d1de459864255df2931b31de6b451129cb5119ba09a86f7769ae [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-30T15:59:21.930Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-30T15:59:21.976Z] Warning: overwriting stash ‘coverage-report’ [2021-07-30T15:59:22.558Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-30T15:59:23.242Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-30T15:59:23.599Z] + ls -al . [2021-07-30T15:59:23.599Z] total 264 [2021-07-30T15:59:23.599Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 30 15:59 . [2021-07-30T15:59:23.599Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 15:55 .. [2021-07-30T15:59:23.599Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 30 15:55 .dockerignore [2021-07-30T15:59:23.599Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 15:55 .git [2021-07-30T15:59:23.599Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 15:55 .github [2021-07-30T15:59:23.599Z] -rw-rw-r-- 1 jenkins jenkins 138 Jul 30 15:55 .gitignore [2021-07-30T15:59:23.599Z] -rw-rw-r-- 1 jenkins jenkins 24816 Jul 30 15:55 CHANGELOG.md [2021-07-30T15:59:23.599Z] -rw-rw-r-- 1 jenkins jenkins 987 Jul 30 15:55 Dockerfile.build [2021-07-30T15:59:23.599Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 30 15:55 Jenkinsfile [2021-07-30T15:59:23.599Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 30 15:55 LICENSE [2021-07-30T15:59:23.599Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jul 30 15:55 Makefile [2021-07-30T15:59:23.599Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jul 30 15:55 README.md [2021-07-30T15:59:23.599Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 30 15:51 VERSION [2021-07-30T15:59:23.599Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 15:55 bin [2021-07-30T15:59:23.599Z] -rw-r--r-- 1 jenkins jenkins 125634 Jul 30 15:58 coverage.out [2021-07-30T15:59:23.599Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 30 15:55 example [2021-07-30T15:59:23.599Z] -rw-r--r-- 1 jenkins jenkins 548 Jul 30 15:59 go.mod [2021-07-30T15:59:23.599Z] -rw-r--r-- 1 jenkins jenkins 20301 Jul 30 15:56 go.sum [2021-07-30T15:59:23.599Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 30 15:55 internal [2021-07-30T15:59:23.599Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 15:55 openapi [2021-07-30T15:59:23.599Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 30 15:55 pkg [2021-07-30T15:59:23.599Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 15:55 snap [2021-07-30T15:59:23.599Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 30 15:55 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-30T15:59:23.974Z] + 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=be89de1644b6547029dfb061f861d4b7a5600c82 --label arch=arm64 --label version=0.0.0 . [2021-07-30T15:59:24.573Z] Sending build context to Docker daemon 2.716MB [2021-07-30T15:59:24.573Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T15:59:24.573Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-30T15:59:24.573Z] ---> b66de033cdc7 [2021-07-30T15:59:24.573Z] Step 3/23 : WORKDIR /device-sdk-go [2021-07-30T15:59:24.851Z] ---> Running in 6ba41d1acfff [2021-07-30T15:59:25.448Z] Removing intermediate container 6ba41d1acfff [2021-07-30T15:59:25.448Z] ---> 00d0d23969ca [2021-07-30T15:59:25.448Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-30T15:59:25.743Z] ---> Running in 68e6e69caf2b [2021-07-30T15:59:26.028Z] Removing intermediate container 68e6e69caf2b [2021-07-30T15:59:26.028Z] ---> 270b621bdb33 [2021-07-30T15:59:26.028Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T15:59:26.302Z] ---> Running in 3de4a8d8046f [2021-07-30T15:59:28.932Z] Removing intermediate container 3de4a8d8046f [2021-07-30T15:59:28.932Z] ---> 90166b6280e8 [2021-07-30T15:59:28.932Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-07-30T15:59:28.932Z] ---> Running in 369677928c48 [2021-07-30T15:59:29.917Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-30T15:59:30.895Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-30T15:59:31.893Z] OK: 139 MiB in 46 packages [2021-07-30T15:59:33.337Z] Removing intermediate container 369677928c48 [2021-07-30T15:59:33.337Z] ---> 5abd0961bec6 [2021-07-30T15:59:33.337Z] Step 7/23 : COPY . . [2021-07-30T15:59:34.785Z] ---> 971e23018656 [2021-07-30T15:59:34.785Z] Step 8/23 : RUN go mod download [2021-07-30T15:59:34.785Z] ---> Running in a89b75d26987 [2021-07-30T15:59:37.416Z] Removing intermediate container a89b75d26987 [2021-07-30T15:59:37.416Z] ---> 0243b23a165a [2021-07-30T15:59:37.416Z] Step 9/23 : RUN make build [2021-07-30T15:59:37.416Z] ---> Running in fe4033085b86 [2021-07-30T15:59:38.880Z] go mod tidy [2021-07-30T15:59:39.479Z] 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-07-30T16:00:11.898Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-07-30T16:00:13.898Z] Removing intermediate container fe4033085b86 [2021-07-30T16:00:13.898Z] ---> fd972878e4f1 [2021-07-30T16:00:13.898Z] Step 10/23 : FROM alpine:3.12 [2021-07-30T16:00:14.878Z] 3.12: Pulling from library/alpine [2021-07-30T16:00:14.878Z] d2f70382dc9a: Pulling fs layer [2021-07-30T16:00:15.154Z] d2f70382dc9a: Verifying Checksum [2021-07-30T16:00:15.154Z] d2f70382dc9a: Download complete [2021-07-30T16:00:15.755Z] d2f70382dc9a: Pull complete [2021-07-30T16:00:15.755Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-30T16:00:15.755Z] Status: Downloaded newer image for alpine:3.12 [2021-07-30T16:00:15.755Z] ---> c4fd0aeabfcf [2021-07-30T16:00:15.755Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-30T16:00:16.029Z] ---> Running in ef76c345b717 [2021-07-30T16:00:16.630Z] Removing intermediate container ef76c345b717 [2021-07-30T16:00:16.631Z] ---> 7b3e160d1c37 [2021-07-30T16:00:16.631Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T16:00:16.631Z] ---> Running in e4c61909a5f3 [2021-07-30T16:00:19.269Z] Removing intermediate container e4c61909a5f3 [2021-07-30T16:00:19.269Z] ---> ec186f355fca [2021-07-30T16:00:19.269Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-07-30T16:00:19.269Z] ---> Running in 85e9a6f4cf0c [2021-07-30T16:00:20.711Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-30T16:00:21.313Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-30T16:00:21.915Z] (1/5) Installing libgcc (9.3.0-r2) [2021-07-30T16:00:21.916Z] (2/5) Installing libsodium (1.0.18-r0) [2021-07-30T16:00:21.916Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-07-30T16:00:22.195Z] (4/5) Installing libzmq (4.3.3-r0) [2021-07-30T16:00:22.195Z] (5/5) Installing zeromq (4.3.3-r0) [2021-07-30T16:00:22.470Z] Executing busybox-1.31.1-r20.trigger [2021-07-30T16:00:22.470Z] OK: 8 MiB in 19 packages [2021-07-30T16:00:23.457Z] Removing intermediate container 85e9a6f4cf0c [2021-07-30T16:00:23.457Z] ---> 9a9417875d55 [2021-07-30T16:00:23.457Z] Step 14/23 : WORKDIR / [2021-07-30T16:00:23.732Z] ---> Running in 9e4b596c1677 [2021-07-30T16:00:24.335Z] Removing intermediate container 9e4b596c1677 [2021-07-30T16:00:24.335Z] ---> 2f08aab8aba5 [2021-07-30T16:00:24.335Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-07-30T16:00:24.940Z] ---> e0632e6fcd65 [2021-07-30T16:00:24.941Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-07-30T16:00:26.411Z] ---> 0fd6f375d899 [2021-07-30T16:00:26.411Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-07-30T16:00:27.399Z] ---> 934173b29425 [2021-07-30T16:00:27.399Z] Step 18/23 : EXPOSE 59999 [2021-07-30T16:00:27.399Z] ---> Running in f73b47ad9089 [2021-07-30T16:00:27.997Z] Removing intermediate container f73b47ad9089 [2021-07-30T16:00:27.997Z] ---> 2f1717ffa838 [2021-07-30T16:00:27.997Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-07-30T16:00:27.997Z] ---> Running in 1e00a39c6393 [2021-07-30T16:00:28.597Z] Removing intermediate container 1e00a39c6393 [2021-07-30T16:00:28.597Z] ---> 4408de426d23 [2021-07-30T16:00:28.597Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-30T16:00:28.597Z] ---> Running in b7f6fa5e9b7f [2021-07-30T16:00:29.201Z] Removing intermediate container b7f6fa5e9b7f [2021-07-30T16:00:29.201Z] ---> 314beedbb74f [2021-07-30T16:00:29.201Z] Step 21/23 : LABEL arch=arm64 [2021-07-30T16:00:29.475Z] ---> Running in e49e218cd8e4 [2021-07-30T16:00:30.080Z] Removing intermediate container e49e218cd8e4 [2021-07-30T16:00:30.080Z] ---> 8a0af7fd9e75 [2021-07-30T16:00:30.080Z] Step 22/23 : LABEL git_sha=be89de1644b6547029dfb061f861d4b7a5600c82 [2021-07-30T16:00:30.080Z] ---> Running in 0e47634657ba [2021-07-30T16:00:30.698Z] Removing intermediate container 0e47634657ba [2021-07-30T16:00:30.698Z] ---> 0118a17e3d8c [2021-07-30T16:00:30.698Z] Step 23/23 : LABEL version=0.0.0 [2021-07-30T16:00:30.698Z] ---> Running in 5f90b9e21484 [2021-07-30T16:00:31.299Z] Removing intermediate container 5f90b9e21484 [2021-07-30T16:00:31.299Z] ---> ff303a6d8943 [2021-07-30T16:00:31.299Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-30T16:00:31.299Z] Successfully built ff303a6d8943 [2021-07-30T16:00:31.299Z] 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-07-30T16:00:32.223Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-30T16:00:32.499Z] [2021-07-30T16:00:32.499Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-07-30T16:00:32.952Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-30T16:00:33.225Z] arm64: Pulling from edgex-lftools-log-publisher [2021-07-30T16:00:33.225Z] 448f6bf000e3: Pulling fs layer [2021-07-30T16:00:33.225Z] f757da607395: Pulling fs layer [2021-07-30T16:00:33.225Z] 05883995daec: Pulling fs layer [2021-07-30T16:00:33.225Z] 8603b9c90790: Pulling fs layer [2021-07-30T16:00:33.225Z] 1560dd03e051: Pulling fs layer [2021-07-30T16:00:33.225Z] 27f5ce0e4adf: Pulling fs layer [2021-07-30T16:00:33.225Z] c2d8d7efcc4b: Pulling fs layer [2021-07-30T16:00:33.225Z] 1560dd03e051: Waiting [2021-07-30T16:00:33.225Z] 27f5ce0e4adf: Waiting [2021-07-30T16:00:33.225Z] c2d8d7efcc4b: Waiting [2021-07-30T16:00:33.225Z] 8603b9c90790: Waiting [2021-07-30T16:00:33.501Z] f757da607395: Verifying Checksum [2021-07-30T16:00:33.501Z] f757da607395: Download complete [2021-07-30T16:00:33.501Z] 8603b9c90790: Download complete [2021-07-30T16:00:33.777Z] 1560dd03e051: Verifying Checksum [2021-07-30T16:00:33.777Z] 1560dd03e051: Download complete [2021-07-30T16:00:34.051Z] 27f5ce0e4adf: Verifying Checksum [2021-07-30T16:00:34.052Z] 27f5ce0e4adf: Download complete [2021-07-30T16:00:34.052Z] 05883995daec: Verifying Checksum [2021-07-30T16:00:34.052Z] 05883995daec: Download complete [2021-07-30T16:00:34.327Z] 448f6bf000e3: Verifying Checksum [2021-07-30T16:00:34.327Z] 448f6bf000e3: Download complete [2021-07-30T16:00:37.739Z] c2d8d7efcc4b: Verifying Checksum [2021-07-30T16:00:37.739Z] c2d8d7efcc4b: Download complete [2021-07-30T16:00:38.013Z] 448f6bf000e3: Pull complete [2021-07-30T16:00:38.611Z] f757da607395: Pull complete [2021-07-30T16:00:40.058Z] 05883995daec: Pull complete [2021-07-30T16:00:40.661Z] 8603b9c90790: Pull complete [2021-07-30T16:00:41.645Z] 1560dd03e051: Pull complete [2021-07-30T16:00:41.922Z] 27f5ce0e4adf: Pull complete [2021-07-30T16:00:57.052Z] c2d8d7efcc4b: Pull complete [2021-07-30T16:00:57.052Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-07-30T16:00:57.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-30T16:00:57.052Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-07-30T16:00:57.336Z] prd-ubuntu18.04-docker-arm64-4c-16g-1035 does not seem to be running inside a container [2021-07-30T16:00:57.417Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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:arm64 cat [2021-07-30T16:01:01.851Z] $ docker top d97d63571a955960aec5de149ccbc76ff49805e1e67e7a8164a1d9f64e27b1c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T16:01:02.910Z] ---> job-cost.sh [2021-07-30T16:01:02.911Z] lf-activate-venv: SKIPPING [2021-07-30T16:01:02.911Z] INFO: No Stack... [2021-07-30T16:01:03.525Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-30T16:01:04.131Z] INFO: Archiving Costs [Pipeline] sh [2021-07-30T16:01:04.829Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-07-30T16:01:04.829Z] + cut -d, -f6 [Pipeline] lock [2021-07-30T16:01:04.927Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1005-1-stack-cost] [2021-07-30T16:01:04.949Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1005-1-stack-cost] did not exist. Created. [2021-07-30T16:01:04.949Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1005-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-30T16:01:05.712Z] /w/workspace/device-sdk-go/1@tmp/durable-aa396a94/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-aa396a94/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-30T16:01:06.412Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-30T16:01:06.458Z] Warning: overwriting stash ‘stack-cost’ [2021-07-30T16:01:06.521Z] Stashed 1 file(s) [Pipeline] } [2021-07-30T16:01:06.542Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1005-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-30T16:01:06.618Z] $ docker stop --time=1 d97d63571a955960aec5de149ccbc76ff49805e1e67e7a8164a1d9f64e27b1c0 [2021-07-30T16:01:08.371Z] $ docker rm -f d97d63571a955960aec5de149ccbc76ff49805e1e67e7a8164a1d9f64e27b1c0 [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-07-30T16:01:09.907Z] provisioning config files... [2021-07-30T16:01:09.924Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp/config3150085005770960370tmp [Pipeline] { [Pipeline] sh [2021-07-30T16:01:10.297Z] + set +x [2021-07-30T16:01:10.297Z] + curl -s https://codecov.io/bash [2021-07-30T16:01:10.297Z] + bash -s -- [2021-07-30T16:01:10.297Z] [2021-07-30T16:01:10.297Z] _____ _ [2021-07-30T16:01:10.297Z] / ____| | | [2021-07-30T16:01:10.297Z] | | ___ __| | ___ ___ _____ __ [2021-07-30T16:01:10.297Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-30T16:01:10.297Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-30T16:01:10.297Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-30T16:01:10.297Z] Bash-1.0.6 [2021-07-30T16:01:10.297Z] [2021-07-30T16:01:10.297Z] [2021-07-30T16:01:10.297Z] ==> git version 2.24.4 found [2021-07-30T16:01:10.297Z] ==> 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-07-30T16:01:10.297Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-30T16:01:10.297Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-30T16:01:10.297Z] ==> Jenkins CI detected. [2021-07-30T16:01:10.297Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1005 [2021-07-30T16:01:10.297Z] project root: . [2021-07-30T16:01:10.297Z] --> token set from env [2021-07-30T16:01:10.297Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-30T16:01:10.297Z] ==> Running gcov in . (disable via -X gcov) [2021-07-30T16:01:10.297Z] ==> Python coveragepy not found [2021-07-30T16:01:10.297Z] ==> Searching for coverage reports in: [2021-07-30T16:01:10.297Z] + . [2021-07-30T16:01:10.297Z] -> Found 1 reports [2021-07-30T16:01:10.297Z] ==> Detecting git/mercurial file structure [2021-07-30T16:01:10.569Z] ==> Reading reports [2021-07-30T16:01:10.569Z] + ./coverage.out bytes=125634 [2021-07-30T16:01:10.569Z] ==> Appending adjustments [2021-07-30T16:01:10.569Z] https://docs.codecov.io/docs/fixing-reports [2021-07-30T16:01:10.837Z] + Found adjustments [2021-07-30T16:01:10.837Z] ==> Gzipping contents [2021-07-30T16:01:10.837Z] 16K /tmp/codecov.nr3fti.gz [2021-07-30T16:01:10.837Z] ==> Uploading reports [2021-07-30T16:01:10.837Z] url: https://codecov.io [2021-07-30T16:01:10.837Z] query: branch=PR-1005&commit=be89de1644b6547029dfb061f861d4b7a5600c82&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1005%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1005&job=&cmd_args= [2021-07-30T16:01:10.837Z] -> Pinging Codecov [2021-07-30T16:01:10.837Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1005&commit=be89de1644b6547029dfb061f861d4b7a5600c82&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1005%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1005&job=&cmd_args= [2021-07-30T16:01:11.105Z] -> Uploading to [2021-07-30T16:01:11.106Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-30/7E55EF52A471D76F132DFD9A03CDDE97/be89de1644b6547029dfb061f861d4b7a5600c82/442b19d8-2967-4ced-b179-3ed6fe797cd2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210730%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210730T160110Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=470271f70b4adfb42df733e61439231785de57b6b6d3600c6fdcbcb200ee19c3 [2021-07-30T16:01:11.106Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-30T16:01:11.106Z] Dload Upload Total Spent Left Speed [2021-07-30T16:01:11.376Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16038 0 0 100 16038 0 43961 --:--:-- --:--:-- --:--:-- 44060 [2021-07-30T16:01:11.376Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/be89de1644b6547029dfb061f861d4b7a5600c82 [Pipeline] } [2021-07-30T16:01:11.405Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-07-30T16:01:13.972Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T16:01:14.605Z] ---> package-listing.sh [2021-07-30T16:01:14.605Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-30T16:01:14.605Z] ++ facter osfamily [2021-07-30T16:01:14.873Z] + OS_FAMILY=redhat [2021-07-30T16:01:14.873Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1005 [2021-07-30T16:01:14.873Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-30T16:01:14.873Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-30T16:01:14.873Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-30T16:01:14.873Z] + PACKAGES=/tmp/packages_start.txt [2021-07-30T16:01:14.873Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1005 ']' [2021-07-30T16:01:14.873Z] + PACKAGES=/tmp/packages_end.txt [2021-07-30T16:01:14.873Z] + case "${OS_FAMILY}" in [2021-07-30T16:01:14.873Z] + rpm -qa [2021-07-30T16:01:14.873Z] + sort [2021-07-30T16:01:15.460Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-30T16:01:15.460Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-30T16:01:15.460Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-30T16:01:15.460Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1005 ']' [2021-07-30T16:01:15.460Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1005/archives/ [2021-07-30T16:01:15.460Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1005/archives/ [Pipeline] echo [2021-07-30T16:01:15.511Z] 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-1005/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-30T16:01:15.832Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-30T16:01:16.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T16:01:16.452Z] [2021-07-30T16:01:16.452Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T16:01:16.860Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T16:01:16.860Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-30T16:01:16.860Z] b4d181a07f80: Pulling fs layer [2021-07-30T16:01:16.860Z] a1111a8f2ec3: Pulling fs layer [2021-07-30T16:01:16.860Z] ed53099fbce6: Pulling fs layer [2021-07-30T16:01:16.860Z] dc539afda2c1: Pulling fs layer [2021-07-30T16:01:16.860Z] 77bc0d833cb6: Pulling fs layer [2021-07-30T16:01:16.860Z] 9065ff56babe: Pulling fs layer [2021-07-30T16:01:16.860Z] d287ab97295c: Pulling fs layer [2021-07-30T16:01:16.860Z] dc539afda2c1: Waiting [2021-07-30T16:01:16.860Z] 77bc0d833cb6: Waiting [2021-07-30T16:01:16.860Z] 9065ff56babe: Waiting [2021-07-30T16:01:16.860Z] d287ab97295c: Waiting [2021-07-30T16:01:17.127Z] a1111a8f2ec3: Verifying Checksum [2021-07-30T16:01:17.127Z] a1111a8f2ec3: Download complete [2021-07-30T16:01:17.127Z] dc539afda2c1: Verifying Checksum [2021-07-30T16:01:17.127Z] dc539afda2c1: Download complete [2021-07-30T16:01:17.394Z] 77bc0d833cb6: Verifying Checksum [2021-07-30T16:01:17.394Z] 77bc0d833cb6: Download complete [2021-07-30T16:01:17.666Z] 9065ff56babe: Verifying Checksum [2021-07-30T16:01:17.666Z] 9065ff56babe: Download complete [2021-07-30T16:01:17.666Z] ed53099fbce6: Verifying Checksum [2021-07-30T16:01:17.666Z] ed53099fbce6: Download complete [2021-07-30T16:01:19.083Z] b4d181a07f80: Verifying Checksum [2021-07-30T16:01:19.083Z] b4d181a07f80: Download complete [2021-07-30T16:01:20.080Z] b4d181a07f80: Pull complete [2021-07-30T16:01:20.359Z] a1111a8f2ec3: Pull complete [2021-07-30T16:01:20.637Z] ed53099fbce6: Pull complete [2021-07-30T16:01:20.910Z] dc539afda2c1: Pull complete [2021-07-30T16:01:20.910Z] 77bc0d833cb6: Pull complete [2021-07-30T16:01:21.175Z] 9065ff56babe: Pull complete [2021-07-30T16:01:24.528Z] d287ab97295c: Verifying Checksum [2021-07-30T16:01:24.528Z] d287ab97295c: Download complete [2021-07-30T16:01:28.846Z] d287ab97295c: Pull complete [2021-07-30T16:01:28.846Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-30T16:01:28.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T16:01:28.846Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-30T16:01:28.974Z] prd-centos7-docker-4c-2g-1032 does not seem to be running inside a container [2021-07-30T16:01:29.042Z] $ 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-1005/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-1005 -v /w/workspace/gexfoundry_device-sdk-go_PR-1005:/w/workspace/gexfoundry_device-sdk-go_PR-1005:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-30T16:01:31.224Z] $ docker top 6ea28886507e2fad6332f8c556f3447ca7c39ad2950ca9f73afe09255ab0815c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T16:01:31.682Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-30T16:01:32.031Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-07-30T16:01:32.395Z] + ls /var/log/sa-host [2021-07-30T16:01:32.395Z] + sadf -c /var/log/sa-host/sa05 [2021-07-30T16:01:32.395Z] file_magic: OK [2021-07-30T16:01:32.395Z] HZ: Using current value: 100 [2021-07-30T16:01:32.395Z] file_header: OK [2021-07-30T16:01:32.395Z] 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-07-30T16:01:32.395Z] Statistics: [2021-07-30T16:01:32.395Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-30T16:01:32.395Z] File successfully converted to sysstat format version 12.0.3 [2021-07-30T16:01:32.395Z] + sadf -c /var/log/sa-host/sa30 [2021-07-30T16:01:32.395Z] file_magic: OK [2021-07-30T16:01:32.395Z] HZ: Using current value: 100 [2021-07-30T16:01:32.395Z] file_header: OK [2021-07-30T16:01:32.395Z] 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-07-30T16:01:32.395Z] Statistics: [2021-07-30T16:01:32.395Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-30T16:01:32.395Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T16:01:32.645Z] provisioning config files... [2021-07-30T16:01:32.664Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1005@tmp/config1666049391928397512tmp [Pipeline] { [Pipeline] echo [2021-07-30T16:01:32.727Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T16:01:33.092Z] ---> create-netrc.sh [Pipeline] } [2021-07-30T16:01:33.117Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-30T16:01:33.575Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-30T16:01:33.616Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T16:01:33.978Z] ---> sudo-logs.sh [2021-07-30T16:01:33.978Z] Archiving 'sudo' log.. [2021-07-30T16:01:33.978Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1032.vexxhost.local: Name or service not known [2021-07-30T16:01:33.978Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1032.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-07-30T16:01:34.059Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T16:01:34.412Z] ---> job-cost.sh [2021-07-30T16:01:34.412Z] lf-activate-venv: SKIPPING [2021-07-30T16:01:34.412Z] DEBUG: total: 0.18000000715255737 [2021-07-30T16:01:34.412Z] INFO: Retrieving Stack Cost... [2021-07-30T16:01:34.994Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-30T16:01:35.577Z] INFO: Archiving Costs [Pipeline] echo [2021-07-30T16:01:35.615Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T16:01:35.973Z] ---> logs-deploy.sh [2021-07-30T16:01:35.973Z] lf-activate-venv: SKIPPING [2021-07-30T16:01:35.974Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1005/1 [2021-07-30T16:01:35.974Z] INFO: archiving workspace using pattern(s): [2021-07-30T16:01:36.562Z] Archives upload complete. [2021-07-30T16:01:36.828Z] INFO: archiving logs to Nexus