Pull request #1302 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cae7380b165eda21f28a3baae44b333f185a0429+f7da20bf34cbd31aed01d59c29d04f5a73da2a5d (8a26a4cd7de20daeada7a78fdaeb886ab7650244) 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-ssh14115403143322454434.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-ssh12212758520920522018.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-1302/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-1302/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3907956093012171313.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-1302/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3573838513238878948.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-ssh6859290731551392599.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-1302/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-1302/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2706149657336965210.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/v3]] ========================================================= [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/v3 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-4518’ Running on prd-ubuntu20.04-docker-8c-8g-4520 in /w/workspace/gexfoundry_device-sdk-go_PR-1302 [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-1302 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f7da20bf34cbd31aed01d59c29d04f5a73da2a5d into PR head commit cae7380b165eda21f28a3baae44b333f185a0429 Merge succeeded, producing cae7380b165eda21f28a3baae44b333f185a0429 Checking out Revision cae7380b165eda21f28a3baae44b333f185a0429 (PR-1302) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 > 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/1302/head:refs/remotes/origin/PR-1302 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cae7380b165eda21f28a3baae44b333f185a0429 # 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 f7da20bf34cbd31aed01d59c29d04f5a73da2a5d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cae7380b165eda21f28a3baae44b333f185a0429 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-04T10:08:47.308Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-04T10:08:47.477Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-04T10:08:47.582Z] ========================================================= [2023-02-04T10:08:47.582Z] EdgeX Global Pipelines Version Info [2023-02-04T10:08:47.582Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:08:48.332Z] ------------------- [2023-02-04T10:08:48.332Z] stable info: [2023-02-04T10:08:48.332Z] ------------------- [2023-02-04T10:08:48.332Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-04T10:08:48.332Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-04T10:08:48.332Z] Message: update stable to v1.0.244 [2023-02-04T10:08:48.904Z] ------------------- [2023-02-04T10:08:48.904Z] experimental info: [2023-02-04T10:08:48.904Z] ------------------- [2023-02-04T10:08:48.904Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-04T10:08:48.904Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-04T10:08:48.904Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-04T10:08:49.201Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-04T10:08:49.240Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-04T10:08:49.283Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-04T10:08:49.326Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-04T10:08:49.368Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-04T10:08:49.411Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-04T10:08:49.450Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-04T10:08:49.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-04T10:08:49.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-04T10:08:49.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-04T10:08:49.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-04T10:08:49.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-04T10:08:49.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-04T10:08:49.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-04T10:08:49.784Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-04T10:08:49.826Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-04T10:08:49.865Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-04T10:08:49.905Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-04T10:08:49.945Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-04T10:08:49.981Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-04T10:08:50.015Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-04T10:08:50.052Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-04T10:08:50.089Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-04T10:08:50.128Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-04T10:08:50.169Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-04T10:08:50.216Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-04T10:08:50.253Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-04T10:08:50.288Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1302 [Pipeline] echo [2023-02-04T10:08:50.325Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1302 [Pipeline] echo [2023-02-04T10:08:50.366Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1302 [Pipeline] echo [2023-02-04T10:08:50.403Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cae7380b165eda21f28a3baae44b333f185a0429 [Pipeline] echo [2023-02-04T10:08:50.440Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cae7380 [Pipeline] echo [2023-02-04T10:08:50.474Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-04T10:08:50.585Z] provisioning config files... [2023-02-04T10:08:50.600Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1302@tmp/config14010282491549968137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:08:50.977Z] ---> docker-login.sh [2023-02-04T10:08:50.977Z] nexus3.edgexfoundry.org:10001 [2023-02-04T10:08:52.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:08:52.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:08:52.356Z] Configure a credential helper to remove this warning. See [2023-02-04T10:08:52.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:08:52.356Z] [2023-02-04T10:08:52.356Z] Login Succeeded [2023-02-04T10:08:52.356Z] nexus3.edgexfoundry.org:10002 [2023-02-04T10:08:52.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:08:52.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:08:52.356Z] Configure a credential helper to remove this warning. See [2023-02-04T10:08:52.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:08:52.356Z] [2023-02-04T10:08:52.356Z] Login Succeeded [2023-02-04T10:08:52.356Z] nexus3.edgexfoundry.org:10003 [2023-02-04T10:08:52.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:08:52.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:08:52.356Z] Configure a credential helper to remove this warning. See [2023-02-04T10:08:52.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:08:52.356Z] [2023-02-04T10:08:52.356Z] Login Succeeded [2023-02-04T10:08:52.356Z] nexus3.edgexfoundry.org:10004 [2023-02-04T10:08:52.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:08:52.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:08:52.616Z] Configure a credential helper to remove this warning. See [2023-02-04T10:08:52.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:08:52.616Z] [2023-02-04T10:08:52.616Z] Login Succeeded [2023-02-04T10:08:52.616Z] docker.io [2023-02-04T10:08:52.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:08:52.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:08:52.876Z] Configure a credential helper to remove this warning. See [2023-02-04T10:08:52.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:08:52.876Z] [2023-02-04T10:08:52.876Z] Login Succeeded [2023-02-04T10:08:52.876Z] ---> docker-login.sh ends [Pipeline] } [2023-02-04T10:08:52.909Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-04T10:08:53.533Z] + git rev-list -1 --merges cae7380b165eda21f28a3baae44b333f185a0429~1..cae7380b165eda21f28a3baae44b333f185a0429 [Pipeline] echo [2023-02-04T10:08:53.598Z] -----------> git rev-list -1 --merges cae7380b165eda21f28a3baae44b333f185a0429~1..cae7380b165eda21f28a3baae44b333f185a0429 cae7380b165eda21f28a3baae44b333f185a0429 [false] [Pipeline] sh [2023-02-04T10:08:53.908Z] + git log --format=format:%s -1 cae7380b165eda21f28a3baae44b333f185a0429 [Pipeline] echo [2023-02-04T10:08:53.946Z] ========================================================= [2023-02-04T10:08:53.946Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-04T10:08:53.946Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-04T10:08:54.391Z] + git log --format=format:%s -1 cae7380b165eda21f28a3baae44b333f185a0429 [Pipeline] echo [2023-02-04T10:08:54.427Z] [semverPrep] GIT_COMMIT: cae7380b165eda21f28a3baae44b333f185a0429, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3 [Pipeline] echo [2023-02-04T10:08:54.459Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-04T10:08:54.828Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-04T10:08:54.829Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-04T10:08:54.829Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-04T10:08:54.829Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-04T10:08:54.829Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-04T10:08:54.829Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-04T10:08:54.829Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:08:55.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-04T10:08:55.258Z] [2023-02-04T10:08:55.258Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:08:55.632Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-04T10:08:56.205Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-04T10:08:56.205Z] b85a868b505f: Pulling fs layer [2023-02-04T10:08:56.205Z] e2be974225ed: Pulling fs layer [2023-02-04T10:08:56.205Z] 339a4e72a1f5: Pulling fs layer [2023-02-04T10:08:56.205Z] 988bab9f4d93: Pulling fs layer [2023-02-04T10:08:56.205Z] 1469e6f7b9e6: Pulling fs layer [2023-02-04T10:08:56.205Z] eaf3925da568: Pulling fs layer [2023-02-04T10:08:56.205Z] bab4dde63d76: Pulling fs layer [2023-02-04T10:08:56.205Z] bde34c3a00c8: Pulling fs layer [2023-02-04T10:08:56.205Z] b352a97aabf1: Pulling fs layer [2023-02-04T10:08:56.205Z] 4872d77fe225: Pulling fs layer [2023-02-04T10:08:56.205Z] 5851b861e8e6: Pulling fs layer [2023-02-04T10:08:56.205Z] bab4dde63d76: Waiting [2023-02-04T10:08:56.205Z] 1469e6f7b9e6: Waiting [2023-02-04T10:08:56.205Z] bde34c3a00c8: Waiting [2023-02-04T10:08:56.205Z] b352a97aabf1: Waiting [2023-02-04T10:08:56.205Z] 4872d77fe225: Waiting [2023-02-04T10:08:56.205Z] 988bab9f4d93: Waiting [2023-02-04T10:08:56.205Z] eaf3925da568: Waiting [2023-02-04T10:08:56.205Z] 5851b861e8e6: Waiting [2023-02-04T10:08:56.205Z] e2be974225ed: Download complete [2023-02-04T10:08:56.205Z] 988bab9f4d93: Download complete [2023-02-04T10:08:56.469Z] 1469e6f7b9e6: Verifying Checksum [2023-02-04T10:08:56.469Z] 1469e6f7b9e6: Download complete [2023-02-04T10:08:56.469Z] eaf3925da568: Verifying Checksum [2023-02-04T10:08:56.469Z] eaf3925da568: Download complete [2023-02-04T10:08:56.469Z] 339a4e72a1f5: Verifying Checksum [2023-02-04T10:08:56.469Z] 339a4e72a1f5: Download complete [2023-02-04T10:08:56.469Z] bde34c3a00c8: Verifying Checksum [2023-02-04T10:08:56.469Z] bde34c3a00c8: Download complete [2023-02-04T10:08:56.469Z] b352a97aabf1: Verifying Checksum [2023-02-04T10:08:56.469Z] b352a97aabf1: Download complete [2023-02-04T10:08:56.728Z] 4872d77fe225: Verifying Checksum [2023-02-04T10:08:56.728Z] 4872d77fe225: Download complete [2023-02-04T10:08:56.728Z] 5851b861e8e6: Download complete [2023-02-04T10:08:56.728Z] b85a868b505f: Verifying Checksum [2023-02-04T10:08:56.728Z] b85a868b505f: Download complete [2023-02-04T10:08:56.988Z] bab4dde63d76: Verifying Checksum [2023-02-04T10:08:56.988Z] bab4dde63d76: Download complete [2023-02-04T10:08:58.399Z] b85a868b505f: Pull complete [2023-02-04T10:08:59.333Z] e2be974225ed: Pull complete [2023-02-04T10:09:00.296Z] 339a4e72a1f5: Pull complete [2023-02-04T10:09:01.234Z] 988bab9f4d93: Pull complete [2023-02-04T10:09:01.801Z] 1469e6f7b9e6: Pull complete [2023-02-04T10:09:01.801Z] eaf3925da568: Pull complete [2023-02-04T10:09:03.707Z] bab4dde63d76: Pull complete [2023-02-04T10:09:03.707Z] bde34c3a00c8: Pull complete [2023-02-04T10:09:03.966Z] b352a97aabf1: Pull complete [2023-02-04T10:09:03.966Z] 4872d77fe225: Pull complete [2023-02-04T10:09:03.966Z] 5851b861e8e6: Pull complete [2023-02-04T10:09:03.966Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-04T10:09:03.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-04T10:09:03.967Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:09:04.182Z] prd-ubuntu20.04-docker-8c-8g-4520 does not seem to be running inside a container [2023-02-04T10:09:04.219Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1302 -v /w/workspace/gexfoundry_device-sdk-go_PR-1302:/w/workspace/gexfoundry_device-sdk-go_PR-1302:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1302@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-04T10:09:12.941Z] $ docker top 147e74552226ade7f7aff1fea3e4043fdf3ad8c214f7c15e56e2431dff91f96d -eo pid,comm [2023-02-04T10:09:12.985Z] 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-02-04T10:09:12.985Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-04T10:09:13.111Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-04T10:09:13.111Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-04T10:09:13.230Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-04T10:09:13.235Z] $ docker exec 147e74552226ade7f7aff1fea3e4043fdf3ad8c214f7c15e56e2431dff91f96d ssh-agent [2023-02-04T10:09:13.361Z] SSH_AUTH_SOCK=/tmp/ssh-mwnnBWnlnkAM/agent.14 [2023-02-04T10:09:13.361Z] SSH_AGENT_PID=20 [2023-02-04T10:09:13.369Z] Running ssh-add (command line suppressed) [2023-02-04T10:09:13.549Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1302@tmp/private_key_8383032110675153337.key (/w/workspace/gexfoundry_device-sdk-go_PR-1302@tmp/private_key_8383032110675153337.key) [2023-02-04T10:09:13.561Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-04T10:09:13.889Z] + git tag --points-at HEAD [Pipeline] } [2023-02-04T10:09:13.912Z] $ docker exec --env ******** --env ******** 147e74552226ade7f7aff1fea3e4043fdf3ad8c214f7c15e56e2431dff91f96d ssh-agent -k [2023-02-04T10:09:14.046Z] unset SSH_AUTH_SOCK; [2023-02-04T10:09:14.046Z] unset SSH_AGENT_PID; [2023-02-04T10:09:14.047Z] echo Agent pid 20 killed; [2023-02-04T10:09:14.052Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-04T10:09:14.131Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-04T10:09:14.131Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-04T10:09:14.242Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-04T10:09:14.246Z] $ docker exec 147e74552226ade7f7aff1fea3e4043fdf3ad8c214f7c15e56e2431dff91f96d ssh-agent [2023-02-04T10:09:14.363Z] SSH_AUTH_SOCK=/tmp/ssh-GxgUbuIudTlr/agent.52 [2023-02-04T10:09:14.363Z] SSH_AGENT_PID=58 [2023-02-04T10:09:14.368Z] Running ssh-add (command line suppressed) [2023-02-04T10:09:14.457Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1302@tmp/private_key_3779780926828887861.key (/w/workspace/gexfoundry_device-sdk-go_PR-1302@tmp/private_key_3779780926828887861.key) [2023-02-04T10:09:14.513Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-04T10:09:14.851Z] + git semver init [2023-02-04T10:09:15.418Z] 2023-02-04 10:09:15,120 [run_init] DEBUG init version:0.0.0 force:False [2023-02-04T10:09:15.419Z] 2023-02-04 10:09:15,122 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1302/.semver [2023-02-04T10:09:15.419Z] 2023-02-04 10:09:15,123 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1302/.semver [2023-02-04T10:09:15.419Z] 2023-02-04 10:09:15,124 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1302/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1302, universal_newlines=False, shell=None, istream=None) [2023-02-04T10:09:17.328Z] 2023-02-04 10:09:16,855 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1302/.git/info/exclude [2023-02-04T10:09:17.328Z] 2023-02-04 10:09:16,855 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1302/.semver/PR-1302 with force:False [2023-02-04T10:09:17.328Z] 2023-02-04 10:09:16,855 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1302/.semver/PR-1302 [2023-02-04T10:09:17.328Z] 2023-02-04 10:09:16,860 [execute] INFO git cat-file --batch-check [2023-02-04T10:09:17.328Z] 2023-02-04 10:09:16,860 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1302/.semver, universal_newlines=False, shell=None, istream=) [2023-02-04T10:09:17.328Z] 2023-02-04 10:09:16,867 [execute] INFO git cat-file --batch [2023-02-04T10:09:17.328Z] 2023-02-04 10:09:16,867 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1302/.semver, universal_newlines=False, shell=None, istream=) [2023-02-04T10:09:17.328Z] 2023-02-04 10:09:16,873 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1302/.semver/PR-1302 [2023-02-04T10:09:17.328Z] 0.0.0 [Pipeline] } [2023-02-04T10:09:17.355Z] $ docker exec --env ******** --env ******** 147e74552226ade7f7aff1fea3e4043fdf3ad8c214f7c15e56e2431dff91f96d ssh-agent -k [2023-02-04T10:09:17.449Z] unset SSH_AUTH_SOCK; [2023-02-04T10:09:17.450Z] unset SSH_AGENT_PID; [2023-02-04T10:09:17.450Z] echo Agent pid 58 killed; [2023-02-04T10:09:17.455Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-04T10:09:17.855Z] + git semver [Pipeline] } [2023-02-04T10:09:18.141Z] $ docker stop --time=1 147e74552226ade7f7aff1fea3e4043fdf3ad8c214f7c15e56e2431dff91f96d [2023-02-04T10:09:20.479Z] $ docker rm -f --volumes 147e74552226ade7f7aff1fea3e4043fdf3ad8c214f7c15e56e2431dff91f96d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-04T10:09:20.994Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-04T10:09:21.313Z] Stashed 1 file(s) [Pipeline] echo [2023-02-04T10:09:21.331Z] [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-02-04T10:09:21.870Z] provisioning config files... [2023-02-04T10:09:21.884Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1302@tmp/config17186473891666083858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:09:22.225Z] ---> docker-login.sh [2023-02-04T10:09:22.225Z] nexus3.edgexfoundry.org:10001 [2023-02-04T10:09:22.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:09:22.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:09:22.225Z] Configure a credential helper to remove this warning. See [2023-02-04T10:09:22.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:09:22.225Z] [2023-02-04T10:09:22.225Z] Login Succeeded [2023-02-04T10:09:22.225Z] nexus3.edgexfoundry.org:10002 [2023-02-04T10:09:22.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:09:22.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:09:22.225Z] Configure a credential helper to remove this warning. See [2023-02-04T10:09:22.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:09:22.225Z] [2023-02-04T10:09:22.225Z] Login Succeeded [2023-02-04T10:09:22.225Z] nexus3.edgexfoundry.org:10003 [2023-02-04T10:09:22.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:09:22.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:09:22.484Z] Configure a credential helper to remove this warning. See [2023-02-04T10:09:22.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:09:22.484Z] [2023-02-04T10:09:22.484Z] Login Succeeded [2023-02-04T10:09:22.484Z] nexus3.edgexfoundry.org:10004 [2023-02-04T10:09:22.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:09:22.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:09:22.484Z] Configure a credential helper to remove this warning. See [2023-02-04T10:09:22.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:09:22.484Z] [2023-02-04T10:09:22.484Z] Login Succeeded [2023-02-04T10:09:22.484Z] docker.io [2023-02-04T10:09:22.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:09:22.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:09:22.743Z] Configure a credential helper to remove this warning. See [2023-02-04T10:09:22.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:09:22.743Z] [2023-02-04T10:09:22.743Z] Login Succeeded [2023-02-04T10:09:22.743Z] ---> docker-login.sh ends [Pipeline] } [2023-02-04T10:09:22.770Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-04T10:09:22.945Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-04T10:09:22.982Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-04T10:09:23.013Z] ========================================================= [2023-02-04T10:09:23.013Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-04T10:09:23.013Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:09:23.471Z] + 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-02-04T10:09:23.471Z] Sending build context to Docker daemon 10.5MB [2023-02-04T10:09:23.471Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-04T10:09:23.471Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-04T10:09:24.040Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-04T10:09:24.040Z] 213ec9aee27d: Pulling fs layer [2023-02-04T10:09:24.040Z] 4583459ba037: Pulling fs layer [2023-02-04T10:09:24.040Z] 93c1e223e6f2: Pulling fs layer [2023-02-04T10:09:24.040Z] 53926ce57604: Pulling fs layer [2023-02-04T10:09:24.040Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-04T10:09:24.040Z] 22ff95d597cd: Pulling fs layer [2023-02-04T10:09:24.040Z] 12d6caf4c0d1: Pulling fs layer [2023-02-04T10:09:24.040Z] 96b7cbca73a9: Pulling fs layer [2023-02-04T10:09:24.040Z] a7acece74701: Pulling fs layer [2023-02-04T10:09:24.040Z] 53926ce57604: Waiting [2023-02-04T10:09:24.040Z] 22ff95d597cd: Waiting [2023-02-04T10:09:24.040Z] 12d6caf4c0d1: Waiting [2023-02-04T10:09:24.040Z] 96b7cbca73a9: Waiting [2023-02-04T10:09:24.040Z] a7acece74701: Waiting [2023-02-04T10:09:24.040Z] 21b2b0c7a3f4: Waiting [2023-02-04T10:09:24.040Z] 93c1e223e6f2: Verifying Checksum [2023-02-04T10:09:24.040Z] 93c1e223e6f2: Download complete [2023-02-04T10:09:24.040Z] 4583459ba037: Verifying Checksum [2023-02-04T10:09:24.040Z] 4583459ba037: Download complete [2023-02-04T10:09:24.040Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-04T10:09:24.040Z] 21b2b0c7a3f4: Download complete [2023-02-04T10:09:24.040Z] 22ff95d597cd: Verifying Checksum [2023-02-04T10:09:24.040Z] 22ff95d597cd: Download complete [2023-02-04T10:09:24.308Z] 213ec9aee27d: Verifying Checksum [2023-02-04T10:09:24.308Z] 213ec9aee27d: Download complete [2023-02-04T10:09:24.308Z] 12d6caf4c0d1: Download complete [2023-02-04T10:09:24.570Z] 213ec9aee27d: Pull complete [2023-02-04T10:09:25.190Z] 4583459ba037: Pull complete [2023-02-04T10:09:25.464Z] 53926ce57604: Verifying Checksum [2023-02-04T10:09:25.464Z] a7acece74701: Verifying Checksum [2023-02-04T10:09:25.464Z] a7acece74701: Download complete [2023-02-04T10:09:25.724Z] 93c1e223e6f2: Pull complete [2023-02-04T10:09:25.724Z] 96b7cbca73a9: Verifying Checksum [2023-02-04T10:09:25.724Z] 96b7cbca73a9: Download complete [2023-02-04T10:09:29.927Z] 53926ce57604: Pull complete [2023-02-04T10:09:30.188Z] 21b2b0c7a3f4: Pull complete [2023-02-04T10:09:30.189Z] 22ff95d597cd: Pull complete [2023-02-04T10:09:30.449Z] 12d6caf4c0d1: Pull complete [2023-02-04T10:09:32.991Z] 96b7cbca73a9: Pull complete [2023-02-04T10:09:33.563Z] a7acece74701: Pull complete [2023-02-04T10:09:33.563Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-04T10:09:33.563Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-04T10:09:33.563Z] ---> db6d94c90886 [2023-02-04T10:09:33.563Z] Step 3/10 : ARG MAKE=make build [2023-02-04T10:09:36.704Z] Still waiting to schedule task [2023-02-04T10:09:36.705Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4515’ [2023-02-04T10:09:51.659Z] ---> Running in 7724ced478e3 [2023-02-04T10:09:54.202Z] Removing intermediate container 7724ced478e3 [2023-02-04T10:09:54.202Z] ---> 0edbe3e125b4 [2023-02-04T10:09:54.202Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-04T10:09:56.105Z] ---> Running in c4e01560d3ca [2023-02-04T10:09:58.640Z] Removing intermediate container c4e01560d3ca [2023-02-04T10:09:58.640Z] ---> fe4cf85f76dc [2023-02-04T10:09:58.640Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-04T10:09:58.640Z] ---> Running in 9b976f82a2aa [2023-02-04T10:09:59.573Z] Removing intermediate container 9b976f82a2aa [2023-02-04T10:09:59.573Z] ---> 70c382bc32f8 [2023-02-04T10:09:59.573Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-04T10:10:00.949Z] ---> Running in 4f975d55fe62 [2023-02-04T10:10:01.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-04T10:10:01.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-04T10:10:02.153Z] OK: 211 MiB in 51 packages [2023-02-04T10:10:03.536Z] Removing intermediate container 4f975d55fe62 [2023-02-04T10:10:03.536Z] ---> 582f6be111c5 [2023-02-04T10:10:03.536Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-04T10:10:03.536Z] ---> a2ebf9a31318 [2023-02-04T10:10:03.536Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-04T10:10:03.536Z] ---> Running in 09503e7bb358 [2023-02-04T10:10:50.223Z] Removing intermediate container 09503e7bb358 [2023-02-04T10:10:50.223Z] ---> 40ed24c040b7 [2023-02-04T10:10:50.223Z] Step 9/10 : COPY . . [2023-02-04T10:10:50.223Z] ---> f02f59a681bf [2023-02-04T10:10:50.223Z] Step 10/10 : RUN ${MAKE} [2023-02-04T10:10:50.223Z] ---> Running in fffc23d8ae75 [2023-02-04T10:10:50.223Z] noop [2023-02-04T10:10:50.223Z] Removing intermediate container fffc23d8ae75 [2023-02-04T10:10:50.223Z] ---> 665f702e1013 [2023-02-04T10:10:50.223Z] Successfully built 665f702e1013 [2023-02-04T10:10:50.223Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:10:50.663Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-04T10:10:50.663Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:10:50.804Z] prd-ubuntu20.04-docker-8c-8g-4520 does not seem to be running inside a container [2023-02-04T10:10:50.831Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1302 -v /w/workspace/gexfoundry_device-sdk-go_PR-1302:/w/workspace/gexfoundry_device-sdk-go_PR-1302:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1302@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-04T10:10:51.494Z] $ docker top 44506a94da7778db5481476a60cf82a765bac74bb012875abb4fcb9ed299fb6c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-04T10:10:51.882Z] + go version [2023-02-04T10:10:51.882Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-04T10:10:51.919Z] $ docker stop --time=1 44506a94da7778db5481476a60cf82a765bac74bb012875abb4fcb9ed299fb6c [2023-02-04T10:10:53.280Z] $ docker rm -f --volumes 44506a94da7778db5481476a60cf82a765bac74bb012875abb4fcb9ed299fb6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:10:53.933Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-04T10:10:53.933Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:10:54.079Z] prd-ubuntu20.04-docker-8c-8g-4520 does not seem to be running inside a container [2023-02-04T10:10:54.112Z] $ 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-1302 -v /w/workspace/gexfoundry_device-sdk-go_PR-1302:/w/workspace/gexfoundry_device-sdk-go_PR-1302:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1302@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-04T10:10:55.025Z] $ docker top 084968ae4cada9791c01362cc6b4079ee1033af916e1077a4b9ca076e8b033c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-04T10:10:55.413Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1302 [Pipeline] fileExists [Pipeline] sh [2023-02-04T10:10:55.806Z] + make test [2023-02-04T10:10:55.806Z] go test -race -coverprofile=coverage.out ./... [2023-02-04T10:11:02.421Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-04T10:11:17.300Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-04T10:11:17.300Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-04T10:11:17.300Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-04T10:11:17.300Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-04T10:11:17.300Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-04T10:11:17.300Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.054s coverage: 27.6% of statements [2023-02-04T10:11:17.300Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.088s coverage: 78.9% of statements [2023-02-04T10:11:17.300Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-04T10:11:17.300Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.118s coverage: 70.2% of statements [2023-02-04T10:11:17.300Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-04T10:11:17.300Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-04T10:11:17.300Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.118s coverage: 59.8% of statements [2023-02-04T10:11:17.300Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-04T10:11:17.300Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-04T10:11:17.300Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-04T10:11:17.300Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.090s coverage: 65.1% of statements [2023-02-04T10:11:17.300Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-04T10:11:17.300Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-04T10:11:17.300Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.748s coverage: 89.2% of statements [2023-02-04T10:11:17.300Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-04T10:11:17.300Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.7% of statements [2023-02-04T10:11:17.300Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-04T10:11:32.162Z] 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-02-04T10:11:32.162Z] GO111MODULE=on go vet ./... [2023-02-04T10:11:34.688Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-04T10:11:34.688Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-04T10:11:34.688Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-04T10:11:34.725Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-04T10:11:34.755Z] $ docker stop --time=1 084968ae4cada9791c01362cc6b4079ee1033af916e1077a4b9ca076e8b033c8 [2023-02-04T10:11:49.375Z] $ docker rm -f --volumes 084968ae4cada9791c01362cc6b4079ee1033af916e1077a4b9ca076e8b033c8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-04T10:11:49.976Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-04T10:11:50.071Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-04T10:11:50.685Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-04T10:11:50.995Z] + ls -al . [2023-02-04T10:11:50.995Z] total 272 [2023-02-04T10:11:50.995Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 4 10:10 . [2023-02-04T10:11:50.995Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 10:08 .. [2023-02-04T10:11:50.995Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 4 10:08 .dockerignore [2023-02-04T10:11:50.995Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 4 10:11 .git [2023-02-04T10:11:50.995Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 10:08 .github [2023-02-04T10:11:50.995Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 4 10:08 .gitignore [2023-02-04T10:11:50.995Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 4 10:08 .golangci.yml [2023-02-04T10:11:50.995Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 4 10:09 .semver [2023-02-04T10:11:50.995Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 4 10:08 CHANGELOG.md [2023-02-04T10:11:50.995Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 4 10:08 GOVERNANCE.md [2023-02-04T10:11:50.995Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 4 10:08 Jenkinsfile [2023-02-04T10:11:50.995Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 4 10:08 LICENSE [2023-02-04T10:11:50.995Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 4 10:08 Makefile [2023-02-04T10:11:50.995Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 4 10:08 OWNERS.md [2023-02-04T10:11:50.995Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 4 10:08 README.md [2023-02-04T10:11:50.995Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 4 10:09 VERSION [2023-02-04T10:11:50.995Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 10:08 bin [2023-02-04T10:11:50.995Z] -rw-r--r-- 1 jenkins jenkins 99762 Feb 4 10:11 coverage.out [2023-02-04T10:11:50.995Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 4 10:08 example [2023-02-04T10:11:50.995Z] -rw-rw-r-- 1 jenkins jenkins 3264 Feb 4 10:08 go.mod [2023-02-04T10:11:50.995Z] -rw-rw-r-- 1 jenkins jenkins 32817 Feb 4 10:08 go.sum [2023-02-04T10:11:50.995Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 4 10:08 internal [2023-02-04T10:11:50.995Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 4 10:08 openapi [2023-02-04T10:11:50.995Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 4 10:08 pkg [2023-02-04T10:11:50.995Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 10:08 snap [2023-02-04T10:11:50.995Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 4 10:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:11:51.497Z] + 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=cae7380b165eda21f28a3baae44b333f185a0429 --label arch=amd64 --label version=0.0.0 . [2023-02-04T10:11:51.497Z] Sending build context to Docker daemon 10.6MB [2023-02-04T10:11:51.497Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-04T10:11:51.497Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-04T10:11:51.497Z] ---> 665f702e1013 [2023-02-04T10:11:51.497Z] Step 3/23 : ARG MAKE=make build [2023-02-04T10:11:51.757Z] ---> Running in 4e612b34f9ad [2023-02-04T10:11:52.015Z] Removing intermediate container 4e612b34f9ad [2023-02-04T10:11:52.015Z] ---> 047b52fe39c8 [2023-02-04T10:11:52.015Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-04T10:11:52.015Z] ---> Running in a3ea0e4f944b [2023-02-04T10:11:52.015Z] Removing intermediate container a3ea0e4f944b [2023-02-04T10:11:52.015Z] ---> 1b8df78f5056 [2023-02-04T10:11:52.015Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-04T10:11:52.015Z] ---> Running in ab2c3ffbce0c [2023-02-04T10:11:52.273Z] Removing intermediate container ab2c3ffbce0c [2023-02-04T10:11:52.273Z] ---> 9408321e7320 [2023-02-04T10:11:52.273Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-04T10:11:52.273Z] ---> Running in 8b2b8c9baa9c [2023-02-04T10:11:52.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-04T10:11:52.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-04T10:11:53.099Z] OK: 211 MiB in 51 packages [2023-02-04T10:11:53.360Z] Removing intermediate container 8b2b8c9baa9c [2023-02-04T10:11:53.360Z] ---> 30ca26eec212 [2023-02-04T10:11:53.360Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-04T10:11:53.618Z] ---> 362ad78337ca [2023-02-04T10:11:53.618Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-04T10:11:53.618Z] ---> Running in 00586205250f [2023-02-04T10:11:54.562Z] Removing intermediate container 00586205250f [2023-02-04T10:11:54.563Z] ---> 8ab9b95b85dd [2023-02-04T10:11:54.563Z] Step 9/23 : COPY . . [2023-02-04T10:11:55.521Z] ---> f614adfd44b8 [2023-02-04T10:11:55.521Z] Step 10/23 : RUN ${MAKE} [2023-02-04T10:11:55.521Z] ---> Running in 73f86017c12a [2023-02-04T10:11:55.779Z] 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-02-04T10:12:17.690Z] Removing intermediate container 73f86017c12a [2023-02-04T10:12:17.690Z] ---> 784338f844c8 [2023-02-04T10:12:17.690Z] Step 11/23 : FROM alpine:3.16 [2023-02-04T10:12:17.690Z] 3.16: Pulling from library/alpine [2023-02-04T10:12:17.690Z] ca7dd9ec2225: Pulling fs layer [2023-02-04T10:12:17.955Z] ca7dd9ec2225: Verifying Checksum [2023-02-04T10:12:17.955Z] ca7dd9ec2225: Download complete [2023-02-04T10:12:18.214Z] ca7dd9ec2225: Pull complete [2023-02-04T10:12:18.214Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-04T10:12:18.214Z] Status: Downloaded newer image for alpine:3.16 [2023-02-04T10:12:18.214Z] ---> bfe296a52501 [2023-02-04T10:12:18.214Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-04T10:12:18.214Z] ---> Running in 75f8cc496b05 [2023-02-04T10:12:18.214Z] Removing intermediate container 75f8cc496b05 [2023-02-04T10:12:18.214Z] ---> 35814b8bc5ee [2023-02-04T10:12:18.214Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-04T10:12:18.473Z] ---> Running in a5f16c6cf84c [2023-02-04T10:12:18.732Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-04T10:12:18.732Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-04T10:12:18.992Z] OK: 6 MiB in 14 packages [2023-02-04T10:12:19.252Z] Removing intermediate container a5f16c6cf84c [2023-02-04T10:12:19.252Z] ---> c489af859fa2 [2023-02-04T10:12:19.252Z] Step 14/23 : WORKDIR / [2023-02-04T10:12:19.252Z] ---> Running in 6b52e4de3bd1 [2023-02-04T10:12:19.511Z] Removing intermediate container 6b52e4de3bd1 [2023-02-04T10:12:19.511Z] ---> f62e114f323f [2023-02-04T10:12:19.511Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-04T10:12:19.775Z] ---> 797186b5ab34 [2023-02-04T10:12:19.775Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-04T10:12:20.711Z] ---> 8f0e99b3932a [2023-02-04T10:12:20.711Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-04T10:12:20.971Z] ---> dea8fadd9cbb [2023-02-04T10:12:20.971Z] Step 18/23 : EXPOSE 59999 [2023-02-04T10:12:20.971Z] ---> Running in 3626389ccd19 [2023-02-04T10:12:20.971Z] Removing intermediate container 3626389ccd19 [2023-02-04T10:12:20.971Z] ---> a64182650a4a [2023-02-04T10:12:20.971Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-04T10:12:20.971Z] ---> Running in 3ccc8a8429e8 [2023-02-04T10:12:20.971Z] Removing intermediate container 3ccc8a8429e8 [2023-02-04T10:12:20.971Z] ---> f715cf7d6a98 [2023-02-04T10:12:20.971Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-04T10:12:21.229Z] ---> Running in b77843840160 [2023-02-04T10:12:21.229Z] Removing intermediate container b77843840160 [2023-02-04T10:12:21.229Z] ---> b66e6679cb9b [2023-02-04T10:12:21.229Z] Step 21/23 : LABEL arch=amd64 [2023-02-04T10:12:21.229Z] ---> Running in 8aba50d90f20 [2023-02-04T10:12:21.229Z] Removing intermediate container 8aba50d90f20 [2023-02-04T10:12:21.229Z] ---> daced3cb0803 [2023-02-04T10:12:21.229Z] Step 22/23 : LABEL git_sha=cae7380b165eda21f28a3baae44b333f185a0429 [2023-02-04T10:12:21.487Z] ---> Running in 7d4af545c481 [2023-02-04T10:12:21.487Z] Removing intermediate container 7d4af545c481 [2023-02-04T10:12:21.487Z] ---> 8fc68a988cb3 [2023-02-04T10:12:21.487Z] Step 23/23 : LABEL version=0.0.0 [2023-02-04T10:12:21.487Z] ---> Running in 9e38a32f8847 [2023-02-04T10:12:21.487Z] Removing intermediate container 9e38a32f8847 [2023-02-04T10:12:21.487Z] ---> a48be0f2be90 [2023-02-04T10:12:21.487Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-04T10:12:21.487Z] Successfully built a48be0f2be90 [2023-02-04T10:12:21.487Z] 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-02-04T10:12:22.311Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-04T10:12:22.311Z] [2023-02-04T10:12:22.311Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:12:22.701Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-04T10:12:22.701Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-04T10:12:22.701Z] 5eb5b503b376: Pulling fs layer [2023-02-04T10:12:22.701Z] 5c69ac0246d0: Pulling fs layer [2023-02-04T10:12:22.701Z] ec43610c2a17: Pulling fs layer [2023-02-04T10:12:22.701Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-04T10:12:22.701Z] 33b1e0a273af: Pulling fs layer [2023-02-04T10:12:22.701Z] 5d3b04190fa2: Pulling fs layer [2023-02-04T10:12:22.701Z] 2f39f015ded8: Pulling fs layer [2023-02-04T10:12:22.701Z] 3a2ae6a8a46f: Waiting [2023-02-04T10:12:22.701Z] 33b1e0a273af: Waiting [2023-02-04T10:12:22.701Z] 5d3b04190fa2: Waiting [2023-02-04T10:12:22.701Z] 2f39f015ded8: Waiting [2023-02-04T10:12:22.701Z] 5c69ac0246d0: Verifying Checksum [2023-02-04T10:12:22.701Z] 5c69ac0246d0: Download complete [2023-02-04T10:12:22.701Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-04T10:12:22.701Z] 3a2ae6a8a46f: Download complete [2023-02-04T10:12:22.964Z] 33b1e0a273af: Verifying Checksum [2023-02-04T10:12:22.964Z] 33b1e0a273af: Download complete [2023-02-04T10:12:22.964Z] 5d3b04190fa2: Download complete [2023-02-04T10:12:22.964Z] ec43610c2a17: Download complete [2023-02-04T10:12:23.223Z] 5eb5b503b376: Download complete [2023-02-04T10:12:23.790Z] 2f39f015ded8: Verifying Checksum [2023-02-04T10:12:23.790Z] 2f39f015ded8: Download complete [2023-02-04T10:12:24.356Z] 5eb5b503b376: Pull complete [2023-02-04T10:12:24.616Z] 5c69ac0246d0: Pull complete [2023-02-04T10:12:24.876Z] ec43610c2a17: Pull complete [2023-02-04T10:12:25.135Z] 3a2ae6a8a46f: Pull complete [2023-02-04T10:12:25.401Z] 33b1e0a273af: Pull complete [2023-02-04T10:12:25.659Z] 5d3b04190fa2: Pull complete [2023-02-04T10:12:29.839Z] 2f39f015ded8: Pull complete [2023-02-04T10:12:29.839Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-04T10:12:29.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-04T10:12:29.839Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:12:30.032Z] prd-ubuntu20.04-docker-8c-8g-4520 does not seem to be running inside a container [2023-02-04T10:12:30.066Z] $ 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-1302 -v /w/workspace/gexfoundry_device-sdk-go_PR-1302:/w/workspace/gexfoundry_device-sdk-go_PR-1302:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1302@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-04T10:12:40.930Z] $ docker top 1eeed6924c92902f10981eb13cad56503d45709d5bbed253b4ffabb8d2be164b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:12:41.353Z] ---> job-cost.sh [2023-02-04T10:12:41.353Z] lf-activate-venv: SKIPPING [2023-02-04T10:12:41.353Z] INFO: No Stack... [2023-02-04T10:12:41.612Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-04T10:12:42.179Z] INFO: Archiving Costs [Pipeline] sh [2023-02-04T10:12:42.498Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1302/archives/cost.csv [2023-02-04T10:12:42.498Z] + cut -d, -f6 [Pipeline] lock [2023-02-04T10:12:42.537Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1302-1-stack-cost] [2023-02-04T10:12:42.542Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1302-1-stack-cost] did not exist. Created. [2023-02-04T10:12:42.542Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1302-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-04T10:12:42.930Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-04T10:12:42.983Z] Stashed 1 file(s) [Pipeline] } [2023-02-04T10:12:43.003Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1302-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-04T10:12:43.081Z] $ docker stop --time=1 1eeed6924c92902f10981eb13cad56503d45709d5bbed253b4ffabb8d2be164b [2023-02-04T10:12:44.449Z] $ docker rm -f --volumes 1eeed6924c92902f10981eb13cad56503d45709d5bbed253b4ffabb8d2be164b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-04T10:13:17.000Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4522 in /w/workspace/gexfoundry_device-sdk-go_PR-1302 [Pipeline] { [Pipeline] ws [2023-02-04T10:13:17.056Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-02-04T10:13:17.133Z] The recommended git tool is: git [2023-02-04T10:13:22.641Z] using credential edgex-jenkins-ssh [2023-02-04T10:13:22.661Z] Cloning the remote Git repository [2023-02-04T10:13:22.710Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-04T10:13:22.785Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-02-04T10:13:22.934Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-04T10:13:22.934Z] > git --version # timeout=10 [2023-02-04T10:13:22.956Z] > git --version # 'git version 2.25.1' [2023-02-04T10:13:22.958Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-04T10:13:23.019Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-04T10:13:24.702Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-04T10:13:24.723Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-04T10:13:25.622Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-04T10:13:25.665Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-04T10:13:25.666Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-04T10:13:25.683Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1302/head:refs/remotes/origin/PR-1302 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-04T10:13:26.252Z] Merging remotes/origin/main commit f7da20bf34cbd31aed01d59c29d04f5a73da2a5d into PR head commit cae7380b165eda21f28a3baae44b333f185a0429 [2023-02-04T10:13:26.518Z] Merge succeeded, producing cae7380b165eda21f28a3baae44b333f185a0429 [2023-02-04T10:13:26.518Z] Checking out Revision cae7380b165eda21f28a3baae44b333f185a0429 (PR-1302) [2023-02-04T10:13:27.096Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" [2023-02-04T10:13:27.155Z] > git --version # timeout=10 [2023-02-04T10:13:27.169Z] > git --version # 'git version 2.25.1' [2023-02-04T10:13:27.186Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-04T10:13:26.274Z] > git config core.sparsecheckout # timeout=10 [2023-02-04T10:13:26.296Z] > git checkout -f cae7380b165eda21f28a3baae44b333f185a0429 # timeout=10 [2023-02-04T10:13:26.416Z] > git remote # timeout=10 [2023-02-04T10:13:26.435Z] > git config --get remote.origin.url # timeout=10 [2023-02-04T10:13:26.455Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-04T10:13:26.471Z] > git merge f7da20bf34cbd31aed01d59c29d04f5a73da2a5d # timeout=10 [2023-02-04T10:13:26.502Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-04T10:13:26.529Z] > git config core.sparsecheckout # timeout=10 [2023-02-04T10:13:26.546Z] > git checkout -f cae7380b165eda21f28a3baae44b333f185a0429 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-04T10:13:28.274Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-04T10:13:28.274Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-04T10:13:28.274Z] Dload Upload Total Spent Left Speed [2023-02-04T10:13:28.274Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh [2023-02-04T10:13:28.962Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-04T10:13:29.308Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-04T10:13:29.308Z] + sudo tee /etc/docker/daemon.new [2023-02-04T10:13:29.308Z] { [2023-02-04T10:13:29.308Z] "registry-mirrors": [ [2023-02-04T10:13:29.308Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-04T10:13:29.308Z] ], [2023-02-04T10:13:29.308Z] "bip": "10.250.0.254/24", [2023-02-04T10:13:29.308Z] "hosts": [ [2023-02-04T10:13:29.308Z] "tcp://0.0.0.0:5555", [2023-02-04T10:13:29.308Z] "unix:///var/run/docker.sock" [2023-02-04T10:13:29.308Z] ], [2023-02-04T10:13:29.308Z] "mtu": 1458, [2023-02-04T10:13:29.308Z] "selinux-enabled": true, [2023-02-04T10:13:29.308Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-04T10:13:29.308Z] } [Pipeline] sh [2023-02-04T10:13:29.659Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-04T10:13:30.012Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-04T10:13:48.386Z] provisioning config files... [2023-02-04T10:13:48.421Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3677095603789548228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:13:48.832Z] ---> docker-login.sh [2023-02-04T10:13:48.832Z] nexus3.edgexfoundry.org:10001 [2023-02-04T10:13:49.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:13:49.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:13:49.425Z] Configure a credential helper to remove this warning. See [2023-02-04T10:13:49.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:13:49.425Z] [2023-02-04T10:13:49.425Z] Login Succeeded [2023-02-04T10:13:49.425Z] nexus3.edgexfoundry.org:10002 [2023-02-04T10:13:49.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:13:49.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:13:49.970Z] Configure a credential helper to remove this warning. See [2023-02-04T10:13:49.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:13:49.970Z] [2023-02-04T10:13:49.970Z] Login Succeeded [2023-02-04T10:13:49.970Z] nexus3.edgexfoundry.org:10003 [2023-02-04T10:13:50.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:13:50.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:13:50.240Z] Configure a credential helper to remove this warning. See [2023-02-04T10:13:50.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:13:50.240Z] [2023-02-04T10:13:50.240Z] Login Succeeded [2023-02-04T10:13:50.240Z] nexus3.edgexfoundry.org:10004 [2023-02-04T10:13:50.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:13:50.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:13:50.787Z] Configure a credential helper to remove this warning. See [2023-02-04T10:13:50.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:13:50.787Z] [2023-02-04T10:13:50.787Z] Login Succeeded [2023-02-04T10:13:50.787Z] docker.io [2023-02-04T10:13:51.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-04T10:13:51.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-04T10:13:51.330Z] Configure a credential helper to remove this warning. See [2023-02-04T10:13:51.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-04T10:13:51.330Z] [2023-02-04T10:13:51.330Z] Login Succeeded [2023-02-04T10:13:51.330Z] ---> docker-login.sh ends [Pipeline] } [2023-02-04T10:13:51.360Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-04T10:13:51.801Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-04T10:13:51.840Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-04T10:13:51.873Z] ========================================================= [2023-02-04T10:13:51.873Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-04T10:13:51.873Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:13:52.381Z] + 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-02-04T10:13:54.350Z] Sending build context to Docker daemon 5.633MB [2023-02-04T10:13:54.350Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-04T10:13:54.350Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-04T10:13:54.639Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-04T10:13:54.640Z] 9b18e9b68314: Pulling fs layer [2023-02-04T10:13:54.640Z] 35d82f9e3411: Pulling fs layer [2023-02-04T10:13:54.640Z] e16973657156: Pulling fs layer [2023-02-04T10:13:54.640Z] fc693d55d65f: Pulling fs layer [2023-02-04T10:13:54.640Z] 7e9fc2657dce: Pulling fs layer [2023-02-04T10:13:54.640Z] dda99020689f: Pulling fs layer [2023-02-04T10:13:54.640Z] db1c61fa0a46: Pulling fs layer [2023-02-04T10:13:54.640Z] 891c053d2c06: Pulling fs layer [2023-02-04T10:13:54.640Z] fc693d55d65f: Waiting [2023-02-04T10:13:54.640Z] dda99020689f: Waiting [2023-02-04T10:13:54.640Z] db1c61fa0a46: Waiting [2023-02-04T10:13:54.640Z] 891c053d2c06: Waiting [2023-02-04T10:13:54.640Z] 7e9fc2657dce: Waiting [2023-02-04T10:13:54.640Z] e16973657156: Verifying Checksum [2023-02-04T10:13:54.640Z] e16973657156: Download complete [2023-02-04T10:13:54.640Z] 35d82f9e3411: Verifying Checksum [2023-02-04T10:13:54.640Z] 35d82f9e3411: Download complete [2023-02-04T10:13:54.640Z] 7e9fc2657dce: Download complete [2023-02-04T10:13:54.640Z] dda99020689f: Download complete [2023-02-04T10:13:54.640Z] 9b18e9b68314: Verifying Checksum [2023-02-04T10:13:54.640Z] 9b18e9b68314: Download complete [2023-02-04T10:13:55.631Z] 9b18e9b68314: Pull complete [2023-02-04T10:13:55.905Z] 891c053d2c06: Verifying Checksum [2023-02-04T10:13:55.905Z] 891c053d2c06: Download complete [2023-02-04T10:13:56.178Z] 35d82f9e3411: Pull complete [2023-02-04T10:13:56.451Z] e16973657156: Pull complete [2023-02-04T10:13:57.046Z] db1c61fa0a46: Verifying Checksum [2023-02-04T10:13:57.046Z] db1c61fa0a46: Download complete [2023-02-04T10:13:58.017Z] fc693d55d65f: Verifying Checksum [2023-02-04T10:13:58.017Z] fc693d55d65f: Download complete [2023-02-04T10:14:10.404Z] fc693d55d65f: Pull complete [2023-02-04T10:14:10.404Z] 7e9fc2657dce: Pull complete [2023-02-04T10:14:10.404Z] dda99020689f: Pull complete [2023-02-04T10:14:18.775Z] db1c61fa0a46: Pull complete [2023-02-04T10:14:20.194Z] 891c053d2c06: Pull complete [2023-02-04T10:14:20.194Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-04T10:14:20.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-04T10:14:20.194Z] ---> f96f9c87975a [2023-02-04T10:14:20.194Z] Step 3/10 : ARG MAKE=make build [2023-02-04T10:14:22.163Z] ---> Running in f5e8e2d0ed42 [2023-02-04T10:14:22.163Z] Removing intermediate container f5e8e2d0ed42 [2023-02-04T10:14:22.163Z] ---> 31b76408feef [2023-02-04T10:14:22.163Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-04T10:14:22.435Z] ---> Running in b0e008477126 [2023-02-04T10:14:22.704Z] Removing intermediate container b0e008477126 [2023-02-04T10:14:22.704Z] ---> f0206a767071 [2023-02-04T10:14:22.704Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-04T10:14:22.704Z] ---> Running in 1861ccf63924 [2023-02-04T10:14:22.973Z] Removing intermediate container 1861ccf63924 [2023-02-04T10:14:22.973Z] ---> 86b8ae2d2fa1 [2023-02-04T10:14:22.973Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-04T10:14:23.243Z] ---> Running in 052ec754860c [2023-02-04T10:14:24.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-04T10:14:24.806Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-04T10:14:25.779Z] OK: 221 MiB in 51 packages [2023-02-04T10:14:26.753Z] Removing intermediate container 052ec754860c [2023-02-04T10:14:26.753Z] ---> d58aa44ccd18 [2023-02-04T10:14:26.753Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-04T10:14:27.340Z] ---> a29df16a4f4a [2023-02-04T10:14:27.340Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-04T10:14:27.340Z] ---> Running in 96f75d258259 [2023-02-04T10:15:35.251Z] Removing intermediate container 96f75d258259 [2023-02-04T10:15:35.251Z] ---> 74931b3d5d17 [2023-02-04T10:15:35.251Z] Step 9/10 : COPY . . [2023-02-04T10:15:35.251Z] ---> ce2294195340 [2023-02-04T10:15:35.251Z] Step 10/10 : RUN ${MAKE} [2023-02-04T10:15:35.251Z] ---> Running in 0301be2d5c1e [2023-02-04T10:15:35.251Z] noop [2023-02-04T10:15:35.251Z] Removing intermediate container 0301be2d5c1e [2023-02-04T10:15:35.251Z] ---> 4609791e1e84 [2023-02-04T10:15:35.251Z] Successfully built 4609791e1e84 [2023-02-04T10:15:35.251Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:15:35.743Z] + docker inspect -f . ci-base-image-arm64 [2023-02-04T10:15:35.743Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:15:36.014Z] prd-ubuntu20.04-docker-arm64-4c-16g-4522 does not seem to be running inside a container [2023-02-04T10:15:36.078Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-04T10:15:37.237Z] $ docker top d11a3e786633ae0f6399a352c6dcade0fc37d0e5a1e0cb2c7389c16bd495927f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-04T10:15:38.111Z] + go version [2023-02-04T10:15:38.111Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-04T10:15:38.148Z] $ docker stop --time=1 d11a3e786633ae0f6399a352c6dcade0fc37d0e5a1e0cb2c7389c16bd495927f [2023-02-04T10:15:39.748Z] $ docker rm -f --volumes d11a3e786633ae0f6399a352c6dcade0fc37d0e5a1e0cb2c7389c16bd495927f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:15:40.584Z] + docker inspect -f . ci-base-image-arm64 [2023-02-04T10:15:40.584Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:15:40.831Z] prd-ubuntu20.04-docker-arm64-4c-16g-4522 does not seem to be running inside a container [2023-02-04T10:15:40.895Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-04T10:15:42.008Z] $ docker top 13efbc05e4e82a76799330b74776d1bcc0c8a632fb63fd86cdfbe73031d40981 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-04T10:15:42.564Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-04T10:15:42.950Z] + make test [2023-02-04T10:15:43.218Z] go test -race -coverprofile=coverage.out ./... [2023-02-04T10:16:15.454Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-04T10:18:22.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-04T10:18:22.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-04T10:18:22.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-04T10:18:22.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-04T10:18:22.151Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-04T10:18:22.421Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.346s coverage: 27.6% of statements [2023-02-04T10:18:23.860Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.545s coverage: 78.9% of statements [2023-02-04T10:18:23.860Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-04T10:18:24.447Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.488s coverage: 70.2% of statements [2023-02-04T10:18:24.447Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-04T10:18:24.447Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-04T10:18:36.835Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.921s coverage: 59.8% of statements [2023-02-04T10:18:36.835Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-04T10:18:36.835Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-04T10:18:36.835Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-04T10:18:36.835Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.471s coverage: 65.1% of statements [2023-02-04T10:18:36.835Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-04T10:18:36.835Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-04T10:18:36.835Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 5.060s coverage: 89.2% of statements [2023-02-04T10:18:36.835Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-04T10:18:36.835Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.603s coverage: 4.7% of statements [2023-02-04T10:18:36.835Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-04T10:18:36.835Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-04T10:18:36.835Z] GO111MODULE=on go vet ./... [2023-02-04T10:20:13.500Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-04T10:20:13.500Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-04T10:20:13.500Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-04T10:20:13.541Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-04T10:20:13.570Z] $ docker stop --time=1 13efbc05e4e82a76799330b74776d1bcc0c8a632fb63fd86cdfbe73031d40981 [2023-02-04T10:20:15.365Z] $ docker rm -f --volumes 13efbc05e4e82a76799330b74776d1bcc0c8a632fb63fd86cdfbe73031d40981 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-04T10:20:16.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-04T10:20:16.772Z] Warning: overwriting stash ‘coverage-report’ [2023-02-04T10:20:17.325Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-04T10:20:17.890Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-04T10:20:18.227Z] + ls -al . [2023-02-04T10:20:18.227Z] total 268 [2023-02-04T10:20:18.227Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 4 10:15 . [2023-02-04T10:20:18.227Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 10:13 .. [2023-02-04T10:20:18.227Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 4 10:13 .dockerignore [2023-02-04T10:20:18.227Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 4 10:13 .git [2023-02-04T10:20:18.227Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 10:13 .github [2023-02-04T10:20:18.227Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 4 10:13 .gitignore [2023-02-04T10:20:18.227Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 4 10:13 .golangci.yml [2023-02-04T10:20:18.227Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 4 10:13 CHANGELOG.md [2023-02-04T10:20:18.227Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 4 10:13 GOVERNANCE.md [2023-02-04T10:20:18.227Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 4 10:13 Jenkinsfile [2023-02-04T10:20:18.227Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 4 10:13 LICENSE [2023-02-04T10:20:18.227Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 4 10:13 Makefile [2023-02-04T10:20:18.227Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 4 10:13 OWNERS.md [2023-02-04T10:20:18.227Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 4 10:13 README.md [2023-02-04T10:20:18.227Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 4 10:09 VERSION [2023-02-04T10:20:18.227Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 10:13 bin [2023-02-04T10:20:18.227Z] -rw-r--r-- 1 jenkins jenkins 99762 Feb 4 10:18 coverage.out [2023-02-04T10:20:18.227Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 4 10:13 example [2023-02-04T10:20:18.227Z] -rw-rw-r-- 1 jenkins jenkins 3264 Feb 4 10:13 go.mod [2023-02-04T10:20:18.227Z] -rw-rw-r-- 1 jenkins jenkins 32817 Feb 4 10:13 go.sum [2023-02-04T10:20:18.227Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 4 10:13 internal [2023-02-04T10:20:18.227Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 4 10:13 openapi [2023-02-04T10:20:18.227Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 4 10:13 pkg [2023-02-04T10:20:18.227Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 10:13 snap [2023-02-04T10:20:18.227Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 4 10:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:20:18.648Z] + 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=cae7380b165eda21f28a3baae44b333f185a0429 --label arch=arm64 --label version=0.0.0 . [2023-02-04T10:20:18.916Z] Sending build context to Docker daemon 5.733MB [2023-02-04T10:20:19.183Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-04T10:20:19.183Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-04T10:20:19.183Z] ---> 4609791e1e84 [2023-02-04T10:20:19.183Z] Step 3/23 : ARG MAKE=make build [2023-02-04T10:20:19.183Z] ---> Running in b909a3dec283 [2023-02-04T10:20:19.451Z] Removing intermediate container b909a3dec283 [2023-02-04T10:20:19.451Z] ---> c0aed15e3ba7 [2023-02-04T10:20:19.451Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-04T10:20:19.451Z] ---> Running in 5195cfffd3ef [2023-02-04T10:20:19.717Z] Removing intermediate container 5195cfffd3ef [2023-02-04T10:20:19.717Z] ---> 52a7ee1fc948 [2023-02-04T10:20:19.717Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-04T10:20:19.982Z] ---> Running in 5d7b7b7ac443 [2023-02-04T10:20:20.250Z] Removing intermediate container 5d7b7b7ac443 [2023-02-04T10:20:20.250Z] ---> 73264b85135a [2023-02-04T10:20:20.250Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-04T10:20:20.250Z] ---> Running in bc85d5ebe06e [2023-02-04T10:20:21.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-04T10:20:21.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-04T10:20:22.896Z] OK: 221 MiB in 51 packages [2023-02-04T10:20:23.482Z] Removing intermediate container bc85d5ebe06e [2023-02-04T10:20:23.482Z] ---> 473478e7bdac [2023-02-04T10:20:23.482Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-04T10:20:24.067Z] ---> 71f0484c24ac [2023-02-04T10:20:24.067Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-04T10:20:24.067Z] ---> Running in f2935c7c67fa [2023-02-04T10:20:26.652Z] Removing intermediate container f2935c7c67fa [2023-02-04T10:20:26.652Z] ---> 8d2d9c000c2b [2023-02-04T10:20:26.652Z] Step 9/23 : COPY . . [2023-02-04T10:20:27.611Z] ---> f25cd08a488f [2023-02-04T10:20:27.611Z] Step 10/23 : RUN ${MAKE} [2023-02-04T10:20:27.877Z] ---> Running in e96d36af9d1b [2023-02-04T10:20:28.833Z] 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-02-04T10:22:35.515Z] Removing intermediate container e96d36af9d1b [2023-02-04T10:22:35.515Z] ---> 860604e21808 [2023-02-04T10:22:35.515Z] Step 11/23 : FROM alpine:3.16 [2023-02-04T10:22:35.515Z] 3.16: Pulling from library/alpine [2023-02-04T10:22:35.515Z] 6875df1f5354: Pulling fs layer [2023-02-04T10:22:35.515Z] 6875df1f5354: Verifying Checksum [2023-02-04T10:22:35.515Z] 6875df1f5354: Download complete [2023-02-04T10:22:35.515Z] 6875df1f5354: Pull complete [2023-02-04T10:22:35.515Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-04T10:22:35.515Z] Status: Downloaded newer image for alpine:3.16 [2023-02-04T10:22:35.515Z] ---> 2b4661558fb8 [2023-02-04T10:22:35.516Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-04T10:22:35.516Z] ---> Running in 2b2028836155 [2023-02-04T10:22:35.516Z] Removing intermediate container 2b2028836155 [2023-02-04T10:22:35.516Z] ---> 4409d6fcc1fa [2023-02-04T10:22:35.516Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-04T10:22:35.516Z] ---> Running in af1084e231f2 [2023-02-04T10:22:35.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-04T10:22:35.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-04T10:22:35.516Z] OK: 5 MiB in 14 packages [2023-02-04T10:22:35.516Z] Removing intermediate container af1084e231f2 [2023-02-04T10:22:35.516Z] ---> bbd8c8c45260 [2023-02-04T10:22:35.516Z] Step 14/23 : WORKDIR / [2023-02-04T10:22:35.516Z] ---> Running in 5e04ff9396a9 [2023-02-04T10:22:35.516Z] Removing intermediate container 5e04ff9396a9 [2023-02-04T10:22:35.516Z] ---> e24805cf322e [2023-02-04T10:22:35.516Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-04T10:22:35.516Z] ---> 280138009200 [2023-02-04T10:22:35.516Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-04T10:22:35.516Z] ---> 5b3da4d860f1 [2023-02-04T10:22:35.516Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-04T10:22:35.516Z] ---> f80b7d3cadc0 [2023-02-04T10:22:35.516Z] Step 18/23 : EXPOSE 59999 [2023-02-04T10:22:35.516Z] ---> Running in f36254d87330 [2023-02-04T10:22:35.516Z] Removing intermediate container f36254d87330 [2023-02-04T10:22:35.516Z] ---> d23edbb162e8 [2023-02-04T10:22:35.516Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-04T10:22:35.516Z] ---> Running in 54a36df0526a [2023-02-04T10:22:35.516Z] Removing intermediate container 54a36df0526a [2023-02-04T10:22:35.516Z] ---> 3e01283025d4 [2023-02-04T10:22:35.516Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-04T10:22:35.516Z] ---> Running in 9dd496862c76 [2023-02-04T10:22:35.516Z] Removing intermediate container 9dd496862c76 [2023-02-04T10:22:35.516Z] ---> 6b85a9ddfda9 [2023-02-04T10:22:35.516Z] Step 21/23 : LABEL arch=arm64 [2023-02-04T10:22:35.516Z] ---> Running in c2092046a01b [2023-02-04T10:22:35.516Z] Removing intermediate container c2092046a01b [2023-02-04T10:22:35.516Z] ---> 3dd3e7193231 [2023-02-04T10:22:35.516Z] Step 22/23 : LABEL git_sha=cae7380b165eda21f28a3baae44b333f185a0429 [2023-02-04T10:22:35.516Z] ---> Running in 4480cc0cc12a [2023-02-04T10:22:35.516Z] Removing intermediate container 4480cc0cc12a [2023-02-04T10:22:35.516Z] ---> 6d463b4bb671 [2023-02-04T10:22:35.516Z] Step 23/23 : LABEL version=0.0.0 [2023-02-04T10:22:35.516Z] ---> Running in 6e6e962c28c1 [2023-02-04T10:22:35.516Z] Removing intermediate container 6e6e962c28c1 [2023-02-04T10:22:35.516Z] ---> a87d6c13f986 [2023-02-04T10:22:35.516Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-04T10:22:35.516Z] Successfully built a87d6c13f986 [2023-02-04T10:22:35.516Z] 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-02-04T10:22:36.358Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-04T10:22:36.358Z] [2023-02-04T10:22:36.358Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:22:36.764Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-04T10:22:36.764Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-04T10:22:36.764Z] 8998bd30e6a1: Pulling fs layer [2023-02-04T10:22:36.764Z] 04944245beec: Pulling fs layer [2023-02-04T10:22:36.764Z] 699f458cf7ca: Pulling fs layer [2023-02-04T10:22:36.764Z] 765212b225bb: Pulling fs layer [2023-02-04T10:22:36.764Z] f23df028b6ca: Pulling fs layer [2023-02-04T10:22:36.764Z] d65c8cfc05b1: Pulling fs layer [2023-02-04T10:22:36.764Z] 2437ff75d9bd: Pulling fs layer [2023-02-04T10:22:36.764Z] f23df028b6ca: Waiting [2023-02-04T10:22:36.764Z] d65c8cfc05b1: Waiting [2023-02-04T10:22:36.764Z] 765212b225bb: Waiting [2023-02-04T10:22:36.764Z] 2437ff75d9bd: Waiting [2023-02-04T10:22:37.031Z] 04944245beec: Verifying Checksum [2023-02-04T10:22:37.031Z] 04944245beec: Download complete [2023-02-04T10:22:37.031Z] 765212b225bb: Verifying Checksum [2023-02-04T10:22:37.031Z] 765212b225bb: Download complete [2023-02-04T10:22:37.031Z] f23df028b6ca: Verifying Checksum [2023-02-04T10:22:37.031Z] f23df028b6ca: Download complete [2023-02-04T10:22:37.031Z] d65c8cfc05b1: Verifying Checksum [2023-02-04T10:22:37.031Z] d65c8cfc05b1: Download complete [2023-02-04T10:22:37.301Z] 699f458cf7ca: Verifying Checksum [2023-02-04T10:22:37.301Z] 699f458cf7ca: Download complete [2023-02-04T10:22:37.566Z] 8998bd30e6a1: Verifying Checksum [2023-02-04T10:22:37.566Z] 8998bd30e6a1: Download complete [2023-02-04T10:22:39.623Z] 2437ff75d9bd: Verifying Checksum [2023-02-04T10:22:39.623Z] 2437ff75d9bd: Download complete [2023-02-04T10:22:41.611Z] 8998bd30e6a1: Pull complete [2023-02-04T10:22:41.889Z] 04944245beec: Pull complete [2023-02-04T10:22:42.844Z] 699f458cf7ca: Pull complete [2023-02-04T10:22:43.109Z] 765212b225bb: Pull complete [2023-02-04T10:22:43.689Z] f23df028b6ca: Pull complete [2023-02-04T10:22:43.953Z] d65c8cfc05b1: Pull complete [2023-02-04T10:22:56.244Z] 2437ff75d9bd: Pull complete [2023-02-04T10:22:56.244Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-04T10:22:56.245Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-04T10:22:56.245Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:22:56.551Z] prd-ubuntu20.04-docker-arm64-4c-16g-4522 does not seem to be running inside a container [2023-02-04T10:22:56.608Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-04T10:22:59.083Z] $ docker top bbe0cfff9f8c5decdb6298e25cc01b874028137ee92845b6c45480cd1b3a5e90 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:22:59.626Z] ---> job-cost.sh [2023-02-04T10:22:59.892Z] lf-activate-venv: SKIPPING [2023-02-04T10:22:59.892Z] INFO: No Stack... [2023-02-04T10:23:00.473Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-04T10:23:01.053Z] INFO: Archiving Costs [Pipeline] sh [2023-02-04T10:23:01.402Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-02-04T10:23:01.402Z] + cut -d, -f6 [Pipeline] lock [2023-02-04T10:23:01.745Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1302-1-stack-cost] [2023-02-04T10:23:01.750Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1302-1-stack-cost] did not exist. Created. [2023-02-04T10:23:01.750Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1302-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-04T10:23:02.151Z] /w/workspace/device-sdk-go/1@tmp/durable-08240d3d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-04T10:23:02.494Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-04T10:23:02.528Z] Warning: overwriting stash ‘stack-cost’ [2023-02-04T10:23:02.586Z] Stashed 1 file(s) [Pipeline] } [2023-02-04T10:23:02.600Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1302-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-04T10:23:02.660Z] $ docker stop --time=1 bbe0cfff9f8c5decdb6298e25cc01b874028137ee92845b6c45480cd1b3a5e90 [2023-02-04T10:23:04.105Z] $ docker rm -f --volumes bbe0cfff9f8c5decdb6298e25cc01b874028137ee92845b6c45480cd1b3a5e90 [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-02-04T10:23:05.074Z] provisioning config files... [2023-02-04T10:23:05.080Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1302@tmp/config12332476493422227165tmp [Pipeline] { [Pipeline] sh [2023-02-04T10:23:05.417Z] + set +x [2023-02-04T10:23:05.417Z] + curl -s https://codecov.io/bash [2023-02-04T10:23:05.417Z] + bash -s -- [2023-02-04T10:23:05.417Z] [2023-02-04T10:23:05.417Z] _____ _ [2023-02-04T10:23:05.417Z] / ____| | | [2023-02-04T10:23:05.417Z] | | ___ __| | ___ ___ _____ __ [2023-02-04T10:23:05.417Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-04T10:23:05.417Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-04T10:23:05.417Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-04T10:23:05.417Z] Bash-1.0.6 [2023-02-04T10:23:05.417Z] [2023-02-04T10:23:05.417Z] [2023-02-04T10:23:05.417Z] ==> git version 2.25.1 found [2023-02-04T10:23:05.417Z] ==> 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-02-04T10:23:05.417Z] Release-Date: 2020-01-08 [2023-02-04T10:23:05.417Z] 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-02-04T10:23:05.417Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-04T10:23:05.417Z] ==> Jenkins CI detected. [2023-02-04T10:23:05.417Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1302 [2023-02-04T10:23:05.417Z] project root: . [2023-02-04T10:23:05.417Z] --> token set from env [2023-02-04T10:23:05.417Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-04T10:23:05.417Z] ==> Running gcov in . (disable via -X gcov) [2023-02-04T10:23:05.417Z] ==> Python coveragepy not found [2023-02-04T10:23:05.417Z] ==> Searching for coverage reports in: [2023-02-04T10:23:05.417Z] + . [2023-02-04T10:23:05.417Z] -> Found 1 reports [2023-02-04T10:23:05.417Z] ==> Detecting git/mercurial file structure [2023-02-04T10:23:05.417Z] ==> Reading reports [2023-02-04T10:23:05.417Z] + ./coverage.out bytes=99762 [2023-02-04T10:23:06.321Z] ==> Appending adjustments [2023-02-04T10:23:06.321Z] https://docs.codecov.io/docs/fixing-reports [2023-02-04T10:23:06.321Z] + Found adjustments [2023-02-04T10:23:06.321Z] ==> Gzipping contents [2023-02-04T10:23:06.321Z] 16K /tmp/codecov.eaL5Ft.gz [2023-02-04T10:23:06.321Z] ==> Uploading reports [2023-02-04T10:23:06.321Z] url: https://codecov.io [2023-02-04T10:23:06.321Z] query: branch=PR-1302&commit=cae7380b165eda21f28a3baae44b333f185a0429&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1302%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1302&job=&cmd_args= [2023-02-04T10:23:06.321Z] -> Pinging Codecov [2023-02-04T10:23:06.321Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1302&commit=cae7380b165eda21f28a3baae44b333f185a0429&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1302%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1302&job=&cmd_args= [2023-02-04T10:23:07.058Z] -> Uploading to [2023-02-04T10:23:07.058Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-04/7E55EF52A471D76F132DFD9A03CDDE97/cae7380b165eda21f28a3baae44b333f185a0429/4bd56a45-c1e8-482b-a47c-587608d73366.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230204%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230204T102306Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6e796ea9c3000c3b57caf9c11ac44651870e08812218f9053a6b13d25560385b [2023-02-04T10:23:07.058Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-04T10:23:07.058Z] Dload Upload Total Spent Left Speed [2023-02-04T10:23:07.317Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14436 0 0 100 14436 0 54475 --:--:-- --:--:-- --:--:-- 54475 [2023-02-04T10:23:07.317Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/cae7380b165eda21f28a3baae44b333f185a0429 [Pipeline] } [2023-02-04T10:23:07.344Z] 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-02-04T10:23:09.097Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1302/archives ] [2023-02-04T10:23:09.097Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1302/archives [2023-02-04T10:23:09.097Z] total 16 [2023-02-04T10:23:09.097Z] drwxr-xr-x 3 root root 4096 Feb 4 10:12 . [2023-02-04T10:23:09.097Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 4 10:12 .. [2023-02-04T10:23:09.097Z] drwxr-xr-x 2 root root 4096 Feb 4 10:12 cost [2023-02-04T10:23:09.097Z] -rw-r--r-- 1 root root 86 Feb 4 10:12 cost.csv [2023-02-04T10:23:09.097Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1302/archives [2023-02-04T10:23:09.097Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1302/archives [2023-02-04T10:23:09.097Z] total 16 [2023-02-04T10:23:09.097Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 4 10:12 . [2023-02-04T10:23:09.097Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 4 10:12 .. [2023-02-04T10:23:09.097Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 4 10:12 cost [2023-02-04T10:23:09.097Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 4 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:23:09.439Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:23:10.325Z] ---> package-listing.sh [2023-02-04T10:23:10.325Z] ++ facter osfamily [2023-02-04T10:23:10.325Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-04T10:23:10.585Z] + OS_FAMILY=debian [2023-02-04T10:23:10.585Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1302 [2023-02-04T10:23:10.585Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-04T10:23:10.585Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-04T10:23:10.585Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-04T10:23:10.585Z] + PACKAGES=/tmp/packages_start.txt [2023-02-04T10:23:10.585Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1302 ']' [2023-02-04T10:23:10.585Z] + PACKAGES=/tmp/packages_end.txt [2023-02-04T10:23:10.585Z] + case "${OS_FAMILY}" in [2023-02-04T10:23:10.585Z] + dpkg -l [2023-02-04T10:23:10.585Z] + grep '^ii' [2023-02-04T10:23:10.585Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-04T10:23:10.585Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-04T10:23:10.585Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-04T10:23:10.585Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1302 ']' [2023-02-04T10:23:10.585Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1302/archives/ [2023-02-04T10:23:10.585Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1302/archives/ [Pipeline] echo [2023-02-04T10:23:10.617Z] 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-1302/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-04T10:23:10.911Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-04T10:23:11.537Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-04T10:23:11.537Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-04T10:23:11.680Z] prd-ubuntu20.04-docker-8c-8g-4520 does not seem to be running inside a container [2023-02-04T10:23:11.947Z] $ 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-1302/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-1302 -v /w/workspace/gexfoundry_device-sdk-go_PR-1302:/w/workspace/gexfoundry_device-sdk-go_PR-1302:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1302@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-04T10:23:12.677Z] $ docker top 7fb690439f2acab96cf009bef1081815b43c68c2a1c1b1c0ff8d58f421af9f0c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-04T10:23:13.064Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-04T10:23:13.380Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-04T10:23:13.696Z] + ls /var/log/sa-host [2023-02-04T10:23:13.696Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-04T10:23:13.918Z] provisioning config files... [2023-02-04T10:23:13.927Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1302@tmp/config4654976472430762292tmp [Pipeline] { [Pipeline] echo [2023-02-04T10:23:13.979Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:23:14.294Z] ---> create-netrc.sh [Pipeline] } [2023-02-04T10:23:14.321Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:23:14.731Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-04T10:23:14.762Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:23:15.076Z] ---> sudo-logs.sh [2023-02-04T10:23:15.076Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-04T10:23:15.167Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:23:15.480Z] ---> job-cost.sh [2023-02-04T10:23:15.480Z] lf-activate-venv: SKIPPING [2023-02-04T10:23:15.480Z] DEBUG: total: 0.2199999988079071 [2023-02-04T10:23:15.480Z] INFO: Retrieving Stack Cost... [2023-02-04T10:23:15.739Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-04T10:23:16.307Z] INFO: Archiving Costs [Pipeline] echo [2023-02-04T10:23:16.345Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-04T10:23:16.662Z] ---> logs-deploy.sh [2023-02-04T10:23:16.663Z] lf-activate-venv: SKIPPING [2023-02-04T10:23:16.663Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1302/1 [2023-02-04T10:23:16.663Z] INFO: archiving workspace using pattern(s): [2023-02-04T10:23:17.600Z] Archives upload complete. [2023-02-04T10:23:17.600Z] INFO: archiving logs to Nexus