Pull request #1098 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b4191eae823f6faf3dbca4785cc6abe7d0decba9+9a649bf1bf9918af6bcd6933aa59ded149e77d26 (975c3dd902d2189548e5ac758810289bd0340af2) 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-ssh7318318703629081705.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh904956017807663203.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1098/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1098/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1024428528204538991.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1098/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17640381772933824251.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh423030496710166569.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1098/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1098/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3938587546880966978.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-5044’ is offline Running on prd-centos7-docker-4c-2g-5046 in /w/workspace/gexfoundry_device-sdk-go_PR-1098 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-1098 # 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-1098@tmp/jenkins-gitclient-ssh3530805857850639388.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1098@tmp/jenkins-gitclient-ssh1701473886616162453.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1098/head:refs/remotes/origin/PR-1098 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9a649bf1bf9918af6bcd6933aa59ded149e77d26 into PR head commit b4191eae823f6faf3dbca4785cc6abe7d0decba9 Merge succeeded, producing b4191eae823f6faf3dbca4785cc6abe7d0decba9 Checking out Revision b4191eae823f6faf3dbca4785cc6abe7d0decba9 (PR-1098) > git config core.sparsecheckout # timeout=10 > git checkout -f b4191eae823f6faf3dbca4785cc6abe7d0decba9 # 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-1098@tmp/jenkins-gitclient-ssh8006408648541435181.key > git merge 9a649bf1bf9918af6bcd6933aa59ded149e77d26 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b4191eae823f6faf3dbca4785cc6abe7d0decba9 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-11T04:04:54.431Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-11T04:04:54.596Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-11T04:04:54.699Z] ========================================================= [2022-02-11T04:04:54.699Z] EdgeX Global Pipelines Version Info [2022-02-11T04:04:54.699Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-11T04:04:55.868Z] ------------------- [2022-02-11T04:04:55.868Z] stable info: [2022-02-11T04:04:55.868Z] ------------------- [2022-02-11T04:04:55.868Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-11T04:04:55.868Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-11T04:04:55.868Z] Message: update stable to v1.0.220 [2022-02-11T04:04:56.451Z] ------------------- [2022-02-11T04:04:56.451Z] experimental info: [2022-02-11T04:04:56.451Z] ------------------- [2022-02-11T04:04:56.451Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-11T04:04:56.451Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-11T04:04:56.451Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-11T04:04:56.711Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-02-11T04:04:56.754Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-02-11T04:04:56.792Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-11T04:04:56.834Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-11T04:04:56.876Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-11T04:04:56.920Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-02-11T04:04:56.955Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-02-11T04:04:56.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-02-11T04:04:57.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-02-11T04:04:57.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-11T04:04:57.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-11T04:04:57.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-02-11T04:04:57.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-11T04:04:57.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-11T04:04:57.273Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-11T04:04:57.312Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-02-11T04:04:57.350Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-02-11T04:04:57.390Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-02-11T04:04:57.431Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-11T04:04:57.470Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-11T04:04:57.511Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-02-11T04:04:57.552Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-02-11T04:04:57.590Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-02-11T04:04:57.633Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-02-11T04:04:57.673Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-02-11T04:04:57.713Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-11T04:04:57.760Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1098 [Pipeline] echo [2022-02-11T04:04:57.805Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1098 [Pipeline] echo [2022-02-11T04:04:57.851Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1098 [Pipeline] echo [2022-02-11T04:04:57.892Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b4191eae823f6faf3dbca4785cc6abe7d0decba9 [Pipeline] echo [2022-02-11T04:04:57.938Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b4191ea [Pipeline] echo [2022-02-11T04:04:57.981Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-11T04:04:58.092Z] provisioning config files... [2022-02-11T04:04:58.106Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1098@tmp/config7411374433877036075tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-11T04:04:58.455Z] ---> docker-login.sh [2022-02-11T04:04:58.455Z] nexus3.edgexfoundry.org:10001 [2022-02-11T04:04:58.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T04:04:58.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T04:04:58.722Z] Configure a credential helper to remove this warning. See [2022-02-11T04:04:58.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T04:04:58.722Z] [2022-02-11T04:04:58.722Z] Login Succeeded [2022-02-11T04:04:58.722Z] nexus3.edgexfoundry.org:10002 [2022-02-11T04:04:58.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T04:04:58.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T04:04:58.722Z] Configure a credential helper to remove this warning. See [2022-02-11T04:04:58.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T04:04:58.722Z] [2022-02-11T04:04:58.722Z] Login Succeeded [2022-02-11T04:04:58.722Z] nexus3.edgexfoundry.org:10003 [2022-02-11T04:04:58.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T04:04:58.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T04:04:58.988Z] Configure a credential helper to remove this warning. See [2022-02-11T04:04:58.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T04:04:58.988Z] [2022-02-11T04:04:58.988Z] Login Succeeded [2022-02-11T04:04:58.988Z] nexus3.edgexfoundry.org:10004 [2022-02-11T04:04:58.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T04:04:58.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T04:04:58.988Z] Configure a credential helper to remove this warning. See [2022-02-11T04:04:58.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T04:04:58.988Z] [2022-02-11T04:04:58.988Z] Login Succeeded [2022-02-11T04:04:58.988Z] docker.io [2022-02-11T04:04:59.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T04:04:59.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T04:04:59.517Z] Configure a credential helper to remove this warning. See [2022-02-11T04:04:59.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T04:04:59.517Z] [2022-02-11T04:04:59.517Z] Login Succeeded [2022-02-11T04:04:59.517Z] ---> docker-login.sh ends [Pipeline] } [2022-02-11T04:04:59.547Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-02-11T04:05:00.143Z] + git rev-list -1 --merges b4191eae823f6faf3dbca4785cc6abe7d0decba9~1..b4191eae823f6faf3dbca4785cc6abe7d0decba9 [Pipeline] echo [2022-02-11T04:05:00.194Z] -----------> git rev-list -1 --merges b4191eae823f6faf3dbca4785cc6abe7d0decba9~1..b4191eae823f6faf3dbca4785cc6abe7d0decba9 b4191eae823f6faf3dbca4785cc6abe7d0decba9 [false] [Pipeline] sh [2022-02-11T04:05:00.507Z] + git log --format=format:%s -1 b4191eae823f6faf3dbca4785cc6abe7d0decba9 [Pipeline] echo [2022-02-11T04:05:00.551Z] ========================================================= [2022-02-11T04:05:00.551Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-11T04:05:00.551Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-11T04:05:00.971Z] + git log --format=format:%s -1 b4191eae823f6faf3dbca4785cc6abe7d0decba9 [Pipeline] echo [2022-02-11T04:05:01.003Z] [semverPrep] GIT_COMMIT: b4191eae823f6faf3dbca4785cc6abe7d0decba9, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-02-11T04:05:01.034Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-02-11T04:05:01.499Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-11T04:05:01.499Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-11T04:05:01.499Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-11T04:05:01.499Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-11T04:05:01.499Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-11T04:05:01.499Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-11T04:05:01.499Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-11T04:05:01.874Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-11T04:05:01.874Z] [2022-02-11T04:05:01.874Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-11T04:05:02.234Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-11T04:05:02.235Z] latest: Pulling from edgex-devops/git-semver [2022-02-11T04:05:02.235Z] a0d0a0d46f8b: Pulling fs layer [2022-02-11T04:05:02.235Z] 3e5f54012d9b: Pulling fs layer [2022-02-11T04:05:02.235Z] 4c7163046ea9: Pulling fs layer [2022-02-11T04:05:02.235Z] 0c2d73faf560: Pulling fs layer [2022-02-11T04:05:02.235Z] 0c2d73faf560: Waiting [2022-02-11T04:05:02.235Z] 3e5f54012d9b: Verifying Checksum [2022-02-11T04:05:02.235Z] 3e5f54012d9b: Download complete [2022-02-11T04:05:02.235Z] a0d0a0d46f8b: Verifying Checksum [2022-02-11T04:05:02.235Z] a0d0a0d46f8b: Download complete [2022-02-11T04:05:02.235Z] 0c2d73faf560: Verifying Checksum [2022-02-11T04:05:02.235Z] 0c2d73faf560: Download complete [2022-02-11T04:05:02.235Z] 4c7163046ea9: Verifying Checksum [2022-02-11T04:05:02.235Z] 4c7163046ea9: Download complete [2022-02-11T04:05:02.504Z] a0d0a0d46f8b: Pull complete [2022-02-11T04:05:02.504Z] 3e5f54012d9b: Pull complete [2022-02-11T04:05:03.087Z] 4c7163046ea9: Pull complete [2022-02-11T04:05:03.087Z] 0c2d73faf560: Pull complete [2022-02-11T04:05:03.087Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-11T04:05:03.087Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-11T04:05:03.087Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-11T04:05:03.200Z] prd-centos7-docker-4c-2g-5046 does not seem to be running inside a container [2022-02-11T04:05:03.244Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1098 -v /w/workspace/gexfoundry_device-sdk-go_PR-1098:/w/workspace/gexfoundry_device-sdk-go_PR-1098:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1098@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1098@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-11T04:05:03.979Z] $ docker top d925346c4fb39056a87e4b09f9564155091966504106188f7843668b58644736 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-11T04:05:04.180Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-11T04:05:04.180Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-11T04:05:04.300Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-11T04:05:04.303Z] $ docker exec d925346c4fb39056a87e4b09f9564155091966504106188f7843668b58644736 ssh-agent [2022-02-11T04:05:04.421Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXafpCbM/agent.15 [2022-02-11T04:05:04.421Z] SSH_AGENT_PID=22 [2022-02-11T04:05:04.429Z] Running ssh-add (command line suppressed) [2022-02-11T04:05:04.528Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1098@tmp/private_key_4142943752799155030.key (/w/workspace/gexfoundry_device-sdk-go_PR-1098@tmp/private_key_4142943752799155030.key) [2022-02-11T04:05:04.543Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-11T04:05:04.889Z] + git tag --points-at HEAD [Pipeline] } [2022-02-11T04:05:04.914Z] $ docker exec --env ******** --env ******** d925346c4fb39056a87e4b09f9564155091966504106188f7843668b58644736 ssh-agent -k [2022-02-11T04:05:05.019Z] unset SSH_AUTH_SOCK; [2022-02-11T04:05:05.020Z] unset SSH_AGENT_PID; [2022-02-11T04:05:05.020Z] echo Agent pid 22 killed; [2022-02-11T04:05:05.028Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-11T04:05:05.110Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-11T04:05:05.110Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-11T04:05:05.223Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-11T04:05:05.226Z] $ docker exec d925346c4fb39056a87e4b09f9564155091966504106188f7843668b58644736 ssh-agent [2022-02-11T04:05:05.340Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLpFbOF/agent.56 [2022-02-11T04:05:05.340Z] SSH_AGENT_PID=63 [2022-02-11T04:05:05.346Z] Running ssh-add (command line suppressed) [2022-02-11T04:05:05.440Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1098@tmp/private_key_7226525735066755694.key (/w/workspace/gexfoundry_device-sdk-go_PR-1098@tmp/private_key_7226525735066755694.key) [2022-02-11T04:05:05.452Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-11T04:05:05.788Z] + git semver init [2022-02-11T04:05:05.788Z] # -> Open(): unable to determine branch for HEAD [2022-02-11T04:05:05.788Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1098/.git [2022-02-11T04:05:05.788Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1098 [2022-02-11T04:05:05.788Z] # $SEMVER_REMOTE_NAME = origin [2022-02-11T04:05:05.788Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-11T04:05:05.788Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-11T04:05:05.788Z] # $SEMVER_BRANCH = PR-1098 [2022-02-11T04:05:05.788Z] # $SEMVER_TEMP = /tmp/semver-647058186 [2022-02-11T04:05:05.788Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-02-11T04:05:06.733Z] # '/tmp/semver-647058186' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1098/.semver' [2022-02-11T04:05:06.733Z] # -> Force: false [2022-02-11T04:05:06.733Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1098/.semver [Pipeline] } [2022-02-11T04:05:06.758Z] $ docker exec --env ******** --env ******** d925346c4fb39056a87e4b09f9564155091966504106188f7843668b58644736 ssh-agent -k [2022-02-11T04:05:06.865Z] unset SSH_AUTH_SOCK; [2022-02-11T04:05:06.866Z] unset SSH_AGENT_PID; [2022-02-11T04:05:06.866Z] echo Agent pid 63 killed; [2022-02-11T04:05:06.875Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-11T04:05:07.300Z] + git semver [Pipeline] } [2022-02-11T04:05:07.339Z] $ docker stop --time=1 d925346c4fb39056a87e4b09f9564155091966504106188f7843668b58644736 [2022-02-11T04:05:08.597Z] $ docker rm -f d925346c4fb39056a87e4b09f9564155091966504106188f7843668b58644736 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-11T04:05:09.015Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-11T04:05:09.313Z] Stashed 1 file(s) [Pipeline] echo [2022-02-11T04:05:09.332Z] [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-11T04:05:09.915Z] provisioning config files... [2022-02-11T04:05:09.926Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1098@tmp/config55899399364699710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-11T04:05:10.275Z] ---> docker-login.sh [2022-02-11T04:05:10.275Z] nexus3.edgexfoundry.org:10001 [2022-02-11T04:05:10.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T04:05:10.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T04:05:10.275Z] Configure a credential helper to remove this warning. See [2022-02-11T04:05:10.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T04:05:10.275Z] [2022-02-11T04:05:10.275Z] Login Succeeded [2022-02-11T04:05:10.275Z] nexus3.edgexfoundry.org:10002 [2022-02-11T04:05:10.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T04:05:10.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T04:05:10.538Z] Configure a credential helper to remove this warning. See [2022-02-11T04:05:10.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T04:05:10.538Z] [2022-02-11T04:05:10.538Z] Login Succeeded [2022-02-11T04:05:10.538Z] nexus3.edgexfoundry.org:10003 [2022-02-11T04:05:10.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T04:05:10.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T04:05:10.539Z] Configure a credential helper to remove this warning. See [2022-02-11T04:05:10.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T04:05:10.539Z] [2022-02-11T04:05:10.539Z] Login Succeeded [2022-02-11T04:05:10.539Z] nexus3.edgexfoundry.org:10004 [2022-02-11T04:05:10.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T04:05:10.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T04:05:10.800Z] Configure a credential helper to remove this warning. See [2022-02-11T04:05:10.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T04:05:10.800Z] [2022-02-11T04:05:10.800Z] Login Succeeded [2022-02-11T04:05:10.800Z] docker.io [2022-02-11T04:05:10.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T04:05:11.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T04:05:11.061Z] Configure a credential helper to remove this warning. See [2022-02-11T04:05:11.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T04:05:11.061Z] [2022-02-11T04:05:11.061Z] Login Succeeded [2022-02-11T04:05:11.061Z] ---> docker-login.sh ends [Pipeline] } [2022-02-11T04:05:11.093Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-11T04:05:11.298Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-11T04:05:11.331Z] ========================================================= [2022-02-11T04:05:11.331Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-02-11T04:05:11.331Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-11T04:05:11.739Z] + 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.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-02-11T04:05:11.739Z] Sending build context to Docker daemon 9.437MB [2022-02-11T04:05:11.739Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-02-11T04:05:11.739Z] Step 2/11 : FROM ${BASE} AS builder [2022-02-11T04:05:12.007Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-02-11T04:05:12.007Z] 59bf1c3509f3: Pulling fs layer [2022-02-11T04:05:12.007Z] 666ba61612fd: Pulling fs layer [2022-02-11T04:05:12.007Z] 8ed8ca486205: Pulling fs layer [2022-02-11T04:05:12.007Z] 4fe6c5a15a65: Pulling fs layer [2022-02-11T04:05:12.007Z] 22a0e8bec74d: Pulling fs layer [2022-02-11T04:05:12.007Z] 640e595b4fbd: Pulling fs layer [2022-02-11T04:05:12.007Z] 763cafe07f6e: Pulling fs layer [2022-02-11T04:05:12.007Z] 0c0b528cf693: Pulling fs layer [2022-02-11T04:05:12.007Z] 10935f4eaf8b: Pulling fs layer [2022-02-11T04:05:12.007Z] 22a0e8bec74d: Waiting [2022-02-11T04:05:12.007Z] 640e595b4fbd: Waiting [2022-02-11T04:05:12.007Z] 763cafe07f6e: Waiting [2022-02-11T04:05:12.007Z] 0c0b528cf693: Waiting [2022-02-11T04:05:12.007Z] 10935f4eaf8b: Waiting [2022-02-11T04:05:12.007Z] 4fe6c5a15a65: Waiting [2022-02-11T04:05:12.007Z] 8ed8ca486205: Verifying Checksum [2022-02-11T04:05:12.007Z] 8ed8ca486205: Download complete [2022-02-11T04:05:12.007Z] 666ba61612fd: Verifying Checksum [2022-02-11T04:05:12.007Z] 666ba61612fd: Download complete [2022-02-11T04:05:12.007Z] 22a0e8bec74d: Verifying Checksum [2022-02-11T04:05:12.007Z] 22a0e8bec74d: Download complete [2022-02-11T04:05:12.007Z] 640e595b4fbd: Verifying Checksum [2022-02-11T04:05:12.007Z] 640e595b4fbd: Download complete [2022-02-11T04:05:12.007Z] 763cafe07f6e: Verifying Checksum [2022-02-11T04:05:12.007Z] 763cafe07f6e: Download complete [2022-02-11T04:05:12.007Z] 59bf1c3509f3: Verifying Checksum [2022-02-11T04:05:12.007Z] 59bf1c3509f3: Download complete [2022-02-11T04:05:12.271Z] 0c0b528cf693: Verifying Checksum [2022-02-11T04:05:12.271Z] 0c0b528cf693: Download complete [2022-02-11T04:05:12.534Z] 4fe6c5a15a65: Verifying Checksum [2022-02-11T04:05:12.534Z] 4fe6c5a15a65: Download complete [2022-02-11T04:05:12.534Z] 59bf1c3509f3: Pull complete [2022-02-11T04:05:12.534Z] 10935f4eaf8b: Verifying Checksum [2022-02-11T04:05:12.534Z] 10935f4eaf8b: Download complete [2022-02-11T04:05:12.534Z] 666ba61612fd: Pull complete [2022-02-11T04:05:12.794Z] 8ed8ca486205: Pull complete [2022-02-11T04:05:17.050Z] 4fe6c5a15a65: Pull complete [2022-02-11T04:05:17.050Z] 22a0e8bec74d: Pull complete [2022-02-11T04:05:17.050Z] 640e595b4fbd: Pull complete [2022-02-11T04:05:17.310Z] 763cafe07f6e: Pull complete [2022-02-11T04:05:17.310Z] 0c0b528cf693: Pull complete [2022-02-11T04:05:20.634Z] 10935f4eaf8b: Pull complete [2022-02-11T04:05:20.634Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-02-11T04:05:20.634Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-11T04:05:20.634Z] ---> 99d49a6021b9 [2022-02-11T04:05:20.634Z] Step 3/11 : ARG MAKE=make build [2022-02-11T04:05:22.565Z] ---> Running in 4420082b6579 [2022-02-11T04:05:22.565Z] Removing intermediate container 4420082b6579 [2022-02-11T04:05:22.565Z] ---> 4134288aeb2f [2022-02-11T04:05:22.565Z] Step 4/11 : WORKDIR /device-sdk-go [2022-02-11T04:05:22.565Z] ---> Running in 9e74199f9c90 [2022-02-11T04:05:22.565Z] Removing intermediate container 9e74199f9c90 [2022-02-11T04:05:22.565Z] ---> ab6b5cdcc79d [2022-02-11T04:05:22.565Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-11T04:05:22.565Z] ---> Running in c877c2f42f9a [2022-02-11T04:05:22.565Z] Removing intermediate container c877c2f42f9a [2022-02-11T04:05:22.565Z] ---> 9d8316deb90c [2022-02-11T04:05:22.565Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-11T04:05:22.565Z] ---> Running in 7878f5fd11c8 [2022-02-11T04:05:23.141Z] Removing intermediate container 7878f5fd11c8 [2022-02-11T04:05:23.141Z] ---> 13e7cc55d099 [2022-02-11T04:05:23.141Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-11T04:05:23.141Z] ---> Running in ef6e541f9672 [2022-02-11T04:05:23.403Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-11T04:05:24.350Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-11T04:05:24.610Z] OK: 221 MiB in 52 packages [2022-02-11T04:05:24.745Z] Still waiting to schedule task [2022-02-11T04:05:24.745Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-11T04:05:24.881Z] Removing intermediate container ef6e541f9672 [2022-02-11T04:05:24.881Z] ---> 8a34d91754e8 [2022-02-11T04:05:24.881Z] Step 8/11 : COPY go.mod vendor* ./ [2022-02-11T04:05:25.144Z] ---> 088de89282f5 [2022-02-11T04:05:25.144Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-11T04:05:25.144Z] ---> Running in 995b057d6b32 [2022-02-11T04:06:11.930Z] Removing intermediate container 995b057d6b32 [2022-02-11T04:06:11.931Z] ---> 103730b8b78a [2022-02-11T04:06:11.931Z] Step 10/11 : COPY . . [2022-02-11T04:06:11.931Z] ---> a03049b43fd3 [2022-02-11T04:06:11.931Z] Step 11/11 : RUN ${MAKE} [2022-02-11T04:06:11.931Z] ---> Running in a0d149bf6b85 [2022-02-11T04:06:11.931Z] noop [2022-02-11T04:06:11.931Z] Removing intermediate container a0d149bf6b85 [2022-02-11T04:06:11.931Z] ---> 8e078cc3dcd0 [2022-02-11T04:06:11.931Z] Successfully built 8e078cc3dcd0 [2022-02-11T04:06:11.931Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-11T04:06:12.272Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-11T04:06:12.272Z] . [Pipeline] withDockerContainer [2022-02-11T04:06:12.371Z] prd-centos7-docker-4c-2g-5046 does not seem to be running inside a container [2022-02-11T04:06:12.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1098 -v /w/workspace/gexfoundry_device-sdk-go_PR-1098:/w/workspace/gexfoundry_device-sdk-go_PR-1098:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1098@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1098@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 ******** ci-base-image-x86_64 cat [2022-02-11T04:06:12.774Z] $ docker top f2883f2d7eec0d80cbece4b83c48cbbdb66e43ce1c85e330cad494417b15177a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-11T04:06:13.202Z] + go version [2022-02-11T04:06:13.202Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-02-11T04:06:13.237Z] $ docker stop --time=1 f2883f2d7eec0d80cbece4b83c48cbbdb66e43ce1c85e330cad494417b15177a [2022-02-11T04:06:14.467Z] $ docker rm -f f2883f2d7eec0d80cbece4b83c48cbbdb66e43ce1c85e330cad494417b15177a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-11T04:06:15.119Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-11T04:06:15.120Z] . [Pipeline] withDockerContainer [2022-02-11T04:06:15.217Z] prd-centos7-docker-4c-2g-5046 does not seem to be running inside a container [2022-02-11T04:06:15.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1098 -v /w/workspace/gexfoundry_device-sdk-go_PR-1098:/w/workspace/gexfoundry_device-sdk-go_PR-1098:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1098@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1098@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 ******** ci-base-image-x86_64 cat [2022-02-11T04:06:15.633Z] $ docker top 5f5421971d8e603d2065ab7a881f7b9f847d205a4f2cbe291e6ce4230b901b58 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-11T04:06:16.093Z] + make test [2022-02-11T04:06:16.093Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-11T04:06:16.356Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-02-11T04:06:31.390Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-02-11T04:06:31.391Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-02-11T04:06:31.391Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-02-11T04:06:31.972Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.036s coverage: 23.3% of statements [2022-02-11T04:06:31.972Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-02-11T04:06:31.972Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.008s coverage: 27.6% of statements [2022-02-11T04:06:31.972Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.008s coverage: 78.9% of statements [2022-02-11T04:06:32.546Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.016s coverage: 9.0% of statements [2022-02-11T04:06:32.546Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-02-11T04:06:32.546Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-02-11T04:06:32.546Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-02-11T04:06:32.879Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.017s coverage: 28.7% of statements [2022-02-11T04:06:32.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-02-11T04:06:34.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.026s coverage: 86.1% of statements [2022-02-11T04:06:34.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-02-11T04:06:34.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-02-11T04:06:34.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.015s coverage: 57.4% of statements [2022-02-11T04:06:34.268Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.032s coverage: 89.2% of statements [2022-02-11T04:06:34.268Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-02-11T04:06:34.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.010s coverage: 4.8% of statements [2022-02-11T04:06:34.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-02-11T04:06:44.485Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5047 in /w/workspace/gexfoundry_device-sdk-go_PR-1098 [Pipeline] { [Pipeline] ws [2022-02-11T04:06:44.525Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-02-11T04:06:44.705Z] The recommended git tool is: git [2022-02-11T04:06:47.179Z] GO111MODULE=on go vet ./... [2022-02-11T04:06:49.062Z] using credential edgex-jenkins-ssh [2022-02-11T04:06:49.079Z] Cloning the remote Git repository [2022-02-11T04:06:49.139Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-02-11T04:06:49.207Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-02-11T04:06:49.351Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-02-11T04:06:49.352Z] > git --version # timeout=10 [2022-02-11T04:06:49.388Z] > git --version # 'git version 2.17.1' [2022-02-11T04:06:49.389Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-11T04:06:49.448Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-11T04:06:51.693Z] Merging remotes/origin/main commit 9a649bf1bf9918af6bcd6933aa59ded149e77d26 into PR head commit b4191eae823f6faf3dbca4785cc6abe7d0decba9 [2022-02-11T04:06:51.900Z] Merge succeeded, producing b4191eae823f6faf3dbca4785cc6abe7d0decba9 [2022-02-11T04:06:51.900Z] Checking out Revision b4191eae823f6faf3dbca4785cc6abe7d0decba9 (PR-1098) [2022-02-11T04:06:50.997Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-02-11T04:06:51.019Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-11T04:06:51.044Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-02-11T04:06:51.079Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-02-11T04:06:51.080Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-11T04:06:51.092Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1098/head:refs/remotes/origin/PR-1098 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-02-11T04:06:51.713Z] > git config core.sparsecheckout # timeout=10 [2022-02-11T04:06:51.731Z] > git checkout -f b4191eae823f6faf3dbca4785cc6abe7d0decba9 # timeout=10 [2022-02-11T04:06:51.830Z] > git remote # timeout=10 [2022-02-11T04:06:51.843Z] > git config --get remote.origin.url # timeout=10 [2022-02-11T04:06:51.855Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-11T04:06:51.867Z] > git merge 9a649bf1bf9918af6bcd6933aa59ded149e77d26 # timeout=10 [2022-02-11T04:06:51.887Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-11T04:06:51.908Z] > git config core.sparsecheckout # timeout=10 [2022-02-11T04:06:51.919Z] > git checkout -f b4191eae823f6faf3dbca4785cc6abe7d0decba9 # timeout=10 [2022-02-11T04:06:53.796Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-11T04:06:53.796Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-11T04:06:53.796Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-02-11T04:06:53.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-02-11T04:06:53.867Z] $ docker stop --time=1 5f5421971d8e603d2065ab7a881f7b9f847d205a4f2cbe291e6ce4230b901b58 [2022-02-11T04:06:55.315Z] $ docker rm -f 5f5421971d8e603d2065ab7a881f7b9f847d205a4f2cbe291e6ce4230b901b58 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-11T04:06:55.885Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-02-11T04:06:55.984Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [2022-02-11T04:06:56.053Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2022-02-11T04:06:56.117Z] > git --version # timeout=10 [2022-02-11T04:06:56.128Z] > git --version # 'git version 2.17.1' [2022-02-11T04:06:56.144Z] fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-11T04:06:57.153Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-11T04:06:57.612Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-11T04:06:57.612Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-11T04:06:57.612Z] Dload Upload Total Spent Left Speed [2022-02-11T04:06:57.612Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 95508 0 --:--:-- --:--:-- --:--:-- 95508 [2022-02-11T04:06:57.628Z] + ls -al . [2022-02-11T04:06:57.628Z] total 272 [2022-02-11T04:06:57.628Z] drwxrwxr-x. 11 jenkins jenkins 4096 Feb 11 04:06 . [2022-02-11T04:06:57.628Z] drwxrwxr-x. 4 jenkins jenkins 112 Feb 11 04:04 .. [2022-02-11T04:06:57.628Z] drwxrwxr-x. 2 jenkins jenkins 37 Feb 11 04:04 bin [2022-02-11T04:06:57.628Z] -rw-rw-r--. 1 jenkins jenkins 26321 Feb 11 04:04 CHANGELOG.md [2022-02-11T04:06:57.628Z] -rw-r--r--. 1 jenkins jenkins 128608 Feb 11 04:06 coverage.out [2022-02-11T04:06:57.628Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 11 04:04 .dockerignore [2022-02-11T04:06:57.628Z] drwxrwxr-x. 5 jenkins jenkins 62 Feb 11 04:04 example [2022-02-11T04:06:57.628Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 11 04:04 .git [2022-02-11T04:06:57.628Z] drwxrwxr-x. 3 jenkins jenkins 125 Feb 11 04:04 .github [2022-02-11T04:06:57.628Z] -rw-rw-r--. 1 jenkins jenkins 131 Feb 11 04:04 .gitignore [2022-02-11T04:06:57.628Z] -rw-rw-r--. 1 jenkins jenkins 42 Feb 11 04:04 .golangci.yml [2022-02-11T04:06:57.628Z] -rw-rw-r--. 1 jenkins jenkins 2767 Feb 11 04:04 go.mod [2022-02-11T04:06:57.628Z] -rw-rw-r--. 1 jenkins jenkins 49667 Feb 11 04:04 go.sum [2022-02-11T04:06:57.628Z] -rw-rw-r--. 1 jenkins jenkins 677 Feb 11 04:04 GOVERNANCE.md [2022-02-11T04:06:57.628Z] drwxrwxr-x. 15 jenkins jenkins 224 Feb 11 04:04 internal [2022-02-11T04:06:57.628Z] -rw-rw-r--. 1 jenkins jenkins 880 Feb 11 04:04 Jenkinsfile [2022-02-11T04:06:57.628Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 11 04:04 LICENSE [2022-02-11T04:06:57.628Z] -rw-rw-r--. 1 jenkins jenkins 1614 Feb 11 04:04 Makefile [2022-02-11T04:06:57.628Z] drwxrwxr-x. 3 jenkins jenkins 16 Feb 11 04:04 openapi [2022-02-11T04:06:57.628Z] -rw-rw-r--. 1 jenkins jenkins 619 Feb 11 04:04 OWNERS.md [2022-02-11T04:06:57.628Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 11 04:04 pkg [2022-02-11T04:06:57.628Z] -rw-rw-r--. 1 jenkins jenkins 4881 Feb 11 04:04 README.md [2022-02-11T04:06:57.628Z] drwx------. 3 jenkins jenkins 72 Feb 11 04:05 .semver [2022-02-11T04:06:57.628Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 11 04:04 snap [2022-02-11T04:06:57.628Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 11 04:05 VERSION [2022-02-11T04:06:57.628Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 11 04:04 version.go [Pipeline] isUnix [Pipeline] sh [Pipeline] sh [2022-02-11T04:06:57.968Z] + 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=b4191eae823f6faf3dbca4785cc6abe7d0decba9 --label arch=amd64 --label version=0.0.0 . [2022-02-11T04:06:57.968Z] Sending build context to Docker daemon 9.567MB [2022-02-11T04:06:57.968Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-02-11T04:06:57.968Z] Step 2/25 : FROM ${BASE} AS builder [2022-02-11T04:06:57.968Z] ---> 8e078cc3dcd0 [2022-02-11T04:06:57.968Z] Step 3/25 : ARG MAKE=make build [2022-02-11T04:06:58.231Z] ---> Running in b1ca9b514b7c [2022-02-11T04:06:58.231Z] Removing intermediate container b1ca9b514b7c [2022-02-11T04:06:58.231Z] ---> c8969fb90196 [2022-02-11T04:06:58.231Z] Step 4/25 : WORKDIR /device-sdk-go [2022-02-11T04:06:58.231Z] ---> Running in edf421bcc65b [2022-02-11T04:06:58.257Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-11T04:06:58.495Z] Removing intermediate container edf421bcc65b [2022-02-11T04:06:58.495Z] ---> d446e62c9201 [2022-02-11T04:06:58.495Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-11T04:06:58.495Z] ---> Running in 45c67717eb80 [2022-02-11T04:06:58.495Z] Removing intermediate container 45c67717eb80 [2022-02-11T04:06:58.495Z] ---> d413abebd67c [2022-02-11T04:06:58.495Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-11T04:06:58.495Z] ---> Running in 6ba0d8e6ca1d [2022-02-11T04:06:58.609Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2022-02-11T04:06:58.610Z] /etc/docker/daemon.new [2022-02-11T04:06:58.610Z] { [2022-02-11T04:06:58.610Z] "registry-mirrors": [ [2022-02-11T04:06:58.610Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-11T04:06:58.610Z] ], [2022-02-11T04:06:58.610Z] "bip": "10.250.0.254/24", [2022-02-11T04:06:58.610Z] "hosts": [ [2022-02-11T04:06:58.610Z] "tcp://0.0.0.0:5555", [2022-02-11T04:06:58.610Z] "unix:///var/run/docker.sock" [2022-02-11T04:06:58.610Z] ], [2022-02-11T04:06:58.610Z] "mtu": 1458, [2022-02-11T04:06:58.610Z] "selinux-enabled": true, [2022-02-11T04:06:58.610Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-11T04:06:58.610Z] } [Pipeline] sh [2022-02-11T04:06:58.971Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-11T04:06:59.069Z] Removing intermediate container 6ba0d8e6ca1d [2022-02-11T04:06:59.069Z] ---> 3fda13be36e3 [2022-02-11T04:06:59.069Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-11T04:06:59.069Z] ---> Running in d9e45aaeda82 [2022-02-11T04:06:59.327Z] + sudo service docker restart [2022-02-11T04:06:59.331Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-11T04:07:00.280Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-11T04:07:00.540Z] OK: 221 MiB in 52 packages [2022-02-11T04:07:00.799Z] Removing intermediate container d9e45aaeda82 [2022-02-11T04:07:00.799Z] ---> 4160d191cc17 [2022-02-11T04:07:00.799Z] Step 8/25 : COPY go.mod vendor* ./ [2022-02-11T04:07:01.066Z] ---> d3a4d3e3b4c9 [2022-02-11T04:07:01.066Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-11T04:07:01.066Z] ---> Running in 5d541769b09c [2022-02-11T04:07:01.635Z] Removing intermediate container 5d541769b09c [2022-02-11T04:07:01.635Z] ---> a10c2a3faffd [2022-02-11T04:07:01.635Z] Step 10/25 : COPY . . [2022-02-11T04:07:01.897Z] ---> f6b335d7ad31 [2022-02-11T04:07:01.897Z] Step 11/25 : RUN ${MAKE} [2022-02-11T04:07:01.897Z] ---> Running in 5cd98c5316f2 [2022-02-11T04:07:02.165Z] 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 [2022-02-11T04:07:14.494Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-02-11T04:07:14.494Z] Removing intermediate container 5cd98c5316f2 [2022-02-11T04:07:14.494Z] ---> f39c34f42700 [2022-02-11T04:07:14.494Z] Step 12/25 : FROM alpine:3.14 [2022-02-11T04:07:14.494Z] 3.14: Pulling from library/alpine [2022-02-11T04:07:14.756Z] 97518928ae5f: Pulling fs layer [2022-02-11T04:07:14.756Z] 97518928ae5f: Verifying Checksum [2022-02-11T04:07:14.756Z] 97518928ae5f: Download complete [2022-02-11T04:07:15.017Z] 97518928ae5f: Pull complete [2022-02-11T04:07:15.017Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-02-11T04:07:15.017Z] Status: Downloaded newer image for alpine:3.14 [2022-02-11T04:07:15.017Z] ---> 0a97eee8041e [2022-02-11T04:07:15.017Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-11T04:07:15.017Z] ---> Running in a4d4c48f6b4b [2022-02-11T04:07:15.280Z] Removing intermediate container a4d4c48f6b4b [2022-02-11T04:07:15.280Z] ---> a5c630d653d2 [2022-02-11T04:07:15.280Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-11T04:07:15.280Z] ---> Running in e86cf5d7b955 [2022-02-11T04:07:15.542Z] Removing intermediate container e86cf5d7b955 [2022-02-11T04:07:15.542Z] ---> 7b7723871401 [2022-02-11T04:07:15.542Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-02-11T04:07:15.542Z] ---> Running in 068a5b2755bf [2022-02-11T04:07:15.812Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-11T04:07:16.753Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-02-11T04:07:17.014Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-02-11T04:07:17.014Z] (2/5) Installing libsodium (1.0.18-r0) [2022-02-11T04:07:17.275Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-02-11T04:07:17.275Z] (4/5) Installing libzmq (4.3.4-r0) [2022-02-11T04:07:17.536Z] (5/5) Installing zeromq (4.3.4-r0) [2022-02-11T04:07:17.536Z] Executing busybox-1.33.1-r6.trigger [2022-02-11T04:07:17.536Z] OK: 8 MiB in 19 packages [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-11T04:07:17.713Z] provisioning config files... [2022-02-11T04:07:17.737Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2229813881677891521tmp [2022-02-11T04:07:17.801Z] Removing intermediate container 068a5b2755bf [2022-02-11T04:07:17.801Z] ---> c39fad246e1f [2022-02-11T04:07:17.801Z] Step 16/25 : WORKDIR / [2022-02-11T04:07:17.801Z] ---> Running in 8975c2f8308e [2022-02-11T04:07:17.801Z] Removing intermediate container 8975c2f8308e [2022-02-11T04:07:17.801Z] ---> 4d9431607f31 [2022-02-11T04:07:17.801Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-11T04:07:18.064Z] ---> 15cfb2d77ad6 [2022-02-11T04:07:18.064Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-02-11T04:07:18.313Z] ---> docker-login.sh [2022-02-11T04:07:18.313Z] nexus3.edgexfoundry.org:10001 [2022-02-11T04:07:18.329Z] ---> 72741cbf93d8 [2022-02-11T04:07:18.329Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-02-11T04:07:18.596Z] ---> 0a042fefbd96 [2022-02-11T04:07:18.596Z] Step 20/25 : EXPOSE 59999 [2022-02-11T04:07:18.596Z] ---> Running in d43f92997ccc [2022-02-11T04:07:18.596Z] Removing intermediate container d43f92997ccc [2022-02-11T04:07:18.596Z] ---> 4168b98f533a [2022-02-11T04:07:18.596Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-02-11T04:07:18.596Z] ---> Running in 79a9a3ff9a73 [2022-02-11T04:07:18.861Z] Removing intermediate container 79a9a3ff9a73 [2022-02-11T04:07:18.861Z] ---> 0b9b76508f71 [2022-02-11T04:07:18.861Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-02-11T04:07:18.861Z] ---> Running in 2e4fa433932b [2022-02-11T04:07:18.861Z] Removing intermediate container 2e4fa433932b [2022-02-11T04:07:18.861Z] ---> 50d87386f8af [2022-02-11T04:07:18.861Z] Step 23/25 : LABEL arch=amd64 [2022-02-11T04:07:18.861Z] ---> Running in 1a9d3c37a767 [2022-02-11T04:07:18.861Z] Removing intermediate container 1a9d3c37a767 [2022-02-11T04:07:18.861Z] ---> f073e546769b [2022-02-11T04:07:18.861Z] Step 24/25 : LABEL git_sha=b4191eae823f6faf3dbca4785cc6abe7d0decba9 [2022-02-11T04:07:18.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T04:07:19.122Z] ---> Running in 28383df1ca1f [2022-02-11T04:07:19.122Z] Removing intermediate container 28383df1ca1f [2022-02-11T04:07:19.122Z] ---> 8e566e747dbe [2022-02-11T04:07:19.122Z] Step 25/25 : LABEL version=0.0.0 [2022-02-11T04:07:19.122Z] ---> Running in abb0c23b41af [2022-02-11T04:07:19.122Z] Removing intermediate container abb0c23b41af [2022-02-11T04:07:19.122Z] ---> f66ff56a0625 [2022-02-11T04:07:19.122Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-11T04:07:19.122Z] Successfully built f66ff56a0625 [2022-02-11T04:07:19.122Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [2022-02-11T04:07:19.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T04:07:19.183Z] Configure a credential helper to remove this warning. See [2022-02-11T04:07:19.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T04:07:19.183Z] [2022-02-11T04:07:19.183Z] Login Succeeded [2022-02-11T04:07:19.183Z] nexus3.edgexfoundry.org:10002 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [2022-02-11T04:07:19.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T04:07:19.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T04:07:19.460Z] Configure a credential helper to remove this warning. See [2022-02-11T04:07:19.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T04:07:19.460Z] [2022-02-11T04:07:19.460Z] Login Succeeded [2022-02-11T04:07:19.460Z] nexus3.edgexfoundry.org:10003 Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-11T04:07:19.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T04:07:19.967Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-11T04:07:19.967Z] [2022-02-11T04:07:19.967Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [2022-02-11T04:07:20.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T04:07:20.007Z] Configure a credential helper to remove this warning. See [2022-02-11T04:07:20.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T04:07:20.007Z] [2022-02-11T04:07:20.007Z] Login Succeeded [2022-02-11T04:07:20.007Z] nexus3.edgexfoundry.org:10004 [Pipeline] sh [2022-02-11T04:07:20.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T04:07:20.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T04:07:20.278Z] Configure a credential helper to remove this warning. See [2022-02-11T04:07:20.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T04:07:20.278Z] [2022-02-11T04:07:20.278Z] Login Succeeded [2022-02-11T04:07:20.278Z] docker.io [2022-02-11T04:07:20.336Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-11T04:07:20.336Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-11T04:07:20.336Z] b4d181a07f80: Pulling fs layer [2022-02-11T04:07:20.336Z] a1111a8f2ec3: Pulling fs layer [2022-02-11T04:07:20.336Z] ed53099fbce6: Pulling fs layer [2022-02-11T04:07:20.336Z] dc539afda2c1: Pulling fs layer [2022-02-11T04:07:20.336Z] 77bc0d833cb6: Pulling fs layer [2022-02-11T04:07:20.336Z] 9065ff56babe: Pulling fs layer [2022-02-11T04:07:20.336Z] d287ab97295c: Pulling fs layer [2022-02-11T04:07:20.336Z] 77bc0d833cb6: Waiting [2022-02-11T04:07:20.336Z] 9065ff56babe: Waiting [2022-02-11T04:07:20.336Z] d287ab97295c: Waiting [2022-02-11T04:07:20.336Z] dc539afda2c1: Waiting [2022-02-11T04:07:20.336Z] a1111a8f2ec3: Verifying Checksum [2022-02-11T04:07:20.336Z] a1111a8f2ec3: Download complete [2022-02-11T04:07:20.336Z] dc539afda2c1: Verifying Checksum [2022-02-11T04:07:20.336Z] dc539afda2c1: Download complete [2022-02-11T04:07:20.336Z] 77bc0d833cb6: Verifying Checksum [2022-02-11T04:07:20.336Z] 77bc0d833cb6: Download complete [2022-02-11T04:07:20.336Z] 9065ff56babe: Verifying Checksum [2022-02-11T04:07:20.336Z] 9065ff56babe: Download complete [2022-02-11T04:07:20.336Z] ed53099fbce6: Verifying Checksum [2022-02-11T04:07:20.336Z] ed53099fbce6: Download complete [2022-02-11T04:07:20.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T04:07:20.602Z] b4d181a07f80: Verifying Checksum [2022-02-11T04:07:20.602Z] b4d181a07f80: Download complete [2022-02-11T04:07:20.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T04:07:20.821Z] Configure a credential helper to remove this warning. See [2022-02-11T04:07:20.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T04:07:20.821Z] [2022-02-11T04:07:20.821Z] Login Succeeded [2022-02-11T04:07:20.821Z] ---> docker-login.sh ends [Pipeline] } [2022-02-11T04:07:20.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2022-02-11T04:07:21.183Z] d287ab97295c: Verifying Checksum [2022-02-11T04:07:21.183Z] d287ab97295c: Download complete [Pipeline] echo [2022-02-11T04:07:21.242Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-11T04:07:21.280Z] ========================================================= [2022-02-11T04:07:21.280Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-02-11T04:07:21.280Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-11T04:07:21.725Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-02-11T04:07:21.995Z] Sending build context to Docker daemon 5.092MB [2022-02-11T04:07:22.125Z] b4d181a07f80: Pull complete [2022-02-11T04:07:22.125Z] a1111a8f2ec3: Pull complete [2022-02-11T04:07:22.274Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-02-11T04:07:22.274Z] Step 2/11 : FROM ${BASE} AS builder [2022-02-11T04:07:22.274Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-02-11T04:07:22.274Z] 9b3977197b4f: Pulling fs layer [2022-02-11T04:07:22.274Z] 1a89e8eeedd5: Pulling fs layer [2022-02-11T04:07:22.274Z] 94645a83ff95: Pulling fs layer [2022-02-11T04:07:22.274Z] 3f3a8bcf1eab: Pulling fs layer [2022-02-11T04:07:22.274Z] 0c92f367c5e7: Pulling fs layer [2022-02-11T04:07:22.274Z] f7c0051592d6: Pulling fs layer [2022-02-11T04:07:22.274Z] a227ed2f7395: Pulling fs layer [2022-02-11T04:07:22.274Z] 7b1c46037f91: Pulling fs layer [2022-02-11T04:07:22.274Z] f7c0051592d6: Waiting [2022-02-11T04:07:22.274Z] 3f3a8bcf1eab: Waiting [2022-02-11T04:07:22.274Z] a227ed2f7395: Waiting [2022-02-11T04:07:22.274Z] 7b1c46037f91: Waiting [2022-02-11T04:07:22.274Z] 0c92f367c5e7: Waiting [2022-02-11T04:07:22.274Z] 94645a83ff95: Verifying Checksum [2022-02-11T04:07:22.274Z] 94645a83ff95: Download complete [2022-02-11T04:07:22.274Z] 1a89e8eeedd5: Verifying Checksum [2022-02-11T04:07:22.274Z] 1a89e8eeedd5: Download complete [2022-02-11T04:07:22.274Z] 0c92f367c5e7: Verifying Checksum [2022-02-11T04:07:22.274Z] 0c92f367c5e7: Download complete [2022-02-11T04:07:22.274Z] f7c0051592d6: Download complete [2022-02-11T04:07:22.274Z] 9b3977197b4f: Download complete [2022-02-11T04:07:22.274Z] a227ed2f7395: Verifying Checksum [2022-02-11T04:07:22.274Z] a227ed2f7395: Download complete [2022-02-11T04:07:22.716Z] ed53099fbce6: Pull complete [2022-02-11T04:07:22.716Z] dc539afda2c1: Pull complete [2022-02-11T04:07:22.977Z] 77bc0d833cb6: Pull complete [2022-02-11T04:07:22.977Z] 9065ff56babe: Pull complete [2022-02-11T04:07:23.260Z] 9b3977197b4f: Pull complete [2022-02-11T04:07:23.861Z] 1a89e8eeedd5: Pull complete [2022-02-11T04:07:23.861Z] 94645a83ff95: Pull complete [2022-02-11T04:07:24.133Z] 7b1c46037f91: Verifying Checksum [2022-02-11T04:07:24.133Z] 7b1c46037f91: Download complete [2022-02-11T04:07:24.735Z] 3f3a8bcf1eab: Verifying Checksum [2022-02-11T04:07:24.735Z] 3f3a8bcf1eab: Download complete [2022-02-11T04:07:28.345Z] d287ab97295c: Pull complete [2022-02-11T04:07:28.345Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-11T04:07:28.345Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-11T04:07:28.345Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-11T04:07:28.439Z] prd-centos7-docker-4c-2g-5046 does not seem to be running inside a container [2022-02-11T04:07:28.471Z] $ 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/gexfoundry_device-sdk-go_PR-1098 -v /w/workspace/gexfoundry_device-sdk-go_PR-1098:/w/workspace/gexfoundry_device-sdk-go_PR-1098:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1098@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1098@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-11T04:07:30.927Z] $ docker top a61782cd9191015c83d00ecf6b985362e76b48253541d7535588fecb35c54233 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-11T04:07:31.432Z] ---> job-cost.sh [2022-02-11T04:07:31.432Z] lf-activate-venv: SKIPPING [2022-02-11T04:07:31.432Z] INFO: No Stack... [2022-02-11T04:07:31.693Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-11T04:07:32.267Z] INFO: Archiving Costs [Pipeline] sh [2022-02-11T04:07:32.592Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1098/archives/cost.csv [2022-02-11T04:07:32.593Z] + cut -d, -f6 [Pipeline] lock [2022-02-11T04:07:32.633Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1098-1-stack-cost] [2022-02-11T04:07:32.638Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1098-1-stack-cost] did not exist. Created. [2022-02-11T04:07:32.638Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1098-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-11T04:07:33.037Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-11T04:07:33.137Z] Stashed 1 file(s) [Pipeline] } [2022-02-11T04:07:33.154Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1098-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-11T04:07:33.233Z] $ docker stop --time=1 a61782cd9191015c83d00ecf6b985362e76b48253541d7535588fecb35c54233 [2022-02-11T04:07:34.425Z] $ docker rm -f a61782cd9191015c83d00ecf6b985362e76b48253541d7535588fecb35c54233 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-11T04:07:37.125Z] 3f3a8bcf1eab: Pull complete [2022-02-11T04:07:37.125Z] 0c92f367c5e7: Pull complete [2022-02-11T04:07:37.125Z] f7c0051592d6: Pull complete [2022-02-11T04:07:37.125Z] a227ed2f7395: Pull complete [2022-02-11T04:07:42.532Z] 7b1c46037f91: Pull complete [2022-02-11T04:07:42.533Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-02-11T04:07:42.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-11T04:07:42.533Z] ---> f79e39bc4007 [2022-02-11T04:07:42.533Z] Step 3/11 : ARG MAKE=make build [2022-02-11T04:07:44.509Z] ---> Running in 18787149a5f2 [2022-02-11T04:07:44.509Z] Removing intermediate container 18787149a5f2 [2022-02-11T04:07:44.509Z] ---> 9ffeea7544c9 [2022-02-11T04:07:44.509Z] Step 4/11 : WORKDIR /device-sdk-go [2022-02-11T04:07:44.509Z] ---> Running in 31d171075802 [2022-02-11T04:07:45.106Z] Removing intermediate container 31d171075802 [2022-02-11T04:07:45.106Z] ---> 1e4a72c0c333 [2022-02-11T04:07:45.106Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-11T04:07:45.106Z] ---> Running in b4be8403ae17 [2022-02-11T04:07:45.380Z] Removing intermediate container b4be8403ae17 [2022-02-11T04:07:45.380Z] ---> 5f6422db9dd2 [2022-02-11T04:07:45.380Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-11T04:07:45.655Z] ---> Running in 2b976c7e9810 [2022-02-11T04:07:47.629Z] Removing intermediate container 2b976c7e9810 [2022-02-11T04:07:47.629Z] ---> 8ede40f912e5 [2022-02-11T04:07:47.629Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-11T04:07:47.629Z] ---> Running in e2b49dabe5a2 [2022-02-11T04:07:48.603Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-11T04:07:49.195Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-11T04:07:50.174Z] OK: 220 MiB in 52 packages [2022-02-11T04:07:51.152Z] Removing intermediate container e2b49dabe5a2 [2022-02-11T04:07:51.152Z] ---> e13f6131679b [2022-02-11T04:07:51.152Z] Step 8/11 : COPY go.mod vendor* ./ [2022-02-11T04:07:51.431Z] ---> b12fe9b2b5b3 [2022-02-11T04:07:51.431Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-11T04:07:51.706Z] ---> Running in aaafc8c0adbb [2022-02-11T04:09:13.453Z] Removing intermediate container aaafc8c0adbb [2022-02-11T04:09:13.453Z] ---> 628e8902c14d [2022-02-11T04:09:13.453Z] Step 10/11 : COPY . . [2022-02-11T04:09:13.453Z] ---> ece3b3aaa8e8 [2022-02-11T04:09:13.453Z] Step 11/11 : RUN ${MAKE} [2022-02-11T04:09:13.453Z] ---> Running in 05bfc784a6c9 [2022-02-11T04:09:13.453Z] noop [2022-02-11T04:09:13.453Z] Removing intermediate container 05bfc784a6c9 [2022-02-11T04:09:13.453Z] ---> 3dd45d8fe5b6 [2022-02-11T04:09:13.453Z] Successfully built 3dd45d8fe5b6 [2022-02-11T04:09:13.453Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-11T04:09:13.840Z] + docker inspect -f . ci-base-image-arm64 [2022-02-11T04:09:13.840Z] . [Pipeline] withDockerContainer [2022-02-11T04:09:14.086Z] prd-ubuntu18.04-docker-arm64-4c-16g-5047 does not seem to be running inside a container [2022-02-11T04:09:14.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-11T04:09:15.445Z] $ docker top 0203c7358c7501ff2bca07f67e201870cf98fff082443b8cf4c1d9039208598b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-11T04:09:16.379Z] + go version [2022-02-11T04:09:16.379Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-02-11T04:09:16.410Z] $ docker stop --time=1 0203c7358c7501ff2bca07f67e201870cf98fff082443b8cf4c1d9039208598b [2022-02-11T04:09:18.032Z] $ docker rm -f 0203c7358c7501ff2bca07f67e201870cf98fff082443b8cf4c1d9039208598b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-11T04:09:18.918Z] + docker inspect -f . ci-base-image-arm64 [2022-02-11T04:09:18.918Z] . [Pipeline] withDockerContainer [2022-02-11T04:09:19.132Z] prd-ubuntu18.04-docker-arm64-4c-16g-5047 does not seem to be running inside a container [2022-02-11T04:09:19.207Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-11T04:09:20.532Z] $ docker top 412b463d31b7f9b077d52f512473d9e42f7a51b6ad1a7ba2d1242eb15c672170 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-11T04:09:21.521Z] + make test [2022-02-11T04:09:21.522Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-11T04:09:22.979Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-02-11T04:10:10.013Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-02-11T04:10:10.013Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-02-11T04:10:10.013Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-02-11T04:10:16.744Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.087s coverage: 23.3% of statements [2022-02-11T04:10:16.744Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-02-11T04:10:16.744Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.117s coverage: 27.6% of statements [2022-02-11T04:10:16.744Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.053s coverage: 78.9% of statements [2022-02-11T04:10:16.744Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.100s coverage: 9.0% of statements [2022-02-11T04:10:16.744Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-02-11T04:10:16.744Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-02-11T04:10:16.744Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-02-11T04:10:18.196Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.087s coverage: 28.7% of statements [2022-02-11T04:10:18.197Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-02-11T04:10:19.636Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.054s coverage: 86.1% of statements [2022-02-11T04:10:19.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-02-11T04:10:19.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-02-11T04:10:19.636Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.122s coverage: 57.4% of statements [2022-02-11T04:10:19.636Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.202s coverage: 89.2% of statements [2022-02-11T04:10:19.636Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-02-11T04:10:21.069Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 4.8% of statements [2022-02-11T04:10:21.069Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-02-11T04:10:21.664Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-02-11T04:10:21.664Z] GO111MODULE=on go vet ./... [2022-02-11T04:10:43.858Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-11T04:10:43.858Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-11T04:10:43.858Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-02-11T04:10:45.330Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-02-11T04:10:45.361Z] $ docker stop --time=1 412b463d31b7f9b077d52f512473d9e42f7a51b6ad1a7ba2d1242eb15c672170 [2022-02-11T04:10:47.131Z] $ docker rm -f 412b463d31b7f9b077d52f512473d9e42f7a51b6ad1a7ba2d1242eb15c672170 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-11T04:10:48.100Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-02-11T04:10:48.136Z] Warning: overwriting stash ‘coverage-report’ [2022-02-11T04:10:48.728Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-11T04:10:49.316Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-11T04:10:49.669Z] + ls -al . [2022-02-11T04:10:49.669Z] total 308 [2022-02-11T04:10:49.669Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 11 04:10 . [2022-02-11T04:10:49.669Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 11 04:06 .. [2022-02-11T04:10:49.669Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 11 04:06 .dockerignore [2022-02-11T04:10:49.669Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 11 04:06 .git [2022-02-11T04:10:49.669Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 11 04:06 .github [2022-02-11T04:10:49.669Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 11 04:06 .gitignore [2022-02-11T04:10:49.669Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 11 04:06 .golangci.yml [2022-02-11T04:10:49.669Z] -rw-rw-r-- 1 jenkins jenkins 26321 Feb 11 04:06 CHANGELOG.md [2022-02-11T04:10:49.670Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 11 04:06 GOVERNANCE.md [2022-02-11T04:10:49.670Z] -rw-rw-r-- 1 jenkins jenkins 880 Feb 11 04:06 Jenkinsfile [2022-02-11T04:10:49.670Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 11 04:06 LICENSE [2022-02-11T04:10:49.670Z] -rw-rw-r-- 1 jenkins jenkins 1614 Feb 11 04:06 Makefile [2022-02-11T04:10:49.670Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 11 04:06 OWNERS.md [2022-02-11T04:10:49.670Z] -rw-rw-r-- 1 jenkins jenkins 4881 Feb 11 04:06 README.md [2022-02-11T04:10:49.670Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 11 04:05 VERSION [2022-02-11T04:10:49.670Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 11 04:06 bin [2022-02-11T04:10:49.670Z] -rw-r--r-- 1 jenkins jenkins 128608 Feb 11 04:10 coverage.out [2022-02-11T04:10:49.670Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 11 04:06 example [2022-02-11T04:10:49.670Z] -rw-rw-r-- 1 jenkins jenkins 2767 Feb 11 04:06 go.mod [2022-02-11T04:10:49.670Z] -rw-rw-r-- 1 jenkins jenkins 49667 Feb 11 04:06 go.sum [2022-02-11T04:10:49.670Z] drwxrwxr-x 15 jenkins jenkins 4096 Feb 11 04:06 internal [2022-02-11T04:10:49.670Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 11 04:06 openapi [2022-02-11T04:10:49.670Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 11 04:06 pkg [2022-02-11T04:10:49.670Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 11 04:06 snap [2022-02-11T04:10:49.670Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 11 04:06 version.go [Pipeline] isUnix [Pipeline] sh [2022-02-11T04:10:50.039Z] + 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=b4191eae823f6faf3dbca4785cc6abe7d0decba9 --label arch=arm64 --label version=0.0.0 . [2022-02-11T04:10:50.311Z] Sending build context to Docker daemon 5.222MB [2022-02-11T04:10:50.587Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-02-11T04:10:50.587Z] Step 2/25 : FROM ${BASE} AS builder [2022-02-11T04:10:50.587Z] ---> 3dd45d8fe5b6 [2022-02-11T04:10:50.587Z] Step 3/25 : ARG MAKE=make build [2022-02-11T04:10:50.587Z] ---> Running in 0565799303b7 [2022-02-11T04:10:50.863Z] Removing intermediate container 0565799303b7 [2022-02-11T04:10:50.863Z] ---> 8c923ab3ad2f [2022-02-11T04:10:50.863Z] Step 4/25 : WORKDIR /device-sdk-go [2022-02-11T04:10:51.136Z] ---> Running in bb29d81354c1 [2022-02-11T04:10:51.407Z] Removing intermediate container bb29d81354c1 [2022-02-11T04:10:51.407Z] ---> 37a9eae7c707 [2022-02-11T04:10:51.407Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-11T04:10:51.407Z] ---> Running in 9359296112ac [2022-02-11T04:10:52.013Z] Removing intermediate container 9359296112ac [2022-02-11T04:10:52.013Z] ---> 46b4e2847de6 [2022-02-11T04:10:52.013Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-11T04:10:52.013Z] ---> Running in 60b15a7d130f [2022-02-11T04:10:53.446Z] Removing intermediate container 60b15a7d130f [2022-02-11T04:10:53.446Z] ---> 9160e622341b [2022-02-11T04:10:53.446Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-11T04:10:53.725Z] ---> Running in b9b946adcbe2 [2022-02-11T04:10:54.703Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-11T04:10:55.702Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-11T04:10:56.685Z] OK: 220 MiB in 52 packages [2022-02-11T04:10:57.676Z] Removing intermediate container b9b946adcbe2 [2022-02-11T04:10:57.676Z] ---> 3c1bf70e8c91 [2022-02-11T04:10:57.676Z] Step 8/25 : COPY go.mod vendor* ./ [2022-02-11T04:10:57.948Z] ---> 341ff088bd3b [2022-02-11T04:10:57.948Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-11T04:10:58.228Z] ---> Running in 1a933beaa058 [2022-02-11T04:11:00.213Z] Removing intermediate container 1a933beaa058 [2022-02-11T04:11:00.213Z] ---> 332f6eb0892c [2022-02-11T04:11:00.213Z] Step 10/25 : COPY . . [2022-02-11T04:11:01.650Z] ---> 3222981f13e1 [2022-02-11T04:11:01.650Z] Step 11/25 : RUN ${MAKE} [2022-02-11T04:11:01.650Z] ---> Running in 3abb7153f980 [2022-02-11T04:11:02.630Z] 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 [2022-02-11T04:11:41.638Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-02-11T04:11:42.235Z] Removing intermediate container 3abb7153f980 [2022-02-11T04:11:42.235Z] ---> 99cf7a735e2a [2022-02-11T04:11:42.235Z] Step 12/25 : FROM alpine:3.14 [2022-02-11T04:11:43.207Z] 3.14: Pulling from library/alpine [2022-02-11T04:11:43.207Z] be307f383ecc: Pulling fs layer [2022-02-11T04:11:43.481Z] be307f383ecc: Verifying Checksum [2022-02-11T04:11:43.481Z] be307f383ecc: Download complete [2022-02-11T04:11:43.758Z] be307f383ecc: Pull complete [2022-02-11T04:11:43.758Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-02-11T04:11:44.029Z] Status: Downloaded newer image for alpine:3.14 [2022-02-11T04:11:44.029Z] ---> 5b8b7b635229 [2022-02-11T04:11:44.029Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-11T04:11:44.029Z] ---> Running in 91c494ed308c [2022-02-11T04:11:44.303Z] Removing intermediate container 91c494ed308c [2022-02-11T04:11:44.303Z] ---> da4105efc189 [2022-02-11T04:11:44.303Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-11T04:11:44.582Z] ---> Running in 9aeafd74e322 [2022-02-11T04:11:46.022Z] Removing intermediate container 9aeafd74e322 [2022-02-11T04:11:46.022Z] ---> 4445138d771f [2022-02-11T04:11:46.022Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-02-11T04:11:46.297Z] ---> Running in 8238efbcaff7 [2022-02-11T04:11:47.271Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-11T04:11:48.251Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-11T04:11:48.849Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-02-11T04:11:49.122Z] (2/5) Installing libsodium (1.0.18-r0) [2022-02-11T04:11:49.122Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-02-11T04:11:49.398Z] (4/5) Installing libzmq (4.3.4-r0) [2022-02-11T04:11:49.398Z] (5/5) Installing zeromq (4.3.4-r0) [2022-02-11T04:11:49.398Z] Executing busybox-1.33.1-r6.trigger [2022-02-11T04:11:49.398Z] OK: 8 MiB in 19 packages [2022-02-11T04:11:50.377Z] Removing intermediate container 8238efbcaff7 [2022-02-11T04:11:50.377Z] ---> 53fc3ec0655b [2022-02-11T04:11:50.377Z] Step 16/25 : WORKDIR / [2022-02-11T04:11:50.652Z] ---> Running in 9dcc448ef8e9 [2022-02-11T04:11:50.926Z] Removing intermediate container 9dcc448ef8e9 [2022-02-11T04:11:50.926Z] ---> ebe3a99163b7 [2022-02-11T04:11:50.926Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-02-11T04:11:51.522Z] ---> dceb5b0653e1 [2022-02-11T04:11:51.522Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-02-11T04:11:52.499Z] ---> feedddb6f9b3 [2022-02-11T04:11:52.499Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-02-11T04:11:53.098Z] ---> 2e69a9ade693 [2022-02-11T04:11:53.098Z] Step 20/25 : EXPOSE 59999 [2022-02-11T04:11:53.370Z] ---> Running in 242a43d732a7 [2022-02-11T04:11:53.645Z] Removing intermediate container 242a43d732a7 [2022-02-11T04:11:53.645Z] ---> ec0b90b9ad92 [2022-02-11T04:11:53.645Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-02-11T04:11:53.645Z] ---> Running in 653fa2e5b355 [2022-02-11T04:11:54.241Z] Removing intermediate container 653fa2e5b355 [2022-02-11T04:11:54.241Z] ---> 947fb6209d9c [2022-02-11T04:11:54.241Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-02-11T04:11:54.241Z] ---> Running in 0e292a9cbf46 [2022-02-11T04:11:54.522Z] Removing intermediate container 0e292a9cbf46 [2022-02-11T04:11:54.523Z] ---> 5b58c2141171 [2022-02-11T04:11:54.523Z] Step 23/25 : LABEL arch=arm64 [2022-02-11T04:11:54.523Z] ---> Running in 6c0fc5e50c39 [2022-02-11T04:11:55.123Z] Removing intermediate container 6c0fc5e50c39 [2022-02-11T04:11:55.123Z] ---> fad13128bb22 [2022-02-11T04:11:55.123Z] Step 24/25 : LABEL git_sha=b4191eae823f6faf3dbca4785cc6abe7d0decba9 [2022-02-11T04:11:55.123Z] ---> Running in 0d896761efe7 [2022-02-11T04:11:55.397Z] Removing intermediate container 0d896761efe7 [2022-02-11T04:11:55.397Z] ---> c28b00d36074 [2022-02-11T04:11:55.397Z] Step 25/25 : LABEL version=0.0.0 [2022-02-11T04:11:55.680Z] ---> Running in 3da6615a790c [2022-02-11T04:11:55.955Z] Removing intermediate container 3da6615a790c [2022-02-11T04:11:55.955Z] ---> d68b6f0d66ca [2022-02-11T04:11:55.955Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-11T04:11:55.955Z] Successfully built d68b6f0d66ca [2022-02-11T04:11:55.955Z] 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 [2022-02-11T04:11:56.665Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-11T04:11:56.665Z] [2022-02-11T04:11:56.665Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-11T04:11:57.051Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-11T04:11:57.328Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-11T04:11:57.328Z] 448f6bf000e3: Pulling fs layer [2022-02-11T04:11:57.328Z] f757da607395: Pulling fs layer [2022-02-11T04:11:57.328Z] 05883995daec: Pulling fs layer [2022-02-11T04:11:57.328Z] 8603b9c90790: Pulling fs layer [2022-02-11T04:11:57.328Z] 1560dd03e051: Pulling fs layer [2022-02-11T04:11:57.328Z] 27f5ce0e4adf: Pulling fs layer [2022-02-11T04:11:57.328Z] c2d8d7efcc4b: Pulling fs layer [2022-02-11T04:11:57.328Z] 1560dd03e051: Waiting [2022-02-11T04:11:57.328Z] 8603b9c90790: Waiting [2022-02-11T04:11:57.328Z] 27f5ce0e4adf: Waiting [2022-02-11T04:11:57.328Z] c2d8d7efcc4b: Waiting [2022-02-11T04:11:57.328Z] f757da607395: Verifying Checksum [2022-02-11T04:11:57.328Z] f757da607395: Download complete [2022-02-11T04:11:57.328Z] 8603b9c90790: Verifying Checksum [2022-02-11T04:11:57.328Z] 8603b9c90790: Download complete [2022-02-11T04:11:57.328Z] 1560dd03e051: Download complete [2022-02-11T04:11:57.328Z] 27f5ce0e4adf: Verifying Checksum [2022-02-11T04:11:57.328Z] 27f5ce0e4adf: Download complete [2022-02-11T04:11:57.328Z] 05883995daec: Verifying Checksum [2022-02-11T04:11:57.328Z] 05883995daec: Download complete [2022-02-11T04:11:57.928Z] 448f6bf000e3: Verifying Checksum [2022-02-11T04:11:57.928Z] 448f6bf000e3: Download complete [2022-02-11T04:12:00.568Z] c2d8d7efcc4b: Verifying Checksum [2022-02-11T04:12:00.568Z] c2d8d7efcc4b: Download complete [2022-02-11T04:12:01.549Z] 448f6bf000e3: Pull complete [2022-02-11T04:12:01.824Z] f757da607395: Pull complete [2022-02-11T04:12:03.256Z] 05883995daec: Pull complete [2022-02-11T04:12:03.529Z] 8603b9c90790: Pull complete [2022-02-11T04:12:04.508Z] 1560dd03e051: Pull complete [2022-02-11T04:12:04.786Z] 27f5ce0e4adf: Pull complete [2022-02-11T04:12:19.871Z] c2d8d7efcc4b: Pull complete [2022-02-11T04:12:19.871Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-11T04:12:19.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-11T04:12:19.871Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-11T04:12:20.127Z] prd-ubuntu18.04-docker-arm64-4c-16g-5047 does not seem to be running inside a container [2022-02-11T04:12:20.212Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-02-11T04:12:23.012Z] $ docker top a0d1c549c09a500b78d9b3dd92e96678b4316dc5622c8d452b733050a2ca5217 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-11T04:12:23.996Z] ---> job-cost.sh [2022-02-11T04:12:23.996Z] lf-activate-venv: SKIPPING [2022-02-11T04:12:23.996Z] INFO: No Stack... [2022-02-11T04:12:24.269Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-11T04:12:24.866Z] INFO: Archiving Costs [Pipeline] sh [2022-02-11T04:12:25.557Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-02-11T04:12:25.557Z] + cut -d, -f6 [Pipeline] lock [2022-02-11T04:12:25.650Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1098-1-stack-cost] [2022-02-11T04:12:25.655Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1098-1-stack-cost] did not exist. Created. [2022-02-11T04:12:25.655Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1098-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-11T04:12:26.413Z] /w/workspace/device-sdk-go/1@tmp/durable-05efba7a/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-05efba7a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-11T04:12:27.109Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-11T04:12:27.150Z] Warning: overwriting stash ‘stack-cost’ [2022-02-11T04:12:27.215Z] Stashed 1 file(s) [Pipeline] } [2022-02-11T04:12:27.231Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1098-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-11T04:12:27.305Z] $ docker stop --time=1 a0d1c549c09a500b78d9b3dd92e96678b4316dc5622c8d452b733050a2ca5217 [2022-02-11T04:12:28.821Z] $ docker rm -f a0d1c549c09a500b78d9b3dd92e96678b4316dc5622c8d452b733050a2ca5217 [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 [2022-02-11T04:12:29.890Z] provisioning config files... [2022-02-11T04:12:29.945Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1098@tmp/config4991028896811338100tmp [Pipeline] { [Pipeline] sh [2022-02-11T04:12:30.273Z] + set +x [2022-02-11T04:12:30.273Z] + curl -s https://codecov.io/bash [2022-02-11T04:12:30.273Z] + bash -s -- [2022-02-11T04:12:30.273Z] [2022-02-11T04:12:30.273Z] _____ _ [2022-02-11T04:12:30.273Z] / ____| | | [2022-02-11T04:12:30.273Z] | | ___ __| | ___ ___ _____ __ [2022-02-11T04:12:30.273Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-02-11T04:12:30.273Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-02-11T04:12:30.273Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-02-11T04:12:30.273Z] Bash-1.0.6 [2022-02-11T04:12:30.273Z] [2022-02-11T04:12:30.273Z] [2022-02-11T04:12:30.273Z] ==> git version 2.24.4 found [2022-02-11T04:12:30.273Z] ==> 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 [2022-02-11T04:12:30.273Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-02-11T04:12:30.273Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-02-11T04:12:30.273Z] ==> Jenkins CI detected. [2022-02-11T04:12:30.273Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1098 [2022-02-11T04:12:30.273Z] project root: . [2022-02-11T04:12:30.273Z] --> token set from env [2022-02-11T04:12:30.535Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-02-11T04:12:30.535Z] ==> Running gcov in . (disable via -X gcov) [2022-02-11T04:12:30.535Z] ==> Python coveragepy not found [2022-02-11T04:12:30.535Z] ==> Searching for coverage reports in: [2022-02-11T04:12:30.535Z] + . [2022-02-11T04:12:30.535Z] -> Found 1 reports [2022-02-11T04:12:30.535Z] ==> Detecting git/mercurial file structure [2022-02-11T04:12:30.535Z] ==> Reading reports [2022-02-11T04:12:30.535Z] + ./coverage.out bytes=128608 [2022-02-11T04:12:30.535Z] ==> Appending adjustments [2022-02-11T04:12:30.535Z] https://docs.codecov.io/docs/fixing-reports [2022-02-11T04:12:30.797Z] + Found adjustments [2022-02-11T04:12:30.797Z] ==> Gzipping contents [2022-02-11T04:12:30.797Z] 16K /tmp/codecov.6udQnP.gz [2022-02-11T04:12:30.797Z] ==> Uploading reports [2022-02-11T04:12:30.797Z] url: https://codecov.io [2022-02-11T04:12:30.797Z] query: branch=PR-1098&commit=b4191eae823f6faf3dbca4785cc6abe7d0decba9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1098%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1098&job=&cmd_args= [2022-02-11T04:12:30.798Z] -> Pinging Codecov [2022-02-11T04:12:30.798Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1098&commit=b4191eae823f6faf3dbca4785cc6abe7d0decba9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1098%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1098&job=&cmd_args= [2022-02-11T04:12:31.058Z] -> Uploading to [2022-02-11T04:12:31.058Z] https://storage.googleapis.com/codecov/v4/raw/2022-02-11/7E55EF52A471D76F132DFD9A03CDDE97/b4191eae823f6faf3dbca4785cc6abe7d0decba9/13372c75-dc30-4453-915b-5e6d18560b6a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220211%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220211T041230Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=310c7aec2b3894fe727846d76d769641cf8959911928249e582711cb3f89e78d [2022-02-11T04:12:31.058Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-11T04:12:31.058Z] Dload Upload Total Spent Left Speed [2022-02-11T04:12:31.318Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16099 0 0 100 16099 0 49403 --:--:-- --:--:-- --:--:-- 49535 [2022-02-11T04:12:31.318Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b4191eae823f6faf3dbca4785cc6abe7d0decba9 [Pipeline] } [2022-02-11T04:12:31.344Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-02-11T04:12:33.151Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1098/archives ']' [2022-02-11T04:12:33.151Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1098/archives [2022-02-11T04:12:33.151Z] total 8 [2022-02-11T04:12:33.151Z] drwxr-xr-x. 3 root root 34 Feb 11 04:07 . [2022-02-11T04:12:33.151Z] drwxrwxr-x. 12 jenkins jenkins 4096 Feb 11 04:07 .. [2022-02-11T04:12:33.151Z] drwxr-xr-x. 2 root root 6 Feb 11 04:07 cost [2022-02-11T04:12:33.151Z] -rw-r--r--. 1 root root 85 Feb 11 04:07 cost.csv [2022-02-11T04:12:33.151Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1098/archives [2022-02-11T04:12:33.151Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1098/archives [2022-02-11T04:12:33.151Z] total 8 [2022-02-11T04:12:33.151Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 11 04:07 . [2022-02-11T04:12:33.151Z] drwxrwxr-x. 12 jenkins jenkins 4096 Feb 11 04:07 .. [2022-02-11T04:12:33.151Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 11 04:07 cost [2022-02-11T04:12:33.151Z] -rw-r--r--. 1 jenkins jenkins 85 Feb 11 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-11T04:12:33.494Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-11T04:12:34.082Z] ---> package-listing.sh [2022-02-11T04:12:34.082Z] ++ facter osfamily [2022-02-11T04:12:34.082Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-11T04:12:34.342Z] + OS_FAMILY=redhat [2022-02-11T04:12:34.342Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1098 [2022-02-11T04:12:34.342Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-11T04:12:34.342Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-11T04:12:34.342Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-11T04:12:34.342Z] + PACKAGES=/tmp/packages_start.txt [2022-02-11T04:12:34.342Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1098 ']' [2022-02-11T04:12:34.342Z] + PACKAGES=/tmp/packages_end.txt [2022-02-11T04:12:34.342Z] + case "${OS_FAMILY}" in [2022-02-11T04:12:34.342Z] + sort [2022-02-11T04:12:34.342Z] + rpm -qa [2022-02-11T04:12:34.912Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-11T04:12:34.912Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-11T04:12:34.912Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-11T04:12:34.912Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1098 ']' [2022-02-11T04:12:34.912Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1098/archives/ [2022-02-11T04:12:34.912Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1098/archives/ [Pipeline] echo [2022-02-11T04:12:34.950Z] 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-1098/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-11T04:12:35.251Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-11T04:12:35.835Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-11T04:12:35.835Z] . [Pipeline] withDockerContainer [2022-02-11T04:12:35.921Z] prd-centos7-docker-4c-2g-5046 does not seem to be running inside a container [2022-02-11T04:12:35.955Z] $ 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-1098/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-1098 -v /w/workspace/gexfoundry_device-sdk-go_PR-1098:/w/workspace/gexfoundry_device-sdk-go_PR-1098:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1098@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1098@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-11T04:12:36.158Z] $ docker top 1f88ef64e5ce34dc050b581addbbf26d6da229f039d6b9ba1bbc1f2ac41efb00 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-11T04:12:36.567Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-11T04:12:36.885Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-11T04:12:37.204Z] + ls /var/log/sa-host [2022-02-11T04:12:37.204Z] + sadf -c /var/log/sa-host/sa11 [2022-02-11T04:12:37.204Z] file_magic: OK [2022-02-11T04:12:37.204Z] HZ: Using current value: 100 [2022-02-11T04:12:37.204Z] file_header: OK [2022-02-11T04:12:37.204Z] 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 [2022-02-11T04:12:37.204Z] Statistics: [2022-02-11T04:12:37.204Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-11T04:12:37.204Z] File successfully converted to sysstat format version 12.0.3 [2022-02-11T04:12:37.204Z] + sadf -c /var/log/sa-host/sa17 [2022-02-11T04:12:37.204Z] file_magic: OK [2022-02-11T04:12:37.204Z] HZ: Using current value: 100 [2022-02-11T04:12:37.204Z] file_header: OK [2022-02-11T04:12:37.204Z] 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 [2022-02-11T04:12:37.204Z] Statistics: [2022-02-11T04:12:37.204Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-11T04:12:37.204Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-11T04:12:37.479Z] provisioning config files... [2022-02-11T04:12:37.489Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1098@tmp/config4357173992523978986tmp [Pipeline] { [Pipeline] echo [2022-02-11T04:12:37.539Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-11T04:12:37.861Z] ---> create-netrc.sh [Pipeline] } [2022-02-11T04:12:37.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-11T04:12:38.296Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-11T04:12:38.329Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-11T04:12:38.651Z] ---> sudo-logs.sh [2022-02-11T04:12:38.651Z] Archiving 'sudo' log.. [2022-02-11T04:12:38.651Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5046.novalocal: Name or service not known [2022-02-11T04:12:38.651Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5046.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-11T04:12:38.738Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-11T04:12:39.053Z] ---> job-cost.sh [2022-02-11T04:12:39.053Z] lf-activate-venv: SKIPPING [2022-02-11T04:12:39.053Z] DEBUG: total: 0.05999999865889549 [2022-02-11T04:12:39.053Z] INFO: Retrieving Stack Cost... [2022-02-11T04:12:39.314Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-11T04:12:39.574Z] INFO: Archiving Costs [Pipeline] echo [2022-02-11T04:12:39.628Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-11T04:12:39.944Z] ---> logs-deploy.sh [2022-02-11T04:12:39.945Z] lf-activate-venv: SKIPPING [2022-02-11T04:12:39.945Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1098/1 [2022-02-11T04:12:39.945Z] INFO: archiving workspace using pattern(s): [2022-02-11T04:12:40.515Z] Archives upload complete. [2022-02-11T04:12:40.776Z] INFO: archiving logs to Nexus