Pull request #1204 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/device-sdk-go Loading trusted files from base branch main at ad939af23b2d854541ed37c0929478efa4c7d7f6 rather than d0b10103318c9765db0acdc2a072651fb8b50c93 Obtained Jenkinsfile from ad939af23b2d854541ed37c0929478efa4c7d7f6 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-ssh358952304348211562.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15512711079793716821.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1204/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-1204/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9608374356637671477.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-1204/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5095039390073857166.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18228991356906382515.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-1204/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-1204/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14107895750639281134.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 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-21384’ Running on prd-ubuntu20.04-docker-8c-8g-21387 in /w/workspace/gexfoundry_device-sdk-go_PR-1204 [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-1204 # 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 ad939af23b2d854541ed37c0929478efa4c7d7f6 into PR head commit d0b10103318c9765db0acdc2a072651fb8b50c93 Merge succeeded, producing d0b10103318c9765db0acdc2a072651fb8b50c93 Checking out Revision d0b10103318c9765db0acdc2a072651fb8b50c93 (PR-1204) > 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/1204/head:refs/remotes/origin/PR-1204 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0b10103318c9765db0acdc2a072651fb8b50c93 # 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 ad939af23b2d854541ed37c0929478efa4c7d7f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0b10103318c9765db0acdc2a072651fb8b50c93 # timeout=10 Commit message: "fix: DeviceServiceSDK needed to be updated for the new methods that were recently added" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-28T18:19:29.356Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-28T18:19:29.519Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-28T18:19:29.608Z] ========================================================= [2022-07-28T18:19:29.608Z] EdgeX Global Pipelines Version Info [2022-07-28T18:19:29.608Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-28T18:19:30.417Z] ------------------- [2022-07-28T18:19:30.417Z] stable info: [2022-07-28T18:19:30.417Z] ------------------- [2022-07-28T18:19:30.417Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-28T18:19:30.417Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-28T18:19:30.417Z] Message: update stable to v1.0.238 [2022-07-28T18:19:30.993Z] ------------------- [2022-07-28T18:19:30.993Z] experimental info: [2022-07-28T18:19:30.993Z] ------------------- [2022-07-28T18:19:30.993Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-28T18:19:30.993Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-28T18:19:30.993Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-28T18:19:31.405Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-07-28T18:19:31.442Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-07-28T18:19:31.481Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-28T18:19:31.519Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-28T18:19:31.554Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-28T18:19:31.591Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-28T18:19:31.627Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-28T18:19:31.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-07-28T18:19:31.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-28T18:19:31.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-28T18:19:31.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-28T18:19:31.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-07-28T18:19:31.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-28T18:19:31.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-28T18:19:31.950Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-28T18:19:31.993Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-07-28T18:19:32.037Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-28T18:19:32.077Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-28T18:19:32.122Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-28T18:19:32.159Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-28T18:19:32.202Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-07-28T18:19:32.246Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-07-28T18:19:32.286Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-28T18:19:32.325Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-28T18:19:32.365Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-28T18:19:32.401Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-28T18:19:32.438Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-28T18:19:32.474Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1204 [Pipeline] echo [2022-07-28T18:19:32.511Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1204 [Pipeline] echo [2022-07-28T18:19:32.554Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1204 [Pipeline] echo [2022-07-28T18:19:32.597Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d0b10103318c9765db0acdc2a072651fb8b50c93 [Pipeline] echo [2022-07-28T18:19:32.636Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d0b1010 [Pipeline] echo [2022-07-28T18:19:32.673Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-28T18:19:32.792Z] provisioning config files... [2022-07-28T18:19:32.808Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp/config6161528577417570296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T18:19:33.156Z] ---> docker-login.sh [2022-07-28T18:19:33.156Z] nexus3.edgexfoundry.org:10001 [2022-07-28T18:19:33.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T18:19:33.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T18:19:33.684Z] Configure a credential helper to remove this warning. See [2022-07-28T18:19:33.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T18:19:33.684Z] [2022-07-28T18:19:33.684Z] Login Succeeded [2022-07-28T18:19:33.684Z] nexus3.edgexfoundry.org:10002 [2022-07-28T18:19:33.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T18:19:33.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T18:19:33.684Z] Configure a credential helper to remove this warning. See [2022-07-28T18:19:33.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T18:19:33.684Z] [2022-07-28T18:19:33.684Z] Login Succeeded [2022-07-28T18:19:33.684Z] nexus3.edgexfoundry.org:10003 [2022-07-28T18:19:33.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T18:19:33.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T18:19:33.951Z] Configure a credential helper to remove this warning. See [2022-07-28T18:19:33.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T18:19:33.951Z] [2022-07-28T18:19:33.951Z] Login Succeeded [2022-07-28T18:19:33.951Z] nexus3.edgexfoundry.org:10004 [2022-07-28T18:19:33.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T18:19:34.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T18:19:34.213Z] Configure a credential helper to remove this warning. See [2022-07-28T18:19:34.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T18:19:34.213Z] [2022-07-28T18:19:34.213Z] Login Succeeded [2022-07-28T18:19:34.213Z] docker.io [2022-07-28T18:19:34.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T18:19:34.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T18:19:34.474Z] Configure a credential helper to remove this warning. See [2022-07-28T18:19:34.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T18:19:34.474Z] [2022-07-28T18:19:34.474Z] Login Succeeded [2022-07-28T18:19:34.474Z] ---> docker-login.sh ends [Pipeline] } [2022-07-28T18:19:34.502Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-28T18:19:35.159Z] + git rev-list -1 --merges d0b10103318c9765db0acdc2a072651fb8b50c93~1..d0b10103318c9765db0acdc2a072651fb8b50c93 [Pipeline] echo [2022-07-28T18:19:35.204Z] -----------> git rev-list -1 --merges d0b10103318c9765db0acdc2a072651fb8b50c93~1..d0b10103318c9765db0acdc2a072651fb8b50c93 d0b10103318c9765db0acdc2a072651fb8b50c93 [false] [Pipeline] sh [2022-07-28T18:19:35.521Z] + git log --format=format:%s -1 d0b10103318c9765db0acdc2a072651fb8b50c93 [Pipeline] echo [2022-07-28T18:19:35.553Z] ========================================================= [2022-07-28T18:19:35.553Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-28T18:19:35.553Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-28T18:19:35.985Z] + git log --format=format:%s -1 d0b10103318c9765db0acdc2a072651fb8b50c93 [Pipeline] echo [2022-07-28T18:19:36.016Z] [semverPrep] GIT_COMMIT: d0b10103318c9765db0acdc2a072651fb8b50c93, Commit Message: fix: DeviceServiceSDK needed to be updated for the new methods that were recently added [Pipeline] echo [2022-07-28T18:19:36.043Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-28T18:19:36.447Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-28T18:19:36.447Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-28T18:19:36.447Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-28T18:19:36.447Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-28T18:19:36.447Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-28T18:19:36.447Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-28T18:19:36.447Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T18:19:36.931Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-28T18:19:36.932Z] [2022-07-28T18:19:36.932Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T18:19:37.311Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-28T18:19:37.311Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-28T18:19:37.311Z] b85a868b505f: Pulling fs layer [2022-07-28T18:19:37.311Z] e2be974225ed: Pulling fs layer [2022-07-28T18:19:37.311Z] 339a4e72a1f5: Pulling fs layer [2022-07-28T18:19:37.311Z] 988bab9f4d93: Pulling fs layer [2022-07-28T18:19:37.311Z] 1469e6f7b9e6: Pulling fs layer [2022-07-28T18:19:37.311Z] eaf3925da568: Pulling fs layer [2022-07-28T18:19:37.311Z] bab4dde63d76: Pulling fs layer [2022-07-28T18:19:37.311Z] bde34c3a00c8: Pulling fs layer [2022-07-28T18:19:37.312Z] b352a97aabf1: Pulling fs layer [2022-07-28T18:19:37.312Z] 4872d77fe225: Pulling fs layer [2022-07-28T18:19:37.312Z] 5851b861e8e6: Pulling fs layer [2022-07-28T18:19:37.312Z] 1469e6f7b9e6: Waiting [2022-07-28T18:19:37.312Z] eaf3925da568: Waiting [2022-07-28T18:19:37.312Z] bab4dde63d76: Waiting [2022-07-28T18:19:37.312Z] bde34c3a00c8: Waiting [2022-07-28T18:19:37.312Z] b352a97aabf1: Waiting [2022-07-28T18:19:37.312Z] 4872d77fe225: Waiting [2022-07-28T18:19:37.312Z] 5851b861e8e6: Waiting [2022-07-28T18:19:37.312Z] 988bab9f4d93: Waiting [2022-07-28T18:19:37.312Z] e2be974225ed: Verifying Checksum [2022-07-28T18:19:37.312Z] e2be974225ed: Download complete [2022-07-28T18:19:37.312Z] 988bab9f4d93: Download complete [2022-07-28T18:19:37.573Z] 339a4e72a1f5: Verifying Checksum [2022-07-28T18:19:37.573Z] 339a4e72a1f5: Download complete [2022-07-28T18:19:37.573Z] eaf3925da568: Download complete [2022-07-28T18:19:37.573Z] 1469e6f7b9e6: Verifying Checksum [2022-07-28T18:19:37.573Z] 1469e6f7b9e6: Download complete [2022-07-28T18:19:37.573Z] bde34c3a00c8: Download complete [2022-07-28T18:19:37.573Z] b352a97aabf1: Verifying Checksum [2022-07-28T18:19:37.573Z] b352a97aabf1: Download complete [2022-07-28T18:19:37.573Z] 4872d77fe225: Download complete [2022-07-28T18:19:37.573Z] 5851b861e8e6: Download complete [2022-07-28T18:19:37.573Z] b85a868b505f: Verifying Checksum [2022-07-28T18:19:37.573Z] b85a868b505f: Download complete [2022-07-28T18:19:37.833Z] bab4dde63d76: Verifying Checksum [2022-07-28T18:19:37.833Z] bab4dde63d76: Download complete [2022-07-28T18:19:38.775Z] b85a868b505f: Pull complete [2022-07-28T18:19:39.038Z] e2be974225ed: Pull complete [2022-07-28T18:19:39.609Z] 339a4e72a1f5: Pull complete [2022-07-28T18:19:39.609Z] 988bab9f4d93: Pull complete [2022-07-28T18:19:39.868Z] 1469e6f7b9e6: Pull complete [2022-07-28T18:19:40.129Z] eaf3925da568: Pull complete [2022-07-28T18:19:42.051Z] bab4dde63d76: Pull complete [2022-07-28T18:19:42.051Z] bde34c3a00c8: Pull complete [2022-07-28T18:19:42.316Z] b352a97aabf1: Pull complete [2022-07-28T18:19:42.316Z] 4872d77fe225: Pull complete [2022-07-28T18:19:42.316Z] 5851b861e8e6: Pull complete [2022-07-28T18:19:42.316Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-28T18:19:42.316Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-28T18:19:42.316Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T18:19:42.541Z] prd-ubuntu20.04-docker-8c-8g-21387 does not seem to be running inside a container [2022-07-28T18:19:42.581Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1204 -v /w/workspace/gexfoundry_device-sdk-go_PR-1204:/w/workspace/gexfoundry_device-sdk-go_PR-1204:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1204@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-devops/py-git-semver:0.1.4 cat [2022-07-28T18:19:44.168Z] $ docker top 0c3f8208c8a1ec85578e4dd310743a0d459e08c0acd1c804c75a815d14576b47 -eo pid,comm [2022-07-28T18:19:44.237Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-28T18:19:44.237Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-28T18:19:44.360Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-28T18:19:44.360Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-28T18:19:44.509Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-28T18:19:44.515Z] $ docker exec 0c3f8208c8a1ec85578e4dd310743a0d459e08c0acd1c804c75a815d14576b47 ssh-agent [2022-07-28T18:19:44.658Z] SSH_AUTH_SOCK=/tmp/ssh-kdkzkFWsNibM/agent.33 [2022-07-28T18:19:44.658Z] SSH_AGENT_PID=39 [2022-07-28T18:19:44.666Z] Running ssh-add (command line suppressed) [2022-07-28T18:19:44.804Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp/private_key_3715008765461982952.key (/w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp/private_key_3715008765461982952.key) [2022-07-28T18:19:44.820Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-28T18:19:45.152Z] + git tag --points-at HEAD [Pipeline] } [2022-07-28T18:19:45.181Z] $ docker exec --env ******** --env ******** 0c3f8208c8a1ec85578e4dd310743a0d459e08c0acd1c804c75a815d14576b47 ssh-agent -k [2022-07-28T18:19:45.276Z] unset SSH_AUTH_SOCK; [2022-07-28T18:19:45.276Z] unset SSH_AGENT_PID; [2022-07-28T18:19:45.276Z] echo Agent pid 39 killed; [2022-07-28T18:19:45.284Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-28T18:19:45.370Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-28T18:19:45.370Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-28T18:19:45.505Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-28T18:19:45.511Z] $ docker exec 0c3f8208c8a1ec85578e4dd310743a0d459e08c0acd1c804c75a815d14576b47 ssh-agent [2022-07-28T18:19:45.634Z] SSH_AUTH_SOCK=/tmp/ssh-0eSiKuugTae3/agent.71 [2022-07-28T18:19:45.634Z] SSH_AGENT_PID=77 [2022-07-28T18:19:45.639Z] Running ssh-add (command line suppressed) [2022-07-28T18:19:45.759Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp/private_key_8267713154803914200.key (/w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp/private_key_8267713154803914200.key) [2022-07-28T18:19:45.770Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-28T18:19:46.105Z] + git semver init [2022-07-28T18:19:46.366Z] 2022-07-28 18:19:46,307 [run_init] DEBUG init version:0.0.0 force:False [2022-07-28T18:19:46.366Z] 2022-07-28 18:19:46,308 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1204/.semver [2022-07-28T18:19:46.366Z] 2022-07-28 18:19:46,308 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1204/.semver [2022-07-28T18:19:46.366Z] 2022-07-28 18:19:46,308 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1204/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1204, universal_newlines=False, shell=None, istream=None) [2022-07-28T18:19:47.307Z] 2022-07-28 18:19:47,147 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1204/.git/info/exclude [2022-07-28T18:19:47.307Z] 2022-07-28 18:19:47,148 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1204/.semver/PR-1204 with force:False [2022-07-28T18:19:47.307Z] 2022-07-28 18:19:47,148 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1204/.semver/PR-1204 [2022-07-28T18:19:47.307Z] 2022-07-28 18:19:47,152 [execute] INFO git cat-file --batch-check [2022-07-28T18:19:47.307Z] 2022-07-28 18:19:47,153 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1204/.semver, universal_newlines=False, shell=None, istream=) [2022-07-28T18:19:47.307Z] 2022-07-28 18:19:47,160 [execute] INFO git cat-file --batch [2022-07-28T18:19:47.307Z] 2022-07-28 18:19:47,161 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1204/.semver, universal_newlines=False, shell=None, istream=) [2022-07-28T18:19:47.307Z] 2022-07-28 18:19:47,165 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1204/.semver/PR-1204 [2022-07-28T18:19:47.307Z] 0.0.0 [Pipeline] } [2022-07-28T18:19:47.337Z] $ docker exec --env ******** --env ******** 0c3f8208c8a1ec85578e4dd310743a0d459e08c0acd1c804c75a815d14576b47 ssh-agent -k [2022-07-28T18:19:47.444Z] unset SSH_AUTH_SOCK; [2022-07-28T18:19:47.444Z] unset SSH_AGENT_PID; [2022-07-28T18:19:47.444Z] echo Agent pid 77 killed; [2022-07-28T18:19:47.453Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-28T18:19:47.886Z] + git semver [Pipeline] } [2022-07-28T18:19:48.176Z] $ docker stop --time=1 0c3f8208c8a1ec85578e4dd310743a0d459e08c0acd1c804c75a815d14576b47 [2022-07-28T18:19:49.500Z] $ docker rm -f 0c3f8208c8a1ec85578e4dd310743a0d459e08c0acd1c804c75a815d14576b47 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-28T18:19:49.910Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-28T18:19:50.213Z] Stashed 1 file(s) [Pipeline] echo [2022-07-28T18:19:50.228Z] [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-07-28T18:19:50.804Z] provisioning config files... [2022-07-28T18:19:50.814Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp/config894292657967354901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T18:19:51.439Z] ---> docker-login.sh [2022-07-28T18:19:51.439Z] nexus3.edgexfoundry.org:10001 [2022-07-28T18:19:51.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T18:19:51.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T18:19:51.439Z] Configure a credential helper to remove this warning. See [2022-07-28T18:19:51.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T18:19:51.439Z] [2022-07-28T18:19:51.439Z] Login Succeeded [2022-07-28T18:19:51.439Z] nexus3.edgexfoundry.org:10002 [2022-07-28T18:19:51.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T18:19:51.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T18:19:51.904Z] Configure a credential helper to remove this warning. See [2022-07-28T18:19:51.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T18:19:51.904Z] [2022-07-28T18:19:51.904Z] Login Succeeded [2022-07-28T18:19:51.904Z] nexus3.edgexfoundry.org:10003 [2022-07-28T18:19:51.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T18:19:51.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T18:19:51.904Z] Configure a credential helper to remove this warning. See [2022-07-28T18:19:51.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T18:19:51.904Z] [2022-07-28T18:19:51.904Z] Login Succeeded [2022-07-28T18:19:51.904Z] nexus3.edgexfoundry.org:10004 [2022-07-28T18:19:51.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T18:19:51.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T18:19:51.904Z] Configure a credential helper to remove this warning. See [2022-07-28T18:19:51.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T18:19:51.904Z] [2022-07-28T18:19:51.904Z] Login Succeeded [2022-07-28T18:19:51.904Z] docker.io [2022-07-28T18:19:51.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T18:19:52.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T18:19:52.490Z] Configure a credential helper to remove this warning. See [2022-07-28T18:19:52.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T18:19:52.490Z] [2022-07-28T18:19:52.490Z] Login Succeeded [2022-07-28T18:19:52.490Z] ---> docker-login.sh ends [Pipeline] } [2022-07-28T18:19:52.520Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-28T18:19:52.718Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T18:19:52.755Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T18:19:52.786Z] ========================================================= [2022-07-28T18:19:52.786Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-28T18:19:52.786Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T18:19:53.472Z] + 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-07-28T18:19:53.472Z] Sending build context to Docker daemon 9.774MB [2022-07-28T18:19:53.472Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-07-28T18:19:53.472Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-28T18:19:53.472Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-28T18:19:53.472Z] 2408cc74d12b: Pulling fs layer [2022-07-28T18:19:53.472Z] ea60b727a1ce: Pulling fs layer [2022-07-28T18:19:53.472Z] 30c4a7721957: Pulling fs layer [2022-07-28T18:19:53.472Z] 370296b7ddb6: Pulling fs layer [2022-07-28T18:19:53.472Z] 7c6cee850709: Pulling fs layer [2022-07-28T18:19:53.472Z] 39a5fcdaea64: Pulling fs layer [2022-07-28T18:19:53.472Z] d94ebbe4e438: Pulling fs layer [2022-07-28T18:19:53.472Z] bcfd1f05c69d: Pulling fs layer [2022-07-28T18:19:53.472Z] 59ccb84bbe0f: Pulling fs layer [2022-07-28T18:19:53.472Z] 39a5fcdaea64: Waiting [2022-07-28T18:19:53.472Z] d94ebbe4e438: Waiting [2022-07-28T18:19:53.472Z] 59ccb84bbe0f: Waiting [2022-07-28T18:19:53.472Z] 370296b7ddb6: Waiting [2022-07-28T18:19:53.472Z] bcfd1f05c69d: Waiting [2022-07-28T18:19:53.472Z] 7c6cee850709: Waiting [2022-07-28T18:19:53.472Z] 30c4a7721957: Verifying Checksum [2022-07-28T18:19:53.472Z] 30c4a7721957: Download complete [2022-07-28T18:19:53.472Z] ea60b727a1ce: Download complete [2022-07-28T18:19:53.472Z] 7c6cee850709: Verifying Checksum [2022-07-28T18:19:53.472Z] 7c6cee850709: Download complete [2022-07-28T18:19:53.472Z] 39a5fcdaea64: Verifying Checksum [2022-07-28T18:19:53.472Z] 39a5fcdaea64: Download complete [2022-07-28T18:19:53.472Z] 2408cc74d12b: Download complete [2022-07-28T18:19:53.472Z] d94ebbe4e438: Verifying Checksum [2022-07-28T18:19:53.472Z] d94ebbe4e438: Download complete [2022-07-28T18:19:53.744Z] 2408cc74d12b: Pull complete [2022-07-28T18:19:53.744Z] ea60b727a1ce: Pull complete [2022-07-28T18:19:53.744Z] 30c4a7721957: Pull complete [2022-07-28T18:19:54.334Z] 370296b7ddb6: Verifying Checksum [2022-07-28T18:19:54.334Z] 370296b7ddb6: Download complete [2022-07-28T18:19:54.334Z] bcfd1f05c69d: Verifying Checksum [2022-07-28T18:19:54.334Z] bcfd1f05c69d: Download complete [2022-07-28T18:19:54.334Z] 59ccb84bbe0f: Verifying Checksum [2022-07-28T18:19:54.334Z] 59ccb84bbe0f: Download complete [2022-07-28T18:19:58.536Z] 370296b7ddb6: Pull complete [2022-07-28T18:19:58.536Z] 7c6cee850709: Pull complete [2022-07-28T18:19:58.536Z] 39a5fcdaea64: Pull complete [2022-07-28T18:19:58.536Z] d94ebbe4e438: Pull complete [2022-07-28T18:20:00.455Z] bcfd1f05c69d: Pull complete [2022-07-28T18:20:01.397Z] 59ccb84bbe0f: Pull complete [2022-07-28T18:20:01.397Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-28T18:20:01.397Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-28T18:20:01.397Z] ---> a4fb48ad2a94 [2022-07-28T18:20:01.397Z] Step 3/11 : ARG MAKE=make build [2022-07-28T18:20:03.955Z] ---> Running in 723ae99b56b5 [2022-07-28T18:20:03.955Z] Removing intermediate container 723ae99b56b5 [2022-07-28T18:20:03.955Z] ---> 854275a3fbc3 [2022-07-28T18:20:03.955Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-28T18:20:03.955Z] ---> Running in c391a80625f0 [2022-07-28T18:20:03.955Z] Removing intermediate container c391a80625f0 [2022-07-28T18:20:03.955Z] ---> 31ee56f51378 [2022-07-28T18:20:03.955Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T18:20:03.955Z] ---> Running in 4cd6343cb621 [2022-07-28T18:20:03.955Z] Removing intermediate container 4cd6343cb621 [2022-07-28T18:20:03.955Z] ---> 6b8e08ac770e [2022-07-28T18:20:03.955Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T18:20:03.955Z] ---> Running in bbab4f8c97a4 [2022-07-28T18:20:04.525Z] Removing intermediate container bbab4f8c97a4 [2022-07-28T18:20:04.525Z] ---> 4d4d6028a1f8 [2022-07-28T18:20:04.525Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-28T18:20:04.525Z] ---> Running in 06075dfd3c20 [2022-07-28T18:20:04.785Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-28T18:20:05.632Z] Still waiting to schedule task [2022-07-28T18:20:05.632Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21385’ [2022-07-28T18:20:05.727Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-28T18:20:05.991Z] OK: 211 MiB in 51 packages [2022-07-28T18:20:06.252Z] Removing intermediate container 06075dfd3c20 [2022-07-28T18:20:06.252Z] ---> 60fc6923c148 [2022-07-28T18:20:06.252Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-28T18:20:06.512Z] ---> 5d03e3159faf [2022-07-28T18:20:06.512Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T18:20:06.512Z] ---> Running in 2155af40d48e [2022-07-28T18:20:21.624Z] Removing intermediate container 2155af40d48e [2022-07-28T18:20:21.624Z] ---> fbdf1d480492 [2022-07-28T18:20:21.624Z] Step 10/11 : COPY . . [2022-07-28T18:20:22.193Z] ---> 5f7fec7c5baf [2022-07-28T18:20:22.193Z] Step 11/11 : RUN ${MAKE} [2022-07-28T18:20:22.193Z] ---> Running in b3c5eaaf873d [2022-07-28T18:20:22.452Z] noop [2022-07-28T18:20:22.712Z] Removing intermediate container b3c5eaaf873d [2022-07-28T18:20:22.712Z] ---> aee426b50748 [2022-07-28T18:20:22.712Z] Successfully built aee426b50748 [2022-07-28T18:20:22.712Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T18:20:23.173Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-28T18:20:23.173Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T18:20:23.340Z] prd-ubuntu20.04-docker-8c-8g-21387 does not seem to be running inside a container [2022-07-28T18:20:23.380Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1204 -v /w/workspace/gexfoundry_device-sdk-go_PR-1204:/w/workspace/gexfoundry_device-sdk-go_PR-1204:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-28T18:20:23.763Z] $ docker top 4cf67eb61e814e799822d6bcf651e13e706155f5000f6cce6eb7aa82f5ac9f9a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T18:20:24.171Z] + go version [2022-07-28T18:20:24.171Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-28T18:20:24.209Z] $ docker stop --time=1 4cf67eb61e814e799822d6bcf651e13e706155f5000f6cce6eb7aa82f5ac9f9a [2022-07-28T18:20:25.496Z] $ docker rm -f 4cf67eb61e814e799822d6bcf651e13e706155f5000f6cce6eb7aa82f5ac9f9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T18:20:26.212Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-28T18:20:26.212Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T18:20:26.382Z] prd-ubuntu20.04-docker-8c-8g-21387 does not seem to be running inside a container [2022-07-28T18:20:26.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-sdk-go_PR-1204 -v /w/workspace/gexfoundry_device-sdk-go_PR-1204:/w/workspace/gexfoundry_device-sdk-go_PR-1204:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-28T18:20:26.825Z] $ docker top f43de94116e4fbca6e481064681b9a278a83363a0b2e06b2c7fd375af29f3373 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T18:20:27.356Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1204 [Pipeline] fileExists [Pipeline] sh [2022-07-28T18:20:27.715Z] + make test [2022-07-28T18:20:27.715Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-28T18:20:34.289Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-28T18:20:46.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-28T18:20:46.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-28T18:20:46.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-28T18:20:46.496Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.073s coverage: 23.7% of statements [2022-07-28T18:20:46.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-28T18:20:46.496Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 27.6% of statements [2022-07-28T18:20:46.496Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.064s coverage: 78.9% of statements [2022-07-28T18:20:46.496Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.061s coverage: 10.8% of statements [2022-07-28T18:20:46.496Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.107s coverage: 60.0% of statements [2022-07-28T18:20:46.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-28T18:20:46.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-28T18:20:46.496Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.077s coverage: 34.8% of statements [2022-07-28T18:20:46.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-28T18:20:46.496Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.073s coverage: 85.4% of statements [2022-07-28T18:20:46.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-28T18:20:46.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-28T18:20:46.496Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.086s coverage: 65.1% of statements [2022-07-28T18:20:46.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-07-28T18:20:46.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-07-28T18:20:46.496Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.766s coverage: 89.2% of statements [2022-07-28T18:20:46.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-28T18:20:46.496Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 4.7% of statements [2022-07-28T18:20:46.496Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-28T18:21:01.377Z] 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-07-28T18:21:01.377Z] GO111MODULE=on go vet ./... [2022-07-28T18:21:03.919Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-28T18:21:04.180Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-28T18:21:04.180Z] ./bin/test-attribution-txt.sh [2022-07-28T18:21:04.180Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-07-28T18:21:04.180Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-07-28T18:21:04.180Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-07-28T18:21:04.180Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-07-28T18:21:04.180Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-07-28T18:21:04.180Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-07-28T18:21:04.180Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-07-28T18:21:04.215Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-28T18:21:04.249Z] $ docker stop --time=1 f43de94116e4fbca6e481064681b9a278a83363a0b2e06b2c7fd375af29f3373 [2022-07-28T18:21:06.498Z] $ docker rm -f f43de94116e4fbca6e481064681b9a278a83363a0b2e06b2c7fd375af29f3373 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-28T18:21:07.045Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-28T18:21:07.120Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-28T18:21:07.769Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-28T18:21:08.080Z] + ls -al . [2022-07-28T18:21:08.080Z] total 304 [2022-07-28T18:21:08.080Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 28 18:20 . [2022-07-28T18:21:08.080Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 18:19 .. [2022-07-28T18:21:08.080Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 28 18:19 .dockerignore [2022-07-28T18:21:08.080Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 18:20 .git [2022-07-28T18:21:08.080Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 18:19 .github [2022-07-28T18:21:08.080Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 28 18:19 .gitignore [2022-07-28T18:21:08.080Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 28 18:19 .golangci.yml [2022-07-28T18:21:08.080Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 18:19 .semver [2022-07-28T18:21:08.080Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 28 18:19 CHANGELOG.md [2022-07-28T18:21:08.080Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 28 18:19 GOVERNANCE.md [2022-07-28T18:21:08.080Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 28 18:19 Jenkinsfile [2022-07-28T18:21:08.080Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 28 18:19 LICENSE [2022-07-28T18:21:08.080Z] -rw-rw-r-- 1 jenkins jenkins 2002 Jul 28 18:19 Makefile [2022-07-28T18:21:08.080Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 28 18:19 OWNERS.md [2022-07-28T18:21:08.080Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 28 18:19 README.md [2022-07-28T18:21:08.080Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 18:19 VERSION [2022-07-28T18:21:08.080Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 18:19 bin [2022-07-28T18:21:08.080Z] -rw-r--r-- 1 jenkins jenkins 131677 Jul 28 18:20 coverage.out [2022-07-28T18:21:08.080Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 28 18:19 example [2022-07-28T18:21:08.080Z] -rw-rw-r-- 1 jenkins jenkins 3553 Jul 28 18:19 go.mod [2022-07-28T18:21:08.080Z] -rw-rw-r-- 1 jenkins jenkins 36743 Jul 28 18:19 go.sum [2022-07-28T18:21:08.080Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 28 18:19 internal [2022-07-28T18:21:08.080Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 18:19 openapi [2022-07-28T18:21:08.080Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 28 18:19 pkg [2022-07-28T18:21:08.080Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 18:19 snap [2022-07-28T18:21:08.080Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 28 18:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T18:21:08.476Z] + 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=d0b10103318c9765db0acdc2a072651fb8b50c93 --label arch=amd64 --label version=0.0.0 . [2022-07-28T18:21:08.476Z] Sending build context to Docker daemon 9.906MB [2022-07-28T18:21:08.476Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-28T18:21:08.476Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-28T18:21:08.476Z] ---> aee426b50748 [2022-07-28T18:21:08.476Z] Step 3/25 : ARG MAKE=make build [2022-07-28T18:21:08.476Z] ---> Running in a98d6896a170 [2022-07-28T18:21:08.736Z] Removing intermediate container a98d6896a170 [2022-07-28T18:21:08.736Z] ---> f6da67fd85e7 [2022-07-28T18:21:08.736Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-28T18:21:08.736Z] ---> Running in 484cd5044d87 [2022-07-28T18:21:08.736Z] Removing intermediate container 484cd5044d87 [2022-07-28T18:21:08.736Z] ---> e4c534335f9d [2022-07-28T18:21:08.736Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T18:21:08.736Z] ---> Running in 9ec0ad71e6d0 [2022-07-28T18:21:08.995Z] Removing intermediate container 9ec0ad71e6d0 [2022-07-28T18:21:08.995Z] ---> adfcc3865dba [2022-07-28T18:21:08.995Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T18:21:08.995Z] ---> Running in 016f8c4678f6 [2022-07-28T18:21:09.562Z] Removing intermediate container 016f8c4678f6 [2022-07-28T18:21:09.562Z] ---> 114dd14c7939 [2022-07-28T18:21:09.562Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-28T18:21:09.562Z] ---> Running in 81e6400dc694 [2022-07-28T18:21:09.823Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-28T18:21:10.769Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-28T18:21:11.029Z] OK: 211 MiB in 51 packages [2022-07-28T18:21:11.290Z] Removing intermediate container 81e6400dc694 [2022-07-28T18:21:11.290Z] ---> 56a21aec2383 [2022-07-28T18:21:11.290Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-28T18:21:11.549Z] ---> 6ea32dd31415 [2022-07-28T18:21:11.549Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T18:21:11.549Z] ---> Running in d4a7cff5b312 [2022-07-28T18:21:12.120Z] Removing intermediate container d4a7cff5b312 [2022-07-28T18:21:12.120Z] ---> 071e13fd54d5 [2022-07-28T18:21:12.120Z] Step 10/25 : COPY . . [2022-07-28T18:21:12.691Z] ---> 6e57c808f128 [2022-07-28T18:21:12.691Z] Step 11/25 : RUN ${MAKE} [2022-07-28T18:21:12.691Z] ---> Running in 78b59b471af3 [2022-07-28T18:21:12.951Z] 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-07-28T18:21:31.037Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-28T18:21:31.037Z] Removing intermediate container 78b59b471af3 [2022-07-28T18:21:31.037Z] ---> 902621579a28 [2022-07-28T18:21:31.037Z] Step 12/25 : FROM alpine:3.16 [2022-07-28T18:21:31.608Z] 3.16: Pulling from library/alpine [2022-07-28T18:21:31.608Z] 530afca65e2e: Pulling fs layer [2022-07-28T18:21:31.868Z] 530afca65e2e: Verifying Checksum [2022-07-28T18:21:31.868Z] 530afca65e2e: Download complete [2022-07-28T18:21:32.130Z] 530afca65e2e: Pull complete [2022-07-28T18:21:32.130Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-28T18:21:32.130Z] Status: Downloaded newer image for alpine:3.16 [2022-07-28T18:21:32.130Z] ---> d7d3d98c851f [2022-07-28T18:21:32.130Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T18:21:32.130Z] ---> Running in fa6ab9a5694c [2022-07-28T18:21:32.130Z] Removing intermediate container fa6ab9a5694c [2022-07-28T18:21:32.130Z] ---> f5d8f32998d7 [2022-07-28T18:21:32.130Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T18:21:32.130Z] ---> Running in a001f6dda8f1 [2022-07-28T18:21:32.700Z] Removing intermediate container a001f6dda8f1 [2022-07-28T18:21:32.700Z] ---> 0b5942771f99 [2022-07-28T18:21:32.700Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-28T18:21:32.959Z] ---> Running in 1b058f98eebc [2022-07-28T18:21:33.220Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-28T18:21:34.159Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-28T18:21:34.159Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-28T18:21:34.422Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-28T18:21:34.422Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-28T18:21:34.682Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-28T18:21:34.682Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-28T18:21:34.682Z] Executing busybox-1.35.0-r15.trigger [2022-07-28T18:21:34.682Z] OK: 8 MiB in 19 packages [2022-07-28T18:21:35.253Z] Removing intermediate container 1b058f98eebc [2022-07-28T18:21:35.253Z] ---> 9ea3ea38ab69 [2022-07-28T18:21:35.253Z] Step 16/25 : WORKDIR / [2022-07-28T18:21:35.253Z] ---> Running in fdd93b6c6920 [2022-07-28T18:21:35.253Z] Removing intermediate container fdd93b6c6920 [2022-07-28T18:21:35.253Z] ---> d80723ce34a9 [2022-07-28T18:21:35.253Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-28T18:21:35.513Z] ---> 76f6e1054165 [2022-07-28T18:21:35.513Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-28T18:21:35.772Z] ---> fbf7d22441db [2022-07-28T18:21:35.772Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-28T18:21:36.031Z] ---> 040ff78ed7bc [2022-07-28T18:21:36.031Z] Step 20/25 : EXPOSE 59999 [2022-07-28T18:21:36.031Z] ---> Running in 67a79e968b61 [2022-07-28T18:21:36.291Z] Removing intermediate container 67a79e968b61 [2022-07-28T18:21:36.291Z] ---> d929e27c4093 [2022-07-28T18:21:36.291Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-28T18:21:36.291Z] ---> Running in 4bb2c9f355c3 [2022-07-28T18:21:36.291Z] Removing intermediate container 4bb2c9f355c3 [2022-07-28T18:21:36.291Z] ---> aa218e30cbc5 [2022-07-28T18:21:36.291Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-28T18:21:36.291Z] ---> Running in 6d7cf8498328 [2022-07-28T18:21:36.551Z] Removing intermediate container 6d7cf8498328 [2022-07-28T18:21:36.551Z] ---> b36b827e6138 [2022-07-28T18:21:36.551Z] Step 23/25 : LABEL arch=amd64 [2022-07-28T18:21:36.551Z] ---> Running in 1c04f5fdd91d [2022-07-28T18:21:36.551Z] Removing intermediate container 1c04f5fdd91d [2022-07-28T18:21:36.551Z] ---> 0139d64ac93f [2022-07-28T18:21:36.551Z] Step 24/25 : LABEL git_sha=d0b10103318c9765db0acdc2a072651fb8b50c93 [2022-07-28T18:21:36.551Z] ---> Running in 93620e1ae7de [2022-07-28T18:21:36.814Z] Removing intermediate container 93620e1ae7de [2022-07-28T18:21:36.814Z] ---> 64a6df63180b [2022-07-28T18:21:36.814Z] Step 25/25 : LABEL version=0.0.0 [2022-07-28T18:21:36.814Z] ---> Running in ff2b9b76859e [2022-07-28T18:21:36.814Z] Removing intermediate container ff2b9b76859e [2022-07-28T18:21:36.814Z] ---> 14ff31197c0b [2022-07-28T18:21:36.814Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-28T18:21:36.814Z] Successfully built 14ff31197c0b [2022-07-28T18:21:36.814Z] 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-07-28T18:21:37.651Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T18:21:37.651Z] [2022-07-28T18:21:37.651Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T18:21:38.027Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T18:21:38.027Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-28T18:21:38.027Z] 5eb5b503b376: Pulling fs layer [2022-07-28T18:21:38.027Z] 5c69ac0246d0: Pulling fs layer [2022-07-28T18:21:38.027Z] ec43610c2a17: Pulling fs layer [2022-07-28T18:21:38.027Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-28T18:21:38.027Z] 33b1e0a273af: Pulling fs layer [2022-07-28T18:21:38.027Z] 5d3b04190fa2: Pulling fs layer [2022-07-28T18:21:38.027Z] 2f39f015ded8: Pulling fs layer [2022-07-28T18:21:38.027Z] 33b1e0a273af: Waiting [2022-07-28T18:21:38.027Z] 5c69ac0246d0: Verifying Checksum [2022-07-28T18:21:38.027Z] 5c69ac0246d0: Download complete [2022-07-28T18:21:38.027Z] 3a2ae6a8a46f: Download complete [2022-07-28T18:21:38.027Z] 33b1e0a273af: Verifying Checksum [2022-07-28T18:21:38.027Z] 33b1e0a273af: Download complete [2022-07-28T18:21:38.027Z] 5d3b04190fa2: Verifying Checksum [2022-07-28T18:21:38.027Z] 5d3b04190fa2: Download complete [2022-07-28T18:21:38.027Z] ec43610c2a17: Verifying Checksum [2022-07-28T18:21:38.027Z] ec43610c2a17: Download complete [2022-07-28T18:21:38.287Z] 5eb5b503b376: Verifying Checksum [2022-07-28T18:21:38.287Z] 5eb5b503b376: Download complete [2022-07-28T18:21:38.859Z] 2f39f015ded8: Download complete [2022-07-28T18:21:39.428Z] 5eb5b503b376: Pull complete [2022-07-28T18:21:39.688Z] 5c69ac0246d0: Pull complete [2022-07-28T18:21:39.949Z] ec43610c2a17: Pull complete [2022-07-28T18:21:40.209Z] 3a2ae6a8a46f: Pull complete [2022-07-28T18:21:40.468Z] 33b1e0a273af: Pull complete [2022-07-28T18:21:40.468Z] 5d3b04190fa2: Pull complete [2022-07-28T18:21:44.661Z] 2f39f015ded8: Pull complete [2022-07-28T18:21:44.661Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-28T18:21:44.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T18:21:44.661Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T18:21:44.893Z] prd-ubuntu20.04-docker-8c-8g-21387 does not seem to be running inside a container [2022-07-28T18:21:44.931Z] $ 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-1204 -v /w/workspace/gexfoundry_device-sdk-go_PR-1204:/w/workspace/gexfoundry_device-sdk-go_PR-1204:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-28T18:21:46.568Z] $ docker top 497d14eb875b8a3302646120409b21892fc0a49b70de6eaebe6d564a8bda504d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T18:21:47.112Z] ---> job-cost.sh [2022-07-28T18:21:47.112Z] lf-activate-venv: SKIPPING [2022-07-28T18:21:47.112Z] INFO: No Stack... [2022-07-28T18:21:47.372Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-28T18:21:47.941Z] INFO: Archiving Costs [Pipeline] sh [2022-07-28T18:21:48.261Z] + cut -d, -f6 [2022-07-28T18:21:48.261Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1204/archives/cost.csv [Pipeline] lock [2022-07-28T18:21:48.301Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1204-1-stack-cost] [2022-07-28T18:21:48.306Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1204-1-stack-cost] did not exist. Created. [2022-07-28T18:21:48.306Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1204-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-28T18:21:48.702Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-28T18:21:48.752Z] Stashed 1 file(s) [Pipeline] } [2022-07-28T18:21:48.782Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1204-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-28T18:21:48.853Z] $ docker stop --time=1 497d14eb875b8a3302646120409b21892fc0a49b70de6eaebe6d564a8bda504d [2022-07-28T18:21:50.012Z] $ docker rm -f 497d14eb875b8a3302646120409b21892fc0a49b70de6eaebe6d564a8bda504d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-28T18:23:38.418Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21388 in /w/workspace/gexfoundry_device-sdk-go_PR-1204 [Pipeline] { [Pipeline] ws [2022-07-28T18:23:38.458Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-07-28T18:23:38.549Z] The recommended git tool is: git [2022-07-28T18:23:45.157Z] using credential edgex-jenkins-ssh [2022-07-28T18:23:45.174Z] Cloning the remote Git repository [2022-07-28T18:23:45.252Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-07-28T18:23:45.376Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-07-28T18:23:45.530Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-28T18:23:45.530Z] > git --version # timeout=10 [2022-07-28T18:23:45.564Z] > git --version # 'git version 2.25.1' [2022-07-28T18:23:45.567Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-28T18:23:45.750Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-28T18:23:47.260Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-28T18:23:47.279Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-28T18:23:47.306Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-28T18:23:47.948Z] Merging remotes/origin/main commit ad939af23b2d854541ed37c0929478efa4c7d7f6 into PR head commit d0b10103318c9765db0acdc2a072651fb8b50c93 [2022-07-28T18:23:48.185Z] Merge succeeded, producing d0b10103318c9765db0acdc2a072651fb8b50c93 [2022-07-28T18:23:48.186Z] Checking out Revision d0b10103318c9765db0acdc2a072651fb8b50c93 (PR-1204) [2022-07-28T18:23:47.353Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-28T18:23:47.354Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-28T18:23:47.368Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1204/head:refs/remotes/origin/PR-1204 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-28T18:23:47.968Z] > git config core.sparsecheckout # timeout=10 [2022-07-28T18:23:47.987Z] > git checkout -f d0b10103318c9765db0acdc2a072651fb8b50c93 # timeout=10 [2022-07-28T18:23:48.098Z] > git remote # timeout=10 [2022-07-28T18:23:48.115Z] > git config --get remote.origin.url # timeout=10 [2022-07-28T18:23:48.132Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-28T18:23:48.143Z] > git merge ad939af23b2d854541ed37c0929478efa4c7d7f6 # timeout=10 [2022-07-28T18:23:48.169Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-28T18:23:48.194Z] > git config core.sparsecheckout # timeout=10 [2022-07-28T18:23:48.217Z] > git checkout -f d0b10103318c9765db0acdc2a072651fb8b50c93 # timeout=10 [2022-07-28T18:23:52.425Z] Commit message: "fix: DeviceServiceSDK needed to be updated for the new methods that were recently added" [2022-07-28T18:23:52.479Z] > git --version # timeout=10 [2022-07-28T18:23:52.489Z] > git --version # 'git version 2.25.1' [2022-07-28T18:23:52.503Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-28T18:23:53.519Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-28T18:23:53.519Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-28T18:23:53.519Z] Dload Upload Total Spent Left Speed [2022-07-28T18:23:53.519Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 64229 0 --:--:-- --:--:-- --:--:-- 64229 [Pipeline] sh [2022-07-28T18:23:54.314Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-28T18:23:54.667Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2022-07-28T18:23:54.668Z] sudo tee /etc/docker/daemon.new [2022-07-28T18:23:54.668Z] { [2022-07-28T18:23:54.668Z] "registry-mirrors": [ [2022-07-28T18:23:54.668Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-28T18:23:54.668Z] ], [2022-07-28T18:23:54.668Z] "bip": "10.250.0.254/24", [2022-07-28T18:23:54.668Z] "hosts": [ [2022-07-28T18:23:54.668Z] "tcp://0.0.0.0:5555", [2022-07-28T18:23:54.668Z] "unix:///var/run/docker.sock" [2022-07-28T18:23:54.668Z] ], [2022-07-28T18:23:54.668Z] "mtu": 1458, [2022-07-28T18:23:54.668Z] "selinux-enabled": true, [2022-07-28T18:23:54.668Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-28T18:23:54.668Z] } [Pipeline] sh [2022-07-28T18:23:55.019Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-28T18:23:55.372Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-28T18:24:13.919Z] provisioning config files... [2022-07-28T18:24:13.944Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config559567876994427237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T18:24:14.338Z] ---> docker-login.sh [2022-07-28T18:24:14.338Z] nexus3.edgexfoundry.org:10001 [2022-07-28T18:24:14.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T18:24:15.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T18:24:15.205Z] Configure a credential helper to remove this warning. See [2022-07-28T18:24:15.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T18:24:15.205Z] [2022-07-28T18:24:15.205Z] Login Succeeded [2022-07-28T18:24:15.205Z] nexus3.edgexfoundry.org:10002 [2022-07-28T18:24:15.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T18:24:15.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T18:24:15.751Z] Configure a credential helper to remove this warning. See [2022-07-28T18:24:15.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T18:24:15.751Z] [2022-07-28T18:24:15.751Z] Login Succeeded [2022-07-28T18:24:15.751Z] nexus3.edgexfoundry.org:10003 [2022-07-28T18:24:16.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T18:24:16.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T18:24:16.027Z] Configure a credential helper to remove this warning. See [2022-07-28T18:24:16.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T18:24:16.027Z] [2022-07-28T18:24:16.027Z] Login Succeeded [2022-07-28T18:24:16.027Z] nexus3.edgexfoundry.org:10004 [2022-07-28T18:24:16.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T18:24:16.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T18:24:16.625Z] Configure a credential helper to remove this warning. See [2022-07-28T18:24:16.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T18:24:16.625Z] [2022-07-28T18:24:16.625Z] Login Succeeded [2022-07-28T18:24:16.625Z] docker.io [2022-07-28T18:24:16.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T18:24:17.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T18:24:17.168Z] Configure a credential helper to remove this warning. See [2022-07-28T18:24:17.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T18:24:17.168Z] [2022-07-28T18:24:17.168Z] Login Succeeded [2022-07-28T18:24:17.168Z] ---> docker-login.sh ends [Pipeline] } [2022-07-28T18:24:17.197Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-28T18:24:17.566Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T18:24:17.602Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T18:24:17.635Z] ========================================================= [2022-07-28T18:24:17.635Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-28T18:24:17.635Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T18:24:18.130Z] + 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-07-28T18:24:18.404Z] Sending build context to Docker daemon 5.25MB [2022-07-28T18:24:18.404Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-07-28T18:24:18.404Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-28T18:24:18.683Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-28T18:24:18.684Z] b3c136eddcbf: Pulling fs layer [2022-07-28T18:24:18.684Z] c0a3192eca97: Pulling fs layer [2022-07-28T18:24:18.684Z] a050256f5b6f: Pulling fs layer [2022-07-28T18:24:18.684Z] 656be50a0ddc: Pulling fs layer [2022-07-28T18:24:18.684Z] 2bbca73fdf42: Pulling fs layer [2022-07-28T18:24:18.684Z] 46d945488cbd: Pulling fs layer [2022-07-28T18:24:18.684Z] 8a5474983e97: Pulling fs layer [2022-07-28T18:24:18.684Z] 329c88fbcd65: Pulling fs layer [2022-07-28T18:24:18.684Z] 656be50a0ddc: Waiting [2022-07-28T18:24:18.684Z] 2bbca73fdf42: Waiting [2022-07-28T18:24:18.684Z] 329c88fbcd65: Waiting [2022-07-28T18:24:18.684Z] 8a5474983e97: Waiting [2022-07-28T18:24:18.684Z] 46d945488cbd: Waiting [2022-07-28T18:24:18.684Z] a050256f5b6f: Verifying Checksum [2022-07-28T18:24:18.684Z] a050256f5b6f: Download complete [2022-07-28T18:24:18.684Z] c0a3192eca97: Verifying Checksum [2022-07-28T18:24:18.684Z] c0a3192eca97: Download complete [2022-07-28T18:24:18.684Z] 2bbca73fdf42: Verifying Checksum [2022-07-28T18:24:18.684Z] 2bbca73fdf42: Download complete [2022-07-28T18:24:18.684Z] 46d945488cbd: Verifying Checksum [2022-07-28T18:24:18.684Z] 46d945488cbd: Download complete [2022-07-28T18:24:18.684Z] b3c136eddcbf: Verifying Checksum [2022-07-28T18:24:18.684Z] b3c136eddcbf: Download complete [2022-07-28T18:24:19.676Z] b3c136eddcbf: Pull complete [2022-07-28T18:24:19.953Z] 329c88fbcd65: Verifying Checksum [2022-07-28T18:24:19.953Z] 329c88fbcd65: Download complete [2022-07-28T18:24:20.226Z] c0a3192eca97: Pull complete [2022-07-28T18:24:20.826Z] a050256f5b6f: Pull complete [2022-07-28T18:24:21.099Z] 8a5474983e97: Verifying Checksum [2022-07-28T18:24:21.099Z] 8a5474983e97: Download complete [2022-07-28T18:24:21.693Z] 656be50a0ddc: Verifying Checksum [2022-07-28T18:24:21.693Z] 656be50a0ddc: Download complete [2022-07-28T18:24:34.094Z] 656be50a0ddc: Pull complete [2022-07-28T18:24:34.369Z] 2bbca73fdf42: Pull complete [2022-07-28T18:24:34.642Z] 46d945488cbd: Pull complete [2022-07-28T18:24:41.360Z] 8a5474983e97: Pull complete [2022-07-28T18:24:43.342Z] 329c88fbcd65: Pull complete [2022-07-28T18:24:43.342Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-28T18:24:43.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-28T18:24:43.342Z] ---> ff4287adb874 [2022-07-28T18:24:43.342Z] Step 3/11 : ARG MAKE=make build [2022-07-28T18:24:43.944Z] ---> Running in f18637ac29f8 [2022-07-28T18:24:44.219Z] Removing intermediate container f18637ac29f8 [2022-07-28T18:24:44.219Z] ---> 3ef0deb00fce [2022-07-28T18:24:44.219Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-28T18:24:44.219Z] ---> Running in 2d5ed33190a2 [2022-07-28T18:24:44.497Z] Removing intermediate container 2d5ed33190a2 [2022-07-28T18:24:44.497Z] ---> 7ad179360123 [2022-07-28T18:24:44.497Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T18:24:44.772Z] ---> Running in cc984369ff4b [2022-07-28T18:24:45.046Z] Removing intermediate container cc984369ff4b [2022-07-28T18:24:45.046Z] ---> a0ad2c865c3a [2022-07-28T18:24:45.046Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T18:24:45.046Z] ---> Running in 0173119b9333 [2022-07-28T18:24:47.033Z] Removing intermediate container 0173119b9333 [2022-07-28T18:24:47.033Z] ---> e38857914768 [2022-07-28T18:24:47.033Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-28T18:24:47.033Z] ---> Running in 30c3d08e47bd [2022-07-28T18:24:49.022Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-28T18:24:50.007Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-28T18:24:50.985Z] OK: 221 MiB in 51 packages [2022-07-28T18:24:51.974Z] Removing intermediate container 30c3d08e47bd [2022-07-28T18:24:51.974Z] ---> f899c3dc2b9d [2022-07-28T18:24:51.974Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-28T18:24:52.577Z] ---> e5552de672cb [2022-07-28T18:24:52.577Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T18:24:52.577Z] ---> Running in 1504dc330512 [2022-07-28T18:25:39.590Z] Removing intermediate container 1504dc330512 [2022-07-28T18:25:39.590Z] ---> b276aa9d5972 [2022-07-28T18:25:39.590Z] Step 10/11 : COPY . . [2022-07-28T18:25:39.863Z] ---> 2130103973d5 [2022-07-28T18:25:39.863Z] Step 11/11 : RUN ${MAKE} [2022-07-28T18:25:39.863Z] ---> Running in baea88d7fc20 [2022-07-28T18:25:40.844Z] noop [2022-07-28T18:25:41.435Z] Removing intermediate container baea88d7fc20 [2022-07-28T18:25:41.435Z] ---> 85089e7715f7 [2022-07-28T18:25:41.435Z] Successfully built 85089e7715f7 [2022-07-28T18:25:41.435Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T18:25:41.905Z] + docker inspect -f . ci-base-image-arm64 [2022-07-28T18:25:41.905Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T18:25:42.201Z] prd-ubuntu20.04-docker-arm64-4c-16g-21388 does not seem to be running inside a container [2022-07-28T18:25:42.291Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-28T18:25:43.457Z] $ docker top aae4811d28798967da8827f81ebfeb91100dc293d75ba709e7aed720a4d8ece6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T18:25:44.362Z] + go version [2022-07-28T18:25:44.362Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-28T18:25:44.405Z] $ docker stop --time=1 aae4811d28798967da8827f81ebfeb91100dc293d75ba709e7aed720a4d8ece6 [2022-07-28T18:25:45.961Z] $ docker rm -f aae4811d28798967da8827f81ebfeb91100dc293d75ba709e7aed720a4d8ece6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T18:25:46.845Z] + docker inspect -f . ci-base-image-arm64 [2022-07-28T18:25:46.845Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T18:25:47.125Z] prd-ubuntu20.04-docker-arm64-4c-16g-21388 does not seem to be running inside a container [2022-07-28T18:25:47.214Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-28T18:25:48.444Z] $ docker top 99ba38744984b42a88a91228fc4c4e3fdb263c58e417d399221bc87cf8854670 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T18:25:49.379Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-07-28T18:25:50.107Z] + make test [2022-07-28T18:25:50.108Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-28T18:26:22.480Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-28T18:27:59.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-28T18:27:59.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-28T18:27:59.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-28T18:28:09.542Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.548s coverage: 23.7% of statements [2022-07-28T18:28:09.542Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-28T18:28:09.542Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.273s coverage: 27.6% of statements [2022-07-28T18:28:09.542Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.274s coverage: 78.9% of statements [2022-07-28T18:28:09.542Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.263s coverage: 10.8% of statements [2022-07-28T18:28:11.551Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.421s coverage: 60.0% of statements [2022-07-28T18:28:11.551Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-28T18:28:11.551Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-28T18:28:13.558Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.396s coverage: 34.8% of statements [2022-07-28T18:28:13.558Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-28T18:28:13.837Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.310s coverage: 85.4% of statements [2022-07-28T18:28:13.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-28T18:28:13.837Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-28T18:28:19.284Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.425s coverage: 65.1% of statements [2022-07-28T18:28:19.284Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-07-28T18:28:19.284Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-07-28T18:28:19.882Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.192s coverage: 89.2% of statements [2022-07-28T18:28:19.882Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-28T18:28:20.861Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.225s coverage: 4.7% of statements [2022-07-28T18:28:20.861Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-28T18:28:21.457Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-28T18:28:21.457Z] GO111MODULE=on go vet ./... [2022-07-28T18:29:43.287Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-28T18:29:43.287Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-28T18:29:43.287Z] ./bin/test-attribution-txt.sh [2022-07-28T18:29:43.287Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-07-28T18:29:43.287Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-07-28T18:29:43.287Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-07-28T18:29:43.287Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-07-28T18:29:43.287Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-07-28T18:29:43.287Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-07-28T18:29:43.287Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-07-28T18:29:43.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-28T18:29:43.369Z] $ docker stop --time=1 99ba38744984b42a88a91228fc4c4e3fdb263c58e417d399221bc87cf8854670 [2022-07-28T18:29:45.221Z] $ docker rm -f 99ba38744984b42a88a91228fc4c4e3fdb263c58e417d399221bc87cf8854670 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-28T18:29:46.641Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-28T18:29:46.678Z] Warning: overwriting stash ‘coverage-report’ [2022-07-28T18:29:47.253Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-28T18:29:47.836Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-28T18:29:48.195Z] + ls -al . [2022-07-28T18:29:48.195Z] total 300 [2022-07-28T18:29:48.195Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 28 18:25 . [2022-07-28T18:29:48.195Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 18:23 .. [2022-07-28T18:29:48.195Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 28 18:23 .dockerignore [2022-07-28T18:29:48.195Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 18:23 .git [2022-07-28T18:29:48.195Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 18:23 .github [2022-07-28T18:29:48.195Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 28 18:23 .gitignore [2022-07-28T18:29:48.195Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 28 18:23 .golangci.yml [2022-07-28T18:29:48.195Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 28 18:23 CHANGELOG.md [2022-07-28T18:29:48.195Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 28 18:23 GOVERNANCE.md [2022-07-28T18:29:48.195Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 28 18:23 Jenkinsfile [2022-07-28T18:29:48.195Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 28 18:23 LICENSE [2022-07-28T18:29:48.195Z] -rw-rw-r-- 1 jenkins jenkins 2002 Jul 28 18:23 Makefile [2022-07-28T18:29:48.195Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 28 18:23 OWNERS.md [2022-07-28T18:29:48.195Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 28 18:23 README.md [2022-07-28T18:29:48.195Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 18:19 VERSION [2022-07-28T18:29:48.195Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 18:23 bin [2022-07-28T18:29:48.195Z] -rw-r--r-- 1 jenkins jenkins 131677 Jul 28 18:28 coverage.out [2022-07-28T18:29:48.195Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 28 18:23 example [2022-07-28T18:29:48.195Z] -rw-rw-r-- 1 jenkins jenkins 3553 Jul 28 18:23 go.mod [2022-07-28T18:29:48.195Z] -rw-rw-r-- 1 jenkins jenkins 36743 Jul 28 18:23 go.sum [2022-07-28T18:29:48.195Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 28 18:23 internal [2022-07-28T18:29:48.195Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 18:23 openapi [2022-07-28T18:29:48.195Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 28 18:23 pkg [2022-07-28T18:29:48.195Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 18:23 snap [2022-07-28T18:29:48.195Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 28 18:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T18:29:48.640Z] + 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=d0b10103318c9765db0acdc2a072651fb8b50c93 --label arch=arm64 --label version=0.0.0 . [2022-07-28T18:29:48.917Z] Sending build context to Docker daemon 5.383MB [2022-07-28T18:29:49.194Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-28T18:29:49.194Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-28T18:29:49.194Z] ---> 85089e7715f7 [2022-07-28T18:29:49.194Z] Step 3/25 : ARG MAKE=make build [2022-07-28T18:29:49.194Z] ---> Running in ec867f4bac98 [2022-07-28T18:29:49.471Z] Removing intermediate container ec867f4bac98 [2022-07-28T18:29:49.471Z] ---> f9f71f3745a0 [2022-07-28T18:29:49.471Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-28T18:29:49.751Z] ---> Running in 956e636c0cca [2022-07-28T18:29:50.032Z] Removing intermediate container 956e636c0cca [2022-07-28T18:29:50.032Z] ---> c1e712d8f031 [2022-07-28T18:29:50.032Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T18:29:50.032Z] ---> Running in 62928fb3d7db [2022-07-28T18:29:50.326Z] Removing intermediate container 62928fb3d7db [2022-07-28T18:29:50.326Z] ---> 21345c782e3d [2022-07-28T18:29:50.326Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T18:29:50.326Z] ---> Running in 32e71ea65793 [2022-07-28T18:29:52.311Z] Removing intermediate container 32e71ea65793 [2022-07-28T18:29:52.311Z] ---> 29a36da67488 [2022-07-28T18:29:52.311Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-28T18:29:52.311Z] ---> Running in 33108ff4db27 [2022-07-28T18:29:53.290Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-28T18:29:53.889Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-28T18:29:54.875Z] OK: 221 MiB in 51 packages [2022-07-28T18:29:55.862Z] Removing intermediate container 33108ff4db27 [2022-07-28T18:29:55.862Z] ---> b6f2422e5e0f [2022-07-28T18:29:55.862Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-28T18:29:56.137Z] ---> 9ad9d7b5bcc6 [2022-07-28T18:29:56.137Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T18:29:56.419Z] ---> Running in 2cbd67e39683 [2022-07-28T18:29:58.416Z] Removing intermediate container 2cbd67e39683 [2022-07-28T18:29:58.416Z] ---> 08818a0e3986 [2022-07-28T18:29:58.416Z] Step 10/25 : COPY . . [2022-07-28T18:29:59.396Z] ---> c32ec3ab9c4c [2022-07-28T18:29:59.396Z] Step 11/25 : RUN ${MAKE} [2022-07-28T18:29:59.396Z] ---> Running in 74181cc1d2d2 [2022-07-28T18:30:00.379Z] 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-07-28T18:32:07.293Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-28T18:32:07.293Z] Removing intermediate container 74181cc1d2d2 [2022-07-28T18:32:07.293Z] ---> 3f023ac65efe [2022-07-28T18:32:07.293Z] Step 12/25 : FROM alpine:3.16 [2022-07-28T18:32:07.293Z] 3.16: Pulling from library/alpine [2022-07-28T18:32:07.293Z] f97344484467: Pulling fs layer [2022-07-28T18:32:07.293Z] f97344484467: Verifying Checksum [2022-07-28T18:32:07.293Z] f97344484467: Download complete [2022-07-28T18:32:07.293Z] f97344484467: Pull complete [2022-07-28T18:32:07.293Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-07-28T18:32:07.293Z] Status: Downloaded newer image for alpine:3.16 [2022-07-28T18:32:07.293Z] ---> 3d81c46cd875 [2022-07-28T18:32:07.293Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-28T18:32:07.293Z] ---> Running in d6c24de380ae [2022-07-28T18:32:07.293Z] Removing intermediate container d6c24de380ae [2022-07-28T18:32:07.293Z] ---> b3dd9eee2755 [2022-07-28T18:32:07.293Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T18:32:07.293Z] ---> Running in b525fb9e8ba7 [2022-07-28T18:32:07.293Z] Removing intermediate container b525fb9e8ba7 [2022-07-28T18:32:07.293Z] ---> e20611ddae17 [2022-07-28T18:32:07.293Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-28T18:32:07.293Z] ---> Running in 4e66daa2c882 [2022-07-28T18:32:07.293Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-28T18:32:08.268Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-28T18:32:09.246Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-28T18:32:09.246Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-28T18:32:09.246Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-28T18:32:09.522Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-28T18:32:09.522Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-28T18:32:09.522Z] Executing busybox-1.35.0-r15.trigger [2022-07-28T18:32:09.522Z] OK: 8 MiB in 19 packages [2022-07-28T18:32:10.501Z] Removing intermediate container 4e66daa2c882 [2022-07-28T18:32:10.501Z] ---> 1c63b201b2e7 [2022-07-28T18:32:10.501Z] Step 16/25 : WORKDIR / [2022-07-28T18:32:10.501Z] ---> Running in 2d6594f6b314 [2022-07-28T18:32:10.784Z] Removing intermediate container 2d6594f6b314 [2022-07-28T18:32:10.784Z] ---> ebb597a437ef [2022-07-28T18:32:10.784Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-28T18:32:11.384Z] ---> c7c66961fefa [2022-07-28T18:32:11.384Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-28T18:32:12.813Z] ---> 294b480b25e5 [2022-07-28T18:32:12.813Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-28T18:32:13.407Z] ---> cdba3b4a6f13 [2022-07-28T18:32:13.407Z] Step 20/25 : EXPOSE 59999 [2022-07-28T18:32:13.407Z] ---> Running in 2410d1107ab8 [2022-07-28T18:32:13.678Z] Removing intermediate container 2410d1107ab8 [2022-07-28T18:32:13.678Z] ---> 52d1a9025197 [2022-07-28T18:32:13.678Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-28T18:32:13.678Z] ---> Running in 2dd572a9bab8 [2022-07-28T18:32:13.956Z] Removing intermediate container 2dd572a9bab8 [2022-07-28T18:32:13.957Z] ---> ed13aa79e2fd [2022-07-28T18:32:13.957Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-28T18:32:13.957Z] ---> Running in 22dfd90d80f5 [2022-07-28T18:32:14.229Z] Removing intermediate container 22dfd90d80f5 [2022-07-28T18:32:14.229Z] ---> 10912ef9e62a [2022-07-28T18:32:14.229Z] Step 23/25 : LABEL arch=arm64 [2022-07-28T18:32:14.502Z] ---> Running in 9ad2825886bd [2022-07-28T18:32:14.774Z] Removing intermediate container 9ad2825886bd [2022-07-28T18:32:14.774Z] ---> d90e25a3f184 [2022-07-28T18:32:14.774Z] Step 24/25 : LABEL git_sha=d0b10103318c9765db0acdc2a072651fb8b50c93 [2022-07-28T18:32:14.774Z] ---> Running in 1c64aa9eb3fb [2022-07-28T18:32:15.051Z] Removing intermediate container 1c64aa9eb3fb [2022-07-28T18:32:15.051Z] ---> 82c402d0358c [2022-07-28T18:32:15.051Z] Step 25/25 : LABEL version=0.0.0 [2022-07-28T18:32:15.051Z] ---> Running in 460623e585e0 [2022-07-28T18:32:15.323Z] Removing intermediate container 460623e585e0 [2022-07-28T18:32:15.323Z] ---> b0d6b9e9bb51 [2022-07-28T18:32:15.323Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-28T18:32:15.323Z] Successfully built b0d6b9e9bb51 [2022-07-28T18:32:15.323Z] 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-07-28T18:32:16.173Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-28T18:32:16.173Z] [2022-07-28T18:32:16.173Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T18:32:16.592Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-28T18:32:16.592Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-28T18:32:16.592Z] 8998bd30e6a1: Pulling fs layer [2022-07-28T18:32:16.592Z] 04944245beec: Pulling fs layer [2022-07-28T18:32:16.592Z] 699f458cf7ca: Pulling fs layer [2022-07-28T18:32:16.592Z] 765212b225bb: Pulling fs layer [2022-07-28T18:32:16.592Z] f23df028b6ca: Pulling fs layer [2022-07-28T18:32:16.592Z] d65c8cfc05b1: Pulling fs layer [2022-07-28T18:32:16.592Z] 2437ff75d9bd: Pulling fs layer [2022-07-28T18:32:16.592Z] f23df028b6ca: Waiting [2022-07-28T18:32:16.592Z] 765212b225bb: Waiting [2022-07-28T18:32:16.592Z] d65c8cfc05b1: Waiting [2022-07-28T18:32:16.592Z] 2437ff75d9bd: Waiting [2022-07-28T18:32:16.868Z] 04944245beec: Verifying Checksum [2022-07-28T18:32:16.868Z] 04944245beec: Download complete [2022-07-28T18:32:16.868Z] 765212b225bb: Verifying Checksum [2022-07-28T18:32:16.868Z] 765212b225bb: Download complete [2022-07-28T18:32:16.868Z] f23df028b6ca: Download complete [2022-07-28T18:32:16.868Z] d65c8cfc05b1: Verifying Checksum [2022-07-28T18:32:16.868Z] d65c8cfc05b1: Download complete [2022-07-28T18:32:17.142Z] 699f458cf7ca: Verifying Checksum [2022-07-28T18:32:17.142Z] 699f458cf7ca: Download complete [2022-07-28T18:32:17.417Z] 8998bd30e6a1: Verifying Checksum [2022-07-28T18:32:17.417Z] 8998bd30e6a1: Download complete [2022-07-28T18:32:19.403Z] 2437ff75d9bd: Verifying Checksum [2022-07-28T18:32:19.403Z] 2437ff75d9bd: Download complete [2022-07-28T18:32:21.378Z] 8998bd30e6a1: Pull complete [2022-07-28T18:32:21.652Z] 04944245beec: Pull complete [2022-07-28T18:32:23.095Z] 699f458cf7ca: Pull complete [2022-07-28T18:32:23.369Z] 765212b225bb: Pull complete [2022-07-28T18:32:24.353Z] f23df028b6ca: Pull complete [2022-07-28T18:32:24.353Z] d65c8cfc05b1: Pull complete [2022-07-28T18:32:39.468Z] 2437ff75d9bd: Pull complete [2022-07-28T18:32:39.468Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-28T18:32:39.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-28T18:32:39.468Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T18:32:39.848Z] prd-ubuntu20.04-docker-arm64-4c-16g-21388 does not seem to be running inside a container [2022-07-28T18:32:39.952Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-28T18:32:42.562Z] $ docker top 7466d9b22eace3862bcec97b12c6a4b5071d1f0574664708c9b8bbcdf70d17d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T18:32:43.507Z] ---> job-cost.sh [2022-07-28T18:32:43.507Z] lf-activate-venv: SKIPPING [2022-07-28T18:32:43.507Z] INFO: No Stack... [2022-07-28T18:32:43.779Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-28T18:32:44.756Z] INFO: Archiving Costs [Pipeline] sh [2022-07-28T18:32:45.434Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-07-28T18:32:45.434Z] + cut -d, -f6 [Pipeline] lock [2022-07-28T18:32:45.519Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1204-1-stack-cost] [2022-07-28T18:32:45.524Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1204-1-stack-cost] did not exist. Created. [2022-07-28T18:32:45.524Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1204-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-28T18:32:46.275Z] /w/workspace/device-sdk-go/1@tmp/durable-ae7c4068/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-28T18:32:46.974Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-28T18:32:47.014Z] Warning: overwriting stash ‘stack-cost’ [2022-07-28T18:32:47.078Z] Stashed 1 file(s) [Pipeline] } [2022-07-28T18:32:47.094Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1204-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-28T18:32:47.191Z] $ docker stop --time=1 7466d9b22eace3862bcec97b12c6a4b5071d1f0574664708c9b8bbcdf70d17d4 [2022-07-28T18:32:48.653Z] $ docker rm -f 7466d9b22eace3862bcec97b12c6a4b5071d1f0574664708c9b8bbcdf70d17d4 [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-07-28T18:32:49.700Z] provisioning config files... [2022-07-28T18:32:49.709Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp/config4326540017281870216tmp [Pipeline] { [Pipeline] sh [2022-07-28T18:32:50.034Z] + set +x [2022-07-28T18:32:50.035Z] + curl -s https://codecov.io/bash [2022-07-28T18:32:50.035Z] + bash -s -- [2022-07-28T18:32:50.035Z] [2022-07-28T18:32:50.035Z] _____ _ [2022-07-28T18:32:50.035Z] / ____| | | [2022-07-28T18:32:50.035Z] | | ___ __| | ___ ___ _____ __ [2022-07-28T18:32:50.035Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-28T18:32:50.035Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-28T18:32:50.035Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-28T18:32:50.035Z] Bash-1.0.6 [2022-07-28T18:32:50.035Z] [2022-07-28T18:32:50.035Z] [2022-07-28T18:32:50.035Z] ==> git version 2.25.1 found [2022-07-28T18:32:50.035Z] ==> 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-07-28T18:32:50.035Z] Release-Date: 2020-01-08 [2022-07-28T18:32:50.035Z] 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-07-28T18:32:50.035Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-28T18:32:50.035Z] ==> Jenkins CI detected. [2022-07-28T18:32:50.035Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1204 [2022-07-28T18:32:50.035Z] project root: . [2022-07-28T18:32:50.035Z] --> token set from env [2022-07-28T18:32:50.035Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-28T18:32:50.035Z] ==> Running gcov in . (disable via -X gcov) [2022-07-28T18:32:50.035Z] ==> Python coveragepy not found [2022-07-28T18:32:50.035Z] ==> Searching for coverage reports in: [2022-07-28T18:32:50.035Z] + . [2022-07-28T18:32:50.035Z] -> Found 1 reports [2022-07-28T18:32:50.035Z] ==> Detecting git/mercurial file structure [2022-07-28T18:32:50.035Z] ==> Reading reports [2022-07-28T18:32:50.035Z] + ./coverage.out bytes=131677 [2022-07-28T18:32:50.035Z] ==> Appending adjustments [2022-07-28T18:32:50.035Z] https://docs.codecov.io/docs/fixing-reports [2022-07-28T18:32:50.604Z] + Found adjustments [2022-07-28T18:32:50.604Z] ==> Gzipping contents [2022-07-28T18:32:50.604Z] 20K /tmp/codecov.tXrvw9.gz [2022-07-28T18:32:50.604Z] ==> Uploading reports [2022-07-28T18:32:50.604Z] url: https://codecov.io [2022-07-28T18:32:50.604Z] query: branch=PR-1204&commit=d0b10103318c9765db0acdc2a072651fb8b50c93&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1204%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1204&job=&cmd_args= [2022-07-28T18:32:50.604Z] -> Pinging Codecov [2022-07-28T18:32:50.604Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1204&commit=d0b10103318c9765db0acdc2a072651fb8b50c93&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1204%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1204&job=&cmd_args= [2022-07-28T18:32:50.872Z] -> Uploading to [2022-07-28T18:32:50.872Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-28/7E55EF52A471D76F132DFD9A03CDDE97/d0b10103318c9765db0acdc2a072651fb8b50c93/fe9dc8fe-4f85-4c67-baef-1373c99f3896.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220728%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220728T183250Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7e8e0c3cd896d2433a73d1f4e3df34ad01fcb73d439ea6059b278e9061692f0c [2022-07-28T18:32:50.872Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-28T18:32:50.872Z] Dload Upload Total Spent Left Speed [2022-07-28T18:32:51.132Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17306 0 0 100 17306 0 76915 --:--:-- --:--:-- --:--:-- 76915 [2022-07-28T18:32:51.132Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d0b10103318c9765db0acdc2a072651fb8b50c93 [Pipeline] } [2022-07-28T18:32:51.165Z] 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-07-28T18:32:52.951Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1204/archives ] [2022-07-28T18:32:52.952Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1204/archives [2022-07-28T18:32:52.952Z] total 16 [2022-07-28T18:32:52.952Z] drwxr-xr-x 3 root root 4096 Jul 28 18:21 . [2022-07-28T18:32:52.952Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 28 18:21 .. [2022-07-28T18:32:52.952Z] drwxr-xr-x 2 root root 4096 Jul 28 18:21 cost [2022-07-28T18:32:52.952Z] -rw-r--r-- 1 root root 86 Jul 28 18:21 cost.csv [2022-07-28T18:32:52.952Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1204/archives [2022-07-28T18:32:52.952Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1204/archives [2022-07-28T18:32:52.952Z] total 16 [2022-07-28T18:32:52.952Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 18:21 . [2022-07-28T18:32:52.952Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 28 18:21 .. [2022-07-28T18:32:52.952Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 28 18:21 cost [2022-07-28T18:32:52.952Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 28 18:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-28T18:32:53.285Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T18:32:54.180Z] ---> package-listing.sh [2022-07-28T18:32:54.180Z] ++ facter osfamily [2022-07-28T18:32:54.180Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-28T18:32:54.441Z] + OS_FAMILY=debian [2022-07-28T18:32:54.441Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1204 [2022-07-28T18:32:54.441Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-28T18:32:54.442Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-28T18:32:54.442Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-28T18:32:54.442Z] + PACKAGES=/tmp/packages_start.txt [2022-07-28T18:32:54.442Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1204 ']' [2022-07-28T18:32:54.442Z] + PACKAGES=/tmp/packages_end.txt [2022-07-28T18:32:54.442Z] + case "${OS_FAMILY}" in [2022-07-28T18:32:54.442Z] + dpkg -l [2022-07-28T18:32:54.442Z] + grep '^ii' [2022-07-28T18:32:54.442Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-28T18:32:54.442Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-28T18:32:54.442Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-28T18:32:54.442Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1204 ']' [2022-07-28T18:32:54.442Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1204/archives/ [2022-07-28T18:32:54.442Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1204/archives/ [Pipeline] echo [2022-07-28T18:32:54.477Z] 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-1204/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-28T18:32:54.774Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T18:32:55.410Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T18:32:55.410Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T18:32:55.565Z] prd-ubuntu20.04-docker-8c-8g-21387 does not seem to be running inside a container [2022-07-28T18:32:55.614Z] $ 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-1204/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-1204 -v /w/workspace/gexfoundry_device-sdk-go_PR-1204:/w/workspace/gexfoundry_device-sdk-go_PR-1204:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-28T18:32:55.849Z] $ docker top 052b77ecb8d79563cf1e9b7328b9580338b5582a2d8315465d9ceb6efe376753 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T18:32:56.254Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-28T18:32:56.569Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-28T18:32:56.880Z] + ls /var/log/sa-host [2022-07-28T18:32:56.880Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-28T18:32:57.015Z] provisioning config files... [2022-07-28T18:32:57.025Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1204@tmp/config3045555744215175957tmp [Pipeline] { [Pipeline] echo [2022-07-28T18:32:57.082Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T18:32:57.393Z] ---> create-netrc.sh [Pipeline] } [2022-07-28T18:32:57.424Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-28T18:32:57.837Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-28T18:32:57.868Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T18:32:58.178Z] ---> sudo-logs.sh [2022-07-28T18:32:58.178Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-28T18:32:58.266Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T18:32:58.595Z] ---> job-cost.sh [2022-07-28T18:32:58.595Z] lf-activate-venv: SKIPPING [2022-07-28T18:32:58.595Z] DEBUG: total: 0.2199999988079071 [2022-07-28T18:32:58.595Z] INFO: Retrieving Stack Cost... [2022-07-28T18:32:58.855Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-28T18:32:59.428Z] INFO: Archiving Costs [Pipeline] echo [2022-07-28T18:32:59.465Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T18:32:59.781Z] ---> logs-deploy.sh [2022-07-28T18:32:59.781Z] lf-activate-venv: SKIPPING [2022-07-28T18:32:59.781Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1204/1 [2022-07-28T18:32:59.781Z] INFO: archiving workspace using pattern(s): [2022-07-28T18:33:00.724Z] Archives upload complete. [2022-07-28T18:33:00.985Z] INFO: archiving logs to Nexus