cloudxxx8 commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ff0c835f9b1978ebced0fae761bf5531927b028e+4d64bf0c03e0fc597f376e2d6bc91811e913bb0c (8fcc0393f5357117292694b3f0c5df6c6018e4eb) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7525491892549894346.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh8458147903285714163.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1035/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1035/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6462986601620567906.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4115148729542705711.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1035/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1035/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6757424607397864901.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 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-2320 in /w/workspace/gexfoundry_device-sdk-go_PR-1035 [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-1035 # 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-1035@tmp/jenkins-gitclient-ssh7517945085098228765.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 4d64bf0c03e0fc597f376e2d6bc91811e913bb0c into PR head commit ff0c835f9b1978ebced0fae761bf5531927b028e Merge succeeded, producing ff0c835f9b1978ebced0fae761bf5531927b028e Checking out Revision ff0c835f9b1978ebced0fae761bf5531927b028e (PR-1035) > 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-1035@tmp/jenkins-gitclient-ssh7796132260082669381.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1035/head:refs/remotes/origin/PR-1035 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff0c835f9b1978ebced0fae761bf5531927b028e # 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-1035@tmp/jenkins-gitclient-ssh2885434504008694052.key > git merge 4d64bf0c03e0fc597f376e2d6bc91811e913bb0c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff0c835f9b1978ebced0fae761bf5531927b028e # timeout=10 Commit message: "build: Update to use latest go-mods" > git rev-list --no-walk ff0c835f9b1978ebced0fae761bf5531927b028e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-19T03:05:01.688Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-19T03:05:01.754Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-19T03:05:01.771Z] ========================================================= [2021-10-19T03:05:01.771Z] EdgeX Global Pipelines Version Info [2021-10-19T03:05:01.771Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-19T03:05:02.909Z] ------------------- [2021-10-19T03:05:02.910Z] stable info: [2021-10-19T03:05:02.910Z] ------------------- [2021-10-19T03:05:02.910Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-19T03:05:02.910Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-19T03:05:02.910Z] Message: update stable to v1.0.210 [2021-10-19T03:05:03.481Z] ------------------- [2021-10-19T03:05:03.481Z] experimental info: [2021-10-19T03:05:03.481Z] ------------------- [2021-10-19T03:05:03.481Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-19T03:05:03.481Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-19T03:05:03.481Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-19T03:05:03.569Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-19T03:05:03.583Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-19T03:05:03.596Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-19T03:05:03.609Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-19T03:05:03.621Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-19T03:05:03.632Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-19T03:05:03.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-19T03:05:05.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-19T03:05:05.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-19T03:05:05.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-19T03:05:05.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-19T03:05:05.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-19T03:05:05.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-19T03:05:05.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-19T03:05:05.120Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-19T03:05:05.133Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-19T03:05:05.146Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-19T03:05:05.158Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-19T03:05:05.170Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-19T03:05:05.182Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-19T03:05:05.195Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-19T03:05:05.205Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-19T03:05:05.217Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-19T03:05:05.234Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-19T03:05:05.246Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-19T03:05:05.261Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-19T03:05:05.277Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1035 [Pipeline] echo [2021-10-19T03:05:05.290Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1035 [Pipeline] echo [2021-10-19T03:05:05.301Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1035 [Pipeline] echo [2021-10-19T03:05:05.311Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ff0c835f9b1978ebced0fae761bf5531927b028e [Pipeline] echo [2021-10-19T03:05:05.320Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ff0c835 [Pipeline] echo [2021-10-19T03:05:05.329Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-19T03:05:05.365Z] provisioning config files... [2021-10-19T03:05:05.382Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1035@tmp/config7670649748810408860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-19T03:05:05.695Z] ---> docker-login.sh [2021-10-19T03:05:05.695Z] nexus3.edgexfoundry.org:10001 [2021-10-19T03:05:05.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T03:05:05.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T03:05:05.962Z] Configure a credential helper to remove this warning. See [2021-10-19T03:05:05.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T03:05:05.962Z] [2021-10-19T03:05:05.962Z] Login Succeeded [2021-10-19T03:05:05.962Z] nexus3.edgexfoundry.org:10002 [2021-10-19T03:05:05.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T03:05:05.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T03:05:05.962Z] Configure a credential helper to remove this warning. See [2021-10-19T03:05:05.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T03:05:05.962Z] [2021-10-19T03:05:05.962Z] Login Succeeded [2021-10-19T03:05:05.962Z] nexus3.edgexfoundry.org:10003 [2021-10-19T03:05:05.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T03:05:06.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T03:05:06.225Z] Configure a credential helper to remove this warning. See [2021-10-19T03:05:06.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T03:05:06.225Z] [2021-10-19T03:05:06.225Z] Login Succeeded [2021-10-19T03:05:06.225Z] nexus3.edgexfoundry.org:10004 [2021-10-19T03:05:06.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T03:05:06.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T03:05:06.225Z] Configure a credential helper to remove this warning. See [2021-10-19T03:05:06.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T03:05:06.225Z] [2021-10-19T03:05:06.225Z] Login Succeeded [2021-10-19T03:05:06.225Z] docker.io [2021-10-19T03:05:06.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T03:05:06.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T03:05:06.803Z] Configure a credential helper to remove this warning. See [2021-10-19T03:05:06.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T03:05:06.803Z] [2021-10-19T03:05:06.803Z] Login Succeeded [2021-10-19T03:05:06.803Z] ---> docker-login.sh ends [Pipeline] } [2021-10-19T03:05:06.811Z] 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-10-19T03:05:07.297Z] + git log --format=format:%s -1 ff0c835f9b1978ebced0fae761bf5531927b028e [Pipeline] echo [2021-10-19T03:05:07.336Z] GIT_COMMIT: ff0c835f9b1978ebced0fae761bf5531927b028e, Commit Message: build: Update to use latest go-mods [Pipeline] echo [2021-10-19T03:05:07.352Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-19T03:05:09.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-19T03:05:09.298Z] [2021-10-19T03:05:09.298Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-19T03:05:09.609Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-19T03:05:09.610Z] latest: Pulling from edgex-devops/git-semver [2021-10-19T03:05:09.610Z] a0d0a0d46f8b: Pulling fs layer [2021-10-19T03:05:09.610Z] 3e5f54012d9b: Pulling fs layer [2021-10-19T03:05:09.610Z] 4c7163046ea9: Pulling fs layer [2021-10-19T03:05:09.610Z] 0c2d73faf560: Pulling fs layer [2021-10-19T03:05:09.610Z] 0c2d73faf560: Waiting [2021-10-19T03:05:09.610Z] 3e5f54012d9b: Download complete [2021-10-19T03:05:09.610Z] a0d0a0d46f8b: Verifying Checksum [2021-10-19T03:05:09.610Z] a0d0a0d46f8b: Download complete [2021-10-19T03:05:09.610Z] 0c2d73faf560: Verifying Checksum [2021-10-19T03:05:09.610Z] 0c2d73faf560: Download complete [2021-10-19T03:05:09.885Z] 4c7163046ea9: Verifying Checksum [2021-10-19T03:05:09.885Z] 4c7163046ea9: Download complete [2021-10-19T03:05:09.885Z] a0d0a0d46f8b: Pull complete [2021-10-19T03:05:09.885Z] 3e5f54012d9b: Pull complete [2021-10-19T03:05:10.149Z] 4c7163046ea9: Pull complete [2021-10-19T03:05:10.413Z] 0c2d73faf560: Pull complete [2021-10-19T03:05:10.413Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-19T03:05:10.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-19T03:05:10.413Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-19T03:05:10.504Z] prd-centos7-docker-4c-2g-2320 does not seem to be running inside a container [2021-10-19T03:05:10.544Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1035 -v /w/workspace/gexfoundry_device-sdk-go_PR-1035:/w/workspace/gexfoundry_device-sdk-go_PR-1035:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1035@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1035@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:10004/edgex-devops/git-semver:latest cat [2021-10-19T03:05:11.227Z] $ docker top 13098b65246cc9af954b2d93ad3097a1f40fc5be5f868849ac32f4bcf59bb7d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-19T03:05:11.327Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-19T03:05:11.327Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-19T03:05:11.432Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-19T03:05:11.435Z] $ docker exec 13098b65246cc9af954b2d93ad3097a1f40fc5be5f868849ac32f4bcf59bb7d7 ssh-agent [2021-10-19T03:05:11.539Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJCBkhd/agent.13 [2021-10-19T03:05:11.539Z] SSH_AGENT_PID=20 [2021-10-19T03:05:11.547Z] Running ssh-add (command line suppressed) [2021-10-19T03:05:11.645Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1035@tmp/private_key_3949340570475226527.key (/w/workspace/gexfoundry_device-sdk-go_PR-1035@tmp/private_key_3949340570475226527.key) [2021-10-19T03:05:11.658Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-19T03:05:11.960Z] + git tag --points-at HEAD [Pipeline] } [2021-10-19T03:05:11.974Z] $ docker exec --env ******** --env ******** 13098b65246cc9af954b2d93ad3097a1f40fc5be5f868849ac32f4bcf59bb7d7 ssh-agent -k [2021-10-19T03:05:12.086Z] unset SSH_AUTH_SOCK; [2021-10-19T03:05:12.086Z] unset SSH_AGENT_PID; [2021-10-19T03:05:12.086Z] echo Agent pid 20 killed; [2021-10-19T03:05:12.102Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-19T03:05:12.122Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-19T03:05:12.122Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-19T03:05:12.221Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-19T03:05:12.223Z] $ docker exec 13098b65246cc9af954b2d93ad3097a1f40fc5be5f868849ac32f4bcf59bb7d7 ssh-agent [2021-10-19T03:05:12.326Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXncabiB/agent.54 [2021-10-19T03:05:12.326Z] SSH_AGENT_PID=61 [2021-10-19T03:05:12.331Z] Running ssh-add (command line suppressed) [2021-10-19T03:05:12.425Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1035@tmp/private_key_1935514279083623850.key (/w/workspace/gexfoundry_device-sdk-go_PR-1035@tmp/private_key_1935514279083623850.key) [2021-10-19T03:05:12.438Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-19T03:05:12.741Z] + git semver init [2021-10-19T03:05:12.741Z] # -> Open(): unable to determine branch for HEAD [2021-10-19T03:05:12.741Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1035/.git [2021-10-19T03:05:12.741Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1035 [2021-10-19T03:05:12.741Z] # $SEMVER_REMOTE_NAME = origin [2021-10-19T03:05:12.741Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-19T03:05:12.741Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-19T03:05:12.741Z] # $SEMVER_BRANCH = PR-1035 [2021-10-19T03:05:12.741Z] # $SEMVER_TEMP = /tmp/semver-030622757 [2021-10-19T03:05:12.741Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-19T03:05:13.701Z] # '/tmp/semver-030622757' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1035/.semver' [2021-10-19T03:05:13.701Z] # -> Force: false [2021-10-19T03:05:13.701Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1035/.semver [Pipeline] } [2021-10-19T03:05:13.711Z] $ docker exec --env ******** --env ******** 13098b65246cc9af954b2d93ad3097a1f40fc5be5f868849ac32f4bcf59bb7d7 ssh-agent -k [2021-10-19T03:05:13.802Z] unset SSH_AUTH_SOCK; [2021-10-19T03:05:13.803Z] unset SSH_AGENT_PID; [2021-10-19T03:05:13.803Z] echo Agent pid 61 killed; [2021-10-19T03:05:13.811Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-19T03:05:14.126Z] + git semver [Pipeline] } [2021-10-19T03:05:14.139Z] $ docker stop --time=1 13098b65246cc9af954b2d93ad3097a1f40fc5be5f868849ac32f4bcf59bb7d7 [2021-10-19T03:05:15.355Z] $ docker rm -f 13098b65246cc9af954b2d93ad3097a1f40fc5be5f868849ac32f4bcf59bb7d7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-19T03:05:15.719Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-19T03:05:15.965Z] Stashed 1 file(s) [Pipeline] echo [2021-10-19T03:05:15.967Z] [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-10-19T03:05:31.671Z] Still waiting to schedule task [2021-10-19T03:05:31.671Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-19T03:05:31.671Z] Still waiting to schedule task [2021-10-19T03:05:31.671Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2314’ [2021-10-19T03:07:17.580Z] Running on prd-centos7-docker-4c-2g-2321 in /w/workspace/gexfoundry_device-sdk-go_PR-1035 [Pipeline] { [Pipeline] ws [2021-10-19T03:07:17.593Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-10-19T03:07:17.694Z] Selected Git installation does not exist. Using Default [2021-10-19T03:07:17.694Z] The recommended git tool is: NONE [2021-10-19T03:07:21.097Z] using credential edgex-jenkins-ssh [2021-10-19T03:07:21.117Z] Cloning the remote Git repository [2021-10-19T03:07:20.652Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-19T03:07:20.710Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-10-19T03:07:20.743Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-19T03:07:20.744Z] > git --version # timeout=10 [2021-10-19T03:07:20.752Z] > git --version # 'git version 2.24.4' [2021-10-19T03:07:20.753Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-19T03:07:20.776Z] [INFO] Currently running in a labeled security context [2021-10-19T03:07:20.777Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-19T03:07:20.777Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh2217303291791055853.key [2021-10-19T03:07:20.800Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-19T03:07:21.724Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-19T03:07:21.735Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-19T03:07:21.748Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-19T03:07:21.762Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-19T03:07:21.762Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-19T03:07:21.763Z] [INFO] Currently running in a labeled security context [2021-10-19T03:07:21.764Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-19T03:07:21.764Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh6646041418876309957.key [2021-10-19T03:07:21.778Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1035/head:refs/remotes/origin/PR-1035 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-19T03:07:23.000Z] Merging remotes/origin/main commit 4d64bf0c03e0fc597f376e2d6bc91811e913bb0c into PR head commit ff0c835f9b1978ebced0fae761bf5531927b028e [2021-10-19T03:07:23.107Z] Merge succeeded, producing ff0c835f9b1978ebced0fae761bf5531927b028e [2021-10-19T03:07:23.107Z] Checking out Revision ff0c835f9b1978ebced0fae761bf5531927b028e (PR-1035) [2021-10-19T03:07:22.519Z] > git config core.sparsecheckout # timeout=10 [2021-10-19T03:07:22.530Z] > git checkout -f ff0c835f9b1978ebced0fae761bf5531927b028e # timeout=10 [2021-10-19T03:07:22.562Z] > git remote # timeout=10 [2021-10-19T03:07:22.572Z] > git config --get remote.origin.url # timeout=10 [2021-10-19T03:07:22.580Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-19T03:07:22.581Z] [INFO] Currently running in a labeled security context [2021-10-19T03:07:22.581Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-19T03:07:22.581Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh3122316780474268838.key [2021-10-19T03:07:22.594Z] > git merge 4d64bf0c03e0fc597f376e2d6bc91811e913bb0c # timeout=10 [2021-10-19T03:07:22.604Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-19T03:07:22.618Z] > git config core.sparsecheckout # timeout=10 [2021-10-19T03:07:22.624Z] > git checkout -f ff0c835f9b1978ebced0fae761bf5531927b028e # timeout=10 [2021-10-19T03:07:26.622Z] Commit message: "build: Update to use latest go-mods" [2021-10-19T03:09:43.191Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2322 in /w/workspace/gexfoundry_device-sdk-go_PR-1035 [Pipeline] { [Pipeline] ws [2021-10-19T03:09:43.205Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-10-19T03:09:43.412Z] Selected Git installation does not exist. Using Default [2021-10-19T03:09:43.413Z] The recommended git tool is: NONE [2021-10-19T03:09:49.966Z] using credential edgex-jenkins-ssh [2021-10-19T03:09:49.983Z] Cloning the remote Git repository [2021-10-19T03:09:50.030Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-19T03:09:50.132Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-10-19T03:09:50.234Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-19T03:09:50.235Z] > git --version # timeout=10 [2021-10-19T03:09:50.252Z] > git --version # 'git version 2.17.1' [2021-10-19T03:09:50.254Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-19T03:09:50.329Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-19T03:09:51.806Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-19T03:09:51.826Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-19T03:09:51.853Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-19T03:09:51.894Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-19T03:09:51.895Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-19T03:09:51.905Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1035/head:refs/remotes/origin/PR-1035 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-19T03:09:52.658Z] Merging remotes/origin/main commit 4d64bf0c03e0fc597f376e2d6bc91811e913bb0c into PR head commit ff0c835f9b1978ebced0fae761bf5531927b028e [2021-10-19T03:09:52.901Z] Merge succeeded, producing ff0c835f9b1978ebced0fae761bf5531927b028e [2021-10-19T03:09:52.902Z] Checking out Revision ff0c835f9b1978ebced0fae761bf5531927b028e (PR-1035) [2021-10-19T03:09:52.682Z] > git config core.sparsecheckout # timeout=10 [2021-10-19T03:09:52.698Z] > git checkout -f ff0c835f9b1978ebced0fae761bf5531927b028e # timeout=10 [2021-10-19T03:09:52.811Z] > git remote # timeout=10 [2021-10-19T03:09:52.833Z] > git config --get remote.origin.url # timeout=10 [2021-10-19T03:09:52.847Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-19T03:09:52.859Z] > git merge 4d64bf0c03e0fc597f376e2d6bc91811e913bb0c # timeout=10 [2021-10-19T03:09:52.883Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-19T03:09:52.909Z] > git config core.sparsecheckout # timeout=10 [2021-10-19T03:09:52.922Z] > git checkout -f ff0c835f9b1978ebced0fae761bf5531927b028e # timeout=10 [2021-10-19T03:09:57.355Z] Commit message: "build: Update to use latest go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-19T03:11:05.269Z] provisioning config files... [2021-10-19T03:11:05.287Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7139443560175742503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-19T03:11:05.686Z] ---> docker-login.sh [2021-10-19T03:11:05.686Z] nexus3.edgexfoundry.org:10001 [2021-10-19T03:11:05.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-19T03:11:05.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T03:11:05.953Z] Configure a credential helper to remove this warning. See [2021-10-19T03:11:05.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T03:11:05.953Z] [2021-10-19T03:11:05.953Z] Login Succeeded [2021-10-19T03:11:05.953Z] nexus3.edgexfoundry.org:10002 [2021-10-19T03:11:05.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T03:11:05.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T03:11:05.953Z] Configure a credential helper to remove this warning. See [2021-10-19T03:11:05.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T03:11:05.953Z] [2021-10-19T03:11:05.953Z] Login Succeeded [2021-10-19T03:11:05.953Z] nexus3.edgexfoundry.org:10003 [2021-10-19T03:11:05.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T03:11:06.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T03:11:06.214Z] Configure a credential helper to remove this warning. See [2021-10-19T03:11:06.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T03:11:06.214Z] [2021-10-19T03:11:06.214Z] Login Succeeded [2021-10-19T03:11:06.214Z] nexus3.edgexfoundry.org:10004 [2021-10-19T03:11:06.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T03:11:06.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T03:11:06.214Z] Configure a credential helper to remove this warning. See [2021-10-19T03:11:06.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T03:11:06.214Z] [2021-10-19T03:11:06.214Z] Login Succeeded [2021-10-19T03:11:06.214Z] docker.io [2021-10-19T03:11:06.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T03:11:06.300Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-19T03:11:06.301Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-19T03:11:06.301Z] Dload Upload Total Spent Left Speed [2021-10-19T03:11:06.301Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 77281 0 --:--:-- --:--:-- --:--:-- 76779 [Pipeline] sh [2021-10-19T03:11:06.730Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-19T03:11:06.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T03:11:06.786Z] Configure a credential helper to remove this warning. See [2021-10-19T03:11:06.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T03:11:06.786Z] [2021-10-19T03:11:06.786Z] Login Succeeded [2021-10-19T03:11:06.786Z] ---> docker-login.sh ends [Pipeline] } [2021-10-19T03:11:06.834Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-19T03:11:06.976Z] ========================================================= [2021-10-19T03:11:06.976Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-19T03:11:06.976Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-19T03:11:07.094Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-19T03:11:07.094Z] + sudo tee /etc/docker/daemon.new [2021-10-19T03:11:07.094Z] { [2021-10-19T03:11:07.094Z] "registry-mirrors": [ [2021-10-19T03:11:07.094Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-19T03:11:07.094Z] ], [2021-10-19T03:11:07.094Z] "bip": "10.250.0.254/24", [2021-10-19T03:11:07.094Z] "hosts": [ [2021-10-19T03:11:07.094Z] "tcp://0.0.0.0:5555", [2021-10-19T03:11:07.094Z] "unix:///var/run/docker.sock" [2021-10-19T03:11:07.094Z] ], [2021-10-19T03:11:07.094Z] "mtu": 1458, [2021-10-19T03:11:07.094Z] "selinux-enabled": true, [2021-10-19T03:11:07.094Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-19T03:11:07.094Z] } [Pipeline] sh [2021-10-19T03:11:07.296Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-19T03:11:07.296Z] Sending build context to Docker daemon 2.718MB [2021-10-19T03:11:07.296Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-19T03:11:07.296Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-19T03:11:07.296Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-19T03:11:07.296Z] a0d0a0d46f8b: Pulling fs layer [2021-10-19T03:11:07.296Z] 31adcdaf11c8: Pulling fs layer [2021-10-19T03:11:07.296Z] b8b176561691: Pulling fs layer [2021-10-19T03:11:07.296Z] 4527c011a84f: Pulling fs layer [2021-10-19T03:11:07.296Z] 5d74067f8e1e: Pulling fs layer [2021-10-19T03:11:07.296Z] e0aca202a116: Pulling fs layer [2021-10-19T03:11:07.296Z] 3a43be97a3b4: Pulling fs layer [2021-10-19T03:11:07.296Z] 34cad66bf833: Pulling fs layer [2021-10-19T03:11:07.296Z] b4e3c513aaa6: Pulling fs layer [2021-10-19T03:11:07.296Z] 4527c011a84f: Waiting [2021-10-19T03:11:07.296Z] 5d74067f8e1e: Waiting [2021-10-19T03:11:07.296Z] e0aca202a116: Waiting [2021-10-19T03:11:07.296Z] 3a43be97a3b4: Waiting [2021-10-19T03:11:07.296Z] 34cad66bf833: Waiting [2021-10-19T03:11:07.296Z] b4e3c513aaa6: Waiting [2021-10-19T03:11:07.296Z] b8b176561691: Verifying Checksum [2021-10-19T03:11:07.296Z] b8b176561691: Download complete [2021-10-19T03:11:07.296Z] 31adcdaf11c8: Verifying Checksum [2021-10-19T03:11:07.296Z] 31adcdaf11c8: Download complete [2021-10-19T03:11:07.296Z] 5d74067f8e1e: Verifying Checksum [2021-10-19T03:11:07.296Z] 5d74067f8e1e: Download complete [2021-10-19T03:11:07.446Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2021-10-19T03:11:07.561Z] e0aca202a116: Verifying Checksum [2021-10-19T03:11:07.561Z] e0aca202a116: Download complete [2021-10-19T03:11:07.561Z] 3a43be97a3b4: Verifying Checksum [2021-10-19T03:11:07.561Z] 3a43be97a3b4: Download complete [2021-10-19T03:11:07.561Z] a0d0a0d46f8b: Download complete [2021-10-19T03:11:07.561Z] 34cad66bf833: Verifying Checksum [2021-10-19T03:11:07.561Z] 34cad66bf833: Download complete [Pipeline] sh [2021-10-19T03:11:07.826Z] a0d0a0d46f8b: Pull complete [2021-10-19T03:11:08.012Z] + sudo service docker restart [2021-10-19T03:11:08.106Z] 31adcdaf11c8: Pull complete [2021-10-19T03:11:08.106Z] 4527c011a84f: Verifying Checksum [2021-10-19T03:11:08.106Z] 4527c011a84f: Download complete [2021-10-19T03:11:08.106Z] b8b176561691: Pull complete [2021-10-19T03:11:08.373Z] b4e3c513aaa6: Verifying Checksum [2021-10-19T03:11:08.373Z] b4e3c513aaa6: Download complete [2021-10-19T03:11:11.713Z] 4527c011a84f: Pull complete [2021-10-19T03:11:11.975Z] 5d74067f8e1e: Pull complete [2021-10-19T03:11:11.975Z] e0aca202a116: Pull complete [2021-10-19T03:11:11.975Z] 3a43be97a3b4: Pull complete [2021-10-19T03:11:12.238Z] 34cad66bf833: Pull complete [2021-10-19T03:11:14.813Z] b4e3c513aaa6: Pull complete [2021-10-19T03:11:14.813Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-19T03:11:14.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-19T03:11:14.813Z] ---> 9f6097aaca64 [2021-10-19T03:11:14.813Z] Step 3/10 : ARG MAKE=make build [2021-10-19T03:11:18.192Z] ---> Running in c15bd0acae0a [2021-10-19T03:11:18.192Z] Removing intermediate container c15bd0acae0a [2021-10-19T03:11:18.192Z] ---> 589ac13c0a63 [2021-10-19T03:11:18.192Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-19T03:11:18.192Z] ---> Running in 630f89976c00 [2021-10-19T03:11:18.192Z] Removing intermediate container 630f89976c00 [2021-10-19T03:11:18.192Z] ---> 0dd7cacfe0c0 [2021-10-19T03:11:18.192Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-19T03:11:18.454Z] ---> Running in 89bd04078a07 [2021-10-19T03:11:18.454Z] Removing intermediate container 89bd04078a07 [2021-10-19T03:11:18.454Z] ---> 5164af95e444 [2021-10-19T03:11:18.454Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-19T03:11:18.454Z] ---> Running in 1356880fc39d [2021-10-19T03:11:19.034Z] Removing intermediate container 1356880fc39d [2021-10-19T03:11:19.034Z] ---> 2d1b37905e84 [2021-10-19T03:11:19.034Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-19T03:11:19.034Z] ---> Running in 7860556eb648 [2021-10-19T03:11:19.297Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-19T03:11:20.239Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-19T03:11:20.502Z] OK: 220 MiB in 52 packages [2021-10-19T03:11:20.761Z] Removing intermediate container 7860556eb648 [2021-10-19T03:11:20.761Z] ---> ff5a39451097 [2021-10-19T03:11:20.761Z] Step 8/10 : COPY . . [2021-10-19T03:11:21.022Z] ---> 14044d7274af [2021-10-19T03:11:21.022Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-19T03:11:21.022Z] ---> Running in 59fe81ebcdc2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-19T03:11:28.408Z] provisioning config files... [2021-10-19T03:11:28.434Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1148903354909722415tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-19T03:11:28.806Z] ---> docker-login.sh [2021-10-19T03:11:28.807Z] nexus3.edgexfoundry.org:10001 [2021-10-19T03:11:30.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T03:11:30.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T03:11:30.809Z] Configure a credential helper to remove this warning. See [2021-10-19T03:11:30.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T03:11:30.809Z] [2021-10-19T03:11:30.809Z] Login Succeeded [2021-10-19T03:11:31.090Z] nexus3.edgexfoundry.org:10002 [2021-10-19T03:11:31.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T03:11:31.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T03:11:31.660Z] Configure a credential helper to remove this warning. See [2021-10-19T03:11:31.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T03:11:31.660Z] [2021-10-19T03:11:31.660Z] Login Succeeded [2021-10-19T03:11:31.660Z] nexus3.edgexfoundry.org:10003 [2021-10-19T03:11:31.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T03:11:32.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T03:11:32.215Z] Configure a credential helper to remove this warning. See [2021-10-19T03:11:32.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T03:11:32.215Z] [2021-10-19T03:11:32.215Z] Login Succeeded [2021-10-19T03:11:32.215Z] nexus3.edgexfoundry.org:10004 [2021-10-19T03:11:32.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T03:11:32.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T03:11:32.783Z] Configure a credential helper to remove this warning. See [2021-10-19T03:11:32.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T03:11:32.783Z] [2021-10-19T03:11:32.783Z] Login Succeeded [2021-10-19T03:11:32.783Z] docker.io [2021-10-19T03:11:33.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-19T03:11:33.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-19T03:11:33.664Z] Configure a credential helper to remove this warning. See [2021-10-19T03:11:33.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-19T03:11:33.664Z] [2021-10-19T03:11:33.664Z] Login Succeeded [2021-10-19T03:11:33.664Z] ---> docker-login.sh ends [Pipeline] } [2021-10-19T03:11:33.684Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-19T03:11:34.165Z] ========================================================= [2021-10-19T03:11:34.166Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-19T03:11:34.166Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-19T03:11:34.577Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-19T03:11:35.185Z] Sending build context to Docker daemon 2.717MB [2021-10-19T03:11:35.185Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-19T03:11:35.185Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-19T03:11:35.185Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-19T03:11:35.185Z] 552d1f2373af: Pulling fs layer [2021-10-19T03:11:35.185Z] ea3f2d53f512: Pulling fs layer [2021-10-19T03:11:35.185Z] 9e70ebbbe112: Pulling fs layer [2021-10-19T03:11:35.185Z] 7a9cfe048b4a: Pulling fs layer [2021-10-19T03:11:35.185Z] 72dc09318566: Pulling fs layer [2021-10-19T03:11:35.185Z] f4f7b4309257: Pulling fs layer [2021-10-19T03:11:35.185Z] 0ac9a79272e3: Pulling fs layer [2021-10-19T03:11:35.185Z] b78e95d17946: Pulling fs layer [2021-10-19T03:11:35.185Z] 7a9cfe048b4a: Waiting [2021-10-19T03:11:35.185Z] 72dc09318566: Waiting [2021-10-19T03:11:35.185Z] f4f7b4309257: Waiting [2021-10-19T03:11:35.185Z] 0ac9a79272e3: Waiting [2021-10-19T03:11:35.185Z] b78e95d17946: Waiting [2021-10-19T03:11:35.470Z] 9e70ebbbe112: Verifying Checksum [2021-10-19T03:11:35.470Z] 9e70ebbbe112: Download complete [2021-10-19T03:11:35.470Z] ea3f2d53f512: Download complete [2021-10-19T03:11:35.470Z] 72dc09318566: Download complete [2021-10-19T03:11:35.470Z] f4f7b4309257: Download complete [2021-10-19T03:11:35.470Z] 0ac9a79272e3: Download complete [2021-10-19T03:11:35.470Z] 552d1f2373af: Verifying Checksum [2021-10-19T03:11:35.470Z] 552d1f2373af: Download complete [2021-10-19T03:11:36.482Z] 552d1f2373af: Pull complete [2021-10-19T03:11:37.100Z] ea3f2d53f512: Pull complete [2021-10-19T03:11:37.379Z] 9e70ebbbe112: Pull complete [2021-10-19T03:11:37.379Z] b78e95d17946: Verifying Checksum [2021-10-19T03:11:37.379Z] b78e95d17946: Download complete [2021-10-19T03:11:37.986Z] 7a9cfe048b4a: Verifying Checksum [2021-10-19T03:11:48.230Z] 7a9cfe048b4a: Pull complete [2021-10-19T03:11:48.509Z] 72dc09318566: Pull complete [2021-10-19T03:11:48.788Z] f4f7b4309257: Pull complete [2021-10-19T03:11:49.399Z] 0ac9a79272e3: Pull complete [2021-10-19T03:11:54.870Z] b78e95d17946: Pull complete [2021-10-19T03:11:54.870Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-19T03:11:54.870Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-19T03:11:54.870Z] ---> 8b459fc5aaf0 [2021-10-19T03:11:54.870Z] Step 3/10 : ARG MAKE=make build [2021-10-19T03:12:00.574Z] Removing intermediate container 59fe81ebcdc2 [2021-10-19T03:12:00.574Z] ---> e92812c210b4 [2021-10-19T03:12:00.574Z] Step 10/10 : RUN ${MAKE} [2021-10-19T03:12:00.574Z] ---> Running in b7cd4c89d7f0 [2021-10-19T03:12:00.574Z] noop [2021-10-19T03:12:00.574Z] Removing intermediate container b7cd4c89d7f0 [2021-10-19T03:12:00.574Z] ---> 5ec4dc1dd0c5 [2021-10-19T03:12:00.574Z] Successfully built 5ec4dc1dd0c5 [2021-10-19T03:12:00.574Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-19T03:12:00.676Z] ---> Running in 31f663e63cb9 [2021-10-19T03:12:00.871Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-19T03:12:00.871Z] . [Pipeline] withDockerContainer [2021-10-19T03:12:00.939Z] prd-centos7-docker-4c-2g-2321 does not seem to be running inside a container [2021-10-19T03:12:00.958Z] Removing intermediate container 31f663e63cb9 [2021-10-19T03:12:00.958Z] ---> cc9af2fca66a [2021-10-19T03:12:00.958Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-19T03:12:00.972Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-19T03:12:01.241Z] ---> Running in 64e83cbf5817 [2021-10-19T03:12:01.342Z] $ docker top 040f42e121a1ef1efa35a3a4f9aa3b4bcdfd0b5076cca4ca5ba04f47606262c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-19T03:12:01.726Z] + go version [2021-10-19T03:12:01.726Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-19T03:12:01.735Z] $ docker stop --time=1 040f42e121a1ef1efa35a3a4f9aa3b4bcdfd0b5076cca4ca5ba04f47606262c3 [2021-10-19T03:12:01.857Z] Removing intermediate container 64e83cbf5817 [2021-10-19T03:12:01.857Z] ---> 17aa56b31814 [2021-10-19T03:12:01.857Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-19T03:12:01.857Z] ---> Running in 813f8cd8f68d [2021-10-19T03:12:02.466Z] Removing intermediate container 813f8cd8f68d [2021-10-19T03:12:02.466Z] ---> 3327285b1a5d [2021-10-19T03:12:02.466Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-19T03:12:02.466Z] ---> Running in 5b232c6d759a [2021-10-19T03:12:02.924Z] $ docker rm -f 040f42e121a1ef1efa35a3a4f9aa3b4bcdfd0b5076cca4ca5ba04f47606262c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-19T03:12:03.454Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-19T03:12:03.454Z] . [Pipeline] withDockerContainer [2021-10-19T03:12:03.531Z] prd-centos7-docker-4c-2g-2321 does not seem to be running inside a container [2021-10-19T03:12:03.562Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-19T03:12:03.925Z] $ docker top eba465e5dfb8a0ffd0bbcb5edb5768474f6a6b67655b41be11fd52d5f12a5d44 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-19T03:12:04.288Z] + make test [2021-10-19T03:12:04.288Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-19T03:12:05.900Z] Removing intermediate container 5b232c6d759a [2021-10-19T03:12:05.900Z] ---> 7d207667f3a9 [2021-10-19T03:12:05.900Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-19T03:12:05.900Z] ---> Running in 33a183d25942 [2021-10-19T03:12:06.896Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-19T03:12:07.891Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-19T03:12:09.346Z] OK: 219 MiB in 52 packages [2021-10-19T03:12:09.652Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-19T03:12:10.342Z] Removing intermediate container 33a183d25942 [2021-10-19T03:12:10.342Z] ---> 735ce8565fa1 [2021-10-19T03:12:10.342Z] Step 8/10 : COPY . . [2021-10-19T03:12:11.804Z] ---> 924a6822b881 [2021-10-19T03:12:11.804Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-19T03:12:11.804Z] ---> Running in 9e9b484980e3 [2021-10-19T03:12:31.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-19T03:12:31.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-19T03:12:31.748Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-19T03:12:33.178Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.049s coverage: 23.5% of statements [2021-10-19T03:12:33.178Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-19T03:12:33.178Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.044s coverage: 28.1% of statements [2021-10-19T03:12:33.761Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.058s coverage: 78.9% of statements [2021-10-19T03:12:33.761Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.064s coverage: 9.0% of statements [2021-10-19T03:12:33.761Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-19T03:12:33.761Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-19T03:12:33.761Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-19T03:12:34.712Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.063s coverage: 28.7% of statements [2021-10-19T03:12:34.712Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-19T03:12:35.671Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.048s coverage: 83.3% of statements [2021-10-19T03:12:35.671Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-19T03:12:35.671Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-19T03:12:35.671Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.072s coverage: 57.8% of statements [2021-10-19T03:12:37.076Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.799s coverage: 88.8% of statements [2021-10-19T03:12:37.076Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-19T03:12:37.076Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 4.9% of statements [2021-10-19T03:12:37.076Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-19T03:12:37.076Z] GO111MODULE=on go vet ./... [2021-10-19T03:12:53.903Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-19T03:12:53.903Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-19T03:12:53.903Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-19T03:12:54.171Z] $ docker stop --time=1 eba465e5dfb8a0ffd0bbcb5edb5768474f6a6b67655b41be11fd52d5f12a5d44 [2021-10-19T03:12:55.645Z] $ docker rm -f eba465e5dfb8a0ffd0bbcb5edb5768474f6a6b67655b41be11fd52d5f12a5d44 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-19T03:12:56.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-19T03:12:56.282Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-19T03:12:59.945Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-19T03:13:00.238Z] + ls -al . [2021-10-19T03:13:00.238Z] total 264 [2021-10-19T03:13:00.238Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 19 03:12 . [2021-10-19T03:13:00.238Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 19 03:07 .. [2021-10-19T03:13:00.238Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 19 03:07 bin [2021-10-19T03:13:00.238Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 19 03:07 CHANGELOG.md [2021-10-19T03:13:00.238Z] -rw-r--r--. 1 jenkins jenkins 126693 Oct 19 03:12 coverage.out [2021-10-19T03:13:00.238Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 19 03:07 .dockerignore [2021-10-19T03:13:00.238Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 19 03:07 example [2021-10-19T03:13:00.238Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 19 03:07 .git [2021-10-19T03:13:00.238Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 19 03:07 .github [2021-10-19T03:13:00.238Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 19 03:07 .gitignore [2021-10-19T03:13:00.238Z] -rw-rw-r--. 1 jenkins jenkins 602 Oct 19 03:07 go.mod [2021-10-19T03:13:00.238Z] -rw-rw-r--. 1 jenkins jenkins 49868 Oct 19 03:07 go.sum [2021-10-19T03:13:00.238Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 19 03:07 GOVERNANCE.md [2021-10-19T03:13:00.238Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 19 03:07 internal [2021-10-19T03:13:00.238Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 19 03:07 Jenkinsfile [2021-10-19T03:13:00.238Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 19 03:07 LICENSE [2021-10-19T03:13:00.238Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 19 03:07 Makefile [2021-10-19T03:13:00.238Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 19 03:07 openapi [2021-10-19T03:13:00.238Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 19 03:07 OWNERS.md [2021-10-19T03:13:00.238Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 19 03:07 pkg [2021-10-19T03:13:00.238Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 19 03:07 README.md [2021-10-19T03:13:00.238Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 19 03:07 snap [2021-10-19T03:13:00.238Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 19 03:05 VERSION [2021-10-19T03:13:00.238Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 19 03:07 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-19T03:13:00.538Z] + 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=ff0c835f9b1978ebced0fae761bf5531927b028e --label arch=amd64 --label version=0.0.0 . [2021-10-19T03:13:00.538Z] Sending build context to Docker daemon 2.845MB [2021-10-19T03:13:00.538Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-19T03:13:00.538Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-19T03:13:00.538Z] ---> 5ec4dc1dd0c5 [2021-10-19T03:13:00.538Z] Step 3/24 : ARG MAKE=make build [2021-10-19T03:13:00.538Z] ---> Running in c3c2b828d38b [2021-10-19T03:13:00.538Z] Removing intermediate container c3c2b828d38b [2021-10-19T03:13:00.538Z] ---> ec0c65be0779 [2021-10-19T03:13:00.538Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-19T03:13:00.802Z] ---> Running in 09e08895e57e [2021-10-19T03:13:00.802Z] Removing intermediate container 09e08895e57e [2021-10-19T03:13:00.802Z] ---> 736dc509a03d [2021-10-19T03:13:00.802Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-19T03:13:00.802Z] ---> Running in ff9e2c299aff [2021-10-19T03:13:00.802Z] Removing intermediate container ff9e2c299aff [2021-10-19T03:13:00.802Z] ---> dc84a907ecfa [2021-10-19T03:13:00.802Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-19T03:13:00.802Z] ---> Running in 9066ad44955e [2021-10-19T03:13:01.384Z] Removing intermediate container 9066ad44955e [2021-10-19T03:13:01.384Z] ---> a5fe1e5a2e2f [2021-10-19T03:13:01.384Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-19T03:13:01.384Z] ---> Running in 4f190da63539 [2021-10-19T03:13:01.646Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-19T03:13:02.596Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-19T03:13:02.862Z] OK: 220 MiB in 52 packages [2021-10-19T03:13:03.125Z] Removing intermediate container 4f190da63539 [2021-10-19T03:13:03.125Z] ---> 9849e610e734 [2021-10-19T03:13:03.125Z] Step 8/24 : COPY . . [2021-10-19T03:13:03.386Z] ---> 8a047a5076f9 [2021-10-19T03:13:03.386Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-19T03:13:03.386Z] ---> Running in 7d7e14b59b3e [2021-10-19T03:13:03.964Z] Removing intermediate container 7d7e14b59b3e [2021-10-19T03:13:03.964Z] ---> bcf138bec848 [2021-10-19T03:13:03.964Z] Step 10/24 : RUN ${MAKE} [2021-10-19T03:13:03.964Z] ---> Running in fb24b253ad33 [2021-10-19T03:13:04.236Z] 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-10-19T03:13:14.387Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-19T03:13:15.766Z] Removing intermediate container fb24b253ad33 [2021-10-19T03:13:15.766Z] ---> f7d042b2f9a2 [2021-10-19T03:13:15.766Z] Step 11/24 : FROM alpine:3.14 [2021-10-19T03:13:16.025Z] 3.14: Pulling from library/alpine [2021-10-19T03:13:16.285Z] a0d0a0d46f8b: Already exists [2021-10-19T03:13:16.547Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-19T03:13:16.547Z] Status: Downloaded newer image for alpine:3.14 [2021-10-19T03:13:16.547Z] ---> 14119a10abf4 [2021-10-19T03:13:16.547Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-19T03:13:16.547Z] ---> Running in 6c83aca6309f [2021-10-19T03:13:16.547Z] Removing intermediate container 6c83aca6309f [2021-10-19T03:13:16.547Z] ---> 6ba496fa3c35 [2021-10-19T03:13:16.547Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-19T03:13:16.547Z] ---> Running in 6c3be7f2919d [2021-10-19T03:13:17.119Z] Removing intermediate container 6c3be7f2919d [2021-10-19T03:13:17.119Z] ---> 29a521c20837 [2021-10-19T03:13:17.119Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-19T03:13:17.119Z] ---> Running in 93cb6f33814b [2021-10-19T03:13:17.119Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-19T03:13:18.061Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-19T03:13:18.630Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-19T03:13:18.630Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-19T03:13:18.630Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-19T03:13:18.891Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-19T03:13:18.891Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-19T03:13:19.152Z] Executing busybox-1.33.1-r3.trigger [2021-10-19T03:13:19.152Z] OK: 8 MiB in 19 packages [2021-10-19T03:13:19.414Z] Removing intermediate container 93cb6f33814b [2021-10-19T03:13:19.414Z] ---> b9574446c09c [2021-10-19T03:13:19.414Z] Step 15/24 : WORKDIR / [2021-10-19T03:13:19.414Z] ---> Running in f192f96f08be [2021-10-19T03:13:19.414Z] Removing intermediate container f192f96f08be [2021-10-19T03:13:19.414Z] ---> dbe50d272bbe [2021-10-19T03:13:19.414Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-19T03:13:19.414Z] ---> beecf5dc6259 [2021-10-19T03:13:19.414Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-19T03:13:19.989Z] ---> 55a0f09a6e03 [2021-10-19T03:13:19.989Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-19T03:13:19.989Z] ---> bdeb3f8ddfb8 [2021-10-19T03:13:19.989Z] Step 19/24 : EXPOSE 59999 [2021-10-19T03:13:19.989Z] ---> Running in 121e33728ba8 [2021-10-19T03:13:20.251Z] Removing intermediate container 121e33728ba8 [2021-10-19T03:13:20.251Z] ---> 6f2b332054a7 [2021-10-19T03:13:20.251Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-19T03:13:20.251Z] ---> Running in a6ba51121bdc [2021-10-19T03:13:20.251Z] Removing intermediate container a6ba51121bdc [2021-10-19T03:13:20.251Z] ---> 64883d778ab5 [2021-10-19T03:13:20.251Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-19T03:13:20.251Z] ---> Running in c3a233a992f4 [2021-10-19T03:13:20.251Z] Removing intermediate container c3a233a992f4 [2021-10-19T03:13:20.251Z] ---> 3d9b38d3c62b [2021-10-19T03:13:20.251Z] Step 22/24 : LABEL arch=amd64 [2021-10-19T03:13:20.251Z] ---> Running in 7e4c93eb581d [2021-10-19T03:13:20.518Z] Removing intermediate container 7e4c93eb581d [2021-10-19T03:13:20.518Z] ---> cc6899d8c10f [2021-10-19T03:13:20.518Z] Step 23/24 : LABEL git_sha=ff0c835f9b1978ebced0fae761bf5531927b028e [2021-10-19T03:13:20.518Z] ---> Running in d8e9197a4305 [2021-10-19T03:13:20.518Z] Removing intermediate container d8e9197a4305 [2021-10-19T03:13:20.518Z] ---> 5493c528e61c [2021-10-19T03:13:20.518Z] Step 24/24 : LABEL version=0.0.0 [2021-10-19T03:13:20.518Z] ---> Running in 0989d8b05e1a [2021-10-19T03:13:20.518Z] Removing intermediate container 0989d8b05e1a [2021-10-19T03:13:20.518Z] ---> 41ec4569dcf5 [2021-10-19T03:13:20.518Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-19T03:13:20.518Z] Successfully built 41ec4569dcf5 [2021-10-19T03:13:20.518Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-19T03:13:21.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-19T03:13:21.309Z] [2021-10-19T03:13:21.309Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-19T03:13:21.623Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-19T03:13:21.623Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-19T03:13:21.623Z] b4d181a07f80: Pulling fs layer [2021-10-19T03:13:21.623Z] a1111a8f2ec3: Pulling fs layer [2021-10-19T03:13:21.623Z] ed53099fbce6: Pulling fs layer [2021-10-19T03:13:21.623Z] dc539afda2c1: Pulling fs layer [2021-10-19T03:13:21.623Z] 77bc0d833cb6: Pulling fs layer [2021-10-19T03:13:21.623Z] 9065ff56babe: Pulling fs layer [2021-10-19T03:13:21.623Z] d287ab97295c: Pulling fs layer [2021-10-19T03:13:21.623Z] dc539afda2c1: Waiting [2021-10-19T03:13:21.623Z] 77bc0d833cb6: Waiting [2021-10-19T03:13:21.623Z] 9065ff56babe: Waiting [2021-10-19T03:13:21.623Z] d287ab97295c: Waiting [2021-10-19T03:13:21.623Z] a1111a8f2ec3: Verifying Checksum [2021-10-19T03:13:21.623Z] a1111a8f2ec3: Download complete [2021-10-19T03:13:21.623Z] dc539afda2c1: Verifying Checksum [2021-10-19T03:13:21.623Z] dc539afda2c1: Download complete [2021-10-19T03:13:21.907Z] 77bc0d833cb6: Verifying Checksum [2021-10-19T03:13:21.907Z] 77bc0d833cb6: Download complete [2021-10-19T03:13:21.907Z] ed53099fbce6: Verifying Checksum [2021-10-19T03:13:21.907Z] ed53099fbce6: Download complete [2021-10-19T03:13:21.907Z] 9065ff56babe: Verifying Checksum [2021-10-19T03:13:21.907Z] 9065ff56babe: Download complete [2021-10-19T03:13:21.907Z] b4d181a07f80: Verifying Checksum [2021-10-19T03:13:21.907Z] b4d181a07f80: Download complete [2021-10-19T03:13:22.548Z] d287ab97295c: Verifying Checksum [2021-10-19T03:13:22.548Z] d287ab97295c: Download complete [2021-10-19T03:13:23.513Z] b4d181a07f80: Pull complete [2021-10-19T03:13:23.513Z] a1111a8f2ec3: Pull complete [2021-10-19T03:13:24.086Z] ed53099fbce6: Pull complete [2021-10-19T03:13:24.086Z] dc539afda2c1: Pull complete [2021-10-19T03:13:24.350Z] 77bc0d833cb6: Pull complete [2021-10-19T03:13:24.350Z] 9065ff56babe: Pull complete [2021-10-19T03:13:29.700Z] d287ab97295c: Pull complete [2021-10-19T03:13:29.700Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-19T03:13:29.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-19T03:13:29.700Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-19T03:13:29.757Z] prd-centos7-docker-4c-2g-2321 does not seem to be running inside a container [2021-10-19T03:13:29.793Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-19T03:13:32.334Z] $ docker top 28d1d4cf51f7c1f290f7ca8abebbdb1dcbed16fa934150dbdd448d7284d24c41 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-19T03:13:33.804Z] ---> job-cost.sh [2021-10-19T03:13:33.804Z] lf-activate-venv: SKIPPING [2021-10-19T03:13:33.804Z] INFO: No Stack... [2021-10-19T03:13:34.381Z] Removing intermediate container 9e9b484980e3 [2021-10-19T03:13:34.381Z] ---> 651e017bd919 [2021-10-19T03:13:34.381Z] Step 10/10 : RUN ${MAKE} [2021-10-19T03:13:34.381Z] ---> Running in eff980cbc00a [2021-10-19T03:13:34.381Z] noop [2021-10-19T03:13:34.381Z] Removing intermediate container eff980cbc00a [2021-10-19T03:13:34.381Z] ---> d6295a7dec47 [2021-10-19T03:13:34.381Z] Successfully built d6295a7dec47 [2021-10-19T03:13:34.381Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-19T03:13:34.743Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-19T03:13:34.749Z] + docker inspect -f . ci-base-image-arm64 [2021-10-19T03:13:34.749Z] . [Pipeline] withDockerContainer [2021-10-19T03:13:35.004Z] prd-ubuntu18.04-docker-arm64-4c-16g-2322 does not seem to be running inside a container [2021-10-19T03:13:35.128Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-19T03:13:35.323Z] INFO: Archiving Costs [2021-10-19T03:13:36.605Z] $ docker top 4f38cfc35920a2e85a0fb34eaab82dc4b0ac67b1c2891d4b5dc6799b81ce4fdd -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-10-19T03:13:37.181Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-10-19T03:13:37.181Z] + cut -d, -f6 [Pipeline] lock [2021-10-19T03:13:37.216Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1035-2-stack-cost] [2021-10-19T03:13:37.222Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1035-2-stack-cost] did not exist. Created. [2021-10-19T03:13:37.222Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1035-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-19T03:13:37.540Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-19T03:13:37.575Z] Stashed 1 file(s) [Pipeline] } [2021-10-19T03:13:37.583Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1035-2-stack-cost] [2021-10-19T03:13:37.589Z] + go version [2021-10-19T03:13:37.589Z] go version go1.16.8 linux/arm64 [Pipeline] // lock [Pipeline] } [2021-10-19T03:13:37.599Z] $ docker stop --time=1 28d1d4cf51f7c1f290f7ca8abebbdb1dcbed16fa934150dbdd448d7284d24c41 [2021-10-19T03:13:38.736Z] $ docker rm -f 28d1d4cf51f7c1f290f7ca8abebbdb1dcbed16fa934150dbdd448d7284d24c41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2021-10-19T03:13:38.813Z] $ docker stop --time=1 4f38cfc35920a2e85a0fb34eaab82dc4b0ac67b1c2891d4b5dc6799b81ce4fdd [2021-10-19T03:13:40.754Z] $ docker rm -f 4f38cfc35920a2e85a0fb34eaab82dc4b0ac67b1c2891d4b5dc6799b81ce4fdd [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-19T03:13:41.709Z] + docker inspect -f . ci-base-image-arm64 [2021-10-19T03:13:41.709Z] . [Pipeline] withDockerContainer [2021-10-19T03:13:42.014Z] prd-ubuntu18.04-docker-arm64-4c-16g-2322 does not seem to be running inside a container [2021-10-19T03:13:42.141Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-19T03:13:43.895Z] $ docker top 533019258f8fa5f116e0d86c021b4baba8b4bc10a139d5bfcec3dc1a21c7033d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-19T03:13:44.862Z] + make test [2021-10-19T03:13:44.862Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-19T03:14:11.868Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-19T03:15:22.911Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-19T03:15:22.911Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-19T03:15:22.911Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-19T03:15:25.594Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.299s coverage: 23.5% of statements [2021-10-19T03:15:25.594Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-19T03:15:25.594Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.243s coverage: 28.1% of statements [2021-10-19T03:15:25.594Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.296s coverage: 78.9% of statements [2021-10-19T03:15:25.594Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.222s coverage: 9.0% of statements [2021-10-19T03:15:25.594Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-19T03:15:25.594Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-19T03:15:25.594Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-19T03:15:27.061Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.360s coverage: 28.7% of statements [2021-10-19T03:15:27.061Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-19T03:15:28.067Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.257s coverage: 83.3% of statements [2021-10-19T03:15:28.067Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-19T03:15:28.067Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-19T03:15:28.350Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.377s coverage: 57.8% of statements [2021-10-19T03:15:33.810Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.189s coverage: 88.8% of statements [2021-10-19T03:15:33.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-19T03:15:33.810Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.209s coverage: 4.9% of statements [2021-10-19T03:15:33.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-19T03:15:33.810Z] GO111MODULE=on go vet ./... [2021-10-19T03:16:42.007Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-19T03:16:42.007Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-19T03:16:42.007Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-19T03:16:42.033Z] $ docker stop --time=1 533019258f8fa5f116e0d86c021b4baba8b4bc10a139d5bfcec3dc1a21c7033d [2021-10-19T03:16:44.011Z] $ docker rm -f 533019258f8fa5f116e0d86c021b4baba8b4bc10a139d5bfcec3dc1a21c7033d [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-19T03:16:45.178Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-19T03:16:45.204Z] Warning: overwriting stash ‘coverage-report’ [2021-10-19T03:16:46.029Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-19T03:16:46.479Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-19T03:16:46.828Z] + ls -al . [2021-10-19T03:16:46.828Z] total 300 [2021-10-19T03:16:46.828Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 19 03:16 . [2021-10-19T03:16:46.828Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 03:09 .. [2021-10-19T03:16:46.828Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 19 03:09 .dockerignore [2021-10-19T03:16:46.828Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 19 03:09 .git [2021-10-19T03:16:46.828Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 03:09 .github [2021-10-19T03:16:46.828Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 19 03:09 .gitignore [2021-10-19T03:16:46.828Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 19 03:09 CHANGELOG.md [2021-10-19T03:16:46.828Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 19 03:09 GOVERNANCE.md [2021-10-19T03:16:46.828Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 19 03:09 Jenkinsfile [2021-10-19T03:16:46.828Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 19 03:09 LICENSE [2021-10-19T03:16:46.828Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 19 03:09 Makefile [2021-10-19T03:16:46.828Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 19 03:09 OWNERS.md [2021-10-19T03:16:46.828Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 19 03:09 README.md [2021-10-19T03:16:46.828Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 19 03:05 VERSION [2021-10-19T03:16:46.828Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 19 03:09 bin [2021-10-19T03:16:46.828Z] -rw-r--r-- 1 jenkins jenkins 126693 Oct 19 03:15 coverage.out [2021-10-19T03:16:46.828Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 19 03:09 example [2021-10-19T03:16:46.828Z] -rw-rw-r-- 1 jenkins jenkins 602 Oct 19 03:09 go.mod [2021-10-19T03:16:46.828Z] -rw-rw-r-- 1 jenkins jenkins 49868 Oct 19 03:09 go.sum [2021-10-19T03:16:46.828Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 19 03:09 internal [2021-10-19T03:16:46.828Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 19 03:09 openapi [2021-10-19T03:16:46.828Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 19 03:09 pkg [2021-10-19T03:16:46.828Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 19 03:09 snap [2021-10-19T03:16:46.828Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 19 03:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-19T03:16:49.114Z] + 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=ff0c835f9b1978ebced0fae761bf5531927b028e --label arch=arm64 --label version=0.0.0 . [2021-10-19T03:16:49.722Z] Sending build context to Docker daemon 2.844MB [2021-10-19T03:16:49.722Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-19T03:16:49.722Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-19T03:16:49.722Z] ---> d6295a7dec47 [2021-10-19T03:16:49.722Z] Step 3/24 : ARG MAKE=make build [2021-10-19T03:16:50.001Z] ---> Running in b5238c811960 [2021-10-19T03:16:50.277Z] Removing intermediate container b5238c811960 [2021-10-19T03:16:50.277Z] ---> 69107b0b6d18 [2021-10-19T03:16:50.277Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-19T03:16:50.555Z] ---> Running in c35128518900 [2021-10-19T03:16:50.832Z] Removing intermediate container c35128518900 [2021-10-19T03:16:50.832Z] ---> e3e608379319 [2021-10-19T03:16:50.832Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-19T03:16:51.111Z] ---> Running in ef5740fc529b [2021-10-19T03:16:51.713Z] Removing intermediate container ef5740fc529b [2021-10-19T03:16:51.713Z] ---> 8d0a8c27c377 [2021-10-19T03:16:51.713Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-19T03:16:51.713Z] ---> Running in b66fcbc6d77c [2021-10-19T03:16:54.363Z] Removing intermediate container b66fcbc6d77c [2021-10-19T03:16:54.363Z] ---> 4bdd1ca33ee8 [2021-10-19T03:16:54.363Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-19T03:16:54.363Z] ---> Running in 2be41a4c5fbb [2021-10-19T03:16:55.365Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-19T03:16:56.351Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-19T03:16:57.343Z] OK: 219 MiB in 52 packages [2021-10-19T03:16:58.334Z] Removing intermediate container 2be41a4c5fbb [2021-10-19T03:16:58.334Z] ---> e7144790ab99 [2021-10-19T03:16:58.334Z] Step 8/24 : COPY . . [2021-10-19T03:16:59.789Z] ---> b474a2343715 [2021-10-19T03:16:59.789Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-19T03:16:59.789Z] ---> Running in c71204ba2db8 [2021-10-19T03:17:02.435Z] Removing intermediate container c71204ba2db8 [2021-10-19T03:17:02.435Z] ---> f5d7ba45baeb [2021-10-19T03:17:02.435Z] Step 10/24 : RUN ${MAKE} [2021-10-19T03:17:02.435Z] ---> Running in b4800780c239 [2021-10-19T03:17:03.423Z] 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-10-19T03:17:42.993Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-19T03:17:42.993Z] Removing intermediate container b4800780c239 [2021-10-19T03:17:42.993Z] ---> 668f3606f02b [2021-10-19T03:17:42.993Z] Step 11/24 : FROM alpine:3.14 [2021-10-19T03:17:42.993Z] 3.14: Pulling from library/alpine [2021-10-19T03:17:42.993Z] 552d1f2373af: Already exists [2021-10-19T03:17:42.993Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-19T03:17:42.993Z] Status: Downloaded newer image for alpine:3.14 [2021-10-19T03:17:42.993Z] ---> bb3de5531c18 [2021-10-19T03:17:42.993Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-19T03:17:43.275Z] ---> Running in a0ae7d3dd785 [2021-10-19T03:17:43.558Z] Removing intermediate container a0ae7d3dd785 [2021-10-19T03:17:43.558Z] ---> 1b40ba64911a [2021-10-19T03:17:43.558Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-19T03:17:43.836Z] ---> Running in 50f593f0e08d [2021-10-19T03:17:46.482Z] Removing intermediate container 50f593f0e08d [2021-10-19T03:17:46.482Z] ---> 2e9028269523 [2021-10-19T03:17:46.482Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-19T03:17:46.482Z] ---> Running in a5d8e1200e9d [2021-10-19T03:17:47.482Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-19T03:17:48.926Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-19T03:17:49.531Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-19T03:17:49.531Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-19T03:17:49.808Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-19T03:17:49.808Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-19T03:17:50.086Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-19T03:17:50.086Z] Executing busybox-1.33.1-r3.trigger [2021-10-19T03:17:50.086Z] OK: 8 MiB in 19 packages [2021-10-19T03:17:51.539Z] Removing intermediate container a5d8e1200e9d [2021-10-19T03:17:51.539Z] ---> 5d4f1453430a [2021-10-19T03:17:51.539Z] Step 15/24 : WORKDIR / [2021-10-19T03:17:51.539Z] ---> Running in b49af1b3fd82 [2021-10-19T03:17:52.143Z] Removing intermediate container b49af1b3fd82 [2021-10-19T03:17:52.143Z] ---> c878600bbd40 [2021-10-19T03:17:52.143Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-19T03:17:52.745Z] ---> 43442cc463ea [2021-10-19T03:17:52.745Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-19T03:17:54.194Z] ---> bb61c3d9a9d1 [2021-10-19T03:17:54.194Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-19T03:17:54.798Z] ---> 4ff1451ecfaf [2021-10-19T03:17:54.798Z] Step 19/24 : EXPOSE 59999 [2021-10-19T03:17:55.075Z] ---> Running in afede88e77ba [2021-10-19T03:17:55.354Z] Removing intermediate container afede88e77ba [2021-10-19T03:17:55.354Z] ---> 525109bb1ce3 [2021-10-19T03:17:55.354Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-19T03:17:55.636Z] ---> Running in 55217d69cd3c [2021-10-19T03:17:56.243Z] Removing intermediate container 55217d69cd3c [2021-10-19T03:17:56.243Z] ---> 340e67007200 [2021-10-19T03:17:56.243Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-19T03:17:56.243Z] ---> Running in f32bde6e8214 [2021-10-19T03:17:56.849Z] Removing intermediate container f32bde6e8214 [2021-10-19T03:17:56.849Z] ---> 001caee2442f [2021-10-19T03:17:56.849Z] Step 22/24 : LABEL arch=arm64 [2021-10-19T03:17:56.849Z] ---> Running in bfe87b996cc7 [2021-10-19T03:17:57.468Z] Removing intermediate container bfe87b996cc7 [2021-10-19T03:17:57.468Z] ---> b7ee2ffef53f [2021-10-19T03:17:57.468Z] Step 23/24 : LABEL git_sha=ff0c835f9b1978ebced0fae761bf5531927b028e [2021-10-19T03:17:57.468Z] ---> Running in d485064a7415 [2021-10-19T03:17:58.074Z] Removing intermediate container d485064a7415 [2021-10-19T03:17:58.074Z] ---> 06c498fbcac4 [2021-10-19T03:17:58.074Z] Step 24/24 : LABEL version=0.0.0 [2021-10-19T03:17:58.354Z] ---> Running in 26bb02d75fc9 [2021-10-19T03:17:58.631Z] Removing intermediate container 26bb02d75fc9 [2021-10-19T03:17:58.631Z] ---> 33359063f120 [2021-10-19T03:17:58.631Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-19T03:17:58.908Z] Successfully built 33359063f120 [2021-10-19T03:17:58.909Z] 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-10-19T03:17:59.539Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-19T03:17:59.818Z] [2021-10-19T03:17:59.818Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-19T03:18:00.180Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-19T03:18:00.458Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-19T03:18:00.458Z] 448f6bf000e3: Pulling fs layer [2021-10-19T03:18:00.458Z] f757da607395: Pulling fs layer [2021-10-19T03:18:00.458Z] 05883995daec: Pulling fs layer [2021-10-19T03:18:00.458Z] 8603b9c90790: Pulling fs layer [2021-10-19T03:18:00.458Z] 1560dd03e051: Pulling fs layer [2021-10-19T03:18:00.458Z] 27f5ce0e4adf: Pulling fs layer [2021-10-19T03:18:00.458Z] c2d8d7efcc4b: Pulling fs layer [2021-10-19T03:18:00.458Z] 8603b9c90790: Waiting [2021-10-19T03:18:00.458Z] 1560dd03e051: Waiting [2021-10-19T03:18:00.458Z] 27f5ce0e4adf: Waiting [2021-10-19T03:18:00.458Z] c2d8d7efcc4b: Waiting [2021-10-19T03:18:00.788Z] f757da607395: Verifying Checksum [2021-10-19T03:18:00.788Z] f757da607395: Download complete [2021-10-19T03:18:00.788Z] 8603b9c90790: Verifying Checksum [2021-10-19T03:18:00.788Z] 8603b9c90790: Download complete [2021-10-19T03:18:00.788Z] 05883995daec: Download complete [2021-10-19T03:18:00.788Z] 27f5ce0e4adf: Verifying Checksum [2021-10-19T03:18:00.788Z] 27f5ce0e4adf: Download complete [2021-10-19T03:18:00.788Z] 1560dd03e051: Verifying Checksum [2021-10-19T03:18:00.788Z] 1560dd03e051: Download complete [2021-10-19T03:18:01.098Z] 448f6bf000e3: Verifying Checksum [2021-10-19T03:18:01.098Z] 448f6bf000e3: Download complete [2021-10-19T03:18:04.168Z] c2d8d7efcc4b: Verifying Checksum [2021-10-19T03:18:04.168Z] c2d8d7efcc4b: Download complete [2021-10-19T03:18:05.162Z] 448f6bf000e3: Pull complete [2021-10-19T03:18:05.767Z] f757da607395: Pull complete [2021-10-19T03:18:07.210Z] 05883995daec: Pull complete [2021-10-19T03:18:07.494Z] 8603b9c90790: Pull complete [2021-10-19T03:18:08.493Z] 1560dd03e051: Pull complete [2021-10-19T03:18:08.772Z] 27f5ce0e4adf: Pull complete [2021-10-19T03:18:23.929Z] c2d8d7efcc4b: Pull complete [2021-10-19T03:18:23.929Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-19T03:18:23.929Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-19T03:18:23.929Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-19T03:18:24.214Z] prd-ubuntu18.04-docker-arm64-4c-16g-2322 does not seem to be running inside a container [2021-10-19T03:18:24.322Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-19T03:18:28.540Z] $ docker top 9c645adbecb4bb436f35dbf6df920f5f883bf387dee0600d0c422db4591aac03 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-19T03:18:29.543Z] ---> job-cost.sh [2021-10-19T03:18:29.543Z] lf-activate-venv: SKIPPING [2021-10-19T03:18:29.543Z] INFO: No Stack... [2021-10-19T03:18:30.142Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-19T03:18:30.416Z] INFO: Archiving Costs [Pipeline] sh [2021-10-19T03:18:31.101Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-10-19T03:18:31.101Z] + cut -d, -f6 [Pipeline] lock [2021-10-19T03:18:31.172Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1035-2-stack-cost] [2021-10-19T03:18:31.178Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1035-2-stack-cost] did not exist. Created. [2021-10-19T03:18:31.178Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1035-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-19T03:18:31.867Z] /w/workspace/device-sdk-go/2@tmp/durable-5803c875/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-5803c875/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-19T03:18:32.547Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-19T03:18:32.576Z] Warning: overwriting stash ‘stack-cost’ [2021-10-19T03:18:32.633Z] Stashed 1 file(s) [Pipeline] } [2021-10-19T03:18:32.640Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1035-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-19T03:18:32.659Z] $ docker stop --time=1 9c645adbecb4bb436f35dbf6df920f5f883bf387dee0600d0c422db4591aac03 [2021-10-19T03:18:34.298Z] $ docker rm -f 9c645adbecb4bb436f35dbf6df920f5f883bf387dee0600d0c422db4591aac03 [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-10-19T03:18:36.821Z] provisioning config files... [2021-10-19T03:18:36.832Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1035@tmp/config8479121166479677620tmp [Pipeline] { [Pipeline] sh [2021-10-19T03:18:37.149Z] + set +x [2021-10-19T03:18:37.149Z] + curl -s https://codecov.io/bash [2021-10-19T03:18:37.149Z] + bash -s -- [2021-10-19T03:18:41.365Z] [2021-10-19T03:18:41.365Z] _____ _ [2021-10-19T03:18:41.365Z] / ____| | | [2021-10-19T03:18:41.365Z] | | ___ __| | ___ ___ _____ __ [2021-10-19T03:18:41.365Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-19T03:18:41.365Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-19T03:18:41.365Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-19T03:18:41.365Z] Bash-1.0.6 [2021-10-19T03:18:41.365Z] [2021-10-19T03:18:41.365Z] [2021-10-19T03:18:41.365Z] ==> git version 2.24.4 found [2021-10-19T03:18:41.365Z] ==> 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-10-19T03:18:41.365Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-19T03:18:41.365Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-19T03:18:41.365Z] ==> Jenkins CI detected. [2021-10-19T03:18:41.365Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1035 [2021-10-19T03:18:41.365Z] project root: . [2021-10-19T03:18:41.365Z] --> token set from env [2021-10-19T03:18:41.365Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-19T03:18:41.365Z] ==> Running gcov in . (disable via -X gcov) [2021-10-19T03:18:41.365Z] ==> Python coveragepy not found [2021-10-19T03:18:41.365Z] ==> Searching for coverage reports in: [2021-10-19T03:18:41.365Z] + . [2021-10-19T03:18:41.365Z] -> Found 1 reports [2021-10-19T03:18:41.365Z] ==> Detecting git/mercurial file structure [2021-10-19T03:18:41.365Z] ==> Reading reports [2021-10-19T03:18:41.365Z] + ./coverage.out bytes=126693 [2021-10-19T03:18:41.365Z] ==> Appending adjustments [2021-10-19T03:18:41.365Z] https://docs.codecov.io/docs/fixing-reports [2021-10-19T03:18:41.365Z] + Found adjustments [2021-10-19T03:18:41.365Z] ==> Gzipping contents [2021-10-19T03:18:41.365Z] 16K /tmp/codecov.3zk7xq.gz [2021-10-19T03:18:41.365Z] ==> Uploading reports [2021-10-19T03:18:41.365Z] url: https://codecov.io [2021-10-19T03:18:41.365Z] query: branch=PR-1035&commit=ff0c835f9b1978ebced0fae761bf5531927b028e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1035%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1035&job=&cmd_args= [2021-10-19T03:18:41.365Z] -> Pinging Codecov [2021-10-19T03:18:41.365Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1035&commit=ff0c835f9b1978ebced0fae761bf5531927b028e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1035%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1035&job=&cmd_args= [2021-10-19T03:18:41.365Z] -> Uploading to [2021-10-19T03:18:41.365Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-19/7E55EF52A471D76F132DFD9A03CDDE97/ff0c835f9b1978ebced0fae761bf5531927b028e/c1f5b55d-4f66-41ee-bbd7-e1d14fbe984b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211019%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211019T031841Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7b5bed556df36d1e0d93fe1f6d6d245c596dc5f082e6363e0930f696816c70ef [2021-10-19T03:18:41.365Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-19T03:18:41.365Z] Dload Upload Total Spent Left Speed [2021-10-19T03:18:41.628Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16133 0 0 100 16133 0 54470 --:--:-- --:--:-- --:--:-- 54319 [2021-10-19T03:18:41.891Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ff0c835f9b1978ebced0fae761bf5531927b028e [Pipeline] } [2021-10-19T03:18:41.905Z] 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] sh [2021-10-19T03:18:44.638Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1035/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-19T03:18:44.948Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-19T03:18:45.517Z] ---> package-listing.sh [2021-10-19T03:18:45.517Z] ++ facter osfamily [2021-10-19T03:18:45.517Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-19T03:18:45.777Z] + OS_FAMILY=redhat [2021-10-19T03:18:45.777Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1035 [2021-10-19T03:18:45.777Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-19T03:18:45.777Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-19T03:18:45.777Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-19T03:18:45.777Z] + PACKAGES=/tmp/packages_start.txt [2021-10-19T03:18:45.777Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1035 ']' [2021-10-19T03:18:45.777Z] + PACKAGES=/tmp/packages_end.txt [2021-10-19T03:18:45.777Z] + case "${OS_FAMILY}" in [2021-10-19T03:18:45.777Z] + sort [2021-10-19T03:18:45.777Z] + rpm -qa [2021-10-19T03:18:46.349Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-19T03:18:46.349Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-19T03:18:46.349Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-19T03:18:46.349Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1035 ']' [2021-10-19T03:18:46.349Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1035/archives/ [2021-10-19T03:18:46.349Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1035/archives/ [Pipeline] echo [2021-10-19T03:18:46.362Z] 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-1035/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-19T03:18:47.702Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-19T03:18:47.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-19T03:18:47.998Z] [2021-10-19T03:18:47.998Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-19T03:18:48.304Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-19T03:18:48.304Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-19T03:18:48.304Z] b4d181a07f80: Pulling fs layer [2021-10-19T03:18:48.304Z] a1111a8f2ec3: Pulling fs layer [2021-10-19T03:18:48.304Z] ed53099fbce6: Pulling fs layer [2021-10-19T03:18:48.304Z] dc539afda2c1: Pulling fs layer [2021-10-19T03:18:48.304Z] 77bc0d833cb6: Pulling fs layer [2021-10-19T03:18:48.304Z] 9065ff56babe: Pulling fs layer [2021-10-19T03:18:48.304Z] d287ab97295c: Pulling fs layer [2021-10-19T03:18:48.304Z] dc539afda2c1: Waiting [2021-10-19T03:18:48.304Z] 77bc0d833cb6: Waiting [2021-10-19T03:18:48.304Z] 9065ff56babe: Waiting [2021-10-19T03:18:48.304Z] d287ab97295c: Waiting [2021-10-19T03:18:48.304Z] a1111a8f2ec3: Verifying Checksum [2021-10-19T03:18:48.304Z] a1111a8f2ec3: Download complete [2021-10-19T03:18:48.573Z] dc539afda2c1: Verifying Checksum [2021-10-19T03:18:48.574Z] dc539afda2c1: Download complete [2021-10-19T03:18:48.574Z] 77bc0d833cb6: Download complete [2021-10-19T03:18:48.574Z] ed53099fbce6: Verifying Checksum [2021-10-19T03:18:48.574Z] ed53099fbce6: Download complete [2021-10-19T03:18:48.574Z] 9065ff56babe: Verifying Checksum [2021-10-19T03:18:48.574Z] 9065ff56babe: Download complete [2021-10-19T03:18:48.574Z] b4d181a07f80: Verifying Checksum [2021-10-19T03:18:48.574Z] b4d181a07f80: Download complete [2021-10-19T03:18:49.151Z] d287ab97295c: Verifying Checksum [2021-10-19T03:18:49.151Z] d287ab97295c: Download complete [2021-10-19T03:18:50.097Z] b4d181a07f80: Pull complete [2021-10-19T03:18:50.097Z] a1111a8f2ec3: Pull complete [2021-10-19T03:18:50.669Z] ed53099fbce6: Pull complete [2021-10-19T03:18:50.669Z] dc539afda2c1: Pull complete [2021-10-19T03:18:50.931Z] 77bc0d833cb6: Pull complete [2021-10-19T03:18:50.931Z] 9065ff56babe: Pull complete [2021-10-19T03:18:55.158Z] d287ab97295c: Pull complete [2021-10-19T03:18:55.158Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-19T03:18:55.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-19T03:18:55.158Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-19T03:18:55.219Z] prd-centos7-docker-4c-2g-2320 does not seem to be running inside a container [2021-10-19T03:18:55.250Z] $ 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-1035/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-1035 -v /w/workspace/gexfoundry_device-sdk-go_PR-1035:/w/workspace/gexfoundry_device-sdk-go_PR-1035:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1035@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1035@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-19T03:18:57.409Z] $ docker top bf0d1ba159847af2367873d3532147c70468eabff95ae2dc7de4b64fe5bc9da4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-19T03:18:57.761Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-19T03:18:58.051Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-19T03:18:58.340Z] + ls /var/log/sa-host [2021-10-19T03:18:58.340Z] + sadf -c /var/log/sa-host/sa19 [2021-10-19T03:18:58.340Z] file_magic: OK [2021-10-19T03:18:58.340Z] HZ: Using current value: 100 [2021-10-19T03:18:58.340Z] file_header: OK [2021-10-19T03:18:58.340Z] 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-10-19T03:18:58.340Z] Statistics: [2021-10-19T03:18:58.340Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-19T03:18:58.340Z] File successfully converted to sysstat format version 12.0.3 [2021-10-19T03:18:58.340Z] + sadf -c /var/log/sa-host/sa30 [2021-10-19T03:18:58.340Z] file_magic: OK [2021-10-19T03:18:58.340Z] HZ: Using current value: 100 [2021-10-19T03:18:58.340Z] file_header: OK [2021-10-19T03:18:58.340Z] 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-10-19T03:18:58.340Z] Statistics: [2021-10-19T03:18:58.340Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-19T03:18:58.340Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-19T03:18:59.611Z] provisioning config files... [2021-10-19T03:18:59.618Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1035@tmp/config3091232572186701105tmp [Pipeline] { [Pipeline] echo [2021-10-19T03:18:59.631Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-19T03:19:00.764Z] ---> create-netrc.sh [Pipeline] } [2021-10-19T03:19:00.784Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-19T03:19:01.119Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-19T03:19:01.128Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-19T03:19:01.429Z] ---> sudo-logs.sh [2021-10-19T03:19:01.429Z] Archiving 'sudo' log.. [2021-10-19T03:19:01.429Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2320.novalocal: Name or service not known [2021-10-19T03:19:01.429Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2320.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-19T03:19:01.457Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-19T03:19:01.748Z] ---> job-cost.sh [2021-10-19T03:19:01.748Z] lf-activate-venv: SKIPPING [2021-10-19T03:19:01.748Z] DEBUG: total: 0.10999999940395355 [2021-10-19T03:19:01.748Z] INFO: Retrieving Stack Cost... [2021-10-19T03:19:02.318Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-19T03:19:02.577Z] INFO: Archiving Costs [Pipeline] echo [2021-10-19T03:19:02.589Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-19T03:19:02.878Z] ---> logs-deploy.sh [2021-10-19T03:19:02.878Z] lf-activate-venv: SKIPPING [2021-10-19T03:19:02.878Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1035/2 [2021-10-19T03:19:02.878Z] INFO: archiving workspace using pattern(s): [2021-10-19T03:19:03.448Z] Archives upload complete. [2021-10-19T03:19:03.708Z] INFO: archiving logs to Nexus