Pull request #1194 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 16c2613fc80d254d67c62bfb74bfca7a95c75b63+693843898baeade0e40692581dd8497a6988e370 (5b750ca142ba7af3e9eb1ec8a1285b004150fd98) 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-ssh8480381676304017918.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12672946620498323481.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1194/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-1194/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17069280818914148121.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-1194/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4144885714820628403.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17974123239063009141.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-1194/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-1194/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4718733220366587626.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-20169’ Running on prd-ubuntu20.04-docker-8c-8g-20172 in /w/workspace/gexfoundry_device-sdk-go_PR-1194 [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-1194 # 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 693843898baeade0e40692581dd8497a6988e370 into PR head commit 16c2613fc80d254d67c62bfb74bfca7a95c75b63 Merge succeeded, producing 16c2613fc80d254d67c62bfb74bfca7a95c75b63 Checking out Revision 16c2613fc80d254d67c62bfb74bfca7a95c75b63 (PR-1194) > 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/1194/head:refs/remotes/origin/PR-1194 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 16c2613fc80d254d67c62bfb74bfca7a95c75b63 # 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 693843898baeade0e40692581dd8497a6988e370 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 16c2613fc80d254d67c62bfb74bfca7a95c75b63 # timeout=10 Commit message: "feat: Add interface for accessing the Device Service SDK" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-15T00:21:10.110Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-15T00:21:10.298Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-15T00:21:10.402Z] ========================================================= [2022-07-15T00:21:10.403Z] EdgeX Global Pipelines Version Info [2022-07-15T00:21:10.403Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-15T00:21:11.252Z] ------------------- [2022-07-15T00:21:11.253Z] stable info: [2022-07-15T00:21:11.253Z] ------------------- [2022-07-15T00:21:11.253Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-15T00:21:11.253Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-15T00:21:11.253Z] Message: update stable to v1.0.238 [2022-07-15T00:21:11.825Z] ------------------- [2022-07-15T00:21:11.825Z] experimental info: [2022-07-15T00:21:11.825Z] ------------------- [2022-07-15T00:21:11.825Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-15T00:21:11.825Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-15T00:21:11.825Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-15T00:21:12.201Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-07-15T00:21:12.241Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-07-15T00:21:12.279Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-15T00:21:12.316Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-15T00:21:12.355Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-15T00:21:12.393Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-15T00:21:12.436Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-15T00:21:12.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-07-15T00:21:12.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-15T00:21:12.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-15T00:21:12.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-15T00:21:12.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-07-15T00:21:12.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-15T00:21:12.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-15T00:21:12.739Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-15T00:21:12.779Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-07-15T00:21:12.818Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-15T00:21:12.861Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-15T00:21:12.900Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-15T00:21:12.941Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-15T00:21:12.982Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-07-15T00:21:13.026Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-07-15T00:21:13.067Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-15T00:21:13.112Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-15T00:21:13.154Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-15T00:21:13.192Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-15T00:21:13.232Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-15T00:21:13.273Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1194 [Pipeline] echo [2022-07-15T00:21:13.320Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1194 [Pipeline] echo [2022-07-15T00:21:13.363Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1194 [Pipeline] echo [2022-07-15T00:21:13.410Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 16c2613fc80d254d67c62bfb74bfca7a95c75b63 [Pipeline] echo [2022-07-15T00:21:13.455Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 16c2613 [Pipeline] echo [2022-07-15T00:21:13.494Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-15T00:21:13.607Z] provisioning config files... [2022-07-15T00:21:13.625Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp/config6493682876486994189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-15T00:21:13.979Z] ---> docker-login.sh [2022-07-15T00:21:13.979Z] nexus3.edgexfoundry.org:10001 [2022-07-15T00:21:14.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T00:21:14.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T00:21:14.241Z] Configure a credential helper to remove this warning. See [2022-07-15T00:21:14.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T00:21:14.241Z] [2022-07-15T00:21:14.241Z] Login Succeeded [2022-07-15T00:21:14.241Z] nexus3.edgexfoundry.org:10002 [2022-07-15T00:21:14.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T00:21:14.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T00:21:14.501Z] Configure a credential helper to remove this warning. See [2022-07-15T00:21:14.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T00:21:14.501Z] [2022-07-15T00:21:14.501Z] Login Succeeded [2022-07-15T00:21:14.501Z] nexus3.edgexfoundry.org:10003 [2022-07-15T00:21:14.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T00:21:14.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T00:21:14.764Z] Configure a credential helper to remove this warning. See [2022-07-15T00:21:14.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T00:21:14.764Z] [2022-07-15T00:21:14.764Z] Login Succeeded [2022-07-15T00:21:14.764Z] nexus3.edgexfoundry.org:10004 [2022-07-15T00:21:14.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T00:21:14.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T00:21:14.764Z] Configure a credential helper to remove this warning. See [2022-07-15T00:21:14.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T00:21:14.764Z] [2022-07-15T00:21:14.764Z] Login Succeeded [2022-07-15T00:21:14.764Z] docker.io [2022-07-15T00:21:15.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T00:21:15.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T00:21:15.288Z] Configure a credential helper to remove this warning. See [2022-07-15T00:21:15.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T00:21:15.288Z] [2022-07-15T00:21:15.288Z] Login Succeeded [2022-07-15T00:21:15.288Z] ---> docker-login.sh ends [Pipeline] } [2022-07-15T00:21:15.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-15T00:21:15.958Z] + git rev-list -1 --merges 16c2613fc80d254d67c62bfb74bfca7a95c75b63~1..16c2613fc80d254d67c62bfb74bfca7a95c75b63 [Pipeline] echo [2022-07-15T00:21:16.009Z] -----------> git rev-list -1 --merges 16c2613fc80d254d67c62bfb74bfca7a95c75b63~1..16c2613fc80d254d67c62bfb74bfca7a95c75b63 16c2613fc80d254d67c62bfb74bfca7a95c75b63 [false] [Pipeline] sh [2022-07-15T00:21:16.319Z] + git log --format=format:%s -1 16c2613fc80d254d67c62bfb74bfca7a95c75b63 [Pipeline] echo [2022-07-15T00:21:16.358Z] ========================================================= [2022-07-15T00:21:16.359Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-15T00:21:16.359Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-15T00:21:16.796Z] + git log --format=format:%s -1 16c2613fc80d254d67c62bfb74bfca7a95c75b63 [Pipeline] echo [2022-07-15T00:21:16.827Z] [semverPrep] GIT_COMMIT: 16c2613fc80d254d67c62bfb74bfca7a95c75b63, Commit Message: feat: Add interface for accessing the Device Service SDK [Pipeline] echo [2022-07-15T00:21:16.856Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-15T00:21:17.255Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-15T00:21:17.255Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-15T00:21:17.255Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-15T00:21:17.255Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-15T00:21:17.255Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2022-07-15T00:21:17.255Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-15T00:21:17.255Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T00:21:17.745Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-15T00:21:17.745Z] [2022-07-15T00:21:17.745Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T00:21:18.119Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-15T00:21:18.119Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-15T00:21:18.119Z] b85a868b505f: Pulling fs layer [2022-07-15T00:21:18.119Z] e2be974225ed: Pulling fs layer [2022-07-15T00:21:18.119Z] 339a4e72a1f5: Pulling fs layer [2022-07-15T00:21:18.119Z] 988bab9f4d93: Pulling fs layer [2022-07-15T00:21:18.119Z] 1469e6f7b9e6: Pulling fs layer [2022-07-15T00:21:18.119Z] eaf3925da568: Pulling fs layer [2022-07-15T00:21:18.119Z] bab4dde63d76: Pulling fs layer [2022-07-15T00:21:18.119Z] bde34c3a00c8: Pulling fs layer [2022-07-15T00:21:18.119Z] b352a97aabf1: Pulling fs layer [2022-07-15T00:21:18.119Z] 4872d77fe225: Pulling fs layer [2022-07-15T00:21:18.119Z] 5851b861e8e6: Pulling fs layer [2022-07-15T00:21:18.119Z] 1469e6f7b9e6: Waiting [2022-07-15T00:21:18.119Z] 988bab9f4d93: Waiting [2022-07-15T00:21:18.119Z] bab4dde63d76: Waiting [2022-07-15T00:21:18.119Z] bde34c3a00c8: Waiting [2022-07-15T00:21:18.119Z] b352a97aabf1: Waiting [2022-07-15T00:21:18.119Z] 5851b861e8e6: Waiting [2022-07-15T00:21:18.119Z] eaf3925da568: Waiting [2022-07-15T00:21:18.119Z] e2be974225ed: Verifying Checksum [2022-07-15T00:21:18.119Z] e2be974225ed: Download complete [2022-07-15T00:21:18.119Z] 988bab9f4d93: Verifying Checksum [2022-07-15T00:21:18.119Z] 988bab9f4d93: Download complete [2022-07-15T00:21:18.379Z] 1469e6f7b9e6: Verifying Checksum [2022-07-15T00:21:18.379Z] 1469e6f7b9e6: Download complete [2022-07-15T00:21:18.379Z] 339a4e72a1f5: Verifying Checksum [2022-07-15T00:21:18.379Z] 339a4e72a1f5: Download complete [2022-07-15T00:21:18.379Z] eaf3925da568: Verifying Checksum [2022-07-15T00:21:18.379Z] eaf3925da568: Download complete [2022-07-15T00:21:18.379Z] bde34c3a00c8: Download complete [2022-07-15T00:21:18.379Z] b352a97aabf1: Verifying Checksum [2022-07-15T00:21:18.379Z] b352a97aabf1: Download complete [2022-07-15T00:21:18.379Z] 4872d77fe225: Verifying Checksum [2022-07-15T00:21:18.379Z] 4872d77fe225: Download complete [2022-07-15T00:21:18.379Z] 5851b861e8e6: Verifying Checksum [2022-07-15T00:21:18.379Z] 5851b861e8e6: Download complete [2022-07-15T00:21:18.379Z] b85a868b505f: Verifying Checksum [2022-07-15T00:21:18.379Z] b85a868b505f: Download complete [2022-07-15T00:21:18.639Z] bab4dde63d76: Verifying Checksum [2022-07-15T00:21:18.639Z] bab4dde63d76: Download complete [2022-07-15T00:21:20.020Z] b85a868b505f: Pull complete [2022-07-15T00:21:20.020Z] e2be974225ed: Pull complete [2022-07-15T00:21:20.592Z] 339a4e72a1f5: Pull complete [2022-07-15T00:21:20.592Z] 988bab9f4d93: Pull complete [2022-07-15T00:21:21.171Z] 1469e6f7b9e6: Pull complete [2022-07-15T00:21:21.171Z] eaf3925da568: Pull complete [2022-07-15T00:21:23.084Z] bab4dde63d76: Pull complete [2022-07-15T00:21:23.345Z] bde34c3a00c8: Pull complete [2022-07-15T00:21:23.345Z] b352a97aabf1: Pull complete [2022-07-15T00:21:23.617Z] 4872d77fe225: Pull complete [2022-07-15T00:21:23.617Z] 5851b861e8e6: Pull complete [2022-07-15T00:21:23.617Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-15T00:21:23.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-15T00:21:23.617Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T00:21:23.841Z] prd-ubuntu20.04-docker-8c-8g-20172 does not seem to be running inside a container [2022-07-15T00:21:23.868Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1194 -v /w/workspace/gexfoundry_device-sdk-go_PR-1194:/w/workspace/gexfoundry_device-sdk-go_PR-1194:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1194@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-devops/py-git-semver:0.1.4 cat [2022-07-15T00:21:25.363Z] $ docker top 53c0605ad7defe6c9bf77f8257a45adab44aa47687789674ef706275ea9c18a4 -eo pid,comm [2022-07-15T00:21:25.452Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-15T00:21:25.452Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-15T00:21:25.593Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-15T00:21:25.593Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-15T00:21:25.735Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-15T00:21:25.730Z] $ docker exec 53c0605ad7defe6c9bf77f8257a45adab44aa47687789674ef706275ea9c18a4 ssh-agent [2022-07-15T00:21:25.880Z] SSH_AUTH_SOCK=/tmp/ssh-IZoWYGofN41i/agent.33 [2022-07-15T00:21:25.880Z] SSH_AGENT_PID=39 [2022-07-15T00:21:25.886Z] Running ssh-add (command line suppressed) [2022-07-15T00:21:26.007Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp/private_key_6179742668715317062.key (/w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp/private_key_6179742668715317062.key) [2022-07-15T00:21:26.030Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-15T00:21:26.364Z] + git tag --points-at HEAD [Pipeline] } [2022-07-15T00:21:26.386Z] $ docker exec --env ******** --env ******** 53c0605ad7defe6c9bf77f8257a45adab44aa47687789674ef706275ea9c18a4 ssh-agent -k [2022-07-15T00:21:26.498Z] unset SSH_AUTH_SOCK; [2022-07-15T00:21:26.499Z] unset SSH_AGENT_PID; [2022-07-15T00:21:26.499Z] echo Agent pid 39 killed; [2022-07-15T00:21:26.517Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-15T00:21:26.607Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-15T00:21:26.607Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-15T00:21:26.729Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-15T00:21:26.726Z] $ docker exec 53c0605ad7defe6c9bf77f8257a45adab44aa47687789674ef706275ea9c18a4 ssh-agent [2022-07-15T00:21:26.875Z] SSH_AUTH_SOCK=/tmp/ssh-JMeAAyFYI38E/agent.71 [2022-07-15T00:21:26.875Z] SSH_AGENT_PID=77 [2022-07-15T00:21:26.882Z] Running ssh-add (command line suppressed) [2022-07-15T00:21:26.991Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp/private_key_6087776730302717001.key (/w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp/private_key_6087776730302717001.key) [2022-07-15T00:21:27.013Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-15T00:21:27.354Z] + git semver init [2022-07-15T00:21:27.615Z] 2022-07-15 00:21:27,558 [run_init] DEBUG init version:0.0.0 force:False [2022-07-15T00:21:27.615Z] 2022-07-15 00:21:27,558 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1194/.semver [2022-07-15T00:21:27.615Z] 2022-07-15 00:21:27,559 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1194/.semver [2022-07-15T00:21:27.615Z] 2022-07-15 00:21:27,559 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1194/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1194, universal_newlines=False, shell=None, istream=None) [2022-07-15T00:21:28.557Z] 2022-07-15 00:21:28,351 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1194/.git/info/exclude [2022-07-15T00:21:28.557Z] 2022-07-15 00:21:28,352 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1194/.semver/PR-1194 with force:False [2022-07-15T00:21:28.557Z] 2022-07-15 00:21:28,352 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1194/.semver/PR-1194 [2022-07-15T00:21:28.557Z] 2022-07-15 00:21:28,356 [execute] INFO git cat-file --batch-check [2022-07-15T00:21:28.557Z] 2022-07-15 00:21:28,356 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1194/.semver, universal_newlines=False, shell=None, istream=) [2022-07-15T00:21:28.557Z] 2022-07-15 00:21:28,363 [execute] INFO git cat-file --batch [2022-07-15T00:21:28.557Z] 2022-07-15 00:21:28,363 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1194/.semver, universal_newlines=False, shell=None, istream=) [2022-07-15T00:21:28.557Z] 2022-07-15 00:21:28,370 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1194/.semver/PR-1194 [2022-07-15T00:21:28.557Z] 0.0.0 [Pipeline] } [2022-07-15T00:21:28.576Z] $ docker exec --env ******** --env ******** 53c0605ad7defe6c9bf77f8257a45adab44aa47687789674ef706275ea9c18a4 ssh-agent -k [2022-07-15T00:21:28.702Z] unset SSH_AUTH_SOCK; [2022-07-15T00:21:28.703Z] unset SSH_AGENT_PID; [2022-07-15T00:21:28.703Z] echo Agent pid 77 killed; [2022-07-15T00:21:28.719Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-15T00:21:29.147Z] + git semver [Pipeline] } [2022-07-15T00:21:29.428Z] $ docker stop --time=1 53c0605ad7defe6c9bf77f8257a45adab44aa47687789674ef706275ea9c18a4 [2022-07-15T00:21:30.784Z] $ docker rm -f 53c0605ad7defe6c9bf77f8257a45adab44aa47687789674ef706275ea9c18a4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-15T00:21:31.208Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-15T00:21:31.511Z] Stashed 1 file(s) [Pipeline] echo [2022-07-15T00:21:31.529Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-15T00:21:32.118Z] provisioning config files... [2022-07-15T00:21:32.129Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp/config3865247334647228801tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-15T00:21:32.480Z] ---> docker-login.sh [2022-07-15T00:21:32.480Z] nexus3.edgexfoundry.org:10001 [2022-07-15T00:21:32.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T00:21:32.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T00:21:32.480Z] Configure a credential helper to remove this warning. See [2022-07-15T00:21:32.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T00:21:32.480Z] [2022-07-15T00:21:32.480Z] Login Succeeded [2022-07-15T00:21:32.480Z] nexus3.edgexfoundry.org:10002 [2022-07-15T00:21:32.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T00:21:32.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T00:21:32.743Z] Configure a credential helper to remove this warning. See [2022-07-15T00:21:32.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T00:21:32.743Z] [2022-07-15T00:21:32.743Z] Login Succeeded [2022-07-15T00:21:32.743Z] nexus3.edgexfoundry.org:10003 [2022-07-15T00:21:32.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T00:21:32.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T00:21:32.743Z] Configure a credential helper to remove this warning. See [2022-07-15T00:21:32.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T00:21:32.743Z] [2022-07-15T00:21:32.743Z] Login Succeeded [2022-07-15T00:21:32.743Z] nexus3.edgexfoundry.org:10004 [2022-07-15T00:21:33.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T00:21:33.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T00:21:33.005Z] Configure a credential helper to remove this warning. See [2022-07-15T00:21:33.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T00:21:33.005Z] [2022-07-15T00:21:33.005Z] Login Succeeded [2022-07-15T00:21:33.005Z] docker.io [2022-07-15T00:21:33.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T00:21:33.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T00:21:33.265Z] Configure a credential helper to remove this warning. See [2022-07-15T00:21:33.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T00:21:33.265Z] [2022-07-15T00:21:33.265Z] Login Succeeded [2022-07-15T00:21:33.265Z] ---> docker-login.sh ends [Pipeline] } [2022-07-15T00:21:33.294Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-15T00:21:33.491Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-15T00:21:33.526Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-15T00:21:33.556Z] ========================================================= [2022-07-15T00:21:33.556Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-15T00:21:33.556Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T00:21:34.017Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-15T00:21:34.017Z] Sending build context to Docker daemon 9.739MB [2022-07-15T00:21:34.017Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-07-15T00:21:34.017Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-15T00:21:34.299Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-15T00:21:34.299Z] 2408cc74d12b: Pulling fs layer [2022-07-15T00:21:34.299Z] ea60b727a1ce: Pulling fs layer [2022-07-15T00:21:34.299Z] 30c4a7721957: Pulling fs layer [2022-07-15T00:21:34.299Z] 370296b7ddb6: Pulling fs layer [2022-07-15T00:21:34.299Z] 7c6cee850709: Pulling fs layer [2022-07-15T00:21:34.299Z] 39a5fcdaea64: Pulling fs layer [2022-07-15T00:21:34.299Z] d94ebbe4e438: Pulling fs layer [2022-07-15T00:21:34.299Z] bcfd1f05c69d: Pulling fs layer [2022-07-15T00:21:34.299Z] 59ccb84bbe0f: Pulling fs layer [2022-07-15T00:21:34.299Z] 39a5fcdaea64: Waiting [2022-07-15T00:21:34.299Z] d94ebbe4e438: Waiting [2022-07-15T00:21:34.299Z] 7c6cee850709: Waiting [2022-07-15T00:21:34.299Z] bcfd1f05c69d: Waiting [2022-07-15T00:21:34.299Z] 59ccb84bbe0f: Waiting [2022-07-15T00:21:34.299Z] 30c4a7721957: Verifying Checksum [2022-07-15T00:21:34.299Z] 30c4a7721957: Download complete [2022-07-15T00:21:34.299Z] ea60b727a1ce: Verifying Checksum [2022-07-15T00:21:34.299Z] ea60b727a1ce: Download complete [2022-07-15T00:21:34.299Z] 7c6cee850709: Verifying Checksum [2022-07-15T00:21:34.299Z] 7c6cee850709: Download complete [2022-07-15T00:21:34.299Z] 39a5fcdaea64: Verifying Checksum [2022-07-15T00:21:34.299Z] 39a5fcdaea64: Download complete [2022-07-15T00:21:34.299Z] 2408cc74d12b: Verifying Checksum [2022-07-15T00:21:34.299Z] 2408cc74d12b: Download complete [2022-07-15T00:21:34.299Z] d94ebbe4e438: Verifying Checksum [2022-07-15T00:21:34.299Z] d94ebbe4e438: Download complete [2022-07-15T00:21:34.561Z] 2408cc74d12b: Pull complete [2022-07-15T00:21:34.561Z] ea60b727a1ce: Pull complete [2022-07-15T00:21:34.821Z] 30c4a7721957: Pull complete [2022-07-15T00:21:34.821Z] 59ccb84bbe0f: Verifying Checksum [2022-07-15T00:21:34.821Z] 59ccb84bbe0f: Download complete [2022-07-15T00:21:35.082Z] 370296b7ddb6: Download complete [2022-07-15T00:21:35.342Z] bcfd1f05c69d: Verifying Checksum [2022-07-15T00:21:35.342Z] bcfd1f05c69d: Download complete [2022-07-15T00:21:39.549Z] 370296b7ddb6: Pull complete [2022-07-15T00:21:39.549Z] 7c6cee850709: Pull complete [2022-07-15T00:21:39.809Z] 39a5fcdaea64: Pull complete [2022-07-15T00:21:39.809Z] d94ebbe4e438: Pull complete [2022-07-15T00:21:42.366Z] bcfd1f05c69d: Pull complete [2022-07-15T00:21:42.936Z] 59ccb84bbe0f: Pull complete [2022-07-15T00:21:42.936Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-15T00:21:42.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-15T00:21:42.936Z] ---> a4fb48ad2a94 [2022-07-15T00:21:42.936Z] Step 3/11 : ARG MAKE=make build [2022-07-15T00:21:44.857Z] ---> Running in 5994021d0e5f [2022-07-15T00:21:44.857Z] Removing intermediate container 5994021d0e5f [2022-07-15T00:21:44.857Z] ---> 43f05b48ef02 [2022-07-15T00:21:44.857Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-15T00:21:44.857Z] ---> Running in bccce1b94279 [2022-07-15T00:21:44.857Z] Removing intermediate container bccce1b94279 [2022-07-15T00:21:44.857Z] ---> 72b39149e704 [2022-07-15T00:21:44.857Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-15T00:21:44.857Z] ---> Running in cb42707ac8ef [2022-07-15T00:21:45.118Z] Removing intermediate container cb42707ac8ef [2022-07-15T00:21:45.118Z] ---> 319fee7da5dd [2022-07-15T00:21:45.118Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-15T00:21:45.118Z] ---> Running in 8dc94c840c63 [2022-07-15T00:21:45.691Z] Removing intermediate container 8dc94c840c63 [2022-07-15T00:21:45.691Z] ---> fbffdc7b6246 [2022-07-15T00:21:45.691Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-15T00:21:45.691Z] ---> Running in f715f33c89f6 [2022-07-15T00:21:45.954Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-15T00:21:46.947Z] Still waiting to schedule task [2022-07-15T00:21:46.947Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-20170’ [2022-07-15T00:21:47.339Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-15T00:21:47.605Z] OK: 211 MiB in 51 packages [2022-07-15T00:21:47.866Z] Removing intermediate container f715f33c89f6 [2022-07-15T00:21:47.866Z] ---> 368b7ad8f40f [2022-07-15T00:21:47.866Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-15T00:21:48.128Z] ---> 8a5035e01c2d [2022-07-15T00:21:48.128Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-15T00:21:48.128Z] ---> Running in 767921665d27 [2022-07-15T00:22:10.097Z] Removing intermediate container 767921665d27 [2022-07-15T00:22:10.097Z] ---> dae08754dacd [2022-07-15T00:22:10.097Z] Step 10/11 : COPY . . [2022-07-15T00:22:10.097Z] ---> 5c3f5212d386 [2022-07-15T00:22:10.097Z] Step 11/11 : RUN ${MAKE} [2022-07-15T00:22:10.097Z] ---> Running in dee87a41651b [2022-07-15T00:22:10.097Z] noop [2022-07-15T00:22:10.097Z] Removing intermediate container dee87a41651b [2022-07-15T00:22:10.097Z] ---> 639020869a71 [2022-07-15T00:22:10.097Z] Successfully built 639020869a71 [2022-07-15T00:22:10.097Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T00:22:10.545Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-15T00:22:10.545Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T00:22:10.708Z] prd-ubuntu20.04-docker-8c-8g-20172 does not seem to be running inside a container [2022-07-15T00:22:10.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1194 -v /w/workspace/gexfoundry_device-sdk-go_PR-1194:/w/workspace/gexfoundry_device-sdk-go_PR-1194:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-15T00:22:11.163Z] $ docker top eb3f1784da091a24547d304d24faf14fd6d728aadefcb3924565ab5d201ce3e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-15T00:22:11.580Z] + go version [2022-07-15T00:22:11.580Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-15T00:22:11.625Z] $ docker stop --time=1 eb3f1784da091a24547d304d24faf14fd6d728aadefcb3924565ab5d201ce3e5 [2022-07-15T00:22:12.954Z] $ docker rm -f eb3f1784da091a24547d304d24faf14fd6d728aadefcb3924565ab5d201ce3e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T00:22:13.789Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-15T00:22:13.789Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T00:22:13.960Z] prd-ubuntu20.04-docker-8c-8g-20172 does not seem to be running inside a container [2022-07-15T00:22:14.005Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-sdk-go_PR-1194 -v /w/workspace/gexfoundry_device-sdk-go_PR-1194:/w/workspace/gexfoundry_device-sdk-go_PR-1194:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-15T00:22:14.417Z] $ docker top 9258c768659b43d58d6dbf4a5a4891ded586dc77b09ada2f7e01dcd5d180a721 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-15T00:22:14.828Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1194 [Pipeline] fileExists [Pipeline] sh [2022-07-15T00:22:15.178Z] + make test [2022-07-15T00:22:15.178Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-15T00:22:21.760Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-15T00:22:36.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-15T00:22:36.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-15T00:22:36.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-15T00:22:36.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.071s coverage: 23.7% of statements [2022-07-15T00:22:36.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-15T00:22:36.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 27.6% of statements [2022-07-15T00:22:36.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.104s coverage: 78.9% of statements [2022-07-15T00:22:36.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.075s coverage: 10.8% of statements [2022-07-15T00:22:36.912Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.104s coverage: 60.0% of statements [2022-07-15T00:22:36.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-15T00:22:36.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-15T00:22:37.173Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.110s coverage: 34.8% of statements [2022-07-15T00:22:37.173Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-15T00:22:37.173Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.095s coverage: 85.4% of statements [2022-07-15T00:22:37.173Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-15T00:22:37.173Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-15T00:22:37.173Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.097s coverage: 65.1% of statements [2022-07-15T00:22:37.173Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-07-15T00:22:37.173Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-07-15T00:22:37.173Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.748s coverage: 89.2% of statements [2022-07-15T00:22:37.173Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-15T00:22:37.435Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements [2022-07-15T00:22:37.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-15T00:22:55.539Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-07-15T00:22:55.539Z] GO111MODULE=on go vet ./... [2022-07-15T00:22:58.076Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-15T00:22:58.076Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-15T00:22:58.076Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-15T00:22:58.113Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-15T00:22:58.152Z] $ docker stop --time=1 9258c768659b43d58d6dbf4a5a4891ded586dc77b09ada2f7e01dcd5d180a721 [2022-07-15T00:23:00.158Z] $ docker rm -f 9258c768659b43d58d6dbf4a5a4891ded586dc77b09ada2f7e01dcd5d180a721 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-15T00:23:00.734Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-15T00:23:00.821Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-15T00:23:01.460Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-15T00:23:01.779Z] + ls -al . [2022-07-15T00:23:01.779Z] total 304 [2022-07-15T00:23:01.779Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 15 00:22 . [2022-07-15T00:23:01.779Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 00:21 .. [2022-07-15T00:23:01.779Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 15 00:21 .dockerignore [2022-07-15T00:23:01.779Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 00:22 .git [2022-07-15T00:23:01.779Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 00:21 .github [2022-07-15T00:23:01.779Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 15 00:21 .gitignore [2022-07-15T00:23:01.779Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 00:21 .golangci.yml [2022-07-15T00:23:01.779Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 00:21 .semver [2022-07-15T00:23:01.779Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 15 00:21 CHANGELOG.md [2022-07-15T00:23:01.779Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 00:21 GOVERNANCE.md [2022-07-15T00:23:01.779Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 15 00:21 Jenkinsfile [2022-07-15T00:23:01.779Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 15 00:21 LICENSE [2022-07-15T00:23:01.779Z] -rw-rw-r-- 1 jenkins jenkins 2002 Jul 15 00:21 Makefile [2022-07-15T00:23:01.779Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 15 00:21 OWNERS.md [2022-07-15T00:23:01.779Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 15 00:21 README.md [2022-07-15T00:23:01.779Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 00:21 VERSION [2022-07-15T00:23:01.779Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 00:21 bin [2022-07-15T00:23:01.779Z] -rw-r--r-- 1 jenkins jenkins 131352 Jul 15 00:22 coverage.out [2022-07-15T00:23:01.779Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 15 00:21 example [2022-07-15T00:23:01.779Z] -rw-rw-r-- 1 jenkins jenkins 3204 Jul 15 00:21 go.mod [2022-07-15T00:23:01.779Z] -rw-rw-r-- 1 jenkins jenkins 34893 Jul 15 00:21 go.sum [2022-07-15T00:23:01.779Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 15 00:21 internal [2022-07-15T00:23:01.779Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 00:21 openapi [2022-07-15T00:23:01.779Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 15 00:21 pkg [2022-07-15T00:23:01.779Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 00:21 snap [2022-07-15T00:23:01.779Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 15 00:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T00:23:02.171Z] + 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=16c2613fc80d254d67c62bfb74bfca7a95c75b63 --label arch=amd64 --label version=0.0.0 . [2022-07-15T00:23:02.171Z] Sending build context to Docker daemon 9.871MB [2022-07-15T00:23:02.171Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-15T00:23:02.171Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-15T00:23:02.171Z] ---> 639020869a71 [2022-07-15T00:23:02.171Z] Step 3/25 : ARG MAKE=make build [2022-07-15T00:23:02.171Z] ---> Running in 7524ccf08cee [2022-07-15T00:23:02.432Z] Removing intermediate container 7524ccf08cee [2022-07-15T00:23:02.432Z] ---> bf6d48eebe1d [2022-07-15T00:23:02.432Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-15T00:23:02.432Z] ---> Running in 94f291b4b7a4 [2022-07-15T00:23:02.432Z] Removing intermediate container 94f291b4b7a4 [2022-07-15T00:23:02.432Z] ---> a3c76252b9b5 [2022-07-15T00:23:02.432Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-15T00:23:02.432Z] ---> Running in d2b8a699eb4d [2022-07-15T00:23:02.691Z] Removing intermediate container d2b8a699eb4d [2022-07-15T00:23:02.691Z] ---> 13b4ca7c1115 [2022-07-15T00:23:02.691Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-15T00:23:02.691Z] ---> Running in 5876e1474482 [2022-07-15T00:23:03.260Z] Removing intermediate container 5876e1474482 [2022-07-15T00:23:03.260Z] ---> 636873a84a25 [2022-07-15T00:23:03.260Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-15T00:23:03.260Z] ---> Running in f2feabf924d8 [2022-07-15T00:23:03.520Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-15T00:23:04.459Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-15T00:23:04.720Z] OK: 211 MiB in 51 packages [2022-07-15T00:23:05.291Z] Removing intermediate container f2feabf924d8 [2022-07-15T00:23:05.291Z] ---> 997ccc9c3c11 [2022-07-15T00:23:05.291Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-15T00:23:05.291Z] ---> b2eab5a918f7 [2022-07-15T00:23:05.291Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-15T00:23:05.291Z] ---> Running in 62784eef5d01 [2022-07-15T00:23:05.862Z] Removing intermediate container 62784eef5d01 [2022-07-15T00:23:05.862Z] ---> e1897631c956 [2022-07-15T00:23:05.862Z] Step 10/25 : COPY . . [2022-07-15T00:23:06.432Z] ---> 028acc23be48 [2022-07-15T00:23:06.432Z] Step 11/25 : RUN ${MAKE} [2022-07-15T00:23:06.432Z] ---> Running in 9b4bfa806758 [2022-07-15T00:23:06.693Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-07-15T00:23:24.812Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-15T00:23:27.352Z] Removing intermediate container 9b4bfa806758 [2022-07-15T00:23:27.352Z] ---> 7223706cd3d2 [2022-07-15T00:23:27.352Z] Step 12/25 : FROM alpine:3.16 [2022-07-15T00:23:27.923Z] 3.16: Pulling from library/alpine [2022-07-15T00:23:28.184Z] 2408cc74d12b: Already exists [2022-07-15T00:23:28.184Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-15T00:23:28.184Z] Status: Downloaded newer image for alpine:3.16 [2022-07-15T00:23:28.184Z] ---> e66264b98777 [2022-07-15T00:23:28.184Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-15T00:23:28.184Z] ---> Running in fbf96c068e74 [2022-07-15T00:23:28.446Z] Removing intermediate container fbf96c068e74 [2022-07-15T00:23:28.446Z] ---> ce37090379e3 [2022-07-15T00:23:28.446Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-15T00:23:28.446Z] ---> Running in 5fef1f2e6f8d [2022-07-15T00:23:29.016Z] Removing intermediate container 5fef1f2e6f8d [2022-07-15T00:23:29.016Z] ---> e9f79a86e433 [2022-07-15T00:23:29.016Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-15T00:23:29.016Z] ---> Running in 7ccd62f11d74 [2022-07-15T00:23:29.586Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-15T00:23:30.159Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-15T00:23:30.728Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-15T00:23:30.728Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-15T00:23:30.728Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-15T00:23:30.989Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-15T00:23:30.989Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-15T00:23:30.989Z] Executing busybox-1.35.0-r13.trigger [2022-07-15T00:23:30.989Z] OK: 8 MiB in 19 packages [2022-07-15T00:23:31.559Z] Removing intermediate container 7ccd62f11d74 [2022-07-15T00:23:31.559Z] ---> 0c6714cd8e5d [2022-07-15T00:23:31.559Z] Step 16/25 : WORKDIR / [2022-07-15T00:23:31.559Z] ---> Running in 77dbe2a6e281 [2022-07-15T00:23:31.559Z] Removing intermediate container 77dbe2a6e281 [2022-07-15T00:23:31.559Z] ---> 8c54bfea968d [2022-07-15T00:23:31.559Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-15T00:23:31.822Z] ---> cb66b4cbd134 [2022-07-15T00:23:31.822Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-15T00:23:32.394Z] ---> 36a64eea2ac4 [2022-07-15T00:23:32.394Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-15T00:23:32.394Z] ---> e93cfdb5af52 [2022-07-15T00:23:32.394Z] Step 20/25 : EXPOSE 59999 [2022-07-15T00:23:32.394Z] ---> Running in d70ea544e1b9 [2022-07-15T00:23:32.656Z] Removing intermediate container d70ea544e1b9 [2022-07-15T00:23:32.656Z] ---> e122d150334e [2022-07-15T00:23:32.656Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-15T00:23:32.656Z] ---> Running in 708a37192fff [2022-07-15T00:23:32.656Z] Removing intermediate container 708a37192fff [2022-07-15T00:23:32.656Z] ---> 5a9855c94ae7 [2022-07-15T00:23:32.656Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-15T00:23:32.656Z] ---> Running in 058cf145d74c [2022-07-15T00:23:32.917Z] Removing intermediate container 058cf145d74c [2022-07-15T00:23:32.917Z] ---> 59a802d1f2f5 [2022-07-15T00:23:32.917Z] Step 23/25 : LABEL arch=amd64 [2022-07-15T00:23:32.917Z] ---> Running in a823dac554d4 [2022-07-15T00:23:32.917Z] Removing intermediate container a823dac554d4 [2022-07-15T00:23:32.917Z] ---> 57208f935b57 [2022-07-15T00:23:32.917Z] Step 24/25 : LABEL git_sha=16c2613fc80d254d67c62bfb74bfca7a95c75b63 [2022-07-15T00:23:32.917Z] ---> Running in ff8b78e8ccb7 [2022-07-15T00:23:33.180Z] Removing intermediate container ff8b78e8ccb7 [2022-07-15T00:23:33.180Z] ---> dd27bf50b16b [2022-07-15T00:23:33.180Z] Step 25/25 : LABEL version=0.0.0 [2022-07-15T00:23:33.180Z] ---> Running in fa0567de5246 [2022-07-15T00:23:33.180Z] Removing intermediate container fa0567de5246 [2022-07-15T00:23:33.180Z] ---> f6aa629e2ffa [2022-07-15T00:23:33.180Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-15T00:23:33.180Z] Successfully built f6aa629e2ffa [2022-07-15T00:23:33.180Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T00:23:34.010Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-15T00:23:34.010Z] [2022-07-15T00:23:34.010Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T00:23:34.383Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-15T00:23:34.383Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-15T00:23:34.383Z] 5eb5b503b376: Pulling fs layer [2022-07-15T00:23:34.383Z] 5c69ac0246d0: Pulling fs layer [2022-07-15T00:23:34.383Z] ec43610c2a17: Pulling fs layer [2022-07-15T00:23:34.383Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-15T00:23:34.383Z] 33b1e0a273af: Pulling fs layer [2022-07-15T00:23:34.383Z] 5d3b04190fa2: Pulling fs layer [2022-07-15T00:23:34.383Z] 3a2ae6a8a46f: Waiting [2022-07-15T00:23:34.383Z] 33b1e0a273af: Waiting [2022-07-15T00:23:34.383Z] 2f39f015ded8: Pulling fs layer [2022-07-15T00:23:34.383Z] 5c69ac0246d0: Download complete [2022-07-15T00:23:34.383Z] 3a2ae6a8a46f: Download complete [2022-07-15T00:23:34.383Z] 33b1e0a273af: Verifying Checksum [2022-07-15T00:23:34.383Z] 33b1e0a273af: Download complete [2022-07-15T00:23:34.644Z] ec43610c2a17: Verifying Checksum [2022-07-15T00:23:34.644Z] ec43610c2a17: Download complete [2022-07-15T00:23:34.644Z] 5d3b04190fa2: Verifying Checksum [2022-07-15T00:23:34.644Z] 5d3b04190fa2: Download complete [2022-07-15T00:23:34.644Z] 5eb5b503b376: Verifying Checksum [2022-07-15T00:23:34.644Z] 5eb5b503b376: Download complete [2022-07-15T00:23:35.214Z] 2f39f015ded8: Download complete [2022-07-15T00:23:36.150Z] 5eb5b503b376: Pull complete [2022-07-15T00:23:36.150Z] 5c69ac0246d0: Pull complete [2022-07-15T00:23:36.720Z] ec43610c2a17: Pull complete [2022-07-15T00:23:36.720Z] 3a2ae6a8a46f: Pull complete [2022-07-15T00:23:36.982Z] 33b1e0a273af: Pull complete [2022-07-15T00:23:36.982Z] 5d3b04190fa2: Pull complete [2022-07-15T00:23:42.407Z] 2f39f015ded8: Pull complete [2022-07-15T00:23:42.407Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-15T00:23:42.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-15T00:23:42.407Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T00:23:42.616Z] prd-ubuntu20.04-docker-8c-8g-20172 does not seem to be running inside a container [2022-07-15T00:23:42.661Z] $ 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-1194 -v /w/workspace/gexfoundry_device-sdk-go_PR-1194:/w/workspace/gexfoundry_device-sdk-go_PR-1194:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-15T00:23:44.088Z] $ docker top 85cc9a37494326fcd1664dc92682fedd7fab8dfcf8bddd8c16540ebe6f161006 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-15T00:23:44.553Z] ---> job-cost.sh [2022-07-15T00:23:44.553Z] lf-activate-venv: SKIPPING [2022-07-15T00:23:44.553Z] INFO: No Stack... [2022-07-15T00:23:44.815Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-15T00:23:45.391Z] INFO: Archiving Costs [Pipeline] sh [2022-07-15T00:23:45.706Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1194/archives/cost.csv [2022-07-15T00:23:45.706Z] + cut -d, -f6 [Pipeline] lock [2022-07-15T00:23:45.749Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1194-1-stack-cost] [2022-07-15T00:23:45.753Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1194-1-stack-cost] did not exist. Created. [2022-07-15T00:23:45.753Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1194-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-15T00:23:46.153Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-15T00:23:46.206Z] Stashed 1 file(s) [Pipeline] } [2022-07-15T00:23:46.228Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1194-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-15T00:23:46.318Z] $ docker stop --time=1 85cc9a37494326fcd1664dc92682fedd7fab8dfcf8bddd8c16540ebe6f161006 [2022-07-15T00:23:47.501Z] $ docker rm -f 85cc9a37494326fcd1664dc92682fedd7fab8dfcf8bddd8c16540ebe6f161006 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-15T00:24:59.723Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20173 in /w/workspace/gexfoundry_device-sdk-go_PR-1194 [Pipeline] { [Pipeline] ws [2022-07-15T00:24:59.765Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-07-15T00:24:59.854Z] The recommended git tool is: git [2022-07-15T00:25:06.406Z] using credential edgex-jenkins-ssh [2022-07-15T00:25:06.421Z] Cloning the remote Git repository [2022-07-15T00:25:06.485Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-07-15T00:25:06.566Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-07-15T00:25:06.652Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-15T00:25:06.653Z] > git --version # timeout=10 [2022-07-15T00:25:06.670Z] > git --version # 'git version 2.25.1' [2022-07-15T00:25:06.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-15T00:25:06.734Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-15T00:25:08.743Z] Merging remotes/origin/main commit 693843898baeade0e40692581dd8497a6988e370 into PR head commit 16c2613fc80d254d67c62bfb74bfca7a95c75b63 [2022-07-15T00:25:08.070Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-15T00:25:08.087Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-15T00:25:08.119Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-07-15T00:25:08.160Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-07-15T00:25:08.162Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-15T00:25:08.177Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1194/head:refs/remotes/origin/PR-1194 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-15T00:25:08.821Z] > git config core.sparsecheckout # timeout=10 [2022-07-15T00:25:08.857Z] > git checkout -f 16c2613fc80d254d67c62bfb74bfca7a95c75b63 # timeout=10 [2022-07-15T00:25:09.158Z] Merge succeeded, producing 16c2613fc80d254d67c62bfb74bfca7a95c75b63 [2022-07-15T00:25:09.159Z] Checking out Revision 16c2613fc80d254d67c62bfb74bfca7a95c75b63 (PR-1194) [2022-07-15T00:25:09.057Z] > git remote # timeout=10 [2022-07-15T00:25:09.073Z] > git config --get remote.origin.url # timeout=10 [2022-07-15T00:25:09.098Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-15T00:25:09.113Z] > git merge 693843898baeade0e40692581dd8497a6988e370 # timeout=10 [2022-07-15T00:25:09.139Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-15T00:25:09.169Z] > git config core.sparsecheckout # timeout=10 [2022-07-15T00:25:09.187Z] > git checkout -f 16c2613fc80d254d67c62bfb74bfca7a95c75b63 # timeout=10 [2022-07-15T00:25:13.465Z] Commit message: "feat: Add interface for accessing the Device Service SDK" [2022-07-15T00:25:13.528Z] > git --version # timeout=10 [2022-07-15T00:25:13.548Z] > git --version # 'git version 2.25.1' [2022-07-15T00:25:13.566Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-15T00:25:14.746Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-15T00:25:14.746Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-15T00:25:14.746Z] Dload Upload Total Spent Left Speed [2022-07-15T00:25:14.746Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 96343 0 --:--:-- --:--:-- --:--:-- 96343 [Pipeline] sh [2022-07-15T00:25:15.581Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-15T00:25:15.938Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2022-07-15T00:25:15.938Z] sudo tee /etc/docker/daemon.new [2022-07-15T00:25:15.938Z] { [2022-07-15T00:25:15.938Z] "registry-mirrors": [ [2022-07-15T00:25:15.938Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-15T00:25:15.938Z] ], [2022-07-15T00:25:15.938Z] "bip": "10.250.0.254/24", [2022-07-15T00:25:15.938Z] "hosts": [ [2022-07-15T00:25:15.938Z] "tcp://0.0.0.0:5555", [2022-07-15T00:25:15.938Z] "unix:///var/run/docker.sock" [2022-07-15T00:25:15.938Z] ], [2022-07-15T00:25:15.938Z] "mtu": 1458, [2022-07-15T00:25:15.938Z] "selinux-enabled": true, [2022-07-15T00:25:15.938Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-15T00:25:15.938Z] } [Pipeline] sh [2022-07-15T00:25:16.296Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-15T00:25:16.662Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-15T00:25:35.211Z] provisioning config files... [2022-07-15T00:25:35.238Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1213632012815766650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-15T00:25:35.646Z] ---> docker-login.sh [2022-07-15T00:25:35.646Z] nexus3.edgexfoundry.org:10001 [2022-07-15T00:25:36.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T00:25:36.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T00:25:36.523Z] Configure a credential helper to remove this warning. See [2022-07-15T00:25:36.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T00:25:36.523Z] [2022-07-15T00:25:36.523Z] Login Succeeded [2022-07-15T00:25:36.523Z] nexus3.edgexfoundry.org:10002 [2022-07-15T00:25:37.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T00:25:37.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T00:25:37.125Z] Configure a credential helper to remove this warning. See [2022-07-15T00:25:37.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T00:25:37.125Z] [2022-07-15T00:25:37.125Z] Login Succeeded [2022-07-15T00:25:37.125Z] nexus3.edgexfoundry.org:10003 [2022-07-15T00:25:37.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T00:25:37.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T00:25:37.684Z] Configure a credential helper to remove this warning. See [2022-07-15T00:25:37.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T00:25:37.684Z] [2022-07-15T00:25:37.684Z] Login Succeeded [2022-07-15T00:25:37.684Z] nexus3.edgexfoundry.org:10004 [2022-07-15T00:25:37.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T00:25:38.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T00:25:38.235Z] Configure a credential helper to remove this warning. See [2022-07-15T00:25:38.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T00:25:38.235Z] [2022-07-15T00:25:38.235Z] Login Succeeded [2022-07-15T00:25:38.235Z] docker.io [2022-07-15T00:25:38.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-15T00:25:38.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-15T00:25:38.784Z] Configure a credential helper to remove this warning. See [2022-07-15T00:25:38.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-15T00:25:38.784Z] [2022-07-15T00:25:38.784Z] Login Succeeded [2022-07-15T00:25:38.784Z] ---> docker-login.sh ends [Pipeline] } [2022-07-15T00:25:38.811Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-15T00:25:39.182Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-15T00:25:39.218Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-15T00:25:39.254Z] ========================================================= [2022-07-15T00:25:39.254Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-15T00:25:39.254Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T00:25:39.760Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-15T00:25:40.038Z] Sending build context to Docker daemon 5.237MB [2022-07-15T00:25:40.331Z] Step 1/11 : ARG BASE=golang:1.18-alpine3.16 [2022-07-15T00:25:40.331Z] Step 2/11 : FROM ${BASE} AS builder [2022-07-15T00:25:40.331Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-15T00:25:40.331Z] b3c136eddcbf: Pulling fs layer [2022-07-15T00:25:40.331Z] c0a3192eca97: Pulling fs layer [2022-07-15T00:25:40.331Z] a050256f5b6f: Pulling fs layer [2022-07-15T00:25:40.331Z] 656be50a0ddc: Pulling fs layer [2022-07-15T00:25:40.331Z] 2bbca73fdf42: Pulling fs layer [2022-07-15T00:25:40.331Z] 46d945488cbd: Pulling fs layer [2022-07-15T00:25:40.331Z] 8a5474983e97: Pulling fs layer [2022-07-15T00:25:40.331Z] 329c88fbcd65: Pulling fs layer [2022-07-15T00:25:40.331Z] 656be50a0ddc: Waiting [2022-07-15T00:25:40.331Z] 2bbca73fdf42: Waiting [2022-07-15T00:25:40.331Z] 46d945488cbd: Waiting [2022-07-15T00:25:40.331Z] 8a5474983e97: Waiting [2022-07-15T00:25:40.331Z] 329c88fbcd65: Waiting [2022-07-15T00:25:40.331Z] a050256f5b6f: Verifying Checksum [2022-07-15T00:25:40.331Z] a050256f5b6f: Download complete [2022-07-15T00:25:40.331Z] c0a3192eca97: Verifying Checksum [2022-07-15T00:25:40.331Z] c0a3192eca97: Download complete [2022-07-15T00:25:40.331Z] 2bbca73fdf42: Verifying Checksum [2022-07-15T00:25:40.331Z] 2bbca73fdf42: Download complete [2022-07-15T00:25:40.331Z] 46d945488cbd: Verifying Checksum [2022-07-15T00:25:40.331Z] 46d945488cbd: Download complete [2022-07-15T00:25:40.331Z] b3c136eddcbf: Verifying Checksum [2022-07-15T00:25:40.331Z] b3c136eddcbf: Download complete [2022-07-15T00:25:41.333Z] b3c136eddcbf: Pull complete [2022-07-15T00:25:41.614Z] 329c88fbcd65: Verifying Checksum [2022-07-15T00:25:41.614Z] 329c88fbcd65: Download complete [2022-07-15T00:25:41.890Z] c0a3192eca97: Pull complete [2022-07-15T00:25:42.167Z] a050256f5b6f: Pull complete [2022-07-15T00:25:42.769Z] 8a5474983e97: Verifying Checksum [2022-07-15T00:25:43.366Z] 656be50a0ddc: Verifying Checksum [2022-07-15T00:25:43.366Z] 656be50a0ddc: Download complete [2022-07-15T00:25:58.472Z] 656be50a0ddc: Pull complete [2022-07-15T00:25:58.472Z] 2bbca73fdf42: Pull complete [2022-07-15T00:25:58.472Z] 46d945488cbd: Pull complete [2022-07-15T00:26:02.785Z] 8a5474983e97: Pull complete [2022-07-15T00:26:05.416Z] 329c88fbcd65: Pull complete [2022-07-15T00:26:05.416Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-15T00:26:05.416Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-15T00:26:05.416Z] ---> ff4287adb874 [2022-07-15T00:26:05.416Z] Step 3/11 : ARG MAKE=make build [2022-07-15T00:26:06.862Z] ---> Running in d4cbcd73e661 [2022-07-15T00:26:07.139Z] Removing intermediate container d4cbcd73e661 [2022-07-15T00:26:07.139Z] ---> ad1bfea2b29c [2022-07-15T00:26:07.139Z] Step 4/11 : WORKDIR /device-sdk-go [2022-07-15T00:26:07.139Z] ---> Running in 350cb178f47b [2022-07-15T00:26:07.421Z] Removing intermediate container 350cb178f47b [2022-07-15T00:26:07.421Z] ---> 29616b97be65 [2022-07-15T00:26:07.421Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-15T00:26:07.421Z] ---> Running in 2a7a970636dc [2022-07-15T00:26:08.865Z] Removing intermediate container 2a7a970636dc [2022-07-15T00:26:08.865Z] ---> 6cb197cc9292 [2022-07-15T00:26:08.865Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-15T00:26:08.865Z] ---> Running in 6afc9448f87d [2022-07-15T00:26:10.862Z] Removing intermediate container 6afc9448f87d [2022-07-15T00:26:10.862Z] ---> 51bf725fcb7c [2022-07-15T00:26:10.862Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-15T00:26:10.862Z] ---> Running in 231447609f6f [2022-07-15T00:26:11.461Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-15T00:26:12.449Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-15T00:26:13.431Z] OK: 221 MiB in 51 packages [2022-07-15T00:26:14.426Z] Removing intermediate container 231447609f6f [2022-07-15T00:26:14.426Z] ---> 21ad416236f7 [2022-07-15T00:26:14.426Z] Step 8/11 : COPY go.mod vendor* ./ [2022-07-15T00:26:14.716Z] ---> 614ba4802a06 [2022-07-15T00:26:14.716Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-15T00:26:14.716Z] ---> Running in 27610805f442 [2022-07-15T00:27:01.741Z] Removing intermediate container 27610805f442 [2022-07-15T00:27:01.741Z] ---> 23184f8a7ffb [2022-07-15T00:27:01.741Z] Step 10/11 : COPY . . [2022-07-15T00:27:01.741Z] ---> e291cbc95ef9 [2022-07-15T00:27:01.741Z] Step 11/11 : RUN ${MAKE} [2022-07-15T00:27:01.741Z] ---> Running in 67560dd093ee [2022-07-15T00:27:01.741Z] noop [2022-07-15T00:27:01.741Z] Removing intermediate container 67560dd093ee [2022-07-15T00:27:01.741Z] ---> 3237babffbf8 [2022-07-15T00:27:01.741Z] Successfully built 3237babffbf8 [2022-07-15T00:27:01.741Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T00:27:02.223Z] + docker inspect -f . ci-base-image-arm64 [2022-07-15T00:27:02.224Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T00:27:02.570Z] prd-ubuntu20.04-docker-arm64-4c-16g-20173 does not seem to be running inside a container [2022-07-15T00:27:02.662Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-15T00:27:03.953Z] $ docker top 485792d599957250eb32e5e5a666bc0eddf861051cda42b96c6a3edcde79ece2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-15T00:27:04.907Z] + go version [2022-07-15T00:27:04.907Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-15T00:27:04.943Z] $ docker stop --time=1 485792d599957250eb32e5e5a666bc0eddf861051cda42b96c6a3edcde79ece2 [2022-07-15T00:27:06.587Z] $ docker rm -f 485792d599957250eb32e5e5a666bc0eddf861051cda42b96c6a3edcde79ece2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T00:27:07.514Z] + docker inspect -f . ci-base-image-arm64 [2022-07-15T00:27:07.514Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T00:27:07.839Z] prd-ubuntu20.04-docker-arm64-4c-16g-20173 does not seem to be running inside a container [2022-07-15T00:27:07.924Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-15T00:27:09.169Z] $ docker top 495595781fd299a90fc333bd1531397db69922aa328a9c8b31dc98d23ea10e37 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-15T00:27:10.125Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-07-15T00:27:10.846Z] + make test [2022-07-15T00:27:10.846Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-07-15T00:27:43.216Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-07-15T00:29:35.109Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-07-15T00:29:35.109Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-07-15T00:29:35.109Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-07-15T00:29:35.109Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.366s coverage: 23.7% of statements [2022-07-15T00:29:35.109Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-07-15T00:29:35.109Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.255s coverage: 27.6% of statements [2022-07-15T00:29:35.109Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.276s coverage: 78.9% of statements [2022-07-15T00:29:35.109Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.407s coverage: 10.8% of statements [2022-07-15T00:29:35.724Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.412s coverage: 60.0% of statements [2022-07-15T00:29:35.724Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-07-15T00:29:35.724Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-07-15T00:29:38.376Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.347s coverage: 34.8% of statements [2022-07-15T00:29:38.376Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-07-15T00:29:38.980Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.281s coverage: 85.4% of statements [2022-07-15T00:29:38.981Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-07-15T00:29:38.981Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-07-15T00:29:42.396Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.500s coverage: 65.1% of statements [2022-07-15T00:29:42.396Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-07-15T00:29:42.396Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-07-15T00:29:44.382Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.061s coverage: 89.2% of statements [2022-07-15T00:29:44.382Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-07-15T00:29:45.356Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.221s coverage: 4.7% of statements [2022-07-15T00:29:45.356Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-07-15T00:29:45.956Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-15T00:29:45.956Z] GO111MODULE=on go vet ./... [2022-07-15T00:31:07.795Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-15T00:31:07.795Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-15T00:31:07.795Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-15T00:31:07.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-15T00:31:07.868Z] $ docker stop --time=1 495595781fd299a90fc333bd1531397db69922aa328a9c8b31dc98d23ea10e37 [2022-07-15T00:31:09.753Z] $ docker rm -f 495595781fd299a90fc333bd1531397db69922aa328a9c8b31dc98d23ea10e37 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-15T00:31:11.169Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-15T00:31:11.204Z] Warning: overwriting stash ‘coverage-report’ [2022-07-15T00:31:11.828Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-15T00:31:12.426Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-15T00:31:12.789Z] + ls -al . [2022-07-15T00:31:12.789Z] total 300 [2022-07-15T00:31:12.789Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 15 00:27 . [2022-07-15T00:31:12.789Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 00:25 .. [2022-07-15T00:31:12.789Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 15 00:25 .dockerignore [2022-07-15T00:31:12.789Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 00:25 .git [2022-07-15T00:31:12.789Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 00:25 .github [2022-07-15T00:31:12.789Z] -rw-rw-r-- 1 jenkins jenkins 131 Jul 15 00:25 .gitignore [2022-07-15T00:31:12.789Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 00:25 .golangci.yml [2022-07-15T00:31:12.789Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jul 15 00:25 CHANGELOG.md [2022-07-15T00:31:12.789Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 00:25 GOVERNANCE.md [2022-07-15T00:31:12.789Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 15 00:25 Jenkinsfile [2022-07-15T00:31:12.789Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 15 00:25 LICENSE [2022-07-15T00:31:12.789Z] -rw-rw-r-- 1 jenkins jenkins 2002 Jul 15 00:25 Makefile [2022-07-15T00:31:12.789Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 15 00:25 OWNERS.md [2022-07-15T00:31:12.789Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jul 15 00:25 README.md [2022-07-15T00:31:12.789Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 00:21 VERSION [2022-07-15T00:31:12.789Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 00:25 bin [2022-07-15T00:31:12.789Z] -rw-r--r-- 1 jenkins jenkins 131352 Jul 15 00:29 coverage.out [2022-07-15T00:31:12.789Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 15 00:25 example [2022-07-15T00:31:12.789Z] -rw-rw-r-- 1 jenkins jenkins 3204 Jul 15 00:25 go.mod [2022-07-15T00:31:12.789Z] -rw-rw-r-- 1 jenkins jenkins 34893 Jul 15 00:25 go.sum [2022-07-15T00:31:12.789Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 15 00:25 internal [2022-07-15T00:31:12.789Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 00:25 openapi [2022-07-15T00:31:12.789Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 15 00:25 pkg [2022-07-15T00:31:12.789Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 00:25 snap [2022-07-15T00:31:12.789Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 15 00:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T00:31:13.235Z] + 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=16c2613fc80d254d67c62bfb74bfca7a95c75b63 --label arch=arm64 --label version=0.0.0 . [2022-07-15T00:31:13.510Z] Sending build context to Docker daemon 5.369MB [2022-07-15T00:31:13.792Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-15T00:31:13.792Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-15T00:31:13.792Z] ---> 3237babffbf8 [2022-07-15T00:31:13.792Z] Step 3/25 : ARG MAKE=make build [2022-07-15T00:31:13.792Z] ---> Running in fa95b662bf37 [2022-07-15T00:31:14.066Z] Removing intermediate container fa95b662bf37 [2022-07-15T00:31:14.066Z] ---> 7b13a34e987d [2022-07-15T00:31:14.066Z] Step 4/25 : WORKDIR /device-sdk-go [2022-07-15T00:31:14.066Z] ---> Running in f82e566afb7c [2022-07-15T00:31:14.667Z] Removing intermediate container f82e566afb7c [2022-07-15T00:31:14.667Z] ---> 37622065cc7c [2022-07-15T00:31:14.667Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-15T00:31:14.667Z] ---> Running in f3310d6a3665 [2022-07-15T00:31:14.952Z] Removing intermediate container f3310d6a3665 [2022-07-15T00:31:14.952Z] ---> 6fc0f2fdfeb5 [2022-07-15T00:31:14.952Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-15T00:31:14.952Z] ---> Running in e8be2ffaefc4 [2022-07-15T00:31:16.970Z] Removing intermediate container e8be2ffaefc4 [2022-07-15T00:31:16.970Z] ---> 3d5f15155113 [2022-07-15T00:31:16.970Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-07-15T00:31:16.970Z] ---> Running in a8245326b460 [2022-07-15T00:31:17.953Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-15T00:31:18.551Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-15T00:31:19.531Z] OK: 221 MiB in 51 packages [2022-07-15T00:31:20.518Z] Removing intermediate container a8245326b460 [2022-07-15T00:31:20.518Z] ---> ddaee5449b59 [2022-07-15T00:31:20.518Z] Step 8/25 : COPY go.mod vendor* ./ [2022-07-15T00:31:21.134Z] ---> 715b55c0ec27 [2022-07-15T00:31:21.134Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-15T00:31:21.134Z] ---> Running in d8dc508af390 [2022-07-15T00:31:23.124Z] Removing intermediate container d8dc508af390 [2022-07-15T00:31:23.124Z] ---> 4fd87df1ad3f [2022-07-15T00:31:23.124Z] Step 10/25 : COPY . . [2022-07-15T00:31:24.103Z] ---> 55972cc00634 [2022-07-15T00:31:24.103Z] Step 11/25 : RUN ${MAKE} [2022-07-15T00:31:24.103Z] ---> Running in fbc0d73fc42f [2022-07-15T00:31:25.080Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-07-15T00:33:31.961Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-07-15T00:33:31.961Z] Removing intermediate container fbc0d73fc42f [2022-07-15T00:33:31.961Z] ---> ccbdbec4fecf [2022-07-15T00:33:31.961Z] Step 12/25 : FROM alpine:3.16 [2022-07-15T00:33:31.961Z] 3.16: Pulling from library/alpine [2022-07-15T00:33:31.961Z] b3c136eddcbf: Already exists [2022-07-15T00:33:31.961Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-15T00:33:31.961Z] Status: Downloaded newer image for alpine:3.16 [2022-07-15T00:33:31.961Z] ---> 6e30ab57aeee [2022-07-15T00:33:31.961Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-15T00:33:31.961Z] ---> Running in de0ec0642ec8 [2022-07-15T00:33:31.961Z] Removing intermediate container de0ec0642ec8 [2022-07-15T00:33:31.961Z] ---> 09f4361ebbc8 [2022-07-15T00:33:31.961Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-15T00:33:31.961Z] ---> Running in 7a56fc82fefd [2022-07-15T00:33:31.961Z] Removing intermediate container 7a56fc82fefd [2022-07-15T00:33:31.961Z] ---> f5db54dbe8fa [2022-07-15T00:33:31.961Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-07-15T00:33:31.961Z] ---> Running in 7688265d8e0a [2022-07-15T00:33:32.236Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-15T00:33:33.222Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-15T00:33:34.203Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-15T00:33:34.203Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-15T00:33:34.203Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-15T00:33:34.485Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-15T00:33:34.485Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-15T00:33:34.485Z] Executing busybox-1.35.0-r13.trigger [2022-07-15T00:33:34.485Z] OK: 8 MiB in 19 packages [2022-07-15T00:33:35.475Z] Removing intermediate container 7688265d8e0a [2022-07-15T00:33:35.475Z] ---> bf5d1d2a3224 [2022-07-15T00:33:35.475Z] Step 16/25 : WORKDIR / [2022-07-15T00:33:35.475Z] ---> Running in b8d0a9e2ecdb [2022-07-15T00:33:35.749Z] Removing intermediate container b8d0a9e2ecdb [2022-07-15T00:33:35.749Z] ---> 30e98090e8f5 [2022-07-15T00:33:35.749Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-07-15T00:33:36.351Z] ---> 172ca7d9dc0a [2022-07-15T00:33:36.351Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-07-15T00:33:37.790Z] ---> b46454fb7680 [2022-07-15T00:33:37.790Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-07-15T00:33:38.390Z] ---> a2b678e113ea [2022-07-15T00:33:38.390Z] Step 20/25 : EXPOSE 59999 [2022-07-15T00:33:38.390Z] ---> Running in 490b2fdd8460 [2022-07-15T00:33:38.668Z] Removing intermediate container 490b2fdd8460 [2022-07-15T00:33:38.668Z] ---> d3c48e388de0 [2022-07-15T00:33:38.668Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-07-15T00:33:38.668Z] ---> Running in 0fb3ec54c687 [2022-07-15T00:33:38.944Z] Removing intermediate container 0fb3ec54c687 [2022-07-15T00:33:38.944Z] ---> 59666e729833 [2022-07-15T00:33:38.944Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-15T00:33:39.219Z] ---> Running in 5307fe3c3e05 [2022-07-15T00:33:39.494Z] Removing intermediate container 5307fe3c3e05 [2022-07-15T00:33:39.494Z] ---> 65b168f138d9 [2022-07-15T00:33:39.494Z] Step 23/25 : LABEL arch=arm64 [2022-07-15T00:33:39.494Z] ---> Running in acabf605ddf7 [2022-07-15T00:33:39.768Z] Removing intermediate container acabf605ddf7 [2022-07-15T00:33:39.769Z] ---> 78bbc40f302e [2022-07-15T00:33:39.769Z] Step 24/25 : LABEL git_sha=16c2613fc80d254d67c62bfb74bfca7a95c75b63 [2022-07-15T00:33:39.769Z] ---> Running in 102cd7ff8ff6 [2022-07-15T00:33:40.047Z] Removing intermediate container 102cd7ff8ff6 [2022-07-15T00:33:40.047Z] ---> 61f7a020cc64 [2022-07-15T00:33:40.047Z] Step 25/25 : LABEL version=0.0.0 [2022-07-15T00:33:40.323Z] ---> Running in d509eee9c998 [2022-07-15T00:33:40.595Z] Removing intermediate container d509eee9c998 [2022-07-15T00:33:40.595Z] ---> 8553f64f71c7 [2022-07-15T00:33:40.595Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-15T00:33:40.595Z] Successfully built 8553f64f71c7 [2022-07-15T00:33:40.595Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T00:33:41.439Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-15T00:33:41.439Z] [2022-07-15T00:33:41.439Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T00:33:41.871Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-15T00:33:42.148Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-15T00:33:42.148Z] 8998bd30e6a1: Pulling fs layer [2022-07-15T00:33:42.148Z] 04944245beec: Pulling fs layer [2022-07-15T00:33:42.148Z] 699f458cf7ca: Pulling fs layer [2022-07-15T00:33:42.148Z] 765212b225bb: Pulling fs layer [2022-07-15T00:33:42.148Z] f23df028b6ca: Pulling fs layer [2022-07-15T00:33:42.148Z] d65c8cfc05b1: Pulling fs layer [2022-07-15T00:33:42.148Z] 2437ff75d9bd: Pulling fs layer [2022-07-15T00:33:42.148Z] 765212b225bb: Waiting [2022-07-15T00:33:42.148Z] f23df028b6ca: Waiting [2022-07-15T00:33:42.148Z] d65c8cfc05b1: Waiting [2022-07-15T00:33:42.148Z] 2437ff75d9bd: Waiting [2022-07-15T00:33:42.148Z] 04944245beec: Verifying Checksum [2022-07-15T00:33:42.148Z] 04944245beec: Download complete [2022-07-15T00:33:42.148Z] 765212b225bb: Verifying Checksum [2022-07-15T00:33:42.148Z] 765212b225bb: Download complete [2022-07-15T00:33:42.148Z] f23df028b6ca: Verifying Checksum [2022-07-15T00:33:42.148Z] f23df028b6ca: Download complete [2022-07-15T00:33:42.148Z] d65c8cfc05b1: Download complete [2022-07-15T00:33:42.426Z] 699f458cf7ca: Verifying Checksum [2022-07-15T00:33:42.426Z] 699f458cf7ca: Download complete [2022-07-15T00:33:42.698Z] 8998bd30e6a1: Download complete [2022-07-15T00:33:45.324Z] 2437ff75d9bd: Verifying Checksum [2022-07-15T00:33:45.324Z] 2437ff75d9bd: Download complete [2022-07-15T00:33:46.767Z] 8998bd30e6a1: Pull complete [2022-07-15T00:33:47.366Z] 04944245beec: Pull complete [2022-07-15T00:33:48.800Z] 699f458cf7ca: Pull complete [2022-07-15T00:33:49.077Z] 765212b225bb: Pull complete [2022-07-15T00:33:49.675Z] f23df028b6ca: Pull complete [2022-07-15T00:33:49.950Z] d65c8cfc05b1: Pull complete [2022-07-15T00:34:05.035Z] 2437ff75d9bd: Pull complete [2022-07-15T00:34:05.035Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-15T00:34:05.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-15T00:34:05.035Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T00:34:05.401Z] prd-ubuntu20.04-docker-arm64-4c-16g-20173 does not seem to be running inside a container [2022-07-15T00:34:05.491Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-15T00:34:08.203Z] $ docker top 53c9aed7de66d68e25cb7b5666c271881b59a123bd775f75b6b281e47a2b19de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-15T00:34:09.219Z] ---> job-cost.sh [2022-07-15T00:34:09.219Z] lf-activate-venv: SKIPPING [2022-07-15T00:34:09.219Z] INFO: No Stack... [2022-07-15T00:34:09.493Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-15T00:34:10.471Z] INFO: Archiving Costs [Pipeline] sh [2022-07-15T00:34:11.152Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-07-15T00:34:11.152Z] + cut -d, -f6 [Pipeline] lock [2022-07-15T00:34:11.242Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1194-1-stack-cost] [2022-07-15T00:34:11.246Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1194-1-stack-cost] did not exist. Created. [2022-07-15T00:34:11.246Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1194-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-15T00:34:12.001Z] /w/workspace/device-sdk-go/1@tmp/durable-18a8ebcb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-15T00:34:12.703Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-15T00:34:12.740Z] Warning: overwriting stash ‘stack-cost’ [2022-07-15T00:34:12.802Z] Stashed 1 file(s) [Pipeline] } [2022-07-15T00:34:12.816Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1194-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-15T00:34:12.900Z] $ docker stop --time=1 53c9aed7de66d68e25cb7b5666c271881b59a123bd775f75b6b281e47a2b19de [2022-07-15T00:34:14.454Z] $ docker rm -f 53c9aed7de66d68e25cb7b5666c271881b59a123bd775f75b6b281e47a2b19de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-15T00:34:15.522Z] provisioning config files... [2022-07-15T00:34:15.532Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp/config1967711759764386128tmp [Pipeline] { [Pipeline] sh [2022-07-15T00:34:15.869Z] + set +x [2022-07-15T00:34:15.869Z] + curl -s https://codecov.io/bash [2022-07-15T00:34:15.869Z] + bash -s -- [2022-07-15T00:34:16.131Z] [2022-07-15T00:34:16.131Z] _____ _ [2022-07-15T00:34:16.131Z] / ____| | | [2022-07-15T00:34:16.131Z] | | ___ __| | ___ ___ _____ __ [2022-07-15T00:34:16.131Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-15T00:34:16.131Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-15T00:34:16.131Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-15T00:34:16.131Z] Bash-1.0.6 [2022-07-15T00:34:16.131Z] [2022-07-15T00:34:16.131Z] [2022-07-15T00:34:16.131Z] ==> git version 2.25.1 found [2022-07-15T00:34:16.131Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-15T00:34:16.131Z] Release-Date: 2020-01-08 [2022-07-15T00:34:16.131Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-15T00:34:16.131Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-15T00:34:16.131Z] ==> Jenkins CI detected. [2022-07-15T00:34:16.131Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1194 [2022-07-15T00:34:16.131Z] project root: . [2022-07-15T00:34:16.131Z] --> token set from env [2022-07-15T00:34:16.131Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-15T00:34:16.131Z] ==> Running gcov in . (disable via -X gcov) [2022-07-15T00:34:16.131Z] ==> Python coveragepy not found [2022-07-15T00:34:16.131Z] ==> Searching for coverage reports in: [2022-07-15T00:34:16.131Z] + . [2022-07-15T00:34:16.131Z] -> Found 1 reports [2022-07-15T00:34:16.131Z] ==> Detecting git/mercurial file structure [2022-07-15T00:34:16.131Z] ==> Reading reports [2022-07-15T00:34:16.131Z] + ./coverage.out bytes=131352 [2022-07-15T00:34:16.131Z] ==> Appending adjustments [2022-07-15T00:34:16.131Z] https://docs.codecov.io/docs/fixing-reports [2022-07-15T00:34:16.392Z] + Found adjustments [2022-07-15T00:34:16.392Z] ==> Gzipping contents [2022-07-15T00:34:16.652Z] 20K /tmp/codecov.vOapm7.gz [2022-07-15T00:34:16.653Z] ==> Uploading reports [2022-07-15T00:34:16.653Z] url: https://codecov.io [2022-07-15T00:34:16.653Z] query: branch=PR-1194&commit=16c2613fc80d254d67c62bfb74bfca7a95c75b63&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1194%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1194&job=&cmd_args= [2022-07-15T00:34:16.653Z] -> Pinging Codecov [2022-07-15T00:34:16.653Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1194&commit=16c2613fc80d254d67c62bfb74bfca7a95c75b63&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1194%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1194&job=&cmd_args= [2022-07-15T00:34:16.913Z] -> Uploading to [2022-07-15T00:34:16.913Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-15/7E55EF52A471D76F132DFD9A03CDDE97/16c2613fc80d254d67c62bfb74bfca7a95c75b63/88f01eb3-5f11-44ef-b197-916d6324cc40.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220715%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220715T003416Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1df607f71b0e73609b18d42b676f97eacdb3741c0e3be67798815db5e1e3f050 [2022-07-15T00:34:16.913Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-15T00:34:16.913Z] Dload Upload Total Spent Left Speed [2022-07-15T00:34:17.172Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17272 0 0 100 17272 0 67206 --:--:-- --:--:-- --:--:-- 67206 [2022-07-15T00:34:17.172Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/16c2613fc80d254d67c62bfb74bfca7a95c75b63 [Pipeline] } [2022-07-15T00:34:17.198Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-15T00:34:18.981Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1194/archives ] [2022-07-15T00:34:18.981Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1194/archives [2022-07-15T00:34:18.981Z] total 16 [2022-07-15T00:34:18.981Z] drwxr-xr-x 3 root root 4096 Jul 15 00:23 . [2022-07-15T00:34:18.981Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 00:23 .. [2022-07-15T00:34:18.981Z] drwxr-xr-x 2 root root 4096 Jul 15 00:23 cost [2022-07-15T00:34:18.981Z] -rw-r--r-- 1 root root 85 Jul 15 00:23 cost.csv [2022-07-15T00:34:18.981Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1194/archives [2022-07-15T00:34:18.981Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1194/archives [2022-07-15T00:34:18.981Z] total 16 [2022-07-15T00:34:18.981Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 00:23 . [2022-07-15T00:34:18.981Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 00:23 .. [2022-07-15T00:34:18.981Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 15 00:23 cost [2022-07-15T00:34:18.981Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 15 00:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-15T00:34:19.314Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-15T00:34:20.208Z] ---> package-listing.sh [2022-07-15T00:34:20.208Z] ++ facter osfamily [2022-07-15T00:34:20.208Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-15T00:34:20.469Z] + OS_FAMILY=debian [2022-07-15T00:34:20.469Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1194 [2022-07-15T00:34:20.469Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-15T00:34:20.469Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-15T00:34:20.469Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-15T00:34:20.469Z] + PACKAGES=/tmp/packages_start.txt [2022-07-15T00:34:20.469Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1194 ']' [2022-07-15T00:34:20.469Z] + PACKAGES=/tmp/packages_end.txt [2022-07-15T00:34:20.469Z] + case "${OS_FAMILY}" in [2022-07-15T00:34:20.469Z] + dpkg -l [2022-07-15T00:34:20.469Z] + grep '^ii' [2022-07-15T00:34:20.469Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-15T00:34:20.469Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-15T00:34:20.469Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-15T00:34:20.469Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1194 ']' [2022-07-15T00:34:20.469Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1194/archives/ [2022-07-15T00:34:20.469Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1194/archives/ [Pipeline] echo [2022-07-15T00:34:20.503Z] 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-1194/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-15T00:34:20.797Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-15T00:34:21.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-15T00:34:21.438Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-15T00:34:21.601Z] prd-ubuntu20.04-docker-8c-8g-20172 does not seem to be running inside a container [2022-07-15T00:34:21.650Z] $ 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-1194/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-1194 -v /w/workspace/gexfoundry_device-sdk-go_PR-1194:/w/workspace/gexfoundry_device-sdk-go_PR-1194:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-15T00:34:22.403Z] $ docker top 654b031e7e2f4ae069d2dbcf970fa0eec8e3194e33498d03968745b36546512e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-15T00:34:22.798Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-15T00:34:23.109Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-15T00:34:23.420Z] + ls /var/log/sa-host [2022-07-15T00:34:23.420Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-15T00:34:23.617Z] provisioning config files... [2022-07-15T00:34:23.626Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1194@tmp/config290169491623135065tmp [Pipeline] { [Pipeline] echo [2022-07-15T00:34:23.674Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-15T00:34:23.985Z] ---> create-netrc.sh [Pipeline] } [2022-07-15T00:34:24.012Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-15T00:34:24.414Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-15T00:34:24.446Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-15T00:34:24.770Z] ---> sudo-logs.sh [2022-07-15T00:34:24.770Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-15T00:34:24.854Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-15T00:34:25.166Z] ---> job-cost.sh [2022-07-15T00:34:25.166Z] lf-activate-venv: SKIPPING [2022-07-15T00:34:25.166Z] DEBUG: total: 0.2199999988079071 [2022-07-15T00:34:25.166Z] INFO: Retrieving Stack Cost... [2022-07-15T00:34:25.424Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-15T00:34:25.994Z] INFO: Archiving Costs [Pipeline] echo [2022-07-15T00:34:26.034Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-15T00:34:26.353Z] ---> logs-deploy.sh [2022-07-15T00:34:26.353Z] lf-activate-venv: SKIPPING [2022-07-15T00:34:26.353Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1194/1 [2022-07-15T00:34:26.353Z] INFO: archiving workspace using pattern(s): [2022-07-15T00:34:27.743Z] Archives upload complete. [2022-07-15T00:34:27.743Z] INFO: archiving logs to Nexus [2022-07-15T00:34:28.316Z] ---> uname -a: [2022-07-15T00:34:28.316Z] Linux prd-ubuntu20-04-docker-8c-8g-20172 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-07-15T00:34:28.316Z] [2022-07-15T00:34:28.316Z] [2022-07-15T00:34:28.316Z] ---> lscpu: [2022-07-15T00:34:28.316Z] Architecture: x86_64 [2022-07-15T00:34:28.316Z] CPU op-mode(s): 32-bit, 64-bit [2022-07-15T00:34:28.316Z] Byte Order: Little Endian [2022-07-15T00:34:28.316Z] Address sizes: 40 bits physical, 48 bits virtual [2022-07-15T00:34:28.316Z] CPU(s): 8 [2022-07-15T00:34:28.316Z] On-line CPU(s) list: 0-7 [2022-07-15T00:34:28.316Z] Thread(s) per core: 1 [2022-07-15T00:34:28.316Z] Core(s) per socket: 1 [2022-07-15T00:34:28.316Z] Socket(s): 8 [2022-07-15T00:34:28.316Z] NUMA node(s): 1 [2022-07-15T00:34:28.316Z] Vendor ID: AuthenticAMD [2022-07-15T00:34:28.316Z] CPU family: 23 [2022-07-15T00:34:28.316Z] Model: 49 [2022-07-15T00:34:28.316Z] Model name: AMD EPYC-Rome Processor [2022-07-15T00:34:28.316Z] Stepping: 0 [2022-07-15T00:34:28.316Z] CPU MHz: 2799.976 [2022-07-15T00:34:28.316Z] BogoMIPS: 5599.95 [2022-07-15T00:34:28.316Z] Virtualization: AMD-V [2022-07-15T00:34:28.316Z] Hypervisor vendor: KVM [2022-07-15T00:34:28.316Z] Virtualization type: full [2022-07-15T00:34:28.316Z] L1d cache: 256 KiB [2022-07-15T00:34:28.316Z] L1i cache: 256 KiB [2022-07-15T00:34:28.316Z] L2 cache: 4 MiB [2022-07-15T00:34:28.316Z] L3 cache: 128 MiB [2022-07-15T00:34:28.316Z] NUMA node0 CPU(s): 0-7 [2022-07-15T00:34:28.316Z] Vulnerability Itlb multihit: Not affected [2022-07-15T00:34:28.316Z] Vulnerability L1tf: Not affected [2022-07-15T00:34:28.316Z] Vulnerability Mds: Not affected [2022-07-15T00:34:28.316Z] Vulnerability Meltdown: Not affected [2022-07-15T00:34:28.316Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-07-15T00:34:28.316Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-07-15T00:34:28.316Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-07-15T00:34:28.316Z] Vulnerability Srbds: Not affected [2022-07-15T00:34:28.316Z] Vulnerability Tsx async abort: Not affected [2022-07-15T00:34:28.316Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-07-15T00:34:28.316Z] [2022-07-15T00:34:28.316Z] [2022-07-15T00:34:28.316Z] ---> nproc: [2022-07-15T00:34:28.316Z] 8 [2022-07-15T00:34:28.316Z] [2022-07-15T00:34:28.316Z]