Pull request #1297 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 FelixTing for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 881f10918eb4e60f546b60d89ac5bea6bad2c109 rather than a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 Obtained Jenkinsfile from 881f10918eb4e60f546b60d89ac5bea6bad2c109 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-ssh8796942168818466930.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh16516512621064408370.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-1297/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-1297/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15074890884894449798.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-1297/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5062779723447596246.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh2500240933866016523.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1297/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-1297/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4105321837805091151.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4097 in /w/workspace/gexfoundry_device-sdk-go_PR-1297 [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-1297 # 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 > 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 Merging remotes/origin/main commit 881f10918eb4e60f546b60d89ac5bea6bad2c109 into PR head commit a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 Merge succeeded, producing a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 Checking out Revision a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 (PR-1297) > 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/1297/head:refs/remotes/origin/PR-1297 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 # 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 881f10918eb4e60f546b60d89ac5bea6bad2c109 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 # timeout=10 Commit message: "feat: Add resource, command, and device tags to reading/event" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-31T07:07:52.260Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-31T07:07:52.436Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-31T07:07:52.530Z] ========================================================= [2023-01-31T07:07:52.530Z] EdgeX Global Pipelines Version Info [2023-01-31T07:07:52.530Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-31T07:07:53.287Z] ------------------- [2023-01-31T07:07:53.287Z] stable info: [2023-01-31T07:07:53.287Z] ------------------- [2023-01-31T07:07:53.287Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-31T07:07:53.287Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-31T07:07:53.287Z] Message: update stable to v1.0.244 [2023-01-31T07:07:53.860Z] ------------------- [2023-01-31T07:07:53.860Z] experimental info: [2023-01-31T07:07:53.860Z] ------------------- [2023-01-31T07:07:53.860Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-31T07:07:53.860Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-31T07:07:53.860Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-31T07:07:54.169Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-31T07:07:54.210Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-31T07:07:54.246Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-31T07:07:54.282Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-31T07:07:54.320Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-31T07:07:54.357Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-31T07:07:54.397Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-31T07:07:54.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-31T07:07:54.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-31T07:07:54.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-31T07:07:54.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-31T07:07:54.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-31T07:07:54.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-31T07:07:54.661Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-31T07:07:54.701Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-31T07:07:54.739Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-31T07:07:54.776Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-31T07:07:54.814Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-31T07:07:54.856Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-31T07:07:54.900Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-31T07:07:54.943Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-31T07:07:54.983Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-31T07:07:55.019Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-31T07:07:55.060Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-31T07:07:55.100Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-31T07:07:55.145Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-31T07:07:55.184Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-31T07:07:55.220Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1297 [Pipeline] echo [2023-01-31T07:07:55.258Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1297 [Pipeline] echo [2023-01-31T07:07:55.297Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1297 [Pipeline] echo [2023-01-31T07:07:55.331Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 [Pipeline] echo [2023-01-31T07:07:55.366Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a472bd9 [Pipeline] echo [2023-01-31T07:07:55.404Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-31T07:07:55.513Z] provisioning config files... [2023-01-31T07:07:55.527Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config9619495453843055149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T07:07:55.874Z] ---> docker-login.sh [2023-01-31T07:07:55.874Z] nexus3.edgexfoundry.org:10001 [2023-01-31T07:07:56.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T07:07:56.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T07:07:56.136Z] Configure a credential helper to remove this warning. See [2023-01-31T07:07:56.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T07:07:56.136Z] [2023-01-31T07:07:56.136Z] Login Succeeded [2023-01-31T07:07:56.136Z] nexus3.edgexfoundry.org:10002 [2023-01-31T07:07:56.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T07:07:56.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T07:07:56.402Z] Configure a credential helper to remove this warning. See [2023-01-31T07:07:56.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T07:07:56.402Z] [2023-01-31T07:07:56.402Z] Login Succeeded [2023-01-31T07:07:56.402Z] nexus3.edgexfoundry.org:10003 [2023-01-31T07:07:56.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T07:07:56.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T07:07:56.402Z] Configure a credential helper to remove this warning. See [2023-01-31T07:07:56.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T07:07:56.402Z] [2023-01-31T07:07:56.402Z] Login Succeeded [2023-01-31T07:07:56.402Z] nexus3.edgexfoundry.org:10004 [2023-01-31T07:07:56.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T07:07:56.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T07:07:56.662Z] Configure a credential helper to remove this warning. See [2023-01-31T07:07:56.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T07:07:56.662Z] [2023-01-31T07:07:56.662Z] Login Succeeded [2023-01-31T07:07:56.662Z] docker.io [2023-01-31T07:07:56.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T07:07:56.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T07:07:56.924Z] Configure a credential helper to remove this warning. See [2023-01-31T07:07:56.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T07:07:56.924Z] [2023-01-31T07:07:56.924Z] Login Succeeded [2023-01-31T07:07:56.924Z] ---> docker-login.sh ends [Pipeline] } [2023-01-31T07:07:56.951Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-31T07:07:57.546Z] + git rev-list -1 --merges a472bd9e95c46998e2e6344d1f15d26ef10d5eb9~1..a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 [Pipeline] echo [2023-01-31T07:07:57.625Z] -----------> git rev-list -1 --merges a472bd9e95c46998e2e6344d1f15d26ef10d5eb9~1..a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 [false] [Pipeline] sh [2023-01-31T07:07:58.006Z] + git log --format=format:%s -1 a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 [Pipeline] echo [2023-01-31T07:07:58.046Z] ========================================================= [2023-01-31T07:07:58.046Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-31T07:07:58.046Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-31T07:07:58.677Z] + git log --format=format:%s -1 a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 [Pipeline] echo [2023-01-31T07:07:58.716Z] [semverPrep] GIT_COMMIT: a472bd9e95c46998e2e6344d1f15d26ef10d5eb9, Commit Message: feat: Add resource, command, and device tags to reading/event [Pipeline] echo [2023-01-31T07:07:58.758Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-31T07:07:59.303Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-31T07:07:59.303Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-31T07:07:59.303Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-31T07:07:59.303Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-31T07:07:59.303Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-31T07:07:59.303Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-31T07:07:59.303Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T07:07:59.842Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-31T07:07:59.842Z] [2023-01-31T07:07:59.842Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T07:08:00.228Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-31T07:08:00.228Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-31T07:08:00.228Z] b85a868b505f: Pulling fs layer [2023-01-31T07:08:00.228Z] e2be974225ed: Pulling fs layer [2023-01-31T07:08:00.228Z] 339a4e72a1f5: Pulling fs layer [2023-01-31T07:08:00.228Z] 988bab9f4d93: Pulling fs layer [2023-01-31T07:08:00.228Z] 1469e6f7b9e6: Pulling fs layer [2023-01-31T07:08:00.228Z] eaf3925da568: Pulling fs layer [2023-01-31T07:08:00.228Z] bab4dde63d76: Pulling fs layer [2023-01-31T07:08:00.228Z] bde34c3a00c8: Pulling fs layer [2023-01-31T07:08:00.228Z] b352a97aabf1: Pulling fs layer [2023-01-31T07:08:00.228Z] 4872d77fe225: Pulling fs layer [2023-01-31T07:08:00.228Z] 5851b861e8e6: Pulling fs layer [2023-01-31T07:08:00.228Z] 988bab9f4d93: Waiting [2023-01-31T07:08:00.228Z] bde34c3a00c8: Waiting [2023-01-31T07:08:00.228Z] b352a97aabf1: Waiting [2023-01-31T07:08:00.228Z] bab4dde63d76: Waiting [2023-01-31T07:08:00.228Z] 1469e6f7b9e6: Waiting [2023-01-31T07:08:00.228Z] 4872d77fe225: Waiting [2023-01-31T07:08:00.228Z] eaf3925da568: Waiting [2023-01-31T07:08:00.228Z] e2be974225ed: Verifying Checksum [2023-01-31T07:08:00.228Z] e2be974225ed: Download complete [2023-01-31T07:08:00.228Z] 988bab9f4d93: Verifying Checksum [2023-01-31T07:08:00.228Z] 988bab9f4d93: Download complete [2023-01-31T07:08:00.494Z] 339a4e72a1f5: Verifying Checksum [2023-01-31T07:08:00.494Z] 339a4e72a1f5: Download complete [2023-01-31T07:08:00.494Z] eaf3925da568: Verifying Checksum [2023-01-31T07:08:00.494Z] eaf3925da568: Download complete [2023-01-31T07:08:00.758Z] 1469e6f7b9e6: Verifying Checksum [2023-01-31T07:08:00.758Z] 1469e6f7b9e6: Download complete [2023-01-31T07:08:00.758Z] bde34c3a00c8: Download complete [2023-01-31T07:08:00.758Z] b85a868b505f: Verifying Checksum [2023-01-31T07:08:00.758Z] b85a868b505f: Download complete [2023-01-31T07:08:00.758Z] b352a97aabf1: Download complete [2023-01-31T07:08:00.758Z] 4872d77fe225: Verifying Checksum [2023-01-31T07:08:00.758Z] 4872d77fe225: Download complete [2023-01-31T07:08:00.758Z] 5851b861e8e6: Verifying Checksum [2023-01-31T07:08:00.758Z] 5851b861e8e6: Download complete [2023-01-31T07:08:01.023Z] bab4dde63d76: Verifying Checksum [2023-01-31T07:08:01.023Z] bab4dde63d76: Download complete [2023-01-31T07:08:01.962Z] b85a868b505f: Pull complete [2023-01-31T07:08:02.222Z] e2be974225ed: Pull complete [2023-01-31T07:08:02.529Z] 339a4e72a1f5: Pull complete [2023-01-31T07:08:02.795Z] 988bab9f4d93: Pull complete [2023-01-31T07:08:03.054Z] 1469e6f7b9e6: Pull complete [2023-01-31T07:08:03.054Z] eaf3925da568: Pull complete [2023-01-31T07:08:04.962Z] bab4dde63d76: Pull complete [2023-01-31T07:08:04.962Z] bde34c3a00c8: Pull complete [2023-01-31T07:08:04.962Z] b352a97aabf1: Pull complete [2023-01-31T07:08:05.223Z] 4872d77fe225: Pull complete [2023-01-31T07:08:05.223Z] 5851b861e8e6: Pull complete [2023-01-31T07:08:05.223Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-31T07:08:05.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-31T07:08:05.223Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T07:08:05.534Z] prd-ubuntu20.04-docker-8c-8g-4097 does not seem to be running inside a container [2023-01-31T07:08:05.577Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-31T07:08:07.812Z] $ docker top 2e443554b6d2aab92867e87c4500b1bc1a89f7cc329fd30ac9a5421ca7d3c919 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-31T07:08:08.116Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-31T07:08:08.116Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-31T07:08:08.221Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-31T07:08:08.227Z] $ docker exec 2e443554b6d2aab92867e87c4500b1bc1a89f7cc329fd30ac9a5421ca7d3c919 ssh-agent [2023-01-31T07:08:08.342Z] SSH_AUTH_SOCK=/tmp/ssh-fkufRr4E5wGM/agent.33 [2023-01-31T07:08:08.342Z] SSH_AGENT_PID=39 [2023-01-31T07:08:08.349Z] Running ssh-add (command line suppressed) [2023-01-31T07:08:08.447Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_13978427867399495887.key (/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_13978427867399495887.key) [2023-01-31T07:08:08.458Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-31T07:08:08.825Z] + git tag --points-at HEAD [Pipeline] } [2023-01-31T07:08:08.854Z] $ docker exec --env ******** --env ******** 2e443554b6d2aab92867e87c4500b1bc1a89f7cc329fd30ac9a5421ca7d3c919 ssh-agent -k [2023-01-31T07:08:08.957Z] unset SSH_AUTH_SOCK; [2023-01-31T07:08:08.957Z] unset SSH_AGENT_PID; [2023-01-31T07:08:08.957Z] echo Agent pid 39 killed; [2023-01-31T07:08:08.965Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-31T07:08:09.056Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-31T07:08:09.056Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-31T07:08:09.173Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-31T07:08:09.179Z] $ docker exec 2e443554b6d2aab92867e87c4500b1bc1a89f7cc329fd30ac9a5421ca7d3c919 ssh-agent [2023-01-31T07:08:09.293Z] SSH_AUTH_SOCK=/tmp/ssh-BqmVPnZ1cNPo/agent.71 [2023-01-31T07:08:09.293Z] SSH_AGENT_PID=77 [2023-01-31T07:08:09.298Z] Running ssh-add (command line suppressed) [2023-01-31T07:08:09.405Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_17076295842351238529.key (/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_17076295842351238529.key) [2023-01-31T07:08:09.418Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-31T07:08:09.773Z] + git semver init [2023-01-31T07:08:10.032Z] 2023-01-31 07:08:09,972 [run_init] DEBUG init version:0.0.0 force:False [2023-01-31T07:08:10.032Z] 2023-01-31 07:08:09,973 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver [2023-01-31T07:08:10.032Z] 2023-01-31 07:08:09,973 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver [2023-01-31T07:08:10.033Z] 2023-01-31 07:08:09,974 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1297, universal_newlines=False, shell=None, istream=None) [2023-01-31T07:08:11.415Z] 2023-01-31 07:08:10,981 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.git/info/exclude [2023-01-31T07:08:11.415Z] 2023-01-31 07:08:10,982 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver/PR-1297 with force:False [2023-01-31T07:08:11.415Z] 2023-01-31 07:08:10,982 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver/PR-1297 [2023-01-31T07:08:11.415Z] 2023-01-31 07:08:10,987 [execute] INFO git cat-file --batch-check [2023-01-31T07:08:11.415Z] 2023-01-31 07:08:10,987 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver, universal_newlines=False, shell=None, istream=) [2023-01-31T07:08:11.415Z] 2023-01-31 07:08:10,994 [execute] INFO git cat-file --batch [2023-01-31T07:08:11.415Z] 2023-01-31 07:08:10,995 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver, universal_newlines=False, shell=None, istream=) [2023-01-31T07:08:11.415Z] 2023-01-31 07:08:11,001 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver/PR-1297 [2023-01-31T07:08:11.415Z] 0.0.0 [Pipeline] } [2023-01-31T07:08:11.447Z] $ docker exec --env ******** --env ******** 2e443554b6d2aab92867e87c4500b1bc1a89f7cc329fd30ac9a5421ca7d3c919 ssh-agent -k [2023-01-31T07:08:11.559Z] unset SSH_AUTH_SOCK; [2023-01-31T07:08:11.560Z] unset SSH_AGENT_PID; [2023-01-31T07:08:11.560Z] echo Agent pid 77 killed; [2023-01-31T07:08:11.566Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-31T07:08:12.161Z] + git semver [Pipeline] } [2023-01-31T07:08:12.451Z] $ docker stop --time=1 2e443554b6d2aab92867e87c4500b1bc1a89f7cc329fd30ac9a5421ca7d3c919 [2023-01-31T07:08:13.754Z] $ docker rm -f --volumes 2e443554b6d2aab92867e87c4500b1bc1a89f7cc329fd30ac9a5421ca7d3c919 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-31T07:08:14.162Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-31T07:08:14.449Z] Stashed 1 file(s) [Pipeline] echo [2023-01-31T07:08:14.466Z] [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 [2023-01-31T07:08:15.067Z] provisioning config files... [2023-01-31T07:08:15.078Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config5322666819207482485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T07:08:15.421Z] ---> docker-login.sh [2023-01-31T07:08:15.421Z] nexus3.edgexfoundry.org:10001 [2023-01-31T07:08:15.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T07:08:15.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T07:08:15.421Z] Configure a credential helper to remove this warning. See [2023-01-31T07:08:15.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T07:08:15.421Z] [2023-01-31T07:08:15.421Z] Login Succeeded [2023-01-31T07:08:15.421Z] nexus3.edgexfoundry.org:10002 [2023-01-31T07:08:15.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T07:08:15.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T07:08:15.421Z] Configure a credential helper to remove this warning. See [2023-01-31T07:08:15.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T07:08:15.421Z] [2023-01-31T07:08:15.421Z] Login Succeeded [2023-01-31T07:08:15.421Z] nexus3.edgexfoundry.org:10003 [2023-01-31T07:08:15.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T07:08:15.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T07:08:15.682Z] Configure a credential helper to remove this warning. See [2023-01-31T07:08:15.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T07:08:15.682Z] [2023-01-31T07:08:15.682Z] Login Succeeded [2023-01-31T07:08:15.682Z] nexus3.edgexfoundry.org:10004 [2023-01-31T07:08:15.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T07:08:15.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T07:08:15.682Z] Configure a credential helper to remove this warning. See [2023-01-31T07:08:15.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T07:08:15.682Z] [2023-01-31T07:08:15.682Z] Login Succeeded [2023-01-31T07:08:15.682Z] docker.io [2023-01-31T07:08:15.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T07:08:15.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T07:08:15.941Z] Configure a credential helper to remove this warning. See [2023-01-31T07:08:15.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T07:08:15.941Z] [2023-01-31T07:08:15.941Z] Login Succeeded [2023-01-31T07:08:15.941Z] ---> docker-login.sh ends [Pipeline] } [2023-01-31T07:08:15.971Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-31T07:08:16.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T07:08:16.189Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T07:08:16.220Z] ========================================================= [2023-01-31T07:08:16.220Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-31T07:08:16.220Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T07:08:16.691Z] + 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 . [2023-01-31T07:08:16.691Z] Sending build context to Docker daemon 10.56MB [2023-01-31T07:08:16.691Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T07:08:16.691Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-31T07:08:16.691Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-31T07:08:16.691Z] 213ec9aee27d: Pulling fs layer [2023-01-31T07:08:16.691Z] 4583459ba037: Pulling fs layer [2023-01-31T07:08:16.691Z] 93c1e223e6f2: Pulling fs layer [2023-01-31T07:08:16.691Z] 53926ce57604: Pulling fs layer [2023-01-31T07:08:16.691Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-31T07:08:16.691Z] 22ff95d597cd: Pulling fs layer [2023-01-31T07:08:16.691Z] 53926ce57604: Waiting [2023-01-31T07:08:16.691Z] 21b2b0c7a3f4: Waiting [2023-01-31T07:08:16.691Z] 12d6caf4c0d1: Pulling fs layer [2023-01-31T07:08:16.691Z] 96b7cbca73a9: Pulling fs layer [2023-01-31T07:08:16.691Z] a7acece74701: Pulling fs layer [2023-01-31T07:08:16.691Z] 22ff95d597cd: Waiting [2023-01-31T07:08:16.691Z] 12d6caf4c0d1: Waiting [2023-01-31T07:08:16.691Z] 96b7cbca73a9: Waiting [2023-01-31T07:08:16.975Z] 93c1e223e6f2: Verifying Checksum [2023-01-31T07:08:16.975Z] 93c1e223e6f2: Download complete [2023-01-31T07:08:16.975Z] 4583459ba037: Verifying Checksum [2023-01-31T07:08:16.975Z] 4583459ba037: Download complete [2023-01-31T07:08:16.975Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-31T07:08:16.975Z] 21b2b0c7a3f4: Download complete [2023-01-31T07:08:16.975Z] 22ff95d597cd: Download complete [2023-01-31T07:08:16.975Z] 213ec9aee27d: Verifying Checksum [2023-01-31T07:08:16.975Z] 213ec9aee27d: Download complete [2023-01-31T07:08:16.975Z] 12d6caf4c0d1: Verifying Checksum [2023-01-31T07:08:16.975Z] 12d6caf4c0d1: Download complete [2023-01-31T07:08:17.238Z] 213ec9aee27d: Pull complete [2023-01-31T07:08:17.238Z] 4583459ba037: Pull complete [2023-01-31T07:08:17.238Z] 93c1e223e6f2: Pull complete [2023-01-31T07:08:18.296Z] a7acece74701: Verifying Checksum [2023-01-31T07:08:18.296Z] a7acece74701: Download complete [2023-01-31T07:08:18.296Z] 53926ce57604: Verifying Checksum [2023-01-31T07:08:18.296Z] 53926ce57604: Download complete [2023-01-31T07:08:18.557Z] 96b7cbca73a9: Verifying Checksum [2023-01-31T07:08:18.557Z] 96b7cbca73a9: Download complete [2023-01-31T07:08:22.770Z] 53926ce57604: Pull complete [2023-01-31T07:08:22.770Z] 21b2b0c7a3f4: Pull complete [2023-01-31T07:08:22.770Z] 22ff95d597cd: Pull complete [2023-01-31T07:08:22.770Z] 12d6caf4c0d1: Pull complete [2023-01-31T07:08:24.673Z] 96b7cbca73a9: Pull complete [2023-01-31T07:08:25.241Z] a7acece74701: Pull complete [2023-01-31T07:08:25.241Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-31T07:08:25.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-31T07:08:25.241Z] ---> db6d94c90886 [2023-01-31T07:08:25.241Z] Step 3/10 : ARG MAKE=make build [2023-01-31T07:08:28.535Z] ---> Running in 177e092788ea [2023-01-31T07:08:28.794Z] Removing intermediate container 177e092788ea [2023-01-31T07:08:28.794Z] ---> ec84196586bc [2023-01-31T07:08:28.794Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-31T07:08:28.794Z] ---> Running in c628954ff49f [2023-01-31T07:08:28.794Z] Removing intermediate container c628954ff49f [2023-01-31T07:08:28.794Z] ---> 0b628e1bb9ce [2023-01-31T07:08:28.794Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-31T07:08:28.794Z] ---> Running in 1341b4649a25 [2023-01-31T07:08:29.054Z] Removing intermediate container 1341b4649a25 [2023-01-31T07:08:29.054Z] ---> cbd225c1d10d [2023-01-31T07:08:29.054Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-31T07:08:29.054Z] ---> Running in 8a4a2a7d815c [2023-01-31T07:08:29.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-31T07:08:29.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-31T07:08:29.573Z] OK: 211 MiB in 51 packages [2023-01-31T07:08:29.839Z] Removing intermediate container 8a4a2a7d815c [2023-01-31T07:08:29.839Z] ---> 16964c3967ce [2023-01-31T07:08:29.839Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-31T07:08:29.886Z] Still waiting to schedule task [2023-01-31T07:08:29.887Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-31T07:08:30.099Z] ---> 434e417bf9b1 [2023-01-31T07:08:30.099Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T07:08:30.099Z] ---> Running in 9523aefddf44 [2023-01-31T07:09:16.891Z] Removing intermediate container 9523aefddf44 [2023-01-31T07:09:16.891Z] ---> 137c0f78d3a2 [2023-01-31T07:09:16.891Z] Step 9/10 : COPY . . [2023-01-31T07:09:16.891Z] ---> 80a99bf69ed4 [2023-01-31T07:09:16.891Z] Step 10/10 : RUN ${MAKE} [2023-01-31T07:09:16.891Z] ---> Running in ad288ad6ee84 [2023-01-31T07:09:16.891Z] noop [2023-01-31T07:09:16.891Z] Removing intermediate container ad288ad6ee84 [2023-01-31T07:09:16.891Z] ---> 837f6fb6a6a8 [2023-01-31T07:09:16.891Z] Successfully built 837f6fb6a6a8 [2023-01-31T07:09:16.891Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T07:09:17.321Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-31T07:09:17.321Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T07:09:17.458Z] prd-ubuntu20.04-docker-8c-8g-4097 does not seem to be running inside a container [2023-01-31T07:09:17.491Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@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 ******** ci-base-image-x86_64 cat [2023-01-31T07:09:17.830Z] $ docker top 6c530cfff803d7c840f8756eb06db3009e8c48edc00cdc89f2e5abfb8d6ca467 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T07:09:18.212Z] + go version [2023-01-31T07:09:18.212Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-31T07:09:18.246Z] $ docker stop --time=1 6c530cfff803d7c840f8756eb06db3009e8c48edc00cdc89f2e5abfb8d6ca467 [2023-01-31T07:09:19.489Z] $ docker rm -f --volumes 6c530cfff803d7c840f8756eb06db3009e8c48edc00cdc89f2e5abfb8d6ca467 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T07:09:20.195Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-31T07:09:20.195Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T07:09:20.342Z] prd-ubuntu20.04-docker-8c-8g-4097 does not seem to be running inside a container [2023-01-31T07:09:20.378Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@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 ******** ci-base-image-x86_64 cat [2023-01-31T07:09:20.709Z] $ docker top 0a457b9ef7a37a1f8d8c42f97c5e9515fe291e74c851eeecfe9a352fdcc1623c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T07:09:21.100Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1297 [Pipeline] fileExists [Pipeline] sh [2023-01-31T07:09:21.462Z] + make test [2023-01-31T07:09:21.463Z] go test -race -coverprofile=coverage.out ./... [2023-01-31T07:09:28.022Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-31T07:09:42.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-31T07:09:42.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-31T07:09:42.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-31T07:09:42.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-31T07:09:42.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-31T07:09:42.880Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.047s coverage: 27.6% of statements [2023-01-31T07:09:42.880Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.086s coverage: 78.9% of statements [2023-01-31T07:09:42.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-31T07:09:42.880Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.105s coverage: 56.5% of statements [2023-01-31T07:09:42.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-31T07:09:42.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-31T07:09:42.880Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.129s coverage: 60.6% of statements [2023-01-31T07:09:42.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-31T07:09:42.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-31T07:09:42.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-31T07:09:42.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-31T07:09:42.880Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.090s coverage: 65.2% of statements [2023-01-31T07:09:42.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-31T07:09:42.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-31T07:09:42.880Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.765s coverage: 89.2% of statements [2023-01-31T07:09:42.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-31T07:09:42.880Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.067s coverage: 4.6% of statements [2023-01-31T07:09:42.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-31T07:09:57.763Z] 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." [2023-01-31T07:09:57.763Z] GO111MODULE=on go vet ./... [2023-01-31T07:10:01.031Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4098 in /w/workspace/gexfoundry_device-sdk-go_PR-1297 [Pipeline] { [2023-01-31T07:10:01.042Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-31T07:10:01.042Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-31T07:10:01.042Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-31T07:10:01.100Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] ws [2023-01-31T07:10:01.119Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] } [2023-01-31T07:10:01.156Z] $ docker stop --time=1 0a457b9ef7a37a1f8d8c42f97c5e9515fe291e74c851eeecfe9a352fdcc1623c [2023-01-31T07:10:04.950Z] $ docker rm -f --volumes 0a457b9ef7a37a1f8d8c42f97c5e9515fe291e74c851eeecfe9a352fdcc1623c [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] checkout [2023-01-31T07:10:05.257Z] The recommended git tool is: git [2023-01-31T07:10:05.468Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-31T07:10:05.543Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-31T07:10:06.207Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-31T07:10:06.524Z] + ls -al . [2023-01-31T07:10:06.524Z] total 272 [2023-01-31T07:10:06.524Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 31 07:09 . [2023-01-31T07:10:06.524Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 07:07 .. [2023-01-31T07:10:06.524Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 31 07:07 .dockerignore [2023-01-31T07:10:06.524Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 07:09 .git [2023-01-31T07:10:06.524Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 07:07 .github [2023-01-31T07:10:06.524Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 31 07:07 .gitignore [2023-01-31T07:10:06.524Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 31 07:07 .golangci.yml [2023-01-31T07:10:06.524Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 31 07:08 .semver [2023-01-31T07:10:06.524Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 31 07:07 CHANGELOG.md [2023-01-31T07:10:06.524Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 31 07:07 GOVERNANCE.md [2023-01-31T07:10:06.524Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 31 07:07 Jenkinsfile [2023-01-31T07:10:06.524Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 31 07:07 LICENSE [2023-01-31T07:10:06.524Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 31 07:07 Makefile [2023-01-31T07:10:06.524Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 31 07:07 OWNERS.md [2023-01-31T07:10:06.524Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 31 07:07 README.md [2023-01-31T07:10:06.524Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 31 07:08 VERSION [2023-01-31T07:10:06.524Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 07:07 bin [2023-01-31T07:10:06.524Z] -rw-r--r-- 1 jenkins jenkins 101918 Jan 31 07:09 coverage.out [2023-01-31T07:10:06.524Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 31 07:07 example [2023-01-31T07:10:06.524Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jan 31 07:07 go.mod [2023-01-31T07:10:06.524Z] -rw-rw-r-- 1 jenkins jenkins 34396 Jan 31 07:07 go.sum [2023-01-31T07:10:06.524Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 31 07:07 internal [2023-01-31T07:10:06.524Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 07:07 openapi [2023-01-31T07:10:06.524Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 31 07:07 pkg [2023-01-31T07:10:06.524Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 07:07 snap [2023-01-31T07:10:06.524Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 31 07:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T07:10:06.909Z] + 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=a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 --label arch=amd64 --label version=0.0.0 . [2023-01-31T07:10:06.909Z] Sending build context to Docker daemon 10.66MB [2023-01-31T07:10:06.909Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T07:10:06.909Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-31T07:10:06.909Z] ---> 837f6fb6a6a8 [2023-01-31T07:10:06.909Z] Step 3/23 : ARG MAKE=make build [2023-01-31T07:10:07.170Z] ---> Running in e5e7f5a73abd [2023-01-31T07:10:07.170Z] Removing intermediate container e5e7f5a73abd [2023-01-31T07:10:07.170Z] ---> 804eeb0387bf [2023-01-31T07:10:07.170Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-31T07:10:07.170Z] ---> Running in ee986c58c1bc [2023-01-31T07:10:07.430Z] Removing intermediate container ee986c58c1bc [2023-01-31T07:10:07.430Z] ---> 7ec445878781 [2023-01-31T07:10:07.430Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-31T07:10:07.430Z] ---> Running in a8076b2d64f8 [2023-01-31T07:10:07.430Z] Removing intermediate container a8076b2d64f8 [2023-01-31T07:10:07.430Z] ---> f704dc461dd9 [2023-01-31T07:10:07.430Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-31T07:10:07.430Z] ---> Running in 213c3c4b4be3 [2023-01-31T07:10:07.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-31T07:10:07.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-31T07:10:08.212Z] OK: 211 MiB in 51 packages [2023-01-31T07:10:08.469Z] Removing intermediate container 213c3c4b4be3 [2023-01-31T07:10:08.469Z] ---> 932f3b839d8b [2023-01-31T07:10:08.469Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-31T07:10:08.469Z] ---> d3996f2fa61c [2023-01-31T07:10:08.469Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T07:10:08.469Z] ---> Running in e537a630e3f2 [2023-01-31T07:10:09.402Z] Removing intermediate container e537a630e3f2 [2023-01-31T07:10:09.402Z] ---> 7b964dddaf8a [2023-01-31T07:10:09.402Z] Step 9/23 : COPY . . [2023-01-31T07:10:09.659Z] ---> df41e7b334a2 [2023-01-31T07:10:09.659Z] Step 10/23 : RUN ${MAKE} [2023-01-31T07:10:09.918Z] ---> Running in c167b4022c1e [2023-01-31T07:10:10.023Z] using credential edgex-jenkins-ssh [2023-01-31T07:10:10.039Z] Cloning the remote Git repository [2023-01-31T07:10:10.086Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-31T07:10:10.176Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-01-31T07:10:10.167Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-01-31T07:10:10.322Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-31T07:10:10.323Z] > git --version # timeout=10 [2023-01-31T07:10:10.344Z] > git --version # 'git version 2.25.1' [2023-01-31T07:10:10.346Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-31T07:10:10.407Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-31T07:10:11.956Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-31T07:10:11.981Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-31T07:10:13.554Z] Merging remotes/origin/main commit 881f10918eb4e60f546b60d89ac5bea6bad2c109 into PR head commit a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 [2023-01-31T07:10:13.790Z] Merge succeeded, producing a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 [2023-01-31T07:10:13.791Z] Checking out Revision a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 (PR-1297) [2023-01-31T07:10:12.847Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-31T07:10:12.898Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-31T07:10:12.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-31T07:10:12.920Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1297/head:refs/remotes/origin/PR-1297 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-31T07:10:13.575Z] > git config core.sparsecheckout # timeout=10 [2023-01-31T07:10:13.592Z] > git checkout -f a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 # timeout=10 [2023-01-31T07:10:13.700Z] > git remote # timeout=10 [2023-01-31T07:10:13.719Z] > git config --get remote.origin.url # timeout=10 [2023-01-31T07:10:13.735Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-31T07:10:13.746Z] > git merge 881f10918eb4e60f546b60d89ac5bea6bad2c109 # timeout=10 [2023-01-31T07:10:13.768Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-31T07:10:13.801Z] > git config core.sparsecheckout # timeout=10 [2023-01-31T07:10:13.817Z] > git checkout -f a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 # timeout=10 [2023-01-31T07:10:17.317Z] Commit message: "feat: Add resource, command, and device tags to reading/event" [2023-01-31T07:10:17.377Z] > git --version # timeout=10 [2023-01-31T07:10:17.389Z] > git --version # 'git version 2.25.1' [2023-01-31T07:10:17.403Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-31T07:10:18.506Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-31T07:10:18.506Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-31T07:10:18.506Z] Dload Upload Total Spent Left Speed [2023-01-31T07:10:18.506Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2023-01-31T07:10:19.215Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-31T07:10:19.570Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-01-31T07:10:19.571Z] /etc/docker/daemon.json [2023-01-31T07:10:19.571Z] { [2023-01-31T07:10:19.571Z] "registry-mirrors": [ [2023-01-31T07:10:19.571Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-31T07:10:19.571Z] ], [2023-01-31T07:10:19.571Z] "bip": "10.250.0.254/24", [2023-01-31T07:10:19.571Z] "hosts": [ [2023-01-31T07:10:19.571Z] "tcp://0.0.0.0:5555", [2023-01-31T07:10:19.571Z] "unix:///var/run/docker.sock" [2023-01-31T07:10:19.571Z] ], [2023-01-31T07:10:19.571Z] "mtu": 1458, [2023-01-31T07:10:19.571Z] "selinux-enabled": true, [2023-01-31T07:10:19.571Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-31T07:10:19.571Z] } [Pipeline] sh [2023-01-31T07:10:19.929Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-31T07:10:20.289Z] + sudo service docker restart [2023-01-31T07:10:32.245Z] Removing intermediate container c167b4022c1e [2023-01-31T07:10:32.245Z] ---> 257b35752af9 [2023-01-31T07:10:32.245Z] Step 11/23 : FROM alpine:3.16 [2023-01-31T07:10:32.245Z] 3.16: Pulling from library/alpine [2023-01-31T07:10:32.245Z] ca7dd9ec2225: Pulling fs layer [2023-01-31T07:10:32.245Z] ca7dd9ec2225: Verifying Checksum [2023-01-31T07:10:32.245Z] ca7dd9ec2225: Download complete [2023-01-31T07:10:32.245Z] ca7dd9ec2225: Pull complete [2023-01-31T07:10:32.245Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-31T07:10:32.245Z] Status: Downloaded newer image for alpine:3.16 [2023-01-31T07:10:32.245Z] ---> bfe296a52501 [2023-01-31T07:10:32.245Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-31T07:10:32.245Z] ---> Running in 03d92971dc3f [2023-01-31T07:10:32.245Z] Removing intermediate container 03d92971dc3f [2023-01-31T07:10:32.245Z] ---> 602c50b9fcb3 [2023-01-31T07:10:32.245Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-31T07:10:32.245Z] ---> Running in 5c345c88793c [2023-01-31T07:10:32.245Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-31T07:10:32.245Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-31T07:10:32.245Z] OK: 6 MiB in 14 packages [2023-01-31T07:10:32.245Z] Removing intermediate container 5c345c88793c [2023-01-31T07:10:32.245Z] ---> 158c9eeb9d32 [2023-01-31T07:10:32.245Z] Step 14/23 : WORKDIR / [2023-01-31T07:10:32.245Z] ---> Running in 304ca1e1033a [2023-01-31T07:10:32.245Z] Removing intermediate container 304ca1e1033a [2023-01-31T07:10:32.245Z] ---> 8d637d8273f2 [2023-01-31T07:10:32.245Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-31T07:10:32.245Z] ---> 595a1fd402e8 [2023-01-31T07:10:32.245Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-31T07:10:32.245Z] ---> 5f6641424d26 [2023-01-31T07:10:32.245Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-31T07:10:32.245Z] ---> df20352060d4 [2023-01-31T07:10:32.245Z] Step 18/23 : EXPOSE 59999 [2023-01-31T07:10:32.245Z] ---> Running in 237437c724b7 [2023-01-31T07:10:32.246Z] Removing intermediate container 237437c724b7 [2023-01-31T07:10:32.246Z] ---> 0352d37e510f [2023-01-31T07:10:32.246Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-31T07:10:32.246Z] ---> Running in e822e6a4047c [2023-01-31T07:10:32.246Z] Removing intermediate container e822e6a4047c [2023-01-31T07:10:32.246Z] ---> 1ca18d52942e [2023-01-31T07:10:32.246Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-31T07:10:32.246Z] ---> Running in 0d4496828bd5 [2023-01-31T07:10:32.246Z] Removing intermediate container 0d4496828bd5 [2023-01-31T07:10:32.246Z] ---> a336daf469fd [2023-01-31T07:10:32.246Z] Step 21/23 : LABEL arch=amd64 [2023-01-31T07:10:32.246Z] ---> Running in de408139630d [2023-01-31T07:10:32.246Z] Removing intermediate container de408139630d [2023-01-31T07:10:32.246Z] ---> 367a35b20066 [2023-01-31T07:10:32.246Z] Step 22/23 : LABEL git_sha=a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 [2023-01-31T07:10:32.246Z] ---> Running in 69c9f5d5b898 [2023-01-31T07:10:32.246Z] Removing intermediate container 69c9f5d5b898 [2023-01-31T07:10:32.246Z] ---> 4fc24c87d0b5 [2023-01-31T07:10:32.246Z] Step 23/23 : LABEL version=0.0.0 [2023-01-31T07:10:32.246Z] ---> Running in 780b5e3b9686 [2023-01-31T07:10:32.246Z] Removing intermediate container 780b5e3b9686 [2023-01-31T07:10:32.246Z] ---> f01b368bcd23 [2023-01-31T07:10:32.246Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-31T07:10:32.246Z] Successfully built f01b368bcd23 [2023-01-31T07:10:32.246Z] 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 [2023-01-31T07:10:33.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T07:10:33.123Z] [2023-01-31T07:10:33.123Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T07:10:33.580Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T07:10:34.149Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-31T07:10:34.149Z] 5eb5b503b376: Pulling fs layer [2023-01-31T07:10:34.149Z] 5c69ac0246d0: Pulling fs layer [2023-01-31T07:10:34.149Z] ec43610c2a17: Pulling fs layer [2023-01-31T07:10:34.149Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-31T07:10:34.149Z] 33b1e0a273af: Pulling fs layer [2023-01-31T07:10:34.149Z] 5d3b04190fa2: Pulling fs layer [2023-01-31T07:10:34.149Z] 2f39f015ded8: Pulling fs layer [2023-01-31T07:10:34.149Z] 3a2ae6a8a46f: Waiting [2023-01-31T07:10:34.149Z] 33b1e0a273af: Waiting [2023-01-31T07:10:34.149Z] 5d3b04190fa2: Waiting [2023-01-31T07:10:34.149Z] 2f39f015ded8: Waiting [2023-01-31T07:10:34.149Z] 5c69ac0246d0: Verifying Checksum [2023-01-31T07:10:34.149Z] 5c69ac0246d0: Download complete [2023-01-31T07:10:34.423Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-31T07:10:34.423Z] 3a2ae6a8a46f: Download complete [2023-01-31T07:10:34.423Z] 33b1e0a273af: Verifying Checksum [2023-01-31T07:10:34.423Z] 33b1e0a273af: Download complete [2023-01-31T07:10:34.423Z] 5d3b04190fa2: Verifying Checksum [2023-01-31T07:10:34.423Z] 5d3b04190fa2: Download complete [2023-01-31T07:10:34.423Z] ec43610c2a17: Verifying Checksum [2023-01-31T07:10:34.423Z] ec43610c2a17: Download complete [2023-01-31T07:10:34.685Z] 5eb5b503b376: Download complete [2023-01-31T07:10:35.628Z] 2f39f015ded8: Download complete [2023-01-31T07:10:36.115Z] 5eb5b503b376: Pull complete [2023-01-31T07:10:36.115Z] 5c69ac0246d0: Pull complete [2023-01-31T07:10:36.725Z] ec43610c2a17: Pull complete [2023-01-31T07:10:36.726Z] 3a2ae6a8a46f: Pull complete [2023-01-31T07:10:37.015Z] 33b1e0a273af: Pull complete [2023-01-31T07:10:37.015Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-31T07:10:38.616Z] provisioning config files... [2023-01-31T07:10:38.642Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2156552735667652610tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T07:10:39.028Z] ---> docker-login.sh [2023-01-31T07:10:39.028Z] nexus3.edgexfoundry.org:10001 [2023-01-31T07:10:39.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T07:10:39.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T07:10:39.573Z] Configure a credential helper to remove this warning. See [2023-01-31T07:10:39.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T07:10:39.573Z] [2023-01-31T07:10:39.573Z] Login Succeeded [2023-01-31T07:10:39.573Z] nexus3.edgexfoundry.org:10002 [2023-01-31T07:10:39.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T07:10:39.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T07:10:39.842Z] Configure a credential helper to remove this warning. See [2023-01-31T07:10:39.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T07:10:39.842Z] [2023-01-31T07:10:39.842Z] Login Succeeded [2023-01-31T07:10:39.842Z] nexus3.edgexfoundry.org:10003 [2023-01-31T07:10:40.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T07:10:40.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T07:10:40.379Z] Configure a credential helper to remove this warning. See [2023-01-31T07:10:40.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T07:10:40.379Z] [2023-01-31T07:10:40.379Z] Login Succeeded [2023-01-31T07:10:40.379Z] nexus3.edgexfoundry.org:10004 [2023-01-31T07:10:40.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T07:10:40.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T07:10:40.650Z] Configure a credential helper to remove this warning. See [2023-01-31T07:10:40.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T07:10:40.650Z] [2023-01-31T07:10:40.650Z] Login Succeeded [2023-01-31T07:10:40.650Z] docker.io [2023-01-31T07:10:40.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T07:10:41.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T07:10:41.189Z] Configure a credential helper to remove this warning. See [2023-01-31T07:10:41.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T07:10:41.189Z] [2023-01-31T07:10:41.189Z] Login Succeeded [2023-01-31T07:10:41.189Z] ---> docker-login.sh ends [Pipeline] } [2023-01-31T07:10:41.219Z] Deleting 1 temporary files [Pipeline] // configFileProvider [2023-01-31T07:10:41.279Z] 2f39f015ded8: Pull complete [2023-01-31T07:10:41.279Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-31T07:10:41.279Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T07:10:41.279Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T07:10:41.586Z] prd-ubuntu20.04-docker-8c-8g-4097 does not seem to be running inside a container [2023-01-31T07:10:41.623Z] $ 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-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-31T07:10:44.520Z] $ docker top 714ab5198b6271ea201f1c31492fe39ed7e1a6b4cc72142a3607cf0f9a3e9381 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-31T07:10:44.679Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] libraryResource [Pipeline] sh [Pipeline] echo [2023-01-31T07:10:44.763Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T07:10:44.793Z] ========================================================= [2023-01-31T07:10:44.793Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-31T07:10:44.793Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T07:10:44.989Z] ---> job-cost.sh [2023-01-31T07:10:44.989Z] lf-activate-venv: SKIPPING [2023-01-31T07:10:44.989Z] INFO: No Stack... [2023-01-31T07:10:45.292Z] + 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 . [2023-01-31T07:10:45.556Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-31T07:10:45.560Z] Sending build context to Docker daemon 5.711MB [2023-01-31T07:10:45.560Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T07:10:45.560Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-31T07:10:45.829Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-31T07:10:45.829Z] 9b18e9b68314: Pulling fs layer [2023-01-31T07:10:45.829Z] 35d82f9e3411: Pulling fs layer [2023-01-31T07:10:45.829Z] e16973657156: Pulling fs layer [2023-01-31T07:10:45.829Z] fc693d55d65f: Pulling fs layer [2023-01-31T07:10:45.829Z] 7e9fc2657dce: Pulling fs layer [2023-01-31T07:10:45.829Z] dda99020689f: Pulling fs layer [2023-01-31T07:10:45.829Z] db1c61fa0a46: Pulling fs layer [2023-01-31T07:10:45.829Z] 891c053d2c06: Pulling fs layer [2023-01-31T07:10:45.829Z] 7e9fc2657dce: Waiting [2023-01-31T07:10:45.829Z] dda99020689f: Waiting [2023-01-31T07:10:45.829Z] db1c61fa0a46: Waiting [2023-01-31T07:10:45.829Z] 891c053d2c06: Waiting [2023-01-31T07:10:45.829Z] fc693d55d65f: Waiting [2023-01-31T07:10:45.829Z] e16973657156: Verifying Checksum [2023-01-31T07:10:45.829Z] e16973657156: Download complete [2023-01-31T07:10:45.829Z] 35d82f9e3411: Verifying Checksum [2023-01-31T07:10:45.829Z] 35d82f9e3411: Download complete [2023-01-31T07:10:45.829Z] 7e9fc2657dce: Download complete [2023-01-31T07:10:46.101Z] dda99020689f: Verifying Checksum [2023-01-31T07:10:46.101Z] dda99020689f: Download complete [2023-01-31T07:10:46.101Z] 9b18e9b68314: Verifying Checksum [2023-01-31T07:10:46.122Z] INFO: Archiving Costs [Pipeline] sh [2023-01-31T07:10:46.440Z] + cut -d, -f6 [2023-01-31T07:10:46.440Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives/cost.csv [Pipeline] lock [2023-01-31T07:10:46.479Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1297-1-stack-cost] [2023-01-31T07:10:46.484Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-1-stack-cost] did not exist. Created. [2023-01-31T07:10:46.484Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1297-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-31T07:10:46.890Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-31T07:10:46.956Z] Stashed 1 file(s) [Pipeline] } [2023-01-31T07:10:46.975Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-31T07:10:47.073Z] 9b18e9b68314: Pull complete [2023-01-31T07:10:47.073Z] 891c053d2c06: Verifying Checksum [2023-01-31T07:10:47.073Z] 891c053d2c06: Download complete [2023-01-31T07:10:47.061Z] $ docker stop --time=1 714ab5198b6271ea201f1c31492fe39ed7e1a6b4cc72142a3607cf0f9a3e9381 [2023-01-31T07:10:47.348Z] 35d82f9e3411: Pull complete [2023-01-31T07:10:47.617Z] e16973657156: Pull complete [2023-01-31T07:10:48.205Z] db1c61fa0a46: Download complete [2023-01-31T07:10:48.259Z] $ docker rm -f --volumes 714ab5198b6271ea201f1c31492fe39ed7e1a6b4cc72142a3607cf0f9a3e9381 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-31T07:10:48.796Z] fc693d55d65f: Verifying Checksum [2023-01-31T07:10:48.796Z] fc693d55d65f: Download complete [2023-01-31T07:11:01.103Z] fc693d55d65f: Pull complete [2023-01-31T07:11:01.103Z] 7e9fc2657dce: Pull complete [2023-01-31T07:11:01.103Z] dda99020689f: Pull complete [2023-01-31T07:11:05.355Z] db1c61fa0a46: Pull complete [2023-01-31T07:11:06.772Z] 891c053d2c06: Pull complete [2023-01-31T07:11:06.772Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-31T07:11:06.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-31T07:11:06.772Z] ---> f96f9c87975a [2023-01-31T07:11:06.772Z] Step 3/10 : ARG MAKE=make build [2023-01-31T07:11:08.721Z] ---> Running in 189c96b0a9ba [2023-01-31T07:11:08.721Z] Removing intermediate container 189c96b0a9ba [2023-01-31T07:11:08.721Z] ---> 20a3c66dfcab [2023-01-31T07:11:08.721Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-31T07:11:08.721Z] ---> Running in bc85ceda2aa8 [2023-01-31T07:11:08.989Z] Removing intermediate container bc85ceda2aa8 [2023-01-31T07:11:08.989Z] ---> 5a95be82c608 [2023-01-31T07:11:08.989Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-31T07:11:09.255Z] ---> Running in 67c22f6dfa90 [2023-01-31T07:11:09.529Z] Removing intermediate container 67c22f6dfa90 [2023-01-31T07:11:09.529Z] ---> e6a0be3b3c08 [2023-01-31T07:11:09.529Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-31T07:11:09.529Z] ---> Running in b59e4776fc96 [2023-01-31T07:11:10.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-31T07:11:10.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-31T07:11:11.719Z] OK: 221 MiB in 51 packages [2023-01-31T07:11:12.677Z] Removing intermediate container b59e4776fc96 [2023-01-31T07:11:12.677Z] ---> 81257426fa33 [2023-01-31T07:11:12.677Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-31T07:11:13.260Z] ---> e89a3f2faffb [2023-01-31T07:11:13.260Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T07:11:13.260Z] ---> Running in 1ff741d881cd [2023-01-31T07:12:09.695Z] Removing intermediate container 1ff741d881cd [2023-01-31T07:12:09.695Z] ---> f43dd68e44fc [2023-01-31T07:12:09.695Z] Step 9/10 : COPY . . [2023-01-31T07:12:10.655Z] ---> f2407998de7c [2023-01-31T07:12:10.655Z] Step 10/10 : RUN ${MAKE} [2023-01-31T07:12:12.589Z] ---> Running in b8a00656e084 [2023-01-31T07:12:13.555Z] noop [2023-01-31T07:12:13.821Z] Removing intermediate container b8a00656e084 [2023-01-31T07:12:13.821Z] ---> 7653836d44ee [2023-01-31T07:12:13.821Z] Successfully built 7653836d44ee [2023-01-31T07:12:14.086Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T07:12:14.565Z] + docker inspect -f . ci-base-image-arm64 [2023-01-31T07:12:14.565Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T07:12:14.828Z] prd-ubuntu20.04-docker-arm64-4c-16g-4098 does not seem to be running inside a container [2023-01-31T07:12:14.887Z] $ 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 ******** ci-base-image-arm64 cat [2023-01-31T07:12:15.980Z] $ docker top 54d5ce7f043d353f086b2359eabd772436e275188829d33f7f5efd12b56fb244 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T07:12:16.829Z] + go version [2023-01-31T07:12:16.830Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-31T07:12:16.869Z] $ docker stop --time=1 54d5ce7f043d353f086b2359eabd772436e275188829d33f7f5efd12b56fb244 [2023-01-31T07:12:18.413Z] $ docker rm -f --volumes 54d5ce7f043d353f086b2359eabd772436e275188829d33f7f5efd12b56fb244 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T07:12:19.247Z] + docker inspect -f . ci-base-image-arm64 [2023-01-31T07:12:19.247Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T07:12:19.478Z] prd-ubuntu20.04-docker-arm64-4c-16g-4098 does not seem to be running inside a container [2023-01-31T07:12:19.538Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-31T07:12:20.669Z] $ docker top 13fafcde855d7dcf0de8a5b31abff61349914d230cebd5bcf3302a4c8a0846a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T07:12:21.335Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-31T07:12:21.776Z] + make test [2023-01-31T07:12:21.776Z] go test -race -coverprofile=coverage.out ./... [2023-01-31T07:12:54.031Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-31T07:14:45.729Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-31T07:14:45.729Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-31T07:14:45.729Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-31T07:14:45.729Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-31T07:14:45.729Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-31T07:14:47.680Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.277s coverage: 27.6% of statements [2023-01-31T07:14:49.105Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.360s coverage: 78.9% of statements [2023-01-31T07:14:49.105Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-31T07:14:55.738Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.494s coverage: 56.5% of statements [2023-01-31T07:14:55.738Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-31T07:14:55.738Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-31T07:14:59.118Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.238s coverage: 60.6% of statements [2023-01-31T07:14:59.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-31T07:14:59.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-31T07:14:59.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-31T07:14:59.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-31T07:14:59.704Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.425s coverage: 65.2% of statements [2023-01-31T07:14:59.704Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-31T07:14:59.704Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-31T07:14:59.704Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.352s coverage: 89.2% of statements [2023-01-31T07:14:59.704Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-31T07:14:59.704Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.419s coverage: 4.6% of statements [2023-01-31T07:14:59.704Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-31T07:15:00.664Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-31T07:15:00.664Z] GO111MODULE=on go vet ./... [2023-01-31T07:16:37.347Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-31T07:16:37.347Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-31T07:16:37.347Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-31T07:16:37.386Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-31T07:16:37.424Z] $ docker stop --time=1 13fafcde855d7dcf0de8a5b31abff61349914d230cebd5bcf3302a4c8a0846a4 [2023-01-31T07:16:39.210Z] $ docker rm -f --volumes 13fafcde855d7dcf0de8a5b31abff61349914d230cebd5bcf3302a4c8a0846a4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-31T07:16:40.567Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-31T07:16:40.604Z] Warning: overwriting stash ‘coverage-report’ [2023-01-31T07:16:41.115Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-31T07:16:41.704Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-31T07:16:42.037Z] + ls -al . [2023-01-31T07:16:42.037Z] total 268 [2023-01-31T07:16:42.037Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 31 07:12 . [2023-01-31T07:16:42.037Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 07:10 .. [2023-01-31T07:16:42.037Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 31 07:10 .dockerignore [2023-01-31T07:16:42.037Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 07:10 .git [2023-01-31T07:16:42.037Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 07:10 .github [2023-01-31T07:16:42.037Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 31 07:10 .gitignore [2023-01-31T07:16:42.037Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 31 07:10 .golangci.yml [2023-01-31T07:16:42.037Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 31 07:10 CHANGELOG.md [2023-01-31T07:16:42.037Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 31 07:10 GOVERNANCE.md [2023-01-31T07:16:42.037Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 31 07:10 Jenkinsfile [2023-01-31T07:16:42.037Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 31 07:10 LICENSE [2023-01-31T07:16:42.037Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 31 07:10 Makefile [2023-01-31T07:16:42.037Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 31 07:10 OWNERS.md [2023-01-31T07:16:42.037Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 31 07:10 README.md [2023-01-31T07:16:42.037Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 31 07:08 VERSION [2023-01-31T07:16:42.037Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 07:10 bin [2023-01-31T07:16:42.037Z] -rw-r--r-- 1 jenkins jenkins 101918 Jan 31 07:14 coverage.out [2023-01-31T07:16:42.037Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 31 07:10 example [2023-01-31T07:16:42.037Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jan 31 07:10 go.mod [2023-01-31T07:16:42.037Z] -rw-rw-r-- 1 jenkins jenkins 34396 Jan 31 07:10 go.sum [2023-01-31T07:16:42.037Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 31 07:10 internal [2023-01-31T07:16:42.037Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 07:10 openapi [2023-01-31T07:16:42.037Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 31 07:10 pkg [2023-01-31T07:16:42.037Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 07:10 snap [2023-01-31T07:16:42.037Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 31 07:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T07:16:42.498Z] + 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=a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 --label arch=arm64 --label version=0.0.0 . [2023-01-31T07:16:42.770Z] Sending build context to Docker daemon 5.814MB [2023-01-31T07:16:42.770Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T07:16:42.770Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-31T07:16:43.047Z] ---> 7653836d44ee [2023-01-31T07:16:43.047Z] Step 3/23 : ARG MAKE=make build [2023-01-31T07:16:43.047Z] ---> Running in a232fce48984 [2023-01-31T07:16:43.324Z] Removing intermediate container a232fce48984 [2023-01-31T07:16:43.324Z] ---> 1eb457f34bce [2023-01-31T07:16:43.324Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-31T07:16:43.620Z] ---> Running in 5630f5b88448 [2023-01-31T07:16:43.893Z] Removing intermediate container 5630f5b88448 [2023-01-31T07:16:43.893Z] ---> 68a94f5bf67c [2023-01-31T07:16:43.893Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-31T07:16:43.893Z] ---> Running in 441ee8644699 [2023-01-31T07:16:44.181Z] Removing intermediate container 441ee8644699 [2023-01-31T07:16:44.181Z] ---> 43ab84d31f42 [2023-01-31T07:16:44.181Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-31T07:16:44.181Z] ---> Running in b5103da381ec [2023-01-31T07:16:45.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-31T07:16:45.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-31T07:16:46.725Z] OK: 221 MiB in 51 packages [2023-01-31T07:16:47.313Z] Removing intermediate container b5103da381ec [2023-01-31T07:16:47.313Z] ---> 72fde3c5c259 [2023-01-31T07:16:47.313Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-31T07:16:47.899Z] ---> 3d63df70a0e8 [2023-01-31T07:16:47.899Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T07:16:47.899Z] ---> Running in d4dd434c392b [2023-01-31T07:16:50.482Z] Removing intermediate container d4dd434c392b [2023-01-31T07:16:50.482Z] ---> b54557af6aa0 [2023-01-31T07:16:50.482Z] Step 9/23 : COPY . . [2023-01-31T07:16:51.440Z] ---> f1dc84964614 [2023-01-31T07:16:51.440Z] Step 10/23 : RUN ${MAKE} [2023-01-31T07:16:51.440Z] ---> Running in 420b456f213e [2023-01-31T07:16:52.400Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-01-31T07:18:59.042Z] Removing intermediate container 420b456f213e [2023-01-31T07:18:59.042Z] ---> 5cd7aac3a7bf [2023-01-31T07:18:59.042Z] Step 11/23 : FROM alpine:3.16 [2023-01-31T07:18:59.042Z] 3.16: Pulling from library/alpine [2023-01-31T07:18:59.042Z] 6875df1f5354: Pulling fs layer [2023-01-31T07:18:59.042Z] 6875df1f5354: Verifying Checksum [2023-01-31T07:18:59.042Z] 6875df1f5354: Download complete [2023-01-31T07:18:59.042Z] 6875df1f5354: Pull complete [2023-01-31T07:18:59.042Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-31T07:18:59.042Z] Status: Downloaded newer image for alpine:3.16 [2023-01-31T07:18:59.042Z] ---> 2b4661558fb8 [2023-01-31T07:18:59.042Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-31T07:18:59.042Z] ---> Running in 906030f37e29 [2023-01-31T07:18:59.042Z] Removing intermediate container 906030f37e29 [2023-01-31T07:18:59.042Z] ---> 52661ba74348 [2023-01-31T07:18:59.042Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-31T07:18:59.042Z] ---> Running in 4edb239493d0 [2023-01-31T07:18:59.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-31T07:18:59.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-31T07:18:59.042Z] OK: 5 MiB in 14 packages [2023-01-31T07:18:59.042Z] Removing intermediate container 4edb239493d0 [2023-01-31T07:18:59.042Z] ---> 7fb84e21843f [2023-01-31T07:18:59.042Z] Step 14/23 : WORKDIR / [2023-01-31T07:18:59.042Z] ---> Running in 0b36107dec20 [2023-01-31T07:18:59.042Z] Removing intermediate container 0b36107dec20 [2023-01-31T07:18:59.043Z] ---> fbf977a60890 [2023-01-31T07:18:59.043Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-31T07:18:59.043Z] ---> daf0a2c4a8d3 [2023-01-31T07:18:59.043Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-31T07:18:59.043Z] ---> 779032af822c [2023-01-31T07:18:59.043Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-31T07:18:59.043Z] ---> 8c66cc1af0c1 [2023-01-31T07:18:59.043Z] Step 18/23 : EXPOSE 59999 [2023-01-31T07:18:59.043Z] ---> Running in b13934108e16 [2023-01-31T07:18:59.043Z] Removing intermediate container b13934108e16 [2023-01-31T07:18:59.043Z] ---> 475510d253dc [2023-01-31T07:18:59.043Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-31T07:18:59.043Z] ---> Running in 1940517407fc [2023-01-31T07:18:59.043Z] Removing intermediate container 1940517407fc [2023-01-31T07:18:59.043Z] ---> 77d114649916 [2023-01-31T07:18:59.043Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-31T07:18:59.043Z] ---> Running in da9147f78cf0 [2023-01-31T07:18:59.043Z] Removing intermediate container da9147f78cf0 [2023-01-31T07:18:59.043Z] ---> e8cd80214aaa [2023-01-31T07:18:59.043Z] Step 21/23 : LABEL arch=arm64 [2023-01-31T07:18:59.043Z] ---> Running in 21bd9ef2606f [2023-01-31T07:18:59.043Z] Removing intermediate container 21bd9ef2606f [2023-01-31T07:18:59.043Z] ---> bea01a47c3d8 [2023-01-31T07:18:59.043Z] Step 22/23 : LABEL git_sha=a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 [2023-01-31T07:18:59.043Z] ---> Running in 0e297b9613c5 [2023-01-31T07:18:59.043Z] Removing intermediate container 0e297b9613c5 [2023-01-31T07:18:59.043Z] ---> 935770054890 [2023-01-31T07:18:59.043Z] Step 23/23 : LABEL version=0.0.0 [2023-01-31T07:18:59.043Z] ---> Running in 29bf132eb810 [2023-01-31T07:18:59.043Z] Removing intermediate container 29bf132eb810 [2023-01-31T07:18:59.043Z] ---> 81a4f074172b [2023-01-31T07:18:59.043Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-31T07:18:59.043Z] Successfully built 81a4f074172b [2023-01-31T07:18:59.043Z] 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 [2023-01-31T07:18:59.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-31T07:18:59.885Z] [2023-01-31T07:18:59.885Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T07:19:00.295Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-31T07:19:00.295Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-31T07:19:00.295Z] 8998bd30e6a1: Pulling fs layer [2023-01-31T07:19:00.295Z] 04944245beec: Pulling fs layer [2023-01-31T07:19:00.295Z] 699f458cf7ca: Pulling fs layer [2023-01-31T07:19:00.295Z] 765212b225bb: Pulling fs layer [2023-01-31T07:19:00.295Z] f23df028b6ca: Pulling fs layer [2023-01-31T07:19:00.295Z] d65c8cfc05b1: Pulling fs layer [2023-01-31T07:19:00.295Z] 2437ff75d9bd: Pulling fs layer [2023-01-31T07:19:00.295Z] f23df028b6ca: Waiting [2023-01-31T07:19:00.295Z] d65c8cfc05b1: Waiting [2023-01-31T07:19:00.295Z] 2437ff75d9bd: Waiting [2023-01-31T07:19:00.295Z] 765212b225bb: Waiting [2023-01-31T07:19:00.563Z] 04944245beec: Verifying Checksum [2023-01-31T07:19:00.563Z] 04944245beec: Download complete [2023-01-31T07:19:00.563Z] 765212b225bb: Verifying Checksum [2023-01-31T07:19:00.563Z] 765212b225bb: Download complete [2023-01-31T07:19:00.563Z] f23df028b6ca: Verifying Checksum [2023-01-31T07:19:00.563Z] f23df028b6ca: Download complete [2023-01-31T07:19:00.563Z] d65c8cfc05b1: Verifying Checksum [2023-01-31T07:19:00.563Z] d65c8cfc05b1: Download complete [2023-01-31T07:19:00.831Z] 699f458cf7ca: Verifying Checksum [2023-01-31T07:19:00.831Z] 699f458cf7ca: Download complete [2023-01-31T07:19:01.098Z] 8998bd30e6a1: Verifying Checksum [2023-01-31T07:19:01.098Z] 8998bd30e6a1: Download complete [2023-01-31T07:19:03.051Z] 2437ff75d9bd: Verifying Checksum [2023-01-31T07:19:03.051Z] 2437ff75d9bd: Download complete [2023-01-31T07:19:04.986Z] 8998bd30e6a1: Pull complete [2023-01-31T07:19:04.986Z] 04944245beec: Pull complete [2023-01-31T07:19:06.386Z] 699f458cf7ca: Pull complete [2023-01-31T07:19:06.386Z] 765212b225bb: Pull complete [2023-01-31T07:19:06.966Z] f23df028b6ca: Pull complete [2023-01-31T07:19:07.231Z] d65c8cfc05b1: Pull complete [2023-01-31T07:19:19.529Z] 2437ff75d9bd: Pull complete [2023-01-31T07:19:19.529Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-31T07:19:19.529Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-31T07:19:19.529Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T07:19:19.825Z] prd-ubuntu20.04-docker-arm64-4c-16g-4098 does not seem to be running inside a container [2023-01-31T07:19:19.883Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-31T07:19:22.249Z] $ docker top 6f58ede034da67cbc5e9383f540456eaf51bc9d19880017e6c26ea59957b6443 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T07:19:22.813Z] ---> job-cost.sh [2023-01-31T07:19:23.077Z] lf-activate-venv: SKIPPING [2023-01-31T07:19:23.077Z] INFO: No Stack... [2023-01-31T07:19:23.344Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-31T07:19:24.299Z] INFO: Archiving Costs [Pipeline] sh [2023-01-31T07:19:24.654Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-01-31T07:19:24.655Z] + cut -d, -f6 [Pipeline] lock [2023-01-31T07:19:24.738Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1297-1-stack-cost] [2023-01-31T07:19:24.743Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-1-stack-cost] did not exist. Created. [2023-01-31T07:19:24.743Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1297-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-31T07:19:25.160Z] /w/workspace/device-sdk-go/1@tmp/durable-89678991/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-31T07:19:25.518Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-31T07:19:25.560Z] Warning: overwriting stash ‘stack-cost’ [2023-01-31T07:19:25.621Z] Stashed 1 file(s) [Pipeline] } [2023-01-31T07:19:25.639Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-31T07:19:25.728Z] $ docker stop --time=1 6f58ede034da67cbc5e9383f540456eaf51bc9d19880017e6c26ea59957b6443 [2023-01-31T07:19:27.179Z] $ docker rm -f --volumes 6f58ede034da67cbc5e9383f540456eaf51bc9d19880017e6c26ea59957b6443 [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 [2023-01-31T07:19:28.201Z] provisioning config files... [2023-01-31T07:19:28.208Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config6894724187917667485tmp [Pipeline] { [Pipeline] sh [2023-01-31T07:19:28.544Z] + set +x [2023-01-31T07:19:28.544Z] + bash -s -- [2023-01-31T07:19:28.544Z] + curl -s https://codecov.io/bash [2023-01-31T07:19:28.544Z] [2023-01-31T07:19:28.544Z] _____ _ [2023-01-31T07:19:28.544Z] / ____| | | [2023-01-31T07:19:28.544Z] | | ___ __| | ___ ___ _____ __ [2023-01-31T07:19:28.544Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-31T07:19:28.544Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-31T07:19:28.544Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-31T07:19:28.544Z] Bash-1.0.6 [2023-01-31T07:19:28.544Z] [2023-01-31T07:19:28.544Z] [2023-01-31T07:19:28.544Z] ==> git version 2.25.1 found [2023-01-31T07:19:28.544Z] ==> 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 [2023-01-31T07:19:28.544Z] Release-Date: 2020-01-08 [2023-01-31T07:19:28.544Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-31T07:19:28.544Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-31T07:19:28.544Z] ==> Jenkins CI detected. [2023-01-31T07:19:28.544Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1297 [2023-01-31T07:19:28.544Z] project root: . [2023-01-31T07:19:28.544Z] --> token set from env [2023-01-31T07:19:28.544Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-31T07:19:28.544Z] ==> Running gcov in . (disable via -X gcov) [2023-01-31T07:19:28.544Z] ==> Python coveragepy not found [2023-01-31T07:19:28.544Z] ==> Searching for coverage reports in: [2023-01-31T07:19:28.544Z] + . [2023-01-31T07:19:28.804Z] -> Found 1 reports [2023-01-31T07:19:28.804Z] ==> Detecting git/mercurial file structure [2023-01-31T07:19:28.804Z] ==> Reading reports [2023-01-31T07:19:28.804Z] + ./coverage.out bytes=101918 [2023-01-31T07:19:28.804Z] ==> Appending adjustments [2023-01-31T07:19:28.804Z] https://docs.codecov.io/docs/fixing-reports [2023-01-31T07:19:29.063Z] + Found adjustments [2023-01-31T07:19:29.063Z] ==> Gzipping contents [2023-01-31T07:19:29.063Z] 16K /tmp/codecov.pL7htK.gz [2023-01-31T07:19:29.063Z] ==> Uploading reports [2023-01-31T07:19:29.063Z] url: https://codecov.io [2023-01-31T07:19:29.063Z] query: branch=PR-1297&commit=a472bd9e95c46998e2e6344d1f15d26ef10d5eb9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1297%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1297&job=&cmd_args= [2023-01-31T07:19:29.063Z] -> Pinging Codecov [2023-01-31T07:19:29.063Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1297&commit=a472bd9e95c46998e2e6344d1f15d26ef10d5eb9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1297%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1297&job=&cmd_args= [2023-01-31T07:19:29.323Z] -> Uploading to [2023-01-31T07:19:29.323Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-31/7E55EF52A471D76F132DFD9A03CDDE97/a472bd9e95c46998e2e6344d1f15d26ef10d5eb9/f329b11c-d6cd-4f88-8635-10ead0c13cba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230131%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230131T071929Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=027ceed17a3a8cafd6f54f29091e7c4ee20436a3e139496b6d88f17e09a8deb3 [2023-01-31T07:19:29.323Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-31T07:19:29.323Z] Dload Upload Total Spent Left Speed [2023-01-31T07:19:29.583Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14836 0 0 100 14836 0 58180 --:--:-- --:--:-- --:--:-- 58180 [2023-01-31T07:19:29.583Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 [Pipeline] } [2023-01-31T07:19:29.617Z] 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 [2023-01-31T07:19:31.468Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives ] [2023-01-31T07:19:31.468Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives [2023-01-31T07:19:31.468Z] total 16 [2023-01-31T07:19:31.468Z] drwxr-xr-x 3 root root 4096 Jan 31 07:10 . [2023-01-31T07:19:31.468Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 31 07:10 .. [2023-01-31T07:19:31.468Z] drwxr-xr-x 2 root root 4096 Jan 31 07:10 cost [2023-01-31T07:19:31.468Z] -rw-r--r-- 1 root root 86 Jan 31 07:10 cost.csv [2023-01-31T07:19:31.468Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives [2023-01-31T07:19:31.468Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives [2023-01-31T07:19:31.469Z] total 16 [2023-01-31T07:19:31.469Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 31 07:10 . [2023-01-31T07:19:31.469Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 31 07:10 .. [2023-01-31T07:19:31.469Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 31 07:10 cost [2023-01-31T07:19:31.469Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 31 07:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-31T07:19:31.800Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T07:19:32.693Z] ---> package-listing.sh [2023-01-31T07:19:32.693Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-31T07:19:32.693Z] ++ facter osfamily [2023-01-31T07:19:32.954Z] + OS_FAMILY=debian [2023-01-31T07:19:32.954Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1297 [2023-01-31T07:19:32.954Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-31T07:19:32.954Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-31T07:19:32.954Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-31T07:19:32.954Z] + PACKAGES=/tmp/packages_start.txt [2023-01-31T07:19:32.954Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1297 ']' [2023-01-31T07:19:32.954Z] + PACKAGES=/tmp/packages_end.txt [2023-01-31T07:19:32.954Z] + case "${OS_FAMILY}" in [2023-01-31T07:19:32.954Z] + dpkg -l [2023-01-31T07:19:32.954Z] + grep '^ii' [2023-01-31T07:19:32.954Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-31T07:19:32.954Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-31T07:19:32.954Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-31T07:19:32.954Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1297 ']' [2023-01-31T07:19:32.954Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives/ [2023-01-31T07:19:32.954Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives/ [Pipeline] echo [2023-01-31T07:19:32.986Z] 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-1297/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-31T07:19:33.278Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T07:19:33.899Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T07:19:33.900Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T07:19:34.042Z] prd-ubuntu20.04-docker-8c-8g-4097 does not seem to be running inside a container [2023-01-31T07:19:34.073Z] $ 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-1297/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-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-31T07:19:34.279Z] $ docker top 3fefb8fe4303180bba83cba430da4d9854c3ae682707c49c1a51285478b772b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T07:19:34.662Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-31T07:19:34.969Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-31T07:19:35.275Z] + ls /var/log/sa-host [2023-01-31T07:19:35.276Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-31T07:19:35.524Z] provisioning config files... [2023-01-31T07:19:35.533Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config12385953347803034844tmp [Pipeline] { [Pipeline] echo [2023-01-31T07:19:35.576Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T07:19:35.890Z] ---> create-netrc.sh [Pipeline] } [2023-01-31T07:19:35.916Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-31T07:19:36.407Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-31T07:19:36.437Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T07:19:36.747Z] ---> sudo-logs.sh [2023-01-31T07:19:36.747Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-31T07:19:36.831Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T07:19:37.138Z] ---> job-cost.sh [2023-01-31T07:19:37.138Z] lf-activate-venv: SKIPPING [2023-01-31T07:19:37.138Z] DEBUG: total: 0.2199999988079071 [2023-01-31T07:19:37.138Z] INFO: Retrieving Stack Cost... [2023-01-31T07:19:37.704Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-31T07:19:37.963Z] INFO: Archiving Costs [Pipeline] echo [2023-01-31T07:19:37.996Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T07:19:38.307Z] ---> logs-deploy.sh [2023-01-31T07:19:38.307Z] lf-activate-venv: SKIPPING [2023-01-31T07:19:38.307Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1297/1 [2023-01-31T07:19:38.307Z] INFO: archiving workspace using pattern(s): [2023-01-31T07:19:39.243Z] Archives upload complete. [2023-01-31T07:19:39.243Z] INFO: archiving logs to Nexus