Pull request #1208 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d+8440b6e6a0b4fbc11eae3accc59dfe046b726d13 (0551b769917027f04d0a3909ec62c99404e349e3) 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-ssh8177488033968833540.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh14829694466638846291.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-1208/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-1208/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13212299030274634252.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-1208/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16670287567423437098.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh1706076123635457502.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-1208/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-1208/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh971675613577189489.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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 Running on prd-ubuntu20.04-docker-8c-8g-23908 in /w/workspace/gexfoundry_device-sdk-go_PR-1208 [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-1208 # 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 8440b6e6a0b4fbc11eae3accc59dfe046b726d13 into PR head commit 0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d Merge succeeded, producing 0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d Checking out Revision 0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d (PR-1208) > 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/1208/head:refs/remotes/origin/PR-1208 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d # 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 8440b6e6a0b4fbc11eae3accc59dfe046b726d13 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d # 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 bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-30T04:06:02.277Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-30T04:06:02.465Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-30T04:06:02.559Z] ========================================================= [2022-08-30T04:06:02.559Z] EdgeX Global Pipelines Version Info [2022-08-30T04:06:02.559Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-30T04:06:03.342Z] ------------------- [2022-08-30T04:06:03.342Z] stable info: [2022-08-30T04:06:03.342Z] ------------------- [2022-08-30T04:06:03.342Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-30T04:06:03.342Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-30T04:06:03.342Z] Message: update stable to v1.0.239 [2022-08-30T04:06:03.914Z] ------------------- [2022-08-30T04:06:03.914Z] experimental info: [2022-08-30T04:06:03.914Z] ------------------- [2022-08-30T04:06:03.914Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-30T04:06:03.914Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-30T04:06:03.914Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-30T04:06:04.221Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-08-30T04:06:04.267Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-08-30T04:06:04.304Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-30T04:06:04.344Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-30T04:06:04.384Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-30T04:06:04.421Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-30T04:06:04.459Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-30T04:06:04.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-08-30T04:06:04.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-30T04:06:04.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-30T04:06:04.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-30T04:06:04.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-08-30T04:06:04.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-30T04:06:04.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-30T04:06:04.770Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-30T04:06:04.810Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-08-30T04:06:04.852Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-30T04:06:04.891Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-30T04:06:04.932Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-30T04:06:04.979Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-30T04:06:05.023Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-30T04:06:05.070Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-08-30T04:06:05.113Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-30T04:06:05.158Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-30T04:06:05.201Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-30T04:06:05.247Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-30T04:06:05.296Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-30T04:06:05.341Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1208 [Pipeline] echo [2022-08-30T04:06:05.386Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1208 [Pipeline] echo [2022-08-30T04:06:05.427Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1208 [Pipeline] echo [2022-08-30T04:06:05.475Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d [Pipeline] echo [2022-08-30T04:06:05.520Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0b9f902 [Pipeline] echo [2022-08-30T04:06:05.562Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T04:06:05.686Z] provisioning config files... [2022-08-30T04:06:05.706Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1208@tmp/config2919522101336353322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T04:06:06.053Z] ---> docker-login.sh [2022-08-30T04:06:06.053Z] nexus3.edgexfoundry.org:10001 [2022-08-30T04:06:06.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T04:06:06.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T04:06:06.316Z] Configure a credential helper to remove this warning. See [2022-08-30T04:06:06.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T04:06:06.316Z] [2022-08-30T04:06:06.316Z] Login Succeeded [2022-08-30T04:06:06.316Z] nexus3.edgexfoundry.org:10002 [2022-08-30T04:06:06.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T04:06:06.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T04:06:06.579Z] Configure a credential helper to remove this warning. See [2022-08-30T04:06:06.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T04:06:06.579Z] [2022-08-30T04:06:06.579Z] Login Succeeded [2022-08-30T04:06:06.579Z] nexus3.edgexfoundry.org:10003 [2022-08-30T04:06:06.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T04:06:06.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T04:06:06.579Z] Configure a credential helper to remove this warning. See [2022-08-30T04:06:06.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T04:06:06.579Z] [2022-08-30T04:06:06.579Z] Login Succeeded [2022-08-30T04:06:06.579Z] nexus3.edgexfoundry.org:10004 [2022-08-30T04:06:06.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T04:06:06.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T04:06:06.841Z] Configure a credential helper to remove this warning. See [2022-08-30T04:06:06.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T04:06:06.841Z] [2022-08-30T04:06:06.841Z] Login Succeeded [2022-08-30T04:06:06.841Z] docker.io [2022-08-30T04:06:06.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T04:06:07.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T04:06:07.102Z] Configure a credential helper to remove this warning. See [2022-08-30T04:06:07.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T04:06:07.102Z] [2022-08-30T04:06:07.102Z] Login Succeeded [2022-08-30T04:06:07.102Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T04:06:07.130Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-30T04:06:07.768Z] + git rev-list -1 --merges 0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d~1..0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d [Pipeline] echo [2022-08-30T04:06:07.811Z] -----------> git rev-list -1 --merges 0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d~1..0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d 0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d [false] [Pipeline] sh [2022-08-30T04:06:08.136Z] + git log --format=format:%s -1 0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d [Pipeline] echo [2022-08-30T04:06:08.172Z] ========================================================= [2022-08-30T04:06:08.172Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-30T04:06:08.172Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T04:06:08.605Z] + git log --format=format:%s -1 0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d [Pipeline] echo [2022-08-30T04:06:08.639Z] [semverPrep] GIT_COMMIT: 0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-08-30T04:06:08.666Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-30T04:06:09.076Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-30T04:06:09.076Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-30T04:06:09.076Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-30T04:06:09.076Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-30T04:06:09.077Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-30T04:06:09.077Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-30T04:06:09.077Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T04:06:09.627Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T04:06:09.627Z] [2022-08-30T04:06:09.627Z] 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-30T04:06:10.010Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T04:06:10.011Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-30T04:06:10.011Z] b85a868b505f: Pulling fs layer [2022-08-30T04:06:10.011Z] e2be974225ed: Pulling fs layer [2022-08-30T04:06:10.011Z] 339a4e72a1f5: Pulling fs layer [2022-08-30T04:06:10.011Z] 988bab9f4d93: Pulling fs layer [2022-08-30T04:06:10.011Z] 1469e6f7b9e6: Pulling fs layer [2022-08-30T04:06:10.011Z] eaf3925da568: Pulling fs layer [2022-08-30T04:06:10.011Z] bab4dde63d76: Pulling fs layer [2022-08-30T04:06:10.011Z] bde34c3a00c8: Pulling fs layer [2022-08-30T04:06:10.011Z] b352a97aabf1: Pulling fs layer [2022-08-30T04:06:10.011Z] 4872d77fe225: Pulling fs layer [2022-08-30T04:06:10.011Z] 5851b861e8e6: Pulling fs layer [2022-08-30T04:06:10.011Z] eaf3925da568: Waiting [2022-08-30T04:06:10.011Z] bab4dde63d76: Waiting [2022-08-30T04:06:10.011Z] bde34c3a00c8: Waiting [2022-08-30T04:06:10.011Z] 988bab9f4d93: Waiting [2022-08-30T04:06:10.011Z] b352a97aabf1: Waiting [2022-08-30T04:06:10.011Z] 5851b861e8e6: Waiting [2022-08-30T04:06:10.011Z] 4872d77fe225: Waiting [2022-08-30T04:06:10.011Z] 1469e6f7b9e6: Waiting [2022-08-30T04:06:10.011Z] e2be974225ed: Verifying Checksum [2022-08-30T04:06:10.011Z] e2be974225ed: Download complete [2022-08-30T04:06:10.011Z] 988bab9f4d93: Verifying Checksum [2022-08-30T04:06:10.011Z] 988bab9f4d93: Download complete [2022-08-30T04:06:10.273Z] 1469e6f7b9e6: Verifying Checksum [2022-08-30T04:06:10.273Z] 1469e6f7b9e6: Download complete [2022-08-30T04:06:10.273Z] eaf3925da568: Download complete [2022-08-30T04:06:10.273Z] 339a4e72a1f5: Verifying Checksum [2022-08-30T04:06:10.273Z] 339a4e72a1f5: Download complete [2022-08-30T04:06:10.273Z] bde34c3a00c8: Download complete [2022-08-30T04:06:10.273Z] b352a97aabf1: Verifying Checksum [2022-08-30T04:06:10.273Z] b352a97aabf1: Download complete [2022-08-30T04:06:10.273Z] 4872d77fe225: Verifying Checksum [2022-08-30T04:06:10.273Z] 4872d77fe225: Download complete [2022-08-30T04:06:10.273Z] 5851b861e8e6: Verifying Checksum [2022-08-30T04:06:10.273Z] 5851b861e8e6: Download complete [2022-08-30T04:06:10.273Z] b85a868b505f: Verifying Checksum [2022-08-30T04:06:10.273Z] b85a868b505f: Download complete [2022-08-30T04:06:10.534Z] bab4dde63d76: Verifying Checksum [2022-08-30T04:06:10.534Z] bab4dde63d76: Download complete [2022-08-30T04:06:11.474Z] b85a868b505f: Pull complete [2022-08-30T04:06:11.474Z] e2be974225ed: Pull complete [2022-08-30T04:06:12.042Z] 339a4e72a1f5: Pull complete [2022-08-30T04:06:12.042Z] 988bab9f4d93: Pull complete [2022-08-30T04:06:12.302Z] 1469e6f7b9e6: Pull complete [2022-08-30T04:06:12.302Z] eaf3925da568: Pull complete [2022-08-30T04:06:14.211Z] bab4dde63d76: Pull complete [2022-08-30T04:06:14.211Z] bde34c3a00c8: Pull complete [2022-08-30T04:06:14.211Z] b352a97aabf1: Pull complete [2022-08-30T04:06:14.211Z] 4872d77fe225: Pull complete [2022-08-30T04:06:14.211Z] 5851b861e8e6: Pull complete [2022-08-30T04:06:14.211Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-30T04:06:14.211Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T04:06:14.211Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T04:06:14.450Z] prd-ubuntu20.04-docker-8c-8g-23908 does not seem to be running inside a container [2022-08-30T04:06:14.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1208 -v /w/workspace/gexfoundry_device-sdk-go_PR-1208:/w/workspace/gexfoundry_device-sdk-go_PR-1208:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1208@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1208@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-30T04:06:15.733Z] $ docker top 26cf942f8a098ca58d37bc984948b89fe81018927ee6108d0f37e68f92461d49 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-30T04:06:15.946Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-30T04:06:15.946Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-30T04:06:16.068Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-30T04:06:16.068Z] $ docker exec 26cf942f8a098ca58d37bc984948b89fe81018927ee6108d0f37e68f92461d49 ssh-agent [2022-08-30T04:06:16.188Z] SSH_AUTH_SOCK=/tmp/ssh-zwhWk0yw0gFD/agent.32 [2022-08-30T04:06:16.188Z] SSH_AGENT_PID=38 [2022-08-30T04:06:16.194Z] Running ssh-add (command line suppressed) [2022-08-30T04:06:16.310Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1208@tmp/private_key_4128360551820820242.key (/w/workspace/gexfoundry_device-sdk-go_PR-1208@tmp/private_key_4128360551820820242.key) [2022-08-30T04:06:16.326Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-30T04:06:16.659Z] + git tag --points-at HEAD [Pipeline] } [2022-08-30T04:06:16.682Z] $ docker exec --env ******** --env ******** 26cf942f8a098ca58d37bc984948b89fe81018927ee6108d0f37e68f92461d49 ssh-agent -k [2022-08-30T04:06:16.783Z] unset SSH_AUTH_SOCK; [2022-08-30T04:06:16.784Z] unset SSH_AGENT_PID; [2022-08-30T04:06:16.784Z] echo Agent pid 38 killed; [2022-08-30T04:06:16.797Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-30T04:06:16.898Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-30T04:06:16.898Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-30T04:06:17.007Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-30T04:06:17.009Z] $ docker exec 26cf942f8a098ca58d37bc984948b89fe81018927ee6108d0f37e68f92461d49 ssh-agent [2022-08-30T04:06:17.126Z] SSH_AUTH_SOCK=/tmp/ssh-Gv7PHolMnbBL/agent.70 [2022-08-30T04:06:17.126Z] SSH_AGENT_PID=76 [2022-08-30T04:06:17.130Z] Running ssh-add (command line suppressed) [2022-08-30T04:06:17.246Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1208@tmp/private_key_7835076362774855710.key (/w/workspace/gexfoundry_device-sdk-go_PR-1208@tmp/private_key_7835076362774855710.key) [2022-08-30T04:06:17.261Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-30T04:06:17.596Z] + git semver init [2022-08-30T04:06:17.857Z] 2022-08-30 04:06:17,772 [run_init] DEBUG init version:0.0.0 force:False [2022-08-30T04:06:17.857Z] 2022-08-30 04:06:17,772 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1208/.semver [2022-08-30T04:06:17.857Z] 2022-08-30 04:06:17,773 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1208/.semver [2022-08-30T04:06:17.857Z] 2022-08-30 04:06:17,773 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1208/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1208, universal_newlines=False, shell=None, istream=None) [2022-08-30T04:06:18.798Z] 2022-08-30 04:06:18,548 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1208/.git/info/exclude [2022-08-30T04:06:18.798Z] 2022-08-30 04:06:18,548 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1208/.semver/PR-1208 with force:False [2022-08-30T04:06:18.798Z] 2022-08-30 04:06:18,548 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1208/.semver/PR-1208 [2022-08-30T04:06:18.798Z] 2022-08-30 04:06:18,552 [execute] INFO git cat-file --batch-check [2022-08-30T04:06:18.798Z] 2022-08-30 04:06:18,553 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1208/.semver, universal_newlines=False, shell=None, istream=) [2022-08-30T04:06:18.798Z] 2022-08-30 04:06:18,558 [execute] INFO git cat-file --batch [2022-08-30T04:06:18.798Z] 2022-08-30 04:06:18,559 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1208/.semver, universal_newlines=False, shell=None, istream=) [2022-08-30T04:06:18.798Z] 2022-08-30 04:06:18,563 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1208/.semver/PR-1208 [2022-08-30T04:06:18.798Z] 0.0.0 [Pipeline] } [2022-08-30T04:06:18.822Z] $ docker exec --env ******** --env ******** 26cf942f8a098ca58d37bc984948b89fe81018927ee6108d0f37e68f92461d49 ssh-agent -k [2022-08-30T04:06:18.935Z] unset SSH_AUTH_SOCK; [2022-08-30T04:06:18.935Z] unset SSH_AGENT_PID; [2022-08-30T04:06:18.935Z] echo Agent pid 76 killed; [2022-08-30T04:06:18.951Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-30T04:06:19.372Z] + git semver [Pipeline] } [2022-08-30T04:06:19.661Z] $ docker stop --time=1 26cf942f8a098ca58d37bc984948b89fe81018927ee6108d0f37e68f92461d49 [2022-08-30T04:06:20.973Z] $ docker rm -f 26cf942f8a098ca58d37bc984948b89fe81018927ee6108d0f37e68f92461d49 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-30T04:06:21.380Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-30T04:06:21.667Z] Stashed 1 file(s) [Pipeline] echo [2022-08-30T04:06:21.683Z] [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-30T04:06:22.290Z] provisioning config files... [2022-08-30T04:06:22.302Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1208@tmp/config473686826815184921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T04:06:22.655Z] ---> docker-login.sh [2022-08-30T04:06:22.655Z] nexus3.edgexfoundry.org:10001 [2022-08-30T04:06:22.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T04:06:22.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T04:06:22.655Z] Configure a credential helper to remove this warning. See [2022-08-30T04:06:22.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T04:06:22.655Z] [2022-08-30T04:06:22.655Z] Login Succeeded [2022-08-30T04:06:22.655Z] nexus3.edgexfoundry.org:10002 [2022-08-30T04:06:22.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T04:06:22.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T04:06:22.655Z] Configure a credential helper to remove this warning. See [2022-08-30T04:06:22.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T04:06:22.655Z] [2022-08-30T04:06:22.655Z] Login Succeeded [2022-08-30T04:06:22.916Z] nexus3.edgexfoundry.org:10003 [2022-08-30T04:06:22.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T04:06:22.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T04:06:22.916Z] Configure a credential helper to remove this warning. See [2022-08-30T04:06:22.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T04:06:22.916Z] [2022-08-30T04:06:22.916Z] Login Succeeded [2022-08-30T04:06:22.916Z] nexus3.edgexfoundry.org:10004 [2022-08-30T04:06:22.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T04:06:22.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T04:06:22.916Z] Configure a credential helper to remove this warning. See [2022-08-30T04:06:22.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T04:06:22.916Z] [2022-08-30T04:06:22.916Z] Login Succeeded [2022-08-30T04:06:23.177Z] docker.io [2022-08-30T04:06:23.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T04:06:23.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T04:06:23.438Z] Configure a credential helper to remove this warning. See [2022-08-30T04:06:23.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T04:06:23.438Z] [2022-08-30T04:06:23.438Z] Login Succeeded [2022-08-30T04:06:23.438Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T04:06:23.467Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-30T04:06:23.669Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T04:06:23.704Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T04:06:23.735Z] ========================================================= [2022-08-30T04:06:23.735Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-30T04:06:23.735Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T04:06:24.207Z] + 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-30T04:06:24.207Z] Sending build context to Docker daemon 9.795MB [2022-08-30T04:06:24.207Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T04:06:24.207Z] Step 2/11 : FROM ${BASE} AS builder [2022-08-30T04:06:24.207Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-30T04:06:24.207Z] 2408cc74d12b: Pulling fs layer [2022-08-30T04:06:24.207Z] ea60b727a1ce: Pulling fs layer [2022-08-30T04:06:24.207Z] 30c4a7721957: Pulling fs layer [2022-08-30T04:06:24.207Z] 370296b7ddb6: Pulling fs layer [2022-08-30T04:06:24.207Z] 7c6cee850709: Pulling fs layer [2022-08-30T04:06:24.207Z] 39a5fcdaea64: Pulling fs layer [2022-08-30T04:06:24.207Z] d94ebbe4e438: Pulling fs layer [2022-08-30T04:06:24.207Z] bcfd1f05c69d: Pulling fs layer [2022-08-30T04:06:24.207Z] 59ccb84bbe0f: Pulling fs layer [2022-08-30T04:06:24.207Z] 39a5fcdaea64: Waiting [2022-08-30T04:06:24.207Z] d94ebbe4e438: Waiting [2022-08-30T04:06:24.207Z] bcfd1f05c69d: Waiting [2022-08-30T04:06:24.207Z] 370296b7ddb6: Waiting [2022-08-30T04:06:24.207Z] 59ccb84bbe0f: Waiting [2022-08-30T04:06:24.207Z] 30c4a7721957: Download complete [2022-08-30T04:06:24.207Z] ea60b727a1ce: Verifying Checksum [2022-08-30T04:06:24.207Z] ea60b727a1ce: Download complete [2022-08-30T04:06:24.473Z] 7c6cee850709: Verifying Checksum [2022-08-30T04:06:24.473Z] 7c6cee850709: Download complete [2022-08-30T04:06:24.473Z] 39a5fcdaea64: Download complete [2022-08-30T04:06:24.473Z] 2408cc74d12b: Verifying Checksum [2022-08-30T04:06:24.473Z] d94ebbe4e438: Verifying Checksum [2022-08-30T04:06:24.473Z] d94ebbe4e438: Download complete [2022-08-30T04:06:24.473Z] 2408cc74d12b: Pull complete [2022-08-30T04:06:24.473Z] ea60b727a1ce: Pull complete [2022-08-30T04:06:24.743Z] 30c4a7721957: Pull complete [2022-08-30T04:06:25.010Z] 59ccb84bbe0f: Verifying Checksum [2022-08-30T04:06:25.010Z] 59ccb84bbe0f: Download complete [2022-08-30T04:06:25.010Z] 370296b7ddb6: Verifying Checksum [2022-08-30T04:06:25.010Z] 370296b7ddb6: Download complete [2022-08-30T04:06:25.269Z] bcfd1f05c69d: Download complete [2022-08-30T04:06:28.565Z] 370296b7ddb6: Pull complete [2022-08-30T04:06:28.565Z] 7c6cee850709: Pull complete [2022-08-30T04:06:28.828Z] 39a5fcdaea64: Pull complete [2022-08-30T04:06:28.828Z] d94ebbe4e438: Pull complete [2022-08-30T04:06:30.736Z] bcfd1f05c69d: Pull complete [2022-08-30T04:06:31.676Z] 59ccb84bbe0f: Pull complete [2022-08-30T04:06:31.676Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-30T04:06:31.676Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-30T04:06:31.676Z] ---> a4fb48ad2a94 [2022-08-30T04:06:31.676Z] Step 3/11 : ARG MAKE=make build [2022-08-30T04:06:33.059Z] ---> Running in 4cd6d2b090ad [2022-08-30T04:06:33.319Z] Removing intermediate container 4cd6d2b090ad [2022-08-30T04:06:33.319Z] ---> 0cbc5be1f3de [2022-08-30T04:06:33.319Z] Step 4/11 : WORKDIR /device-sdk-go [2022-08-30T04:06:33.319Z] ---> Running in f6cc8888c332 [2022-08-30T04:06:33.319Z] Removing intermediate container f6cc8888c332 [2022-08-30T04:06:33.319Z] ---> c8a293e34fa4 [2022-08-30T04:06:33.319Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-30T04:06:33.319Z] ---> Running in 560a89ff87db [2022-08-30T04:06:33.580Z] Removing intermediate container 560a89ff87db [2022-08-30T04:06:33.580Z] ---> 8465f539bace [2022-08-30T04:06:33.580Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T04:06:33.580Z] ---> Running in fc4be2e7d20f [2022-08-30T04:06:34.154Z] Removing intermediate container fc4be2e7d20f [2022-08-30T04:06:34.154Z] ---> ab12d2b6ae79 [2022-08-30T04:06:34.154Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-08-30T04:06:34.154Z] ---> Running in 408318b3d7b8 [2022-08-30T04:06:34.414Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-30T04:06:35.365Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-30T04:06:35.630Z] OK: 211 MiB in 51 packages [2022-08-30T04:06:35.895Z] Removing intermediate container 408318b3d7b8 [2022-08-30T04:06:35.895Z] ---> a5de98507233 [2022-08-30T04:06:35.895Z] Step 8/11 : COPY go.mod vendor* ./ [2022-08-30T04:06:36.156Z] ---> 155f0f7e96f2 [2022-08-30T04:06:36.156Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T04:06:36.156Z] ---> Running in 76e3ae2d260a [2022-08-30T04:06:37.112Z] Still waiting to schedule task [2022-08-30T04:06:37.112Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-30T04:06:54.274Z] Removing intermediate container 76e3ae2d260a [2022-08-30T04:06:54.274Z] ---> cde8e5b627cb [2022-08-30T04:06:54.274Z] Step 10/11 : COPY . . [2022-08-30T04:06:54.274Z] ---> 76b332d7c663 [2022-08-30T04:06:54.274Z] Step 11/11 : RUN ${MAKE} [2022-08-30T04:06:54.274Z] ---> Running in 76eaee81d971 [2022-08-30T04:06:54.274Z] noop [2022-08-30T04:06:54.274Z] Removing intermediate container 76eaee81d971 [2022-08-30T04:06:54.274Z] ---> e4b2fe989c03 [2022-08-30T04:06:54.274Z] Successfully built e4b2fe989c03 [2022-08-30T04:06:54.274Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T04:06:54.733Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-30T04:06:54.734Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T04:06:54.892Z] prd-ubuntu20.04-docker-8c-8g-23908 does not seem to be running inside a container [2022-08-30T04:06:54.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1208 -v /w/workspace/gexfoundry_device-sdk-go_PR-1208:/w/workspace/gexfoundry_device-sdk-go_PR-1208:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1208@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1208@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-30T04:06:55.326Z] $ docker top 11aa635e59ff11636b601287bff92486bfea461156735317f732997f224a0e1c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T04:06:55.735Z] + go version [2022-08-30T04:06:55.735Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-30T04:06:55.764Z] $ docker stop --time=1 11aa635e59ff11636b601287bff92486bfea461156735317f732997f224a0e1c [2022-08-30T04:06:57.080Z] $ docker rm -f 11aa635e59ff11636b601287bff92486bfea461156735317f732997f224a0e1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T04:06:57.785Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-30T04:06:57.785Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T04:06:57.943Z] prd-ubuntu20.04-docker-8c-8g-23908 does not seem to be running inside a container [2022-08-30T04:06:57.978Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1208 -v /w/workspace/gexfoundry_device-sdk-go_PR-1208:/w/workspace/gexfoundry_device-sdk-go_PR-1208:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1208@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1208@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-30T04:06:58.337Z] $ docker top d9819f0eb92e850cf210948b69e7882ef43719f87316129c300d02e5aa33d0b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T04:06:58.747Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1208 [Pipeline] fileExists [Pipeline] sh [2022-08-30T04:06:59.117Z] + make test [2022-08-30T04:06:59.117Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-08-30T04:07:05.692Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-08-30T04:07:17.910Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-08-30T04:07:17.910Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-08-30T04:07:17.910Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-08-30T04:07:17.910Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.079s coverage: 23.6% of statements [2022-08-30T04:07:17.910Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-08-30T04:07:17.910Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements [2022-08-30T04:07:17.910Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.125s coverage: 78.9% of statements [2022-08-30T04:07:17.910Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.052s coverage: 10.8% of statements [2022-08-30T04:07:17.910Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.078s coverage: 60.0% of statements [2022-08-30T04:07:17.910Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-08-30T04:07:17.910Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-08-30T04:07:17.910Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.077s coverage: 34.8% of statements [2022-08-30T04:07:17.910Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-08-30T04:07:17.910Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.076s coverage: 85.4% of statements [2022-08-30T04:07:17.910Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-08-30T04:07:17.910Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-08-30T04:07:17.910Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.102s coverage: 65.1% of statements [2022-08-30T04:07:17.910Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-08-30T04:07:17.910Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-08-30T04:07:17.910Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.715s coverage: 89.2% of statements [2022-08-30T04:07:17.910Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-08-30T04:07:17.910Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-08-30T04:07:17.910Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-08-30T04:07:32.803Z] 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-30T04:07:32.803Z] GO111MODULE=on go vet ./... [2022-08-30T04:07:34.711Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-30T04:07:34.711Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-30T04:07:34.711Z] ./bin/test-attribution-txt.sh [2022-08-30T04:07:34.711Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-08-30T04:07:34.711Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-08-30T04:07:34.711Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-08-30T04:07:34.711Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-30T04:07:34.711Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-30T04:07:34.711Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-08-30T04:07:34.711Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-08-30T04:07:34.749Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-30T04:07:34.779Z] $ docker stop --time=1 d9819f0eb92e850cf210948b69e7882ef43719f87316129c300d02e5aa33d0b0 [2022-08-30T04:07:36.831Z] $ docker rm -f d9819f0eb92e850cf210948b69e7882ef43719f87316129c300d02e5aa33d0b0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-30T04:07:37.407Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-30T04:07:37.497Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-30T04:07:38.148Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-30T04:07:38.459Z] + ls -al . [2022-08-30T04:07:38.459Z] total 304 [2022-08-30T04:07:38.459Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 04:06 . [2022-08-30T04:07:38.459Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 04:05 .. [2022-08-30T04:07:38.459Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 30 04:05 .dockerignore [2022-08-30T04:07:38.460Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 04:07 .git [2022-08-30T04:07:38.460Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 04:05 .github [2022-08-30T04:07:38.460Z] -rw-rw-r-- 1 jenkins jenkins 131 Aug 30 04:05 .gitignore [2022-08-30T04:07:38.460Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 04:05 .golangci.yml [2022-08-30T04:07:38.460Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 04:06 .semver [2022-08-30T04:07:38.460Z] -rw-rw-r-- 1 jenkins jenkins 29536 Aug 30 04:05 CHANGELOG.md [2022-08-30T04:07:38.460Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 04:05 GOVERNANCE.md [2022-08-30T04:07:38.460Z] -rw-rw-r-- 1 jenkins jenkins 880 Aug 30 04:05 Jenkinsfile [2022-08-30T04:07:38.460Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 30 04:05 LICENSE [2022-08-30T04:07:38.460Z] -rw-rw-r-- 1 jenkins jenkins 2002 Aug 30 04:05 Makefile [2022-08-30T04:07:38.460Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 30 04:05 OWNERS.md [2022-08-30T04:07:38.460Z] -rw-rw-r-- 1 jenkins jenkins 4881 Aug 30 04:05 README.md [2022-08-30T04:07:38.460Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 04:06 VERSION [2022-08-30T04:07:38.460Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 04:05 bin [2022-08-30T04:07:38.460Z] -rw-r--r-- 1 jenkins jenkins 131678 Aug 30 04:07 coverage.out [2022-08-30T04:07:38.460Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 30 04:05 example [2022-08-30T04:07:38.460Z] -rw-rw-r-- 1 jenkins jenkins 3553 Aug 30 04:05 go.mod [2022-08-30T04:07:38.460Z] -rw-rw-r-- 1 jenkins jenkins 36743 Aug 30 04:05 go.sum [2022-08-30T04:07:38.460Z] drwxrwxr-x 15 jenkins jenkins 4096 Aug 30 04:05 internal [2022-08-30T04:07:38.460Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 04:05 openapi [2022-08-30T04:07:38.460Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 04:05 pkg [2022-08-30T04:07:38.460Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 04:05 snap [2022-08-30T04:07:38.460Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 30 04:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T04:07:38.861Z] + 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=0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d --label arch=amd64 --label version=0.0.0 . [2022-08-30T04:07:38.861Z] Sending build context to Docker daemon 9.928MB [2022-08-30T04:07:38.861Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T04:07:38.861Z] Step 2/25 : FROM ${BASE} AS builder [2022-08-30T04:07:38.861Z] ---> e4b2fe989c03 [2022-08-30T04:07:38.861Z] Step 3/25 : ARG MAKE=make build [2022-08-30T04:07:39.121Z] ---> Running in b210b18adca3 [2022-08-30T04:07:39.121Z] Removing intermediate container b210b18adca3 [2022-08-30T04:07:39.121Z] ---> 680df4a1ab24 [2022-08-30T04:07:39.121Z] Step 4/25 : WORKDIR /device-sdk-go [2022-08-30T04:07:39.121Z] ---> Running in 23ec51dfc51f [2022-08-30T04:07:39.121Z] Removing intermediate container 23ec51dfc51f [2022-08-30T04:07:39.121Z] ---> b87f0acbe866 [2022-08-30T04:07:39.121Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-30T04:07:39.122Z] ---> Running in de46a701f236 [2022-08-30T04:07:39.381Z] Removing intermediate container de46a701f236 [2022-08-30T04:07:39.381Z] ---> ec1ea8189451 [2022-08-30T04:07:39.381Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T04:07:39.381Z] ---> Running in f57bd5636f5f [2022-08-30T04:07:39.953Z] Removing intermediate container f57bd5636f5f [2022-08-30T04:07:39.953Z] ---> 7a946f1fc818 [2022-08-30T04:07:39.953Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-08-30T04:07:39.953Z] ---> Running in c4c5f29dae0e [2022-08-30T04:07:40.213Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-30T04:07:41.158Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-30T04:07:41.420Z] OK: 211 MiB in 51 packages [2022-08-30T04:07:41.680Z] Removing intermediate container c4c5f29dae0e [2022-08-30T04:07:41.680Z] ---> 4bf5cad33c28 [2022-08-30T04:07:41.680Z] Step 8/25 : COPY go.mod vendor* ./ [2022-08-30T04:07:41.941Z] ---> 7566918dd4b1 [2022-08-30T04:07:41.941Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T04:07:41.941Z] ---> Running in 24e8afd34a10 [2022-08-30T04:07:42.511Z] Removing intermediate container 24e8afd34a10 [2022-08-30T04:07:42.511Z] ---> bd41292a5c1f [2022-08-30T04:07:42.511Z] Step 10/25 : COPY . . [2022-08-30T04:07:43.080Z] ---> 4c19d7afbdef [2022-08-30T04:07:43.080Z] Step 11/25 : RUN ${MAKE} [2022-08-30T04:07:43.080Z] ---> Running in a4b0dfd0ed6b [2022-08-30T04:07:43.080Z] 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-30T04:08:01.189Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-08-30T04:08:01.189Z] Removing intermediate container a4b0dfd0ed6b [2022-08-30T04:08:01.189Z] ---> 3698694face3 [2022-08-30T04:08:01.189Z] Step 12/25 : FROM alpine:3.16 [2022-08-30T04:08:01.760Z] 3.16: Pulling from library/alpine [2022-08-30T04:08:02.021Z] 213ec9aee27d: Pulling fs layer [2022-08-30T04:08:02.021Z] 213ec9aee27d: Verifying Checksum [2022-08-30T04:08:02.021Z] 213ec9aee27d: Download complete [2022-08-30T04:08:02.287Z] 213ec9aee27d: Pull complete [2022-08-30T04:08:02.287Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-30T04:08:02.287Z] Status: Downloaded newer image for alpine:3.16 [2022-08-30T04:08:02.287Z] ---> 9c6f07244728 [2022-08-30T04:08:02.287Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-30T04:08:02.287Z] ---> Running in db3fd5f7d6b1 [2022-08-30T04:08:02.547Z] Removing intermediate container db3fd5f7d6b1 [2022-08-30T04:08:02.547Z] ---> 91f4babb130b [2022-08-30T04:08:02.547Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T04:08:02.547Z] ---> Running in 7e860635b996 [2022-08-30T04:08:03.115Z] Removing intermediate container 7e860635b996 [2022-08-30T04:08:03.115Z] ---> 2f6081107bfc [2022-08-30T04:08:03.115Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-08-30T04:08:03.115Z] ---> Running in a3c6aa442580 [2022-08-30T04:08:03.377Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-30T04:08:04.317Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-30T04:08:04.578Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-08-30T04:08:04.578Z] (2/5) Installing libsodium (1.0.18-r0) [2022-08-30T04:08:04.839Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-30T04:08:04.839Z] (4/5) Installing libzmq (4.3.4-r0) [2022-08-30T04:08:04.839Z] (5/5) Installing zeromq (4.3.4-r0) [2022-08-30T04:08:05.098Z] Executing busybox-1.35.0-r17.trigger [2022-08-30T04:08:05.098Z] OK: 8 MiB in 19 packages [2022-08-30T04:08:05.359Z] Removing intermediate container a3c6aa442580 [2022-08-30T04:08:05.359Z] ---> ce6d0eafb4d8 [2022-08-30T04:08:05.359Z] Step 16/25 : WORKDIR / [2022-08-30T04:08:05.359Z] ---> Running in edf9a6eb448f [2022-08-30T04:08:05.621Z] Removing intermediate container edf9a6eb448f [2022-08-30T04:08:05.621Z] ---> a6d88eb069bb [2022-08-30T04:08:05.621Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-08-30T04:08:05.621Z] ---> df449807f15d [2022-08-30T04:08:05.621Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-08-30T04:08:06.194Z] ---> 0e8a0692035c [2022-08-30T04:08:06.194Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-08-30T04:08:06.194Z] ---> 1411b855b51e [2022-08-30T04:08:06.194Z] Step 20/25 : EXPOSE 59999 [2022-08-30T04:08:06.454Z] ---> Running in f0459c39121a [2022-08-30T04:08:06.454Z] Removing intermediate container f0459c39121a [2022-08-30T04:08:06.454Z] ---> ec6459984803 [2022-08-30T04:08:06.454Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-08-30T04:08:06.454Z] ---> Running in 55782b6fb5c9 [2022-08-30T04:08:06.454Z] Removing intermediate container 55782b6fb5c9 [2022-08-30T04:08:06.454Z] ---> 2de907c9a679 [2022-08-30T04:08:06.454Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-30T04:08:06.715Z] ---> Running in fce7691ac4ac [2022-08-30T04:08:06.715Z] Removing intermediate container fce7691ac4ac [2022-08-30T04:08:06.715Z] ---> 13dc0a962a21 [2022-08-30T04:08:06.715Z] Step 23/25 : LABEL arch=amd64 [2022-08-30T04:08:06.715Z] ---> Running in b2775457f0b4 [2022-08-30T04:08:06.715Z] Removing intermediate container b2775457f0b4 [2022-08-30T04:08:06.715Z] ---> 9cffaadf362f [2022-08-30T04:08:06.715Z] Step 24/25 : LABEL git_sha=0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d [2022-08-30T04:08:06.715Z] ---> Running in 5448ddf154cc [2022-08-30T04:08:06.975Z] Removing intermediate container 5448ddf154cc [2022-08-30T04:08:06.975Z] ---> d9e87e4ba94d [2022-08-30T04:08:06.975Z] Step 25/25 : LABEL version=0.0.0 [2022-08-30T04:08:06.975Z] ---> Running in bee86c46d333 [2022-08-30T04:08:06.975Z] Removing intermediate container bee86c46d333 [2022-08-30T04:08:06.975Z] ---> 5a0c1ade1371 [2022-08-30T04:08:06.976Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-30T04:08:06.976Z] Successfully built 5a0c1ade1371 [2022-08-30T04:08:06.976Z] 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-30T04:08:07.836Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T04:08:07.836Z] [2022-08-30T04:08:07.836Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T04:08:08.216Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T04:08:08.216Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-30T04:08:08.216Z] 5eb5b503b376: Pulling fs layer [2022-08-30T04:08:08.216Z] 5c69ac0246d0: Pulling fs layer [2022-08-30T04:08:08.216Z] ec43610c2a17: Pulling fs layer [2022-08-30T04:08:08.216Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-30T04:08:08.216Z] 33b1e0a273af: Pulling fs layer [2022-08-30T04:08:08.216Z] 5d3b04190fa2: Pulling fs layer [2022-08-30T04:08:08.216Z] 2f39f015ded8: Pulling fs layer [2022-08-30T04:08:08.216Z] 5d3b04190fa2: Waiting [2022-08-30T04:08:08.216Z] 2f39f015ded8: Waiting [2022-08-30T04:08:08.216Z] 3a2ae6a8a46f: Waiting [2022-08-30T04:08:08.216Z] 33b1e0a273af: Waiting [2022-08-30T04:08:08.216Z] 5c69ac0246d0: Verifying Checksum [2022-08-30T04:08:08.216Z] 5c69ac0246d0: Download complete [2022-08-30T04:08:08.216Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-30T04:08:08.216Z] 3a2ae6a8a46f: Download complete [2022-08-30T04:08:08.478Z] ec43610c2a17: Verifying Checksum [2022-08-30T04:08:08.478Z] ec43610c2a17: Download complete [2022-08-30T04:08:08.478Z] 33b1e0a273af: Verifying Checksum [2022-08-30T04:08:08.478Z] 33b1e0a273af: Download complete [2022-08-30T04:08:08.478Z] 5d3b04190fa2: Verifying Checksum [2022-08-30T04:08:08.478Z] 5d3b04190fa2: Download complete [2022-08-30T04:08:08.478Z] 5eb5b503b376: Verifying Checksum [2022-08-30T04:08:08.478Z] 5eb5b503b376: Download complete [2022-08-30T04:08:09.045Z] 2f39f015ded8: Download complete [2022-08-30T04:08:09.617Z] 5eb5b503b376: Pull complete [2022-08-30T04:08:09.877Z] 5c69ac0246d0: Pull complete [2022-08-30T04:08:10.138Z] ec43610c2a17: Pull complete [2022-08-30T04:08:10.399Z] 3a2ae6a8a46f: Pull complete [2022-08-30T04:08:10.399Z] 33b1e0a273af: Pull complete [2022-08-30T04:08:10.658Z] 5d3b04190fa2: Pull complete [2022-08-30T04:08:14.848Z] 2f39f015ded8: Pull complete [2022-08-30T04:08:14.848Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-30T04:08:14.848Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T04:08:14.848Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T04:08:15.135Z] prd-ubuntu20.04-docker-8c-8g-23908 does not seem to be running inside a container [2022-08-30T04:08:15.169Z] $ 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-1208 -v /w/workspace/gexfoundry_device-sdk-go_PR-1208:/w/workspace/gexfoundry_device-sdk-go_PR-1208:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1208@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1208@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-30T04:08:16.790Z] $ docker top afb252670909f41679cd4c94cb433611a62a6daaebb8b139f6fc4b724808355d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T04:08:17.187Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23913 in /w/workspace/gexfoundry_device-sdk-go_PR-1208 [Pipeline] { [Pipeline] ws [2022-08-30T04:08:17.228Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [2022-08-30T04:08:17.266Z] ---> job-cost.sh [2022-08-30T04:08:17.266Z] lf-activate-venv: SKIPPING [2022-08-30T04:08:17.266Z] INFO: No Stack... [Pipeline] checkout [2022-08-30T04:08:17.342Z] The recommended git tool is: git [2022-08-30T04:08:17.527Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-30T04:08:18.098Z] INFO: Archiving Costs [Pipeline] sh [2022-08-30T04:08:18.414Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1208/archives/cost.csv [2022-08-30T04:08:18.414Z] + cut -d, -f6 [Pipeline] lock [2022-08-30T04:08:18.448Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1208-1-stack-cost] [2022-08-30T04:08:18.453Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1208-1-stack-cost] did not exist. Created. [2022-08-30T04:08:18.453Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1208-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-30T04:08:18.838Z] + echo total: 0.4399999976158142 [Pipeline] stash [2022-08-30T04:08:18.892Z] Stashed 1 file(s) [Pipeline] } [2022-08-30T04:08:18.916Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1208-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-30T04:08:18.989Z] $ docker stop --time=1 afb252670909f41679cd4c94cb433611a62a6daaebb8b139f6fc4b724808355d [2022-08-30T04:08:20.211Z] $ docker rm -f afb252670909f41679cd4c94cb433611a62a6daaebb8b139f6fc4b724808355d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-30T04:08:24.138Z] using credential edgex-jenkins-ssh [2022-08-30T04:08:24.163Z] Cloning the remote Git repository [2022-08-30T04:08:24.244Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-08-30T04:08:24.320Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-08-30T04:08:24.398Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-08-30T04:08:24.399Z] > git --version # timeout=10 [2022-08-30T04:08:24.429Z] > git --version # 'git version 2.25.1' [2022-08-30T04:08:24.430Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T04:08:24.538Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-30T04:08:25.934Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-08-30T04:08:25.953Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-30T04:08:25.981Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-08-30T04:08:26.014Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-08-30T04:08:26.015Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T04:08:26.028Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1208/head:refs/remotes/origin/PR-1208 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-30T04:08:26.509Z] Merging remotes/origin/main commit 8440b6e6a0b4fbc11eae3accc59dfe046b726d13 into PR head commit 0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d [2022-08-30T04:08:26.744Z] Merge succeeded, producing 0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d [2022-08-30T04:08:26.744Z] Checking out Revision 0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d (PR-1208) [2022-08-30T04:08:26.529Z] > git config core.sparsecheckout # timeout=10 [2022-08-30T04:08:26.541Z] > git checkout -f 0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d # timeout=10 [2022-08-30T04:08:26.660Z] > git remote # timeout=10 [2022-08-30T04:08:26.679Z] > git config --get remote.origin.url # timeout=10 [2022-08-30T04:08:26.692Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T04:08:26.705Z] > git merge 8440b6e6a0b4fbc11eae3accc59dfe046b726d13 # timeout=10 [2022-08-30T04:08:26.731Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-30T04:08:26.755Z] > git config core.sparsecheckout # timeout=10 [2022-08-30T04:08:26.766Z] > git checkout -f 0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d # timeout=10 [2022-08-30T04:08:30.928Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2022-08-30T04:08:30.997Z] > git --version # timeout=10 [2022-08-30T04:08:31.009Z] > git --version # 'git version 2.25.1' [2022-08-30T04:08:31.026Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T04:08:32.123Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-30T04:08:32.123Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-30T04:08:32.123Z] Dload Upload Total Spent Left Speed [2022-08-30T04:08:32.123Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 81303 0 --:--:-- --:--:-- --:--:-- 81831 [Pipeline] sh [2022-08-30T04:08:33.104Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-30T04:08:33.469Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-30T04:08:33.470Z] + sudo tee /etc/docker/daemon.new [2022-08-30T04:08:33.470Z] { [2022-08-30T04:08:33.470Z] "registry-mirrors": [ [2022-08-30T04:08:33.470Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-30T04:08:33.470Z] ], [2022-08-30T04:08:33.470Z] "bip": "10.250.0.254/24", [2022-08-30T04:08:33.470Z] "hosts": [ [2022-08-30T04:08:33.470Z] "tcp://0.0.0.0:5555", [2022-08-30T04:08:33.470Z] "unix:///var/run/docker.sock" [2022-08-30T04:08:33.470Z] ], [2022-08-30T04:08:33.470Z] "mtu": 1458, [2022-08-30T04:08:33.470Z] "selinux-enabled": true, [2022-08-30T04:08:33.470Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-30T04:08:33.470Z] } [Pipeline] sh [2022-08-30T04:08:33.825Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-30T04:08:34.184Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T04:08:52.589Z] provisioning config files... [2022-08-30T04:08:52.613Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8941565690961437871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T04:08:53.005Z] ---> docker-login.sh [2022-08-30T04:08:53.005Z] nexus3.edgexfoundry.org:10001 [2022-08-30T04:08:53.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T04:08:53.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T04:08:53.877Z] Configure a credential helper to remove this warning. See [2022-08-30T04:08:53.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T04:08:53.877Z] [2022-08-30T04:08:53.877Z] Login Succeeded [2022-08-30T04:08:53.877Z] nexus3.edgexfoundry.org:10002 [2022-08-30T04:08:54.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T04:08:54.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T04:08:54.150Z] Configure a credential helper to remove this warning. See [2022-08-30T04:08:54.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T04:08:54.150Z] [2022-08-30T04:08:54.150Z] Login Succeeded [2022-08-30T04:08:54.150Z] nexus3.edgexfoundry.org:10003 [2022-08-30T04:08:54.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T04:08:54.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T04:08:54.749Z] Configure a credential helper to remove this warning. See [2022-08-30T04:08:54.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T04:08:54.749Z] [2022-08-30T04:08:54.749Z] Login Succeeded [2022-08-30T04:08:54.749Z] nexus3.edgexfoundry.org:10004 [2022-08-30T04:08:55.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T04:08:55.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T04:08:55.298Z] Configure a credential helper to remove this warning. See [2022-08-30T04:08:55.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T04:08:55.298Z] [2022-08-30T04:08:55.298Z] Login Succeeded [2022-08-30T04:08:55.298Z] docker.io [2022-08-30T04:08:55.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T04:08:55.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T04:08:55.854Z] Configure a credential helper to remove this warning. See [2022-08-30T04:08:55.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T04:08:55.854Z] [2022-08-30T04:08:55.854Z] Login Succeeded [2022-08-30T04:08:55.854Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T04:08:55.884Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-30T04:08:56.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T04:08:56.304Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T04:08:56.335Z] ========================================================= [2022-08-30T04:08:56.335Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-30T04:08:56.335Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T04:08:56.831Z] + 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-30T04:08:57.107Z] Sending build context to Docker daemon 5.262MB [2022-08-30T04:08:57.107Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T04:08:57.107Z] Step 2/11 : FROM ${BASE} AS builder [2022-08-30T04:08:57.392Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-30T04:08:57.392Z] b3c136eddcbf: Pulling fs layer [2022-08-30T04:08:57.392Z] c0a3192eca97: Pulling fs layer [2022-08-30T04:08:57.392Z] a050256f5b6f: Pulling fs layer [2022-08-30T04:08:57.392Z] 656be50a0ddc: Pulling fs layer [2022-08-30T04:08:57.392Z] 2bbca73fdf42: Pulling fs layer [2022-08-30T04:08:57.392Z] 46d945488cbd: Pulling fs layer [2022-08-30T04:08:57.392Z] 8a5474983e97: Pulling fs layer [2022-08-30T04:08:57.392Z] 329c88fbcd65: Pulling fs layer [2022-08-30T04:08:57.392Z] 46d945488cbd: Waiting [2022-08-30T04:08:57.392Z] 8a5474983e97: Waiting [2022-08-30T04:08:57.392Z] 656be50a0ddc: Waiting [2022-08-30T04:08:57.392Z] 2bbca73fdf42: Waiting [2022-08-30T04:08:57.392Z] a050256f5b6f: Download complete [2022-08-30T04:08:57.392Z] c0a3192eca97: Verifying Checksum [2022-08-30T04:08:57.392Z] c0a3192eca97: Download complete [2022-08-30T04:08:57.392Z] 2bbca73fdf42: Verifying Checksum [2022-08-30T04:08:57.392Z] 2bbca73fdf42: Download complete [2022-08-30T04:08:57.392Z] 46d945488cbd: Download complete [2022-08-30T04:08:57.392Z] b3c136eddcbf: Verifying Checksum [2022-08-30T04:08:57.392Z] b3c136eddcbf: Download complete [2022-08-30T04:08:58.422Z] b3c136eddcbf: Pull complete [2022-08-30T04:08:58.422Z] 329c88fbcd65: Verifying Checksum [2022-08-30T04:08:59.029Z] c0a3192eca97: Pull complete [2022-08-30T04:08:59.301Z] a050256f5b6f: Pull complete [2022-08-30T04:08:59.900Z] 8a5474983e97: Verifying Checksum [2022-08-30T04:08:59.900Z] 8a5474983e97: Download complete [2022-08-30T04:09:00.497Z] 656be50a0ddc: Verifying Checksum [2022-08-30T04:09:00.497Z] 656be50a0ddc: Download complete [2022-08-30T04:09:12.893Z] 656be50a0ddc: Pull complete [2022-08-30T04:09:13.166Z] 2bbca73fdf42: Pull complete [2022-08-30T04:09:13.166Z] 46d945488cbd: Pull complete [2022-08-30T04:09:19.912Z] 8a5474983e97: Pull complete [2022-08-30T04:09:21.900Z] 329c88fbcd65: Pull complete [2022-08-30T04:09:21.900Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-30T04:09:22.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-30T04:09:22.174Z] ---> ff4287adb874 [2022-08-30T04:09:22.174Z] Step 3/11 : ARG MAKE=make build [2022-08-30T04:09:24.150Z] ---> Running in ce137bb85661 [2022-08-30T04:09:24.150Z] Removing intermediate container ce137bb85661 [2022-08-30T04:09:24.150Z] ---> d1d5b4e33c59 [2022-08-30T04:09:24.150Z] Step 4/11 : WORKDIR /device-sdk-go [2022-08-30T04:09:24.440Z] ---> Running in 1bbf705ab952 [2022-08-30T04:09:24.724Z] Removing intermediate container 1bbf705ab952 [2022-08-30T04:09:24.724Z] ---> 7d6e4988a162 [2022-08-30T04:09:24.724Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-30T04:09:24.724Z] ---> Running in 6fc81a6f8122 [2022-08-30T04:09:26.180Z] Removing intermediate container 6fc81a6f8122 [2022-08-30T04:09:26.180Z] ---> 2777ed31263d [2022-08-30T04:09:26.180Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T04:09:26.180Z] ---> Running in 99200b8dcc9a [2022-08-30T04:09:28.163Z] Removing intermediate container 99200b8dcc9a [2022-08-30T04:09:28.163Z] ---> 5a00fbb77ec8 [2022-08-30T04:09:28.163Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-08-30T04:09:28.163Z] ---> Running in 0fb855739e2f [2022-08-30T04:09:28.780Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-30T04:09:29.759Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-30T04:09:30.752Z] OK: 221 MiB in 51 packages [2022-08-30T04:09:31.350Z] Removing intermediate container 0fb855739e2f [2022-08-30T04:09:31.350Z] ---> fa3316beb934 [2022-08-30T04:09:31.350Z] Step 8/11 : COPY go.mod vendor* ./ [2022-08-30T04:09:31.951Z] ---> 3edfe1671b0f [2022-08-30T04:09:31.951Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T04:09:31.951Z] ---> Running in aa4f44345a04 [2022-08-30T04:10:18.933Z] Removing intermediate container aa4f44345a04 [2022-08-30T04:10:18.933Z] ---> b3b209f30b18 [2022-08-30T04:10:18.933Z] Step 10/11 : COPY . . [2022-08-30T04:10:19.207Z] ---> 856cdd4442fe [2022-08-30T04:10:19.207Z] Step 11/11 : RUN ${MAKE} [2022-08-30T04:10:19.207Z] ---> Running in d100942d6c7a [2022-08-30T04:10:20.188Z] noop [2022-08-30T04:10:20.787Z] Removing intermediate container d100942d6c7a [2022-08-30T04:10:20.787Z] ---> 84da9d752c01 [2022-08-30T04:10:20.787Z] Successfully built 84da9d752c01 [2022-08-30T04:10:20.787Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T04:10:21.270Z] + docker inspect -f . ci-base-image-arm64 [2022-08-30T04:10:21.270Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T04:10:21.581Z] prd-ubuntu20.04-docker-arm64-4c-16g-23913 does not seem to be running inside a container [2022-08-30T04:10:21.669Z] $ 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-30T04:10:22.935Z] $ docker top 2515265224cd78463bec19ac2b5775412f09726c11e2e8c6fcf7bc6147e6dcfa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T04:10:23.881Z] + go version [2022-08-30T04:10:23.881Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-30T04:10:23.924Z] $ docker stop --time=1 2515265224cd78463bec19ac2b5775412f09726c11e2e8c6fcf7bc6147e6dcfa [2022-08-30T04:10:25.552Z] $ docker rm -f 2515265224cd78463bec19ac2b5775412f09726c11e2e8c6fcf7bc6147e6dcfa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T04:10:26.457Z] + docker inspect -f . ci-base-image-arm64 [2022-08-30T04:10:26.457Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T04:10:26.781Z] prd-ubuntu20.04-docker-arm64-4c-16g-23913 does not seem to be running inside a container [2022-08-30T04:10:26.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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-30T04:10:28.140Z] $ docker top 8820d488292db7f8d02118eaa3377d713a5c316a23deb7f2b94c8c954add803b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T04:10:29.077Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-08-30T04:10:29.787Z] + make test [2022-08-30T04:10:29.787Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-08-30T04:11:02.253Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-08-30T04:12:39.116Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-08-30T04:12:39.116Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-08-30T04:12:39.116Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-08-30T04:12:49.318Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.369s coverage: 23.6% of statements [2022-08-30T04:12:49.318Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-08-30T04:12:49.318Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.244s coverage: 27.6% of statements [2022-08-30T04:12:49.318Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.324s coverage: 78.9% of statements [2022-08-30T04:12:49.318Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.267s coverage: 10.8% of statements [2022-08-30T04:12:51.969Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.340s coverage: 60.0% of statements [2022-08-30T04:12:51.969Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-08-30T04:12:51.969Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-08-30T04:12:55.399Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.486s coverage: 34.8% of statements [2022-08-30T04:12:55.399Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-08-30T04:12:57.402Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.314s coverage: 85.4% of statements [2022-08-30T04:12:57.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-08-30T04:12:57.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-08-30T04:12:57.402Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.443s coverage: 65.1% of statements [2022-08-30T04:12:57.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-08-30T04:12:57.402Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-08-30T04:13:00.815Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.987s coverage: 89.2% of statements [2022-08-30T04:13:00.815Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-08-30T04:13:01.798Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.239s coverage: 4.7% of statements [2022-08-30T04:13:01.798Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-08-30T04:13:02.402Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-30T04:13:02.402Z] GO111MODULE=on go vet ./... [2022-08-30T04:14:39.294Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-30T04:14:39.294Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-30T04:14:39.294Z] ./bin/test-attribution-txt.sh [2022-08-30T04:14:39.294Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-08-30T04:14:39.294Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-08-30T04:14:39.294Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-08-30T04:14:39.294Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-30T04:14:39.294Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-30T04:14:39.294Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-08-30T04:14:39.294Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-08-30T04:14:39.335Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-30T04:14:39.377Z] $ docker stop --time=1 8820d488292db7f8d02118eaa3377d713a5c316a23deb7f2b94c8c954add803b [2022-08-30T04:14:41.217Z] $ docker rm -f 8820d488292db7f8d02118eaa3377d713a5c316a23deb7f2b94c8c954add803b [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-30T04:14:42.680Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-30T04:14:42.716Z] Warning: overwriting stash ‘coverage-report’ [2022-08-30T04:14:43.375Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T04:14:43.985Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-30T04:14:44.342Z] + ls -al . [2022-08-30T04:14:44.342Z] total 300 [2022-08-30T04:14:44.342Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 04:10 . [2022-08-30T04:14:44.342Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 04:08 .. [2022-08-30T04:14:44.342Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 30 04:08 .dockerignore [2022-08-30T04:14:44.342Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 04:08 .git [2022-08-30T04:14:44.342Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 04:08 .github [2022-08-30T04:14:44.342Z] -rw-rw-r-- 1 jenkins jenkins 131 Aug 30 04:08 .gitignore [2022-08-30T04:14:44.342Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 04:08 .golangci.yml [2022-08-30T04:14:44.342Z] -rw-rw-r-- 1 jenkins jenkins 29536 Aug 30 04:08 CHANGELOG.md [2022-08-30T04:14:44.342Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 04:08 GOVERNANCE.md [2022-08-30T04:14:44.342Z] -rw-rw-r-- 1 jenkins jenkins 880 Aug 30 04:08 Jenkinsfile [2022-08-30T04:14:44.342Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 30 04:08 LICENSE [2022-08-30T04:14:44.342Z] -rw-rw-r-- 1 jenkins jenkins 2002 Aug 30 04:08 Makefile [2022-08-30T04:14:44.342Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 30 04:08 OWNERS.md [2022-08-30T04:14:44.342Z] -rw-rw-r-- 1 jenkins jenkins 4881 Aug 30 04:08 README.md [2022-08-30T04:14:44.342Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 04:06 VERSION [2022-08-30T04:14:44.342Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 04:08 bin [2022-08-30T04:14:44.342Z] -rw-r--r-- 1 jenkins jenkins 131678 Aug 30 04:13 coverage.out [2022-08-30T04:14:44.342Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 30 04:08 example [2022-08-30T04:14:44.342Z] -rw-rw-r-- 1 jenkins jenkins 3553 Aug 30 04:08 go.mod [2022-08-30T04:14:44.342Z] -rw-rw-r-- 1 jenkins jenkins 36743 Aug 30 04:08 go.sum [2022-08-30T04:14:44.342Z] drwxrwxr-x 15 jenkins jenkins 4096 Aug 30 04:08 internal [2022-08-30T04:14:44.342Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 04:08 openapi [2022-08-30T04:14:44.342Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 04:08 pkg [2022-08-30T04:14:44.342Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 04:08 snap [2022-08-30T04:14:44.342Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 30 04:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T04:14:44.800Z] + 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=0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d --label arch=arm64 --label version=0.0.0 . [2022-08-30T04:14:45.413Z] Sending build context to Docker daemon 5.395MB [2022-08-30T04:14:45.413Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T04:14:45.413Z] Step 2/25 : FROM ${BASE} AS builder [2022-08-30T04:14:45.413Z] ---> 84da9d752c01 [2022-08-30T04:14:45.413Z] Step 3/25 : ARG MAKE=make build [2022-08-30T04:14:45.413Z] ---> Running in 905b22d6d963 [2022-08-30T04:14:45.691Z] Removing intermediate container 905b22d6d963 [2022-08-30T04:14:45.691Z] ---> 509901a34af2 [2022-08-30T04:14:45.691Z] Step 4/25 : WORKDIR /device-sdk-go [2022-08-30T04:14:45.968Z] ---> Running in a87887049b5e [2022-08-30T04:14:46.244Z] Removing intermediate container a87887049b5e [2022-08-30T04:14:46.244Z] ---> 23e81ed16f66 [2022-08-30T04:14:46.244Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-30T04:14:46.244Z] ---> Running in 9369ea126f51 [2022-08-30T04:14:46.526Z] Removing intermediate container 9369ea126f51 [2022-08-30T04:14:46.526Z] ---> e0cfce816d3f [2022-08-30T04:14:46.526Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T04:14:46.806Z] ---> Running in 984381d1a051 [2022-08-30T04:14:48.254Z] Removing intermediate container 984381d1a051 [2022-08-30T04:14:48.254Z] ---> e28f217aa88a [2022-08-30T04:14:48.254Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-08-30T04:14:48.533Z] ---> Running in 2de279dc1c91 [2022-08-30T04:14:49.514Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-30T04:14:50.499Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-30T04:14:51.484Z] OK: 221 MiB in 51 packages [2022-08-30T04:14:52.088Z] Removing intermediate container 2de279dc1c91 [2022-08-30T04:14:52.089Z] ---> f27ab604a8dc [2022-08-30T04:14:52.089Z] Step 8/25 : COPY go.mod vendor* ./ [2022-08-30T04:14:52.701Z] ---> f49eeaf8a412 [2022-08-30T04:14:52.701Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T04:14:52.701Z] ---> Running in eba286c558b0 [2022-08-30T04:14:54.686Z] Removing intermediate container eba286c558b0 [2022-08-30T04:14:54.686Z] ---> c31c23900456 [2022-08-30T04:14:54.686Z] Step 10/25 : COPY . . [2022-08-30T04:14:56.126Z] ---> 8e31a986e139 [2022-08-30T04:14:56.126Z] Step 11/25 : RUN ${MAKE} [2022-08-30T04:14:56.126Z] ---> Running in 3648fa21d37b [2022-08-30T04:14:57.116Z] 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-30T04:17:04.037Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-08-30T04:17:07.435Z] Removing intermediate container 3648fa21d37b [2022-08-30T04:17:07.435Z] ---> 84488246d551 [2022-08-30T04:17:07.435Z] Step 12/25 : FROM alpine:3.16 [2022-08-30T04:17:07.435Z] 3.16: Pulling from library/alpine [2022-08-30T04:17:07.710Z] 9b18e9b68314: Pulling fs layer [2022-08-30T04:17:07.985Z] 9b18e9b68314: Download complete [2022-08-30T04:17:08.583Z] 9b18e9b68314: Pull complete [2022-08-30T04:17:08.583Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-30T04:17:08.583Z] Status: Downloaded newer image for alpine:3.16 [2022-08-30T04:17:08.583Z] ---> a6215f271958 [2022-08-30T04:17:08.583Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-30T04:17:08.583Z] ---> Running in aab6ab7aec48 [2022-08-30T04:17:08.861Z] Removing intermediate container aab6ab7aec48 [2022-08-30T04:17:08.861Z] ---> fda417a7b060 [2022-08-30T04:17:08.861Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T04:17:09.141Z] ---> Running in 543291843bb5 [2022-08-30T04:17:10.581Z] Removing intermediate container 543291843bb5 [2022-08-30T04:17:10.581Z] ---> 6d89420618ae [2022-08-30T04:17:10.581Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-08-30T04:17:10.860Z] ---> Running in 9e123c447699 [2022-08-30T04:17:11.838Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-30T04:17:12.818Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-30T04:17:13.796Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-08-30T04:17:13.796Z] (2/5) Installing libsodium (1.0.18-r0) [2022-08-30T04:17:13.796Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-30T04:17:14.069Z] (4/5) Installing libzmq (4.3.4-r0) [2022-08-30T04:17:14.069Z] (5/5) Installing zeromq (4.3.4-r0) [2022-08-30T04:17:14.342Z] Executing busybox-1.35.0-r17.trigger [2022-08-30T04:17:14.342Z] OK: 8 MiB in 19 packages [2022-08-30T04:17:15.326Z] Removing intermediate container 9e123c447699 [2022-08-30T04:17:15.326Z] ---> 7ec8b1aaa669 [2022-08-30T04:17:15.326Z] Step 16/25 : WORKDIR / [2022-08-30T04:17:15.326Z] ---> Running in c04976086c79 [2022-08-30T04:17:15.599Z] Removing intermediate container c04976086c79 [2022-08-30T04:17:15.599Z] ---> 6ecad6177f4d [2022-08-30T04:17:15.599Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-08-30T04:17:16.196Z] ---> f613c976063d [2022-08-30T04:17:16.196Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-08-30T04:17:17.631Z] ---> eb5dc8132ead [2022-08-30T04:17:17.631Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-08-30T04:17:18.226Z] ---> 2772193ed7aa [2022-08-30T04:17:18.226Z] Step 20/25 : EXPOSE 59999 [2022-08-30T04:17:18.501Z] ---> Running in 956e74f7fdfd [2022-08-30T04:17:18.772Z] Removing intermediate container 956e74f7fdfd [2022-08-30T04:17:18.772Z] ---> a74ccffedd41 [2022-08-30T04:17:18.772Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-08-30T04:17:18.772Z] ---> Running in f5c2ba5b5a35 [2022-08-30T04:17:19.045Z] Removing intermediate container f5c2ba5b5a35 [2022-08-30T04:17:19.045Z] ---> e6110e5dcfd0 [2022-08-30T04:17:19.045Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-30T04:17:19.327Z] ---> Running in c7c4ae9db408 [2022-08-30T04:17:19.602Z] Removing intermediate container c7c4ae9db408 [2022-08-30T04:17:19.602Z] ---> d98e76e54b70 [2022-08-30T04:17:19.602Z] Step 23/25 : LABEL arch=arm64 [2022-08-30T04:17:19.602Z] ---> Running in f962226771c6 [2022-08-30T04:17:19.877Z] Removing intermediate container f962226771c6 [2022-08-30T04:17:19.877Z] ---> 2caa241fa1e4 [2022-08-30T04:17:19.877Z] Step 24/25 : LABEL git_sha=0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d [2022-08-30T04:17:19.877Z] ---> Running in 7c03d33d1a51 [2022-08-30T04:17:20.474Z] Removing intermediate container 7c03d33d1a51 [2022-08-30T04:17:20.474Z] ---> 33055567e30a [2022-08-30T04:17:20.474Z] Step 25/25 : LABEL version=0.0.0 [2022-08-30T04:17:20.474Z] ---> Running in 8ec44625d821 [2022-08-30T04:17:20.757Z] Removing intermediate container 8ec44625d821 [2022-08-30T04:17:20.757Z] ---> 818e1b04de4f [2022-08-30T04:17:20.757Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-30T04:17:20.757Z] Successfully built 818e1b04de4f [2022-08-30T04:17:20.757Z] 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-30T04:17:21.601Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T04:17:21.601Z] [2022-08-30T04:17:21.601Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T04:17:22.014Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T04:17:22.289Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-30T04:17:22.289Z] 8998bd30e6a1: Pulling fs layer [2022-08-30T04:17:22.289Z] 04944245beec: Pulling fs layer [2022-08-30T04:17:22.289Z] 699f458cf7ca: Pulling fs layer [2022-08-30T04:17:22.289Z] 765212b225bb: Pulling fs layer [2022-08-30T04:17:22.289Z] f23df028b6ca: Pulling fs layer [2022-08-30T04:17:22.289Z] d65c8cfc05b1: Pulling fs layer [2022-08-30T04:17:22.289Z] 2437ff75d9bd: Pulling fs layer [2022-08-30T04:17:22.289Z] f23df028b6ca: Waiting [2022-08-30T04:17:22.289Z] d65c8cfc05b1: Waiting [2022-08-30T04:17:22.289Z] 2437ff75d9bd: Waiting [2022-08-30T04:17:22.289Z] 765212b225bb: Waiting [2022-08-30T04:17:22.289Z] 04944245beec: Verifying Checksum [2022-08-30T04:17:22.289Z] 04944245beec: Download complete [2022-08-30T04:17:22.289Z] 765212b225bb: Verifying Checksum [2022-08-30T04:17:22.289Z] 765212b225bb: Download complete [2022-08-30T04:17:22.289Z] f23df028b6ca: Download complete [2022-08-30T04:17:22.289Z] d65c8cfc05b1: Verifying Checksum [2022-08-30T04:17:22.289Z] d65c8cfc05b1: Download complete [2022-08-30T04:17:22.572Z] 699f458cf7ca: Verifying Checksum [2022-08-30T04:17:22.572Z] 699f458cf7ca: Download complete [2022-08-30T04:17:22.849Z] 8998bd30e6a1: Download complete [2022-08-30T04:17:25.483Z] 2437ff75d9bd: Verifying Checksum [2022-08-30T04:17:25.483Z] 2437ff75d9bd: Download complete [2022-08-30T04:17:27.466Z] 8998bd30e6a1: Pull complete [2022-08-30T04:17:27.741Z] 04944245beec: Pull complete [2022-08-30T04:17:29.184Z] 699f458cf7ca: Pull complete [2022-08-30T04:17:29.459Z] 765212b225bb: Pull complete [2022-08-30T04:17:30.442Z] f23df028b6ca: Pull complete [2022-08-30T04:17:30.718Z] d65c8cfc05b1: Pull complete [2022-08-30T04:17:45.816Z] 2437ff75d9bd: Pull complete [2022-08-30T04:17:45.816Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-30T04:17:45.816Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T04:17:45.816Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T04:17:46.236Z] prd-ubuntu20.04-docker-arm64-4c-16g-23913 does not seem to be running inside a container [2022-08-30T04:17:46.351Z] $ 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-30T04:17:49.137Z] $ docker top a3a178b601cf676ed26ad6d3f1830603ae961d214ef56d7bb7a2d0c175802f63 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T04:17:50.230Z] ---> job-cost.sh [2022-08-30T04:17:50.230Z] lf-activate-venv: SKIPPING [2022-08-30T04:17:50.230Z] INFO: No Stack... [2022-08-30T04:17:50.841Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-30T04:17:51.858Z] INFO: Archiving Costs [Pipeline] sh [2022-08-30T04:17:52.562Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-08-30T04:17:52.562Z] + cut -d, -f6 [Pipeline] lock [2022-08-30T04:17:52.649Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1208-1-stack-cost] [2022-08-30T04:17:52.654Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1208-1-stack-cost] did not exist. Created. [2022-08-30T04:17:52.654Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1208-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-30T04:17:53.415Z] /w/workspace/device-sdk-go/1@tmp/durable-c49f9003/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-30T04:17:54.123Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-30T04:17:54.157Z] Warning: overwriting stash ‘stack-cost’ [2022-08-30T04:17:54.214Z] Stashed 1 file(s) [Pipeline] } [2022-08-30T04:17:54.230Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1208-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-30T04:17:54.306Z] $ docker stop --time=1 a3a178b601cf676ed26ad6d3f1830603ae961d214ef56d7bb7a2d0c175802f63 [2022-08-30T04:17:55.840Z] $ docker rm -f a3a178b601cf676ed26ad6d3f1830603ae961d214ef56d7bb7a2d0c175802f63 [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-30T04:17:56.869Z] provisioning config files... [2022-08-30T04:17:56.878Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1208@tmp/config4319159675151408767tmp [Pipeline] { [Pipeline] sh [2022-08-30T04:17:57.212Z] + set +x [2022-08-30T04:17:57.212Z] + + curl -sbash https://codecov.io/bash -s [2022-08-30T04:17:57.212Z] -- [2022-08-30T04:17:57.212Z] [2022-08-30T04:17:57.212Z] _____ _ [2022-08-30T04:17:57.212Z] / ____| | | [2022-08-30T04:17:57.212Z] | | ___ __| | ___ ___ _____ __ [2022-08-30T04:17:57.212Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-30T04:17:57.212Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-30T04:17:57.212Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-30T04:17:57.212Z] Bash-1.0.6 [2022-08-30T04:17:57.212Z] [2022-08-30T04:17:57.212Z] [2022-08-30T04:17:57.212Z] ==> git version 2.25.1 found [2022-08-30T04:17:57.212Z] ==> 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-30T04:17:57.212Z] Release-Date: 2020-01-08 [2022-08-30T04:17:57.212Z] 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-30T04:17:57.212Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-30T04:17:57.212Z] ==> Jenkins CI detected. [2022-08-30T04:17:57.212Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1208 [2022-08-30T04:17:57.212Z] project root: . [2022-08-30T04:17:57.212Z] --> token set from env [2022-08-30T04:17:57.212Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-30T04:17:57.212Z] ==> Running gcov in . (disable via -X gcov) [2022-08-30T04:17:57.212Z] ==> Python coveragepy not found [2022-08-30T04:17:57.212Z] ==> Searching for coverage reports in: [2022-08-30T04:17:57.212Z] + . [2022-08-30T04:17:57.212Z] -> Found 1 reports [2022-08-30T04:17:57.212Z] ==> Detecting git/mercurial file structure [2022-08-30T04:17:57.212Z] ==> Reading reports [2022-08-30T04:17:57.473Z] + ./coverage.out bytes=131678 [2022-08-30T04:17:57.473Z] ==> Appending adjustments [2022-08-30T04:17:57.473Z] https://docs.codecov.io/docs/fixing-reports [2022-08-30T04:17:57.734Z] + Found adjustments [2022-08-30T04:17:57.734Z] ==> Gzipping contents [2022-08-30T04:17:57.734Z] 20K /tmp/codecov.KyT0kn.gz [2022-08-30T04:17:57.734Z] ==> Uploading reports [2022-08-30T04:17:57.734Z] url: https://codecov.io [2022-08-30T04:17:57.734Z] query: branch=PR-1208&commit=0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1208%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1208&job=&cmd_args= [2022-08-30T04:17:57.734Z] -> Pinging Codecov [2022-08-30T04:17:57.735Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1208&commit=0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1208%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1208&job=&cmd_args= [2022-08-30T04:17:57.996Z] -> Uploading to [2022-08-30T04:17:57.996Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-30/7E55EF52A471D76F132DFD9A03CDDE97/0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d/40965fe9-2130-4705-a2b3-00951e539256.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220830%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220830T041757Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dac322c481c40139c215589e02a9d79de98436536393bc4004cdd7526c285ce3 [2022-08-30T04:17:57.996Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-30T04:17:57.996Z] Dload Upload Total Spent Left Speed [2022-08-30T04:17:58.257Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17318 0 0 100 17318 0 73693 --:--:-- --:--:-- --:--:-- 73693 [2022-08-30T04:17:58.258Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0b9f90280bdf1ad6172d997a2cdacc49cbb29a4d [Pipeline] } [2022-08-30T04:17:58.286Z] 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-30T04:18:00.021Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1208/archives ] [2022-08-30T04:18:00.021Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1208/archives [2022-08-30T04:18:00.021Z] total 16 [2022-08-30T04:18:00.021Z] drwxr-xr-x 3 root root 4096 Aug 30 04:08 . [2022-08-30T04:18:00.021Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 04:08 .. [2022-08-30T04:18:00.021Z] drwxr-xr-x 2 root root 4096 Aug 30 04:08 cost [2022-08-30T04:18:00.021Z] -rw-r--r-- 1 root root 87 Aug 30 04:08 cost.csv [2022-08-30T04:18:00.021Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1208/archives [2022-08-30T04:18:00.021Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1208/archives [2022-08-30T04:18:00.021Z] total 16 [2022-08-30T04:18:00.021Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 04:08 . [2022-08-30T04:18:00.021Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 04:08 .. [2022-08-30T04:18:00.021Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 04:08 cost [2022-08-30T04:18:00.021Z] -rw-r--r-- 1 jenkins jenkins 87 Aug 30 04:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-30T04:18:00.359Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T04:18:01.261Z] ---> package-listing.sh [2022-08-30T04:18:01.261Z] ++ facter osfamily [2022-08-30T04:18:01.261Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-30T04:18:01.524Z] + OS_FAMILY=debian [2022-08-30T04:18:01.524Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1208 [2022-08-30T04:18:01.524Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-30T04:18:01.524Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-30T04:18:01.524Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-30T04:18:01.524Z] + PACKAGES=/tmp/packages_start.txt [2022-08-30T04:18:01.524Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1208 ']' [2022-08-30T04:18:01.524Z] + PACKAGES=/tmp/packages_end.txt [2022-08-30T04:18:01.524Z] + case "${OS_FAMILY}" in [2022-08-30T04:18:01.524Z] + dpkg -l [2022-08-30T04:18:01.524Z] + grep '^ii' [2022-08-30T04:18:01.524Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-30T04:18:01.524Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-30T04:18:01.524Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-30T04:18:01.524Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1208 ']' [2022-08-30T04:18:01.524Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1208/archives/ [2022-08-30T04:18:01.524Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1208/archives/ [Pipeline] echo [2022-08-30T04:18:01.563Z] 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-1208/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-30T04:18:01.856Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T04:18:02.533Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T04:18:02.534Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T04:18:02.694Z] prd-ubuntu20.04-docker-8c-8g-23908 does not seem to be running inside a container [2022-08-30T04:18:02.743Z] $ 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-1208/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-1208 -v /w/workspace/gexfoundry_device-sdk-go_PR-1208:/w/workspace/gexfoundry_device-sdk-go_PR-1208:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1208@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1208@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-30T04:18:02.960Z] $ docker top 96f3cc4e95107d49f8bf7eef47f03e88ff511b8ca70710b099f5b03da8d2e0ed -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T04:18:03.437Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-30T04:18:03.765Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-30T04:18:04.090Z] + ls /var/log/sa-host [2022-08-30T04:18:04.090Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T04:18:04.304Z] provisioning config files... [2022-08-30T04:18:04.315Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1208@tmp/config2214714620425624884tmp [Pipeline] { [Pipeline] echo [2022-08-30T04:18:04.360Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T04:18:04.671Z] ---> create-netrc.sh [Pipeline] } [2022-08-30T04:18:04.702Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-30T04:18:05.109Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-30T04:18:05.141Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T04:18:05.456Z] ---> sudo-logs.sh [2022-08-30T04:18:05.456Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-30T04:18:05.530Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T04:18:05.846Z] ---> job-cost.sh [2022-08-30T04:18:05.846Z] lf-activate-venv: SKIPPING [2022-08-30T04:18:05.846Z] DEBUG: total: 0.4399999976158142 [2022-08-30T04:18:05.846Z] INFO: Retrieving Stack Cost... [2022-08-30T04:18:06.105Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-30T04:18:06.676Z] INFO: Archiving Costs [Pipeline] echo [2022-08-30T04:18:06.711Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T04:18:07.029Z] ---> logs-deploy.sh [2022-08-30T04:18:07.029Z] lf-activate-venv: SKIPPING [2022-08-30T04:18:07.029Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1208/1 [2022-08-30T04:18:07.029Z] INFO: archiving workspace using pattern(s): [2022-08-30T04:18:07.969Z] Archives upload complete. [2022-08-30T04:18:08.230Z] INFO: archiving logs to Nexus