Pull request #1103 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 7c8475adb567cd68dbcb96f6f7f55260b59187ca+2d47f06130efe23f62a62eca7f2537e0d7c1e066 (0bf98b737933fecfe2de4de9d57b13551e1bedb0) 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-ssh8344968033665500048.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-ssh9616585620885885323.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-1103/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-1103/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11035864353761567309.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-1103/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14814839257313788007.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-ssh13004112887997329822.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-1103/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-1103/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16174018969866376286.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-6834 in /w/workspace/gexfoundry_device-sdk-go_PR-1103 [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-1103 # 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-1103@tmp/jenkins-gitclient-ssh3089470225924990967.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2d47f06130efe23f62a62eca7f2537e0d7c1e066 into PR head commit 7c8475adb567cd68dbcb96f6f7f55260b59187ca Merge succeeded, producing 7c8475adb567cd68dbcb96f6f7f55260b59187ca Checking out Revision 7c8475adb567cd68dbcb96f6f7f55260b59187ca (PR-1103) > 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-1103@tmp/jenkins-gitclient-ssh2166770998522843007.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1103/head:refs/remotes/origin/PR-1103 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c8475adb567cd68dbcb96f6f7f55260b59187ca # 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-1103@tmp/jenkins-gitclient-ssh2411168353306279507.key > git merge 2d47f06130efe23f62a62eca7f2537e0d7c1e066 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c8475adb567cd68dbcb96f6f7f55260b59187ca # timeout=10 Commit message: "fix: update validation API 200 response" 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-03-11T09:37:52.453Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-11T09:37:52.633Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-11T09:37:52.736Z] ========================================================= [2022-03-11T09:37:52.736Z] EdgeX Global Pipelines Version Info [2022-03-11T09:37:52.736Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-11T09:37:53.897Z] ------------------- [2022-03-11T09:37:53.897Z] stable info: [2022-03-11T09:37:53.897Z] ------------------- [2022-03-11T09:37:53.897Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-11T09:37:53.897Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-03-11T09:37:53.897Z] Message: update stable to v1.0.220 [2022-03-11T09:37:54.472Z] ------------------- [2022-03-11T09:37:54.472Z] experimental info: [2022-03-11T09:37:54.472Z] ------------------- [2022-03-11T09:37:54.472Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-11T09:37:54.472Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-11T09:37:54.472Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-11T09:37:54.739Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-03-11T09:37:54.782Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-03-11T09:37:54.821Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-11T09:37:54.863Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-11T09:37:54.909Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-11T09:37:54.949Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-11T09:37:54.987Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-11T09:37:55.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-03-11T09:37:55.075Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-11T09:37:55.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-11T09:37:55.158Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-11T09:37:55.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-03-11T09:37:55.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-11T09:37:55.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-11T09:37:55.316Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-11T09:37:55.354Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-11T09:37:55.395Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-11T09:37:55.440Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-11T09:37:55.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-11T09:37:55.522Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-11T09:37:55.563Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-11T09:37:55.603Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-11T09:37:55.648Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-11T09:37:55.690Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-11T09:37:55.731Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-11T09:37:55.780Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-11T09:37:55.822Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1103 [Pipeline] echo [2022-03-11T09:37:55.864Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1103 [Pipeline] echo [2022-03-11T09:37:55.906Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1103 [Pipeline] echo [2022-03-11T09:37:55.946Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c8475adb567cd68dbcb96f6f7f55260b59187ca [Pipeline] echo [2022-03-11T09:37:55.991Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c8475a [Pipeline] echo [2022-03-11T09:37:56.033Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-11T09:37:56.155Z] provisioning config files... [2022-03-11T09:37:56.172Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1103@tmp/config4718589121959431093tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-11T09:37:56.519Z] ---> docker-login.sh [2022-03-11T09:37:56.519Z] nexus3.edgexfoundry.org:10001 [2022-03-11T09:37:56.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T09:37:56.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T09:37:56.787Z] Configure a credential helper to remove this warning. See [2022-03-11T09:37:56.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T09:37:56.787Z] [2022-03-11T09:37:56.787Z] Login Succeeded [2022-03-11T09:37:56.787Z] nexus3.edgexfoundry.org:10002 [2022-03-11T09:37:56.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T09:37:56.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T09:37:56.787Z] Configure a credential helper to remove this warning. See [2022-03-11T09:37:56.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T09:37:56.787Z] [2022-03-11T09:37:56.787Z] Login Succeeded [2022-03-11T09:37:56.787Z] nexus3.edgexfoundry.org:10003 [2022-03-11T09:37:56.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T09:37:57.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T09:37:57.050Z] Configure a credential helper to remove this warning. See [2022-03-11T09:37:57.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T09:37:57.050Z] [2022-03-11T09:37:57.050Z] Login Succeeded [2022-03-11T09:37:57.050Z] nexus3.edgexfoundry.org:10004 [2022-03-11T09:37:57.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T09:37:57.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T09:37:57.050Z] Configure a credential helper to remove this warning. See [2022-03-11T09:37:57.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T09:37:57.050Z] [2022-03-11T09:37:57.050Z] Login Succeeded [2022-03-11T09:37:57.050Z] docker.io [2022-03-11T09:37:57.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T09:37:57.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T09:37:57.623Z] Configure a credential helper to remove this warning. See [2022-03-11T09:37:57.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T09:37:57.623Z] [2022-03-11T09:37:57.623Z] Login Succeeded [2022-03-11T09:37:57.623Z] ---> docker-login.sh ends [Pipeline] } [2022-03-11T09:37:57.650Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-11T09:37:58.279Z] + git rev-list -1 --merges 7c8475adb567cd68dbcb96f6f7f55260b59187ca~1..7c8475adb567cd68dbcb96f6f7f55260b59187ca [Pipeline] echo [2022-03-11T09:37:58.329Z] -----------> git rev-list -1 --merges 7c8475adb567cd68dbcb96f6f7f55260b59187ca~1..7c8475adb567cd68dbcb96f6f7f55260b59187ca 7c8475adb567cd68dbcb96f6f7f55260b59187ca [false] [Pipeline] sh [2022-03-11T09:37:58.641Z] + git log --format=format:%s -1 7c8475adb567cd68dbcb96f6f7f55260b59187ca [Pipeline] echo [2022-03-11T09:37:58.677Z] ========================================================= [2022-03-11T09:37:58.677Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-11T09:37:58.677Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-11T09:37:59.133Z] + git log --format=format:%s -1 7c8475adb567cd68dbcb96f6f7f55260b59187ca [Pipeline] echo [2022-03-11T09:37:59.172Z] [semverPrep] GIT_COMMIT: 7c8475adb567cd68dbcb96f6f7f55260b59187ca, Commit Message: fix: update validation API 200 response [Pipeline] echo [2022-03-11T09:37:59.204Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-11T09:37:59.633Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-03-11T09:37:59.633Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-11T09:37:59.633Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-03-11T09:37:59.633Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-11T09:37:59.633Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-03-11T09:37:59.633Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-11T09:37:59.633Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-11T09:38:00.021Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-11T09:38:00.022Z] [2022-03-11T09:38:00.022Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-11T09:38:00.371Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-11T09:38:00.371Z] latest: Pulling from edgex-devops/git-semver [2022-03-11T09:38:00.371Z] a0d0a0d46f8b: Pulling fs layer [2022-03-11T09:38:00.371Z] 3e5f54012d9b: Pulling fs layer [2022-03-11T09:38:00.371Z] 4c7163046ea9: Pulling fs layer [2022-03-11T09:38:00.371Z] 0c2d73faf560: Pulling fs layer [2022-03-11T09:38:00.371Z] 0c2d73faf560: Waiting [2022-03-11T09:38:00.371Z] 3e5f54012d9b: Verifying Checksum [2022-03-11T09:38:00.371Z] 3e5f54012d9b: Download complete [2022-03-11T09:38:00.371Z] a0d0a0d46f8b: Verifying Checksum [2022-03-11T09:38:00.371Z] a0d0a0d46f8b: Download complete [2022-03-11T09:38:00.371Z] 0c2d73faf560: Verifying Checksum [2022-03-11T09:38:00.371Z] 0c2d73faf560: Download complete [2022-03-11T09:38:00.371Z] 4c7163046ea9: Verifying Checksum [2022-03-11T09:38:00.371Z] 4c7163046ea9: Download complete [2022-03-11T09:38:00.666Z] a0d0a0d46f8b: Pull complete [2022-03-11T09:38:00.666Z] 3e5f54012d9b: Pull complete [2022-03-11T09:38:00.935Z] 4c7163046ea9: Pull complete [2022-03-11T09:38:01.196Z] 0c2d73faf560: Pull complete [2022-03-11T09:38:01.196Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-11T09:38:01.196Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-11T09:38:01.196Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-11T09:38:01.299Z] prd-centos7-docker-4c-2g-6834 does not seem to be running inside a container [2022-03-11T09:38:01.340Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1103 -v /w/workspace/gexfoundry_device-sdk-go_PR-1103:/w/workspace/gexfoundry_device-sdk-go_PR-1103:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1103@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1103@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:10004/edgex-devops/git-semver:latest cat [2022-03-11T09:38:02.002Z] $ docker top 7839296e67ca6f5ffa339e3130fae10c1d6aba884e298451599c19ce1c8b055c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-11T09:38:02.187Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-11T09:38:02.188Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-11T09:38:02.291Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-11T09:38:02.296Z] $ docker exec 7839296e67ca6f5ffa339e3130fae10c1d6aba884e298451599c19ce1c8b055c ssh-agent [2022-03-11T09:38:02.395Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPokeFJ/agent.14 [2022-03-11T09:38:02.395Z] SSH_AGENT_PID=20 [2022-03-11T09:38:02.402Z] Running ssh-add (command line suppressed) [2022-03-11T09:38:02.490Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1103@tmp/private_key_7972391865303056651.key (/w/workspace/gexfoundry_device-sdk-go_PR-1103@tmp/private_key_7972391865303056651.key) [2022-03-11T09:38:02.505Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-11T09:38:02.851Z] + git tag --points-at HEAD [Pipeline] } [2022-03-11T09:38:02.876Z] $ docker exec --env ******** --env ******** 7839296e67ca6f5ffa339e3130fae10c1d6aba884e298451599c19ce1c8b055c ssh-agent -k [2022-03-11T09:38:02.955Z] unset SSH_AUTH_SOCK; [2022-03-11T09:38:02.955Z] unset SSH_AGENT_PID; [2022-03-11T09:38:02.955Z] echo Agent pid 20 killed; [2022-03-11T09:38:02.963Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-11T09:38:03.051Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-11T09:38:03.051Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-11T09:38:03.147Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-11T09:38:03.151Z] $ docker exec 7839296e67ca6f5ffa339e3130fae10c1d6aba884e298451599c19ce1c8b055c ssh-agent [2022-03-11T09:38:03.257Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFdnggo/agent.52 [2022-03-11T09:38:03.257Z] SSH_AGENT_PID=58 [2022-03-11T09:38:03.262Z] Running ssh-add (command line suppressed) [2022-03-11T09:38:03.348Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1103@tmp/private_key_780912113403275752.key (/w/workspace/gexfoundry_device-sdk-go_PR-1103@tmp/private_key_780912113403275752.key) [2022-03-11T09:38:03.358Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-11T09:38:03.707Z] + git semver init [2022-03-11T09:38:03.708Z] # -> Open(): unable to determine branch for HEAD [2022-03-11T09:38:03.708Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1103/.git [2022-03-11T09:38:03.708Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1103 [2022-03-11T09:38:03.708Z] # $SEMVER_REMOTE_NAME = origin [2022-03-11T09:38:03.708Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-11T09:38:03.708Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-11T09:38:03.708Z] # $SEMVER_BRANCH = PR-1103 [2022-03-11T09:38:03.708Z] # $SEMVER_TEMP = /tmp/semver-014896188 [2022-03-11T09:38:03.708Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-03-11T09:38:04.653Z] # '/tmp/semver-014896188' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1103/.semver' [2022-03-11T09:38:04.653Z] # -> Force: false [2022-03-11T09:38:04.653Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1103/.semver [Pipeline] } [2022-03-11T09:38:04.683Z] $ docker exec --env ******** --env ******** 7839296e67ca6f5ffa339e3130fae10c1d6aba884e298451599c19ce1c8b055c ssh-agent -k [2022-03-11T09:38:04.799Z] unset SSH_AUTH_SOCK; [2022-03-11T09:38:04.799Z] unset SSH_AGENT_PID; [2022-03-11T09:38:04.799Z] echo Agent pid 58 killed; [2022-03-11T09:38:04.808Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-11T09:38:05.226Z] + git semver [Pipeline] } [2022-03-11T09:38:05.257Z] $ docker stop --time=1 7839296e67ca6f5ffa339e3130fae10c1d6aba884e298451599c19ce1c8b055c [2022-03-11T09:38:06.485Z] $ docker rm -f 7839296e67ca6f5ffa339e3130fae10c1d6aba884e298451599c19ce1c8b055c [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-11T09:38:06.895Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-11T09:38:07.183Z] Stashed 1 file(s) [Pipeline] echo [2022-03-11T09:38:07.199Z] [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-03-11T09:38:07.798Z] provisioning config files... [2022-03-11T09:38:07.808Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1103@tmp/config1287381670411010355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-11T09:38:08.155Z] ---> docker-login.sh [2022-03-11T09:38:08.155Z] nexus3.edgexfoundry.org:10001 [2022-03-11T09:38:08.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T09:38:08.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T09:38:08.155Z] Configure a credential helper to remove this warning. See [2022-03-11T09:38:08.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T09:38:08.155Z] [2022-03-11T09:38:08.155Z] Login Succeeded [2022-03-11T09:38:08.155Z] nexus3.edgexfoundry.org:10002 [2022-03-11T09:38:08.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T09:38:08.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T09:38:08.155Z] Configure a credential helper to remove this warning. See [2022-03-11T09:38:08.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T09:38:08.155Z] [2022-03-11T09:38:08.155Z] Login Succeeded [2022-03-11T09:38:08.155Z] nexus3.edgexfoundry.org:10003 [2022-03-11T09:38:08.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T09:38:08.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T09:38:08.415Z] Configure a credential helper to remove this warning. See [2022-03-11T09:38:08.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T09:38:08.415Z] [2022-03-11T09:38:08.415Z] Login Succeeded [2022-03-11T09:38:08.415Z] nexus3.edgexfoundry.org:10004 [2022-03-11T09:38:08.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T09:38:08.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T09:38:08.415Z] Configure a credential helper to remove this warning. See [2022-03-11T09:38:08.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T09:38:08.415Z] [2022-03-11T09:38:08.415Z] Login Succeeded [2022-03-11T09:38:08.415Z] docker.io [2022-03-11T09:38:08.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T09:38:08.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T09:38:08.989Z] Configure a credential helper to remove this warning. See [2022-03-11T09:38:08.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T09:38:08.989Z] [2022-03-11T09:38:08.989Z] Login Succeeded [2022-03-11T09:38:08.989Z] ---> docker-login.sh ends [Pipeline] } [2022-03-11T09:38:09.020Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-11T09:38:09.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-11T09:38:09.258Z] ========================================================= [2022-03-11T09:38:09.258Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-11T09:38:09.258Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-11T09:38:09.681Z] + 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-03-11T09:38:09.682Z] Sending build context to Docker daemon 9.53MB [2022-03-11T09:38:09.682Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-11T09:38:09.682Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-11T09:38:09.951Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-11T09:38:09.951Z] 59bf1c3509f3: Pulling fs layer [2022-03-11T09:38:09.951Z] 666ba61612fd: Pulling fs layer [2022-03-11T09:38:09.951Z] 8ed8ca486205: Pulling fs layer [2022-03-11T09:38:09.951Z] 4fe6c5a15a65: Pulling fs layer [2022-03-11T09:38:09.951Z] 22a0e8bec74d: Pulling fs layer [2022-03-11T09:38:09.951Z] 640e595b4fbd: Pulling fs layer [2022-03-11T09:38:09.951Z] 763cafe07f6e: Pulling fs layer [2022-03-11T09:38:09.951Z] 0c0b528cf693: Pulling fs layer [2022-03-11T09:38:09.951Z] 10935f4eaf8b: Pulling fs layer [2022-03-11T09:38:09.951Z] 640e595b4fbd: Waiting [2022-03-11T09:38:09.951Z] 763cafe07f6e: Waiting [2022-03-11T09:38:09.951Z] 0c0b528cf693: Waiting [2022-03-11T09:38:09.951Z] 10935f4eaf8b: Waiting [2022-03-11T09:38:09.951Z] 4fe6c5a15a65: Waiting [2022-03-11T09:38:09.951Z] 22a0e8bec74d: Waiting [2022-03-11T09:38:09.951Z] 8ed8ca486205: Verifying Checksum [2022-03-11T09:38:09.951Z] 8ed8ca486205: Download complete [2022-03-11T09:38:09.951Z] 666ba61612fd: Verifying Checksum [2022-03-11T09:38:09.951Z] 666ba61612fd: Download complete [2022-03-11T09:38:09.951Z] 22a0e8bec74d: Download complete [2022-03-11T09:38:09.951Z] 640e595b4fbd: Verifying Checksum [2022-03-11T09:38:09.951Z] 640e595b4fbd: Download complete [2022-03-11T09:38:09.951Z] 59bf1c3509f3: Verifying Checksum [2022-03-11T09:38:09.951Z] 59bf1c3509f3: Download complete [2022-03-11T09:38:09.951Z] 763cafe07f6e: Verifying Checksum [2022-03-11T09:38:09.951Z] 763cafe07f6e: Download complete [2022-03-11T09:38:09.951Z] 0c0b528cf693: Verifying Checksum [2022-03-11T09:38:09.951Z] 0c0b528cf693: Download complete [2022-03-11T09:38:10.530Z] 10935f4eaf8b: Verifying Checksum [2022-03-11T09:38:10.530Z] 10935f4eaf8b: Download complete [2022-03-11T09:38:10.530Z] 4fe6c5a15a65: Verifying Checksum [2022-03-11T09:38:10.530Z] 4fe6c5a15a65: Download complete [2022-03-11T09:38:10.530Z] 59bf1c3509f3: Pull complete [2022-03-11T09:38:10.530Z] 666ba61612fd: Pull complete [2022-03-11T09:38:10.799Z] 8ed8ca486205: Pull complete [2022-03-11T09:38:15.058Z] 4fe6c5a15a65: Pull complete [2022-03-11T09:38:15.058Z] 22a0e8bec74d: Pull complete [2022-03-11T09:38:15.058Z] 640e595b4fbd: Pull complete [2022-03-11T09:38:15.058Z] 763cafe07f6e: Pull complete [2022-03-11T09:38:15.058Z] 0c0b528cf693: Pull complete [2022-03-11T09:38:17.006Z] 10935f4eaf8b: Pull complete [2022-03-11T09:38:17.006Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-11T09:38:17.006Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-11T09:38:17.006Z] ---> 99d49a6021b9 [2022-03-11T09:38:17.006Z] Step 3/11 : ARG MAKE=make build [2022-03-11T09:38:18.926Z] ---> Running in 202524fa487c [2022-03-11T09:38:19.186Z] Removing intermediate container 202524fa487c [2022-03-11T09:38:19.186Z] ---> b450f5f6b456 [2022-03-11T09:38:19.186Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-11T09:38:19.186Z] ---> Running in 976f8370c9d8 [2022-03-11T09:38:19.186Z] Removing intermediate container 976f8370c9d8 [2022-03-11T09:38:19.186Z] ---> 3ec88e84481b [2022-03-11T09:38:19.186Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-11T09:38:19.186Z] ---> Running in 50d2dd2f031d [2022-03-11T09:38:19.453Z] Removing intermediate container 50d2dd2f031d [2022-03-11T09:38:19.453Z] ---> 70391233d8e5 [2022-03-11T09:38:19.453Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-11T09:38:19.453Z] ---> Running in c0c94cbb6caa [2022-03-11T09:38:19.718Z] Removing intermediate container c0c94cbb6caa [2022-03-11T09:38:19.718Z] ---> 0ce95f963863 [2022-03-11T09:38:19.718Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-11T09:38:19.718Z] ---> Running in 47cf2d0cf438 [2022-03-11T09:38:19.980Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-11T09:38:20.929Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-11T09:38:21.501Z] OK: 221 MiB in 52 packages [2022-03-11T09:38:21.501Z] Removing intermediate container 47cf2d0cf438 [2022-03-11T09:38:21.501Z] ---> dcf2ba218d14 [2022-03-11T09:38:21.501Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-11T09:38:21.760Z] ---> 8ee5f9c6391d [2022-03-11T09:38:21.760Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-11T09:38:21.760Z] ---> Running in a916f61a8061 [2022-03-11T09:38:22.619Z] Still waiting to schedule task [2022-03-11T09:38:22.619Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-03-11T09:39:00.515Z] Removing intermediate container a916f61a8061 [2022-03-11T09:39:00.515Z] ---> 5f9f8f0feb4a [2022-03-11T09:39:00.515Z] Step 10/11 : COPY . . [2022-03-11T09:39:00.515Z] ---> 2df0fa7d7e76 [2022-03-11T09:39:00.515Z] Step 11/11 : RUN ${MAKE} [2022-03-11T09:39:00.515Z] ---> Running in 90b6f93eae36 [2022-03-11T09:39:00.515Z] noop [2022-03-11T09:39:00.515Z] Removing intermediate container 90b6f93eae36 [2022-03-11T09:39:00.515Z] ---> b7e9f0c47dbb [2022-03-11T09:39:00.515Z] Successfully built b7e9f0c47dbb [2022-03-11T09:39:00.515Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-11T09:39:00.854Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-11T09:39:00.854Z] . [Pipeline] withDockerContainer [2022-03-11T09:39:00.939Z] prd-centos7-docker-4c-2g-6834 does not seem to be running inside a container [2022-03-11T09:39:00.974Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1103 -v /w/workspace/gexfoundry_device-sdk-go_PR-1103:/w/workspace/gexfoundry_device-sdk-go_PR-1103:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1103@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-11T09:39:01.324Z] $ docker top f0734be2bb26c82fb7b7cc3fea7ff461064b8f318698c1784e8b3ea78ddbc0ba -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-11T09:39:01.727Z] + go version [2022-03-11T09:39:01.727Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-11T09:39:01.773Z] $ docker stop --time=1 f0734be2bb26c82fb7b7cc3fea7ff461064b8f318698c1784e8b3ea78ddbc0ba [2022-03-11T09:39:02.957Z] $ docker rm -f f0734be2bb26c82fb7b7cc3fea7ff461064b8f318698c1784e8b3ea78ddbc0ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-11T09:39:03.604Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-11T09:39:03.604Z] . [Pipeline] withDockerContainer [2022-03-11T09:39:03.697Z] prd-centos7-docker-4c-2g-6834 does not seem to be running inside a container [2022-03-11T09:39:03.733Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1103 -v /w/workspace/gexfoundry_device-sdk-go_PR-1103:/w/workspace/gexfoundry_device-sdk-go_PR-1103:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1103@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-11T09:39:04.050Z] $ docker top 905f8f8fbee788469a28886d870ed5eeb36562a718187c74540417b0de1517ae -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-11T09:39:04.499Z] + make test [2022-03-11T09:39:04.499Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-11T09:39:04.784Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-11T09:39:19.855Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-11T09:39:19.855Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-11T09:39:19.855Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-11T09:39:19.855Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.014s coverage: 23.3% of statements [2022-03-11T09:39:19.855Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-11T09:39:19.855Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.007s coverage: 27.6% of statements [2022-03-11T09:39:19.855Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.006s coverage: 78.9% of statements [2022-03-11T09:39:20.119Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.010s coverage: 10.8% of statements [2022-03-11T09:39:20.119Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-11T09:39:20.119Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-11T09:39:20.119Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-11T09:39:20.699Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.014s coverage: 33.2% of statements [2022-03-11T09:39:20.699Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-11T09:39:21.667Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.019s coverage: 86.1% of statements [2022-03-11T09:39:21.667Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-11T09:39:21.667Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-11T09:39:21.667Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.015s coverage: 57.4% of statements [2022-03-11T09:39:21.667Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.027s coverage: 89.2% of statements [2022-03-11T09:39:21.667Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-11T09:39:22.242Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.008s coverage: 4.8% of statements [2022-03-11T09:39:22.242Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-11T09:39:34.578Z] GO111MODULE=on go vet ./... [2022-03-11T09:39:38.805Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-11T09:39:38.805Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-11T09:39:38.805Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-11T09:39:39.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-11T09:39:39.125Z] $ docker stop --time=1 905f8f8fbee788469a28886d870ed5eeb36562a718187c74540417b0de1517ae [2022-03-11T09:39:40.584Z] $ docker rm -f 905f8f8fbee788469a28886d870ed5eeb36562a718187c74540417b0de1517ae [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-11T09:39:41.094Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-11T09:39:41.197Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-11T09:39:42.798Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-11T09:39:43.114Z] + ls -al . [2022-03-11T09:39:43.114Z] total 272 [2022-03-11T09:39:43.114Z] drwxrwxr-x. 11 jenkins jenkins 4096 Mar 11 09:39 . [2022-03-11T09:39:43.114Z] drwxrwxr-x. 4 jenkins jenkins 112 Mar 11 09:37 .. [2022-03-11T09:39:43.114Z] drwxrwxr-x. 2 jenkins jenkins 37 Mar 11 09:37 bin [2022-03-11T09:39:43.114Z] -rw-rw-r--. 1 jenkins jenkins 26321 Mar 11 09:37 CHANGELOG.md [2022-03-11T09:39:43.114Z] -rw-r--r--. 1 jenkins jenkins 129001 Mar 11 09:39 coverage.out [2022-03-11T09:39:43.114Z] -rw-rw-r--. 1 jenkins jenkins 140 Mar 11 09:37 .dockerignore [2022-03-11T09:39:43.114Z] drwxrwxr-x. 5 jenkins jenkins 62 Mar 11 09:37 example [2022-03-11T09:39:43.114Z] drwxrwxr-x. 8 jenkins jenkins 179 Mar 11 09:37 .git [2022-03-11T09:39:43.114Z] drwxrwxr-x. 3 jenkins jenkins 125 Mar 11 09:37 .github [2022-03-11T09:39:43.114Z] -rw-rw-r--. 1 jenkins jenkins 131 Mar 11 09:37 .gitignore [2022-03-11T09:39:43.114Z] -rw-rw-r--. 1 jenkins jenkins 42 Mar 11 09:37 .golangci.yml [2022-03-11T09:39:43.114Z] -rw-rw-r--. 1 jenkins jenkins 2774 Mar 11 09:37 go.mod [2022-03-11T09:39:43.114Z] -rw-rw-r--. 1 jenkins jenkins 49778 Mar 11 09:37 go.sum [2022-03-11T09:39:43.114Z] -rw-rw-r--. 1 jenkins jenkins 677 Mar 11 09:37 GOVERNANCE.md [2022-03-11T09:39:43.114Z] drwxrwxr-x. 15 jenkins jenkins 224 Mar 11 09:37 internal [2022-03-11T09:39:43.114Z] -rw-rw-r--. 1 jenkins jenkins 880 Mar 11 09:37 Jenkinsfile [2022-03-11T09:39:43.114Z] -rw-rw-r--. 1 jenkins jenkins 11341 Mar 11 09:37 LICENSE [2022-03-11T09:39:43.114Z] -rw-rw-r--. 1 jenkins jenkins 1614 Mar 11 09:37 Makefile [2022-03-11T09:39:43.114Z] drwxrwxr-x. 3 jenkins jenkins 16 Mar 11 09:37 openapi [2022-03-11T09:39:43.114Z] -rw-rw-r--. 1 jenkins jenkins 619 Mar 11 09:37 OWNERS.md [2022-03-11T09:39:43.114Z] drwxrwxr-x. 5 jenkins jenkins 50 Mar 11 09:37 pkg [2022-03-11T09:39:43.114Z] -rw-rw-r--. 1 jenkins jenkins 4881 Mar 11 09:37 README.md [2022-03-11T09:39:43.114Z] drwx------. 3 jenkins jenkins 72 Mar 11 09:38 .semver [2022-03-11T09:39:43.114Z] drwxrwxr-x. 4 jenkins jenkins 54 Mar 11 09:37 snap [2022-03-11T09:39:43.114Z] -rw-rw-r--. 1 jenkins jenkins 5 Mar 11 09:38 VERSION [2022-03-11T09:39:43.114Z] -rw-rw-r--. 1 jenkins jenkins 222 Mar 11 09:37 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-11T09:39:43.445Z] + 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=7c8475adb567cd68dbcb96f6f7f55260b59187ca --label arch=amd64 --label version=0.0.0 . [2022-03-11T09:39:43.445Z] Sending build context to Docker daemon 9.659MB [2022-03-11T09:39:43.445Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-11T09:39:43.445Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-11T09:39:43.445Z] ---> b7e9f0c47dbb [2022-03-11T09:39:43.445Z] Step 3/25 : ARG MAKE=make build [2022-03-11T09:39:43.706Z] ---> Running in 0eb356f0847c [2022-03-11T09:39:43.706Z] Removing intermediate container 0eb356f0847c [2022-03-11T09:39:43.706Z] ---> bdb7044bfdd8 [2022-03-11T09:39:43.706Z] Step 4/25 : WORKDIR /device-sdk-go [2022-03-11T09:39:43.706Z] ---> Running in c25891918827 [2022-03-11T09:39:43.706Z] Removing intermediate container c25891918827 [2022-03-11T09:39:43.706Z] ---> 4c3bae50e79e [2022-03-11T09:39:43.706Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-11T09:39:43.706Z] ---> Running in 50abe9cfead7 [2022-03-11T09:39:43.966Z] Removing intermediate container 50abe9cfead7 [2022-03-11T09:39:43.966Z] ---> f45580f7a8a3 [2022-03-11T09:39:43.966Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-11T09:39:43.966Z] ---> Running in 14986d40a877 [2022-03-11T09:39:44.229Z] Removing intermediate container 14986d40a877 [2022-03-11T09:39:44.229Z] ---> b4e9ca6a53e3 [2022-03-11T09:39:44.229Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-11T09:39:44.229Z] ---> Running in 29a5007a0291 [2022-03-11T09:39:44.488Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-11T09:39:45.425Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-11T09:39:45.690Z] OK: 221 MiB in 52 packages [2022-03-11T09:39:45.949Z] Removing intermediate container 29a5007a0291 [2022-03-11T09:39:45.949Z] ---> 99b1ff65def6 [2022-03-11T09:39:45.949Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-11T09:39:45.949Z] ---> 11d0fe7d5584 [2022-03-11T09:39:45.949Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-11T09:39:46.210Z] ---> Running in 10833f895281 [2022-03-11T09:39:46.470Z] Removing intermediate container 10833f895281 [2022-03-11T09:39:46.470Z] ---> 6d39791f232b [2022-03-11T09:39:46.470Z] Step 10/25 : COPY . . [2022-03-11T09:39:47.041Z] ---> fbb9960ed9b6 [2022-03-11T09:39:47.041Z] Step 11/25 : RUN ${MAKE} [2022-03-11T09:39:47.041Z] ---> Running in 35126ce4ac0f [2022-03-11T09:39:47.307Z] 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-03-11T09:39:48.344Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6835 in /w/workspace/gexfoundry_device-sdk-go_PR-1103 [Pipeline] { [Pipeline] ws [2022-03-11T09:39:48.383Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-03-11T09:39:48.616Z] The recommended git tool is: git [2022-03-11T09:39:53.424Z] using credential edgex-jenkins-ssh [2022-03-11T09:39:53.446Z] Cloning the remote Git repository [2022-03-11T09:39:53.537Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-03-11T09:39:53.617Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-03-11T09:39:53.706Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-11T09:39:53.707Z] > git --version # timeout=10 [2022-03-11T09:39:53.732Z] > git --version # 'git version 2.17.1' [2022-03-11T09:39:53.734Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-11T09:39:53.813Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-11T09:39:55.391Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-11T09:39:55.414Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-11T09:39:55.443Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-11T09:39:55.477Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-11T09:39:55.478Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-11T09:39:55.492Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1103/head:refs/remotes/origin/PR-1103 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-11T09:39:56.207Z] Merging remotes/origin/main commit 2d47f06130efe23f62a62eca7f2537e0d7c1e066 into PR head commit 7c8475adb567cd68dbcb96f6f7f55260b59187ca [2022-03-11T09:39:56.445Z] Merge succeeded, producing 7c8475adb567cd68dbcb96f6f7f55260b59187ca [2022-03-11T09:39:56.445Z] Checking out Revision 7c8475adb567cd68dbcb96f6f7f55260b59187ca (PR-1103) [2022-03-11T09:39:56.246Z] > git config core.sparsecheckout # timeout=10 [2022-03-11T09:39:56.264Z] > git checkout -f 7c8475adb567cd68dbcb96f6f7f55260b59187ca # timeout=10 [2022-03-11T09:39:56.369Z] > git remote # timeout=10 [2022-03-11T09:39:56.387Z] > git config --get remote.origin.url # timeout=10 [2022-03-11T09:39:56.412Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-11T09:39:56.423Z] > git merge 2d47f06130efe23f62a62eca7f2537e0d7c1e066 # timeout=10 [2022-03-11T09:39:56.449Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-11T09:39:56.471Z] > git config core.sparsecheckout # timeout=10 [2022-03-11T09:39:56.483Z] > git checkout -f 7c8475adb567cd68dbcb96f6f7f55260b59187ca # timeout=10 [2022-03-11T09:39:59.628Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-03-11T09:39:59.628Z] Removing intermediate container 35126ce4ac0f [2022-03-11T09:39:59.628Z] ---> 765bb50b8799 [2022-03-11T09:39:59.628Z] Step 12/25 : FROM alpine:3.14 [2022-03-11T09:39:59.628Z] 3.14: Pulling from library/alpine [2022-03-11T09:39:59.628Z] 97518928ae5f: Pulling fs layer [2022-03-11T09:39:59.628Z] 97518928ae5f: Verifying Checksum [2022-03-11T09:39:59.628Z] 97518928ae5f: Download complete [2022-03-11T09:39:59.896Z] 97518928ae5f: Pull complete [2022-03-11T09:39:59.896Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-03-11T09:39:59.896Z] Status: Downloaded newer image for alpine:3.14 [2022-03-11T09:39:59.896Z] ---> 0a97eee8041e [2022-03-11T09:39:59.896Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-11T09:39:59.896Z] ---> Running in 1901b235c33b [2022-03-11T09:40:00.161Z] Removing intermediate container 1901b235c33b [2022-03-11T09:40:00.161Z] ---> decccdf3e172 [2022-03-11T09:40:00.161Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-11T09:40:00.161Z] ---> Running in 2fddd94c3c87 [2022-03-11T09:40:00.422Z] Removing intermediate container 2fddd94c3c87 [2022-03-11T09:40:00.422Z] ---> b82eb253d446 [2022-03-11T09:40:00.422Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-11T09:40:00.621Z] Commit message: "fix: update validation API 200 response" [2022-03-11T09:40:00.689Z] ---> Running in ec4b65a0b528 [2022-03-11T09:40:00.689Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-03-11T09:40:00.705Z] > git --version # timeout=10 [2022-03-11T09:40:00.716Z] > git --version # 'git version 2.17.1' [2022-03-11T09:40:00.731Z] fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-11T09:40:01.642Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-03-11T09:40:01.905Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-03-11T09:40:01.981Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-11T09:40:01.981Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-11T09:40:01.981Z] Dload Upload Total Spent Left Speed [2022-03-11T09:40:01.981Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46443 0 --:--:-- --:--:-- --:--:-- 46443 [2022-03-11T09:40:02.167Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-11T09:40:02.167Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-11T09:40:02.167Z] (4/5) Installing libzmq (4.3.4-r0) [Pipeline] sh [2022-03-11T09:40:02.429Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-11T09:40:02.429Z] Executing busybox-1.33.1-r6.trigger [2022-03-11T09:40:02.430Z] OK: 8 MiB in 19 packages [2022-03-11T09:40:02.500Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-11T09:40:02.689Z] Removing intermediate container ec4b65a0b528 [2022-03-11T09:40:02.690Z] ---> ebdd5ab7f5b4 [2022-03-11T09:40:02.690Z] Step 16/25 : WORKDIR / [2022-03-11T09:40:02.690Z] ---> Running in 2dec9cc9a4d4 [2022-03-11T09:40:02.862Z] + sudo tee /etc/docker/daemon.new [2022-03-11T09:40:02.862Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-11T09:40:02.862Z] { [2022-03-11T09:40:02.862Z] "registry-mirrors": [ [2022-03-11T09:40:02.862Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-11T09:40:02.862Z] ], [2022-03-11T09:40:02.862Z] "bip": "10.250.0.254/24", [2022-03-11T09:40:02.862Z] "hosts": [ [2022-03-11T09:40:02.862Z] "tcp://0.0.0.0:5555", [2022-03-11T09:40:02.862Z] "unix:///var/run/docker.sock" [2022-03-11T09:40:02.862Z] ], [2022-03-11T09:40:02.862Z] "mtu": 1458, [2022-03-11T09:40:02.862Z] "selinux-enabled": true, [2022-03-11T09:40:02.862Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-11T09:40:02.862Z] } [Pipeline] sh [2022-03-11T09:40:02.950Z] Removing intermediate container 2dec9cc9a4d4 [2022-03-11T09:40:02.950Z] ---> 2aebe85a57c3 [2022-03-11T09:40:02.950Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-03-11T09:40:02.950Z] ---> c204db6c076d [2022-03-11T09:40:02.950Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-03-11T09:40:03.215Z] ---> f97738983dd9 [2022-03-11T09:40:03.215Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-03-11T09:40:03.223Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-11T09:40:03.474Z] ---> 92ae36a27ddf [2022-03-11T09:40:03.475Z] Step 20/25 : EXPOSE 59999 [2022-03-11T09:40:03.475Z] ---> Running in d49fc51c82b4 [2022-03-11T09:40:03.475Z] Removing intermediate container d49fc51c82b4 [2022-03-11T09:40:03.475Z] ---> c2e9b5c6e9db [2022-03-11T09:40:03.475Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-03-11T09:40:03.670Z] + sudo service docker restart [2022-03-11T09:40:03.735Z] ---> Running in 7df09ef82c23 [2022-03-11T09:40:03.735Z] Removing intermediate container 7df09ef82c23 [2022-03-11T09:40:03.735Z] ---> 0d835e6db0d2 [2022-03-11T09:40:03.735Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-11T09:40:03.735Z] ---> Running in 55e8d92b6d7e [2022-03-11T09:40:03.735Z] Removing intermediate container 55e8d92b6d7e [2022-03-11T09:40:03.735Z] ---> a71d0a008268 [2022-03-11T09:40:03.735Z] Step 23/25 : LABEL arch=amd64 [2022-03-11T09:40:03.735Z] ---> Running in 8dbe3c09bde7 [2022-03-11T09:40:03.996Z] Removing intermediate container 8dbe3c09bde7 [2022-03-11T09:40:03.996Z] ---> c483925a013c [2022-03-11T09:40:03.996Z] Step 24/25 : LABEL git_sha=7c8475adb567cd68dbcb96f6f7f55260b59187ca [2022-03-11T09:40:03.996Z] ---> Running in adb98277efd0 [2022-03-11T09:40:03.996Z] Removing intermediate container adb98277efd0 [2022-03-11T09:40:03.996Z] ---> 6ca5ccaa083a [2022-03-11T09:40:03.996Z] Step 25/25 : LABEL version=0.0.0 [2022-03-11T09:40:03.996Z] ---> Running in facf87138a54 [2022-03-11T09:40:03.996Z] Removing intermediate container facf87138a54 [2022-03-11T09:40:03.996Z] ---> 403fa6af53e7 [2022-03-11T09:40:03.996Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-11T09:40:03.996Z] Successfully built 403fa6af53e7 [2022-03-11T09:40:03.996Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-11T09:40:04.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-11T09:40:04.699Z] [2022-03-11T09:40:04.699Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-11T09:40:05.044Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-11T09:40:05.044Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-11T09:40:05.044Z] 5eb5b503b376: Pulling fs layer [2022-03-11T09:40:05.044Z] 5c69ac0246d0: Pulling fs layer [2022-03-11T09:40:05.044Z] ec43610c2a17: Pulling fs layer [2022-03-11T09:40:05.044Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-11T09:40:05.044Z] 33b1e0a273af: Pulling fs layer [2022-03-11T09:40:05.044Z] 5d3b04190fa2: Pulling fs layer [2022-03-11T09:40:05.044Z] 2f39f015ded8: Pulling fs layer [2022-03-11T09:40:05.044Z] 3a2ae6a8a46f: Waiting [2022-03-11T09:40:05.044Z] 33b1e0a273af: Waiting [2022-03-11T09:40:05.044Z] 5d3b04190fa2: Waiting [2022-03-11T09:40:05.044Z] 2f39f015ded8: Waiting [2022-03-11T09:40:05.044Z] 5c69ac0246d0: Verifying Checksum [2022-03-11T09:40:05.044Z] 5c69ac0246d0: Download complete [2022-03-11T09:40:05.044Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-11T09:40:05.044Z] 3a2ae6a8a46f: Download complete [2022-03-11T09:40:05.044Z] 33b1e0a273af: Verifying Checksum [2022-03-11T09:40:05.044Z] 33b1e0a273af: Download complete [2022-03-11T09:40:05.044Z] 5d3b04190fa2: Verifying Checksum [2022-03-11T09:40:05.044Z] 5d3b04190fa2: Download complete [2022-03-11T09:40:05.044Z] ec43610c2a17: Verifying Checksum [2022-03-11T09:40:05.044Z] ec43610c2a17: Download complete [2022-03-11T09:40:05.309Z] 5eb5b503b376: Verifying Checksum [2022-03-11T09:40:05.309Z] 5eb5b503b376: Download complete [2022-03-11T09:40:05.893Z] 2f39f015ded8: Verifying Checksum [2022-03-11T09:40:05.893Z] 2f39f015ded8: Download complete [2022-03-11T09:40:06.846Z] 5eb5b503b376: Pull complete [2022-03-11T09:40:06.846Z] 5c69ac0246d0: Pull complete [2022-03-11T09:40:07.418Z] ec43610c2a17: Pull complete [2022-03-11T09:40:07.677Z] 3a2ae6a8a46f: Pull complete [2022-03-11T09:40:07.938Z] 33b1e0a273af: Pull complete [2022-03-11T09:40:07.938Z] 5d3b04190fa2: Pull complete [2022-03-11T09:40:13.283Z] 2f39f015ded8: Pull complete [2022-03-11T09:40:13.283Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-11T09:40:13.283Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-11T09:40:13.283Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-11T09:40:13.371Z] prd-centos7-docker-4c-2g-6834 does not seem to be running inside a container [2022-03-11T09:40:13.409Z] $ 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-1103 -v /w/workspace/gexfoundry_device-sdk-go_PR-1103:/w/workspace/gexfoundry_device-sdk-go_PR-1103:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1103@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-11T09:40:15.867Z] $ docker top 3ed7e6754d8ad241cc197b6b4768211c3f9660fece194185636ac3e1503349d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-11T09:40:16.334Z] ---> job-cost.sh [2022-03-11T09:40:16.335Z] lf-activate-venv: SKIPPING [2022-03-11T09:40:16.335Z] INFO: No Stack... [2022-03-11T09:40:16.597Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-03-11T09:40:17.169Z] INFO: Archiving Costs [Pipeline] sh [2022-03-11T09:40:17.489Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1103/archives/cost.csv [2022-03-11T09:40:17.490Z] + cut -d, -f6 [Pipeline] lock [2022-03-11T09:40:17.531Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1103-1-stack-cost] [2022-03-11T09:40:17.536Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1103-1-stack-cost] did not exist. Created. [2022-03-11T09:40:17.536Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1103-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-11T09:40:17.935Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-03-11T09:40:17.995Z] Stashed 1 file(s) [Pipeline] } [2022-03-11T09:40:18.012Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1103-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-11T09:40:18.093Z] $ docker stop --time=1 3ed7e6754d8ad241cc197b6b4768211c3f9660fece194185636ac3e1503349d1 [2022-03-11T09:40:19.226Z] $ docker rm -f 3ed7e6754d8ad241cc197b6b4768211c3f9660fece194185636ac3e1503349d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-11T09:40:22.079Z] provisioning config files... [2022-03-11T09:40:22.106Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7856958864760170879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-11T09:40:22.509Z] ---> docker-login.sh [2022-03-11T09:40:22.509Z] nexus3.edgexfoundry.org:10001 [2022-03-11T09:40:23.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T09:40:23.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T09:40:23.378Z] Configure a credential helper to remove this warning. See [2022-03-11T09:40:23.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T09:40:23.378Z] [2022-03-11T09:40:23.378Z] Login Succeeded [2022-03-11T09:40:23.378Z] nexus3.edgexfoundry.org:10002 [2022-03-11T09:40:23.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T09:40:23.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T09:40:23.655Z] Configure a credential helper to remove this warning. See [2022-03-11T09:40:23.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T09:40:23.655Z] [2022-03-11T09:40:23.655Z] Login Succeeded [2022-03-11T09:40:23.655Z] nexus3.edgexfoundry.org:10003 [2022-03-11T09:40:24.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T09:40:24.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T09:40:24.257Z] Configure a credential helper to remove this warning. See [2022-03-11T09:40:24.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T09:40:24.257Z] [2022-03-11T09:40:24.257Z] Login Succeeded [2022-03-11T09:40:24.257Z] nexus3.edgexfoundry.org:10004 [2022-03-11T09:40:24.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T09:40:24.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T09:40:24.820Z] Configure a credential helper to remove this warning. See [2022-03-11T09:40:24.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T09:40:24.820Z] [2022-03-11T09:40:24.820Z] Login Succeeded [2022-03-11T09:40:24.820Z] docker.io [2022-03-11T09:40:25.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-11T09:40:25.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-11T09:40:25.365Z] Configure a credential helper to remove this warning. See [2022-03-11T09:40:25.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-11T09:40:25.365Z] [2022-03-11T09:40:25.365Z] Login Succeeded [2022-03-11T09:40:25.365Z] ---> docker-login.sh ends [Pipeline] } [2022-03-11T09:40:25.394Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-11T09:40:25.773Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-11T09:40:25.805Z] ========================================================= [2022-03-11T09:40:25.805Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-11T09:40:25.805Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-11T09:40:26.250Z] + 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-03-11T09:40:26.529Z] Sending build context to Docker daemon 5.165MB [2022-03-11T09:40:26.804Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-11T09:40:26.804Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-11T09:40:26.804Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-11T09:40:26.804Z] 9b3977197b4f: Pulling fs layer [2022-03-11T09:40:26.804Z] 1a89e8eeedd5: Pulling fs layer [2022-03-11T09:40:26.804Z] 94645a83ff95: Pulling fs layer [2022-03-11T09:40:26.804Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-11T09:40:26.804Z] 0c92f367c5e7: Pulling fs layer [2022-03-11T09:40:26.804Z] f7c0051592d6: Pulling fs layer [2022-03-11T09:40:26.804Z] a227ed2f7395: Pulling fs layer [2022-03-11T09:40:26.804Z] 7b1c46037f91: Pulling fs layer [2022-03-11T09:40:26.804Z] 3f3a8bcf1eab: Waiting [2022-03-11T09:40:26.804Z] 0c92f367c5e7: Waiting [2022-03-11T09:40:26.804Z] f7c0051592d6: Waiting [2022-03-11T09:40:26.804Z] a227ed2f7395: Waiting [2022-03-11T09:40:26.804Z] 7b1c46037f91: Waiting [2022-03-11T09:40:26.805Z] 94645a83ff95: Verifying Checksum [2022-03-11T09:40:26.805Z] 94645a83ff95: Download complete [2022-03-11T09:40:26.805Z] 1a89e8eeedd5: Verifying Checksum [2022-03-11T09:40:26.805Z] 1a89e8eeedd5: Download complete [2022-03-11T09:40:26.805Z] 0c92f367c5e7: Verifying Checksum [2022-03-11T09:40:26.805Z] 0c92f367c5e7: Download complete [2022-03-11T09:40:26.805Z] f7c0051592d6: Verifying Checksum [2022-03-11T09:40:26.805Z] f7c0051592d6: Download complete [2022-03-11T09:40:27.081Z] a227ed2f7395: Download complete [2022-03-11T09:40:27.081Z] 9b3977197b4f: Verifying Checksum [2022-03-11T09:40:27.081Z] 9b3977197b4f: Download complete [2022-03-11T09:40:27.683Z] 9b3977197b4f: Pull complete [2022-03-11T09:40:28.283Z] 1a89e8eeedd5: Pull complete [2022-03-11T09:40:28.558Z] 94645a83ff95: Pull complete [2022-03-11T09:40:28.831Z] 7b1c46037f91: Verifying Checksum [2022-03-11T09:40:28.831Z] 7b1c46037f91: Download complete [2022-03-11T09:40:29.430Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-11T09:40:29.430Z] 3f3a8bcf1eab: Download complete [2022-03-11T09:40:41.821Z] 3f3a8bcf1eab: Pull complete [2022-03-11T09:40:41.821Z] 0c92f367c5e7: Pull complete [2022-03-11T09:40:41.821Z] f7c0051592d6: Pull complete [2022-03-11T09:40:41.821Z] a227ed2f7395: Pull complete [2022-03-11T09:40:47.218Z] 7b1c46037f91: Pull complete [2022-03-11T09:40:47.218Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-11T09:40:47.218Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-11T09:40:47.218Z] ---> f79e39bc4007 [2022-03-11T09:40:47.218Z] Step 3/11 : ARG MAKE=make build [2022-03-11T09:40:48.654Z] ---> Running in 73979c47566f [2022-03-11T09:40:48.931Z] Removing intermediate container 73979c47566f [2022-03-11T09:40:48.931Z] ---> 2b4ca2122943 [2022-03-11T09:40:48.931Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-11T09:40:48.931Z] ---> Running in 2542d190d375 [2022-03-11T09:40:49.528Z] Removing intermediate container 2542d190d375 [2022-03-11T09:40:49.528Z] ---> 89f45d2f494e [2022-03-11T09:40:49.528Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-11T09:40:49.528Z] ---> Running in 5234132489be [2022-03-11T09:40:50.123Z] Removing intermediate container 5234132489be [2022-03-11T09:40:50.123Z] ---> 58427b651762 [2022-03-11T09:40:50.123Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-11T09:40:50.123Z] ---> Running in e8818c38f461 [2022-03-11T09:40:52.110Z] Removing intermediate container e8818c38f461 [2022-03-11T09:40:52.110Z] ---> 9de3c3f3f7a9 [2022-03-11T09:40:52.110Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-11T09:40:52.110Z] ---> Running in 9c2fe041ec31 [2022-03-11T09:40:53.101Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-11T09:40:54.076Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-11T09:40:54.671Z] OK: 220 MiB in 52 packages [2022-03-11T09:40:55.651Z] Removing intermediate container 9c2fe041ec31 [2022-03-11T09:40:55.651Z] ---> 632bf6a0f8c0 [2022-03-11T09:40:55.651Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-11T09:40:56.252Z] ---> f32415562377 [2022-03-11T09:40:56.252Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-11T09:40:56.252Z] ---> Running in 312e43b44987 [2022-03-11T09:42:18.060Z] Removing intermediate container 312e43b44987 [2022-03-11T09:42:18.060Z] ---> 13d311c9961b [2022-03-11T09:42:18.060Z] Step 10/11 : COPY . . [2022-03-11T09:42:18.060Z] ---> 8d39fc5c1464 [2022-03-11T09:42:18.060Z] Step 11/11 : RUN ${MAKE} [2022-03-11T09:42:18.060Z] ---> Running in b5dd14e3f152 [2022-03-11T09:42:18.060Z] noop [2022-03-11T09:42:18.060Z] Removing intermediate container b5dd14e3f152 [2022-03-11T09:42:18.060Z] ---> 6631e530e65c [2022-03-11T09:42:18.060Z] Successfully built 6631e530e65c [2022-03-11T09:42:18.060Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-11T09:42:18.435Z] + docker inspect -f . ci-base-image-arm64 [2022-03-11T09:42:18.435Z] . [Pipeline] withDockerContainer [2022-03-11T09:42:18.662Z] prd-ubuntu18.04-docker-arm64-4c-16g-6835 does not seem to be running inside a container [2022-03-11T09:42:18.773Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-11T09:42:20.108Z] $ docker top bba06f4636adc69fb9aa2eda78fcd6370c77528d04330b3448d5f87d9859620a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-11T09:42:21.060Z] + go version [2022-03-11T09:42:21.060Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-11T09:42:21.100Z] $ docker stop --time=1 bba06f4636adc69fb9aa2eda78fcd6370c77528d04330b3448d5f87d9859620a [2022-03-11T09:42:22.729Z] $ docker rm -f bba06f4636adc69fb9aa2eda78fcd6370c77528d04330b3448d5f87d9859620a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-11T09:42:23.600Z] + docker inspect -f . ci-base-image-arm64 [2022-03-11T09:42:23.600Z] . [Pipeline] withDockerContainer [2022-03-11T09:42:23.842Z] prd-ubuntu18.04-docker-arm64-4c-16g-6835 does not seem to be running inside a container [2022-03-11T09:42:23.927Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-11T09:42:25.259Z] $ docker top d3fe556d5d0f1bc398a7cc7209f94ae0bd9b97d50c5855b944f0ede0af2c68c4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-11T09:42:26.243Z] + make test [2022-03-11T09:42:26.243Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-11T09:42:27.684Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-11T09:43:14.695Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-11T09:43:14.695Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-11T09:43:14.695Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-11T09:43:21.445Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.078s coverage: 23.3% of statements [2022-03-11T09:43:21.445Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-11T09:43:21.445Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.072s coverage: 27.6% of statements [2022-03-11T09:43:21.445Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.062s coverage: 78.9% of statements [2022-03-11T09:43:21.445Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.100s coverage: 10.8% of statements [2022-03-11T09:43:21.445Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-11T09:43:21.445Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-11T09:43:21.445Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-11T09:43:23.429Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.075s coverage: 33.2% of statements [2022-03-11T09:43:23.429Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-11T09:43:24.413Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.083s coverage: 86.1% of statements [2022-03-11T09:43:24.413Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-11T09:43:24.413Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-11T09:43:24.413Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.100s coverage: 57.4% of statements [2022-03-11T09:43:24.703Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.169s coverage: 89.2% of statements [2022-03-11T09:43:24.703Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-11T09:43:26.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.050s coverage: 4.8% of statements [2022-03-11T09:43:26.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-11T09:43:26.960Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-03-11T09:43:26.960Z] GO111MODULE=on go vet ./... [2022-03-11T09:43:49.175Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-11T09:43:49.175Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-11T09:43:49.175Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-11T09:43:49.211Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-11T09:43:49.241Z] $ docker stop --time=1 d3fe556d5d0f1bc398a7cc7209f94ae0bd9b97d50c5855b944f0ede0af2c68c4 [2022-03-11T09:43:50.943Z] $ docker rm -f d3fe556d5d0f1bc398a7cc7209f94ae0bd9b97d50c5855b944f0ede0af2c68c4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-11T09:43:51.813Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-11T09:43:51.848Z] Warning: overwriting stash ‘coverage-report’ [2022-03-11T09:43:52.575Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-11T09:43:53.193Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-11T09:43:53.540Z] + ls -al . [2022-03-11T09:43:53.541Z] total 308 [2022-03-11T09:43:53.541Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 11 09:43 . [2022-03-11T09:43:53.541Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 09:39 .. [2022-03-11T09:43:53.541Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 11 09:39 .dockerignore [2022-03-11T09:43:53.541Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 09:40 .git [2022-03-11T09:43:53.541Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 09:39 .github [2022-03-11T09:43:53.541Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 11 09:39 .gitignore [2022-03-11T09:43:53.541Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 11 09:39 .golangci.yml [2022-03-11T09:43:53.541Z] -rw-rw-r-- 1 jenkins jenkins 26321 Mar 11 09:39 CHANGELOG.md [2022-03-11T09:43:53.541Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 09:39 GOVERNANCE.md [2022-03-11T09:43:53.541Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 11 09:39 Jenkinsfile [2022-03-11T09:43:53.541Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 11 09:39 LICENSE [2022-03-11T09:43:53.541Z] -rw-rw-r-- 1 jenkins jenkins 1614 Mar 11 09:39 Makefile [2022-03-11T09:43:53.541Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 11 09:39 OWNERS.md [2022-03-11T09:43:53.541Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 11 09:39 README.md [2022-03-11T09:43:53.541Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 09:38 VERSION [2022-03-11T09:43:53.541Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 09:39 bin [2022-03-11T09:43:53.541Z] -rw-r--r-- 1 jenkins jenkins 129001 Mar 11 09:43 coverage.out [2022-03-11T09:43:53.541Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 11 09:39 example [2022-03-11T09:43:53.541Z] -rw-rw-r-- 1 jenkins jenkins 2774 Mar 11 09:39 go.mod [2022-03-11T09:43:53.541Z] -rw-rw-r-- 1 jenkins jenkins 49778 Mar 11 09:39 go.sum [2022-03-11T09:43:53.541Z] drwxrwxr-x 15 jenkins jenkins 4096 Mar 11 09:39 internal [2022-03-11T09:43:53.541Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 09:39 openapi [2022-03-11T09:43:53.541Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 11 09:39 pkg [2022-03-11T09:43:53.541Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 09:39 snap [2022-03-11T09:43:53.541Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 11 09:39 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-11T09:43:53.909Z] + 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=7c8475adb567cd68dbcb96f6f7f55260b59187ca --label arch=arm64 --label version=0.0.0 . [2022-03-11T09:43:54.188Z] Sending build context to Docker daemon 5.295MB [2022-03-11T09:43:54.459Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-11T09:43:54.459Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-11T09:43:54.459Z] ---> 6631e530e65c [2022-03-11T09:43:54.459Z] Step 3/25 : ARG MAKE=make build [2022-03-11T09:43:54.459Z] ---> Running in 62f02b58b417 [2022-03-11T09:43:54.734Z] Removing intermediate container 62f02b58b417 [2022-03-11T09:43:54.734Z] ---> 64ba6d06d711 [2022-03-11T09:43:54.734Z] Step 4/25 : WORKDIR /device-sdk-go [2022-03-11T09:43:55.009Z] ---> Running in 710edf76bd8b [2022-03-11T09:43:55.282Z] Removing intermediate container 710edf76bd8b [2022-03-11T09:43:55.282Z] ---> f85f97291946 [2022-03-11T09:43:55.282Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-11T09:43:55.282Z] ---> Running in ef6022d5abdb [2022-03-11T09:43:55.877Z] Removing intermediate container ef6022d5abdb [2022-03-11T09:43:55.877Z] ---> e63099dce0f1 [2022-03-11T09:43:55.877Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-11T09:43:55.877Z] ---> Running in 0ce48e572b51 [2022-03-11T09:43:57.859Z] Removing intermediate container 0ce48e572b51 [2022-03-11T09:43:57.859Z] ---> 4c5bd7031c43 [2022-03-11T09:43:57.859Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-11T09:43:57.859Z] ---> Running in ec57f12b7f57 [2022-03-11T09:43:58.455Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-11T09:43:59.430Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-11T09:44:00.415Z] OK: 220 MiB in 52 packages [2022-03-11T09:44:01.015Z] Removing intermediate container ec57f12b7f57 [2022-03-11T09:44:01.015Z] ---> 230f9061c5f7 [2022-03-11T09:44:01.015Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-11T09:44:01.615Z] ---> 6f77861fff6e [2022-03-11T09:44:01.615Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-11T09:44:01.893Z] ---> Running in 77be1c352f7a [2022-03-11T09:44:03.883Z] Removing intermediate container 77be1c352f7a [2022-03-11T09:44:03.883Z] ---> 2bf0bdad1e46 [2022-03-11T09:44:03.883Z] Step 10/25 : COPY . . [2022-03-11T09:44:05.319Z] ---> 2dd8f8cd2f69 [2022-03-11T09:44:05.319Z] Step 11/25 : RUN ${MAKE} [2022-03-11T09:44:05.319Z] ---> Running in 75bc3204166b [2022-03-11T09:44:06.300Z] 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-03-11T09:44:45.349Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-03-11T09:44:45.349Z] Removing intermediate container 75bc3204166b [2022-03-11T09:44:45.349Z] ---> b6406022a639 [2022-03-11T09:44:45.349Z] Step 12/25 : FROM alpine:3.14 [2022-03-11T09:44:45.349Z] 3.14: Pulling from library/alpine [2022-03-11T09:44:45.349Z] be307f383ecc: Pulling fs layer [2022-03-11T09:44:45.624Z] be307f383ecc: Download complete [2022-03-11T09:44:46.222Z] be307f383ecc: Pull complete [2022-03-11T09:44:46.222Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-03-11T09:44:46.222Z] Status: Downloaded newer image for alpine:3.14 [2022-03-11T09:44:46.222Z] ---> 5b8b7b635229 [2022-03-11T09:44:46.222Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-11T09:44:46.222Z] ---> Running in 1d006084926a [2022-03-11T09:44:46.499Z] Removing intermediate container 1d006084926a [2022-03-11T09:44:46.499Z] ---> 27f117d6eb7e [2022-03-11T09:44:46.499Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-11T09:44:46.776Z] ---> Running in 233b4b447597 [2022-03-11T09:44:48.205Z] Removing intermediate container 233b4b447597 [2022-03-11T09:44:48.205Z] ---> f86ea2491086 [2022-03-11T09:44:48.205Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-11T09:44:48.481Z] ---> Running in b1dfef46d050 [2022-03-11T09:44:49.462Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-11T09:44:50.440Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-11T09:44:51.034Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-03-11T09:44:51.034Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-11T09:44:51.306Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-11T09:44:51.306Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-11T09:44:51.306Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-11T09:44:51.581Z] Executing busybox-1.33.1-r6.trigger [2022-03-11T09:44:51.581Z] OK: 8 MiB in 19 packages [2022-03-11T09:44:52.558Z] Removing intermediate container b1dfef46d050 [2022-03-11T09:44:52.558Z] ---> 777cfd64e970 [2022-03-11T09:44:52.558Z] Step 16/25 : WORKDIR / [2022-03-11T09:44:52.558Z] ---> Running in fba27865f9e3 [2022-03-11T09:44:52.833Z] Removing intermediate container fba27865f9e3 [2022-03-11T09:44:52.833Z] ---> 0c50a9bb7f4a [2022-03-11T09:44:52.833Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-03-11T09:44:53.430Z] ---> 7e9d862021e7 [2022-03-11T09:44:53.430Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-03-11T09:44:54.408Z] ---> bd8b9932cffc [2022-03-11T09:44:54.408Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-03-11T09:44:55.004Z] ---> c4e0afa0957c [2022-03-11T09:44:55.004Z] Step 20/25 : EXPOSE 59999 [2022-03-11T09:44:55.004Z] ---> Running in e6a8c5532f89 [2022-03-11T09:44:55.609Z] Removing intermediate container e6a8c5532f89 [2022-03-11T09:44:55.609Z] ---> 416a90d57d21 [2022-03-11T09:44:55.609Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-03-11T09:44:55.609Z] ---> Running in 13cbaec522af [2022-03-11T09:44:55.886Z] Removing intermediate container 13cbaec522af [2022-03-11T09:44:55.886Z] ---> 4450fdd4a8b8 [2022-03-11T09:44:55.886Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-11T09:44:56.158Z] ---> Running in d45e665693d0 [2022-03-11T09:44:56.431Z] Removing intermediate container d45e665693d0 [2022-03-11T09:44:56.431Z] ---> 1fc8dc895187 [2022-03-11T09:44:56.431Z] Step 23/25 : LABEL arch=arm64 [2022-03-11T09:44:56.431Z] ---> Running in 2cca324eaf07 [2022-03-11T09:44:57.029Z] Removing intermediate container 2cca324eaf07 [2022-03-11T09:44:57.029Z] ---> 386f09039f36 [2022-03-11T09:44:57.029Z] Step 24/25 : LABEL git_sha=7c8475adb567cd68dbcb96f6f7f55260b59187ca [2022-03-11T09:44:57.029Z] ---> Running in 7868036dfed3 [2022-03-11T09:44:57.305Z] Removing intermediate container 7868036dfed3 [2022-03-11T09:44:57.305Z] ---> 21f7d393a7cc [2022-03-11T09:44:57.305Z] Step 25/25 : LABEL version=0.0.0 [2022-03-11T09:44:57.579Z] ---> Running in b1bcc5169d87 [2022-03-11T09:44:57.853Z] Removing intermediate container b1bcc5169d87 [2022-03-11T09:44:57.853Z] ---> 555eaa561344 [2022-03-11T09:44:57.853Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-11T09:44:57.853Z] Successfully built 555eaa561344 [2022-03-11T09:44:57.853Z] 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-03-11T09:44:58.561Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-11T09:44:58.561Z] [2022-03-11T09:44:58.561Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-11T09:44:58.949Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-11T09:44:59.224Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-11T09:44:59.224Z] 8998bd30e6a1: Pulling fs layer [2022-03-11T09:44:59.224Z] 04944245beec: Pulling fs layer [2022-03-11T09:44:59.224Z] 699f458cf7ca: Pulling fs layer [2022-03-11T09:44:59.224Z] 765212b225bb: Pulling fs layer [2022-03-11T09:44:59.224Z] f23df028b6ca: Pulling fs layer [2022-03-11T09:44:59.224Z] d65c8cfc05b1: Pulling fs layer [2022-03-11T09:44:59.224Z] 2437ff75d9bd: Pulling fs layer [2022-03-11T09:44:59.224Z] 765212b225bb: Waiting [2022-03-11T09:44:59.224Z] f23df028b6ca: Waiting [2022-03-11T09:44:59.224Z] d65c8cfc05b1: Waiting [2022-03-11T09:44:59.224Z] 2437ff75d9bd: Waiting [2022-03-11T09:44:59.224Z] 04944245beec: Verifying Checksum [2022-03-11T09:44:59.224Z] 04944245beec: Download complete [2022-03-11T09:44:59.224Z] 765212b225bb: Verifying Checksum [2022-03-11T09:44:59.224Z] 765212b225bb: Download complete [2022-03-11T09:44:59.224Z] f23df028b6ca: Verifying Checksum [2022-03-11T09:44:59.224Z] f23df028b6ca: Download complete [2022-03-11T09:44:59.224Z] d65c8cfc05b1: Verifying Checksum [2022-03-11T09:44:59.224Z] d65c8cfc05b1: Download complete [2022-03-11T09:44:59.500Z] 699f458cf7ca: Verifying Checksum [2022-03-11T09:44:59.500Z] 699f458cf7ca: Download complete [2022-03-11T09:44:59.773Z] 8998bd30e6a1: Verifying Checksum [2022-03-11T09:44:59.773Z] 8998bd30e6a1: Download complete [2022-03-11T09:45:02.410Z] 2437ff75d9bd: Verifying Checksum [2022-03-11T09:45:02.410Z] 2437ff75d9bd: Download complete [2022-03-11T09:45:03.843Z] 8998bd30e6a1: Pull complete [2022-03-11T09:45:04.442Z] 04944245beec: Pull complete [2022-03-11T09:45:05.872Z] 699f458cf7ca: Pull complete [2022-03-11T09:45:06.146Z] 765212b225bb: Pull complete [2022-03-11T09:45:07.127Z] f23df028b6ca: Pull complete [2022-03-11T09:45:07.401Z] d65c8cfc05b1: Pull complete [2022-03-11T09:45:22.484Z] 2437ff75d9bd: Pull complete [2022-03-11T09:45:22.484Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-11T09:45:22.484Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-11T09:45:22.484Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-11T09:45:22.728Z] prd-ubuntu18.04-docker-arm64-4c-16g-6835 does not seem to be running inside a container [2022-03-11T09:45:22.812Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-11T09:45:25.443Z] $ docker top dc0ed999960efa7346fd2f2aaaf9961653930b982de296b44a5d35f09a5ba32d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-11T09:45:26.393Z] ---> job-cost.sh [2022-03-11T09:45:26.393Z] lf-activate-venv: SKIPPING [2022-03-11T09:45:26.393Z] INFO: No Stack... [2022-03-11T09:45:26.666Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-11T09:45:27.641Z] INFO: Archiving Costs [Pipeline] sh [2022-03-11T09:45:28.316Z] + cut -d, -f6 [2022-03-11T09:45:28.316Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-03-11T09:45:28.401Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1103-1-stack-cost] [2022-03-11T09:45:28.406Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1103-1-stack-cost] did not exist. Created. [2022-03-11T09:45:28.406Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1103-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-11T09:45:29.177Z] /w/workspace/device-sdk-go/1@tmp/durable-aca37821/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-11T09:45:29.872Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-11T09:45:29.912Z] Warning: overwriting stash ‘stack-cost’ [2022-03-11T09:45:29.973Z] Stashed 1 file(s) [Pipeline] } [2022-03-11T09:45:29.989Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1103-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-11T09:45:30.063Z] $ docker stop --time=1 dc0ed999960efa7346fd2f2aaaf9961653930b982de296b44a5d35f09a5ba32d [2022-03-11T09:45:31.558Z] $ docker rm -f dc0ed999960efa7346fd2f2aaaf9961653930b982de296b44a5d35f09a5ba32d [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-03-11T09:45:32.629Z] provisioning config files... [2022-03-11T09:45:32.639Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1103@tmp/config8213216196793359846tmp [Pipeline] { [Pipeline] sh [2022-03-11T09:45:32.980Z] + set +x [2022-03-11T09:45:32.980Z] + curl -s https://codecov.io/bash [2022-03-11T09:45:32.980Z] + bash -s -- [2022-03-11T09:45:32.980Z] [2022-03-11T09:45:32.980Z] _____ _ [2022-03-11T09:45:32.980Z] / ____| | | [2022-03-11T09:45:32.980Z] | | ___ __| | ___ ___ _____ __ [2022-03-11T09:45:32.980Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-11T09:45:32.980Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-11T09:45:32.980Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-11T09:45:32.980Z] Bash-1.0.6 [2022-03-11T09:45:32.980Z] [2022-03-11T09:45:32.980Z] [2022-03-11T09:45:32.980Z] ==> git version 2.24.4 found [2022-03-11T09:45:32.980Z] ==> 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-03-11T09:45:32.980Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-03-11T09:45:32.980Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-03-11T09:45:32.980Z] ==> Jenkins CI detected. [2022-03-11T09:45:32.980Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1103 [2022-03-11T09:45:32.980Z] project root: . [2022-03-11T09:45:32.980Z] --> token set from env [2022-03-11T09:45:32.980Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-11T09:45:33.239Z] ==> Running gcov in . (disable via -X gcov) [2022-03-11T09:45:33.239Z] ==> Python coveragepy not found [2022-03-11T09:45:33.239Z] ==> Searching for coverage reports in: [2022-03-11T09:45:33.239Z] + . [2022-03-11T09:45:33.239Z] -> Found 1 reports [2022-03-11T09:45:33.239Z] ==> Detecting git/mercurial file structure [2022-03-11T09:45:33.239Z] ==> Reading reports [2022-03-11T09:45:33.239Z] + ./coverage.out bytes=129001 [2022-03-11T09:45:33.239Z] ==> Appending adjustments [2022-03-11T09:45:33.239Z] https://docs.codecov.io/docs/fixing-reports [2022-03-11T09:45:33.500Z] + Found adjustments [2022-03-11T09:45:33.500Z] ==> Gzipping contents [2022-03-11T09:45:33.500Z] 16K /tmp/codecov.g5Kk0H.gz [2022-03-11T09:45:33.500Z] ==> Uploading reports [2022-03-11T09:45:33.500Z] url: https://codecov.io [2022-03-11T09:45:33.500Z] query: branch=PR-1103&commit=7c8475adb567cd68dbcb96f6f7f55260b59187ca&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1103%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1103&job=&cmd_args= [2022-03-11T09:45:33.500Z] -> Pinging Codecov [2022-03-11T09:45:33.500Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1103&commit=7c8475adb567cd68dbcb96f6f7f55260b59187ca&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1103%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1103&job=&cmd_args= [2022-03-11T09:45:33.764Z] -> Uploading to [2022-03-11T09:45:33.764Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-11/7E55EF52A471D76F132DFD9A03CDDE97/7c8475adb567cd68dbcb96f6f7f55260b59187ca/00635c82-1d07-43fb-ac4a-92c457da5404.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220311%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220311T094533Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b727ca4bb07731ae4e9ed4a6395d84b4508d9dbfdb92a894b4f29ac231a64d1f [2022-03-11T09:45:33.764Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-11T09:45:33.764Z] Dload Upload Total Spent Left Speed [2022-03-11T09:45:34.338Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16287 0 0 100 16287 0 47686 --:--:-- --:--:-- --:--:-- 47762 [2022-03-11T09:45:34.338Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7c8475adb567cd68dbcb96f6f7f55260b59187ca [Pipeline] } [2022-03-11T09:45:34.366Z] 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-03-11T09:45:36.130Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1103/archives ']' [2022-03-11T09:45:36.130Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1103/archives [2022-03-11T09:45:36.130Z] total 8 [2022-03-11T09:45:36.130Z] drwxr-xr-x. 3 root root 34 Mar 11 09:40 . [2022-03-11T09:45:36.130Z] drwxrwxr-x. 12 jenkins jenkins 4096 Mar 11 09:40 .. [2022-03-11T09:45:36.130Z] drwxr-xr-x. 2 root root 6 Mar 11 09:40 cost [2022-03-11T09:45:36.130Z] -rw-r--r--. 1 root root 85 Mar 11 09:40 cost.csv [2022-03-11T09:45:36.130Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1103/archives [2022-03-11T09:45:36.130Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1103/archives [2022-03-11T09:45:36.130Z] total 8 [2022-03-11T09:45:36.130Z] drwxr-xr-x. 3 jenkins jenkins 34 Mar 11 09:40 . [2022-03-11T09:45:36.130Z] drwxrwxr-x. 12 jenkins jenkins 4096 Mar 11 09:40 .. [2022-03-11T09:45:36.130Z] drwxr-xr-x. 2 jenkins jenkins 6 Mar 11 09:40 cost [2022-03-11T09:45:36.130Z] -rw-r--r--. 1 jenkins jenkins 85 Mar 11 09:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-11T09:45:36.461Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-11T09:45:37.046Z] ---> package-listing.sh [2022-03-11T09:45:37.046Z] ++ facter osfamily [2022-03-11T09:45:37.046Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-11T09:45:37.306Z] + OS_FAMILY=redhat [2022-03-11T09:45:37.306Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1103 [2022-03-11T09:45:37.306Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-11T09:45:37.306Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-11T09:45:37.306Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-11T09:45:37.306Z] + PACKAGES=/tmp/packages_start.txt [2022-03-11T09:45:37.306Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1103 ']' [2022-03-11T09:45:37.306Z] + PACKAGES=/tmp/packages_end.txt [2022-03-11T09:45:37.306Z] + case "${OS_FAMILY}" in [2022-03-11T09:45:37.306Z] + rpm -qa [2022-03-11T09:45:37.306Z] + sort [2022-03-11T09:45:37.878Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-11T09:45:37.878Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-11T09:45:37.878Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-11T09:45:37.878Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1103 ']' [2022-03-11T09:45:37.878Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1103/archives/ [2022-03-11T09:45:37.878Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1103/archives/ [Pipeline] echo [2022-03-11T09:45:37.911Z] 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-1103/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-11T09:45:38.204Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-11T09:45:38.808Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-11T09:45:38.808Z] . [Pipeline] withDockerContainer [2022-03-11T09:45:38.891Z] prd-centos7-docker-4c-2g-6834 does not seem to be running inside a container [2022-03-11T09:45:38.922Z] $ 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-1103/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-1103 -v /w/workspace/gexfoundry_device-sdk-go_PR-1103:/w/workspace/gexfoundry_device-sdk-go_PR-1103:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1103@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-11T09:45:39.109Z] $ docker top bcdb7f8aedbbbe0cdfa5b106b44192d97f5e05417d189c6d71fc171c88452653 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-11T09:45:39.502Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-11T09:45:39.814Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-11T09:45:40.129Z] + ls /var/log/sa-host [2022-03-11T09:45:40.129Z] + sadf -c /var/log/sa-host/sa11 [2022-03-11T09:45:40.129Z] file_magic: OK [2022-03-11T09:45:40.129Z] HZ: Using current value: 100 [2022-03-11T09:45:40.129Z] file_header: OK [2022-03-11T09:45:40.129Z] 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-03-11T09:45:40.129Z] Statistics: [2022-03-11T09:45:40.129Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-11T09:45:40.129Z] File successfully converted to sysstat format version 12.5.2 [2022-03-11T09:45:40.129Z] + sadf -c /var/log/sa-host/sa17 [2022-03-11T09:45:40.129Z] file_magic: OK [2022-03-11T09:45:40.129Z] HZ: Using current value: 100 [2022-03-11T09:45:40.129Z] file_header: OK [2022-03-11T09:45:40.129Z] 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-03-11T09:45:40.129Z] Statistics: [2022-03-11T09:45:40.129Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-11T09:45:40.129Z] File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-11T09:45:40.410Z] provisioning config files... [2022-03-11T09:45:40.421Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1103@tmp/config11694658600499669tmp [Pipeline] { [Pipeline] echo [2022-03-11T09:45:40.471Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-11T09:45:40.796Z] ---> create-netrc.sh [Pipeline] } [2022-03-11T09:45:40.823Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-11T09:45:41.229Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-11T09:45:41.262Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-11T09:45:41.582Z] ---> sudo-logs.sh [2022-03-11T09:45:41.582Z] Archiving 'sudo' log.. [2022-03-11T09:45:41.582Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-6834.novalocal: Name or service not known [2022-03-11T09:45:41.582Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-6834.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-03-11T09:45:41.665Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-11T09:45:41.986Z] ---> job-cost.sh [2022-03-11T09:45:41.986Z] lf-activate-venv: SKIPPING [2022-03-11T09:45:41.986Z] DEBUG: total: 0.05999999865889549 [2022-03-11T09:45:41.986Z] INFO: Retrieving Stack Cost... [2022-03-11T09:45:42.247Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-03-11T09:45:42.817Z] INFO: Archiving Costs [Pipeline] echo [2022-03-11T09:45:42.853Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-11T09:45:43.166Z] ---> logs-deploy.sh [2022-03-11T09:45:43.166Z] lf-activate-venv: SKIPPING [2022-03-11T09:45:43.166Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1103/1 [2022-03-11T09:45:43.166Z] INFO: archiving workspace using pattern(s): [2022-03-11T09:45:44.109Z] Archives upload complete. [2022-03-11T09:45:44.109Z] INFO: archiving logs to Nexus [2022-03-11T09:45:44.684Z] ---> uname -a: [2022-03-11T09:45:44.684Z] Linux prd-centos7-docker-4c-2g-6834.novalocal 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 GNU/Linux [2022-03-11T09:45:44.684Z] [2022-03-11T09:45:44.684Z] [2022-03-11T09:45:44.684Z] ---> lscpu: [2022-03-11T09:45:44.684Z] Architecture: x86_64 [2022-03-11T09:45:44.684Z] CPU op-mode(s): 32-bit, 64-bit [2022-03-11T09:45:44.684Z] Byte Order: Little Endian [2022-03-11T09:45:44.684Z] Address sizes: 40 bits physical, 48 bits virtual [2022-03-11T09:45:44.684Z] CPU(s): 2 [2022-03-11T09:45:44.684Z] On-line CPU(s) list: 0,1 [2022-03-11T09:45:44.684Z] Thread(s) per core: 1 [2022-03-11T09:45:44.684Z] Core(s) per socket: 1 [2022-03-11T09:45:44.684Z] Socket(s): 2 [2022-03-11T09:45:44.684Z] NUMA node(s): 1 [2022-03-11T09:45:44.684Z] Vendor ID: AuthenticAMD [2022-03-11T09:45:44.684Z] CPU family: 23 [2022-03-11T09:45:44.684Z] Model: 49 [2022-03-11T09:45:44.684Z] Model name: AMD EPYC-Rome Processor [2022-03-11T09:45:44.684Z] Stepping: 0 [2022-03-11T09:45:44.684Z] CPU MHz: 2799.998 [2022-03-11T09:45:44.684Z] BogoMIPS: 5599.99 [2022-03-11T09:45:44.684Z] Virtualization: AMD-V [2022-03-11T09:45:44.684Z] Hypervisor vendor: KVM [2022-03-11T09:45:44.684Z] Virtualization type: full [2022-03-11T09:45:44.684Z] L1d cache: 64 KiB [2022-03-11T09:45:44.684Z] L1i cache: 64 KiB [2022-03-11T09:45:44.684Z] L2 cache: 1 MiB [2022-03-11T09:45:44.684Z] L3 cache: 32 MiB [2022-03-11T09:45:44.684Z] NUMA node0 CPU(s): 0,1 [2022-03-11T09:45:44.684Z] Vulnerability Itlb multihit: Not affected [2022-03-11T09:45:44.684Z] Vulnerability L1tf: Not affected [2022-03-11T09:45:44.684Z] Vulnerability Mds: Not affected [2022-03-11T09:45:44.684Z] Vulnerability Meltdown: Not affected [2022-03-11T09:45:44.684Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-03-11T09:45:44.684Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2022-03-11T09:45:44.684Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2022-03-11T09:45:44.684Z] Vulnerability Srbds: Not affected [2022-03-11T09:45:44.684Z] Vulnerability Tsx async abort: Not affected [2022-03-11T09:45:44.684Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities [2022-03-11T09:45:44.684Z] [2022-03-11T09:45:44.684Z] [2022-03-11T09:45:44.684Z] ---> nproc: [2022-03-11T09:45:44.684Z] 2 [2022-03-11T09:45:44.684Z] [2022-03-11T09:45:44.684Z]