Pull request #1209 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 464c26c3ddb71e08c920351a725851800bbc7d46+ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e (f98ddfb039f9a88d99bf1e532a9f81063e82ccda) 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-ssh4440721705870875307.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11589886328528859360.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1209/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-1209/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13055879609319429465.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-1209/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7107517592399679101.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15533099534356837882.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1209/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-1209/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5765114912759108551.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24398 in /w/workspace/gexfoundry_device-sdk-go_PR-1209 [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-1209 # 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 ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e into PR head commit 464c26c3ddb71e08c920351a725851800bbc7d46 Merge succeeded, producing 464c26c3ddb71e08c920351a725851800bbc7d46 Checking out Revision 464c26c3ddb71e08c920351a725851800bbc7d46 (PR-1209) > 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/1209/head:refs/remotes/origin/PR-1209 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 464c26c3ddb71e08c920351a725851800bbc7d46 # 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 ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 464c26c3ddb71e08c920351a725851800bbc7d46 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-02T04:03:48.042Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-02T04:03:48.237Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-02T04:03:48.333Z] ========================================================= [2022-09-02T04:03:48.333Z] EdgeX Global Pipelines Version Info [2022-09-02T04:03:48.333Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-02T04:03:49.143Z] ------------------- [2022-09-02T04:03:49.143Z] stable info: [2022-09-02T04:03:49.143Z] ------------------- [2022-09-02T04:03:49.143Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-02T04:03:49.143Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-02T04:03:49.143Z] Message: update stable to v1.0.239 [2022-09-02T04:03:49.720Z] ------------------- [2022-09-02T04:03:49.720Z] experimental info: [2022-09-02T04:03:49.720Z] ------------------- [2022-09-02T04:03:49.720Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-02T04:03:49.720Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-02T04:03:49.720Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-02T04:03:50.097Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-09-02T04:03:50.141Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-09-02T04:03:50.178Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-02T04:03:50.219Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-02T04:03:50.256Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-02T04:03:50.301Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-02T04:03:50.343Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-02T04:03:50.388Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-09-02T04:03:50.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-02T04:03:50.472Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-02T04:03:50.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-02T04:03:50.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-09-02T04:03:50.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-02T04:03:50.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-02T04:03:50.686Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-02T04:03:50.726Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-09-02T04:03:50.766Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-02T04:03:50.809Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-02T04:03:50.851Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-02T04:03:50.894Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-02T04:03:50.936Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-02T04:03:50.977Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-09-02T04:03:51.016Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-02T04:03:51.060Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-02T04:03:51.107Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-02T04:03:51.151Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-02T04:03:51.191Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-02T04:03:51.236Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1209 [Pipeline] echo [2022-09-02T04:03:51.282Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1209 [Pipeline] echo [2022-09-02T04:03:51.322Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1209 [Pipeline] echo [2022-09-02T04:03:51.365Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 464c26c3ddb71e08c920351a725851800bbc7d46 [Pipeline] echo [2022-09-02T04:03:51.405Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 464c26c [Pipeline] echo [2022-09-02T04:03:51.449Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-02T04:03:51.562Z] provisioning config files... [2022-09-02T04:03:51.576Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1209@tmp/config8647999096387056898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-02T04:03:51.924Z] ---> docker-login.sh [2022-09-02T04:03:51.925Z] nexus3.edgexfoundry.org:10001 [2022-09-02T04:03:52.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T04:03:52.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T04:03:52.448Z] Configure a credential helper to remove this warning. See [2022-09-02T04:03:52.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T04:03:52.448Z] [2022-09-02T04:03:52.448Z] Login Succeeded [2022-09-02T04:03:52.448Z] nexus3.edgexfoundry.org:10002 [2022-09-02T04:03:52.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T04:03:52.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T04:03:52.713Z] Configure a credential helper to remove this warning. See [2022-09-02T04:03:52.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T04:03:52.713Z] [2022-09-02T04:03:52.713Z] Login Succeeded [2022-09-02T04:03:52.713Z] nexus3.edgexfoundry.org:10003 [2022-09-02T04:03:52.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T04:03:52.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T04:03:52.713Z] Configure a credential helper to remove this warning. See [2022-09-02T04:03:52.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T04:03:52.713Z] [2022-09-02T04:03:52.713Z] Login Succeeded [2022-09-02T04:03:52.713Z] nexus3.edgexfoundry.org:10004 [2022-09-02T04:03:52.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T04:03:52.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T04:03:52.975Z] Configure a credential helper to remove this warning. See [2022-09-02T04:03:52.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T04:03:52.975Z] [2022-09-02T04:03:52.975Z] Login Succeeded [2022-09-02T04:03:52.975Z] docker.io [2022-09-02T04:03:52.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T04:03:53.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T04:03:53.238Z] Configure a credential helper to remove this warning. See [2022-09-02T04:03:53.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T04:03:53.238Z] [2022-09-02T04:03:53.238Z] Login Succeeded [2022-09-02T04:03:53.238Z] ---> docker-login.sh ends [Pipeline] } [2022-09-02T04:03:53.268Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-02T04:03:53.909Z] + git rev-list -1 --merges 464c26c3ddb71e08c920351a725851800bbc7d46~1..464c26c3ddb71e08c920351a725851800bbc7d46 [Pipeline] echo [2022-09-02T04:03:53.962Z] -----------> git rev-list -1 --merges 464c26c3ddb71e08c920351a725851800bbc7d46~1..464c26c3ddb71e08c920351a725851800bbc7d46 464c26c3ddb71e08c920351a725851800bbc7d46 [false] [Pipeline] sh [2022-09-02T04:03:54.279Z] + git log --format=format:%s -1 464c26c3ddb71e08c920351a725851800bbc7d46 [Pipeline] echo [2022-09-02T04:03:54.313Z] ========================================================= [2022-09-02T04:03:54.313Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-02T04:03:54.313Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-02T04:03:54.761Z] + git log --format=format:%s -1 464c26c3ddb71e08c920351a725851800bbc7d46 [Pipeline] echo [2022-09-02T04:03:54.792Z] [semverPrep] GIT_COMMIT: 464c26c3ddb71e08c920351a725851800bbc7d46, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2022-09-02T04:03:54.824Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-02T04:03:55.231Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-02T04:03:55.231Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-02T04:03:55.231Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-02T04:03:55.231Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-02T04:03:55.231Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-02T04:03:55.231Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-02T04:03:55.231Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T04:03:55.764Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-02T04:03:55.764Z] [2022-09-02T04:03:55.764Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T04:03:56.150Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-02T04:03:56.150Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-02T04:03:56.150Z] b85a868b505f: Pulling fs layer [2022-09-02T04:03:56.150Z] e2be974225ed: Pulling fs layer [2022-09-02T04:03:56.150Z] 339a4e72a1f5: Pulling fs layer [2022-09-02T04:03:56.150Z] 988bab9f4d93: Pulling fs layer [2022-09-02T04:03:56.150Z] 1469e6f7b9e6: Pulling fs layer [2022-09-02T04:03:56.150Z] eaf3925da568: Pulling fs layer [2022-09-02T04:03:56.150Z] bab4dde63d76: Pulling fs layer [2022-09-02T04:03:56.150Z] bde34c3a00c8: Pulling fs layer [2022-09-02T04:03:56.150Z] b352a97aabf1: Pulling fs layer [2022-09-02T04:03:56.150Z] 4872d77fe225: Pulling fs layer [2022-09-02T04:03:56.150Z] 5851b861e8e6: Pulling fs layer [2022-09-02T04:03:56.150Z] b352a97aabf1: Waiting [2022-09-02T04:03:56.150Z] 4872d77fe225: Waiting [2022-09-02T04:03:56.150Z] eaf3925da568: Waiting [2022-09-02T04:03:56.150Z] 988bab9f4d93: Waiting [2022-09-02T04:03:56.150Z] 1469e6f7b9e6: Waiting [2022-09-02T04:03:56.150Z] bab4dde63d76: Waiting [2022-09-02T04:03:56.150Z] 5851b861e8e6: Waiting [2022-09-02T04:03:56.150Z] bde34c3a00c8: Waiting [2022-09-02T04:03:56.150Z] e2be974225ed: Verifying Checksum [2022-09-02T04:03:56.150Z] e2be974225ed: Download complete [2022-09-02T04:03:56.150Z] 988bab9f4d93: Verifying Checksum [2022-09-02T04:03:56.150Z] 988bab9f4d93: Download complete [2022-09-02T04:03:56.410Z] 1469e6f7b9e6: Verifying Checksum [2022-09-02T04:03:56.410Z] 1469e6f7b9e6: Download complete [2022-09-02T04:03:56.410Z] 339a4e72a1f5: Verifying Checksum [2022-09-02T04:03:56.410Z] 339a4e72a1f5: Download complete [2022-09-02T04:03:56.410Z] eaf3925da568: Verifying Checksum [2022-09-02T04:03:56.410Z] eaf3925da568: Download complete [2022-09-02T04:03:56.410Z] bde34c3a00c8: Verifying Checksum [2022-09-02T04:03:56.410Z] bde34c3a00c8: Download complete [2022-09-02T04:03:56.410Z] b352a97aabf1: Download complete [2022-09-02T04:03:56.410Z] 4872d77fe225: Verifying Checksum [2022-09-02T04:03:56.410Z] 4872d77fe225: Download complete [2022-09-02T04:03:56.410Z] 5851b861e8e6: Verifying Checksum [2022-09-02T04:03:56.410Z] 5851b861e8e6: Download complete [2022-09-02T04:03:56.410Z] b85a868b505f: Verifying Checksum [2022-09-02T04:03:56.410Z] b85a868b505f: Download complete [2022-09-02T04:03:56.671Z] bab4dde63d76: Verifying Checksum [2022-09-02T04:03:56.671Z] bab4dde63d76: Download complete [2022-09-02T04:03:58.056Z] b85a868b505f: Pull complete [2022-09-02T04:03:58.056Z] e2be974225ed: Pull complete [2022-09-02T04:03:58.628Z] 339a4e72a1f5: Pull complete [2022-09-02T04:03:58.628Z] 988bab9f4d93: Pull complete [2022-09-02T04:03:58.895Z] 1469e6f7b9e6: Pull complete [2022-09-02T04:03:58.895Z] eaf3925da568: Pull complete [2022-09-02T04:04:00.818Z] bab4dde63d76: Pull complete [2022-09-02T04:04:01.080Z] bde34c3a00c8: Pull complete [2022-09-02T04:04:01.080Z] b352a97aabf1: Pull complete [2022-09-02T04:04:01.080Z] 4872d77fe225: Pull complete [2022-09-02T04:04:01.341Z] 5851b861e8e6: Pull complete [2022-09-02T04:04:01.342Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-02T04:04:01.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-02T04:04:01.342Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T04:04:01.568Z] prd-ubuntu20.04-docker-8c-8g-24398 does not seem to be running inside a container [2022-09-02T04:04:01.605Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1209 -v /w/workspace/gexfoundry_device-sdk-go_PR-1209:/w/workspace/gexfoundry_device-sdk-go_PR-1209:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1209@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1209@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-02T04:04:03.161Z] $ docker top c0641f4712aa29b392edc8b8bffb4669a0109827351224eecb6dd9c19200f35a -eo pid,comm [2022-09-02T04:04:03.224Z] 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-09-02T04:04:03.224Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-02T04:04:03.346Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-02T04:04:03.346Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-02T04:04:03.476Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-02T04:04:03.478Z] $ docker exec c0641f4712aa29b392edc8b8bffb4669a0109827351224eecb6dd9c19200f35a ssh-agent [2022-09-02T04:04:03.603Z] SSH_AUTH_SOCK=/tmp/ssh-7jKm4tooi9zT/agent.34 [2022-09-02T04:04:03.603Z] SSH_AGENT_PID=40 [2022-09-02T04:04:03.610Z] Running ssh-add (command line suppressed) [2022-09-02T04:04:03.744Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1209@tmp/private_key_5518124440722699920.key (/w/workspace/gexfoundry_device-sdk-go_PR-1209@tmp/private_key_5518124440722699920.key) [2022-09-02T04:04:03.761Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-02T04:04:04.093Z] + git tag --points-at HEAD [Pipeline] } [2022-09-02T04:04:04.120Z] $ docker exec --env ******** --env ******** c0641f4712aa29b392edc8b8bffb4669a0109827351224eecb6dd9c19200f35a ssh-agent -k [2022-09-02T04:04:04.230Z] unset SSH_AUTH_SOCK; [2022-09-02T04:04:04.230Z] unset SSH_AGENT_PID; [2022-09-02T04:04:04.231Z] echo Agent pid 40 killed; [2022-09-02T04:04:04.244Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-02T04:04:04.340Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-02T04:04:04.340Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-02T04:04:04.462Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-02T04:04:04.465Z] $ docker exec c0641f4712aa29b392edc8b8bffb4669a0109827351224eecb6dd9c19200f35a ssh-agent [2022-09-02T04:04:04.605Z] SSH_AUTH_SOCK=/tmp/ssh-9nR0tNYuC62R/agent.73 [2022-09-02T04:04:04.605Z] SSH_AGENT_PID=79 [2022-09-02T04:04:04.611Z] Running ssh-add (command line suppressed) [2022-09-02T04:04:04.725Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1209@tmp/private_key_1558860678252331708.key (/w/workspace/gexfoundry_device-sdk-go_PR-1209@tmp/private_key_1558860678252331708.key) [2022-09-02T04:04:04.743Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-02T04:04:05.084Z] + git semver init [2022-09-02T04:04:05.346Z] 2022-09-02 04:04:05,278 [run_init] DEBUG init version:0.0.0 force:False [2022-09-02T04:04:05.346Z] 2022-09-02 04:04:05,279 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1209/.semver [2022-09-02T04:04:05.346Z] 2022-09-02 04:04:05,280 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1209/.semver [2022-09-02T04:04:05.346Z] 2022-09-02 04:04:05,280 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1209/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1209, universal_newlines=False, shell=None, istream=None) [2022-09-02T04:04:06.300Z] 2022-09-02 04:04:06,178 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1209/.git/info/exclude [2022-09-02T04:04:06.301Z] 2022-09-02 04:04:06,178 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1209/.semver/PR-1209 with force:False [2022-09-02T04:04:06.301Z] 2022-09-02 04:04:06,178 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1209/.semver/PR-1209 [2022-09-02T04:04:06.301Z] 2022-09-02 04:04:06,183 [execute] INFO git cat-file --batch-check [2022-09-02T04:04:06.301Z] 2022-09-02 04:04:06,183 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1209/.semver, universal_newlines=False, shell=None, istream=) [2022-09-02T04:04:06.301Z] 2022-09-02 04:04:06,188 [execute] INFO git cat-file --batch [2022-09-02T04:04:06.301Z] 2022-09-02 04:04:06,188 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1209/.semver, universal_newlines=False, shell=None, istream=) [2022-09-02T04:04:06.301Z] 2022-09-02 04:04:06,191 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1209/.semver/PR-1209 [2022-09-02T04:04:06.301Z] 0.0.0 [Pipeline] } [2022-09-02T04:04:06.331Z] $ docker exec --env ******** --env ******** c0641f4712aa29b392edc8b8bffb4669a0109827351224eecb6dd9c19200f35a ssh-agent -k [2022-09-02T04:04:06.455Z] unset SSH_AUTH_SOCK; [2022-09-02T04:04:06.455Z] unset SSH_AGENT_PID; [2022-09-02T04:04:06.455Z] echo Agent pid 79 killed; [2022-09-02T04:04:06.466Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-02T04:04:06.901Z] + git semver [Pipeline] } [2022-09-02T04:04:07.188Z] $ docker stop --time=1 c0641f4712aa29b392edc8b8bffb4669a0109827351224eecb6dd9c19200f35a [2022-09-02T04:04:08.524Z] $ docker rm -f c0641f4712aa29b392edc8b8bffb4669a0109827351224eecb6dd9c19200f35a [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-02T04:04:08.956Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-02T04:04:09.268Z] Stashed 1 file(s) [Pipeline] echo [2022-09-02T04:04:09.285Z] [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-09-02T04:04:09.837Z] provisioning config files... [2022-09-02T04:04:09.850Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1209@tmp/config795469918838869752tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-02T04:04:10.202Z] ---> docker-login.sh [2022-09-02T04:04:10.203Z] nexus3.edgexfoundry.org:10001 [2022-09-02T04:04:10.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T04:04:10.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T04:04:10.203Z] Configure a credential helper to remove this warning. See [2022-09-02T04:04:10.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T04:04:10.203Z] [2022-09-02T04:04:10.203Z] Login Succeeded [2022-09-02T04:04:10.203Z] nexus3.edgexfoundry.org:10002 [2022-09-02T04:04:10.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T04:04:10.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T04:04:10.465Z] Configure a credential helper to remove this warning. See [2022-09-02T04:04:10.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T04:04:10.465Z] [2022-09-02T04:04:10.465Z] Login Succeeded [2022-09-02T04:04:10.465Z] nexus3.edgexfoundry.org:10003 [2022-09-02T04:04:10.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T04:04:10.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T04:04:10.465Z] Configure a credential helper to remove this warning. See [2022-09-02T04:04:10.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T04:04:10.465Z] [2022-09-02T04:04:10.465Z] Login Succeeded [2022-09-02T04:04:10.465Z] nexus3.edgexfoundry.org:10004 [2022-09-02T04:04:10.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T04:04:10.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T04:04:10.727Z] Configure a credential helper to remove this warning. See [2022-09-02T04:04:10.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T04:04:10.727Z] [2022-09-02T04:04:10.727Z] Login Succeeded [2022-09-02T04:04:10.727Z] docker.io [2022-09-02T04:04:10.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T04:04:10.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T04:04:10.989Z] Configure a credential helper to remove this warning. See [2022-09-02T04:04:10.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T04:04:10.989Z] [2022-09-02T04:04:10.989Z] Login Succeeded [2022-09-02T04:04:10.989Z] ---> docker-login.sh ends [Pipeline] } [2022-09-02T04:04:11.018Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-02T04:04:11.210Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-02T04:04:11.248Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-02T04:04:11.280Z] ========================================================= [2022-09-02T04:04:11.280Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-02T04:04:11.280Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T04:04:11.750Z] + 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-09-02T04:04:11.750Z] Sending build context to Docker daemon 9.799MB [2022-09-02T04:04:11.750Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-02T04:04:11.750Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-02T04:04:11.750Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-02T04:04:11.750Z] 2408cc74d12b: Pulling fs layer [2022-09-02T04:04:11.750Z] ea60b727a1ce: Pulling fs layer [2022-09-02T04:04:11.750Z] 30c4a7721957: Pulling fs layer [2022-09-02T04:04:11.750Z] 370296b7ddb6: Pulling fs layer [2022-09-02T04:04:11.750Z] 7c6cee850709: Pulling fs layer [2022-09-02T04:04:11.750Z] 39a5fcdaea64: Pulling fs layer [2022-09-02T04:04:11.750Z] d94ebbe4e438: Pulling fs layer [2022-09-02T04:04:11.750Z] bcfd1f05c69d: Pulling fs layer [2022-09-02T04:04:11.750Z] 59ccb84bbe0f: Pulling fs layer [2022-09-02T04:04:11.750Z] 370296b7ddb6: Waiting [2022-09-02T04:04:11.750Z] 7c6cee850709: Waiting [2022-09-02T04:04:11.750Z] 39a5fcdaea64: Waiting [2022-09-02T04:04:11.750Z] d94ebbe4e438: Waiting [2022-09-02T04:04:11.750Z] bcfd1f05c69d: Waiting [2022-09-02T04:04:11.750Z] 59ccb84bbe0f: Waiting [2022-09-02T04:04:12.016Z] 30c4a7721957: Verifying Checksum [2022-09-02T04:04:12.016Z] 30c4a7721957: Download complete [2022-09-02T04:04:12.016Z] ea60b727a1ce: Download complete [2022-09-02T04:04:12.016Z] 7c6cee850709: Download complete [2022-09-02T04:04:12.016Z] 39a5fcdaea64: Download complete [2022-09-02T04:04:12.016Z] 2408cc74d12b: Verifying Checksum [2022-09-02T04:04:12.016Z] 2408cc74d12b: Download complete [2022-09-02T04:04:12.016Z] d94ebbe4e438: Verifying Checksum [2022-09-02T04:04:12.016Z] d94ebbe4e438: Download complete [2022-09-02T04:04:12.016Z] 2408cc74d12b: Pull complete [2022-09-02T04:04:12.294Z] ea60b727a1ce: Pull complete [2022-09-02T04:04:12.294Z] 30c4a7721957: Pull complete [2022-09-02T04:04:12.570Z] 59ccb84bbe0f: Verifying Checksum [2022-09-02T04:04:12.571Z] 59ccb84bbe0f: Download complete [2022-09-02T04:04:12.835Z] 370296b7ddb6: Verifying Checksum [2022-09-02T04:04:12.835Z] 370296b7ddb6: Download complete [2022-09-02T04:04:12.835Z] bcfd1f05c69d: Verifying Checksum [2022-09-02T04:04:12.835Z] bcfd1f05c69d: Download complete [2022-09-02T04:04:17.037Z] 370296b7ddb6: Pull complete [2022-09-02T04:04:17.037Z] 7c6cee850709: Pull complete [2022-09-02T04:04:17.037Z] 39a5fcdaea64: Pull complete [2022-09-02T04:04:17.037Z] d94ebbe4e438: Pull complete [2022-09-02T04:04:19.575Z] bcfd1f05c69d: Pull complete [2022-09-02T04:04:20.144Z] 59ccb84bbe0f: Pull complete [2022-09-02T04:04:20.144Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-02T04:04:20.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-02T04:04:20.144Z] ---> a4fb48ad2a94 [2022-09-02T04:04:20.144Z] Step 3/11 : ARG MAKE=make build [2022-09-02T04:04:21.530Z] ---> Running in 5811134268eb [2022-09-02T04:04:21.530Z] Removing intermediate container 5811134268eb [2022-09-02T04:04:21.530Z] ---> ab240dfae666 [2022-09-02T04:04:21.530Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-02T04:04:21.530Z] ---> Running in 347e17635d57 [2022-09-02T04:04:21.791Z] Removing intermediate container 347e17635d57 [2022-09-02T04:04:21.791Z] ---> 5c874a8c317e [2022-09-02T04:04:21.791Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-02T04:04:21.791Z] ---> Running in 7f59ec9a6c55 [2022-09-02T04:04:21.791Z] Removing intermediate container 7f59ec9a6c55 [2022-09-02T04:04:21.791Z] ---> b5a49a77a9c4 [2022-09-02T04:04:21.791Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-02T04:04:21.791Z] ---> Running in 0e843f3200fe [2022-09-02T04:04:22.363Z] Removing intermediate container 0e843f3200fe [2022-09-02T04:04:22.363Z] ---> 7c8c22b40d39 [2022-09-02T04:04:22.363Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-02T04:04:22.623Z] ---> Running in 6360e3183797 [2022-09-02T04:04:22.884Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-02T04:04:23.832Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-02T04:04:24.096Z] OK: 211 MiB in 51 packages [2022-09-02T04:04:24.360Z] Removing intermediate container 6360e3183797 [2022-09-02T04:04:24.360Z] ---> 7a2f9ee10cd6 [2022-09-02T04:04:24.360Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-02T04:04:24.360Z] ---> 927d3158c73d [2022-09-02T04:04:24.360Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-02T04:04:24.621Z] ---> Running in 3f0e391cda77 [2022-09-02T04:04:24.656Z] Still waiting to schedule task [2022-09-02T04:04:24.657Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-02T04:04:42.819Z] Removing intermediate container 3f0e391cda77 [2022-09-02T04:04:42.819Z] ---> 8123d48f81e5 [2022-09-02T04:04:42.819Z] Step 10/11 : COPY . . [2022-09-02T04:04:42.819Z] ---> 0b2bd723639d [2022-09-02T04:04:42.819Z] Step 11/11 : RUN ${MAKE} [2022-09-02T04:04:42.819Z] ---> Running in 341f3c519a66 [2022-09-02T04:04:42.819Z] noop [2022-09-02T04:04:42.819Z] Removing intermediate container 341f3c519a66 [2022-09-02T04:04:42.819Z] ---> 42cd6e216433 [2022-09-02T04:04:42.819Z] Successfully built 42cd6e216433 [2022-09-02T04:04:42.819Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T04:04:43.270Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-02T04:04:43.270Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T04:04:43.434Z] prd-ubuntu20.04-docker-8c-8g-24398 does not seem to be running inside a container [2022-09-02T04:04:43.466Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1209 -v /w/workspace/gexfoundry_device-sdk-go_PR-1209:/w/workspace/gexfoundry_device-sdk-go_PR-1209:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1209@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-02T04:04:43.865Z] $ docker top 32347b6c484ba51d4104c63e41dae893bd6a5aece2b5870becdc76069ae3efdd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-02T04:04:44.270Z] + go version [2022-09-02T04:04:44.270Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-02T04:04:44.303Z] $ docker stop --time=1 32347b6c484ba51d4104c63e41dae893bd6a5aece2b5870becdc76069ae3efdd [2022-09-02T04:04:45.601Z] $ docker rm -f 32347b6c484ba51d4104c63e41dae893bd6a5aece2b5870becdc76069ae3efdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T04:04:46.343Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-02T04:04:46.343Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T04:04:46.502Z] prd-ubuntu20.04-docker-8c-8g-24398 does not seem to be running inside a container [2022-09-02T04:04:46.538Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1209 -v /w/workspace/gexfoundry_device-sdk-go_PR-1209:/w/workspace/gexfoundry_device-sdk-go_PR-1209:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1209@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-02T04:04:46.937Z] $ docker top 579d0ecd3088011e72d07d8ff0809722fd3c57edf6a306f2c2a072b21a711e9a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-02T04:04:47.350Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1209 [Pipeline] fileExists [Pipeline] sh [2022-09-02T04:04:47.712Z] + make test [2022-09-02T04:04:47.712Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-02T04:04:54.292Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-02T04:05:06.502Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-02T04:05:06.502Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-02T04:05:06.502Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-02T04:05:06.502Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.069s coverage: 23.6% of statements [2022-09-02T04:05:06.502Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-02T04:05:06.502Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.6% of statements [2022-09-02T04:05:06.502Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.080s coverage: 78.9% of statements [2022-09-02T04:05:06.502Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.065s coverage: 10.8% of statements [2022-09-02T04:05:06.502Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.078s coverage: 60.0% of statements [2022-09-02T04:05:06.502Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-02T04:05:06.502Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-02T04:05:06.761Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.101s coverage: 34.8% of statements [2022-09-02T04:05:06.761Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-02T04:05:06.761Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.062s coverage: 85.4% of statements [2022-09-02T04:05:06.761Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-02T04:05:06.761Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-02T04:05:06.761Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 65.1% of statements [2022-09-02T04:05:06.761Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-02T04:05:06.761Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-02T04:05:06.761Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.761s coverage: 89.2% of statements [2022-09-02T04:05:06.761Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-02T04:05:07.019Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements [2022-09-02T04:05:07.019Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-02T04:05:21.902Z] 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-09-02T04:05:21.902Z] GO111MODULE=on go vet ./... [2022-09-02T04:05:23.817Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-02T04:05:23.817Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-02T04:05:23.817Z] ./bin/test-attribution-txt.sh [2022-09-02T04:05:23.817Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-02T04:05:23.817Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-02T04:05:23.817Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-02T04:05:23.817Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-02T04:05:23.817Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-02T04:05:23.817Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-02T04:05:23.817Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-02T04:05:23.846Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-02T04:05:23.870Z] $ docker stop --time=1 579d0ecd3088011e72d07d8ff0809722fd3c57edf6a306f2c2a072b21a711e9a [2022-09-02T04:05:26.069Z] $ docker rm -f 579d0ecd3088011e72d07d8ff0809722fd3c57edf6a306f2c2a072b21a711e9a [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-02T04:05:26.625Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-02T04:05:26.721Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-02T04:05:27.394Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-02T04:05:27.708Z] + ls -al . [2022-09-02T04:05:27.708Z] total 304 [2022-09-02T04:05:27.708Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 2 04:04 . [2022-09-02T04:05:27.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 04:03 .. [2022-09-02T04:05:27.708Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 2 04:03 .dockerignore [2022-09-02T04:05:27.708Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 04:05 .git [2022-09-02T04:05:27.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 04:03 .github [2022-09-02T04:05:27.708Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 2 04:03 .gitignore [2022-09-02T04:05:27.708Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 2 04:03 .golangci.yml [2022-09-02T04:05:27.708Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 2 04:04 .semver [2022-09-02T04:05:27.708Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 2 04:03 CHANGELOG.md [2022-09-02T04:05:27.708Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 2 04:03 GOVERNANCE.md [2022-09-02T04:05:27.708Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 2 04:03 Jenkinsfile [2022-09-02T04:05:27.708Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 2 04:03 LICENSE [2022-09-02T04:05:27.708Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 2 04:03 Makefile [2022-09-02T04:05:27.708Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 2 04:03 OWNERS.md [2022-09-02T04:05:27.708Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 2 04:03 README.md [2022-09-02T04:05:27.708Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 2 04:04 VERSION [2022-09-02T04:05:27.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 04:03 bin [2022-09-02T04:05:27.708Z] -rw-r--r-- 1 jenkins jenkins 131678 Sep 2 04:05 coverage.out [2022-09-02T04:05:27.708Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 2 04:03 example [2022-09-02T04:05:27.708Z] -rw-rw-r-- 1 jenkins jenkins 3553 Sep 2 04:03 go.mod [2022-09-02T04:05:27.708Z] -rw-rw-r-- 1 jenkins jenkins 36743 Sep 2 04:03 go.sum [2022-09-02T04:05:27.708Z] drwxrwxr-x 15 jenkins jenkins 4096 Sep 2 04:03 internal [2022-09-02T04:05:27.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 04:03 openapi [2022-09-02T04:05:27.708Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 2 04:03 pkg [2022-09-02T04:05:27.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 04:03 snap [2022-09-02T04:05:27.708Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 2 04:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T04:05:28.120Z] + 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=464c26c3ddb71e08c920351a725851800bbc7d46 --label arch=amd64 --label version=0.0.0 . [2022-09-02T04:05:28.121Z] Sending build context to Docker daemon 9.932MB [2022-09-02T04:05:28.121Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-02T04:05:28.121Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-02T04:05:28.121Z] ---> 42cd6e216433 [2022-09-02T04:05:28.121Z] Step 3/25 : ARG MAKE=make build [2022-09-02T04:05:28.384Z] ---> Running in 05f8dad98771 [2022-09-02T04:05:28.384Z] Removing intermediate container 05f8dad98771 [2022-09-02T04:05:28.384Z] ---> 93d641fb4702 [2022-09-02T04:05:28.384Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-02T04:05:28.384Z] ---> Running in 18e335421df0 [2022-09-02T04:05:28.384Z] Removing intermediate container 18e335421df0 [2022-09-02T04:05:28.384Z] ---> 9374f632e02c [2022-09-02T04:05:28.384Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-02T04:05:28.644Z] ---> Running in d187040ec6b7 [2022-09-02T04:05:28.644Z] Removing intermediate container d187040ec6b7 [2022-09-02T04:05:28.644Z] ---> 77ec33f53464 [2022-09-02T04:05:28.644Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-02T04:05:28.644Z] ---> Running in bad44d537ab3 [2022-09-02T04:05:29.214Z] Removing intermediate container bad44d537ab3 [2022-09-02T04:05:29.214Z] ---> 75fb3475e60a [2022-09-02T04:05:29.214Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-02T04:05:29.214Z] ---> Running in 6a06871ab6b1 [2022-09-02T04:05:29.475Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-02T04:05:30.423Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-02T04:05:30.686Z] OK: 211 MiB in 51 packages [2022-09-02T04:05:30.948Z] Removing intermediate container 6a06871ab6b1 [2022-09-02T04:05:30.948Z] ---> 540fb445022b [2022-09-02T04:05:30.948Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-02T04:05:31.217Z] ---> a40b62996988 [2022-09-02T04:05:31.217Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-02T04:05:31.217Z] ---> Running in dce15c01d010 [2022-09-02T04:05:31.788Z] Removing intermediate container dce15c01d010 [2022-09-02T04:05:31.788Z] ---> eb2e6314303a [2022-09-02T04:05:31.788Z] Step 10/25 : COPY . . [2022-09-02T04:05:32.358Z] ---> 4f707b1fc725 [2022-09-02T04:05:32.358Z] Step 11/25 : RUN ${MAKE} [2022-09-02T04:05:32.358Z] ---> Running in e11c95e6e0a3 [2022-09-02T04:05:32.620Z] 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-09-02T04:05:50.729Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-02T04:05:51.668Z] Removing intermediate container e11c95e6e0a3 [2022-09-02T04:05:51.668Z] ---> a46872d15cf5 [2022-09-02T04:05:51.668Z] Step 12/25 : FROM alpine:3.16 [2022-09-02T04:05:52.242Z] 3.16: Pulling from library/alpine [2022-09-02T04:05:52.242Z] 213ec9aee27d: Pulling fs layer [2022-09-02T04:05:52.533Z] 213ec9aee27d: Verifying Checksum [2022-09-02T04:05:52.533Z] 213ec9aee27d: Download complete [2022-09-02T04:05:52.533Z] 213ec9aee27d: Pull complete [2022-09-02T04:05:52.533Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-02T04:05:52.533Z] Status: Downloaded newer image for alpine:3.16 [2022-09-02T04:05:52.533Z] ---> 9c6f07244728 [2022-09-02T04:05:52.533Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-02T04:05:52.795Z] ---> Running in 8c4f7b2a9673 [2022-09-02T04:05:52.795Z] Removing intermediate container 8c4f7b2a9673 [2022-09-02T04:05:52.795Z] ---> 6d4893f8da56 [2022-09-02T04:05:52.795Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-02T04:05:52.795Z] ---> Running in 0015d50a4cac [2022-09-02T04:05:53.364Z] Removing intermediate container 0015d50a4cac [2022-09-02T04:05:53.364Z] ---> 0deccbcac95e [2022-09-02T04:05:53.364Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-02T04:05:53.364Z] ---> Running in 72fcccd6c3a1 [2022-09-02T04:05:53.624Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-02T04:05:54.568Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-02T04:05:54.828Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-02T04:05:55.089Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-02T04:05:55.089Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-02T04:05:55.089Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-02T04:05:55.350Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-02T04:05:55.350Z] Executing busybox-1.35.0-r17.trigger [2022-09-02T04:05:55.350Z] OK: 8 MiB in 19 packages [2022-09-02T04:05:55.920Z] Removing intermediate container 72fcccd6c3a1 [2022-09-02T04:05:55.920Z] ---> 4f72fe7c70c6 [2022-09-02T04:05:55.920Z] Step 16/25 : WORKDIR / [2022-09-02T04:05:55.920Z] ---> Running in 18ac54680146 [2022-09-02T04:05:55.920Z] Removing intermediate container 18ac54680146 [2022-09-02T04:05:55.920Z] ---> 83981c39630a [2022-09-02T04:05:55.920Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-02T04:05:55.920Z] ---> 1f0c28b8e18b [2022-09-02T04:05:55.921Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-02T04:05:56.490Z] ---> dfc0c596c541 [2022-09-02T04:05:56.490Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-02T04:05:56.752Z] ---> 4e3e3ca9932a [2022-09-02T04:05:56.752Z] Step 20/25 : EXPOSE 59999 [2022-09-02T04:05:56.752Z] ---> Running in e4e4126fc8fa [2022-09-02T04:05:56.752Z] Removing intermediate container e4e4126fc8fa [2022-09-02T04:05:56.752Z] ---> 12350eb9a222 [2022-09-02T04:05:56.752Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-02T04:05:56.752Z] ---> Running in 66b22982f853 [2022-09-02T04:05:57.012Z] Removing intermediate container 66b22982f853 [2022-09-02T04:05:57.012Z] ---> 810948100d3a [2022-09-02T04:05:57.012Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-02T04:05:57.012Z] ---> Running in b262bc46ba42 [2022-09-02T04:05:57.012Z] Removing intermediate container b262bc46ba42 [2022-09-02T04:05:57.012Z] ---> da0b94d0fdaa [2022-09-02T04:05:57.012Z] Step 23/25 : LABEL arch=amd64 [2022-09-02T04:05:57.272Z] ---> Running in c14f172379c3 [2022-09-02T04:05:57.272Z] Removing intermediate container c14f172379c3 [2022-09-02T04:05:57.272Z] ---> 9b4ab191a21c [2022-09-02T04:05:57.272Z] Step 24/25 : LABEL git_sha=464c26c3ddb71e08c920351a725851800bbc7d46 [2022-09-02T04:05:57.272Z] ---> Running in fe3ef53272ba [2022-09-02T04:05:57.272Z] Removing intermediate container fe3ef53272ba [2022-09-02T04:05:57.272Z] ---> eb82bd70ecae [2022-09-02T04:05:57.272Z] Step 25/25 : LABEL version=0.0.0 [2022-09-02T04:05:57.533Z] ---> Running in 366176b8539b [2022-09-02T04:05:57.533Z] Removing intermediate container 366176b8539b [2022-09-02T04:05:57.533Z] ---> 4d8d95ccf489 [2022-09-02T04:05:57.533Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-02T04:05:57.533Z] Successfully built 4d8d95ccf489 [2022-09-02T04:05:57.533Z] 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 [2022-09-02T04:05:57.863Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24402 in /w/workspace/gexfoundry_device-sdk-go_PR-1209 [Pipeline] { [Pipeline] stage [Pipeline] { (Snap) [Pipeline] ws [2022-09-02T04:05:57.931Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout Stage "Snap" skipped due to when conditional [2022-09-02T04:05:58.002Z] The recommended git tool is: git [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T04:05:58.490Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-02T04:05:58.490Z] [2022-09-02T04:05:58.490Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T04:05:58.873Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-02T04:05:58.873Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-02T04:05:58.873Z] 5eb5b503b376: Pulling fs layer [2022-09-02T04:05:58.873Z] 5c69ac0246d0: Pulling fs layer [2022-09-02T04:05:58.873Z] ec43610c2a17: Pulling fs layer [2022-09-02T04:05:58.873Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-02T04:05:58.873Z] 33b1e0a273af: Pulling fs layer [2022-09-02T04:05:58.873Z] 5d3b04190fa2: Pulling fs layer [2022-09-02T04:05:58.873Z] 2f39f015ded8: Pulling fs layer [2022-09-02T04:05:58.873Z] 3a2ae6a8a46f: Waiting [2022-09-02T04:05:58.873Z] 33b1e0a273af: Waiting [2022-09-02T04:05:58.873Z] 5c69ac0246d0: Verifying Checksum [2022-09-02T04:05:58.873Z] 5c69ac0246d0: Download complete [2022-09-02T04:05:58.873Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-02T04:05:58.873Z] 3a2ae6a8a46f: Download complete [2022-09-02T04:05:58.873Z] ec43610c2a17: Verifying Checksum [2022-09-02T04:05:58.873Z] ec43610c2a17: Download complete [2022-09-02T04:05:58.873Z] 5d3b04190fa2: Verifying Checksum [2022-09-02T04:05:58.873Z] 5d3b04190fa2: Download complete [2022-09-02T04:05:59.135Z] 33b1e0a273af: Verifying Checksum [2022-09-02T04:05:59.135Z] 33b1e0a273af: Download complete [2022-09-02T04:05:59.135Z] 5eb5b503b376: Verifying Checksum [2022-09-02T04:05:59.135Z] 5eb5b503b376: Download complete [2022-09-02T04:05:59.703Z] 2f39f015ded8: Download complete [2022-09-02T04:06:00.271Z] 5eb5b503b376: Pull complete [2022-09-02T04:06:00.533Z] 5c69ac0246d0: Pull complete [2022-09-02T04:06:00.794Z] ec43610c2a17: Pull complete [2022-09-02T04:06:00.794Z] 3a2ae6a8a46f: Pull complete [2022-09-02T04:06:01.054Z] 33b1e0a273af: Pull complete [2022-09-02T04:06:01.313Z] 5d3b04190fa2: Pull complete [2022-09-02T04:06:04.512Z] using credential edgex-jenkins-ssh [2022-09-02T04:06:04.539Z] Cloning the remote Git repository [2022-09-02T04:06:05.548Z] 2f39f015ded8: Pull complete [2022-09-02T04:06:04.598Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-09-02T04:06:04.690Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-09-02T04:06:04.758Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-02T04:06:04.759Z] > git --version # timeout=10 [2022-09-02T04:06:04.776Z] > git --version # 'git version 2.25.1' [2022-09-02T04:06:04.778Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-02T04:06:04.844Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-02T04:06:05.830Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-02T04:06:05.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-02T04:06:05.830Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T04:06:06.116Z] prd-ubuntu20.04-docker-8c-8g-24398 does not seem to be running inside a container [2022-09-02T04:06:06.147Z] $ 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-1209 -v /w/workspace/gexfoundry_device-sdk-go_PR-1209:/w/workspace/gexfoundry_device-sdk-go_PR-1209:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1209@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-02T04:06:06.834Z] Merging remotes/origin/main commit ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e into PR head commit 464c26c3ddb71e08c920351a725851800bbc7d46 [2022-09-02T04:06:06.210Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-02T04:06:06.226Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-02T04:06:06.261Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-09-02T04:06:06.297Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-09-02T04:06:06.298Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-02T04:06:06.318Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1209/head:refs/remotes/origin/PR-1209 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-02T04:06:06.860Z] > git config core.sparsecheckout # timeout=10 [2022-09-02T04:06:06.878Z] > git checkout -f 464c26c3ddb71e08c920351a725851800bbc7d46 # timeout=10 [2022-09-02T04:06:07.030Z] > git remote # timeout=10 [2022-09-02T04:06:07.077Z] > git config --get remote.origin.url # timeout=10 [2022-09-02T04:06:07.105Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-02T04:06:07.116Z] > git merge ca776658b7bedb32d0bd2eb6bf12cd13490c6c9e # timeout=10 [2022-09-02T04:06:07.164Z] Merge succeeded, producing 464c26c3ddb71e08c920351a725851800bbc7d46 [2022-09-02T04:06:07.164Z] Checking out Revision 464c26c3ddb71e08c920351a725851800bbc7d46 (PR-1209) [2022-09-02T04:06:07.753Z] $ docker top d6041a0d5128cb6575110df6c0dc8c3c87966a7e283020602606d4b63a825a5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-02T04:06:08.223Z] ---> job-cost.sh [2022-09-02T04:06:08.223Z] lf-activate-venv: SKIPPING [2022-09-02T04:06:08.223Z] INFO: No Stack... [2022-09-02T04:06:07.144Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-02T04:06:07.173Z] > git config core.sparsecheckout # timeout=10 [2022-09-02T04:06:07.194Z] > git checkout -f 464c26c3ddb71e08c920351a725851800bbc7d46 # timeout=10 [2022-09-02T04:06:08.794Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-02T04:06:09.056Z] INFO: Archiving Costs [Pipeline] sh [2022-09-02T04:06:09.374Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1209/archives/cost.csv [2022-09-02T04:06:09.374Z] + cut -d, -f6 [Pipeline] lock [2022-09-02T04:06:09.413Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1209-1-stack-cost] [2022-09-02T04:06:09.418Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1209-1-stack-cost] did not exist. Created. [2022-09-02T04:06:09.418Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1209-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-02T04:06:09.806Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-02T04:06:09.859Z] Stashed 1 file(s) [Pipeline] } [2022-09-02T04:06:09.886Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1209-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-02T04:06:09.965Z] $ docker stop --time=1 d6041a0d5128cb6575110df6c0dc8c3c87966a7e283020602606d4b63a825a5a [2022-09-02T04:06:11.126Z] $ docker rm -f d6041a0d5128cb6575110df6c0dc8c3c87966a7e283020602606d4b63a825a5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [2022-09-02T04:06:11.493Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [Pipeline] } [2022-09-02T04:06:11.550Z] > git --version # timeout=10 [2022-09-02T04:06:11.560Z] > git --version # 'git version 2.25.1' [2022-09-02T04:06:11.574Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-02T04:06:12.689Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-02T04:06:12.690Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-02T04:06:12.690Z] Dload Upload Total Spent Left Speed [2022-09-02T04:06:12.690Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 99228 0 --:--:-- --:--:-- --:--:-- 97k [Pipeline] sh [2022-09-02T04:06:13.375Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-02T04:06:14.054Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-09-02T04:06:14.054Z] /etc/docker/daemon.json [2022-09-02T04:06:14.054Z] { [2022-09-02T04:06:14.054Z] "registry-mirrors": [ [2022-09-02T04:06:14.054Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-02T04:06:14.054Z] ], [2022-09-02T04:06:14.054Z] "bip": "10.250.0.254/24", [2022-09-02T04:06:14.054Z] "hosts": [ [2022-09-02T04:06:14.054Z] "tcp://0.0.0.0:5555", [2022-09-02T04:06:14.054Z] "unix:///var/run/docker.sock" [2022-09-02T04:06:14.054Z] ], [2022-09-02T04:06:14.054Z] "mtu": 1458, [2022-09-02T04:06:14.054Z] "selinux-enabled": true, [2022-09-02T04:06:14.054Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-02T04:06:14.054Z] } [Pipeline] sh [2022-09-02T04:06:14.426Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-02T04:06:14.794Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-02T04:06:33.217Z] provisioning config files... [2022-09-02T04:06:33.248Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5820519033038864967tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-02T04:06:33.649Z] ---> docker-login.sh [2022-09-02T04:06:33.649Z] nexus3.edgexfoundry.org:10001 [2022-09-02T04:06:34.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T04:06:34.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T04:06:34.526Z] Configure a credential helper to remove this warning. See [2022-09-02T04:06:34.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T04:06:34.526Z] [2022-09-02T04:06:34.526Z] Login Succeeded [2022-09-02T04:06:34.526Z] nexus3.edgexfoundry.org:10002 [2022-09-02T04:06:34.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T04:06:35.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T04:06:35.075Z] Configure a credential helper to remove this warning. See [2022-09-02T04:06:35.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T04:06:35.075Z] [2022-09-02T04:06:35.075Z] Login Succeeded [2022-09-02T04:06:35.075Z] nexus3.edgexfoundry.org:10003 [2022-09-02T04:06:35.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T04:06:35.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T04:06:35.356Z] Configure a credential helper to remove this warning. See [2022-09-02T04:06:35.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T04:06:35.356Z] [2022-09-02T04:06:35.356Z] Login Succeeded [2022-09-02T04:06:35.356Z] nexus3.edgexfoundry.org:10004 [2022-09-02T04:06:35.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T04:06:35.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T04:06:35.956Z] Configure a credential helper to remove this warning. See [2022-09-02T04:06:35.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T04:06:35.956Z] [2022-09-02T04:06:35.956Z] Login Succeeded [2022-09-02T04:06:35.956Z] docker.io [2022-09-02T04:06:36.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T04:06:36.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T04:06:36.837Z] Configure a credential helper to remove this warning. See [2022-09-02T04:06:36.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T04:06:36.837Z] [2022-09-02T04:06:36.837Z] Login Succeeded [2022-09-02T04:06:36.837Z] ---> docker-login.sh ends [Pipeline] } [2022-09-02T04:06:36.865Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-02T04:06:37.287Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-02T04:06:37.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-02T04:06:37.359Z] ========================================================= [2022-09-02T04:06:37.359Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-02T04:06:37.359Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T04:06:37.884Z] + 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-09-02T04:06:38.499Z] Sending build context to Docker daemon 5.264MB [2022-09-02T04:06:38.499Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-09-02T04:06:38.499Z] Step 2/11 : FROM ${BASE} AS builder [2022-09-02T04:06:38.499Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-02T04:06:38.499Z] b3c136eddcbf: Pulling fs layer [2022-09-02T04:06:38.499Z] c0a3192eca97: Pulling fs layer [2022-09-02T04:06:38.499Z] a050256f5b6f: Pulling fs layer [2022-09-02T04:06:38.499Z] 656be50a0ddc: Pulling fs layer [2022-09-02T04:06:38.499Z] 2bbca73fdf42: Pulling fs layer [2022-09-02T04:06:38.499Z] 46d945488cbd: Pulling fs layer [2022-09-02T04:06:38.499Z] 8a5474983e97: Pulling fs layer [2022-09-02T04:06:38.499Z] 329c88fbcd65: Pulling fs layer [2022-09-02T04:06:38.499Z] 46d945488cbd: Waiting [2022-09-02T04:06:38.499Z] 8a5474983e97: Waiting [2022-09-02T04:06:38.499Z] 329c88fbcd65: Waiting [2022-09-02T04:06:38.499Z] 656be50a0ddc: Waiting [2022-09-02T04:06:38.499Z] 2bbca73fdf42: Waiting [2022-09-02T04:06:38.499Z] a050256f5b6f: Verifying Checksum [2022-09-02T04:06:38.499Z] a050256f5b6f: Download complete [2022-09-02T04:06:38.499Z] c0a3192eca97: Verifying Checksum [2022-09-02T04:06:38.499Z] c0a3192eca97: Download complete [2022-09-02T04:06:38.499Z] 2bbca73fdf42: Verifying Checksum [2022-09-02T04:06:38.499Z] 2bbca73fdf42: Download complete [2022-09-02T04:06:38.499Z] 46d945488cbd: Verifying Checksum [2022-09-02T04:06:38.499Z] 46d945488cbd: Download complete [2022-09-02T04:06:38.782Z] b3c136eddcbf: Download complete [2022-09-02T04:06:39.391Z] b3c136eddcbf: Pull complete [2022-09-02T04:06:39.673Z] 329c88fbcd65: Verifying Checksum [2022-09-02T04:06:39.673Z] 329c88fbcd65: Download complete [2022-09-02T04:06:40.289Z] c0a3192eca97: Pull complete [2022-09-02T04:06:40.565Z] a050256f5b6f: Pull complete [2022-09-02T04:06:40.839Z] 8a5474983e97: Verifying Checksum [2022-09-02T04:06:40.839Z] 8a5474983e97: Download complete [2022-09-02T04:06:41.820Z] 656be50a0ddc: Verifying Checksum [2022-09-02T04:06:41.820Z] 656be50a0ddc: Download complete [2022-09-02T04:06:54.235Z] 656be50a0ddc: Pull complete [2022-09-02T04:06:54.518Z] 2bbca73fdf42: Pull complete [2022-09-02T04:06:54.792Z] 46d945488cbd: Pull complete [2022-09-02T04:07:00.197Z] 8a5474983e97: Pull complete [2022-09-02T04:07:02.175Z] 329c88fbcd65: Pull complete [2022-09-02T04:07:02.175Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-02T04:07:02.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-02T04:07:02.175Z] ---> ff4287adb874 [2022-09-02T04:07:02.175Z] Step 3/11 : ARG MAKE=make build [2022-09-02T04:07:04.183Z] ---> Running in f54535e0a692 [2022-09-02T04:07:04.183Z] Removing intermediate container f54535e0a692 [2022-09-02T04:07:04.183Z] ---> bdafc9d5e3e1 [2022-09-02T04:07:04.183Z] Step 4/11 : WORKDIR /device-sdk-go [2022-09-02T04:07:04.183Z] ---> Running in f7bc50ce8029 [2022-09-02T04:07:04.780Z] Removing intermediate container f7bc50ce8029 [2022-09-02T04:07:04.780Z] ---> 95ae62ede6c7 [2022-09-02T04:07:04.780Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-02T04:07:05.059Z] ---> Running in 1ec41e30ea0d [2022-09-02T04:07:05.378Z] Removing intermediate container 1ec41e30ea0d [2022-09-02T04:07:05.378Z] ---> e69046211f40 [2022-09-02T04:07:05.378Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-02T04:07:05.663Z] ---> Running in 0d5cae232b65 [2022-09-02T04:07:08.322Z] Removing intermediate container 0d5cae232b65 [2022-09-02T04:07:08.322Z] ---> 6cfcddff437d [2022-09-02T04:07:08.322Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-02T04:07:08.322Z] ---> Running in 2e5ad294ce13 [2022-09-02T04:07:09.298Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-02T04:07:10.277Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-02T04:07:11.265Z] OK: 221 MiB in 51 packages [2022-09-02T04:07:12.249Z] Removing intermediate container 2e5ad294ce13 [2022-09-02T04:07:12.249Z] ---> 61fb63514dea [2022-09-02T04:07:12.249Z] Step 8/11 : COPY go.mod vendor* ./ [2022-09-02T04:07:12.850Z] ---> 7f13b776aff7 [2022-09-02T04:07:12.850Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-02T04:07:12.850Z] ---> Running in db28afc1bbd0 [2022-09-02T04:08:09.435Z] Removing intermediate container db28afc1bbd0 [2022-09-02T04:08:09.435Z] ---> 6ac838211d7b [2022-09-02T04:08:09.435Z] Step 10/11 : COPY . . [2022-09-02T04:08:09.435Z] ---> edfe0063217d [2022-09-02T04:08:09.435Z] Step 11/11 : RUN ${MAKE} [2022-09-02T04:08:09.435Z] ---> Running in 6e2b2bd3290d [2022-09-02T04:08:09.435Z] noop [2022-09-02T04:08:09.435Z] Removing intermediate container 6e2b2bd3290d [2022-09-02T04:08:09.435Z] ---> 402c9a492972 [2022-09-02T04:08:09.435Z] Successfully built 402c9a492972 [2022-09-02T04:08:09.435Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T04:08:09.922Z] + docker inspect -f . ci-base-image-arm64 [2022-09-02T04:08:09.922Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T04:08:10.263Z] prd-ubuntu20.04-docker-arm64-4c-16g-24402 does not seem to be running inside a container [2022-09-02T04:08:10.358Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-02T04:08:11.673Z] $ docker top f83dbd7127ce8c3331859023d9c78d43e456af7882a2688a32fee186edb28886 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-02T04:08:12.619Z] + go version [2022-09-02T04:08:12.619Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-02T04:08:12.662Z] $ docker stop --time=1 f83dbd7127ce8c3331859023d9c78d43e456af7882a2688a32fee186edb28886 [2022-09-02T04:08:14.365Z] $ docker rm -f f83dbd7127ce8c3331859023d9c78d43e456af7882a2688a32fee186edb28886 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T04:08:15.322Z] + docker inspect -f . ci-base-image-arm64 [2022-09-02T04:08:15.322Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T04:08:15.665Z] prd-ubuntu20.04-docker-arm64-4c-16g-24402 does not seem to be running inside a container [2022-09-02T04:08:15.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-02T04:08:17.126Z] $ docker top f930610644067447e1b6c92dd9956eaeed1905f1d36e382a9c8078086c1c0a84 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-02T04:08:18.112Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-02T04:08:18.843Z] + make test [2022-09-02T04:08:18.843Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-09-02T04:08:57.871Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-09-02T04:10:49.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-09-02T04:10:49.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-09-02T04:10:49.780Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-09-02T04:11:02.266Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.383s coverage: 23.6% of statements [2022-09-02T04:11:02.266Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-09-02T04:11:02.266Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.278s coverage: 27.6% of statements [2022-09-02T04:11:02.266Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.374s coverage: 78.9% of statements [2022-09-02T04:11:02.266Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.255s coverage: 10.8% of statements [2022-09-02T04:11:04.285Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.602s coverage: 60.0% of statements [2022-09-02T04:11:04.285Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-09-02T04:11:04.285Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-09-02T04:11:06.976Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.503s coverage: 34.8% of statements [2022-09-02T04:11:06.976Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-09-02T04:11:09.627Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.297s coverage: 85.4% of statements [2022-09-02T04:11:09.627Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-09-02T04:11:09.627Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-09-02T04:11:09.627Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.448s coverage: 65.1% of statements [2022-09-02T04:11:09.627Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-09-02T04:11:09.627Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-09-02T04:11:13.052Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.116s coverage: 89.2% of statements [2022-09-02T04:11:13.052Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-09-02T04:11:14.035Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.240s coverage: 4.7% of statements [2022-09-02T04:11:14.035Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-09-02T04:11:14.636Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-02T04:11:14.636Z] GO111MODULE=on go vet ./... [2022-09-02T04:12:51.593Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-02T04:12:51.593Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-02T04:12:51.593Z] ./bin/test-attribution-txt.sh [2022-09-02T04:12:51.593Z] An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add [2022-09-02T04:12:51.593Z] An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add [2022-09-02T04:12:51.593Z] An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add [2022-09-02T04:12:51.593Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-02T04:12:51.593Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-02T04:12:51.593Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [2022-09-02T04:12:51.593Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2022-09-02T04:12:51.637Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-02T04:12:51.681Z] $ docker stop --time=1 f930610644067447e1b6c92dd9956eaeed1905f1d36e382a9c8078086c1c0a84 [2022-09-02T04:12:53.571Z] $ docker rm -f f930610644067447e1b6c92dd9956eaeed1905f1d36e382a9c8078086c1c0a84 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-02T04:12:55.109Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-02T04:12:55.145Z] Warning: overwriting stash ‘coverage-report’ [2022-09-02T04:12:55.772Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-02T04:12:56.409Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-02T04:12:56.769Z] + ls -al . [2022-09-02T04:12:56.770Z] total 300 [2022-09-02T04:12:56.770Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 2 04:08 . [2022-09-02T04:12:56.770Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 04:06 .. [2022-09-02T04:12:56.770Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 2 04:06 .dockerignore [2022-09-02T04:12:56.770Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 04:06 .git [2022-09-02T04:12:56.770Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 04:06 .github [2022-09-02T04:12:56.770Z] -rw-rw-r-- 1 jenkins jenkins 131 Sep 2 04:06 .gitignore [2022-09-02T04:12:56.770Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 2 04:06 .golangci.yml [2022-09-02T04:12:56.770Z] -rw-rw-r-- 1 jenkins jenkins 29536 Sep 2 04:06 CHANGELOG.md [2022-09-02T04:12:56.770Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 2 04:06 GOVERNANCE.md [2022-09-02T04:12:56.770Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 2 04:06 Jenkinsfile [2022-09-02T04:12:56.770Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 2 04:06 LICENSE [2022-09-02T04:12:56.770Z] -rw-rw-r-- 1 jenkins jenkins 2002 Sep 2 04:06 Makefile [2022-09-02T04:12:56.770Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 2 04:06 OWNERS.md [2022-09-02T04:12:56.770Z] -rw-rw-r-- 1 jenkins jenkins 4881 Sep 2 04:06 README.md [2022-09-02T04:12:56.770Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 2 04:04 VERSION [2022-09-02T04:12:56.770Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 04:06 bin [2022-09-02T04:12:56.770Z] -rw-r--r-- 1 jenkins jenkins 131679 Sep 2 04:11 coverage.out [2022-09-02T04:12:56.770Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 2 04:06 example [2022-09-02T04:12:56.770Z] -rw-rw-r-- 1 jenkins jenkins 3553 Sep 2 04:06 go.mod [2022-09-02T04:12:56.770Z] -rw-rw-r-- 1 jenkins jenkins 36743 Sep 2 04:06 go.sum [2022-09-02T04:12:56.770Z] drwxrwxr-x 15 jenkins jenkins 4096 Sep 2 04:06 internal [2022-09-02T04:12:56.770Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 04:06 openapi [2022-09-02T04:12:56.770Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 2 04:06 pkg [2022-09-02T04:12:56.770Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 04:06 snap [2022-09-02T04:12:56.770Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 2 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T04:12:57.219Z] + 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=464c26c3ddb71e08c920351a725851800bbc7d46 --label arch=arm64 --label version=0.0.0 . [2022-09-02T04:12:57.835Z] Sending build context to Docker daemon 5.396MB [2022-09-02T04:12:57.835Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-02T04:12:57.835Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-02T04:12:57.835Z] ---> 402c9a492972 [2022-09-02T04:12:57.835Z] Step 3/25 : ARG MAKE=make build [2022-09-02T04:12:57.836Z] ---> Running in 5bf5d8836c00 [2022-09-02T04:12:58.113Z] Removing intermediate container 5bf5d8836c00 [2022-09-02T04:12:58.114Z] ---> 7bee2b842583 [2022-09-02T04:12:58.114Z] Step 4/25 : WORKDIR /device-sdk-go [2022-09-02T04:12:58.390Z] ---> Running in 163ca753d501 [2022-09-02T04:12:58.668Z] Removing intermediate container 163ca753d501 [2022-09-02T04:12:58.668Z] ---> 4b95ec431106 [2022-09-02T04:12:58.668Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-02T04:12:58.668Z] ---> Running in c31d36e45a47 [2022-09-02T04:12:58.951Z] Removing intermediate container c31d36e45a47 [2022-09-02T04:12:58.951Z] ---> f6b3df24a996 [2022-09-02T04:12:58.951Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-02T04:12:59.227Z] ---> Running in b8d53b77f45e [2022-09-02T04:13:00.685Z] Removing intermediate container b8d53b77f45e [2022-09-02T04:13:00.685Z] ---> 09610376327a [2022-09-02T04:13:00.685Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-09-02T04:13:00.960Z] ---> Running in 7ba42f8b0476 [2022-09-02T04:13:01.946Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-02T04:13:02.934Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-02T04:13:03.929Z] OK: 221 MiB in 51 packages [2022-09-02T04:13:04.917Z] Removing intermediate container 7ba42f8b0476 [2022-09-02T04:13:04.917Z] ---> 75125a518255 [2022-09-02T04:13:04.917Z] Step 8/25 : COPY go.mod vendor* ./ [2022-09-02T04:13:05.519Z] ---> cdc4134e86a5 [2022-09-02T04:13:05.519Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-02T04:13:05.519Z] ---> Running in 051d378d921f [2022-09-02T04:13:07.511Z] Removing intermediate container 051d378d921f [2022-09-02T04:13:07.511Z] ---> fd9a50c122f8 [2022-09-02T04:13:07.511Z] Step 10/25 : COPY . . [2022-09-02T04:13:08.957Z] ---> c9cda8e46949 [2022-09-02T04:13:08.957Z] Step 11/25 : RUN ${MAKE} [2022-09-02T04:13:08.957Z] ---> Running in 2c9cc11d2c43 [2022-09-02T04:13:09.944Z] 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-09-02T04:15:31.913Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-09-02T04:15:31.913Z] Removing intermediate container 2c9cc11d2c43 [2022-09-02T04:15:31.913Z] ---> 7b6894a6678f [2022-09-02T04:15:31.913Z] Step 12/25 : FROM alpine:3.16 [2022-09-02T04:15:31.913Z] 3.16: Pulling from library/alpine [2022-09-02T04:15:31.913Z] 9b18e9b68314: Pulling fs layer [2022-09-02T04:15:31.913Z] 9b18e9b68314: Verifying Checksum [2022-09-02T04:15:31.913Z] 9b18e9b68314: Download complete [2022-09-02T04:15:31.913Z] 9b18e9b68314: Pull complete [2022-09-02T04:15:31.913Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-02T04:15:31.913Z] Status: Downloaded newer image for alpine:3.16 [2022-09-02T04:15:31.913Z] ---> a6215f271958 [2022-09-02T04:15:31.913Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-02T04:15:31.913Z] ---> Running in 626d65569f2e [2022-09-02T04:15:31.913Z] Removing intermediate container 626d65569f2e [2022-09-02T04:15:31.913Z] ---> c37a975dbf09 [2022-09-02T04:15:31.913Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-02T04:15:31.913Z] ---> Running in a15183a2dca6 [2022-09-02T04:15:31.913Z] Removing intermediate container a15183a2dca6 [2022-09-02T04:15:31.913Z] ---> e4576e742330 [2022-09-02T04:15:31.913Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-09-02T04:15:31.913Z] ---> Running in a4c71beb7da6 [2022-09-02T04:15:32.905Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-02T04:15:33.888Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-02T04:15:34.872Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-09-02T04:15:34.872Z] (2/5) Installing libsodium (1.0.18-r0) [2022-09-02T04:15:35.147Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-02T04:15:35.147Z] (4/5) Installing libzmq (4.3.4-r0) [2022-09-02T04:15:35.422Z] (5/5) Installing zeromq (4.3.4-r0) [2022-09-02T04:15:35.422Z] Executing busybox-1.35.0-r17.trigger [2022-09-02T04:15:35.422Z] OK: 8 MiB in 19 packages [2022-09-02T04:15:36.417Z] Removing intermediate container a4c71beb7da6 [2022-09-02T04:15:36.417Z] ---> 9d2a075a9775 [2022-09-02T04:15:36.417Z] Step 16/25 : WORKDIR / [2022-09-02T04:15:36.417Z] ---> Running in d8d1e9300698 [2022-09-02T04:15:37.020Z] Removing intermediate container d8d1e9300698 [2022-09-02T04:15:37.020Z] ---> 76e1adfb4b12 [2022-09-02T04:15:37.020Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-09-02T04:15:37.623Z] ---> 1f11c62ecc02 [2022-09-02T04:15:37.623Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-09-02T04:15:39.068Z] ---> e07d7416b7a2 [2022-09-02T04:15:39.068Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-09-02T04:15:39.668Z] ---> 9da347755382 [2022-09-02T04:15:39.668Z] Step 20/25 : EXPOSE 59999 [2022-09-02T04:15:39.668Z] ---> Running in bbc24c7a23f9 [2022-09-02T04:15:39.943Z] Removing intermediate container bbc24c7a23f9 [2022-09-02T04:15:39.943Z] ---> bf787b2ab87c [2022-09-02T04:15:39.943Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-09-02T04:15:40.226Z] ---> Running in 5a1b987002ef [2022-09-02T04:15:40.500Z] Removing intermediate container 5a1b987002ef [2022-09-02T04:15:40.500Z] ---> 90bd30206aeb [2022-09-02T04:15:40.500Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-02T04:15:40.500Z] ---> Running in 9c6243991c43 [2022-09-02T04:15:40.780Z] Removing intermediate container 9c6243991c43 [2022-09-02T04:15:40.780Z] ---> da7e7044ff91 [2022-09-02T04:15:40.780Z] Step 23/25 : LABEL arch=arm64 [2022-09-02T04:15:41.062Z] ---> Running in 63fd71216873 [2022-09-02T04:15:41.340Z] Removing intermediate container 63fd71216873 [2022-09-02T04:15:41.340Z] ---> f7c805e0b7b6 [2022-09-02T04:15:41.340Z] Step 24/25 : LABEL git_sha=464c26c3ddb71e08c920351a725851800bbc7d46 [2022-09-02T04:15:41.340Z] ---> Running in b59ca0dbdcbd [2022-09-02T04:15:41.945Z] Removing intermediate container b59ca0dbdcbd [2022-09-02T04:15:41.945Z] ---> 741354819ae1 [2022-09-02T04:15:41.945Z] Step 25/25 : LABEL version=0.0.0 [2022-09-02T04:15:41.945Z] ---> Running in c614e35a990c [2022-09-02T04:15:42.225Z] Removing intermediate container c614e35a990c [2022-09-02T04:15:42.225Z] ---> a78918136e60 [2022-09-02T04:15:42.225Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-02T04:15:42.225Z] Successfully built a78918136e60 [2022-09-02T04:15:42.225Z] 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-09-02T04:15:43.078Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-02T04:15:43.078Z] [2022-09-02T04:15:43.078Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T04:15:43.584Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-02T04:15:43.886Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-02T04:15:43.886Z] 8998bd30e6a1: Pulling fs layer [2022-09-02T04:15:43.886Z] 04944245beec: Pulling fs layer [2022-09-02T04:15:43.886Z] 699f458cf7ca: Pulling fs layer [2022-09-02T04:15:43.886Z] 765212b225bb: Pulling fs layer [2022-09-02T04:15:43.886Z] f23df028b6ca: Pulling fs layer [2022-09-02T04:15:43.886Z] d65c8cfc05b1: Pulling fs layer [2022-09-02T04:15:43.886Z] 2437ff75d9bd: Pulling fs layer [2022-09-02T04:15:43.886Z] 765212b225bb: Waiting [2022-09-02T04:15:43.886Z] d65c8cfc05b1: Waiting [2022-09-02T04:15:43.886Z] f23df028b6ca: Waiting [2022-09-02T04:15:43.886Z] 2437ff75d9bd: Waiting [2022-09-02T04:15:43.886Z] 04944245beec: Verifying Checksum [2022-09-02T04:15:43.886Z] 04944245beec: Download complete [2022-09-02T04:15:43.886Z] 765212b225bb: Verifying Checksum [2022-09-02T04:15:43.886Z] 765212b225bb: Download complete [2022-09-02T04:15:44.176Z] f23df028b6ca: Verifying Checksum [2022-09-02T04:15:44.176Z] f23df028b6ca: Download complete [2022-09-02T04:15:44.176Z] d65c8cfc05b1: Verifying Checksum [2022-09-02T04:15:44.176Z] d65c8cfc05b1: Download complete [2022-09-02T04:15:44.176Z] 699f458cf7ca: Verifying Checksum [2022-09-02T04:15:44.176Z] 699f458cf7ca: Download complete [2022-09-02T04:15:44.813Z] 8998bd30e6a1: Download complete [2022-09-02T04:15:48.349Z] 2437ff75d9bd: Verifying Checksum [2022-09-02T04:15:48.349Z] 2437ff75d9bd: Download complete [2022-09-02T04:15:51.029Z] 8998bd30e6a1: Pull complete [2022-09-02T04:15:51.308Z] 04944245beec: Pull complete [2022-09-02T04:15:53.292Z] 699f458cf7ca: Pull complete [2022-09-02T04:15:53.292Z] 765212b225bb: Pull complete [2022-09-02T04:15:54.277Z] f23df028b6ca: Pull complete [2022-09-02T04:15:54.277Z] d65c8cfc05b1: Pull complete [2022-09-02T04:16:09.370Z] 2437ff75d9bd: Pull complete [2022-09-02T04:16:09.370Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-02T04:16:09.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-02T04:16:09.370Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T04:16:09.745Z] prd-ubuntu20.04-docker-arm64-4c-16g-24402 does not seem to be running inside a container [2022-09-02T04:16:09.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-02T04:16:12.612Z] $ docker top 8fa6d783927c7c24af7ec8ab6ca53a2d6e137bf9d26c871cfe2eb4bd7fef729b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-02T04:16:13.629Z] ---> job-cost.sh [2022-09-02T04:16:13.629Z] lf-activate-venv: SKIPPING [2022-09-02T04:16:13.629Z] INFO: No Stack... [2022-09-02T04:16:14.228Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-02T04:16:15.210Z] INFO: Archiving Costs [Pipeline] sh [2022-09-02T04:16:15.897Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-09-02T04:16:15.897Z] + cut -d, -f6 [Pipeline] lock [2022-09-02T04:16:15.956Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1209-1-stack-cost] [2022-09-02T04:16:15.961Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1209-1-stack-cost] did not exist. Created. [2022-09-02T04:16:15.961Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1209-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-02T04:16:16.736Z] /w/workspace/device-sdk-go/1@tmp/durable-c1eaf695/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-02T04:16:17.450Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-02T04:16:17.487Z] Warning: overwriting stash ‘stack-cost’ [2022-09-02T04:16:17.558Z] Stashed 1 file(s) [Pipeline] } [2022-09-02T04:16:17.577Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1209-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-02T04:16:17.677Z] $ docker stop --time=1 8fa6d783927c7c24af7ec8ab6ca53a2d6e137bf9d26c871cfe2eb4bd7fef729b [2022-09-02T04:16:19.220Z] $ docker rm -f 8fa6d783927c7c24af7ec8ab6ca53a2d6e137bf9d26c871cfe2eb4bd7fef729b [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-09-02T04:16:20.363Z] provisioning config files... [2022-09-02T04:16:20.372Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1209@tmp/config6047547902807261781tmp [Pipeline] { [Pipeline] sh [2022-09-02T04:16:20.725Z] + set +x [2022-09-02T04:16:20.725Z] + + curl -s https://codecov.io/bash [2022-09-02T04:16:20.725Z] bash -s -- [2022-09-02T04:16:20.725Z] [2022-09-02T04:16:20.725Z] _____ _ [2022-09-02T04:16:20.725Z] / ____| | | [2022-09-02T04:16:20.725Z] | | ___ __| | ___ ___ _____ __ [2022-09-02T04:16:20.725Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-02T04:16:20.725Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-02T04:16:20.725Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-02T04:16:20.725Z] Bash-1.0.6 [2022-09-02T04:16:20.725Z] [2022-09-02T04:16:20.725Z] [2022-09-02T04:16:20.725Z] ==> git version 2.25.1 found [2022-09-02T04:16:20.725Z] ==> 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-09-02T04:16:20.725Z] Release-Date: 2020-01-08 [2022-09-02T04:16:20.725Z] 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-09-02T04:16:20.725Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-02T04:16:20.725Z] ==> Jenkins CI detected. [2022-09-02T04:16:20.725Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1209 [2022-09-02T04:16:20.725Z] project root: . [2022-09-02T04:16:20.725Z] --> token set from env [2022-09-02T04:16:20.725Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-02T04:16:20.725Z] ==> Running gcov in . (disable via -X gcov) [2022-09-02T04:16:20.725Z] ==> Python coveragepy not found [2022-09-02T04:16:20.725Z] ==> Searching for coverage reports in: [2022-09-02T04:16:20.725Z] + . [2022-09-02T04:16:20.725Z] -> Found 1 reports [2022-09-02T04:16:20.725Z] ==> Detecting git/mercurial file structure [2022-09-02T04:16:20.725Z] ==> Reading reports [2022-09-02T04:16:20.725Z] + ./coverage.out bytes=131679 [2022-09-02T04:16:20.725Z] ==> Appending adjustments [2022-09-02T04:16:20.725Z] https://docs.codecov.io/docs/fixing-reports [2022-09-02T04:16:20.985Z] + Found adjustments [2022-09-02T04:16:20.985Z] ==> Gzipping contents [2022-09-02T04:16:21.246Z] 20K /tmp/codecov.n5oieh.gz [2022-09-02T04:16:21.246Z] ==> Uploading reports [2022-09-02T04:16:21.246Z] url: https://codecov.io [2022-09-02T04:16:21.246Z] query: branch=PR-1209&commit=464c26c3ddb71e08c920351a725851800bbc7d46&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1209%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1209&job=&cmd_args= [2022-09-02T04:16:21.246Z] -> Pinging Codecov [2022-09-02T04:16:21.246Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1209&commit=464c26c3ddb71e08c920351a725851800bbc7d46&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1209%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1209&job=&cmd_args= [2022-09-02T04:16:21.507Z] -> Uploading to [2022-09-02T04:16:21.507Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-02/7E55EF52A471D76F132DFD9A03CDDE97/464c26c3ddb71e08c920351a725851800bbc7d46/d9852d57-55fe-4de1-a9f9-23bf10f20456.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220902%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220902T041621Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cc95cf09e47e90c3444c541ec9d5f188f418ad2d55cab536d2cce5fb30951b9c [2022-09-02T04:16:21.507Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-02T04:16:21.507Z] Dload Upload Total Spent Left Speed [2022-09-02T04:16:21.770Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17300 0 0 100 17300 0 77927 --:--:-- --:--:-- --:--:-- 77578 100 17300 0 0 100 17300 0 73617 --:--:-- --:--:-- --:--:-- 73617 [2022-09-02T04:16:21.770Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/464c26c3ddb71e08c920351a725851800bbc7d46 [Pipeline] } [2022-09-02T04:16:21.799Z] 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-09-02T04:16:23.568Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1209/archives ] [2022-09-02T04:16:23.568Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1209/archives [2022-09-02T04:16:23.568Z] total 16 [2022-09-02T04:16:23.568Z] drwxr-xr-x 3 root root 4096 Sep 2 04:06 . [2022-09-02T04:16:23.568Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 2 04:06 .. [2022-09-02T04:16:23.568Z] drwxr-xr-x 2 root root 4096 Sep 2 04:06 cost [2022-09-02T04:16:23.568Z] -rw-r--r-- 1 root root 86 Sep 2 04:06 cost.csv [2022-09-02T04:16:23.568Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1209/archives [2022-09-02T04:16:23.568Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1209/archives [2022-09-02T04:16:23.568Z] total 16 [2022-09-02T04:16:23.568Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 2 04:06 . [2022-09-02T04:16:23.568Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 2 04:06 .. [2022-09-02T04:16:23.568Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 2 04:06 cost [2022-09-02T04:16:23.568Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 2 04:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-02T04:16:23.902Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-02T04:16:24.800Z] ---> package-listing.sh [2022-09-02T04:16:24.800Z] ++ facter osfamily [2022-09-02T04:16:24.800Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-02T04:16:25.062Z] + OS_FAMILY=debian [2022-09-02T04:16:25.062Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1209 [2022-09-02T04:16:25.062Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-02T04:16:25.062Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-02T04:16:25.062Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-02T04:16:25.062Z] + PACKAGES=/tmp/packages_start.txt [2022-09-02T04:16:25.062Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1209 ']' [2022-09-02T04:16:25.062Z] + PACKAGES=/tmp/packages_end.txt [2022-09-02T04:16:25.062Z] + case "${OS_FAMILY}" in [2022-09-02T04:16:25.062Z] + dpkg -l [2022-09-02T04:16:25.062Z] + grep '^ii' [2022-09-02T04:16:25.062Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-02T04:16:25.062Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-02T04:16:25.062Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-02T04:16:25.062Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1209 ']' [2022-09-02T04:16:25.062Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1209/archives/ [2022-09-02T04:16:25.062Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1209/archives/ [Pipeline] echo [2022-09-02T04:16:25.093Z] 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-1209/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-02T04:16:25.390Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T04:16:26.033Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-02T04:16:26.033Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T04:16:26.192Z] prd-ubuntu20.04-docker-8c-8g-24398 does not seem to be running inside a container [2022-09-02T04:16:26.223Z] $ 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-1209/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-1209 -v /w/workspace/gexfoundry_device-sdk-go_PR-1209:/w/workspace/gexfoundry_device-sdk-go_PR-1209:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1209@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-02T04:16:26.426Z] $ docker top cebe5559fae723173b8970be824d21c9d5c4b02c47abec4c69735f1f1010e7b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-02T04:16:26.853Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-02T04:16:27.175Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-02T04:16:27.502Z] + ls /var/log/sa-host [2022-09-02T04:16:27.503Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-02T04:16:27.714Z] provisioning config files... [2022-09-02T04:16:27.724Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1209@tmp/config6554169899113945086tmp [Pipeline] { [Pipeline] echo [2022-09-02T04:16:27.774Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-02T04:16:28.090Z] ---> create-netrc.sh [Pipeline] } [2022-09-02T04:16:28.121Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-02T04:16:28.535Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-02T04:16:28.567Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-02T04:16:28.881Z] ---> sudo-logs.sh [2022-09-02T04:16:28.881Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-02T04:16:28.967Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-02T04:16:29.284Z] ---> job-cost.sh [2022-09-02T04:16:29.284Z] lf-activate-venv: SKIPPING [2022-09-02T04:16:29.284Z] DEBUG: total: 0.2199999988079071 [2022-09-02T04:16:29.284Z] INFO: Retrieving Stack Cost... [2022-09-02T04:16:29.857Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-02T04:16:30.116Z] INFO: Archiving Costs [Pipeline] echo [2022-09-02T04:16:30.152Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-02T04:16:30.468Z] ---> logs-deploy.sh [2022-09-02T04:16:30.468Z] lf-activate-venv: SKIPPING [2022-09-02T04:16:30.468Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1209/1 [2022-09-02T04:16:30.468Z] INFO: archiving workspace using pattern(s): [2022-09-02T04:16:31.411Z] Archives upload complete. [2022-09-02T04:16:31.411Z] INFO: archiving logs to Nexus