Pull request #1279 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 jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 rather than 7fb1df87b63b0a5b80d89e1f3ded7191d7148327 Obtained Jenkinsfile from 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 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-ssh12393394846768399990.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-ssh17664277086515298455.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-1279/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-1279/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3844979734670615891.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-1279/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14589238815123936483.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-ssh1868133536385836035.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-1279/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-1279/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1119116915557346901.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2034’ Running on prd-ubuntu20.04-docker-8c-8g-2036 in /w/workspace/gexfoundry_device-sdk-go_PR-1279 [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-1279 # 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 > 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/1279/head:refs/remotes/origin/PR-1279 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 into PR head commit 7fb1df87b63b0a5b80d89e1f3ded7191d7148327 Merge succeeded, producing 7fb1df87b63b0a5b80d89e1f3ded7191d7148327 Checking out Revision 7fb1df87b63b0a5b80d89e1f3ded7191d7148327 (PR-1279) > git config core.sparsecheckout # timeout=10 > git checkout -f 7fb1df87b63b0a5b80d89e1f3ded7191d7148327 # 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 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7fb1df87b63b0a5b80d89e1f3ded7191d7148327 # timeout=10 Commit message: "build(deps): use correct versions of go-mod-messaging and go-mod-core-contracts" 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-12T10:34:43.029Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-12T10:34:43.204Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-12T10:34:43.307Z] ========================================================= [2023-01-12T10:34:43.307Z] EdgeX Global Pipelines Version Info [2023-01-12T10:34:43.307Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-12T10:34:44.057Z] ------------------- [2023-01-12T10:34:44.057Z] stable info: [2023-01-12T10:34:44.057Z] ------------------- [2023-01-12T10:34:44.057Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-12T10:34:44.057Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-12T10:34:44.057Z] Message: update stable to v1.0.244 [2023-01-12T10:34:44.632Z] ------------------- [2023-01-12T10:34:44.632Z] experimental info: [2023-01-12T10:34:44.632Z] ------------------- [2023-01-12T10:34:44.632Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-12T10:34:44.632Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-12T10:34:44.632Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-12T10:34:44.931Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-12T10:34:44.970Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-12T10:34:45.006Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-12T10:34:45.046Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-12T10:34:45.086Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-12T10:34:45.125Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-12T10:34:45.162Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-12T10:34:45.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-12T10:34:45.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-12T10:34:45.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-12T10:34:45.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-12T10:34:45.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-12T10:34:45.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-12T10:34:45.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-12T10:34:45.513Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-12T10:34:45.548Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-12T10:34:45.583Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-12T10:34:45.618Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-12T10:34:45.654Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-12T10:34:45.693Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-12T10:34:45.732Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-12T10:34:45.773Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-12T10:34:45.812Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-12T10:34:45.852Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-12T10:34:45.889Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-12T10:34:45.929Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-12T10:34:45.967Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-12T10:34:46.012Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1279 [Pipeline] echo [2023-01-12T10:34:46.052Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1279 [Pipeline] echo [2023-01-12T10:34:46.096Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1279 [Pipeline] echo [2023-01-12T10:34:46.145Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7fb1df87b63b0a5b80d89e1f3ded7191d7148327 [Pipeline] echo [2023-01-12T10:34:46.187Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7fb1df8 [Pipeline] echo [2023-01-12T10:34:46.224Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-12T10:34:46.336Z] provisioning config files... [2023-01-12T10:34:46.351Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/config16825653829394071311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-12T10:34:46.688Z] ---> docker-login.sh [2023-01-12T10:34:46.688Z] nexus3.edgexfoundry.org:10001 [2023-01-12T10:34:46.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T10:34:47.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T10:34:47.208Z] Configure a credential helper to remove this warning. See [2023-01-12T10:34:47.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T10:34:47.208Z] [2023-01-12T10:34:47.208Z] Login Succeeded [2023-01-12T10:34:47.208Z] nexus3.edgexfoundry.org:10002 [2023-01-12T10:34:47.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T10:34:47.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T10:34:47.208Z] Configure a credential helper to remove this warning. See [2023-01-12T10:34:47.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T10:34:47.208Z] [2023-01-12T10:34:47.208Z] Login Succeeded [2023-01-12T10:34:47.208Z] nexus3.edgexfoundry.org:10003 [2023-01-12T10:34:47.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T10:34:47.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T10:34:47.468Z] Configure a credential helper to remove this warning. See [2023-01-12T10:34:47.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T10:34:47.468Z] [2023-01-12T10:34:47.468Z] Login Succeeded [2023-01-12T10:34:47.468Z] nexus3.edgexfoundry.org:10004 [2023-01-12T10:34:47.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T10:34:47.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T10:34:47.468Z] Configure a credential helper to remove this warning. See [2023-01-12T10:34:47.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T10:34:47.468Z] [2023-01-12T10:34:47.468Z] Login Succeeded [2023-01-12T10:34:47.468Z] docker.io [2023-01-12T10:34:47.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T10:34:47.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T10:34:47.728Z] Configure a credential helper to remove this warning. See [2023-01-12T10:34:47.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T10:34:47.728Z] [2023-01-12T10:34:47.728Z] Login Succeeded [2023-01-12T10:34:47.728Z] ---> docker-login.sh ends [Pipeline] } [2023-01-12T10:34:47.756Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-12T10:34:48.345Z] + git rev-list -1 --merges 7fb1df87b63b0a5b80d89e1f3ded7191d7148327~1..7fb1df87b63b0a5b80d89e1f3ded7191d7148327 [Pipeline] echo [2023-01-12T10:34:48.414Z] -----------> git rev-list -1 --merges 7fb1df87b63b0a5b80d89e1f3ded7191d7148327~1..7fb1df87b63b0a5b80d89e1f3ded7191d7148327 7fb1df87b63b0a5b80d89e1f3ded7191d7148327 [false] [Pipeline] sh [2023-01-12T10:34:48.726Z] + git log --format=format:%s -1 7fb1df87b63b0a5b80d89e1f3ded7191d7148327 [Pipeline] echo [2023-01-12T10:34:48.762Z] ========================================================= [2023-01-12T10:34:48.762Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-12T10:34:48.762Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-12T10:34:49.200Z] + git log --format=format:%s -1 7fb1df87b63b0a5b80d89e1f3ded7191d7148327 [Pipeline] echo [2023-01-12T10:34:49.231Z] [semverPrep] GIT_COMMIT: 7fb1df87b63b0a5b80d89e1f3ded7191d7148327, Commit Message: build(deps): use correct versions of go-mod-messaging and go-mod-core-contracts [Pipeline] echo [2023-01-12T10:34:49.260Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-12T10:34:49.639Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-12T10:34:49.639Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-12T10:34:49.639Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-12T10:34:49.639Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-12T10:34:49.639Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-01-12T10:34:49.639Z] -a /etc/ssh/ssh_known_hosts [2023-01-12T10:34:49.639Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T10:34:50.070Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-12T10:34:50.070Z] [2023-01-12T10:34:50.070Z] 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-12T10:34:50.448Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-12T10:34:50.448Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-12T10:34:50.448Z] b85a868b505f: Pulling fs layer [2023-01-12T10:34:50.448Z] e2be974225ed: Pulling fs layer [2023-01-12T10:34:50.448Z] 339a4e72a1f5: Pulling fs layer [2023-01-12T10:34:50.448Z] 988bab9f4d93: Pulling fs layer [2023-01-12T10:34:50.448Z] 1469e6f7b9e6: Pulling fs layer [2023-01-12T10:34:50.448Z] eaf3925da568: Pulling fs layer [2023-01-12T10:34:50.448Z] bab4dde63d76: Pulling fs layer [2023-01-12T10:34:50.448Z] bde34c3a00c8: Pulling fs layer [2023-01-12T10:34:50.448Z] b352a97aabf1: Pulling fs layer [2023-01-12T10:34:50.448Z] 4872d77fe225: Pulling fs layer [2023-01-12T10:34:50.448Z] 5851b861e8e6: Pulling fs layer [2023-01-12T10:34:50.448Z] 988bab9f4d93: Waiting [2023-01-12T10:34:50.448Z] 1469e6f7b9e6: Waiting [2023-01-12T10:34:50.448Z] eaf3925da568: Waiting [2023-01-12T10:34:50.448Z] bab4dde63d76: Waiting [2023-01-12T10:34:50.448Z] bde34c3a00c8: Waiting [2023-01-12T10:34:50.448Z] b352a97aabf1: Waiting [2023-01-12T10:34:50.448Z] 4872d77fe225: Waiting [2023-01-12T10:34:50.448Z] 5851b861e8e6: Waiting [2023-01-12T10:34:50.448Z] e2be974225ed: Download complete [2023-01-12T10:34:50.448Z] 988bab9f4d93: Verifying Checksum [2023-01-12T10:34:50.448Z] 988bab9f4d93: Download complete [2023-01-12T10:34:50.710Z] 339a4e72a1f5: Verifying Checksum [2023-01-12T10:34:50.710Z] 339a4e72a1f5: Download complete [2023-01-12T10:34:50.710Z] 1469e6f7b9e6: Verifying Checksum [2023-01-12T10:34:50.710Z] 1469e6f7b9e6: Download complete [2023-01-12T10:34:50.710Z] eaf3925da568: Verifying Checksum [2023-01-12T10:34:50.710Z] eaf3925da568: Download complete [2023-01-12T10:34:50.710Z] bde34c3a00c8: Download complete [2023-01-12T10:34:50.710Z] b352a97aabf1: Download complete [2023-01-12T10:34:50.710Z] 4872d77fe225: Verifying Checksum [2023-01-12T10:34:50.710Z] 4872d77fe225: Download complete [2023-01-12T10:34:50.710Z] 5851b861e8e6: Download complete [2023-01-12T10:34:50.710Z] b85a868b505f: Verifying Checksum [2023-01-12T10:34:50.710Z] b85a868b505f: Download complete [2023-01-12T10:34:51.276Z] bab4dde63d76: Verifying Checksum [2023-01-12T10:34:51.276Z] bab4dde63d76: Download complete [2023-01-12T10:34:51.844Z] b85a868b505f: Pull complete [2023-01-12T10:34:52.103Z] e2be974225ed: Pull complete [2023-01-12T10:34:52.362Z] 339a4e72a1f5: Pull complete [2023-01-12T10:34:52.620Z] 988bab9f4d93: Pull complete [2023-01-12T10:34:52.879Z] 1469e6f7b9e6: Pull complete [2023-01-12T10:34:52.879Z] eaf3925da568: Pull complete [2023-01-12T10:34:54.790Z] bab4dde63d76: Pull complete [2023-01-12T10:34:54.790Z] bde34c3a00c8: Pull complete [2023-01-12T10:34:54.790Z] b352a97aabf1: Pull complete [2023-01-12T10:34:55.050Z] 4872d77fe225: Pull complete [2023-01-12T10:34:55.050Z] 5851b861e8e6: Pull complete [2023-01-12T10:34:55.050Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-12T10:34:55.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-12T10:34:55.050Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T10:34:55.327Z] prd-ubuntu20.04-docker-8c-8g-2036 does not seem to be running inside a container [2023-01-12T10:34:55.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1279 -v /w/workspace/gexfoundry_device-sdk-go_PR-1279:/w/workspace/gexfoundry_device-sdk-go_PR-1279:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-12T10:34:58.791Z] $ docker top 2b6c55d19d5c72dc661410d1aace353670873453671acca4f19b975fd6097fc9 -eo pid,comm [2023-01-12T10:34:58.851Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-12T10:34:58.851Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-12T10:34:58.992Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-12T10:34:58.992Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-12T10:34:59.102Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-12T10:34:59.107Z] $ docker exec 2b6c55d19d5c72dc661410d1aace353670873453671acca4f19b975fd6097fc9 ssh-agent [2023-01-12T10:34:59.208Z] SSH_AUTH_SOCK=/tmp/ssh-nOAFPgjXilYC/agent.32 [2023-01-12T10:34:59.208Z] SSH_AGENT_PID=38 [2023-01-12T10:34:59.216Z] Running ssh-add (command line suppressed) [2023-01-12T10:34:59.345Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/private_key_3824219660205172391.key (/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/private_key_3824219660205172391.key) [2023-01-12T10:34:59.357Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-12T10:34:59.695Z] + git tag --points-at HEAD [Pipeline] } [2023-01-12T10:34:59.722Z] $ docker exec --env ******** --env ******** 2b6c55d19d5c72dc661410d1aace353670873453671acca4f19b975fd6097fc9 ssh-agent -k [2023-01-12T10:34:59.819Z] unset SSH_AUTH_SOCK; [2023-01-12T10:34:59.819Z] unset SSH_AGENT_PID; [2023-01-12T10:34:59.819Z] echo Agent pid 38 killed; [2023-01-12T10:34:59.827Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-12T10:34:59.912Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-12T10:34:59.912Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-12T10:35:00.031Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-12T10:35:00.036Z] $ docker exec 2b6c55d19d5c72dc661410d1aace353670873453671acca4f19b975fd6097fc9 ssh-agent [2023-01-12T10:35:00.147Z] SSH_AUTH_SOCK=/tmp/ssh-WbQp44h4BPCW/agent.72 [2023-01-12T10:35:00.147Z] SSH_AGENT_PID=79 [2023-01-12T10:35:00.152Z] Running ssh-add (command line suppressed) [2023-01-12T10:35:00.260Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/private_key_6301727621215716113.key (/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/private_key_6301727621215716113.key) [2023-01-12T10:35:00.273Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-12T10:35:00.600Z] + git semver init [2023-01-12T10:35:00.860Z] 2023-01-12 10:35:00,771 [run_init] DEBUG init version:0.0.0 force:False [2023-01-12T10:35:00.860Z] 2023-01-12 10:35:00,772 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver [2023-01-12T10:35:00.860Z] 2023-01-12 10:35:00,772 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver [2023-01-12T10:35:00.860Z] 2023-01-12 10:35:00,772 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1279, universal_newlines=False, shell=None, istream=None) [2023-01-12T10:35:01.802Z] 2023-01-12 10:35:01,717 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279/.git/info/exclude [2023-01-12T10:35:01.802Z] 2023-01-12 10:35:01,718 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver/PR-1279 with force:False [2023-01-12T10:35:01.802Z] 2023-01-12 10:35:01,718 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver/PR-1279 [2023-01-12T10:35:01.802Z] 2023-01-12 10:35:01,722 [execute] INFO git cat-file --batch-check [2023-01-12T10:35:01.802Z] 2023-01-12 10:35:01,722 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver, universal_newlines=False, shell=None, istream=) [2023-01-12T10:35:01.802Z] 2023-01-12 10:35:01,728 [execute] INFO git cat-file --batch [2023-01-12T10:35:01.802Z] 2023-01-12 10:35:01,728 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver, universal_newlines=False, shell=None, istream=) [2023-01-12T10:35:01.802Z] 2023-01-12 10:35:01,733 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1279/.semver/PR-1279 [2023-01-12T10:35:01.802Z] 0.0.0 [Pipeline] } [2023-01-12T10:35:01.829Z] $ docker exec --env ******** --env ******** 2b6c55d19d5c72dc661410d1aace353670873453671acca4f19b975fd6097fc9 ssh-agent -k [2023-01-12T10:35:01.941Z] unset SSH_AUTH_SOCK; [2023-01-12T10:35:01.942Z] unset SSH_AGENT_PID; [2023-01-12T10:35:01.942Z] echo Agent pid 79 killed; [2023-01-12T10:35:01.949Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-12T10:35:02.375Z] + git semver [Pipeline] } [2023-01-12T10:35:02.663Z] $ docker stop --time=1 2b6c55d19d5c72dc661410d1aace353670873453671acca4f19b975fd6097fc9 [2023-01-12T10:35:04.171Z] $ docker rm -f --volumes 2b6c55d19d5c72dc661410d1aace353670873453671acca4f19b975fd6097fc9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-12T10:35:04.649Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-12T10:35:04.936Z] Stashed 1 file(s) [Pipeline] echo [2023-01-12T10:35:04.955Z] [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-12T10:35:05.533Z] provisioning config files... [2023-01-12T10:35:05.546Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/config3641076418557970780tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-12T10:35:05.885Z] ---> docker-login.sh [2023-01-12T10:35:05.885Z] nexus3.edgexfoundry.org:10001 [2023-01-12T10:35:05.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T10:35:05.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T10:35:05.885Z] Configure a credential helper to remove this warning. See [2023-01-12T10:35:05.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T10:35:05.885Z] [2023-01-12T10:35:05.885Z] Login Succeeded [2023-01-12T10:35:05.885Z] nexus3.edgexfoundry.org:10002 [2023-01-12T10:35:05.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T10:35:05.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T10:35:05.885Z] Configure a credential helper to remove this warning. See [2023-01-12T10:35:05.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T10:35:05.885Z] [2023-01-12T10:35:05.885Z] Login Succeeded [2023-01-12T10:35:05.885Z] nexus3.edgexfoundry.org:10003 [2023-01-12T10:35:06.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T10:35:06.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T10:35:06.145Z] Configure a credential helper to remove this warning. See [2023-01-12T10:35:06.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T10:35:06.145Z] [2023-01-12T10:35:06.145Z] Login Succeeded [2023-01-12T10:35:06.145Z] nexus3.edgexfoundry.org:10004 [2023-01-12T10:35:06.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T10:35:06.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T10:35:06.145Z] Configure a credential helper to remove this warning. See [2023-01-12T10:35:06.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T10:35:06.145Z] [2023-01-12T10:35:06.145Z] Login Succeeded [2023-01-12T10:35:06.145Z] docker.io [2023-01-12T10:35:06.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T10:35:06.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T10:35:06.404Z] Configure a credential helper to remove this warning. See [2023-01-12T10:35:06.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T10:35:06.404Z] [2023-01-12T10:35:06.404Z] Login Succeeded [2023-01-12T10:35:06.404Z] ---> docker-login.sh ends [Pipeline] } [2023-01-12T10:35:06.431Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-12T10:35:06.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-12T10:35:06.647Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-12T10:35:06.676Z] ========================================================= [2023-01-12T10:35:06.676Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-12T10:35:06.676Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T10:35:07.138Z] + 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-12T10:35:07.138Z] Sending build context to Docker daemon 10.48MB [2023-01-12T10:35:07.138Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-12T10:35:07.138Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-12T10:35:07.138Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-12T10:35:07.138Z] 213ec9aee27d: Pulling fs layer [2023-01-12T10:35:07.138Z] 4583459ba037: Pulling fs layer [2023-01-12T10:35:07.138Z] 93c1e223e6f2: Pulling fs layer [2023-01-12T10:35:07.138Z] 53926ce57604: Pulling fs layer [2023-01-12T10:35:07.138Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-12T10:35:07.138Z] 22ff95d597cd: Pulling fs layer [2023-01-12T10:35:07.138Z] 12d6caf4c0d1: Pulling fs layer [2023-01-12T10:35:07.138Z] 96b7cbca73a9: Pulling fs layer [2023-01-12T10:35:07.138Z] a7acece74701: Pulling fs layer [2023-01-12T10:35:07.138Z] 21b2b0c7a3f4: Waiting [2023-01-12T10:35:07.138Z] 22ff95d597cd: Waiting [2023-01-12T10:35:07.138Z] 12d6caf4c0d1: Waiting [2023-01-12T10:35:07.138Z] 96b7cbca73a9: Waiting [2023-01-12T10:35:07.138Z] a7acece74701: Waiting [2023-01-12T10:35:07.138Z] 53926ce57604: Waiting [2023-01-12T10:35:07.138Z] 93c1e223e6f2: Download complete [2023-01-12T10:35:07.397Z] 4583459ba037: Download complete [2023-01-12T10:35:07.397Z] 21b2b0c7a3f4: Download complete [2023-01-12T10:35:07.397Z] 22ff95d597cd: Verifying Checksum [2023-01-12T10:35:07.397Z] 22ff95d597cd: Download complete [2023-01-12T10:35:07.397Z] 213ec9aee27d: Verifying Checksum [2023-01-12T10:35:07.397Z] 213ec9aee27d: Download complete [2023-01-12T10:35:07.397Z] 12d6caf4c0d1: Download complete [2023-01-12T10:35:07.397Z] 213ec9aee27d: Pull complete [2023-01-12T10:35:07.656Z] 4583459ba037: Pull complete [2023-01-12T10:35:07.914Z] 93c1e223e6f2: Pull complete [2023-01-12T10:35:08.481Z] a7acece74701: Verifying Checksum [2023-01-12T10:35:08.481Z] a7acece74701: Download complete [2023-01-12T10:35:08.481Z] 96b7cbca73a9: Verifying Checksum [2023-01-12T10:35:08.481Z] 96b7cbca73a9: Download complete [2023-01-12T10:35:08.481Z] 53926ce57604: Verifying Checksum [2023-01-12T10:35:08.481Z] 53926ce57604: Download complete [2023-01-12T10:35:12.667Z] 53926ce57604: Pull complete [2023-01-12T10:35:12.667Z] 21b2b0c7a3f4: Pull complete [2023-01-12T10:35:12.927Z] 22ff95d597cd: Pull complete [2023-01-12T10:35:13.185Z] 12d6caf4c0d1: Pull complete [2023-01-12T10:35:15.712Z] 96b7cbca73a9: Pull complete [2023-01-12T10:35:16.279Z] a7acece74701: Pull complete [2023-01-12T10:35:16.279Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-12T10:35:16.279Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-12T10:35:16.279Z] ---> db6d94c90886 [2023-01-12T10:35:16.279Z] Step 3/10 : ARG MAKE=make build [2023-01-12T10:35:20.367Z] Still waiting to schedule task [2023-01-12T10:35:20.368Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2035’ [2023-01-12T10:35:26.298Z] ---> Running in 76d909866b46 [2023-01-12T10:35:26.298Z] Removing intermediate container 76d909866b46 [2023-01-12T10:35:26.298Z] ---> 520b5cbba492 [2023-01-12T10:35:26.298Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-12T10:35:26.298Z] ---> Running in c939ba58d065 [2023-01-12T10:35:26.298Z] Removing intermediate container c939ba58d065 [2023-01-12T10:35:26.298Z] ---> b7bd3c759bd0 [2023-01-12T10:35:26.298Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-12T10:35:26.298Z] ---> Running in e6ddb182c35a [2023-01-12T10:35:26.298Z] Removing intermediate container e6ddb182c35a [2023-01-12T10:35:26.298Z] ---> c939312c184c [2023-01-12T10:35:26.298Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-12T10:35:26.298Z] ---> Running in 55a9ffade2b1 [2023-01-12T10:35:26.298Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-12T10:35:26.298Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-12T10:35:26.298Z] OK: 211 MiB in 51 packages [2023-01-12T10:35:26.865Z] Removing intermediate container 55a9ffade2b1 [2023-01-12T10:35:26.865Z] ---> c3efe7c0ceba [2023-01-12T10:35:26.865Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-12T10:35:26.865Z] ---> 8fbed241d2f8 [2023-01-12T10:35:26.865Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-12T10:35:26.865Z] ---> Running in 909346fbb819 [2023-01-12T10:35:53.419Z] Removing intermediate container 909346fbb819 [2023-01-12T10:35:53.419Z] ---> 21af6d4de2ae [2023-01-12T10:35:53.419Z] Step 9/10 : COPY . . [2023-01-12T10:35:53.679Z] ---> fa7c0e163216 [2023-01-12T10:35:53.679Z] Step 10/10 : RUN ${MAKE} [2023-01-12T10:35:53.679Z] ---> Running in aaa536797bae [2023-01-12T10:35:54.249Z] noop [2023-01-12T10:35:55.186Z] Removing intermediate container aaa536797bae [2023-01-12T10:35:55.186Z] ---> 612c2c4dbe70 [2023-01-12T10:35:55.186Z] Successfully built 612c2c4dbe70 [2023-01-12T10:35:55.186Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T10:35:55.630Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-12T10:35:55.630Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T10:35:55.773Z] prd-ubuntu20.04-docker-8c-8g-2036 does not seem to be running inside a container [2023-01-12T10:35:55.802Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1279 -v /w/workspace/gexfoundry_device-sdk-go_PR-1279:/w/workspace/gexfoundry_device-sdk-go_PR-1279:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-12T10:35:56.260Z] $ docker top ac9ce828eec8c82065f96f5b809186f516abc02a91c70185fee38032fbb34a27 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-12T10:35:56.645Z] + go version [2023-01-12T10:35:56.646Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-12T10:35:56.680Z] $ docker stop --time=1 ac9ce828eec8c82065f96f5b809186f516abc02a91c70185fee38032fbb34a27 [2023-01-12T10:35:58.033Z] $ docker rm -f --volumes ac9ce828eec8c82065f96f5b809186f516abc02a91c70185fee38032fbb34a27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T10:35:58.749Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-12T10:35:58.750Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T10:35:58.895Z] prd-ubuntu20.04-docker-8c-8g-2036 does not seem to be running inside a container [2023-01-12T10:35:58.930Z] $ 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-1279 -v /w/workspace/gexfoundry_device-sdk-go_PR-1279:/w/workspace/gexfoundry_device-sdk-go_PR-1279:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-12T10:35:59.246Z] $ docker top abb9ff845651c9e25fcec9db0872fa92b1632ca6ed7390eccd830e64b62e3158 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-12T10:35:59.629Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1279 [Pipeline] fileExists [Pipeline] sh [2023-01-12T10:35:59.982Z] + make test [2023-01-12T10:35:59.982Z] go test -race -coverprofile=coverage.out ./... [2023-01-12T10:36:06.538Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-12T10:36:21.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-12T10:36:21.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-12T10:36:21.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-12T10:36:21.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-12T10:36:21.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-12T10:36:21.404Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.068s coverage: 27.6% of statements [2023-01-12T10:36:21.404Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.067s coverage: 78.9% of statements [2023-01-12T10:36:21.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-12T10:36:21.404Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.099s coverage: 73.6% of statements [2023-01-12T10:36:21.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-12T10:36:21.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-12T10:36:21.404Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.108s coverage: 54.4% of statements [2023-01-12T10:36:21.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-12T10:36:21.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-12T10:36:21.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-12T10:36:21.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-12T10:36:21.404Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.140s coverage: 65.1% of statements [2023-01-12T10:36:21.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-12T10:36:21.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-12T10:36:21.404Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.738s coverage: 89.2% of statements [2023-01-12T10:36:21.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-12T10:36:21.404Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 4.6% of statements [2023-01-12T10:36:21.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-12T10:36:36.264Z] 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-12T10:36:36.264Z] GO111MODULE=on go vet ./... [2023-01-12T10:36:37.197Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-12T10:36:37.197Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-12T10:36:37.197Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-12T10:36:37.483Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-12T10:36:37.515Z] $ docker stop --time=1 abb9ff845651c9e25fcec9db0872fa92b1632ca6ed7390eccd830e64b62e3158 [2023-01-12T10:36:42.035Z] $ docker rm -f --volumes abb9ff845651c9e25fcec9db0872fa92b1632ca6ed7390eccd830e64b62e3158 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-12T10:36:42.579Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-12T10:36:42.682Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-12T10:36:43.344Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-12T10:36:43.652Z] + ls -al . [2023-01-12T10:36:43.653Z] total 280 [2023-01-12T10:36:43.653Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 12 10:36 . [2023-01-12T10:36:43.653Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 10:34 .. [2023-01-12T10:36:43.653Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 12 10:34 .dockerignore [2023-01-12T10:36:43.653Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 10:36 .git [2023-01-12T10:36:43.653Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 10:34 .github [2023-01-12T10:36:43.653Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 12 10:34 .gitignore [2023-01-12T10:36:43.653Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 12 10:34 .golangci.yml [2023-01-12T10:36:43.653Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 12 10:35 .semver [2023-01-12T10:36:43.653Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 12 10:34 CHANGELOG.md [2023-01-12T10:36:43.653Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 12 10:34 GOVERNANCE.md [2023-01-12T10:36:43.653Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 12 10:34 Jenkinsfile [2023-01-12T10:36:43.653Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 12 10:34 LICENSE [2023-01-12T10:36:43.653Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 12 10:34 Makefile [2023-01-12T10:36:43.653Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 12 10:34 OWNERS.md [2023-01-12T10:36:43.653Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 12 10:34 README.md [2023-01-12T10:36:43.653Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 12 10:35 VERSION [2023-01-12T10:36:43.653Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 10:34 bin [2023-01-12T10:36:43.653Z] -rw-r--r-- 1 jenkins jenkins 101913 Jan 12 10:36 coverage.out [2023-01-12T10:36:43.653Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 12 10:34 example [2023-01-12T10:36:43.653Z] -rw-rw-r-- 1 jenkins jenkins 3475 Jan 12 10:34 go.mod [2023-01-12T10:36:43.653Z] -rw-rw-r-- 1 jenkins jenkins 44595 Jan 12 10:34 go.sum [2023-01-12T10:36:43.653Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 12 10:34 internal [2023-01-12T10:36:43.653Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 10:34 openapi [2023-01-12T10:36:43.653Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 12 10:34 pkg [2023-01-12T10:36:43.653Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 10:34 snap [2023-01-12T10:36:43.653Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 12 10:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T10:36:44.060Z] + 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=7fb1df87b63b0a5b80d89e1f3ded7191d7148327 --label arch=amd64 --label version=0.0.0 . [2023-01-12T10:36:44.060Z] Sending build context to Docker daemon 10.59MB [2023-01-12T10:36:44.060Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-12T10:36:44.060Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-12T10:36:44.060Z] ---> 612c2c4dbe70 [2023-01-12T10:36:44.060Z] Step 3/23 : ARG MAKE=make build [2023-01-12T10:36:44.321Z] ---> Running in baa4c6f7e5c0 [2023-01-12T10:36:44.321Z] Removing intermediate container baa4c6f7e5c0 [2023-01-12T10:36:44.321Z] ---> d5759c2fec76 [2023-01-12T10:36:44.321Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-12T10:36:44.321Z] ---> Running in 5908289e1f6f [2023-01-12T10:36:44.321Z] Removing intermediate container 5908289e1f6f [2023-01-12T10:36:44.321Z] ---> aa7a55f5f5c3 [2023-01-12T10:36:44.321Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-12T10:36:44.581Z] ---> Running in 6ba8a831be7b [2023-01-12T10:36:44.581Z] Removing intermediate container 6ba8a831be7b [2023-01-12T10:36:44.581Z] ---> 0cc67ac754e2 [2023-01-12T10:36:44.581Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-12T10:36:44.581Z] ---> Running in 2a846a9fc08c [2023-01-12T10:36:44.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-12T10:36:45.100Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-12T10:36:45.359Z] OK: 211 MiB in 51 packages [2023-01-12T10:36:45.642Z] Removing intermediate container 2a846a9fc08c [2023-01-12T10:36:45.642Z] ---> 8b70f21400dc [2023-01-12T10:36:45.642Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-12T10:36:45.901Z] ---> 63f5206839ef [2023-01-12T10:36:45.901Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-12T10:36:45.901Z] ---> Running in d6abeeaadf35 [2023-01-12T10:36:46.475Z] Removing intermediate container d6abeeaadf35 [2023-01-12T10:36:46.475Z] ---> 6743f031b795 [2023-01-12T10:36:46.475Z] Step 9/23 : COPY . . [2023-01-12T10:36:47.044Z] ---> f9ccb37d41f9 [2023-01-12T10:36:47.044Z] Step 10/23 : RUN ${MAKE} [2023-01-12T10:36:47.044Z] ---> Running in 8d13962a01af [2023-01-12T10:36:47.305Z] 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-12T10:37:09.240Z] Removing intermediate container 8d13962a01af [2023-01-12T10:37:09.240Z] ---> d7765eb419b1 [2023-01-12T10:37:09.240Z] Step 11/23 : FROM alpine:3.16 [2023-01-12T10:37:09.240Z] 3.16: Pulling from library/alpine [2023-01-12T10:37:09.240Z] ca7dd9ec2225: Pulling fs layer [2023-01-12T10:37:09.240Z] ca7dd9ec2225: Verifying Checksum [2023-01-12T10:37:09.240Z] ca7dd9ec2225: Download complete [2023-01-12T10:37:09.240Z] ca7dd9ec2225: Pull complete [2023-01-12T10:37:09.240Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-12T10:37:09.240Z] Status: Downloaded newer image for alpine:3.16 [2023-01-12T10:37:09.240Z] ---> bfe296a52501 [2023-01-12T10:37:09.240Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-12T10:37:09.240Z] ---> Running in d1ac9f445973 [2023-01-12T10:37:09.500Z] Removing intermediate container d1ac9f445973 [2023-01-12T10:37:09.500Z] ---> 6b16007bdaad [2023-01-12T10:37:09.500Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-12T10:37:09.500Z] ---> Running in 64346809acd2 [2023-01-12T10:37:09.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-12T10:37:10.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-12T10:37:10.280Z] OK: 6 MiB in 14 packages [2023-01-12T10:37:10.544Z] Removing intermediate container 64346809acd2 [2023-01-12T10:37:10.544Z] ---> 4af1cffb374b [2023-01-12T10:37:10.544Z] Step 14/23 : WORKDIR / [2023-01-12T10:37:10.544Z] ---> Running in 62e37fe60501 [2023-01-12T10:37:10.803Z] Removing intermediate container 62e37fe60501 [2023-01-12T10:37:10.803Z] ---> f463e7d5d894 [2023-01-12T10:37:10.803Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-12T10:37:11.061Z] ---> 3c62264ae382 [2023-01-12T10:37:11.061Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-12T10:37:12.087Z] ---> a61c911c06c2 [2023-01-12T10:37:12.087Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-12T10:37:12.087Z] ---> 0138a7e47f53 [2023-01-12T10:37:12.087Z] Step 18/23 : EXPOSE 59999 [2023-01-12T10:37:12.087Z] ---> Running in 45e4e973408d [2023-01-12T10:37:12.347Z] Removing intermediate container 45e4e973408d [2023-01-12T10:37:12.347Z] ---> a0267581e05f [2023-01-12T10:37:12.347Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-12T10:37:12.608Z] ---> Running in 8fc31cc1450e [2023-01-12T10:37:12.608Z] Removing intermediate container 8fc31cc1450e [2023-01-12T10:37:12.608Z] ---> b9b0e26357c2 [2023-01-12T10:37:12.608Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-12T10:37:12.608Z] ---> Running in f38637d6eb2d [2023-01-12T10:37:12.608Z] Removing intermediate container f38637d6eb2d [2023-01-12T10:37:12.608Z] ---> 6fa5011bf73c [2023-01-12T10:37:12.608Z] Step 21/23 : LABEL arch=amd64 [2023-01-12T10:37:12.608Z] ---> Running in 35795277aa2a [2023-01-12T10:37:12.866Z] Removing intermediate container 35795277aa2a [2023-01-12T10:37:12.866Z] ---> 792312ac71f9 [2023-01-12T10:37:12.866Z] Step 22/23 : LABEL git_sha=7fb1df87b63b0a5b80d89e1f3ded7191d7148327 [2023-01-12T10:37:12.866Z] ---> Running in b3df29c38044 [2023-01-12T10:37:12.866Z] Removing intermediate container b3df29c38044 [2023-01-12T10:37:12.866Z] ---> e3c61708faac [2023-01-12T10:37:12.866Z] Step 23/23 : LABEL version=0.0.0 [2023-01-12T10:37:13.124Z] ---> Running in 3e2f3615f45a [2023-01-12T10:37:13.124Z] Removing intermediate container 3e2f3615f45a [2023-01-12T10:37:13.124Z] ---> 8b144e5f333d [2023-01-12T10:37:13.124Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-12T10:37:13.124Z] Successfully built 8b144e5f333d [2023-01-12T10:37:13.124Z] 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-12T10:37:13.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-12T10:37:13.958Z] [2023-01-12T10:37:13.958Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T10:37:14.348Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-12T10:37:14.348Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-12T10:37:14.348Z] 5eb5b503b376: Pulling fs layer [2023-01-12T10:37:14.348Z] 5c69ac0246d0: Pulling fs layer [2023-01-12T10:37:14.348Z] ec43610c2a17: Pulling fs layer [2023-01-12T10:37:14.348Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-12T10:37:14.348Z] 3a2ae6a8a46f: Waiting [2023-01-12T10:37:14.348Z] 33b1e0a273af: Pulling fs layer [2023-01-12T10:37:14.348Z] 5d3b04190fa2: Pulling fs layer [2023-01-12T10:37:14.348Z] 2f39f015ded8: Pulling fs layer [2023-01-12T10:37:14.348Z] 5d3b04190fa2: Waiting [2023-01-12T10:37:14.348Z] 2f39f015ded8: Waiting [2023-01-12T10:37:14.348Z] 5c69ac0246d0: Verifying Checksum [2023-01-12T10:37:14.348Z] 5c69ac0246d0: Download complete [2023-01-12T10:37:14.348Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-12T10:37:14.348Z] 3a2ae6a8a46f: Download complete [2023-01-12T10:37:14.609Z] 33b1e0a273af: Verifying Checksum [2023-01-12T10:37:14.609Z] 33b1e0a273af: Download complete [2023-01-12T10:37:14.609Z] 5d3b04190fa2: Verifying Checksum [2023-01-12T10:37:14.609Z] 5d3b04190fa2: Download complete [2023-01-12T10:37:14.609Z] ec43610c2a17: Verifying Checksum [2023-01-12T10:37:14.609Z] ec43610c2a17: Download complete [2023-01-12T10:37:14.868Z] 5eb5b503b376: Verifying Checksum [2023-01-12T10:37:14.868Z] 5eb5b503b376: Download complete [2023-01-12T10:37:15.438Z] 2f39f015ded8: Download complete [2023-01-12T10:37:16.004Z] 5eb5b503b376: Pull complete [2023-01-12T10:37:16.262Z] 5c69ac0246d0: Pull complete [2023-01-12T10:37:16.833Z] ec43610c2a17: Pull complete [2023-01-12T10:37:16.833Z] 3a2ae6a8a46f: Pull complete [2023-01-12T10:37:17.405Z] 33b1e0a273af: Pull complete [2023-01-12T10:37:17.405Z] 5d3b04190fa2: Pull complete [2023-01-12T10:37:21.594Z] 2f39f015ded8: Pull complete [2023-01-12T10:37:21.853Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-12T10:37:21.853Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-12T10:37:21.853Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T10:37:22.079Z] prd-ubuntu20.04-docker-8c-8g-2036 does not seem to be running inside a container [2023-01-12T10:37:22.116Z] $ 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-1279 -v /w/workspace/gexfoundry_device-sdk-go_PR-1279:/w/workspace/gexfoundry_device-sdk-go_PR-1279:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-12T10:37:27.986Z] $ docker top 3ae2e4cc534d51c10f55f04058bbd16cba43b74e3441339f859a58feba106f78 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-12T10:37:28.422Z] ---> job-cost.sh [2023-01-12T10:37:28.422Z] lf-activate-venv: SKIPPING [2023-01-12T10:37:28.422Z] INFO: No Stack... [2023-01-12T10:37:28.989Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-12T10:37:29.248Z] INFO: Archiving Costs [Pipeline] sh [2023-01-12T10:37:29.557Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives/cost.csv [2023-01-12T10:37:29.557Z] + cut -d, -f6 [Pipeline] lock [2023-01-12T10:37:29.602Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1279-1-stack-cost] [2023-01-12T10:37:29.607Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1279-1-stack-cost] did not exist. Created. [2023-01-12T10:37:29.607Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1279-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-12T10:37:29.991Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-12T10:37:30.044Z] Stashed 1 file(s) [Pipeline] } [2023-01-12T10:37:30.071Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1279-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-12T10:37:30.151Z] $ docker stop --time=1 3ae2e4cc534d51c10f55f04058bbd16cba43b74e3441339f859a58feba106f78 [2023-01-12T10:37:31.084Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2037 in /w/workspace/gexfoundry_device-sdk-go_PR-1279 [2023-01-12T10:37:31.674Z] $ docker rm -f --volumes 3ae2e4cc534d51c10f55f04058bbd16cba43b74e3441339f859a58feba106f78 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] ws [2023-01-12T10:37:31.871Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [Pipeline] } [2023-01-12T10:37:31.941Z] The recommended git tool is: git [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-12T10:37:36.944Z] using credential edgex-jenkins-ssh [2023-01-12T10:37:36.965Z] Cloning the remote Git repository [2023-01-12T10:37:37.016Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-12T10:37:37.100Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-01-12T10:37:37.267Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-12T10:37:37.268Z] > git --version # timeout=10 [2023-01-12T10:37:37.291Z] > git --version # 'git version 2.25.1' [2023-01-12T10:37:37.293Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-12T10:37:37.361Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-12T10:37:38.881Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-12T10:37:38.913Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-12T10:37:40.369Z] Merging remotes/origin/main commit 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 into PR head commit 7fb1df87b63b0a5b80d89e1f3ded7191d7148327 [2023-01-12T10:37:40.620Z] Merge succeeded, producing 7fb1df87b63b0a5b80d89e1f3ded7191d7148327 [2023-01-12T10:37:40.621Z] Checking out Revision 7fb1df87b63b0a5b80d89e1f3ded7191d7148327 (PR-1279) [2023-01-12T10:37:39.666Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-12T10:37:39.707Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-12T10:37:39.708Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-12T10:37:39.724Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1279/head:refs/remotes/origin/PR-1279 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-12T10:37:40.402Z] > git config core.sparsecheckout # timeout=10 [2023-01-12T10:37:40.422Z] > git checkout -f 7fb1df87b63b0a5b80d89e1f3ded7191d7148327 # timeout=10 [2023-01-12T10:37:40.520Z] > git remote # timeout=10 [2023-01-12T10:37:40.540Z] > git config --get remote.origin.url # timeout=10 [2023-01-12T10:37:40.567Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-12T10:37:40.579Z] > git merge 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 # timeout=10 [2023-01-12T10:37:40.603Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-12T10:37:40.630Z] > git config core.sparsecheckout # timeout=10 [2023-01-12T10:37:40.644Z] > git checkout -f 7fb1df87b63b0a5b80d89e1f3ded7191d7148327 # timeout=10 [2023-01-12T10:37:44.163Z] Commit message: "build(deps): use correct versions of go-mod-messaging and go-mod-core-contracts" [2023-01-12T10:37:44.215Z] > git --version # timeout=10 [2023-01-12T10:37:44.229Z] > git --version # 'git version 2.25.1' [2023-01-12T10:37:44.249Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-12T10:37:45.257Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-12T10:37:45.257Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-12T10:37:45.257Z] Dload Upload Total Spent Left Speed [2023-01-12T10:37:45.257Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 76353 0 --:--:-- --:--:-- --:--:-- 75898 [Pipeline] sh [2023-01-12T10:37:45.921Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-12T10:37:46.266Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-12T10:37:46.266Z] + sudo tee /etc/docker/daemon.new [2023-01-12T10:37:46.266Z] { [2023-01-12T10:37:46.266Z] "registry-mirrors": [ [2023-01-12T10:37:46.266Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-12T10:37:46.266Z] ], [2023-01-12T10:37:46.266Z] "bip": "10.250.0.254/24", [2023-01-12T10:37:46.266Z] "hosts": [ [2023-01-12T10:37:46.266Z] "tcp://0.0.0.0:5555", [2023-01-12T10:37:46.266Z] "unix:///var/run/docker.sock" [2023-01-12T10:37:46.266Z] ], [2023-01-12T10:37:46.266Z] "mtu": 1458, [2023-01-12T10:37:46.266Z] "selinux-enabled": true, [2023-01-12T10:37:46.266Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-12T10:37:46.266Z] } [Pipeline] sh [2023-01-12T10:37:46.614Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-12T10:37:46.955Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-12T10:38:05.287Z] provisioning config files... [2023-01-12T10:38:05.313Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1867009043861782301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-12T10:38:05.700Z] ---> docker-login.sh [2023-01-12T10:38:05.700Z] nexus3.edgexfoundry.org:10001 [2023-01-12T10:38:06.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T10:38:06.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T10:38:06.290Z] Configure a credential helper to remove this warning. See [2023-01-12T10:38:06.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T10:38:06.290Z] [2023-01-12T10:38:06.290Z] Login Succeeded [2023-01-12T10:38:06.290Z] nexus3.edgexfoundry.org:10002 [2023-01-12T10:38:06.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T10:38:06.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T10:38:06.559Z] Configure a credential helper to remove this warning. See [2023-01-12T10:38:06.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T10:38:06.559Z] [2023-01-12T10:38:06.559Z] Login Succeeded [2023-01-12T10:38:06.559Z] nexus3.edgexfoundry.org:10003 [2023-01-12T10:38:06.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T10:38:07.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T10:38:07.103Z] Configure a credential helper to remove this warning. See [2023-01-12T10:38:07.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T10:38:07.103Z] [2023-01-12T10:38:07.103Z] Login Succeeded [2023-01-12T10:38:07.103Z] nexus3.edgexfoundry.org:10004 [2023-01-12T10:38:07.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T10:38:07.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T10:38:07.378Z] Configure a credential helper to remove this warning. See [2023-01-12T10:38:07.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T10:38:07.378Z] [2023-01-12T10:38:07.378Z] Login Succeeded [2023-01-12T10:38:07.378Z] docker.io [2023-01-12T10:38:07.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-12T10:38:07.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-12T10:38:07.914Z] Configure a credential helper to remove this warning. See [2023-01-12T10:38:07.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-12T10:38:07.914Z] [2023-01-12T10:38:07.914Z] Login Succeeded [2023-01-12T10:38:07.914Z] ---> docker-login.sh ends [Pipeline] } [2023-01-12T10:38:07.943Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-12T10:38:08.322Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-12T10:38:08.359Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-12T10:38:08.392Z] ========================================================= [2023-01-12T10:38:08.392Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-12T10:38:08.392Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T10:38:08.886Z] + 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-12T10:38:09.159Z] Sending build context to Docker daemon 5.653MB [2023-01-12T10:38:09.159Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-12T10:38:09.159Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-12T10:38:09.428Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-12T10:38:09.428Z] 9b18e9b68314: Pulling fs layer [2023-01-12T10:38:09.428Z] 35d82f9e3411: Pulling fs layer [2023-01-12T10:38:09.428Z] e16973657156: Pulling fs layer [2023-01-12T10:38:09.428Z] fc693d55d65f: Pulling fs layer [2023-01-12T10:38:09.428Z] 7e9fc2657dce: Pulling fs layer [2023-01-12T10:38:09.428Z] dda99020689f: Pulling fs layer [2023-01-12T10:38:09.428Z] db1c61fa0a46: Pulling fs layer [2023-01-12T10:38:09.428Z] 891c053d2c06: Pulling fs layer [2023-01-12T10:38:09.428Z] dda99020689f: Waiting [2023-01-12T10:38:09.428Z] db1c61fa0a46: Waiting [2023-01-12T10:38:09.428Z] 891c053d2c06: Waiting [2023-01-12T10:38:09.428Z] fc693d55d65f: Waiting [2023-01-12T10:38:09.428Z] 7e9fc2657dce: Waiting [2023-01-12T10:38:09.428Z] e16973657156: Download complete [2023-01-12T10:38:09.428Z] 35d82f9e3411: Verifying Checksum [2023-01-12T10:38:09.428Z] 35d82f9e3411: Download complete [2023-01-12T10:38:09.428Z] 7e9fc2657dce: Verifying Checksum [2023-01-12T10:38:09.428Z] 7e9fc2657dce: Download complete [2023-01-12T10:38:09.428Z] dda99020689f: Verifying Checksum [2023-01-12T10:38:09.428Z] dda99020689f: Download complete [2023-01-12T10:38:09.428Z] 9b18e9b68314: Verifying Checksum [2023-01-12T10:38:10.404Z] 9b18e9b68314: Pull complete [2023-01-12T10:38:10.675Z] 891c053d2c06: Verifying Checksum [2023-01-12T10:38:10.675Z] 891c053d2c06: Download complete [2023-01-12T10:38:10.953Z] 35d82f9e3411: Pull complete [2023-01-12T10:38:11.553Z] e16973657156: Pull complete [2023-01-12T10:38:11.826Z] db1c61fa0a46: Verifying Checksum [2023-01-12T10:38:11.826Z] db1c61fa0a46: Download complete [2023-01-12T10:38:12.418Z] fc693d55d65f: Verifying Checksum [2023-01-12T10:38:12.418Z] fc693d55d65f: Download complete [2023-01-12T10:38:24.765Z] fc693d55d65f: Pull complete [2023-01-12T10:38:24.765Z] 7e9fc2657dce: Pull complete [2023-01-12T10:38:24.765Z] dda99020689f: Pull complete [2023-01-12T10:38:30.123Z] db1c61fa0a46: Pull complete [2023-01-12T10:38:32.091Z] 891c053d2c06: Pull complete [2023-01-12T10:38:32.091Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-12T10:38:32.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-12T10:38:32.091Z] ---> f96f9c87975a [2023-01-12T10:38:32.091Z] Step 3/10 : ARG MAKE=make build [2023-01-12T10:38:34.040Z] ---> Running in 3428e670b548 [2023-01-12T10:38:34.040Z] Removing intermediate container 3428e670b548 [2023-01-12T10:38:34.040Z] ---> deb3180ad3b3 [2023-01-12T10:38:34.040Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-12T10:38:34.307Z] ---> Running in 01ff753477b4 [2023-01-12T10:38:34.576Z] Removing intermediate container 01ff753477b4 [2023-01-12T10:38:34.576Z] ---> 5724c29a5757 [2023-01-12T10:38:34.576Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-12T10:38:34.576Z] ---> Running in 3e0e16d8dff3 [2023-01-12T10:38:34.844Z] Removing intermediate container 3e0e16d8dff3 [2023-01-12T10:38:34.844Z] ---> 9c2023d00785 [2023-01-12T10:38:34.844Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-12T10:38:35.111Z] ---> Running in 14fc42ae9bd9 [2023-01-12T10:38:36.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-12T10:38:36.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-12T10:38:37.308Z] OK: 221 MiB in 51 packages [2023-01-12T10:38:39.883Z] Removing intermediate container 14fc42ae9bd9 [2023-01-12T10:38:39.883Z] ---> 9a2937c5c9af [2023-01-12T10:38:39.883Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-12T10:38:39.883Z] ---> 8df8510c1c2e [2023-01-12T10:38:39.883Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-12T10:38:39.883Z] ---> Running in 1349fde8a838 [2023-01-12T10:39:36.317Z] Removing intermediate container 1349fde8a838 [2023-01-12T10:39:36.317Z] ---> 1dd0b4a59b97 [2023-01-12T10:39:36.317Z] Step 9/10 : COPY . . [2023-01-12T10:39:36.317Z] ---> cd4b8aafa7a1 [2023-01-12T10:39:36.317Z] Step 10/10 : RUN ${MAKE} [2023-01-12T10:39:36.317Z] ---> Running in 79bdca735363 [2023-01-12T10:39:36.317Z] noop [2023-01-12T10:39:36.317Z] Removing intermediate container 79bdca735363 [2023-01-12T10:39:36.317Z] ---> 2044b3c29cc3 [2023-01-12T10:39:36.317Z] Successfully built 2044b3c29cc3 [2023-01-12T10:39:36.317Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T10:39:36.797Z] + docker inspect -f . ci-base-image-arm64 [2023-01-12T10:39:36.797Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T10:39:37.068Z] prd-ubuntu20.04-docker-arm64-4c-16g-2037 does not seem to be running inside a container [2023-01-12T10:39:37.132Z] $ 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-12T10:39:38.304Z] $ docker top 4b586ce70dd40ba8a27cd50c2274c69da28932f445c11f8e348e81003508f346 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-12T10:39:39.191Z] + go version [2023-01-12T10:39:39.191Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-12T10:39:39.221Z] $ docker stop --time=1 4b586ce70dd40ba8a27cd50c2274c69da28932f445c11f8e348e81003508f346 [2023-01-12T10:39:40.837Z] $ docker rm -f --volumes 4b586ce70dd40ba8a27cd50c2274c69da28932f445c11f8e348e81003508f346 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T10:39:41.656Z] + docker inspect -f . ci-base-image-arm64 [2023-01-12T10:39:41.656Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T10:39:41.907Z] prd-ubuntu20.04-docker-arm64-4c-16g-2037 does not seem to be running inside a container [2023-01-12T10:39:41.968Z] $ 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-12T10:39:43.106Z] $ docker top 5784055990bdc5e80b29a334d5f28483b6bbfc60d4b961285e6825c96b21ad67 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-12T10:39:43.653Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-12T10:39:44.616Z] + make test [2023-01-12T10:39:44.616Z] go test -race -coverprofile=coverage.out ./... [2023-01-12T10:40:16.854Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-12T10:41:53.544Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-12T10:41:53.544Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-12T10:41:53.544Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-12T10:41:53.544Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-12T10:41:53.544Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-12T10:42:05.853Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.491s coverage: 27.6% of statements [2023-01-12T10:42:05.853Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.544s coverage: 78.9% of statements [2023-01-12T10:42:05.853Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-12T10:42:15.922Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.618s coverage: 73.6% of statements [2023-01-12T10:42:15.922Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-12T10:42:15.922Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-12T10:42:16.505Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.450s coverage: 54.4% of statements [2023-01-12T10:42:16.505Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-12T10:42:16.505Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-12T10:42:16.505Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-12T10:42:16.505Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-12T10:42:17.911Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.433s coverage: 65.1% of statements [2023-01-12T10:42:17.911Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-12T10:42:17.911Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-12T10:42:17.911Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 5.341s coverage: 89.2% of statements [2023-01-12T10:42:17.911Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-12T10:42:17.911Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.343s coverage: 4.6% of statements [2023-01-12T10:42:17.911Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-12T10:42:18.498Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-12T10:42:18.498Z] GO111MODULE=on go vet ./... [2023-01-12T10:43:55.132Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-12T10:43:55.133Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-12T10:43:55.133Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-12T10:43:55.170Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-12T10:43:55.198Z] $ docker stop --time=1 5784055990bdc5e80b29a334d5f28483b6bbfc60d4b961285e6825c96b21ad67 [2023-01-12T10:43:56.921Z] $ docker rm -f --volumes 5784055990bdc5e80b29a334d5f28483b6bbfc60d4b961285e6825c96b21ad67 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-12T10:43:58.260Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-12T10:43:58.295Z] Warning: overwriting stash ‘coverage-report’ [2023-01-12T10:43:58.821Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-12T10:43:59.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-12T10:43:59.830Z] + ls -al . [2023-01-12T10:43:59.830Z] total 276 [2023-01-12T10:43:59.830Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 12 10:39 . [2023-01-12T10:43:59.830Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 10:37 .. [2023-01-12T10:43:59.830Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 12 10:37 .dockerignore [2023-01-12T10:43:59.830Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 10:37 .git [2023-01-12T10:43:59.830Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 10:37 .github [2023-01-12T10:43:59.830Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 12 10:37 .gitignore [2023-01-12T10:43:59.830Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 12 10:37 .golangci.yml [2023-01-12T10:43:59.830Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 12 10:37 CHANGELOG.md [2023-01-12T10:43:59.830Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 12 10:37 GOVERNANCE.md [2023-01-12T10:43:59.830Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 12 10:37 Jenkinsfile [2023-01-12T10:43:59.830Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 12 10:37 LICENSE [2023-01-12T10:43:59.830Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 12 10:37 Makefile [2023-01-12T10:43:59.830Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 12 10:37 OWNERS.md [2023-01-12T10:43:59.830Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 12 10:37 README.md [2023-01-12T10:43:59.830Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 12 10:35 VERSION [2023-01-12T10:43:59.830Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 10:37 bin [2023-01-12T10:43:59.830Z] -rw-r--r-- 1 jenkins jenkins 101913 Jan 12 10:42 coverage.out [2023-01-12T10:43:59.830Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 12 10:37 example [2023-01-12T10:43:59.830Z] -rw-rw-r-- 1 jenkins jenkins 3475 Jan 12 10:37 go.mod [2023-01-12T10:43:59.830Z] -rw-rw-r-- 1 jenkins jenkins 44595 Jan 12 10:37 go.sum [2023-01-12T10:43:59.830Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 12 10:37 internal [2023-01-12T10:43:59.830Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 10:37 openapi [2023-01-12T10:43:59.830Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 12 10:37 pkg [2023-01-12T10:43:59.830Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 10:37 snap [2023-01-12T10:43:59.830Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 12 10:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T10:44:00.259Z] + 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=7fb1df87b63b0a5b80d89e1f3ded7191d7148327 --label arch=arm64 --label version=0.0.0 . [2023-01-12T10:44:00.551Z] Sending build context to Docker daemon 5.756MB [2023-01-12T10:44:00.551Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-12T10:44:00.551Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-12T10:44:00.551Z] ---> 2044b3c29cc3 [2023-01-12T10:44:00.551Z] Step 3/23 : ARG MAKE=make build [2023-01-12T10:44:00.839Z] ---> Running in dd270660ff06 [2023-01-12T10:44:01.129Z] Removing intermediate container dd270660ff06 [2023-01-12T10:44:01.129Z] ---> 03e2dbfa492f [2023-01-12T10:44:01.129Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-12T10:44:01.129Z] ---> Running in 648b88a16a37 [2023-01-12T10:44:01.419Z] Removing intermediate container 648b88a16a37 [2023-01-12T10:44:01.419Z] ---> 8878bf53a93d [2023-01-12T10:44:01.419Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-12T10:44:01.718Z] ---> Running in bf3baa612813 [2023-01-12T10:44:01.718Z] Removing intermediate container bf3baa612813 [2023-01-12T10:44:01.718Z] ---> 38dfe135d0e5 [2023-01-12T10:44:01.718Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-12T10:44:01.984Z] ---> Running in 5dfaa4481fad [2023-01-12T10:44:02.944Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-12T10:44:03.211Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-12T10:44:04.167Z] OK: 221 MiB in 51 packages [2023-01-12T10:44:05.127Z] Removing intermediate container 5dfaa4481fad [2023-01-12T10:44:05.127Z] ---> 824d157ce740 [2023-01-12T10:44:05.127Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-12T10:44:06.537Z] ---> c678e5dc36b1 [2023-01-12T10:44:06.538Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-12T10:44:06.538Z] ---> Running in a803f8298b9e [2023-01-12T10:44:09.892Z] Removing intermediate container a803f8298b9e [2023-01-12T10:44:09.892Z] ---> ca898b092144 [2023-01-12T10:44:09.892Z] Step 9/23 : COPY . . [2023-01-12T10:44:10.855Z] ---> a3b9f5be3c3d [2023-01-12T10:44:10.855Z] Step 10/23 : RUN ${MAKE} [2023-01-12T10:44:10.855Z] ---> Running in 1f2579a8da44 [2023-01-12T10:44:11.815Z] 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-12T10:46:03.455Z] Removing intermediate container 1f2579a8da44 [2023-01-12T10:46:03.455Z] ---> 6dca1cf5954d [2023-01-12T10:46:03.455Z] Step 11/23 : FROM alpine:3.16 [2023-01-12T10:46:03.455Z] 3.16: Pulling from library/alpine [2023-01-12T10:46:03.455Z] 6875df1f5354: Pulling fs layer [2023-01-12T10:46:03.455Z] 6875df1f5354: Verifying Checksum [2023-01-12T10:46:03.455Z] 6875df1f5354: Download complete [2023-01-12T10:46:03.721Z] 6875df1f5354: Pull complete [2023-01-12T10:46:03.721Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-12T10:46:03.721Z] Status: Downloaded newer image for alpine:3.16 [2023-01-12T10:46:03.721Z] ---> 2b4661558fb8 [2023-01-12T10:46:03.721Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-12T10:46:03.988Z] ---> Running in 5c11608499a2 [2023-01-12T10:46:03.988Z] Removing intermediate container 5c11608499a2 [2023-01-12T10:46:03.988Z] ---> 0829833e46e6 [2023-01-12T10:46:03.988Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-12T10:46:04.255Z] ---> Running in a30ec029b57c [2023-01-12T10:46:05.211Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-12T10:46:05.477Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-12T10:46:06.436Z] OK: 5 MiB in 14 packages [2023-01-12T10:46:07.020Z] Removing intermediate container a30ec029b57c [2023-01-12T10:46:07.020Z] ---> c8a1b652ca6e [2023-01-12T10:46:07.020Z] Step 14/23 : WORKDIR / [2023-01-12T10:46:07.020Z] ---> Running in 4d2538d3ea5b [2023-01-12T10:46:07.287Z] Removing intermediate container 4d2538d3ea5b [2023-01-12T10:46:07.287Z] ---> 72fe133e9155 [2023-01-12T10:46:07.287Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-12T10:46:07.871Z] ---> cf73a0041230 [2023-01-12T10:46:07.871Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-12T10:46:09.285Z] ---> 9203fba800e5 [2023-01-12T10:46:09.285Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-12T10:46:09.550Z] ---> 1e184a0bf32c [2023-01-12T10:46:09.550Z] Step 18/23 : EXPOSE 59999 [2023-01-12T10:46:09.550Z] ---> Running in 114dca622bbf [2023-01-12T10:46:09.819Z] Removing intermediate container 114dca622bbf [2023-01-12T10:46:09.819Z] ---> a6f7c6462336 [2023-01-12T10:46:09.819Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-12T10:46:10.090Z] ---> Running in 784e93cde12f [2023-01-12T10:46:10.356Z] Removing intermediate container 784e93cde12f [2023-01-12T10:46:10.356Z] ---> 4ddfe414c241 [2023-01-12T10:46:10.356Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-12T10:46:10.356Z] ---> Running in d0cd0dca3854 [2023-01-12T10:46:10.625Z] Removing intermediate container d0cd0dca3854 [2023-01-12T10:46:10.625Z] ---> ca2e3fb87778 [2023-01-12T10:46:10.625Z] Step 21/23 : LABEL arch=arm64 [2023-01-12T10:46:10.625Z] ---> Running in f4eb1fb19108 [2023-01-12T10:46:10.892Z] Removing intermediate container f4eb1fb19108 [2023-01-12T10:46:10.892Z] ---> 8d55be4a32c1 [2023-01-12T10:46:10.892Z] Step 22/23 : LABEL git_sha=7fb1df87b63b0a5b80d89e1f3ded7191d7148327 [2023-01-12T10:46:10.892Z] ---> Running in 31db51dc10ba [2023-01-12T10:46:11.477Z] Removing intermediate container 31db51dc10ba [2023-01-12T10:46:11.477Z] ---> c3d789e676d3 [2023-01-12T10:46:11.477Z] Step 23/23 : LABEL version=0.0.0 [2023-01-12T10:46:11.477Z] ---> Running in 8f44ff7ca2a9 [2023-01-12T10:46:11.743Z] Removing intermediate container 8f44ff7ca2a9 [2023-01-12T10:46:11.743Z] ---> 6070fd86f69a [2023-01-12T10:46:11.743Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-12T10:46:11.743Z] Successfully built 6070fd86f69a [2023-01-12T10:46:11.743Z] 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-12T10:46:12.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-12T10:46:12.524Z] [2023-01-12T10:46:12.524Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T10:46:12.928Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-12T10:46:12.928Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-12T10:46:12.928Z] 8998bd30e6a1: Pulling fs layer [2023-01-12T10:46:12.928Z] 04944245beec: Pulling fs layer [2023-01-12T10:46:12.928Z] 699f458cf7ca: Pulling fs layer [2023-01-12T10:46:12.928Z] 765212b225bb: Pulling fs layer [2023-01-12T10:46:12.928Z] f23df028b6ca: Pulling fs layer [2023-01-12T10:46:12.928Z] d65c8cfc05b1: Pulling fs layer [2023-01-12T10:46:12.928Z] 2437ff75d9bd: Pulling fs layer [2023-01-12T10:46:12.928Z] 2437ff75d9bd: Waiting [2023-01-12T10:46:12.928Z] 765212b225bb: Waiting [2023-01-12T10:46:12.928Z] f23df028b6ca: Waiting [2023-01-12T10:46:12.928Z] d65c8cfc05b1: Waiting [2023-01-12T10:46:13.200Z] 04944245beec: Verifying Checksum [2023-01-12T10:46:13.200Z] 04944245beec: Download complete [2023-01-12T10:46:13.200Z] 765212b225bb: Verifying Checksum [2023-01-12T10:46:13.200Z] 765212b225bb: Download complete [2023-01-12T10:46:13.200Z] f23df028b6ca: Verifying Checksum [2023-01-12T10:46:13.200Z] f23df028b6ca: Download complete [2023-01-12T10:46:13.200Z] d65c8cfc05b1: Verifying Checksum [2023-01-12T10:46:13.200Z] d65c8cfc05b1: Download complete [2023-01-12T10:46:13.470Z] 699f458cf7ca: Verifying Checksum [2023-01-12T10:46:13.470Z] 699f458cf7ca: Download complete [2023-01-12T10:46:13.737Z] 8998bd30e6a1: Verifying Checksum [2023-01-12T10:46:13.737Z] 8998bd30e6a1: Download complete [2023-01-12T10:46:16.340Z] 2437ff75d9bd: Verifying Checksum [2023-01-12T10:46:16.340Z] 2437ff75d9bd: Download complete [2023-01-12T10:46:17.743Z] 8998bd30e6a1: Pull complete [2023-01-12T10:46:18.011Z] 04944245beec: Pull complete [2023-01-12T10:46:19.416Z] 699f458cf7ca: Pull complete [2023-01-12T10:46:19.691Z] 765212b225bb: Pull complete [2023-01-12T10:46:20.276Z] f23df028b6ca: Pull complete [2023-01-12T10:46:20.545Z] d65c8cfc05b1: Pull complete [2023-01-12T10:46:35.545Z] 2437ff75d9bd: Pull complete [2023-01-12T10:46:35.545Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-12T10:46:35.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-12T10:46:35.545Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T10:46:35.859Z] prd-ubuntu20.04-docker-arm64-4c-16g-2037 does not seem to be running inside a container [2023-01-12T10:46:35.920Z] $ 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-12T10:46:38.353Z] $ docker top 69707f6e2979bd45db9b597f383df7042a0a8603a87bf7628ac0abbc4bf33f88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-12T10:46:38.907Z] ---> job-cost.sh [2023-01-12T10:46:39.180Z] lf-activate-venv: SKIPPING [2023-01-12T10:46:39.180Z] INFO: No Stack... [2023-01-12T10:46:39.444Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-12T10:46:40.397Z] INFO: Archiving Costs [Pipeline] sh [2023-01-12T10:46:40.735Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-01-12T10:46:40.735Z] + cut -d, -f6 [Pipeline] lock [2023-01-12T10:46:40.820Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1279-1-stack-cost] [2023-01-12T10:46:40.825Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1279-1-stack-cost] did not exist. Created. [2023-01-12T10:46:40.825Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1279-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-12T10:46:41.233Z] /w/workspace/device-sdk-go/1@tmp/durable-1c90547c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-12T10:46:41.578Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-12T10:46:41.638Z] Warning: overwriting stash ‘stack-cost’ [2023-01-12T10:46:41.694Z] Stashed 1 file(s) [Pipeline] } [2023-01-12T10:46:41.743Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1279-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-12T10:46:41.815Z] $ docker stop --time=1 69707f6e2979bd45db9b597f383df7042a0a8603a87bf7628ac0abbc4bf33f88 [2023-01-12T10:46:43.253Z] $ docker rm -f --volumes 69707f6e2979bd45db9b597f383df7042a0a8603a87bf7628ac0abbc4bf33f88 [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-12T10:46:44.166Z] provisioning config files... [2023-01-12T10:46:44.174Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/config15515232934674193667tmp [Pipeline] { [Pipeline] sh [2023-01-12T10:46:44.510Z] + set +x [2023-01-12T10:46:44.510Z] + bash -s -- [2023-01-12T10:46:44.510Z] + curl -s https://codecov.io/bash [2023-01-12T10:46:44.770Z] [2023-01-12T10:46:44.770Z] _____ _ [2023-01-12T10:46:44.770Z] / ____| | | [2023-01-12T10:46:44.770Z] | | ___ __| | ___ ___ _____ __ [2023-01-12T10:46:44.770Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-12T10:46:44.770Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-12T10:46:44.770Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-12T10:46:44.770Z] Bash-1.0.6 [2023-01-12T10:46:44.770Z] [2023-01-12T10:46:44.770Z] [2023-01-12T10:46:44.770Z] ==> git version 2.25.1 found [2023-01-12T10:46:44.770Z] ==> 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-12T10:46:44.770Z] Release-Date: 2020-01-08 [2023-01-12T10:46:44.770Z] 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-12T10:46:44.770Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-12T10:46:44.770Z] ==> Jenkins CI detected. [2023-01-12T10:46:44.770Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1279 [2023-01-12T10:46:44.770Z] project root: . [2023-01-12T10:46:44.770Z] --> token set from env [2023-01-12T10:46:44.770Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-12T10:46:44.770Z] ==> Running gcov in . (disable via -X gcov) [2023-01-12T10:46:44.770Z] ==> Python coveragepy not found [2023-01-12T10:46:44.770Z] ==> Searching for coverage reports in: [2023-01-12T10:46:44.770Z] + . [2023-01-12T10:46:44.770Z] -> Found 1 reports [2023-01-12T10:46:44.770Z] ==> Detecting git/mercurial file structure [2023-01-12T10:46:44.770Z] ==> Reading reports [2023-01-12T10:46:44.770Z] + ./coverage.out bytes=101913 [2023-01-12T10:46:44.770Z] ==> Appending adjustments [2023-01-12T10:46:44.770Z] https://docs.codecov.io/docs/fixing-reports [2023-01-12T10:46:45.029Z] + Found adjustments [2023-01-12T10:46:45.029Z] ==> Gzipping contents [2023-01-12T10:46:45.029Z] 16K /tmp/codecov.eMxXtP.gz [2023-01-12T10:46:45.029Z] ==> Uploading reports [2023-01-12T10:46:45.029Z] url: https://codecov.io [2023-01-12T10:46:45.029Z] query: branch=PR-1279&commit=7fb1df87b63b0a5b80d89e1f3ded7191d7148327&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1279%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1279&job=&cmd_args= [2023-01-12T10:46:45.289Z] -> Pinging Codecov [2023-01-12T10:46:45.289Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1279&commit=7fb1df87b63b0a5b80d89e1f3ded7191d7148327&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1279%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1279&job=&cmd_args= [2023-01-12T10:46:45.548Z] -> Uploading to [2023-01-12T10:46:45.548Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-12/7E55EF52A471D76F132DFD9A03CDDE97/7fb1df87b63b0a5b80d89e1f3ded7191d7148327/b4e9a65b-3288-46f4-b143-8c24fa53efc7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230112%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230112T104645Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f1e2397d29d5a5d59e71a1c1506726c3d400fb0c94a1da9cb904e5fbd641c9ce [2023-01-12T10:46:45.548Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-12T10:46:45.548Z] Dload Upload Total Spent Left Speed [2023-01-12T10:46:45.807Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14788 0 0 100 14788 0 60113 --:--:-- --:--:-- --:--:-- 60113 [2023-01-12T10:46:45.807Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/7fb1df87b63b0a5b80d89e1f3ded7191d7148327 [Pipeline] } [2023-01-12T10:46:45.834Z] 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-12T10:46:47.728Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives ] [2023-01-12T10:46:47.728Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives [2023-01-12T10:46:47.728Z] total 16 [2023-01-12T10:46:47.728Z] drwxr-xr-x 3 root root 4096 Jan 12 10:37 . [2023-01-12T10:46:47.728Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 12 10:37 .. [2023-01-12T10:46:47.728Z] drwxr-xr-x 2 root root 4096 Jan 12 10:37 cost [2023-01-12T10:46:47.728Z] -rw-r--r-- 1 root root 86 Jan 12 10:37 cost.csv [2023-01-12T10:46:47.728Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives [2023-01-12T10:46:47.728Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives [2023-01-12T10:46:47.728Z] total 16 [2023-01-12T10:46:47.728Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 12 10:37 . [2023-01-12T10:46:47.728Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 12 10:37 .. [2023-01-12T10:46:47.728Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 12 10:37 cost [2023-01-12T10:46:47.728Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 12 10:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-12T10:46:48.052Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-12T10:46:48.945Z] ---> package-listing.sh [2023-01-12T10:46:48.945Z] ++ facter osfamily [2023-01-12T10:46:48.945Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-12T10:46:49.204Z] + OS_FAMILY=debian [2023-01-12T10:46:49.204Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1279 [2023-01-12T10:46:49.204Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-12T10:46:49.204Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-12T10:46:49.204Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-12T10:46:49.204Z] + PACKAGES=/tmp/packages_start.txt [2023-01-12T10:46:49.204Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1279 ']' [2023-01-12T10:46:49.204Z] + PACKAGES=/tmp/packages_end.txt [2023-01-12T10:46:49.204Z] + case "${OS_FAMILY}" in [2023-01-12T10:46:49.204Z] + dpkg -l [2023-01-12T10:46:49.204Z] + grep '^ii' [2023-01-12T10:46:49.204Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-12T10:46:49.204Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-12T10:46:49.204Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-12T10:46:49.204Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1279 ']' [2023-01-12T10:46:49.204Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives/ [2023-01-12T10:46:49.204Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1279/archives/ [Pipeline] echo [2023-01-12T10:46:49.237Z] 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-1279/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-12T10:46:49.526Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-12T10:46:50.178Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-12T10:46:50.178Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-12T10:46:50.372Z] prd-ubuntu20.04-docker-8c-8g-2036 does not seem to be running inside a container [2023-01-12T10:46:50.459Z] $ 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-1279/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-1279 -v /w/workspace/gexfoundry_device-sdk-go_PR-1279:/w/workspace/gexfoundry_device-sdk-go_PR-1279:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1279@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-12T10:46:50.681Z] $ docker top e9540bb9e225549a836ab69d1e2cbc568c0bd95675fbe9f37e542a0d4c2a18b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-12T10:46:51.147Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-12T10:46:51.485Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-12T10:46:51.798Z] + ls /var/log/sa-host [2023-01-12T10:46:51.798Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-12T10:46:51.924Z] provisioning config files... [2023-01-12T10:46:51.934Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1279@tmp/config8990330307421503697tmp [Pipeline] { [Pipeline] echo [2023-01-12T10:46:51.981Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-12T10:46:52.287Z] ---> create-netrc.sh [Pipeline] } [2023-01-12T10:46:52.317Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-12T10:46:52.714Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-12T10:46:52.749Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-12T10:46:53.062Z] ---> sudo-logs.sh [2023-01-12T10:46:53.062Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-12T10:46:53.149Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-12T10:46:53.457Z] ---> job-cost.sh [2023-01-12T10:46:53.457Z] lf-activate-venv: SKIPPING [2023-01-12T10:46:53.457Z] DEBUG: total: 0.2199999988079071 [2023-01-12T10:46:53.457Z] INFO: Retrieving Stack Cost... [2023-01-12T10:46:53.716Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-12T10:46:54.283Z] INFO: Archiving Costs [Pipeline] echo [2023-01-12T10:46:54.316Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-12T10:46:54.630Z] ---> logs-deploy.sh [2023-01-12T10:46:54.630Z] lf-activate-venv: SKIPPING [2023-01-12T10:46:54.630Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1279/1 [2023-01-12T10:46:54.630Z] INFO: archiving workspace using pattern(s): [2023-01-12T10:46:55.571Z] Archives upload complete. [2023-01-12T10:46:55.571Z] INFO: archiving logs to Nexus