Pull request #1321 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 8b9fd5bc22bc5ff949621087fe72c38333f95112 rather than 408b6968c03ac3e1d14e96eb72eae9fe4493d621 Obtained Jenkinsfile from 8b9fd5bc22bc5ff949621087fe72c38333f95112 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-ssh3026638902194625842.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-ssh13681934329840209502.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-1321/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-1321/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh933442112651036397.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-1321/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8469798081999598731.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-ssh1039112777840907452.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-1321/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-1321/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16702338261898960774.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5923 in /w/workspace/gexfoundry_device-sdk-go_PR-1321 [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-1321 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1321/head:refs/remotes/origin/PR-1321 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8b9fd5bc22bc5ff949621087fe72c38333f95112 into PR head commit 408b6968c03ac3e1d14e96eb72eae9fe4493d621 Merge succeeded, producing 408b6968c03ac3e1d14e96eb72eae9fe4493d621 Checking out Revision 408b6968c03ac3e1d14e96eb72eae9fe4493d621 (PR-1321) > git config core.sparsecheckout # timeout=10 > git checkout -f 408b6968c03ac3e1d14e96eb72eae9fe4493d621 # 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 8b9fd5bc22bc5ff949621087fe72c38333f95112 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 408b6968c03ac3e1d14e96eb72eae9fe4493d621 # timeout=10 Commit message: "fix: Update swagger to match latest changes in go-mod-contracts dtos common SecretRequest" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-14T23:53:47.552Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-14T23:53:47.733Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-14T23:53:47.826Z] ========================================================= [2023-02-14T23:53:47.826Z] EdgeX Global Pipelines Version Info [2023-02-14T23:53:47.826Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-14T23:53:49.907Z] ------------------- [2023-02-14T23:53:49.907Z] stable info: [2023-02-14T23:53:49.907Z] ------------------- [2023-02-14T23:53:49.907Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-14T23:53:49.907Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T23:53:49.907Z] Message: update stable to v1.0.244 [2023-02-14T23:53:50.169Z] ------------------- [2023-02-14T23:53:50.169Z] experimental info: [2023-02-14T23:53:50.169Z] ------------------- [2023-02-14T23:53:50.169Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-14T23:53:50.169Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T23:53:50.169Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-14T23:53:50.454Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-14T23:53:50.495Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-14T23:53:50.536Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-14T23:53:50.573Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-14T23:53:50.612Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-14T23:53:50.652Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-14T23:53:50.692Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-14T23:53:50.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-14T23:53:50.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-14T23:53:50.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-14T23:53:50.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-14T23:53:50.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-14T23:53:50.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-14T23:53:50.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-14T23:53:51.001Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-14T23:53:51.042Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T23:53:51.082Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T23:53:51.124Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T23:53:51.170Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-14T23:53:51.213Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-14T23:53:51.247Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-14T23:53:51.284Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-14T23:53:51.320Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-14T23:53:51.357Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-14T23:53:51.394Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-14T23:53:51.436Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-14T23:53:51.478Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-14T23:53:51.516Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1321 [Pipeline] echo [2023-02-14T23:53:51.557Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1321 [Pipeline] echo [2023-02-14T23:53:51.594Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1321 [Pipeline] echo [2023-02-14T23:53:51.631Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 408b6968c03ac3e1d14e96eb72eae9fe4493d621 [Pipeline] echo [2023-02-14T23:53:51.668Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 408b696 [Pipeline] echo [2023-02-14T23:53:51.708Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T23:53:51.820Z] provisioning config files... [2023-02-14T23:53:51.840Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/config12637327494488755681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T23:53:52.189Z] ---> docker-login.sh [2023-02-14T23:53:52.189Z] nexus3.edgexfoundry.org:10001 [2023-02-14T23:53:52.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:53:52.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:53:52.448Z] Configure a credential helper to remove this warning. See [2023-02-14T23:53:52.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:53:52.448Z] [2023-02-14T23:53:52.448Z] Login Succeeded [2023-02-14T23:53:52.448Z] nexus3.edgexfoundry.org:10002 [2023-02-14T23:53:52.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:53:52.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:53:52.448Z] Configure a credential helper to remove this warning. See [2023-02-14T23:53:52.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:53:52.448Z] [2023-02-14T23:53:52.448Z] Login Succeeded [2023-02-14T23:53:52.448Z] nexus3.edgexfoundry.org:10003 [2023-02-14T23:53:52.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:53:52.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:53:52.708Z] Configure a credential helper to remove this warning. See [2023-02-14T23:53:52.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:53:52.708Z] [2023-02-14T23:53:52.708Z] Login Succeeded [2023-02-14T23:53:52.708Z] nexus3.edgexfoundry.org:10004 [2023-02-14T23:53:52.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:53:52.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:53:52.708Z] Configure a credential helper to remove this warning. See [2023-02-14T23:53:52.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:53:52.709Z] [2023-02-14T23:53:52.709Z] Login Succeeded [2023-02-14T23:53:52.709Z] docker.io [2023-02-14T23:53:52.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:53:53.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:53:53.229Z] Configure a credential helper to remove this warning. See [2023-02-14T23:53:53.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:53:53.229Z] [2023-02-14T23:53:53.229Z] Login Succeeded [2023-02-14T23:53:53.229Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T23:53:53.257Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-14T23:53:53.877Z] + git rev-list -1 --merges 408b6968c03ac3e1d14e96eb72eae9fe4493d621~1..408b6968c03ac3e1d14e96eb72eae9fe4493d621 [Pipeline] echo [2023-02-14T23:53:53.950Z] -----------> git rev-list -1 --merges 408b6968c03ac3e1d14e96eb72eae9fe4493d621~1..408b6968c03ac3e1d14e96eb72eae9fe4493d621 408b6968c03ac3e1d14e96eb72eae9fe4493d621 [false] [Pipeline] sh [2023-02-14T23:53:54.256Z] + git log --format=format:%s -1 408b6968c03ac3e1d14e96eb72eae9fe4493d621 [Pipeline] echo [2023-02-14T23:53:54.290Z] ========================================================= [2023-02-14T23:53:54.290Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-14T23:53:54.290Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T23:53:54.733Z] + git log --format=format:%s -1 408b6968c03ac3e1d14e96eb72eae9fe4493d621 [Pipeline] echo [2023-02-14T23:53:54.764Z] [semverPrep] GIT_COMMIT: 408b6968c03ac3e1d14e96eb72eae9fe4493d621, Commit Message: fix: Update swagger to match latest changes in go-mod-contracts dtos common SecretRequest [Pipeline] echo [2023-02-14T23:53:54.794Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-14T23:53:55.211Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-14T23:53:55.211Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-14T23:53:55.211Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-14T23:53:55.211Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-14T23:53:55.211Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-14T23:53:55.211Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-14T23:53:55.211Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:53:55.645Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T23:53:55.645Z] [2023-02-14T23:53:55.645Z] 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-14T23:53:56.023Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T23:53:56.023Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-14T23:53:56.023Z] b85a868b505f: Pulling fs layer [2023-02-14T23:53:56.023Z] e2be974225ed: Pulling fs layer [2023-02-14T23:53:56.023Z] 339a4e72a1f5: Pulling fs layer [2023-02-14T23:53:56.023Z] 988bab9f4d93: Pulling fs layer [2023-02-14T23:53:56.023Z] 1469e6f7b9e6: Pulling fs layer [2023-02-14T23:53:56.023Z] eaf3925da568: Pulling fs layer [2023-02-14T23:53:56.023Z] bab4dde63d76: Pulling fs layer [2023-02-14T23:53:56.023Z] bde34c3a00c8: Pulling fs layer [2023-02-14T23:53:56.023Z] b352a97aabf1: Pulling fs layer [2023-02-14T23:53:56.023Z] 4872d77fe225: Pulling fs layer [2023-02-14T23:53:56.023Z] 5851b861e8e6: Pulling fs layer [2023-02-14T23:53:56.023Z] 1469e6f7b9e6: Waiting [2023-02-14T23:53:56.023Z] eaf3925da568: Waiting [2023-02-14T23:53:56.023Z] bab4dde63d76: Waiting [2023-02-14T23:53:56.023Z] bde34c3a00c8: Waiting [2023-02-14T23:53:56.023Z] b352a97aabf1: Waiting [2023-02-14T23:53:56.023Z] 4872d77fe225: Waiting [2023-02-14T23:53:56.023Z] 988bab9f4d93: Waiting [2023-02-14T23:53:56.023Z] e2be974225ed: Verifying Checksum [2023-02-14T23:53:56.023Z] e2be974225ed: Download complete [2023-02-14T23:53:56.023Z] 988bab9f4d93: Verifying Checksum [2023-02-14T23:53:56.023Z] 988bab9f4d93: Download complete [2023-02-14T23:53:56.287Z] 1469e6f7b9e6: Download complete [2023-02-14T23:53:56.287Z] eaf3925da568: Verifying Checksum [2023-02-14T23:53:56.287Z] eaf3925da568: Download complete [2023-02-14T23:53:56.287Z] 339a4e72a1f5: Verifying Checksum [2023-02-14T23:53:56.287Z] 339a4e72a1f5: Download complete [2023-02-14T23:53:56.287Z] bde34c3a00c8: Verifying Checksum [2023-02-14T23:53:56.287Z] bde34c3a00c8: Download complete [2023-02-14T23:53:56.550Z] b352a97aabf1: Download complete [2023-02-14T23:53:56.550Z] 4872d77fe225: Verifying Checksum [2023-02-14T23:53:56.550Z] 4872d77fe225: Download complete [2023-02-14T23:53:56.550Z] 5851b861e8e6: Verifying Checksum [2023-02-14T23:53:56.550Z] 5851b861e8e6: Download complete [2023-02-14T23:53:56.550Z] b85a868b505f: Verifying Checksum [2023-02-14T23:53:56.550Z] b85a868b505f: Download complete [2023-02-14T23:53:56.808Z] bab4dde63d76: Verifying Checksum [2023-02-14T23:53:56.808Z] bab4dde63d76: Download complete [2023-02-14T23:53:58.186Z] b85a868b505f: Pull complete [2023-02-14T23:53:58.186Z] e2be974225ed: Pull complete [2023-02-14T23:53:58.445Z] 339a4e72a1f5: Pull complete [2023-02-14T23:53:58.704Z] 988bab9f4d93: Pull complete [2023-02-14T23:53:58.963Z] 1469e6f7b9e6: Pull complete [2023-02-14T23:53:58.963Z] eaf3925da568: Pull complete [2023-02-14T23:54:00.869Z] bab4dde63d76: Pull complete [2023-02-14T23:54:00.869Z] bde34c3a00c8: Pull complete [2023-02-14T23:54:01.129Z] b352a97aabf1: Pull complete [2023-02-14T23:54:01.129Z] 4872d77fe225: Pull complete [2023-02-14T23:54:01.129Z] 5851b861e8e6: Pull complete [2023-02-14T23:54:01.129Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-14T23:54:01.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T23:54:01.129Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T23:54:01.348Z] prd-ubuntu20.04-docker-8c-8g-5923 does not seem to be running inside a container [2023-02-14T23:54:01.375Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1321 -v /w/workspace/gexfoundry_device-sdk-go_PR-1321:/w/workspace/gexfoundry_device-sdk-go_PR-1321:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-14T23:54:02.567Z] $ docker top 970cb7c3c6c2269796b413574f2b32b9f26079201ce9bf41284f81e9c5b68d93 -eo pid,comm [2023-02-14T23:54:02.624Z] 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-14T23:54:02.624Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-14T23:54:02.746Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T23:54:02.746Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T23:54:02.872Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T23:54:02.873Z] $ docker exec 970cb7c3c6c2269796b413574f2b32b9f26079201ce9bf41284f81e9c5b68d93 ssh-agent [2023-02-14T23:54:02.993Z] SSH_AUTH_SOCK=/tmp/ssh-OGFhue7S2ddU/agent.31 [2023-02-14T23:54:02.993Z] SSH_AGENT_PID=37 [2023-02-14T23:54:02.999Z] Running ssh-add (command line suppressed) [2023-02-14T23:54:03.111Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/private_key_13760421086732118659.key (/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/private_key_13760421086732118659.key) [2023-02-14T23:54:03.127Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T23:54:03.455Z] + git tag --points-at HEAD [Pipeline] } [2023-02-14T23:54:03.478Z] $ docker exec --env ******** --env ******** 970cb7c3c6c2269796b413574f2b32b9f26079201ce9bf41284f81e9c5b68d93 ssh-agent -k [2023-02-14T23:54:03.586Z] unset SSH_AUTH_SOCK; [2023-02-14T23:54:03.586Z] unset SSH_AGENT_PID; [2023-02-14T23:54:03.586Z] echo Agent pid 37 killed; [2023-02-14T23:54:03.599Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-14T23:54:03.685Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T23:54:03.685Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T23:54:03.796Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T23:54:03.798Z] $ docker exec 970cb7c3c6c2269796b413574f2b32b9f26079201ce9bf41284f81e9c5b68d93 ssh-agent [2023-02-14T23:54:03.914Z] SSH_AUTH_SOCK=/tmp/ssh-tNdWQtBhrd5O/agent.69 [2023-02-14T23:54:03.914Z] SSH_AGENT_PID=75 [2023-02-14T23:54:03.919Z] Running ssh-add (command line suppressed) [2023-02-14T23:54:04.032Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/private_key_3596678812080990838.key (/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/private_key_3596678812080990838.key) [2023-02-14T23:54:04.049Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T23:54:04.381Z] + git semver init [2023-02-14T23:54:04.640Z] 2023-02-14 23:54:04,580 [run_init] DEBUG init version:0.0.0 force:False [2023-02-14T23:54:04.640Z] 2023-02-14 23:54:04,580 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver [2023-02-14T23:54:04.640Z] 2023-02-14 23:54:04,581 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver [2023-02-14T23:54:04.640Z] 2023-02-14 23:54:04,581 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1321, universal_newlines=False, shell=None, istream=None) [2023-02-14T23:54:06.019Z] 2023-02-14 23:54:05,627 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1321/.git/info/exclude [2023-02-14T23:54:06.019Z] 2023-02-14 23:54:05,628 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver/PR-1321 with force:False [2023-02-14T23:54:06.019Z] 2023-02-14 23:54:05,628 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver/PR-1321 [2023-02-14T23:54:06.019Z] 2023-02-14 23:54:05,632 [execute] INFO git cat-file --batch-check [2023-02-14T23:54:06.019Z] 2023-02-14 23:54:05,633 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T23:54:06.019Z] 2023-02-14 23:54:05,638 [execute] INFO git cat-file --batch [2023-02-14T23:54:06.019Z] 2023-02-14 23:54:05,638 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T23:54:06.019Z] 2023-02-14 23:54:05,644 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver/PR-1321 [2023-02-14T23:54:06.019Z] 0.0.0 [Pipeline] } [2023-02-14T23:54:06.043Z] $ docker exec --env ******** --env ******** 970cb7c3c6c2269796b413574f2b32b9f26079201ce9bf41284f81e9c5b68d93 ssh-agent -k [2023-02-14T23:54:06.141Z] unset SSH_AUTH_SOCK; [2023-02-14T23:54:06.141Z] unset SSH_AGENT_PID; [2023-02-14T23:54:06.141Z] echo Agent pid 75 killed; [2023-02-14T23:54:06.152Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-14T23:54:06.580Z] + git semver [Pipeline] } [2023-02-14T23:54:06.861Z] $ docker stop --time=1 970cb7c3c6c2269796b413574f2b32b9f26079201ce9bf41284f81e9c5b68d93 [2023-02-14T23:54:08.197Z] $ docker rm -f --volumes 970cb7c3c6c2269796b413574f2b32b9f26079201ce9bf41284f81e9c5b68d93 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T23:54:08.610Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-14T23:54:08.884Z] Stashed 1 file(s) [Pipeline] echo [2023-02-14T23:54:08.901Z] [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-14T23:54:09.472Z] provisioning config files... [2023-02-14T23:54:09.481Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/config6724864386292209254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T23:54:09.827Z] ---> docker-login.sh [2023-02-14T23:54:09.827Z] nexus3.edgexfoundry.org:10001 [2023-02-14T23:54:09.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:54:09.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:54:09.827Z] Configure a credential helper to remove this warning. See [2023-02-14T23:54:09.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:54:09.827Z] [2023-02-14T23:54:09.827Z] Login Succeeded [2023-02-14T23:54:09.827Z] nexus3.edgexfoundry.org:10002 [2023-02-14T23:54:09.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:54:09.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:54:09.827Z] Configure a credential helper to remove this warning. See [2023-02-14T23:54:09.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:54:09.827Z] [2023-02-14T23:54:09.827Z] Login Succeeded [2023-02-14T23:54:09.827Z] nexus3.edgexfoundry.org:10003 [2023-02-14T23:54:10.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:54:10.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:54:10.087Z] Configure a credential helper to remove this warning. See [2023-02-14T23:54:10.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:54:10.087Z] [2023-02-14T23:54:10.087Z] Login Succeeded [2023-02-14T23:54:10.087Z] nexus3.edgexfoundry.org:10004 [2023-02-14T23:54:10.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:54:10.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:54:10.087Z] Configure a credential helper to remove this warning. See [2023-02-14T23:54:10.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:54:10.087Z] [2023-02-14T23:54:10.087Z] Login Succeeded [2023-02-14T23:54:10.087Z] docker.io [2023-02-14T23:54:10.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:54:10.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:54:10.605Z] Configure a credential helper to remove this warning. See [2023-02-14T23:54:10.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:54:10.605Z] [2023-02-14T23:54:10.605Z] Login Succeeded [2023-02-14T23:54:10.605Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T23:54:10.633Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-14T23:54:10.814Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T23:54:10.849Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T23:54:10.881Z] ========================================================= [2023-02-14T23:54:10.881Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-14T23:54:10.881Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:54:11.364Z] + 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-14T23:54:11.364Z] Sending build context to Docker daemon 10.45MB [2023-02-14T23:54:11.364Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T23:54:11.364Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-14T23:54:11.364Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-14T23:54:11.364Z] 213ec9aee27d: Pulling fs layer [2023-02-14T23:54:11.364Z] 4583459ba037: Pulling fs layer [2023-02-14T23:54:11.364Z] 93c1e223e6f2: Pulling fs layer [2023-02-14T23:54:11.364Z] 53926ce57604: Pulling fs layer [2023-02-14T23:54:11.364Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-14T23:54:11.364Z] 22ff95d597cd: Pulling fs layer [2023-02-14T23:54:11.364Z] 53926ce57604: Waiting [2023-02-14T23:54:11.364Z] 21b2b0c7a3f4: Waiting [2023-02-14T23:54:11.364Z] 12d6caf4c0d1: Pulling fs layer [2023-02-14T23:54:11.364Z] 96b7cbca73a9: Pulling fs layer [2023-02-14T23:54:11.364Z] a7acece74701: Pulling fs layer [2023-02-14T23:54:11.364Z] 22ff95d597cd: Waiting [2023-02-14T23:54:11.364Z] 96b7cbca73a9: Waiting [2023-02-14T23:54:11.364Z] a7acece74701: Waiting [2023-02-14T23:54:11.364Z] 12d6caf4c0d1: Waiting [2023-02-14T23:54:11.627Z] 93c1e223e6f2: Verifying Checksum [2023-02-14T23:54:11.627Z] 93c1e223e6f2: Download complete [2023-02-14T23:54:11.627Z] 4583459ba037: Verifying Checksum [2023-02-14T23:54:11.627Z] 4583459ba037: Download complete [2023-02-14T23:54:11.627Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-14T23:54:11.627Z] 21b2b0c7a3f4: Download complete [2023-02-14T23:54:11.627Z] 22ff95d597cd: Download complete [2023-02-14T23:54:11.627Z] 213ec9aee27d: Verifying Checksum [2023-02-14T23:54:11.627Z] 213ec9aee27d: Download complete [2023-02-14T23:54:11.627Z] 12d6caf4c0d1: Verifying Checksum [2023-02-14T23:54:11.627Z] 12d6caf4c0d1: Download complete [2023-02-14T23:54:11.627Z] 213ec9aee27d: Pull complete [2023-02-14T23:54:11.895Z] 4583459ba037: Pull complete [2023-02-14T23:54:11.895Z] 93c1e223e6f2: Pull complete [2023-02-14T23:54:12.914Z] a7acece74701: Verifying Checksum [2023-02-14T23:54:12.914Z] a7acece74701: Download complete [2023-02-14T23:54:12.914Z] 53926ce57604: Download complete [2023-02-14T23:54:12.914Z] 96b7cbca73a9: Verifying Checksum [2023-02-14T23:54:12.914Z] 96b7cbca73a9: Download complete [2023-02-14T23:54:17.104Z] 53926ce57604: Pull complete [2023-02-14T23:54:17.104Z] 21b2b0c7a3f4: Pull complete [2023-02-14T23:54:17.104Z] 22ff95d597cd: Pull complete [2023-02-14T23:54:17.104Z] 12d6caf4c0d1: Pull complete [2023-02-14T23:54:19.639Z] 96b7cbca73a9: Pull complete [2023-02-14T23:54:20.207Z] a7acece74701: Pull complete [2023-02-14T23:54:20.207Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-14T23:54:20.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-14T23:54:20.207Z] ---> db6d94c90886 [2023-02-14T23:54:20.207Z] Step 3/10 : ARG MAKE=make build [2023-02-14T23:54:21.586Z] ---> Running in b20f6550038a [2023-02-14T23:54:21.586Z] Removing intermediate container b20f6550038a [2023-02-14T23:54:21.586Z] ---> 8f022fd957b3 [2023-02-14T23:54:21.586Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-14T23:54:21.586Z] ---> Running in 5ca3ca2aa019 [2023-02-14T23:54:21.846Z] Removing intermediate container 5ca3ca2aa019 [2023-02-14T23:54:21.846Z] ---> e3afbe80408e [2023-02-14T23:54:21.846Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-14T23:54:21.846Z] ---> Running in 541f0998c5ac [2023-02-14T23:54:21.846Z] Removing intermediate container 541f0998c5ac [2023-02-14T23:54:21.846Z] ---> 41ed7b68443c [2023-02-14T23:54:21.846Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-14T23:54:21.846Z] ---> Running in 596f69632b36 [2023-02-14T23:54:22.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T23:54:22.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T23:54:22.622Z] OK: 211 MiB in 51 packages [2023-02-14T23:54:22.880Z] Removing intermediate container 596f69632b36 [2023-02-14T23:54:22.880Z] ---> e5b369413b7c [2023-02-14T23:54:22.880Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-14T23:54:23.138Z] ---> 3d4f93c1f0dd [2023-02-14T23:54:23.138Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T23:54:23.138Z] ---> Running in 0c75ffec73e5 [2023-02-14T23:54:24.303Z] Still waiting to schedule task [2023-02-14T23:54:24.303Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-14T23:54:55.216Z] Removing intermediate container 0c75ffec73e5 [2023-02-14T23:54:55.216Z] ---> 1c6dc45a22d0 [2023-02-14T23:54:55.216Z] Step 9/10 : COPY . . [2023-02-14T23:54:55.216Z] ---> 021c73435683 [2023-02-14T23:54:55.216Z] Step 10/10 : RUN ${MAKE} [2023-02-14T23:54:55.216Z] ---> Running in 90b3b12a790d [2023-02-14T23:54:55.216Z] noop [2023-02-14T23:54:55.216Z] Removing intermediate container 90b3b12a790d [2023-02-14T23:54:55.216Z] ---> 1757a70ecc8c [2023-02-14T23:54:55.216Z] Successfully built 1757a70ecc8c [2023-02-14T23:54:55.475Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:54:55.934Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-14T23:54:55.934Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T23:54:56.092Z] prd-ubuntu20.04-docker-8c-8g-5923 does not seem to be running inside a container [2023-02-14T23:54:56.124Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1321 -v /w/workspace/gexfoundry_device-sdk-go_PR-1321:/w/workspace/gexfoundry_device-sdk-go_PR-1321:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-14T23:54:56.535Z] $ docker top 44c227d5640f9bc5f2ba192e43f21fd8340a165db7175a3fe3cbe113a6a333c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T23:54:56.937Z] + go version [2023-02-14T23:54:56.937Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-14T23:54:56.964Z] $ docker stop --time=1 44c227d5640f9bc5f2ba192e43f21fd8340a165db7175a3fe3cbe113a6a333c5 [2023-02-14T23:54:58.243Z] $ docker rm -f --volumes 44c227d5640f9bc5f2ba192e43f21fd8340a165db7175a3fe3cbe113a6a333c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:54:58.951Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-14T23:54:58.951Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T23:54:59.104Z] prd-ubuntu20.04-docker-8c-8g-5923 does not seem to be running inside a container [2023-02-14T23:54:59.134Z] $ 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-1321 -v /w/workspace/gexfoundry_device-sdk-go_PR-1321:/w/workspace/gexfoundry_device-sdk-go_PR-1321:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-14T23:54:59.505Z] $ docker top b32f725d8a5367541694c16cd170b08e01277a9ca92f2860f0d39c26d47af21e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T23:54:59.899Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1321 [Pipeline] fileExists [Pipeline] sh [2023-02-14T23:55:00.256Z] + make test [2023-02-14T23:55:00.256Z] go test -race -coverprofile=coverage.out ./... [2023-02-14T23:55:06.835Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-14T23:55:21.699Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-14T23:55:21.699Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-14T23:55:21.699Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-14T23:55:21.699Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-14T23:55:21.699Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-14T23:55:21.699Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.066s coverage: 27.6% of statements [2023-02-14T23:55:21.699Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.084s coverage: 78.9% of statements [2023-02-14T23:55:21.699Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-14T23:55:21.699Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.109s coverage: 78.1% of statements [2023-02-14T23:55:21.699Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-14T23:55:21.699Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-14T23:55:22.267Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.121s coverage: 77.0% of statements [2023-02-14T23:55:22.267Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-14T23:55:22.267Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-14T23:55:22.267Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-14T23:55:22.267Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.098s coverage: 65.2% of statements [2023-02-14T23:55:22.267Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-14T23:55:22.267Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-14T23:55:22.267Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.749s coverage: 89.2% of statements [2023-02-14T23:55:22.267Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-14T23:55:22.524Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.068s coverage: 4.7% of statements [2023-02-14T23:55:22.524Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-14T23:55:40.641Z] 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-14T23:55:40.641Z] GO111MODULE=on go vet ./... [2023-02-14T23:55:43.171Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-14T23:55:43.171Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-14T23:55:43.171Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-14T23:55:43.214Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-14T23:55:43.244Z] $ docker stop --time=1 b32f725d8a5367541694c16cd170b08e01277a9ca92f2860f0d39c26d47af21e [2023-02-14T23:55:45.233Z] $ docker rm -f --volumes b32f725d8a5367541694c16cd170b08e01277a9ca92f2860f0d39c26d47af21e [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T23:55:45.794Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-14T23:55:45.870Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-14T23:55:46.448Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-14T23:55:46.755Z] + ls -al . [2023-02-14T23:55:46.755Z] total 272 [2023-02-14T23:55:46.755Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 14 23:55 . [2023-02-14T23:55:46.755Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 23:53 .. [2023-02-14T23:55:46.755Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 14 23:53 .dockerignore [2023-02-14T23:55:46.755Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 23:55 .git [2023-02-14T23:55:46.755Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 23:53 .github [2023-02-14T23:55:46.755Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 14 23:53 .gitignore [2023-02-14T23:55:46.755Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 14 23:53 .golangci.yml [2023-02-14T23:55:46.755Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 23:54 .semver [2023-02-14T23:55:46.755Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 14 23:53 CHANGELOG.md [2023-02-14T23:55:46.755Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 23:53 GOVERNANCE.md [2023-02-14T23:55:46.755Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 14 23:53 Jenkinsfile [2023-02-14T23:55:46.755Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 14 23:53 LICENSE [2023-02-14T23:55:46.756Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 14 23:53 Makefile [2023-02-14T23:55:46.756Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 14 23:53 OWNERS.md [2023-02-14T23:55:46.756Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 14 23:53 README.md [2023-02-14T23:55:46.756Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 23:54 VERSION [2023-02-14T23:55:46.756Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 23:53 bin [2023-02-14T23:55:46.756Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 14 23:55 coverage.out [2023-02-14T23:55:46.756Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 14 23:53 example [2023-02-14T23:55:46.756Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 14 23:53 go.mod [2023-02-14T23:55:46.756Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 14 23:53 go.sum [2023-02-14T23:55:46.756Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 14 23:53 internal [2023-02-14T23:55:46.756Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 23:53 openapi [2023-02-14T23:55:46.756Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 14 23:53 pkg [2023-02-14T23:55:46.756Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 23:53 snap [2023-02-14T23:55:46.756Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 14 23:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:55:47.146Z] + 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=408b6968c03ac3e1d14e96eb72eae9fe4493d621 --label arch=amd64 --label version=0.0.0 . [2023-02-14T23:55:47.146Z] Sending build context to Docker daemon 10.55MB [2023-02-14T23:55:47.146Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T23:55:47.146Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-14T23:55:47.146Z] ---> 1757a70ecc8c [2023-02-14T23:55:47.146Z] Step 3/23 : ARG MAKE=make build [2023-02-14T23:55:47.406Z] ---> Running in 372fc5027242 [2023-02-14T23:55:47.406Z] Removing intermediate container 372fc5027242 [2023-02-14T23:55:47.406Z] ---> d0aeabaf2e20 [2023-02-14T23:55:47.406Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-14T23:55:47.406Z] ---> Running in a7a9abc72ca1 [2023-02-14T23:55:47.406Z] Removing intermediate container a7a9abc72ca1 [2023-02-14T23:55:47.406Z] ---> 80bdf3650fb5 [2023-02-14T23:55:47.406Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-14T23:55:47.406Z] ---> Running in b3d7d34ac3b9 [2023-02-14T23:55:47.664Z] Removing intermediate container b3d7d34ac3b9 [2023-02-14T23:55:47.664Z] ---> 43bdd0d0b59e [2023-02-14T23:55:47.664Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-14T23:55:47.665Z] ---> Running in 4b9700248d08 [2023-02-14T23:55:47.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T23:55:48.182Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T23:55:48.440Z] OK: 211 MiB in 51 packages [2023-02-14T23:55:48.700Z] Removing intermediate container 4b9700248d08 [2023-02-14T23:55:48.700Z] ---> 952a629c284c [2023-02-14T23:55:48.700Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-14T23:55:48.997Z] ---> 2a9b24763ed9 [2023-02-14T23:55:48.997Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T23:55:48.997Z] ---> Running in 765e49c8e331 [2023-02-14T23:55:49.935Z] Removing intermediate container 765e49c8e331 [2023-02-14T23:55:49.935Z] ---> 2693bb863189 [2023-02-14T23:55:49.935Z] Step 9/23 : COPY . . [2023-02-14T23:55:50.221Z] ---> 964978bb46dc [2023-02-14T23:55:50.221Z] Step 10/23 : RUN ${MAKE} [2023-02-14T23:55:50.221Z] ---> Running in c7c89a36e1ac [2023-02-14T23:55:50.479Z] 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-14T23:56:12.403Z] Removing intermediate container c7c89a36e1ac [2023-02-14T23:56:12.403Z] ---> a8fd77604e1b [2023-02-14T23:56:12.403Z] Step 11/23 : FROM alpine:3.16 [2023-02-14T23:56:12.403Z] 3.16: Pulling from library/alpine [2023-02-14T23:56:12.403Z] ef5531b6e74e: Pulling fs layer [2023-02-14T23:56:12.403Z] ef5531b6e74e: Verifying Checksum [2023-02-14T23:56:12.403Z] ef5531b6e74e: Download complete [2023-02-14T23:56:12.403Z] ef5531b6e74e: Pull complete [2023-02-14T23:56:12.403Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-14T23:56:12.403Z] Status: Downloaded newer image for alpine:3.16 [2023-02-14T23:56:12.403Z] ---> dfd21b5a31f5 [2023-02-14T23:56:12.403Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-14T23:56:12.403Z] ---> Running in c70d626ba2b2 [2023-02-14T23:56:12.403Z] Removing intermediate container c70d626ba2b2 [2023-02-14T23:56:12.403Z] ---> 251c762a91a3 [2023-02-14T23:56:12.403Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-14T23:56:12.403Z] ---> Running in 0d3aa58a8607 [2023-02-14T23:56:12.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T23:56:12.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T23:56:12.403Z] OK: 6 MiB in 14 packages [2023-02-14T23:56:12.403Z] Removing intermediate container 0d3aa58a8607 [2023-02-14T23:56:12.403Z] ---> 43e9280f3954 [2023-02-14T23:56:12.403Z] Step 14/23 : WORKDIR / [2023-02-14T23:56:12.403Z] ---> Running in 5ef0e3813705 [2023-02-14T23:56:12.403Z] Removing intermediate container 5ef0e3813705 [2023-02-14T23:56:12.403Z] ---> 3d0f20d2305b [2023-02-14T23:56:12.403Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-14T23:56:12.661Z] ---> 86bb929673e3 [2023-02-14T23:56:12.661Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-14T23:56:13.229Z] ---> de7980cc6739 [2023-02-14T23:56:13.229Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-14T23:56:13.229Z] ---> 68becadd5712 [2023-02-14T23:56:13.229Z] Step 18/23 : EXPOSE 59999 [2023-02-14T23:56:13.229Z] ---> Running in 0764d5e33c0f [2023-02-14T23:56:13.229Z] Removing intermediate container 0764d5e33c0f [2023-02-14T23:56:13.229Z] ---> f9f62e69f6bb [2023-02-14T23:56:13.229Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-14T23:56:13.490Z] ---> Running in 0195eda851f6 [2023-02-14T23:56:13.490Z] Removing intermediate container 0195eda851f6 [2023-02-14T23:56:13.490Z] ---> 54a5502935ff [2023-02-14T23:56:13.490Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-14T23:56:13.490Z] ---> Running in 98426c3c6f08 [2023-02-14T23:56:13.490Z] Removing intermediate container 98426c3c6f08 [2023-02-14T23:56:13.490Z] ---> ebe0d7f22acf [2023-02-14T23:56:13.490Z] Step 21/23 : LABEL arch=amd64 [2023-02-14T23:56:13.490Z] ---> Running in 90b28873cb30 [2023-02-14T23:56:13.749Z] Removing intermediate container 90b28873cb30 [2023-02-14T23:56:13.749Z] ---> 994acbaeceba [2023-02-14T23:56:13.749Z] Step 22/23 : LABEL git_sha=408b6968c03ac3e1d14e96eb72eae9fe4493d621 [2023-02-14T23:56:13.749Z] ---> Running in 04aad1b9ded5 [2023-02-14T23:56:13.749Z] Removing intermediate container 04aad1b9ded5 [2023-02-14T23:56:13.749Z] ---> ea0ab5752ed9 [2023-02-14T23:56:13.749Z] Step 23/23 : LABEL version=0.0.0 [2023-02-14T23:56:13.749Z] ---> Running in b3b55bc06459 [2023-02-14T23:56:14.008Z] Removing intermediate container b3b55bc06459 [2023-02-14T23:56:14.008Z] ---> baf83a15eef0 [2023-02-14T23:56:14.008Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-14T23:56:14.008Z] Successfully built baf83a15eef0 [2023-02-14T23:56:14.008Z] 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-14T23:56:14.899Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T23:56:14.899Z] [2023-02-14T23:56:14.899Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:56:15.295Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T23:56:15.295Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-14T23:56:15.295Z] 5eb5b503b376: Pulling fs layer [2023-02-14T23:56:15.295Z] 5c69ac0246d0: Pulling fs layer [2023-02-14T23:56:15.295Z] ec43610c2a17: Pulling fs layer [2023-02-14T23:56:15.295Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-14T23:56:15.295Z] 33b1e0a273af: Pulling fs layer [2023-02-14T23:56:15.295Z] 5d3b04190fa2: Pulling fs layer [2023-02-14T23:56:15.295Z] 2f39f015ded8: Pulling fs layer [2023-02-14T23:56:15.295Z] 33b1e0a273af: Waiting [2023-02-14T23:56:15.295Z] 5d3b04190fa2: Waiting [2023-02-14T23:56:15.295Z] 3a2ae6a8a46f: Waiting [2023-02-14T23:56:15.295Z] 2f39f015ded8: Waiting [2023-02-14T23:56:15.295Z] 5c69ac0246d0: Download complete [2023-02-14T23:56:15.295Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-14T23:56:15.295Z] 3a2ae6a8a46f: Download complete [2023-02-14T23:56:15.574Z] 33b1e0a273af: Verifying Checksum [2023-02-14T23:56:15.574Z] 33b1e0a273af: Download complete [2023-02-14T23:56:15.574Z] 5d3b04190fa2: Verifying Checksum [2023-02-14T23:56:15.574Z] 5d3b04190fa2: Download complete [2023-02-14T23:56:15.865Z] ec43610c2a17: Verifying Checksum [2023-02-14T23:56:15.865Z] ec43610c2a17: Download complete [2023-02-14T23:56:16.531Z] 5eb5b503b376: Verifying Checksum [2023-02-14T23:56:16.531Z] 5eb5b503b376: Download complete [2023-02-14T23:56:18.066Z] 5eb5b503b376: Pull complete [2023-02-14T23:56:18.066Z] 5c69ac0246d0: Pull complete [2023-02-14T23:56:18.066Z] 2f39f015ded8: Verifying Checksum [2023-02-14T23:56:18.066Z] 2f39f015ded8: Download complete [2023-02-14T23:56:18.330Z] ec43610c2a17: Pull complete [2023-02-14T23:56:18.330Z] 3a2ae6a8a46f: Pull complete [2023-02-14T23:56:18.589Z] 33b1e0a273af: Pull complete [2023-02-14T23:56:18.849Z] 5d3b04190fa2: Pull complete [2023-02-14T23:56:24.113Z] 2f39f015ded8: Pull complete [2023-02-14T23:56:24.113Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-14T23:56:24.113Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T23:56:24.113Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T23:56:24.333Z] prd-ubuntu20.04-docker-8c-8g-5923 does not seem to be running inside a container [2023-02-14T23:56:24.357Z] $ 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-1321 -v /w/workspace/gexfoundry_device-sdk-go_PR-1321:/w/workspace/gexfoundry_device-sdk-go_PR-1321:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-14T23:56:25.795Z] $ docker top a5cfb8231d5ff47c0e36450c4233b0936347e66c81321952310e9789ff96850b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T23:56:26.233Z] ---> job-cost.sh [2023-02-14T23:56:26.233Z] lf-activate-venv: SKIPPING [2023-02-14T23:56:26.233Z] INFO: No Stack... [2023-02-14T23:56:26.493Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-14T23:56:26.752Z] INFO: Archiving Costs [Pipeline] sh [2023-02-14T23:56:27.067Z] + + cat /w/workspace/gexfoundry_device-sdk-go_PR-1321/archives/cost.csv [2023-02-14T23:56:27.068Z] cut -d, -f6 [Pipeline] lock [2023-02-14T23:56:27.111Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1321-1-stack-cost] [2023-02-14T23:56:27.116Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1321-1-stack-cost] did not exist. Created. [2023-02-14T23:56:27.116Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1321-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-14T23:56:27.513Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-14T23:56:27.566Z] Stashed 1 file(s) [Pipeline] } [2023-02-14T23:56:27.588Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1321-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-14T23:56:27.657Z] $ docker stop --time=1 a5cfb8231d5ff47c0e36450c4233b0936347e66c81321952310e9789ff96850b [2023-02-14T23:56:28.832Z] $ docker rm -f --volumes a5cfb8231d5ff47c0e36450c4233b0936347e66c81321952310e9789ff96850b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-14T23:56:35.194Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5927 in /w/workspace/gexfoundry_device-sdk-go_PR-1321 [Pipeline] { [Pipeline] ws [2023-02-14T23:56:35.250Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-02-14T23:56:35.320Z] The recommended git tool is: git [2023-02-14T23:56:40.553Z] using credential edgex-jenkins-ssh [2023-02-14T23:56:40.578Z] Cloning the remote Git repository [2023-02-14T23:56:40.629Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-14T23:56:40.708Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-02-14T23:56:40.877Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-14T23:56:40.878Z] > git --version # timeout=10 [2023-02-14T23:56:40.902Z] > git --version # 'git version 2.25.1' [2023-02-14T23:56:40.904Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T23:56:40.973Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-14T23:56:44.747Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-14T23:56:44.779Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-14T23:56:46.493Z] Merging remotes/origin/main commit 8b9fd5bc22bc5ff949621087fe72c38333f95112 into PR head commit 408b6968c03ac3e1d14e96eb72eae9fe4493d621 [2023-02-14T23:56:46.755Z] Merge succeeded, producing 408b6968c03ac3e1d14e96eb72eae9fe4493d621 [2023-02-14T23:56:46.755Z] Checking out Revision 408b6968c03ac3e1d14e96eb72eae9fe4493d621 (PR-1321) [2023-02-14T23:56:45.671Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-14T23:56:45.714Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-14T23:56:45.715Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T23:56:45.733Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1321/head:refs/remotes/origin/PR-1321 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-14T23:56:46.519Z] > git config core.sparsecheckout # timeout=10 [2023-02-14T23:56:46.547Z] > git checkout -f 408b6968c03ac3e1d14e96eb72eae9fe4493d621 # timeout=10 [2023-02-14T23:56:46.658Z] > git remote # timeout=10 [2023-02-14T23:56:46.676Z] > git config --get remote.origin.url # timeout=10 [2023-02-14T23:56:46.693Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T23:56:46.707Z] > git merge 8b9fd5bc22bc5ff949621087fe72c38333f95112 # timeout=10 [2023-02-14T23:56:46.734Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-14T23:56:46.765Z] > git config core.sparsecheckout # timeout=10 [2023-02-14T23:56:46.781Z] > git checkout -f 408b6968c03ac3e1d14e96eb72eae9fe4493d621 # timeout=10 [2023-02-14T23:56:50.304Z] Commit message: "fix: Update swagger to match latest changes in go-mod-contracts dtos common SecretRequest" [2023-02-14T23:56:50.359Z] > git --version # timeout=10 [2023-02-14T23:56:50.371Z] > git --version # 'git version 2.25.1' [2023-02-14T23:56:50.400Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T23:56:51.481Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-14T23:56:51.481Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-14T23:56:51.481Z] Dload Upload Total Spent Left Speed [2023-02-14T23:56:51.481Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 161k 0 --:--:-- --:--:-- --:--:-- 161k [Pipeline] sh [2023-02-14T23:56:52.304Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-14T23:56:52.652Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-14T23:56:52.652Z] + sudo tee /etc/docker/daemon.new [2023-02-14T23:56:52.652Z] { [2023-02-14T23:56:52.652Z] "registry-mirrors": [ [2023-02-14T23:56:52.652Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-14T23:56:52.652Z] ], [2023-02-14T23:56:52.652Z] "bip": "10.250.0.254/24", [2023-02-14T23:56:52.652Z] "hosts": [ [2023-02-14T23:56:52.652Z] "tcp://0.0.0.0:5555", [2023-02-14T23:56:52.652Z] "unix:///var/run/docker.sock" [2023-02-14T23:56:52.652Z] ], [2023-02-14T23:56:52.652Z] "mtu": 1458, [2023-02-14T23:56:52.652Z] "selinux-enabled": true, [2023-02-14T23:56:52.652Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-14T23:56:52.652Z] } [Pipeline] sh [2023-02-14T23:56:53.005Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-14T23:56:53.367Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T23:57:11.718Z] provisioning config files... [2023-02-14T23:57:11.752Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config10760244871330478036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T23:57:12.163Z] ---> docker-login.sh [2023-02-14T23:57:12.163Z] nexus3.edgexfoundry.org:10001 [2023-02-14T23:57:12.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:57:12.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:57:12.762Z] Configure a credential helper to remove this warning. See [2023-02-14T23:57:12.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:57:12.762Z] [2023-02-14T23:57:12.762Z] Login Succeeded [2023-02-14T23:57:12.762Z] nexus3.edgexfoundry.org:10002 [2023-02-14T23:57:13.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:57:13.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:57:13.300Z] Configure a credential helper to remove this warning. See [2023-02-14T23:57:13.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:57:13.300Z] [2023-02-14T23:57:13.300Z] Login Succeeded [2023-02-14T23:57:13.300Z] nexus3.edgexfoundry.org:10003 [2023-02-14T23:57:13.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:57:13.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:57:13.570Z] Configure a credential helper to remove this warning. See [2023-02-14T23:57:13.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:57:13.570Z] [2023-02-14T23:57:13.570Z] Login Succeeded [2023-02-14T23:57:13.570Z] nexus3.edgexfoundry.org:10004 [2023-02-14T23:57:13.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:57:13.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:57:13.841Z] Configure a credential helper to remove this warning. See [2023-02-14T23:57:13.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:57:13.841Z] [2023-02-14T23:57:13.841Z] Login Succeeded [2023-02-14T23:57:14.110Z] docker.io [2023-02-14T23:57:14.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T23:57:14.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T23:57:14.699Z] Configure a credential helper to remove this warning. See [2023-02-14T23:57:14.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T23:57:14.699Z] [2023-02-14T23:57:14.699Z] Login Succeeded [2023-02-14T23:57:14.699Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T23:57:14.725Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-14T23:57:15.141Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T23:57:15.182Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T23:57:15.217Z] ========================================================= [2023-02-14T23:57:15.217Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-14T23:57:15.217Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:57:15.716Z] + 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-14T23:57:15.992Z] Sending build context to Docker daemon 5.605MB [2023-02-14T23:57:15.992Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T23:57:15.992Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-14T23:57:16.262Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-14T23:57:16.262Z] 9b18e9b68314: Pulling fs layer [2023-02-14T23:57:16.262Z] 35d82f9e3411: Pulling fs layer [2023-02-14T23:57:16.263Z] e16973657156: Pulling fs layer [2023-02-14T23:57:16.263Z] fc693d55d65f: Pulling fs layer [2023-02-14T23:57:16.263Z] 7e9fc2657dce: Pulling fs layer [2023-02-14T23:57:16.263Z] dda99020689f: Pulling fs layer [2023-02-14T23:57:16.263Z] db1c61fa0a46: Pulling fs layer [2023-02-14T23:57:16.263Z] 891c053d2c06: Pulling fs layer [2023-02-14T23:57:16.263Z] fc693d55d65f: Waiting [2023-02-14T23:57:16.263Z] 7e9fc2657dce: Waiting [2023-02-14T23:57:16.263Z] dda99020689f: Waiting [2023-02-14T23:57:16.263Z] db1c61fa0a46: Waiting [2023-02-14T23:57:16.263Z] 891c053d2c06: Waiting [2023-02-14T23:57:16.263Z] e16973657156: Verifying Checksum [2023-02-14T23:57:16.263Z] e16973657156: Download complete [2023-02-14T23:57:16.263Z] 35d82f9e3411: Verifying Checksum [2023-02-14T23:57:16.263Z] 35d82f9e3411: Download complete [2023-02-14T23:57:16.263Z] 7e9fc2657dce: Download complete [2023-02-14T23:57:16.263Z] dda99020689f: Verifying Checksum [2023-02-14T23:57:16.263Z] dda99020689f: Download complete [2023-02-14T23:57:16.534Z] 9b18e9b68314: Verifying Checksum [2023-02-14T23:57:16.534Z] 9b18e9b68314: Download complete [2023-02-14T23:57:17.536Z] 9b18e9b68314: Pull complete [2023-02-14T23:57:17.536Z] 891c053d2c06: Verifying Checksum [2023-02-14T23:57:17.536Z] 891c053d2c06: Download complete [2023-02-14T23:57:18.135Z] 35d82f9e3411: Pull complete [2023-02-14T23:57:18.411Z] e16973657156: Pull complete [2023-02-14T23:57:19.014Z] db1c61fa0a46: Verifying Checksum [2023-02-14T23:57:19.014Z] db1c61fa0a46: Download complete [2023-02-14T23:57:19.606Z] fc693d55d65f: Download complete [2023-02-14T23:57:31.976Z] fc693d55d65f: Pull complete [2023-02-14T23:57:32.246Z] 7e9fc2657dce: Pull complete [2023-02-14T23:57:32.530Z] dda99020689f: Pull complete [2023-02-14T23:57:39.226Z] db1c61fa0a46: Pull complete [2023-02-14T23:57:41.824Z] 891c053d2c06: Pull complete [2023-02-14T23:57:41.824Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-14T23:57:41.824Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-14T23:57:41.824Z] ---> f96f9c87975a [2023-02-14T23:57:41.824Z] Step 3/10 : ARG MAKE=make build [2023-02-14T23:57:42.411Z] ---> Running in abc028f25ea5 [2023-02-14T23:57:42.679Z] Removing intermediate container abc028f25ea5 [2023-02-14T23:57:42.679Z] ---> dddb7ed6ad4e [2023-02-14T23:57:42.679Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-14T23:57:42.679Z] ---> Running in 7dcdea4e0803 [2023-02-14T23:57:42.948Z] Removing intermediate container 7dcdea4e0803 [2023-02-14T23:57:42.948Z] ---> 8b1431feb3b4 [2023-02-14T23:57:42.948Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-14T23:57:43.216Z] ---> Running in 2e65e6a2dbce [2023-02-14T23:57:43.487Z] Removing intermediate container 2e65e6a2dbce [2023-02-14T23:57:43.487Z] ---> 00a033136f4e [2023-02-14T23:57:43.487Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-14T23:57:43.487Z] ---> Running in 2e7e0a3d338d [2023-02-14T23:57:44.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T23:57:45.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T23:57:46.145Z] OK: 221 MiB in 51 packages [2023-02-14T23:57:47.129Z] Removing intermediate container 2e7e0a3d338d [2023-02-14T23:57:47.129Z] ---> 543dbe2bf053 [2023-02-14T23:57:47.129Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-14T23:57:49.721Z] ---> 59ba38148b1e [2023-02-14T23:57:49.721Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T23:57:49.721Z] ---> Running in b34e6e8974b9 [2023-02-14T23:59:11.379Z] Removing intermediate container b34e6e8974b9 [2023-02-14T23:59:11.379Z] ---> b67f63fe1d80 [2023-02-14T23:59:11.379Z] Step 9/10 : COPY . . [2023-02-14T23:59:11.379Z] ---> 169dfbf47b8f [2023-02-14T23:59:11.379Z] Step 10/10 : RUN ${MAKE} [2023-02-14T23:59:11.379Z] ---> Running in 15d24f2ec3b8 [2023-02-14T23:59:11.379Z] noop [2023-02-14T23:59:11.379Z] Removing intermediate container 15d24f2ec3b8 [2023-02-14T23:59:11.379Z] ---> 8ca698b71cde [2023-02-14T23:59:11.379Z] Successfully built 8ca698b71cde [2023-02-14T23:59:11.379Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:59:11.865Z] + docker inspect -f . ci-base-image-arm64 [2023-02-14T23:59:11.865Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T23:59:12.172Z] prd-ubuntu20.04-docker-arm64-4c-16g-5927 does not seem to be running inside a container [2023-02-14T23:59:12.244Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-14T23:59:13.563Z] $ docker top 6a70091feae37217b90740b97f5533b07354a1143ed180acaf3e23abccb55dc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T23:59:14.468Z] + go version [2023-02-14T23:59:14.468Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-14T23:59:14.865Z] $ docker stop --time=1 6a70091feae37217b90740b97f5533b07354a1143ed180acaf3e23abccb55dc6 [2023-02-14T23:59:16.486Z] $ docker rm -f --volumes 6a70091feae37217b90740b97f5533b07354a1143ed180acaf3e23abccb55dc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T23:59:17.378Z] + docker inspect -f . ci-base-image-arm64 [2023-02-14T23:59:17.378Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T23:59:17.653Z] prd-ubuntu20.04-docker-arm64-4c-16g-5927 does not seem to be running inside a container [2023-02-14T23:59:17.724Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-14T23:59:19.124Z] $ docker top 62bd3beaf86c7bb0f5d572727acd43e08e727a6d8f1d451fab38145f33347e48 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T23:59:20.010Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-14T23:59:20.403Z] + make test [2023-02-14T23:59:20.403Z] go test -race -coverprofile=coverage.out ./... [2023-02-14T23:59:59.274Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-15T00:02:06.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-15T00:02:06.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-15T00:02:06.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-15T00:02:06.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-15T00:02:06.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-15T00:02:16.123Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.337s coverage: 27.6% of statements [2023-02-15T00:02:17.089Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.354s coverage: 78.9% of statements [2023-02-15T00:02:17.089Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-15T00:02:22.441Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.414s coverage: 78.1% of statements [2023-02-15T00:02:22.441Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-15T00:02:22.441Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-15T00:02:25.035Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.523s coverage: 77.0% of statements [2023-02-15T00:02:25.035Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-15T00:02:25.035Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-15T00:02:25.035Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-15T00:02:25.035Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.465s coverage: 65.2% of statements [2023-02-15T00:02:25.035Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-15T00:02:25.035Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-15T00:02:26.447Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.308s coverage: 89.2% of statements [2023-02-15T00:02:26.447Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-15T00:02:26.447Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.284s coverage: 4.7% of statements [2023-02-15T00:02:26.447Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-15T00:02:27.032Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-15T00:02:27.032Z] GO111MODULE=on go vet ./... [2023-02-15T00:04:18.752Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T00:04:18.752Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T00:04:18.752Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T00:04:18.792Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T00:04:18.828Z] $ docker stop --time=1 62bd3beaf86c7bb0f5d572727acd43e08e727a6d8f1d451fab38145f33347e48 [2023-02-15T00:04:20.660Z] $ docker rm -f --volumes 62bd3beaf86c7bb0f5d572727acd43e08e727a6d8f1d451fab38145f33347e48 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T00:04:22.210Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T00:04:22.247Z] Warning: overwriting stash ‘coverage-report’ [2023-02-15T00:04:23.055Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T00:04:23.626Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T00:04:24.011Z] + ls -al . [2023-02-15T00:04:24.012Z] total 268 [2023-02-15T00:04:24.012Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 23:59 . [2023-02-15T00:04:24.012Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 23:56 .. [2023-02-15T00:04:24.012Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 14 23:56 .dockerignore [2023-02-15T00:04:24.012Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 23:56 .git [2023-02-15T00:04:24.012Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 23:56 .github [2023-02-15T00:04:24.012Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 14 23:56 .gitignore [2023-02-15T00:04:24.012Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 14 23:56 .golangci.yml [2023-02-15T00:04:24.012Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 14 23:56 CHANGELOG.md [2023-02-15T00:04:24.012Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 23:56 GOVERNANCE.md [2023-02-15T00:04:24.012Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 14 23:56 Jenkinsfile [2023-02-15T00:04:24.012Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 14 23:56 LICENSE [2023-02-15T00:04:24.012Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 14 23:56 Makefile [2023-02-15T00:04:24.012Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 14 23:56 OWNERS.md [2023-02-15T00:04:24.012Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 14 23:56 README.md [2023-02-15T00:04:24.012Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 23:54 VERSION [2023-02-15T00:04:24.012Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 23:56 bin [2023-02-15T00:04:24.012Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 15 00:02 coverage.out [2023-02-15T00:04:24.012Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 14 23:56 example [2023-02-15T00:04:24.012Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 14 23:56 go.mod [2023-02-15T00:04:24.012Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 14 23:56 go.sum [2023-02-15T00:04:24.012Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 14 23:56 internal [2023-02-15T00:04:24.012Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 23:56 openapi [2023-02-15T00:04:24.012Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 14 23:56 pkg [2023-02-15T00:04:24.012Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 23:56 snap [2023-02-15T00:04:24.012Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 14 23:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:04:24.446Z] + 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=408b6968c03ac3e1d14e96eb72eae9fe4493d621 --label arch=arm64 --label version=0.0.0 . [2023-02-15T00:04:25.058Z] Sending build context to Docker daemon 5.704MB [2023-02-15T00:04:25.058Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T00:04:25.058Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-15T00:04:25.058Z] ---> 8ca698b71cde [2023-02-15T00:04:25.058Z] Step 3/23 : ARG MAKE=make build [2023-02-15T00:04:25.058Z] ---> Running in 3f5a94f4dc8b [2023-02-15T00:04:25.330Z] Removing intermediate container 3f5a94f4dc8b [2023-02-15T00:04:25.331Z] ---> 8eeec842364c [2023-02-15T00:04:25.331Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-15T00:04:25.611Z] ---> Running in 1bae7fe39e8d [2023-02-15T00:04:25.884Z] Removing intermediate container 1bae7fe39e8d [2023-02-15T00:04:25.884Z] ---> 616bf46b890c [2023-02-15T00:04:25.884Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T00:04:25.884Z] ---> Running in d01cb8d2068f [2023-02-15T00:04:26.468Z] Removing intermediate container d01cb8d2068f [2023-02-15T00:04:26.468Z] ---> 4c53b8ce3aed [2023-02-15T00:04:26.468Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-15T00:04:26.468Z] ---> Running in cf4213e35a85 [2023-02-15T00:04:27.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T00:04:27.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T00:04:29.114Z] OK: 221 MiB in 51 packages [2023-02-15T00:04:30.079Z] Removing intermediate container cf4213e35a85 [2023-02-15T00:04:30.079Z] ---> a01cd1836b14 [2023-02-15T00:04:30.079Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-15T00:04:33.432Z] ---> fae79cf38e1d [2023-02-15T00:04:33.432Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T00:04:33.432Z] ---> Running in 7ca66445fbb6 [2023-02-15T00:04:36.017Z] Removing intermediate container 7ca66445fbb6 [2023-02-15T00:04:36.017Z] ---> fff02996e70f [2023-02-15T00:04:36.017Z] Step 9/23 : COPY . . [2023-02-15T00:04:36.981Z] ---> f066c0118d83 [2023-02-15T00:04:36.981Z] Step 10/23 : RUN ${MAKE} [2023-02-15T00:04:36.981Z] ---> Running in 1967ed54ed6b [2023-02-15T00:04:37.943Z] 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-15T00:06:59.705Z] Removing intermediate container 1967ed54ed6b [2023-02-15T00:06:59.705Z] ---> 5173daf5434a [2023-02-15T00:06:59.705Z] Step 11/23 : FROM alpine:3.16 [2023-02-15T00:06:59.705Z] 3.16: Pulling from library/alpine [2023-02-15T00:06:59.705Z] 3760b48202b3: Pulling fs layer [2023-02-15T00:06:59.705Z] 3760b48202b3: Verifying Checksum [2023-02-15T00:06:59.705Z] 3760b48202b3: Download complete [2023-02-15T00:06:59.705Z] 3760b48202b3: Pull complete [2023-02-15T00:06:59.705Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T00:06:59.705Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T00:06:59.705Z] ---> 4c81e5bf8899 [2023-02-15T00:06:59.705Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T00:06:59.705Z] ---> Running in 81251f0e372f [2023-02-15T00:06:59.705Z] Removing intermediate container 81251f0e372f [2023-02-15T00:06:59.705Z] ---> fb2597b9e968 [2023-02-15T00:06:59.705Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-15T00:06:59.705Z] ---> Running in 570cfb900c45 [2023-02-15T00:06:59.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T00:06:59.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T00:06:59.705Z] OK: 5 MiB in 14 packages [2023-02-15T00:06:59.975Z] Removing intermediate container 570cfb900c45 [2023-02-15T00:06:59.975Z] ---> 8edd514885de [2023-02-15T00:06:59.975Z] Step 14/23 : WORKDIR / [2023-02-15T00:07:00.249Z] ---> Running in 7d08b1de46a9 [2023-02-15T00:07:00.517Z] Removing intermediate container 7d08b1de46a9 [2023-02-15T00:07:00.517Z] ---> fc01f2f22996 [2023-02-15T00:07:00.517Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-15T00:07:01.100Z] ---> 9c120caba638 [2023-02-15T00:07:01.100Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-15T00:07:02.509Z] ---> aca6b46a0335 [2023-02-15T00:07:02.509Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-15T00:07:03.104Z] ---> 99baeba56b48 [2023-02-15T00:07:03.104Z] Step 18/23 : EXPOSE 59999 [2023-02-15T00:07:03.104Z] ---> Running in 959047a20a3f [2023-02-15T00:07:03.372Z] Removing intermediate container 959047a20a3f [2023-02-15T00:07:03.372Z] ---> cccc2ede6852 [2023-02-15T00:07:03.372Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-15T00:07:03.372Z] ---> Running in 0ec1d759e7ce [2023-02-15T00:07:03.644Z] Removing intermediate container 0ec1d759e7ce [2023-02-15T00:07:03.645Z] ---> 4810b80fd082 [2023-02-15T00:07:03.645Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-15T00:07:03.915Z] ---> Running in 0ff6fda4a193 [2023-02-15T00:07:04.183Z] Removing intermediate container 0ff6fda4a193 [2023-02-15T00:07:04.183Z] ---> 4662d2e04d6c [2023-02-15T00:07:04.183Z] Step 21/23 : LABEL arch=arm64 [2023-02-15T00:07:04.183Z] ---> Running in 79080bc59773 [2023-02-15T00:07:04.456Z] Removing intermediate container 79080bc59773 [2023-02-15T00:07:04.456Z] ---> a89e22a0502a [2023-02-15T00:07:04.456Z] Step 22/23 : LABEL git_sha=408b6968c03ac3e1d14e96eb72eae9fe4493d621 [2023-02-15T00:07:04.723Z] ---> Running in 2f4d95272861 [2023-02-15T00:07:04.992Z] Removing intermediate container 2f4d95272861 [2023-02-15T00:07:04.992Z] ---> 851a3281f60e [2023-02-15T00:07:04.992Z] Step 23/23 : LABEL version=0.0.0 [2023-02-15T00:07:04.992Z] ---> Running in 456523215e15 [2023-02-15T00:07:05.260Z] Removing intermediate container 456523215e15 [2023-02-15T00:07:05.260Z] ---> 5ee4ec7409e5 [2023-02-15T00:07:05.260Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T00:07:05.260Z] Successfully built 5ee4ec7409e5 [2023-02-15T00:07:05.532Z] 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-15T00:07:06.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:07:06.288Z] [2023-02-15T00:07:06.288Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:07:06.709Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:07:06.709Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T00:07:06.709Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T00:07:06.709Z] 04944245beec: Pulling fs layer [2023-02-15T00:07:06.709Z] 699f458cf7ca: Pulling fs layer [2023-02-15T00:07:06.709Z] 765212b225bb: Pulling fs layer [2023-02-15T00:07:06.709Z] f23df028b6ca: Pulling fs layer [2023-02-15T00:07:06.709Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T00:07:06.709Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T00:07:06.709Z] f23df028b6ca: Waiting [2023-02-15T00:07:06.709Z] d65c8cfc05b1: Waiting [2023-02-15T00:07:06.709Z] 2437ff75d9bd: Waiting [2023-02-15T00:07:06.709Z] 765212b225bb: Waiting [2023-02-15T00:07:06.979Z] 04944245beec: Verifying Checksum [2023-02-15T00:07:06.979Z] 04944245beec: Download complete [2023-02-15T00:07:06.979Z] 765212b225bb: Verifying Checksum [2023-02-15T00:07:06.979Z] 765212b225bb: Download complete [2023-02-15T00:07:07.251Z] f23df028b6ca: Verifying Checksum [2023-02-15T00:07:07.251Z] f23df028b6ca: Download complete [2023-02-15T00:07:07.251Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T00:07:07.251Z] d65c8cfc05b1: Download complete [2023-02-15T00:07:07.251Z] 699f458cf7ca: Verifying Checksum [2023-02-15T00:07:07.251Z] 699f458cf7ca: Download complete [2023-02-15T00:07:07.838Z] 8998bd30e6a1: Download complete [2023-02-15T00:07:10.432Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T00:07:10.432Z] 2437ff75d9bd: Download complete [2023-02-15T00:07:11.853Z] 8998bd30e6a1: Pull complete [2023-02-15T00:07:12.442Z] 04944245beec: Pull complete [2023-02-15T00:07:13.857Z] 699f458cf7ca: Pull complete [2023-02-15T00:07:14.127Z] 765212b225bb: Pull complete [2023-02-15T00:07:15.092Z] f23df028b6ca: Pull complete [2023-02-15T00:07:15.092Z] d65c8cfc05b1: Pull complete [2023-02-15T00:07:33.335Z] 2437ff75d9bd: Pull complete [2023-02-15T00:07:33.336Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T00:07:33.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T00:07:33.336Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:07:33.671Z] prd-ubuntu20.04-docker-arm64-4c-16g-5927 does not seem to be running inside a container [2023-02-15T00:07:33.744Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-15T00:07:36.756Z] $ docker top 0ffbbc5d87d4d50e36f937de6c0b48764f7739a9ac4af7eccf84bc215cd9822e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:07:37.684Z] ---> job-cost.sh [2023-02-15T00:07:37.684Z] lf-activate-venv: SKIPPING [2023-02-15T00:07:37.684Z] INFO: No Stack... [2023-02-15T00:07:38.268Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T00:07:38.853Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T00:07:39.516Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-02-15T00:07:39.516Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T00:07:39.614Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1321-1-stack-cost] [2023-02-15T00:07:39.619Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1321-1-stack-cost] did not exist. Created. [2023-02-15T00:07:39.619Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1321-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T00:07:40.360Z] /w/workspace/device-sdk-go/1@tmp/durable-b98c13b9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T00:07:41.047Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T00:07:41.085Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T00:07:41.166Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T00:07:41.181Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1321-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T00:07:41.261Z] $ docker stop --time=1 0ffbbc5d87d4d50e36f937de6c0b48764f7739a9ac4af7eccf84bc215cd9822e [2023-02-15T00:07:45.245Z] $ docker rm -f --volumes 0ffbbc5d87d4d50e36f937de6c0b48764f7739a9ac4af7eccf84bc215cd9822e [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-15T00:07:46.255Z] provisioning config files... [2023-02-15T00:07:46.263Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/config16140696569527531691tmp [Pipeline] { [Pipeline] sh [2023-02-15T00:07:46.596Z] + set +x [2023-02-15T00:07:46.596Z] + curl -s https://codecov.io/bash [2023-02-15T00:07:46.596Z] + bash -s -- [2023-02-15T00:07:46.596Z] [2023-02-15T00:07:46.596Z] _____ _ [2023-02-15T00:07:46.596Z] / ____| | | [2023-02-15T00:07:46.596Z] | | ___ __| | ___ ___ _____ __ [2023-02-15T00:07:46.596Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-15T00:07:46.596Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-15T00:07:46.596Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-15T00:07:46.596Z] Bash-1.0.6 [2023-02-15T00:07:46.596Z] [2023-02-15T00:07:46.596Z] [2023-02-15T00:07:46.596Z] ==> git version 2.25.1 found [2023-02-15T00:07:46.596Z] ==> 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-15T00:07:46.596Z] Release-Date: 2020-01-08 [2023-02-15T00:07:46.596Z] 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-15T00:07:46.596Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-15T00:07:46.596Z] ==> Jenkins CI detected. [2023-02-15T00:07:46.596Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1321 [2023-02-15T00:07:46.596Z] project root: . [2023-02-15T00:07:46.596Z] --> token set from env [2023-02-15T00:07:46.596Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-15T00:07:46.596Z] ==> Running gcov in . (disable via -X gcov) [2023-02-15T00:07:46.596Z] ==> Python coveragepy not found [2023-02-15T00:07:46.596Z] ==> Searching for coverage reports in: [2023-02-15T00:07:46.596Z] + . [2023-02-15T00:07:46.596Z] -> Found 1 reports [2023-02-15T00:07:46.596Z] ==> Detecting git/mercurial file structure [2023-02-15T00:07:46.596Z] ==> Reading reports [2023-02-15T00:07:46.855Z] + ./coverage.out bytes=98700 [2023-02-15T00:07:46.855Z] ==> Appending adjustments [2023-02-15T00:07:46.855Z] https://docs.codecov.io/docs/fixing-reports [2023-02-15T00:07:47.114Z] + Found adjustments [2023-02-15T00:07:47.114Z] ==> Gzipping contents [2023-02-15T00:07:47.114Z] 16K /tmp/codecov.qbFetm.gz [2023-02-15T00:07:47.114Z] ==> Uploading reports [2023-02-15T00:07:47.114Z] url: https://codecov.io [2023-02-15T00:07:47.114Z] query: branch=PR-1321&commit=408b6968c03ac3e1d14e96eb72eae9fe4493d621&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1321%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1321&job=&cmd_args= [2023-02-15T00:07:47.114Z] -> Pinging Codecov [2023-02-15T00:07:47.114Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1321&commit=408b6968c03ac3e1d14e96eb72eae9fe4493d621&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1321%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1321&job=&cmd_args= [2023-02-15T00:07:47.373Z] -> Uploading to [2023-02-15T00:07:47.373Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-15/7E55EF52A471D76F132DFD9A03CDDE97/408b6968c03ac3e1d14e96eb72eae9fe4493d621/115ecba2-bdf1-459a-84d6-d89a4436d548.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T000747Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ed0c53c0dcaf8a62758dfac4172b48b1eaf8aedd5343cbe8423174abf5529ece [2023-02-15T00:07:47.373Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T00:07:47.373Z] Dload Upload Total Spent Left Speed [2023-02-15T00:07:47.632Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14344 0 0 100 14344 0 47029 --:--:-- --:--:-- --:--:-- 47029 [2023-02-15T00:07:47.632Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/408b6968c03ac3e1d14e96eb72eae9fe4493d621 [Pipeline] } [2023-02-15T00:07:47.654Z] 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-15T00:07:49.480Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1321/archives ] [2023-02-15T00:07:49.480Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1321/archives [2023-02-15T00:07:49.480Z] total 16 [2023-02-15T00:07:49.480Z] drwxr-xr-x 3 root root 4096 Feb 14 23:56 . [2023-02-15T00:07:49.480Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 14 23:56 .. [2023-02-15T00:07:49.480Z] drwxr-xr-x 2 root root 4096 Feb 14 23:56 cost [2023-02-15T00:07:49.480Z] -rw-r--r-- 1 root root 86 Feb 14 23:56 cost.csv [2023-02-15T00:07:49.480Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1321/archives [2023-02-15T00:07:49.480Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1321/archives [2023-02-15T00:07:49.480Z] total 16 [2023-02-15T00:07:49.480Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 23:56 . [2023-02-15T00:07:49.480Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 14 23:56 .. [2023-02-15T00:07:49.480Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 14 23:56 cost [2023-02-15T00:07:49.480Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 14 23:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:07:49.820Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:07:50.721Z] ---> package-listing.sh [2023-02-15T00:07:50.721Z] ++ facter osfamily [2023-02-15T00:07:50.721Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T00:07:50.979Z] + OS_FAMILY=debian [2023-02-15T00:07:50.979Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1321 [2023-02-15T00:07:50.979Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T00:07:50.979Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T00:07:50.979Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T00:07:50.979Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T00:07:50.979Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1321 ']' [2023-02-15T00:07:50.979Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T00:07:50.979Z] + case "${OS_FAMILY}" in [2023-02-15T00:07:50.979Z] + dpkg -l [2023-02-15T00:07:50.979Z] + grep '^ii' [2023-02-15T00:07:50.979Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T00:07:50.979Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T00:07:50.979Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T00:07:50.979Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1321 ']' [2023-02-15T00:07:50.979Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1321/archives/ [2023-02-15T00:07:50.979Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1321/archives/ [Pipeline] echo [2023-02-15T00:07:51.016Z] 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-1321/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T00:07:51.307Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T00:07:51.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T00:07:51.927Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T00:07:52.076Z] prd-ubuntu20.04-docker-8c-8g-5923 does not seem to be running inside a container [2023-02-15T00:07:52.105Z] $ 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-1321/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-1321 -v /w/workspace/gexfoundry_device-sdk-go_PR-1321:/w/workspace/gexfoundry_device-sdk-go_PR-1321:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T00:07:52.328Z] $ docker top 8a1f97b1cf2f4d62c7ed4200d4cd2dbe78a913e04bb22ffc1ae25e66afa04cc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T00:07:52.720Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T00:07:53.027Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T00:07:53.342Z] + ls /var/log/sa-host [2023-02-15T00:07:53.342Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T00:07:53.470Z] provisioning config files... [2023-02-15T00:07:53.478Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/config3352318601715764851tmp [Pipeline] { [Pipeline] echo [2023-02-15T00:07:53.523Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:07:53.834Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T00:07:53.864Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:07:54.252Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T00:07:54.285Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:07:54.596Z] ---> sudo-logs.sh [2023-02-15T00:07:54.596Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T00:07:54.674Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:07:54.990Z] ---> job-cost.sh [2023-02-15T00:07:54.990Z] lf-activate-venv: SKIPPING [2023-02-15T00:07:54.990Z] DEBUG: total: 0.2199999988079071 [2023-02-15T00:07:54.990Z] INFO: Retrieving Stack Cost... [2023-02-15T00:07:55.250Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T00:07:55.817Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T00:07:55.856Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T00:07:56.172Z] ---> logs-deploy.sh [2023-02-15T00:07:56.172Z] lf-activate-venv: SKIPPING [2023-02-15T00:07:56.172Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1321/1 [2023-02-15T00:07:56.172Z] INFO: archiving workspace using pattern(s): [2023-02-15T00:07:57.106Z] Archives upload complete. [2023-02-15T00:07:57.106Z] INFO: archiving logs to Nexus