Pull request #1207 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c2211c4fc92eeb07d5bf1120692d6222e9d0b861+aebae1d3030d171e36a27ba4f472c47eca2add51 (0e966361bfe2cc21ae210d1492ee43ccf1b21d7e) 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-ssh9225502183955429071.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh7055280039641215371.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-1207/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-1207/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6952317105197143994.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-1207/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5138392403959343643.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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 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-ssh5567103015086521639.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-1207/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-1207/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1341673198759286612.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 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22568 in /w/workspace/gexfoundry_device-sdk-go_PR-1207 [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-1207 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 aebae1d3030d171e36a27ba4f472c47eca2add51 into PR head commit c2211c4fc92eeb07d5bf1120692d6222e9d0b861 Merge succeeded, producing c2211c4fc92eeb07d5bf1120692d6222e9d0b861 Checking out Revision c2211c4fc92eeb07d5bf1120692d6222e9d0b861 (PR-1207) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1207/head:refs/remotes/origin/PR-1207 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c2211c4fc92eeb07d5bf1120692d6222e9d0b861 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge aebae1d3030d171e36a27ba4f472c47eca2add51 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c2211c4fc92eeb07d5bf1120692d6222e9d0b861 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-12T04:04:40.337Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-12T04:04:40.514Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-12T04:04:40.602Z] ========================================================= [2022-08-12T04:04:40.602Z] EdgeX Global Pipelines Version Info [2022-08-12T04:04:40.602Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-12T04:04:41.392Z] ------------------- [2022-08-12T04:04:41.392Z] stable info: [2022-08-12T04:04:41.392Z] ------------------- [2022-08-12T04:04:41.392Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-12T04:04:41.392Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-12T04:04:41.392Z] Message: update stable to v1.0.238 [2022-08-12T04:04:41.991Z] ------------------- [2022-08-12T04:04:41.991Z] experimental info: [2022-08-12T04:04:41.991Z] ------------------- [2022-08-12T04:04:41.991Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-12T04:04:41.992Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-12T04:04:41.992Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-12T04:04:42.409Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-08-12T04:04:42.446Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-08-12T04:04:42.485Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-12T04:04:42.530Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-12T04:04:42.568Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-12T04:04:42.610Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-12T04:04:42.650Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-12T04:04:42.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-08-12T04:04:42.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-12T04:04:42.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-12T04:04:42.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-12T04:04:42.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-08-12T04:04:42.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-12T04:04:42.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-12T04:04:42.976Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-12T04:04:43.014Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-08-12T04:04:43.055Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-12T04:04:43.093Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-12T04:04:43.140Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-12T04:04:43.187Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-12T04:04:43.227Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-12T04:04:43.267Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-08-12T04:04:43.306Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-12T04:04:43.345Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-12T04:04:43.385Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-12T04:04:43.425Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-12T04:04:43.464Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-12T04:04:43.506Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1207 [Pipeline] echo [2022-08-12T04:04:43.544Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1207 [Pipeline] echo [2022-08-12T04:04:43.584Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1207 [Pipeline] echo [2022-08-12T04:04:43.621Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c2211c4fc92eeb07d5bf1120692d6222e9d0b861 [Pipeline] echo [2022-08-12T04:04:43.660Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c2211c4 [Pipeline] echo [2022-08-12T04:04:43.698Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T04:04:43.818Z] provisioning config files... [2022-08-12T04:04:43.833Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1207@tmp/config8034306142773900914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T04:04:44.186Z] ---> docker-login.sh [2022-08-12T04:04:44.186Z] nexus3.edgexfoundry.org:10001 [2022-08-12T04:04:44.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T04:04:44.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T04:04:44.712Z] Configure a credential helper to remove this warning. See [2022-08-12T04:04:44.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T04:04:44.712Z] [2022-08-12T04:04:44.712Z] Login Succeeded [2022-08-12T04:04:44.712Z] nexus3.edgexfoundry.org:10002 [2022-08-12T04:04:44.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T04:04:44.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T04:04:44.974Z] Configure a credential helper to remove this warning. See [2022-08-12T04:04:44.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T04:04:44.974Z] [2022-08-12T04:04:44.974Z] Login Succeeded [2022-08-12T04:04:44.974Z] nexus3.edgexfoundry.org:10003 [2022-08-12T04:04:44.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T04:04:44.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T04:04:44.974Z] Configure a credential helper to remove this warning. See [2022-08-12T04:04:44.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T04:04:44.974Z] [2022-08-12T04:04:44.974Z] Login Succeeded [2022-08-12T04:04:44.974Z] nexus3.edgexfoundry.org:10004 [2022-08-12T04:04:45.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T04:04:45.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T04:04:45.236Z] Configure a credential helper to remove this warning. See [2022-08-12T04:04:45.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T04:04:45.236Z] [2022-08-12T04:04:45.236Z] Login Succeeded [2022-08-12T04:04:45.236Z] docker.io [2022-08-12T04:04:45.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T04:04:45.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T04:04:45.498Z] Configure a credential helper to remove this warning. See [2022-08-12T04:04:45.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T04:04:45.498Z] [2022-08-12T04:04:45.498Z] Login Succeeded [2022-08-12T04:04:45.498Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T04:04:45.522Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-12T04:04:46.156Z] + git rev-list -1 --merges c2211c4fc92eeb07d5bf1120692d6222e9d0b861~1..c2211c4fc92eeb07d5bf1120692d6222e9d0b861 [Pipeline] echo [2022-08-12T04:04:46.209Z] -----------> git rev-list -1 --merges c2211c4fc92eeb07d5bf1120692d6222e9d0b861~1..c2211c4fc92eeb07d5bf1120692d6222e9d0b861 c2211c4fc92eeb07d5bf1120692d6222e9d0b861 [false] [Pipeline] sh [2022-08-12T04:04:46.530Z] + git log --format=format:%s -1 c2211c4fc92eeb07d5bf1120692d6222e9d0b861 [Pipeline] echo [2022-08-12T04:04:46.568Z] ========================================================= [2022-08-12T04:04:46.568Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-12T04:04:46.568Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T04:04:47.000Z] + git log --format=format:%s -1 c2211c4fc92eeb07d5bf1120692d6222e9d0b861 [Pipeline] echo [2022-08-12T04:04:47.037Z] [semverPrep] GIT_COMMIT: c2211c4fc92eeb07d5bf1120692d6222e9d0b861, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-08-12T04:04:47.070Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-12T04:04:47.481Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-12T04:04:47.481Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-12T04:04:47.481Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-12T04:04:47.481Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-12T04:04:47.481Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-12T04:04:47.481Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-12T04:04:47.481Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T04:04:47.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T04:04:47.994Z] [2022-08-12T04:04:47.994Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T04:04:48.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T04:04:48.381Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-12T04:04:48.381Z] b85a868b505f: Pulling fs layer [2022-08-12T04:04:48.381Z] e2be974225ed: Pulling fs layer [2022-08-12T04:04:48.381Z] 339a4e72a1f5: Pulling fs layer [2022-08-12T04:04:48.381Z] 988bab9f4d93: Pulling fs layer [2022-08-12T04:04:48.381Z] 1469e6f7b9e6: Pulling fs layer [2022-08-12T04:04:48.381Z] eaf3925da568: Pulling fs layer [2022-08-12T04:04:48.381Z] 988bab9f4d93: Waiting [2022-08-12T04:04:48.381Z] 1469e6f7b9e6: Waiting [2022-08-12T04:04:48.381Z] eaf3925da568: Waiting [2022-08-12T04:04:48.381Z] bab4dde63d76: Pulling fs layer [2022-08-12T04:04:48.381Z] bde34c3a00c8: Pulling fs layer [2022-08-12T04:04:48.381Z] b352a97aabf1: Pulling fs layer [2022-08-12T04:04:48.381Z] 4872d77fe225: Pulling fs layer [2022-08-12T04:04:48.381Z] 5851b861e8e6: Pulling fs layer [2022-08-12T04:04:48.381Z] 4872d77fe225: Waiting [2022-08-12T04:04:48.381Z] b352a97aabf1: Waiting [2022-08-12T04:04:48.381Z] bab4dde63d76: Waiting [2022-08-12T04:04:48.381Z] bde34c3a00c8: Waiting [2022-08-12T04:04:48.381Z] e2be974225ed: Download complete [2022-08-12T04:04:48.381Z] 988bab9f4d93: Download complete [2022-08-12T04:04:48.643Z] 1469e6f7b9e6: Verifying Checksum [2022-08-12T04:04:48.643Z] 1469e6f7b9e6: Download complete [2022-08-12T04:04:48.643Z] eaf3925da568: Download complete [2022-08-12T04:04:48.643Z] 339a4e72a1f5: Verifying Checksum [2022-08-12T04:04:48.643Z] 339a4e72a1f5: Download complete [2022-08-12T04:04:48.643Z] bde34c3a00c8: Verifying Checksum [2022-08-12T04:04:48.643Z] bde34c3a00c8: Download complete [2022-08-12T04:04:48.643Z] b352a97aabf1: Download complete [2022-08-12T04:04:48.643Z] 4872d77fe225: Verifying Checksum [2022-08-12T04:04:48.643Z] 4872d77fe225: Download complete [2022-08-12T04:04:48.643Z] 5851b861e8e6: Download complete [2022-08-12T04:04:48.643Z] b85a868b505f: Verifying Checksum [2022-08-12T04:04:48.643Z] b85a868b505f: Download complete [2022-08-12T04:04:48.905Z] bab4dde63d76: Verifying Checksum [2022-08-12T04:04:48.905Z] bab4dde63d76: Download complete [2022-08-12T04:04:50.292Z] b85a868b505f: Pull complete [2022-08-12T04:04:50.292Z] e2be974225ed: Pull complete [2022-08-12T04:04:50.873Z] 339a4e72a1f5: Pull complete [2022-08-12T04:04:50.873Z] 988bab9f4d93: Pull complete [2022-08-12T04:04:51.136Z] 1469e6f7b9e6: Pull complete [2022-08-12T04:04:51.136Z] eaf3925da568: Pull complete [2022-08-12T04:04:53.688Z] bab4dde63d76: Pull complete [2022-08-12T04:04:53.688Z] bde34c3a00c8: Pull complete [2022-08-12T04:04:53.688Z] b352a97aabf1: Pull complete [2022-08-12T04:04:53.688Z] 4872d77fe225: Pull complete [2022-08-12T04:04:53.688Z] 5851b861e8e6: Pull complete [2022-08-12T04:04:53.688Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-12T04:04:53.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T04:04:53.688Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T04:04:53.928Z] prd-ubuntu20.04-docker-8c-8g-22568 does not seem to be running inside a container [2022-08-12T04:04:53.960Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1207 -v /w/workspace/gexfoundry_device-sdk-go_PR-1207:/w/workspace/gexfoundry_device-sdk-go_PR-1207:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1207@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1207@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-12T04:04:55.452Z] $ docker top e3edb51dcb3702733c4e0d987d4499e8ef5ffe5f480d2babaa263662f8a5eabd -eo pid,comm [2022-08-12T04:04:55.530Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-08-12T04:04:55.530Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-12T04:04:55.664Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T04:04:55.664Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T04:04:55.789Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T04:04:55.786Z] $ docker exec e3edb51dcb3702733c4e0d987d4499e8ef5ffe5f480d2babaa263662f8a5eabd ssh-agent [2022-08-12T04:04:55.924Z] SSH_AUTH_SOCK=/tmp/ssh-9ijzEYUMN1k9/agent.35 [2022-08-12T04:04:55.924Z] SSH_AGENT_PID=41 [2022-08-12T04:04:55.932Z] Running ssh-add (command line suppressed) [2022-08-12T04:04:56.046Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1207@tmp/private_key_6308356675601070975.key (/w/workspace/gexfoundry_device-sdk-go_PR-1207@tmp/private_key_6308356675601070975.key) [2022-08-12T04:04:56.068Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T04:04:56.415Z] + git tag --points-at HEAD [Pipeline] } [2022-08-12T04:04:56.437Z] $ docker exec --env ******** --env ******** e3edb51dcb3702733c4e0d987d4499e8ef5ffe5f480d2babaa263662f8a5eabd ssh-agent -k [2022-08-12T04:04:56.561Z] unset SSH_AUTH_SOCK; [2022-08-12T04:04:56.562Z] unset SSH_AGENT_PID; [2022-08-12T04:04:56.562Z] echo Agent pid 41 killed; [2022-08-12T04:04:56.581Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-12T04:04:56.662Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T04:04:56.662Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T04:04:56.791Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T04:04:56.788Z] $ docker exec e3edb51dcb3702733c4e0d987d4499e8ef5ffe5f480d2babaa263662f8a5eabd ssh-agent [2022-08-12T04:04:56.925Z] SSH_AUTH_SOCK=/tmp/ssh-Q6CEc0cugrUX/agent.74 [2022-08-12T04:04:56.925Z] SSH_AGENT_PID=80 [2022-08-12T04:04:56.931Z] Running ssh-add (command line suppressed) [2022-08-12T04:04:57.051Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1207@tmp/private_key_322615488715323668.key (/w/workspace/gexfoundry_device-sdk-go_PR-1207@tmp/private_key_322615488715323668.key) [2022-08-12T04:04:57.075Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T04:04:57.410Z] + git semver init [2022-08-12T04:04:57.673Z] 2022-08-12 04:04:57,592 [run_init] DEBUG init version:0.0.0 force:False [2022-08-12T04:04:57.673Z] 2022-08-12 04:04:57,593 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1207/.semver [2022-08-12T04:04:57.673Z] 2022-08-12 04:04:57,594 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1207/.semver [2022-08-12T04:04:57.673Z] 2022-08-12 04:04:57,594 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1207/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1207, universal_newlines=False, shell=None, istream=None) [2022-08-12T04:04:58.627Z] 2022-08-12 04:04:58,416 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1207/.git/info/exclude [2022-08-12T04:04:58.627Z] 2022-08-12 04:04:58,417 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1207/.semver/PR-1207 with force:False [2022-08-12T04:04:58.627Z] 2022-08-12 04:04:58,417 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1207/.semver/PR-1207 [2022-08-12T04:04:58.627Z] 2022-08-12 04:04:58,422 [execute] INFO git cat-file --batch-check [2022-08-12T04:04:58.627Z] 2022-08-12 04:04:58,422 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1207/.semver, universal_newlines=False, shell=None, istream=) [2022-08-12T04:04:58.627Z] 2022-08-12 04:04:58,428 [execute] INFO git cat-file --batch [2022-08-12T04:04:58.627Z] 2022-08-12 04:04:58,429 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1207/.semver, universal_newlines=False, shell=None, istream=) [2022-08-12T04:04:58.627Z] 2022-08-12 04:04:58,435 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1207/.semver/PR-1207 [2022-08-12T04:04:58.627Z] 0.0.0 [Pipeline] } [2022-08-12T04:04:58.652Z] $ docker exec --env ******** --env ******** e3edb51dcb3702733c4e0d987d4499e8ef5ffe5f480d2babaa263662f8a5eabd ssh-agent -k [2022-08-12T04:04:58.759Z] unset SSH_AUTH_SOCK; [2022-08-12T04:04:58.759Z] unset SSH_AGENT_PID; [2022-08-12T04:04:58.760Z] echo Agent pid 80 killed; [2022-08-12T04:04:58.776Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-12T04:04:59.206Z] + git semver [Pipeline] } [2022-08-12T04:04:59.492Z] $ docker stop --time=1 e3edb51dcb3702733c4e0d987d4499e8ef5ffe5f480d2babaa263662f8a5eabd [2022-08-12T04:05:00.805Z] $ docker rm -f e3edb51dcb3702733c4e0d987d4499e8ef5ffe5f480d2babaa263662f8a5eabd [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T04:05:01.233Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-12T04:05:01.523Z] Stashed 1 file(s) [Pipeline] echo [2022-08-12T04:05:01.540Z] [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-08-12T04:05:02.147Z] provisioning config files... [2022-08-12T04:05:02.159Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1207@tmp/config4701233059384346319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T04:05:02.507Z] ---> docker-login.sh [2022-08-12T04:05:02.508Z] nexus3.edgexfoundry.org:10001 [2022-08-12T04:05:02.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T04:05:02.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T04:05:02.508Z] Configure a credential helper to remove this warning. See [2022-08-12T04:05:02.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T04:05:02.508Z] [2022-08-12T04:05:02.508Z] Login Succeeded [2022-08-12T04:05:02.508Z] nexus3.edgexfoundry.org:10002 [2022-08-12T04:05:02.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T04:05:02.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T04:05:02.771Z] Configure a credential helper to remove this warning. See [2022-08-12T04:05:02.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T04:05:02.771Z] [2022-08-12T04:05:02.771Z] Login Succeeded [2022-08-12T04:05:02.771Z] nexus3.edgexfoundry.org:10003 [2022-08-12T04:05:02.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T04:05:02.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T04:05:02.771Z] Configure a credential helper to remove this warning. See [2022-08-12T04:05:02.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T04:05:02.771Z] [2022-08-12T04:05:02.771Z] Login Succeeded [2022-08-12T04:05:02.771Z] nexus3.edgexfoundry.org:10004 [2022-08-12T04:05:02.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T04:05:03.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T04:05:03.031Z] Configure a credential helper to remove this warning. See [2022-08-12T04:05:03.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T04:05:03.031Z] [2022-08-12T04:05:03.031Z] Login Succeeded [2022-08-12T04:05:03.031Z] docker.io [2022-08-12T04:05:03.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T04:05:03.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T04:05:03.295Z] Configure a credential helper to remove this warning. See [2022-08-12T04:05:03.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T04:05:03.295Z] [2022-08-12T04:05:03.295Z] Login Succeeded [2022-08-12T04:05:03.295Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T04:05:03.324Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-12T04:05:03.515Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T04:05:03.553Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T04:05:03.586Z] ========================================================= [2022-08-12T04:05:03.586Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-12T04:05:03.586Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T04:05:04.060Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-12T04:05:04.060Z] Sending build context to Docker daemon 9.787MB [2022-08-12T04:05:04.060Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T04:05:04.060Z] Step 2/11 : FROM ${BASE} AS builder [2022-08-12T04:05:04.060Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-12T04:05:04.060Z] 2408cc74d12b: Pulling fs layer [2022-08-12T04:05:04.060Z] ea60b727a1ce: Pulling fs layer [2022-08-12T04:05:04.060Z] 30c4a7721957: Pulling fs layer [2022-08-12T04:05:04.060Z] 370296b7ddb6: Pulling fs layer [2022-08-12T04:05:04.060Z] 7c6cee850709: Pulling fs layer [2022-08-12T04:05:04.060Z] 39a5fcdaea64: Pulling fs layer [2022-08-12T04:05:04.060Z] 370296b7ddb6: Waiting [2022-08-12T04:05:04.060Z] 7c6cee850709: Waiting [2022-08-12T04:05:04.060Z] d94ebbe4e438: Pulling fs layer [2022-08-12T04:05:04.060Z] bcfd1f05c69d: Pulling fs layer [2022-08-12T04:05:04.060Z] 59ccb84bbe0f: Pulling fs layer [2022-08-12T04:05:04.060Z] 39a5fcdaea64: Waiting [2022-08-12T04:05:04.060Z] bcfd1f05c69d: Waiting [2022-08-12T04:05:04.060Z] d94ebbe4e438: Waiting [2022-08-12T04:05:04.060Z] 59ccb84bbe0f: Waiting [2022-08-12T04:05:04.322Z] 30c4a7721957: Verifying Checksum [2022-08-12T04:05:04.322Z] 30c4a7721957: Download complete [2022-08-12T04:05:04.322Z] ea60b727a1ce: Download complete [2022-08-12T04:05:04.322Z] 7c6cee850709: Download complete [2022-08-12T04:05:04.322Z] 39a5fcdaea64: Verifying Checksum [2022-08-12T04:05:04.322Z] 39a5fcdaea64: Download complete [2022-08-12T04:05:04.322Z] 2408cc74d12b: Verifying Checksum [2022-08-12T04:05:04.322Z] 2408cc74d12b: Download complete [2022-08-12T04:05:04.322Z] d94ebbe4e438: Download complete [2022-08-12T04:05:04.322Z] 2408cc74d12b: Pull complete [2022-08-12T04:05:04.584Z] ea60b727a1ce: Pull complete [2022-08-12T04:05:04.584Z] 30c4a7721957: Pull complete [2022-08-12T04:05:04.846Z] 59ccb84bbe0f: Verifying Checksum [2022-08-12T04:05:04.846Z] 59ccb84bbe0f: Download complete [2022-08-12T04:05:04.846Z] bcfd1f05c69d: Verifying Checksum [2022-08-12T04:05:04.846Z] bcfd1f05c69d: Download complete [2022-08-12T04:05:05.106Z] 370296b7ddb6: Verifying Checksum [2022-08-12T04:05:05.106Z] 370296b7ddb6: Download complete [2022-08-12T04:05:09.314Z] 370296b7ddb6: Pull complete [2022-08-12T04:05:09.314Z] 7c6cee850709: Pull complete [2022-08-12T04:05:09.314Z] 39a5fcdaea64: Pull complete [2022-08-12T04:05:09.314Z] d94ebbe4e438: Pull complete [2022-08-12T04:05:11.229Z] bcfd1f05c69d: Pull complete [2022-08-12T04:05:11.799Z] 59ccb84bbe0f: Pull complete [2022-08-12T04:05:11.799Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-12T04:05:11.799Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-12T04:05:11.799Z] ---> a4fb48ad2a94 [2022-08-12T04:05:11.799Z] Step 3/11 : ARG MAKE=make build [2022-08-12T04:05:13.720Z] ---> Running in 08c8ad65a143 [2022-08-12T04:05:13.720Z] Removing intermediate container 08c8ad65a143 [2022-08-12T04:05:13.720Z] ---> b72c4b8983d1 [2022-08-12T04:05:13.720Z] Step 4/11 : WORKDIR /device-sdk-go [2022-08-12T04:05:13.720Z] ---> Running in 0258935597d5 [2022-08-12T04:05:13.985Z] Removing intermediate container 0258935597d5 [2022-08-12T04:05:13.985Z] ---> 20347cee8c8c [2022-08-12T04:05:13.985Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-12T04:05:13.985Z] ---> Running in 7f225692a5e3 [2022-08-12T04:05:13.985Z] Removing intermediate container 7f225692a5e3 [2022-08-12T04:05:13.985Z] ---> ba30b07fa187 [2022-08-12T04:05:13.985Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T04:05:13.985Z] ---> Running in 48f684db7a2f [2022-08-12T04:05:14.572Z] Removing intermediate container 48f684db7a2f [2022-08-12T04:05:14.572Z] ---> 7faf77319744 [2022-08-12T04:05:14.572Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-08-12T04:05:14.834Z] ---> Running in 4ac400777538 [2022-08-12T04:05:15.096Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T04:05:16.043Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T04:05:16.309Z] OK: 211 MiB in 51 packages [2022-08-12T04:05:16.881Z] Removing intermediate container 4ac400777538 [2022-08-12T04:05:16.881Z] ---> 14fca9effc2a [2022-08-12T04:05:16.881Z] Step 8/11 : COPY go.mod vendor* ./ [2022-08-12T04:05:16.881Z] ---> 71d08b69f8e7 [2022-08-12T04:05:16.881Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T04:05:16.881Z] ---> Running in 498d743c9143 [2022-08-12T04:05:16.967Z] Still waiting to schedule task [2022-08-12T04:05:16.967Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-12T04:05:38.875Z] Removing intermediate container 498d743c9143 [2022-08-12T04:05:38.875Z] ---> c16044c609ce [2022-08-12T04:05:38.875Z] Step 10/11 : COPY . . [2022-08-12T04:05:38.875Z] ---> f69f6bfa0e86 [2022-08-12T04:05:38.875Z] Step 11/11 : RUN ${MAKE} [2022-08-12T04:05:38.875Z] ---> Running in 4444bdd35ddd [2022-08-12T04:05:38.875Z] noop [2022-08-12T04:05:38.875Z] Removing intermediate container 4444bdd35ddd [2022-08-12T04:05:38.875Z] ---> 6d015c770919 [2022-08-12T04:05:38.875Z] Successfully built 6d015c770919 [2022-08-12T04:05:38.875Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T04:05:39.338Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-12T04:05:39.338Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T04:05:39.505Z] prd-ubuntu20.04-docker-8c-8g-22568 does not seem to be running inside a container [2022-08-12T04:05:39.539Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1207 -v /w/workspace/gexfoundry_device-sdk-go_PR-1207:/w/workspace/gexfoundry_device-sdk-go_PR-1207:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1207@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1207@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-12T04:05:39.964Z] $ docker top 2aceb2c732ab5bd69dae4df38c6ed7c857a6bebfeaa80f22341a41bcfa4578fb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T04:05:40.367Z] + go version [2022-08-12T04:05:40.367Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-12T04:05:40.405Z] $ docker stop --time=1 2aceb2c732ab5bd69dae4df38c6ed7c857a6bebfeaa80f22341a41bcfa4578fb [2022-08-12T04:05:41.722Z] $ docker rm -f 2aceb2c732ab5bd69dae4df38c6ed7c857a6bebfeaa80f22341a41bcfa4578fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T04:05:42.412Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-12T04:05:42.412Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T04:05:42.571Z] prd-ubuntu20.04-docker-8c-8g-22568 does not seem to be running inside a container [2022-08-12T04:05:42.662Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-sdk-go_PR-1207 -v /w/workspace/gexfoundry_device-sdk-go_PR-1207:/w/workspace/gexfoundry_device-sdk-go_PR-1207:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1207@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1207@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-12T04:05:43.077Z] $ docker top 61304f57958085e1067361275640188830ba0b145a3d4a8eed8d107518ed7b62 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T04:05:43.489Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1207 [Pipeline] fileExists [Pipeline] sh [2022-08-12T04:05:43.854Z] + make test [2022-08-12T04:05:43.854Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-08-12T04:05:50.447Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-08-12T04:06:05.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-08-12T04:06:05.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-08-12T04:06:05.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-08-12T04:06:05.349Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.083s coverage: 23.6% of statements [2022-08-12T04:06:05.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-08-12T04:06:05.349Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.080s coverage: 27.6% of statements [2022-08-12T04:06:05.349Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.075s coverage: 78.9% of statements [2022-08-12T04:06:05.349Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.085s coverage: 10.8% of statements [2022-08-12T04:06:05.349Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.100s coverage: 60.0% of statements [2022-08-12T04:06:05.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-08-12T04:06:05.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-08-12T04:06:05.349Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.083s coverage: 34.8% of statements [2022-08-12T04:06:05.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-08-12T04:06:05.611Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.068s coverage: 85.4% of statements [2022-08-12T04:06:05.611Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-08-12T04:06:05.611Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-08-12T04:06:05.611Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.104s coverage: 65.1% of statements [2022-08-12T04:06:05.611Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-08-12T04:06:05.611Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-08-12T04:06:05.611Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.755s coverage: 89.2% of statements [2022-08-12T04:06:05.611Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-08-12T04:06:05.872Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements [2022-08-12T04:06:05.872Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-08-12T04:06:23.984Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-12T04:06:23.984Z] GO111MODULE=on go vet ./... [2022-08-12T04:06:24.553Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-12T04:06:24.553Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-12T04:06:24.553Z] ./bin/test-attribution-txt.sh [2022-08-12T04:06:24.553Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-08-12T04:06:24.553Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-08-12T04:06:24.553Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-08-12T04:06:24.553Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-12T04:06:24.553Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-12T04:06:24.553Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-08-12T04:06:24.553Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-08-12T04:06:24.592Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-12T04:06:24.627Z] $ docker stop --time=1 61304f57958085e1067361275640188830ba0b145a3d4a8eed8d107518ed7b62 [2022-08-12T04:06:26.924Z] $ docker rm -f 61304f57958085e1067361275640188830ba0b145a3d4a8eed8d107518ed7b62 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T04:06:27.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-12T04:06:27.630Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-12T04:06:28.385Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-12T04:06:28.704Z] + ls -al . [2022-08-12T04:06:28.704Z] total 304 [2022-08-12T04:06:28.704Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 12 04:05 . [2022-08-12T04:06:28.704Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 04:04 .. [2022-08-12T04:06:28.704Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 12 04:04 .dockerignore [2022-08-12T04:06:28.704Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 04:06 .git [2022-08-12T04:06:28.704Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 04:04 .github [2022-08-12T04:06:28.704Z] -rw-rw-r-- 1 jenkins jenkins 131 Aug 12 04:04 .gitignore [2022-08-12T04:06:28.704Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 12 04:04 .golangci.yml [2022-08-12T04:06:28.704Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 04:04 .semver [2022-08-12T04:06:28.704Z] -rw-rw-r-- 1 jenkins jenkins 29536 Aug 12 04:04 CHANGELOG.md [2022-08-12T04:06:28.704Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 04:04 GOVERNANCE.md [2022-08-12T04:06:28.704Z] -rw-rw-r-- 1 jenkins jenkins 880 Aug 12 04:04 Jenkinsfile [2022-08-12T04:06:28.704Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 12 04:04 LICENSE [2022-08-12T04:06:28.704Z] -rw-rw-r-- 1 jenkins jenkins 2002 Aug 12 04:04 Makefile [2022-08-12T04:06:28.704Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 12 04:04 OWNERS.md [2022-08-12T04:06:28.704Z] -rw-rw-r-- 1 jenkins jenkins 4881 Aug 12 04:04 README.md [2022-08-12T04:06:28.704Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 04:05 VERSION [2022-08-12T04:06:28.704Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 04:04 bin [2022-08-12T04:06:28.704Z] -rw-r--r-- 1 jenkins jenkins 131678 Aug 12 04:06 coverage.out [2022-08-12T04:06:28.704Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 12 04:04 example [2022-08-12T04:06:28.704Z] -rw-rw-r-- 1 jenkins jenkins 3553 Aug 12 04:04 go.mod [2022-08-12T04:06:28.704Z] -rw-rw-r-- 1 jenkins jenkins 36743 Aug 12 04:04 go.sum [2022-08-12T04:06:28.704Z] drwxrwxr-x 15 jenkins jenkins 4096 Aug 12 04:04 internal [2022-08-12T04:06:28.704Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 04:04 openapi [2022-08-12T04:06:28.704Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 12 04:04 pkg [2022-08-12T04:06:28.704Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 04:04 snap [2022-08-12T04:06:28.704Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 12 04:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T04:06:29.097Z] + 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=c2211c4fc92eeb07d5bf1120692d6222e9d0b861 --label arch=amd64 --label version=0.0.0 . [2022-08-12T04:06:29.097Z] Sending build context to Docker daemon 9.92MB [2022-08-12T04:06:29.097Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T04:06:29.097Z] Step 2/25 : FROM ${BASE} AS builder [2022-08-12T04:06:29.097Z] ---> 6d015c770919 [2022-08-12T04:06:29.097Z] Step 3/25 : ARG MAKE=make build [2022-08-12T04:06:29.359Z] ---> Running in 9a5423f5bde8 [2022-08-12T04:06:29.359Z] Removing intermediate container 9a5423f5bde8 [2022-08-12T04:06:29.359Z] ---> e056311be7e3 [2022-08-12T04:06:29.359Z] Step 4/25 : WORKDIR /device-sdk-go [2022-08-12T04:06:29.359Z] ---> Running in 7ea3295025b1 [2022-08-12T04:06:29.359Z] Removing intermediate container 7ea3295025b1 [2022-08-12T04:06:29.359Z] ---> 06a4a74fde28 [2022-08-12T04:06:29.359Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-12T04:06:29.618Z] ---> Running in 5231f80842e5 [2022-08-12T04:06:29.618Z] Removing intermediate container 5231f80842e5 [2022-08-12T04:06:29.618Z] ---> 3e55c0e8a558 [2022-08-12T04:06:29.618Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T04:06:29.618Z] ---> Running in ba706f736267 [2022-08-12T04:06:30.194Z] Removing intermediate container ba706f736267 [2022-08-12T04:06:30.194Z] ---> be0f4e278cd6 [2022-08-12T04:06:30.194Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-08-12T04:06:30.194Z] ---> Running in 70057cb9bde2 [2022-08-12T04:06:30.454Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T04:06:31.404Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T04:06:31.668Z] OK: 211 MiB in 51 packages [2022-08-12T04:06:31.930Z] Removing intermediate container 70057cb9bde2 [2022-08-12T04:06:31.930Z] ---> fda9e8992680 [2022-08-12T04:06:31.930Z] Step 8/25 : COPY go.mod vendor* ./ [2022-08-12T04:06:32.192Z] ---> 83b4e0c8a5b9 [2022-08-12T04:06:32.192Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T04:06:32.192Z] ---> Running in 549a1ae7af5d [2022-08-12T04:06:32.765Z] Removing intermediate container 549a1ae7af5d [2022-08-12T04:06:32.765Z] ---> 294c811778c2 [2022-08-12T04:06:32.765Z] Step 10/25 : COPY . . [2022-08-12T04:06:33.337Z] ---> 51615db49a48 [2022-08-12T04:06:33.337Z] Step 11/25 : RUN ${MAKE} [2022-08-12T04:06:33.337Z] ---> Running in 82d3ceee2f47 [2022-08-12T04:06:33.595Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-08-12T04:06:52.412Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-08-12T04:06:53.382Z] Removing intermediate container 82d3ceee2f47 [2022-08-12T04:06:53.382Z] ---> 2c9a56baa54e [2022-08-12T04:06:53.382Z] Step 12/25 : FROM alpine:3.16 [2022-08-12T04:06:53.952Z] 3.16: Pulling from library/alpine [2022-08-12T04:06:54.215Z] 213ec9aee27d: Pulling fs layer [2022-08-12T04:06:54.215Z] 213ec9aee27d: Verifying Checksum [2022-08-12T04:06:54.215Z] 213ec9aee27d: Download complete [2022-08-12T04:06:54.475Z] 213ec9aee27d: Pull complete [2022-08-12T04:06:54.475Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-12T04:06:54.475Z] Status: Downloaded newer image for alpine:3.16 [2022-08-12T04:06:54.475Z] ---> 9c6f07244728 [2022-08-12T04:06:54.475Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-12T04:06:54.736Z] ---> Running in 1cb7c545b07e [2022-08-12T04:06:54.736Z] Removing intermediate container 1cb7c545b07e [2022-08-12T04:06:54.736Z] ---> df659c0ac7f4 [2022-08-12T04:06:54.736Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T04:06:54.736Z] ---> Running in e2d07774aa0f [2022-08-12T04:06:55.307Z] Removing intermediate container e2d07774aa0f [2022-08-12T04:06:55.307Z] ---> 81bb6c0d9745 [2022-08-12T04:06:55.307Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-08-12T04:06:55.307Z] ---> Running in 50557fa7e69e [2022-08-12T04:06:55.566Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T04:06:55.642Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22569 in /w/workspace/gexfoundry_device-sdk-go_PR-1207 [Pipeline] { [Pipeline] ws [2022-08-12T04:06:55.683Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-08-12T04:06:55.766Z] The recommended git tool is: git [2022-08-12T04:06:56.507Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T04:06:57.081Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-08-12T04:06:57.081Z] (2/5) Installing libsodium (1.0.18-r0) [2022-08-12T04:06:57.341Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-12T04:06:57.341Z] (4/5) Installing libzmq (4.3.4-r0) [2022-08-12T04:06:57.341Z] (5/5) Installing zeromq (4.3.4-r0) [2022-08-12T04:06:57.601Z] Executing busybox-1.35.0-r17.trigger [2022-08-12T04:06:57.601Z] OK: 8 MiB in 19 packages [2022-08-12T04:06:57.864Z] Removing intermediate container 50557fa7e69e [2022-08-12T04:06:57.864Z] ---> 4ee0339e522d [2022-08-12T04:06:57.864Z] Step 16/25 : WORKDIR / [2022-08-12T04:06:58.124Z] ---> Running in 119244c10930 [2022-08-12T04:06:58.124Z] Removing intermediate container 119244c10930 [2022-08-12T04:06:58.124Z] ---> 6bb2e5d64bc5 [2022-08-12T04:06:58.124Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-08-12T04:06:58.124Z] ---> 6119f0b5334e [2022-08-12T04:06:58.124Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-08-12T04:06:58.696Z] ---> 36f45adc2b26 [2022-08-12T04:06:58.696Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-08-12T04:06:58.970Z] ---> e26e6775f146 [2022-08-12T04:06:58.970Z] Step 20/25 : EXPOSE 59999 [2022-08-12T04:06:58.970Z] ---> Running in a30ad295348f [2022-08-12T04:06:59.231Z] Removing intermediate container a30ad295348f [2022-08-12T04:06:59.231Z] ---> 34ae0ef4d82f [2022-08-12T04:06:59.231Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-08-12T04:06:59.231Z] ---> Running in 2e4af32b5c3e [2022-08-12T04:06:59.231Z] Removing intermediate container 2e4af32b5c3e [2022-08-12T04:06:59.231Z] ---> 51a31f635fac [2022-08-12T04:06:59.231Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-12T04:06:59.231Z] ---> Running in 151a645518ee [2022-08-12T04:06:59.492Z] Removing intermediate container 151a645518ee [2022-08-12T04:06:59.492Z] ---> 693bb9c48c9d [2022-08-12T04:06:59.492Z] Step 23/25 : LABEL arch=amd64 [2022-08-12T04:06:59.492Z] ---> Running in d9f8c466a854 [2022-08-12T04:06:59.492Z] Removing intermediate container d9f8c466a854 [2022-08-12T04:06:59.492Z] ---> 0ec6f8cb1cf7 [2022-08-12T04:06:59.492Z] Step 24/25 : LABEL git_sha=c2211c4fc92eeb07d5bf1120692d6222e9d0b861 [2022-08-12T04:06:59.752Z] ---> Running in ca1828c2c5bc [2022-08-12T04:06:59.752Z] Removing intermediate container ca1828c2c5bc [2022-08-12T04:06:59.752Z] ---> 691d2710eeb7 [2022-08-12T04:06:59.752Z] Step 25/25 : LABEL version=0.0.0 [2022-08-12T04:06:59.752Z] ---> Running in 5f36c5b3c9fe [2022-08-12T04:06:59.752Z] Removing intermediate container 5f36c5b3c9fe [2022-08-12T04:06:59.752Z] ---> 1db7b851d139 [2022-08-12T04:06:59.752Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-12T04:07:00.012Z] Successfully built 1db7b851d139 [2022-08-12T04:07:00.012Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T04:07:00.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T04:07:00.870Z] [2022-08-12T04:07:00.870Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T04:07:01.243Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T04:07:01.243Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-12T04:07:01.243Z] 5eb5b503b376: Pulling fs layer [2022-08-12T04:07:01.243Z] 5c69ac0246d0: Pulling fs layer [2022-08-12T04:07:01.243Z] ec43610c2a17: Pulling fs layer [2022-08-12T04:07:01.243Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-12T04:07:01.243Z] 33b1e0a273af: Pulling fs layer [2022-08-12T04:07:01.243Z] 5d3b04190fa2: Pulling fs layer [2022-08-12T04:07:01.243Z] 2f39f015ded8: Pulling fs layer [2022-08-12T04:07:01.243Z] 33b1e0a273af: Waiting [2022-08-12T04:07:01.243Z] 5d3b04190fa2: Waiting [2022-08-12T04:07:01.243Z] 2f39f015ded8: Waiting [2022-08-12T04:07:01.243Z] 3a2ae6a8a46f: Waiting [2022-08-12T04:07:01.243Z] 5c69ac0246d0: Download complete [2022-08-12T04:07:01.243Z] 3a2ae6a8a46f: Download complete [2022-08-12T04:07:01.243Z] 33b1e0a273af: Verifying Checksum [2022-08-12T04:07:01.243Z] 33b1e0a273af: Download complete [2022-08-12T04:07:01.243Z] ec43610c2a17: Verifying Checksum [2022-08-12T04:07:01.243Z] ec43610c2a17: Download complete [2022-08-12T04:07:01.507Z] 5d3b04190fa2: Download complete [2022-08-12T04:07:01.507Z] 5eb5b503b376: Download complete [2022-08-12T04:07:02.078Z] 2f39f015ded8: Verifying Checksum [2022-08-12T04:07:02.078Z] 2f39f015ded8: Download complete [2022-08-12T04:07:02.347Z] using credential edgex-jenkins-ssh [2022-08-12T04:07:02.366Z] Cloning the remote Git repository [2022-08-12T04:07:02.647Z] 5eb5b503b376: Pull complete [2022-08-12T04:07:02.647Z] 5c69ac0246d0: Pull complete [2022-08-12T04:07:03.215Z] ec43610c2a17: Pull complete [2022-08-12T04:07:03.215Z] 3a2ae6a8a46f: Pull complete [2022-08-12T04:07:02.453Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-08-12T04:07:02.555Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-08-12T04:07:02.687Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-08-12T04:07:02.691Z] > git --version # timeout=10 [2022-08-12T04:07:02.718Z] > git --version # 'git version 2.25.1' [2022-08-12T04:07:02.720Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T04:07:02.783Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-12T04:07:03.475Z] 33b1e0a273af: Pull complete [2022-08-12T04:07:03.735Z] 5d3b04190fa2: Pull complete [2022-08-12T04:07:04.157Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-08-12T04:07:04.179Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-12T04:07:04.207Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-08-12T04:07:04.293Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-08-12T04:07:04.294Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T04:07:04.320Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1207/head:refs/remotes/origin/PR-1207 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-12T04:07:04.929Z] Merging remotes/origin/main commit aebae1d3030d171e36a27ba4f472c47eca2add51 into PR head commit c2211c4fc92eeb07d5bf1120692d6222e9d0b861 [2022-08-12T04:07:05.214Z] Merge succeeded, producing c2211c4fc92eeb07d5bf1120692d6222e9d0b861 [2022-08-12T04:07:05.214Z] Checking out Revision c2211c4fc92eeb07d5bf1120692d6222e9d0b861 (PR-1207) [2022-08-12T04:07:04.988Z] > git config core.sparsecheckout # timeout=10 [2022-08-12T04:07:05.008Z] > git checkout -f c2211c4fc92eeb07d5bf1120692d6222e9d0b861 # timeout=10 [2022-08-12T04:07:05.120Z] > git remote # timeout=10 [2022-08-12T04:07:05.136Z] > git config --get remote.origin.url # timeout=10 [2022-08-12T04:07:05.157Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T04:07:05.168Z] > git merge aebae1d3030d171e36a27ba4f472c47eca2add51 # timeout=10 [2022-08-12T04:07:05.194Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-12T04:07:05.222Z] > git config core.sparsecheckout # timeout=10 [2022-08-12T04:07:05.239Z] > git checkout -f c2211c4fc92eeb07d5bf1120692d6222e9d0b861 # timeout=10 [2022-08-12T04:07:07.933Z] 2f39f015ded8: Pull complete [2022-08-12T04:07:07.933Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-12T04:07:07.933Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T04:07:07.933Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T04:07:08.162Z] prd-ubuntu20.04-docker-8c-8g-22568 does not seem to be running inside a container [2022-08-12T04:07:08.204Z] $ 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-1207 -v /w/workspace/gexfoundry_device-sdk-go_PR-1207:/w/workspace/gexfoundry_device-sdk-go_PR-1207:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1207@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1207@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-12T04:07:09.470Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2022-08-12T04:07:09.524Z] > git --version # timeout=10 [2022-08-12T04:07:09.537Z] > git --version # 'git version 2.25.1' [2022-08-12T04:07:09.555Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-12T04:07:09.846Z] [2022-08-12T04:07:09.846Z] GitHub has been notified of this commit’s build result [2022-08-12T04:07:09.846Z] [2022-08-12T04:07:09.971Z] $ docker top f08e2827f0c4ee1354f16b811b146df4e674606383bbcaa581a82f6bddaa791b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T04:07:10.441Z] ---> job-cost.sh [2022-08-12T04:07:10.441Z] lf-activate-venv: SKIPPING [2022-08-12T04:07:10.441Z] INFO: No Stack... [2022-08-12T04:07:10.896Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-12T04:07:10.896Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-12T04:07:10.896Z] Dload Upload Total Spent Left Speed [2022-08-12T04:07:10.896Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 96343 0 --:--:-- --:--:-- --:--:-- 96343 [2022-08-12T04:07:11.013Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh [2022-08-12T04:07:11.274Z] INFO: Archiving Costs [Pipeline] sh [2022-08-12T04:07:11.741Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-12T04:07:11.821Z] + + cut -d, -f6 [2022-08-12T04:07:11.821Z] cat /w/workspace/gexfoundry_device-sdk-go_PR-1207/archives/cost.csv [Pipeline] lock [2022-08-12T04:07:11.904Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1207-1-stack-cost] [2022-08-12T04:07:11.909Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1207-1-stack-cost] did not exist. Created. [2022-08-12T04:07:11.909Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1207-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-12T04:07:12.100Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-12T04:07:12.100Z] + sudo tee /etc/docker/daemon.new [2022-08-12T04:07:12.100Z] { [2022-08-12T04:07:12.100Z] "registry-mirrors": [ [2022-08-12T04:07:12.100Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-12T04:07:12.100Z] ], [2022-08-12T04:07:12.100Z] "bip": "10.250.0.254/24", [2022-08-12T04:07:12.100Z] "hosts": [ [2022-08-12T04:07:12.100Z] "tcp://0.0.0.0:5555", [2022-08-12T04:07:12.100Z] "unix:///var/run/docker.sock" [2022-08-12T04:07:12.100Z] ], [2022-08-12T04:07:12.100Z] "mtu": 1458, [2022-08-12T04:07:12.100Z] "selinux-enabled": true, [2022-08-12T04:07:12.100Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-12T04:07:12.100Z] } [Pipeline] sh [2022-08-12T04:07:12.307Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-12T04:07:12.358Z] Stashed 1 file(s) [Pipeline] } [2022-08-12T04:07:12.387Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1207-1-stack-cost] [Pipeline] // lock [2022-08-12T04:07:12.449Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] } [2022-08-12T04:07:12.469Z] $ docker stop --time=1 f08e2827f0c4ee1354f16b811b146df4e674606383bbcaa581a82f6bddaa791b [2022-08-12T04:07:13.658Z] $ docker rm -f f08e2827f0c4ee1354f16b811b146df4e674606383bbcaa581a82f6bddaa791b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-12T04:07:14.113Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T04:07:32.512Z] provisioning config files... [2022-08-12T04:07:32.540Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config57582840307206617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T04:07:32.958Z] ---> docker-login.sh [2022-08-12T04:07:32.959Z] nexus3.edgexfoundry.org:10001 [2022-08-12T04:07:33.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T04:07:33.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T04:07:33.829Z] Configure a credential helper to remove this warning. See [2022-08-12T04:07:33.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T04:07:33.829Z] [2022-08-12T04:07:33.829Z] Login Succeeded [2022-08-12T04:07:33.829Z] nexus3.edgexfoundry.org:10002 [2022-08-12T04:07:34.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T04:07:34.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T04:07:34.375Z] Configure a credential helper to remove this warning. See [2022-08-12T04:07:34.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T04:07:34.375Z] [2022-08-12T04:07:34.375Z] Login Succeeded [2022-08-12T04:07:34.375Z] nexus3.edgexfoundry.org:10003 [2022-08-12T04:07:34.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T04:07:34.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T04:07:34.650Z] Configure a credential helper to remove this warning. See [2022-08-12T04:07:34.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T04:07:34.650Z] [2022-08-12T04:07:34.650Z] Login Succeeded [2022-08-12T04:07:34.650Z] nexus3.edgexfoundry.org:10004 [2022-08-12T04:07:35.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T04:07:35.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T04:07:35.246Z] Configure a credential helper to remove this warning. See [2022-08-12T04:07:35.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T04:07:35.246Z] [2022-08-12T04:07:35.246Z] Login Succeeded [2022-08-12T04:07:35.247Z] docker.io [2022-08-12T04:07:35.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T04:07:36.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T04:07:36.116Z] Configure a credential helper to remove this warning. See [2022-08-12T04:07:36.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T04:07:36.116Z] [2022-08-12T04:07:36.116Z] Login Succeeded [2022-08-12T04:07:36.116Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T04:07:36.145Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-12T04:07:36.519Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T04:07:36.554Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T04:07:36.583Z] ========================================================= [2022-08-12T04:07:36.583Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-12T04:07:36.583Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T04:07:37.088Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-12T04:07:37.364Z] Sending build context to Docker daemon 5.259MB [2022-08-12T04:07:37.641Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T04:07:37.641Z] Step 2/11 : FROM ${BASE} AS builder [2022-08-12T04:07:37.641Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-12T04:07:37.641Z] b3c136eddcbf: Pulling fs layer [2022-08-12T04:07:37.641Z] c0a3192eca97: Pulling fs layer [2022-08-12T04:07:37.641Z] a050256f5b6f: Pulling fs layer [2022-08-12T04:07:37.641Z] 656be50a0ddc: Pulling fs layer [2022-08-12T04:07:37.641Z] 2bbca73fdf42: Pulling fs layer [2022-08-12T04:07:37.641Z] 46d945488cbd: Pulling fs layer [2022-08-12T04:07:37.641Z] 8a5474983e97: Pulling fs layer [2022-08-12T04:07:37.641Z] 329c88fbcd65: Pulling fs layer [2022-08-12T04:07:37.641Z] 656be50a0ddc: Waiting [2022-08-12T04:07:37.641Z] 2bbca73fdf42: Waiting [2022-08-12T04:07:37.641Z] 46d945488cbd: Waiting [2022-08-12T04:07:37.641Z] 8a5474983e97: Waiting [2022-08-12T04:07:37.641Z] 329c88fbcd65: Waiting [2022-08-12T04:07:37.641Z] a050256f5b6f: Verifying Checksum [2022-08-12T04:07:37.641Z] a050256f5b6f: Download complete [2022-08-12T04:07:37.641Z] c0a3192eca97: Verifying Checksum [2022-08-12T04:07:37.641Z] c0a3192eca97: Download complete [2022-08-12T04:07:37.641Z] 2bbca73fdf42: Verifying Checksum [2022-08-12T04:07:37.641Z] 2bbca73fdf42: Download complete [2022-08-12T04:07:37.927Z] b3c136eddcbf: Verifying Checksum [2022-08-12T04:07:37.927Z] b3c136eddcbf: Download complete [2022-08-12T04:07:37.927Z] 46d945488cbd: Verifying Checksum [2022-08-12T04:07:37.927Z] 46d945488cbd: Download complete [2022-08-12T04:07:38.921Z] b3c136eddcbf: Pull complete [2022-08-12T04:07:38.921Z] 329c88fbcd65: Verifying Checksum [2022-08-12T04:07:38.921Z] 329c88fbcd65: Download complete [2022-08-12T04:07:39.526Z] c0a3192eca97: Pull complete [2022-08-12T04:07:39.800Z] a050256f5b6f: Pull complete [2022-08-12T04:07:40.073Z] 8a5474983e97: Verifying Checksum [2022-08-12T04:07:40.073Z] 8a5474983e97: Download complete [2022-08-12T04:07:40.674Z] 656be50a0ddc: Verifying Checksum [2022-08-12T04:07:40.674Z] 656be50a0ddc: Download complete [2022-08-12T04:07:53.079Z] 656be50a0ddc: Pull complete [2022-08-12T04:07:53.359Z] 2bbca73fdf42: Pull complete [2022-08-12T04:07:53.633Z] 46d945488cbd: Pull complete [2022-08-12T04:08:00.359Z] 8a5474983e97: Pull complete [2022-08-12T04:08:01.798Z] 329c88fbcd65: Pull complete [2022-08-12T04:08:01.798Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-12T04:08:01.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-12T04:08:01.798Z] ---> ff4287adb874 [2022-08-12T04:08:01.798Z] Step 3/11 : ARG MAKE=make build [2022-08-12T04:08:03.801Z] ---> Running in 17ba52f95b3b [2022-08-12T04:08:04.401Z] Removing intermediate container 17ba52f95b3b [2022-08-12T04:08:04.401Z] ---> dd67d4eb201e [2022-08-12T04:08:04.401Z] Step 4/11 : WORKDIR /device-sdk-go [2022-08-12T04:08:04.401Z] ---> Running in f2cff7c33074 [2022-08-12T04:08:04.688Z] Removing intermediate container f2cff7c33074 [2022-08-12T04:08:04.688Z] ---> 6ba727b1f7af [2022-08-12T04:08:04.688Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-12T04:08:04.688Z] ---> Running in 21956b453611 [2022-08-12T04:08:06.135Z] Removing intermediate container 21956b453611 [2022-08-12T04:08:06.135Z] ---> da37828e322b [2022-08-12T04:08:06.135Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T04:08:06.135Z] ---> Running in ad81810b03d0 [2022-08-12T04:08:08.135Z] Removing intermediate container ad81810b03d0 [2022-08-12T04:08:08.135Z] ---> 00cc66530a1d [2022-08-12T04:08:08.135Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-08-12T04:08:08.135Z] ---> Running in b0b002f51615 [2022-08-12T04:08:09.119Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T04:08:10.095Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T04:08:11.086Z] OK: 221 MiB in 51 packages [2022-08-12T04:08:11.689Z] Removing intermediate container b0b002f51615 [2022-08-12T04:08:11.689Z] ---> c318cb69d2f8 [2022-08-12T04:08:11.689Z] Step 8/11 : COPY go.mod vendor* ./ [2022-08-12T04:08:12.292Z] ---> b6b196e3d5a7 [2022-08-12T04:08:12.292Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T04:08:12.292Z] ---> Running in f682b4465a98 [2022-08-12T04:09:08.997Z] Removing intermediate container f682b4465a98 [2022-08-12T04:09:08.997Z] ---> cfd2cb751b5f [2022-08-12T04:09:08.997Z] Step 10/11 : COPY . . [2022-08-12T04:09:08.997Z] ---> cc6502759be3 [2022-08-12T04:09:08.997Z] Step 11/11 : RUN ${MAKE} [2022-08-12T04:09:08.997Z] ---> Running in 63190579fc34 [2022-08-12T04:09:08.997Z] noop [2022-08-12T04:09:08.997Z] Removing intermediate container 63190579fc34 [2022-08-12T04:09:08.997Z] ---> 35b5e16c7dd0 [2022-08-12T04:09:08.997Z] Successfully built 35b5e16c7dd0 [2022-08-12T04:09:08.997Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T04:09:09.496Z] + docker inspect -f . ci-base-image-arm64 [2022-08-12T04:09:09.497Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T04:09:09.833Z] prd-ubuntu20.04-docker-arm64-4c-16g-22569 does not seem to be running inside a container [2022-08-12T04:09:09.919Z] $ 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 ******** ci-base-image-arm64 cat [2022-08-12T04:09:11.276Z] $ docker top 964279541ba2e008e305191eb0a324f19e17fec94f1802266b27ca7acbc38886 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T04:09:12.238Z] + go version [2022-08-12T04:09:12.239Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-12T04:09:12.276Z] $ docker stop --time=1 964279541ba2e008e305191eb0a324f19e17fec94f1802266b27ca7acbc38886 [2022-08-12T04:09:13.928Z] $ docker rm -f 964279541ba2e008e305191eb0a324f19e17fec94f1802266b27ca7acbc38886 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T04:09:14.845Z] + docker inspect -f . ci-base-image-arm64 [2022-08-12T04:09:14.845Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T04:09:15.172Z] prd-ubuntu20.04-docker-arm64-4c-16g-22569 does not seem to be running inside a container [2022-08-12T04:09:15.252Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 ******** ci-base-image-arm64 cat [2022-08-12T04:09:16.538Z] $ docker top e44feb8bb97062bb8be986c17a26bae6d375f992b32ece4e6c47bd10326bfadc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T04:09:17.515Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-08-12T04:09:18.249Z] + make test [2022-08-12T04:09:18.249Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-08-12T04:09:50.607Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-08-12T04:11:42.544Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-08-12T04:11:42.544Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-08-12T04:11:42.544Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-08-12T04:11:47.999Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.543s coverage: 23.6% of statements [2022-08-12T04:11:47.999Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-08-12T04:11:47.999Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.255s coverage: 27.6% of statements [2022-08-12T04:11:47.999Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.348s coverage: 78.9% of statements [2022-08-12T04:11:47.999Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.374s coverage: 10.8% of statements [2022-08-12T04:11:49.460Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.469s coverage: 60.0% of statements [2022-08-12T04:11:49.460Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-08-12T04:11:49.460Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-08-12T04:11:52.890Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.345s coverage: 34.8% of statements [2022-08-12T04:11:52.890Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-08-12T04:11:52.890Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.332s coverage: 85.4% of statements [2022-08-12T04:11:52.890Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-08-12T04:11:52.890Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-08-12T04:11:58.363Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.447s coverage: 65.1% of statements [2022-08-12T04:11:58.363Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-08-12T04:11:58.363Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-08-12T04:11:58.964Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.326s coverage: 89.2% of statements [2022-08-12T04:11:58.964Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-08-12T04:11:59.952Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.239s coverage: 4.7% of statements [2022-08-12T04:11:59.953Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-08-12T04:12:00.933Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-12T04:12:00.933Z] GO111MODULE=on go vet ./... [2022-08-12T04:13:37.827Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-12T04:13:37.828Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-12T04:13:37.828Z] ./bin/test-attribution-txt.sh [2022-08-12T04:13:37.828Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-08-12T04:13:37.828Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-08-12T04:13:37.828Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-08-12T04:13:37.828Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-12T04:13:37.828Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-12T04:13:37.828Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-08-12T04:13:37.828Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-08-12T04:13:37.865Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-12T04:13:37.892Z] $ docker stop --time=1 e44feb8bb97062bb8be986c17a26bae6d375f992b32ece4e6c47bd10326bfadc [2022-08-12T04:13:39.710Z] $ docker rm -f e44feb8bb97062bb8be986c17a26bae6d375f992b32ece4e6c47bd10326bfadc [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T04:13:41.136Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-12T04:13:41.172Z] Warning: overwriting stash ‘coverage-report’ [2022-08-12T04:13:41.802Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T04:13:42.420Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-12T04:13:42.778Z] + ls -al . [2022-08-12T04:13:42.778Z] total 300 [2022-08-12T04:13:42.778Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 04:09 . [2022-08-12T04:13:42.778Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 04:07 .. [2022-08-12T04:13:42.778Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 12 04:07 .dockerignore [2022-08-12T04:13:42.778Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 04:07 .git [2022-08-12T04:13:42.778Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 04:07 .github [2022-08-12T04:13:42.778Z] -rw-rw-r-- 1 jenkins jenkins 131 Aug 12 04:07 .gitignore [2022-08-12T04:13:42.778Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 12 04:07 .golangci.yml [2022-08-12T04:13:42.778Z] -rw-rw-r-- 1 jenkins jenkins 29536 Aug 12 04:07 CHANGELOG.md [2022-08-12T04:13:42.778Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 04:07 GOVERNANCE.md [2022-08-12T04:13:42.778Z] -rw-rw-r-- 1 jenkins jenkins 880 Aug 12 04:07 Jenkinsfile [2022-08-12T04:13:42.778Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 12 04:07 LICENSE [2022-08-12T04:13:42.778Z] -rw-rw-r-- 1 jenkins jenkins 2002 Aug 12 04:07 Makefile [2022-08-12T04:13:42.778Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 12 04:07 OWNERS.md [2022-08-12T04:13:42.778Z] -rw-rw-r-- 1 jenkins jenkins 4881 Aug 12 04:07 README.md [2022-08-12T04:13:42.778Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 04:05 VERSION [2022-08-12T04:13:42.778Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 04:07 bin [2022-08-12T04:13:42.778Z] -rw-r--r-- 1 jenkins jenkins 131678 Aug 12 04:11 coverage.out [2022-08-12T04:13:42.778Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 12 04:07 example [2022-08-12T04:13:42.778Z] -rw-rw-r-- 1 jenkins jenkins 3553 Aug 12 04:07 go.mod [2022-08-12T04:13:42.778Z] -rw-rw-r-- 1 jenkins jenkins 36743 Aug 12 04:07 go.sum [2022-08-12T04:13:42.778Z] drwxrwxr-x 15 jenkins jenkins 4096 Aug 12 04:07 internal [2022-08-12T04:13:42.779Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 04:07 openapi [2022-08-12T04:13:42.779Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 12 04:07 pkg [2022-08-12T04:13:42.779Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 04:07 snap [2022-08-12T04:13:42.779Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 12 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T04:13:43.231Z] + 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=c2211c4fc92eeb07d5bf1120692d6222e9d0b861 --label arch=arm64 --label version=0.0.0 . [2022-08-12T04:13:43.831Z] Sending build context to Docker daemon 5.391MB [2022-08-12T04:13:43.831Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T04:13:43.831Z] Step 2/25 : FROM ${BASE} AS builder [2022-08-12T04:13:43.831Z] ---> 35b5e16c7dd0 [2022-08-12T04:13:43.831Z] Step 3/25 : ARG MAKE=make build [2022-08-12T04:13:43.831Z] ---> Running in d835c76da6b9 [2022-08-12T04:13:44.108Z] Removing intermediate container d835c76da6b9 [2022-08-12T04:13:44.108Z] ---> 21c3c8c9b226 [2022-08-12T04:13:44.108Z] Step 4/25 : WORKDIR /device-sdk-go [2022-08-12T04:13:44.108Z] ---> Running in 75bccf266cf2 [2022-08-12T04:13:44.706Z] Removing intermediate container 75bccf266cf2 [2022-08-12T04:13:44.706Z] ---> c15779622fbb [2022-08-12T04:13:44.706Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-12T04:13:44.706Z] ---> Running in 83d0e9464711 [2022-08-12T04:13:44.983Z] Removing intermediate container 83d0e9464711 [2022-08-12T04:13:44.983Z] ---> b3db7ef94657 [2022-08-12T04:13:44.983Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T04:13:44.983Z] ---> Running in 14aec853a5ae [2022-08-12T04:13:46.967Z] Removing intermediate container 14aec853a5ae [2022-08-12T04:13:46.967Z] ---> 6f57b9b9d9be [2022-08-12T04:13:46.967Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-08-12T04:13:46.967Z] ---> Running in 0ce2a8d945ac [2022-08-12T04:13:47.962Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T04:13:48.947Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T04:13:49.937Z] OK: 221 MiB in 51 packages [2022-08-12T04:13:50.542Z] Removing intermediate container 0ce2a8d945ac [2022-08-12T04:13:50.543Z] ---> 26f4bd6312c5 [2022-08-12T04:13:50.543Z] Step 8/25 : COPY go.mod vendor* ./ [2022-08-12T04:13:51.147Z] ---> 08b899842aa4 [2022-08-12T04:13:51.147Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T04:13:51.147Z] ---> Running in 07c5a142995b [2022-08-12T04:13:53.143Z] Removing intermediate container 07c5a142995b [2022-08-12T04:13:53.143Z] ---> 80022e83db80 [2022-08-12T04:13:53.143Z] Step 10/25 : COPY . . [2022-08-12T04:13:54.619Z] ---> e02f534b17c7 [2022-08-12T04:13:54.619Z] Step 11/25 : RUN ${MAKE} [2022-08-12T04:13:54.619Z] ---> Running in 1bbd31c3533a [2022-08-12T04:13:55.603Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-08-12T04:16:02.485Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-08-12T04:16:03.926Z] Removing intermediate container 1bbd31c3533a [2022-08-12T04:16:03.926Z] ---> bfe8a38f97bb [2022-08-12T04:16:03.926Z] Step 12/25 : FROM alpine:3.16 [2022-08-12T04:16:04.909Z] 3.16: Pulling from library/alpine [2022-08-12T04:16:04.909Z] 9b18e9b68314: Pulling fs layer [2022-08-12T04:16:05.186Z] 9b18e9b68314: Verifying Checksum [2022-08-12T04:16:05.186Z] 9b18e9b68314: Download complete [2022-08-12T04:16:05.789Z] 9b18e9b68314: Pull complete [2022-08-12T04:16:05.789Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-12T04:16:05.789Z] Status: Downloaded newer image for alpine:3.16 [2022-08-12T04:16:05.789Z] ---> a6215f271958 [2022-08-12T04:16:05.789Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-12T04:16:05.789Z] ---> Running in 4cc13f289581 [2022-08-12T04:16:06.066Z] Removing intermediate container 4cc13f289581 [2022-08-12T04:16:06.066Z] ---> 7518cd79ea04 [2022-08-12T04:16:06.066Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T04:16:06.338Z] ---> Running in 42634f3db7ad [2022-08-12T04:16:07.798Z] Removing intermediate container 42634f3db7ad [2022-08-12T04:16:07.798Z] ---> e2f53b1075b6 [2022-08-12T04:16:07.798Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-08-12T04:16:08.085Z] ---> Running in cf4da362e7ca [2022-08-12T04:16:09.070Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T04:16:10.055Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T04:16:11.039Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-08-12T04:16:11.039Z] (2/5) Installing libsodium (1.0.18-r0) [2022-08-12T04:16:11.313Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-12T04:16:11.313Z] (4/5) Installing libzmq (4.3.4-r0) [2022-08-12T04:16:11.590Z] (5/5) Installing zeromq (4.3.4-r0) [2022-08-12T04:16:11.590Z] Executing busybox-1.35.0-r17.trigger [2022-08-12T04:16:11.590Z] OK: 8 MiB in 19 packages [2022-08-12T04:16:12.573Z] Removing intermediate container cf4da362e7ca [2022-08-12T04:16:12.573Z] ---> 1573f487ee2c [2022-08-12T04:16:12.573Z] Step 16/25 : WORKDIR / [2022-08-12T04:16:12.573Z] ---> Running in 0128c74d5e52 [2022-08-12T04:16:13.186Z] Removing intermediate container 0128c74d5e52 [2022-08-12T04:16:13.186Z] ---> 26186b4007df [2022-08-12T04:16:13.186Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-08-12T04:16:13.801Z] ---> 63b50fcb1aa4 [2022-08-12T04:16:13.801Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-08-12T04:16:15.251Z] ---> a765a2c823a7 [2022-08-12T04:16:15.251Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-08-12T04:16:15.855Z] ---> 0aeb9bd509bf [2022-08-12T04:16:15.855Z] Step 20/25 : EXPOSE 59999 [2022-08-12T04:16:15.855Z] ---> Running in 953f10c946db [2022-08-12T04:16:16.130Z] Removing intermediate container 953f10c946db [2022-08-12T04:16:16.130Z] ---> dd4d48f4dc34 [2022-08-12T04:16:16.130Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-08-12T04:16:16.130Z] ---> Running in 851ba3e0b666 [2022-08-12T04:16:16.734Z] Removing intermediate container 851ba3e0b666 [2022-08-12T04:16:16.734Z] ---> 932def963444 [2022-08-12T04:16:16.734Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-12T04:16:16.734Z] ---> Running in 775d708cb938 [2022-08-12T04:16:17.008Z] Removing intermediate container 775d708cb938 [2022-08-12T04:16:17.008Z] ---> 4bda44e2501b [2022-08-12T04:16:17.008Z] Step 23/25 : LABEL arch=arm64 [2022-08-12T04:16:17.008Z] ---> Running in b4a3d9bd96f8 [2022-08-12T04:16:17.283Z] Removing intermediate container b4a3d9bd96f8 [2022-08-12T04:16:17.283Z] ---> 0c3dbbe41128 [2022-08-12T04:16:17.283Z] Step 24/25 : LABEL git_sha=c2211c4fc92eeb07d5bf1120692d6222e9d0b861 [2022-08-12T04:16:17.560Z] ---> Running in 50c59d5b7eba [2022-08-12T04:16:17.835Z] Removing intermediate container 50c59d5b7eba [2022-08-12T04:16:17.835Z] ---> 28dd399947de [2022-08-12T04:16:17.835Z] Step 25/25 : LABEL version=0.0.0 [2022-08-12T04:16:17.835Z] ---> Running in 6a76cb4941aa [2022-08-12T04:16:18.111Z] Removing intermediate container 6a76cb4941aa [2022-08-12T04:16:18.111Z] ---> ac1b7cc70416 [2022-08-12T04:16:18.111Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-12T04:16:18.111Z] Successfully built ac1b7cc70416 [2022-08-12T04:16:18.111Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T04:16:18.980Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T04:16:18.980Z] [2022-08-12T04:16:18.980Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T04:16:19.411Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T04:16:19.692Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-12T04:16:19.692Z] 8998bd30e6a1: Pulling fs layer [2022-08-12T04:16:19.692Z] 04944245beec: Pulling fs layer [2022-08-12T04:16:19.692Z] 699f458cf7ca: Pulling fs layer [2022-08-12T04:16:19.692Z] 765212b225bb: Pulling fs layer [2022-08-12T04:16:19.692Z] f23df028b6ca: Pulling fs layer [2022-08-12T04:16:19.692Z] d65c8cfc05b1: Pulling fs layer [2022-08-12T04:16:19.692Z] 2437ff75d9bd: Pulling fs layer [2022-08-12T04:16:19.692Z] d65c8cfc05b1: Waiting [2022-08-12T04:16:19.692Z] 765212b225bb: Waiting [2022-08-12T04:16:19.692Z] f23df028b6ca: Waiting [2022-08-12T04:16:19.692Z] 2437ff75d9bd: Waiting [2022-08-12T04:16:19.692Z] 04944245beec: Verifying Checksum [2022-08-12T04:16:19.692Z] 04944245beec: Download complete [2022-08-12T04:16:19.692Z] 765212b225bb: Verifying Checksum [2022-08-12T04:16:19.692Z] 765212b225bb: Download complete [2022-08-12T04:16:19.692Z] f23df028b6ca: Verifying Checksum [2022-08-12T04:16:19.692Z] f23df028b6ca: Download complete [2022-08-12T04:16:19.972Z] d65c8cfc05b1: Verifying Checksum [2022-08-12T04:16:19.972Z] d65c8cfc05b1: Download complete [2022-08-12T04:16:19.972Z] 699f458cf7ca: Verifying Checksum [2022-08-12T04:16:19.972Z] 699f458cf7ca: Download complete [2022-08-12T04:16:20.249Z] 8998bd30e6a1: Verifying Checksum [2022-08-12T04:16:20.249Z] 8998bd30e6a1: Download complete [2022-08-12T04:16:22.880Z] 2437ff75d9bd: Verifying Checksum [2022-08-12T04:16:22.880Z] 2437ff75d9bd: Download complete [2022-08-12T04:16:24.872Z] 8998bd30e6a1: Pull complete [2022-08-12T04:16:25.147Z] 04944245beec: Pull complete [2022-08-12T04:16:26.598Z] 699f458cf7ca: Pull complete [2022-08-12T04:16:26.874Z] 765212b225bb: Pull complete [2022-08-12T04:16:27.859Z] f23df028b6ca: Pull complete [2022-08-12T04:16:28.133Z] d65c8cfc05b1: Pull complete [2022-08-12T04:16:43.241Z] 2437ff75d9bd: Pull complete [2022-08-12T04:16:43.241Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-12T04:16:43.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T04:16:43.241Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T04:16:43.690Z] prd-ubuntu20.04-docker-arm64-4c-16g-22569 does not seem to be running inside a container [2022-08-12T04:16:43.787Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-12T04:16:46.592Z] $ docker top 2fa0eb25684c166a6eaae70a5081e155d220ffd9644c1be7b91fbf22c4b9aa79 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T04:16:47.737Z] ---> job-cost.sh [2022-08-12T04:16:47.737Z] lf-activate-venv: SKIPPING [2022-08-12T04:16:47.737Z] INFO: No Stack... [2022-08-12T04:16:48.349Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-12T04:16:49.351Z] INFO: Archiving Costs [Pipeline] sh [2022-08-12T04:16:50.060Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-08-12T04:16:50.060Z] + cut -d, -f6 [Pipeline] lock [2022-08-12T04:16:50.150Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1207-1-stack-cost] [2022-08-12T04:16:50.154Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1207-1-stack-cost] did not exist. Created. [2022-08-12T04:16:50.154Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1207-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-12T04:16:50.965Z] /w/workspace/device-sdk-go/1@tmp/durable-ba9c97d0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-12T04:16:51.726Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-12T04:16:51.768Z] Warning: overwriting stash ‘stack-cost’ [2022-08-12T04:16:51.926Z] Stashed 1 file(s) [Pipeline] } [2022-08-12T04:16:51.942Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1207-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-12T04:16:52.017Z] $ docker stop --time=1 2fa0eb25684c166a6eaae70a5081e155d220ffd9644c1be7b91fbf22c4b9aa79 [2022-08-12T04:16:53.537Z] $ docker rm -f 2fa0eb25684c166a6eaae70a5081e155d220ffd9644c1be7b91fbf22c4b9aa79 [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-08-12T04:16:54.661Z] provisioning config files... [2022-08-12T04:16:54.671Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1207@tmp/config5379560924001489722tmp [Pipeline] { [Pipeline] sh [2022-08-12T04:16:55.015Z] + set +x [2022-08-12T04:16:55.015Z] + curl -s https://codecov.io/bash [2022-08-12T04:16:55.015Z] + bash -s -- [2022-08-12T04:16:55.015Z] [2022-08-12T04:16:55.015Z] _____ _ [2022-08-12T04:16:55.015Z] / ____| | | [2022-08-12T04:16:55.015Z] | | ___ __| | ___ ___ _____ __ [2022-08-12T04:16:55.015Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-12T04:16:55.015Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-12T04:16:55.015Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-12T04:16:55.015Z] Bash-1.0.6 [2022-08-12T04:16:55.015Z] [2022-08-12T04:16:55.015Z] [2022-08-12T04:16:55.015Z] ==> git version 2.25.1 found [2022-08-12T04:16:55.015Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-08-12T04:16:55.015Z] Release-Date: 2020-01-08 [2022-08-12T04:16:55.015Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-12T04:16:55.015Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-12T04:16:55.015Z] ==> Jenkins CI detected. [2022-08-12T04:16:55.015Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1207 [2022-08-12T04:16:55.015Z] project root: . [2022-08-12T04:16:55.015Z] --> token set from env [2022-08-12T04:16:55.015Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-12T04:16:55.015Z] ==> Running gcov in . (disable via -X gcov) [2022-08-12T04:16:55.015Z] ==> Python coveragepy not found [2022-08-12T04:16:55.015Z] ==> Searching for coverage reports in: [2022-08-12T04:16:55.015Z] + . [2022-08-12T04:16:55.015Z] -> Found 1 reports [2022-08-12T04:16:55.015Z] ==> Detecting git/mercurial file structure [2022-08-12T04:16:55.016Z] ==> Reading reports [2022-08-12T04:16:55.016Z] + ./coverage.out bytes=131678 [2022-08-12T04:16:55.016Z] ==> Appending adjustments [2022-08-12T04:16:55.016Z] https://docs.codecov.io/docs/fixing-reports [2022-08-12T04:16:55.588Z] + Found adjustments [2022-08-12T04:16:55.589Z] ==> Gzipping contents [2022-08-12T04:16:55.589Z] 20K /tmp/codecov.zBTzsG.gz [2022-08-12T04:16:55.589Z] ==> Uploading reports [2022-08-12T04:16:55.589Z] url: https://codecov.io [2022-08-12T04:16:55.589Z] query: branch=PR-1207&commit=c2211c4fc92eeb07d5bf1120692d6222e9d0b861&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1207%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1207&job=&cmd_args= [2022-08-12T04:16:55.589Z] -> Pinging Codecov [2022-08-12T04:16:55.589Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1207&commit=c2211c4fc92eeb07d5bf1120692d6222e9d0b861&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1207%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1207&job=&cmd_args= [2022-08-12T04:16:55.849Z] -> Uploading to [2022-08-12T04:16:55.850Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-12/7E55EF52A471D76F132DFD9A03CDDE97/c2211c4fc92eeb07d5bf1120692d6222e9d0b861/21315dd6-e7b4-4a02-9f1b-5ec7635939bb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220812%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220812T041655Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ddde25832eee97e3394da5772d606b86cc234e29f6db4911d417698d28cc9a2d [2022-08-12T04:16:55.850Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-12T04:16:55.850Z] Dload Upload Total Spent Left Speed [2022-08-12T04:16:56.111Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17290 0 0 100 17290 0 74206 --:--:-- --:--:-- --:--:-- 74206 [2022-08-12T04:16:56.111Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c2211c4fc92eeb07d5bf1120692d6222e9d0b861 [Pipeline] } [2022-08-12T04:16:56.138Z] 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-08-12T04:16:57.972Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1207/archives ] [2022-08-12T04:16:57.972Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1207/archives [2022-08-12T04:16:57.972Z] total 16 [2022-08-12T04:16:57.972Z] drwxr-xr-x 3 root root 4096 Aug 12 04:07 . [2022-08-12T04:16:57.972Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 12 04:07 .. [2022-08-12T04:16:57.972Z] drwxr-xr-x 2 root root 4096 Aug 12 04:07 cost [2022-08-12T04:16:57.972Z] -rw-r--r-- 1 root root 86 Aug 12 04:07 cost.csv [2022-08-12T04:16:57.972Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1207/archives [2022-08-12T04:16:57.972Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1207/archives [2022-08-12T04:16:57.972Z] total 16 [2022-08-12T04:16:57.972Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 04:07 . [2022-08-12T04:16:57.972Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 12 04:07 .. [2022-08-12T04:16:57.972Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 12 04:07 cost [2022-08-12T04:16:57.972Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 12 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-12T04:16:58.303Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T04:16:59.203Z] ---> package-listing.sh [2022-08-12T04:16:59.203Z] ++ facter osfamily [2022-08-12T04:16:59.203Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-12T04:16:59.462Z] + OS_FAMILY=debian [2022-08-12T04:16:59.462Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1207 [2022-08-12T04:16:59.462Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-12T04:16:59.462Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-12T04:16:59.463Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-12T04:16:59.463Z] + PACKAGES=/tmp/packages_start.txt [2022-08-12T04:16:59.463Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1207 ']' [2022-08-12T04:16:59.463Z] + PACKAGES=/tmp/packages_end.txt [2022-08-12T04:16:59.463Z] + case "${OS_FAMILY}" in [2022-08-12T04:16:59.463Z] + dpkg -l [2022-08-12T04:16:59.463Z] + grep '^ii' [2022-08-12T04:16:59.463Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-12T04:16:59.463Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-12T04:16:59.463Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-12T04:16:59.463Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1207 ']' [2022-08-12T04:16:59.463Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1207/archives/ [2022-08-12T04:16:59.463Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1207/archives/ [Pipeline] echo [2022-08-12T04:16:59.498Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1207/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-12T04:16:59.795Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T04:17:00.430Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T04:17:00.430Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T04:17:00.581Z] prd-ubuntu20.04-docker-8c-8g-22568 does not seem to be running inside a container [2022-08-12T04:17:00.627Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1207/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-1207 -v /w/workspace/gexfoundry_device-sdk-go_PR-1207:/w/workspace/gexfoundry_device-sdk-go_PR-1207:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1207@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1207@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-12T04:17:00.866Z] $ docker top 5f00ef1c6f712289eddb0547bf0415f4c8d0fecba21e67003d330e5a19a9dece -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T04:17:01.253Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-12T04:17:01.564Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-12T04:17:01.875Z] + ls /var/log/sa-host [2022-08-12T04:17:01.875Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T04:17:02.077Z] provisioning config files... [2022-08-12T04:17:02.091Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1207@tmp/config8395677950319178855tmp [Pipeline] { [Pipeline] echo [2022-08-12T04:17:02.136Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T04:17:02.451Z] ---> create-netrc.sh [Pipeline] } [2022-08-12T04:17:02.478Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-12T04:17:02.893Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-12T04:17:02.924Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T04:17:03.241Z] ---> sudo-logs.sh [2022-08-12T04:17:03.241Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-12T04:17:03.324Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T04:17:03.634Z] ---> job-cost.sh [2022-08-12T04:17:03.634Z] lf-activate-venv: SKIPPING [2022-08-12T04:17:03.634Z] DEBUG: total: 0.2199999988079071 [2022-08-12T04:17:03.634Z] INFO: Retrieving Stack Cost... [2022-08-12T04:17:03.894Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-12T04:17:04.467Z] INFO: Archiving Costs [Pipeline] echo [2022-08-12T04:17:04.501Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T04:17:04.854Z] ---> logs-deploy.sh [2022-08-12T04:17:04.854Z] lf-activate-venv: SKIPPING [2022-08-12T04:17:04.854Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1207/1 [2022-08-12T04:17:04.854Z] INFO: archiving workspace using pattern(s): [2022-08-12T04:17:05.826Z] Archives upload complete. [2022-08-12T04:17:05.826Z] INFO: archiving logs to Nexus