Pull request #1356 updated 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 76656c39d531b52c6d80b1a3df667d0ca3583f50+e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 (cc2e03d5314a729f9cbf93cbe47cdb16dc444a94) 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-ssh12096070584181392761.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-ssh4371357499440111639.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1356/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1356/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh214104259532296777.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 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-ssh1332680456081529406.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1356/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1356/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13327265995926522229.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Running on prd-ubuntu20.04-docker-8c-8g-9380 in /w/workspace/gexfoundry_device-sdk-go_PR-1356 [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-1356 # 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/1356/head:refs/remotes/origin/PR-1356 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 into PR head commit 76656c39d531b52c6d80b1a3df667d0ca3583f50 Merge succeeded, producing 76656c39d531b52c6d80b1a3df667d0ca3583f50 Checking out Revision 76656c39d531b52c6d80b1a3df667d0ca3583f50 (PR-1356) > git config core.sparsecheckout # timeout=10 > git checkout -f 76656c39d531b52c6d80b1a3df667d0ca3583f50 # 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 e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76656c39d531b52c6d80b1a3df667d0ca3583f50 # timeout=10 Commit message: "feat: publish event with updated value for PUT command" First time build. Skipping changelog. > git rev-list --no-walk 3c0a7b0b0f95e9967f5f10814d5d3d8c2d1ffbc7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-09T03:45:51.268Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-09T03:45:51.331Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-09T03:45:51.353Z] ========================================================= [2023-03-09T03:45:51.353Z] EdgeX Global Pipelines Version Info [2023-03-09T03:45:51.353Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:45:52.129Z] ------------------- [2023-03-09T03:45:52.129Z] stable info: [2023-03-09T03:45:52.129Z] ------------------- [2023-03-09T03:45:52.129Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-09T03:45:52.129Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-09T03:45:52.129Z] Message: update stable to v1.0.244 [2023-03-09T03:45:52.701Z] ------------------- [2023-03-09T03:45:52.701Z] experimental info: [2023-03-09T03:45:52.701Z] ------------------- [2023-03-09T03:45:52.701Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-09T03:45:52.701Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-09T03:45:52.701Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-09T03:45:52.887Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-09T03:45:52.897Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-09T03:45:52.906Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-09T03:45:52.922Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-09T03:45:52.939Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-09T03:45:52.949Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-09T03:45:52.963Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-09T03:45:52.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-09T03:45:52.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-09T03:45:53.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-09T03:45:53.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-09T03:45:53.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-09T03:45:53.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-09T03:45:53.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-09T03:45:53.071Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-09T03:45:53.083Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-09T03:45:53.095Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-09T03:45:53.110Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-09T03:45:53.127Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-09T03:45:53.141Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-09T03:45:53.152Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-09T03:45:53.163Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-09T03:45:53.175Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-09T03:45:53.187Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-09T03:45:53.199Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-09T03:45:53.210Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-09T03:45:53.222Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-09T03:45:53.241Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1356 [Pipeline] echo [2023-03-09T03:45:53.257Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1356 [Pipeline] echo [2023-03-09T03:45:53.268Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1356 [Pipeline] echo [2023-03-09T03:45:53.282Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76656c39d531b52c6d80b1a3df667d0ca3583f50 [Pipeline] echo [2023-03-09T03:45:53.299Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76656c3 [Pipeline] echo [2023-03-09T03:45:53.311Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T03:45:53.352Z] provisioning config files... [2023-03-09T03:45:53.365Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config3011793707163128920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:45:53.667Z] ---> docker-login.sh [2023-03-09T03:45:53.667Z] nexus3.edgexfoundry.org:10001 [2023-03-09T03:45:53.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:45:53.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:45:53.927Z] Configure a credential helper to remove this warning. See [2023-03-09T03:45:53.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:45:53.927Z] [2023-03-09T03:45:53.927Z] Login Succeeded [2023-03-09T03:45:53.927Z] nexus3.edgexfoundry.org:10002 [2023-03-09T03:45:54.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:45:54.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:45:54.188Z] Configure a credential helper to remove this warning. See [2023-03-09T03:45:54.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:45:54.188Z] [2023-03-09T03:45:54.188Z] Login Succeeded [2023-03-09T03:45:54.188Z] nexus3.edgexfoundry.org:10003 [2023-03-09T03:45:54.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:45:54.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:45:54.188Z] Configure a credential helper to remove this warning. See [2023-03-09T03:45:54.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:45:54.188Z] [2023-03-09T03:45:54.188Z] Login Succeeded [2023-03-09T03:45:54.188Z] nexus3.edgexfoundry.org:10004 [2023-03-09T03:45:54.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:45:54.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:45:54.447Z] Configure a credential helper to remove this warning. See [2023-03-09T03:45:54.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:45:54.447Z] [2023-03-09T03:45:54.447Z] Login Succeeded [2023-03-09T03:45:54.447Z] docker.io [2023-03-09T03:45:54.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:45:54.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:45:54.708Z] Configure a credential helper to remove this warning. See [2023-03-09T03:45:54.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:45:54.708Z] [2023-03-09T03:45:54.708Z] Login Succeeded [2023-03-09T03:45:54.708Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T03:45:54.717Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-09T03:45:55.107Z] + git rev-list -1 --merges 76656c39d531b52c6d80b1a3df667d0ca3583f50~1..76656c39d531b52c6d80b1a3df667d0ca3583f50 [Pipeline] echo [2023-03-09T03:45:55.134Z] -----------> git rev-list -1 --merges 76656c39d531b52c6d80b1a3df667d0ca3583f50~1..76656c39d531b52c6d80b1a3df667d0ca3583f50 76656c39d531b52c6d80b1a3df667d0ca3583f50 [false] [Pipeline] sh [2023-03-09T03:45:55.424Z] + git log --format=format:%s -1 76656c39d531b52c6d80b1a3df667d0ca3583f50 [Pipeline] echo [2023-03-09T03:45:55.441Z] ========================================================= [2023-03-09T03:45:55.441Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-09T03:45:55.441Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T03:45:55.771Z] + git log --format=format:%s -1 76656c39d531b52c6d80b1a3df667d0ca3583f50 [Pipeline] echo [2023-03-09T03:45:55.782Z] [semverPrep] GIT_COMMIT: 76656c39d531b52c6d80b1a3df667d0ca3583f50, Commit Message: feat: publish event with updated value for PUT command [Pipeline] echo [2023-03-09T03:45:55.795Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-09T03:45:56.163Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-09T03:45:56.163Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-09T03:45:56.163Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-09T03:45:56.163Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-09T03:45:56.163Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-09T03:45:56.163Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-09T03:45:56.164Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:45:56.603Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T03:45:56.603Z] [2023-03-09T03:45:56.603Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:45:56.906Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T03:45:56.906Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-09T03:45:56.906Z] b85a868b505f: Pulling fs layer [2023-03-09T03:45:56.906Z] e2be974225ed: Pulling fs layer [2023-03-09T03:45:56.906Z] 339a4e72a1f5: Pulling fs layer [2023-03-09T03:45:56.906Z] 988bab9f4d93: Pulling fs layer [2023-03-09T03:45:56.906Z] 1469e6f7b9e6: Pulling fs layer [2023-03-09T03:45:56.906Z] eaf3925da568: Pulling fs layer [2023-03-09T03:45:56.906Z] bab4dde63d76: Pulling fs layer [2023-03-09T03:45:56.906Z] bde34c3a00c8: Pulling fs layer [2023-03-09T03:45:56.906Z] b352a97aabf1: Pulling fs layer [2023-03-09T03:45:56.906Z] 4872d77fe225: Pulling fs layer [2023-03-09T03:45:56.906Z] 5851b861e8e6: Pulling fs layer [2023-03-09T03:45:56.906Z] bab4dde63d76: Waiting [2023-03-09T03:45:56.906Z] bde34c3a00c8: Waiting [2023-03-09T03:45:56.906Z] b352a97aabf1: Waiting [2023-03-09T03:45:56.906Z] 4872d77fe225: Waiting [2023-03-09T03:45:56.906Z] 5851b861e8e6: Waiting [2023-03-09T03:45:56.906Z] 988bab9f4d93: Waiting [2023-03-09T03:45:56.906Z] eaf3925da568: Waiting [2023-03-09T03:45:56.906Z] 1469e6f7b9e6: Waiting [2023-03-09T03:45:56.906Z] e2be974225ed: Verifying Checksum [2023-03-09T03:45:56.906Z] e2be974225ed: Download complete [2023-03-09T03:45:56.906Z] 988bab9f4d93: Download complete [2023-03-09T03:45:57.166Z] 1469e6f7b9e6: Verifying Checksum [2023-03-09T03:45:57.166Z] 1469e6f7b9e6: Download complete [2023-03-09T03:45:57.166Z] eaf3925da568: Download complete [2023-03-09T03:45:57.166Z] 339a4e72a1f5: Verifying Checksum [2023-03-09T03:45:57.166Z] 339a4e72a1f5: Download complete [2023-03-09T03:45:57.166Z] bde34c3a00c8: Verifying Checksum [2023-03-09T03:45:57.166Z] bde34c3a00c8: Download complete [2023-03-09T03:45:57.166Z] b352a97aabf1: Verifying Checksum [2023-03-09T03:45:57.166Z] b352a97aabf1: Download complete [2023-03-09T03:45:57.166Z] 4872d77fe225: Verifying Checksum [2023-03-09T03:45:57.166Z] 4872d77fe225: Download complete [2023-03-09T03:45:57.166Z] 5851b861e8e6: Download complete [2023-03-09T03:45:57.166Z] b85a868b505f: Verifying Checksum [2023-03-09T03:45:57.166Z] b85a868b505f: Download complete [2023-03-09T03:45:57.425Z] bab4dde63d76: Verifying Checksum [2023-03-09T03:45:57.425Z] bab4dde63d76: Download complete [2023-03-09T03:45:58.362Z] b85a868b505f: Pull complete [2023-03-09T03:45:58.621Z] e2be974225ed: Pull complete [2023-03-09T03:45:59.189Z] 339a4e72a1f5: Pull complete [2023-03-09T03:45:59.189Z] 988bab9f4d93: Pull complete [2023-03-09T03:45:59.447Z] 1469e6f7b9e6: Pull complete [2023-03-09T03:45:59.447Z] eaf3925da568: Pull complete [2023-03-09T03:46:01.350Z] bab4dde63d76: Pull complete [2023-03-09T03:46:01.350Z] bde34c3a00c8: Pull complete [2023-03-09T03:46:01.350Z] b352a97aabf1: Pull complete [2023-03-09T03:46:01.350Z] 4872d77fe225: Pull complete [2023-03-09T03:46:01.610Z] 5851b861e8e6: Pull complete [2023-03-09T03:46:01.610Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-09T03:46:01.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-09T03:46:01.610Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:46:01.715Z] prd-ubuntu20.04-docker-8c-8g-9380 does not seem to be running inside a container [2023-03-09T03:46:01.754Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@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-devops/py-git-semver:0.1.4 cat [2023-03-09T03:46:02.891Z] $ docker top c78e584228f8ae537b590288830bf1e0d86ab42ac0eec0fd5ad46ce43455ea2d -eo pid,comm [2023-03-09T03:46:02.951Z] 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-03-09T03:46:02.951Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-09T03:46:02.991Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T03:46:02.991Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T03:46:03.117Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T03:46:03.120Z] $ docker exec c78e584228f8ae537b590288830bf1e0d86ab42ac0eec0fd5ad46ce43455ea2d ssh-agent [2023-03-09T03:46:03.238Z] SSH_AUTH_SOCK=/tmp/ssh-5FwjwVOTHxZr/agent.32 [2023-03-09T03:46:03.238Z] SSH_AGENT_PID=38 [2023-03-09T03:46:03.245Z] Running ssh-add (command line suppressed) [2023-03-09T03:46:03.361Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_8550870815871528036.key (/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_8550870815871528036.key) [2023-03-09T03:46:03.373Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T03:46:03.662Z] + git tag --points-at HEAD [Pipeline] } [2023-03-09T03:46:03.674Z] $ docker exec --env ******** --env ******** c78e584228f8ae537b590288830bf1e0d86ab42ac0eec0fd5ad46ce43455ea2d ssh-agent -k [2023-03-09T03:46:03.780Z] unset SSH_AUTH_SOCK; [2023-03-09T03:46:03.781Z] unset SSH_AGENT_PID; [2023-03-09T03:46:03.781Z] echo Agent pid 38 killed; [2023-03-09T03:46:03.792Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-09T03:46:03.825Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-09T03:46:03.825Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-09T03:46:03.954Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-09T03:46:03.957Z] $ docker exec c78e584228f8ae537b590288830bf1e0d86ab42ac0eec0fd5ad46ce43455ea2d ssh-agent [2023-03-09T03:46:04.077Z] SSH_AUTH_SOCK=/tmp/ssh-yAPudWPvTtrG/agent.70 [2023-03-09T03:46:04.077Z] SSH_AGENT_PID=76 [2023-03-09T03:46:04.081Z] Running ssh-add (command line suppressed) [2023-03-09T03:46:04.181Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_11305163535502113678.key (/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_11305163535502113678.key) [2023-03-09T03:46:04.197Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-09T03:46:04.488Z] + git semver init [2023-03-09T03:46:04.747Z] 2023-03-09 03:46:04,678 [run_init] DEBUG init version:0.0.0 force:False [2023-03-09T03:46:04.748Z] 2023-03-09 03:46:04,678 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver [2023-03-09T03:46:04.748Z] 2023-03-09 03:46:04,679 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver [2023-03-09T03:46:04.748Z] 2023-03-09 03:46:04,679 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1356, universal_newlines=False, shell=None, istream=None) [2023-03-09T03:46:05.687Z] 2023-03-09 03:46:05,542 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.git/info/exclude [2023-03-09T03:46:05.687Z] 2023-03-09 03:46:05,542 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver/PR-1356 with force:False [2023-03-09T03:46:05.687Z] 2023-03-09 03:46:05,542 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver/PR-1356 [2023-03-09T03:46:05.687Z] 2023-03-09 03:46:05,547 [execute] INFO git cat-file --batch-check [2023-03-09T03:46:05.687Z] 2023-03-09 03:46:05,548 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver, universal_newlines=False, shell=None, istream=) [2023-03-09T03:46:05.687Z] 2023-03-09 03:46:05,555 [execute] INFO git cat-file --batch [2023-03-09T03:46:05.687Z] 2023-03-09 03:46:05,555 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver, universal_newlines=False, shell=None, istream=) [2023-03-09T03:46:05.687Z] 2023-03-09 03:46:05,561 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver/PR-1356 [2023-03-09T03:46:05.687Z] 0.0.0 [Pipeline] } [2023-03-09T03:46:05.697Z] $ docker exec --env ******** --env ******** c78e584228f8ae537b590288830bf1e0d86ab42ac0eec0fd5ad46ce43455ea2d ssh-agent -k [2023-03-09T03:46:05.797Z] unset SSH_AUTH_SOCK; [2023-03-09T03:46:05.798Z] unset SSH_AGENT_PID; [2023-03-09T03:46:05.798Z] echo Agent pid 76 killed; [2023-03-09T03:46:05.807Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-09T03:46:06.117Z] + git semver [Pipeline] } [2023-03-09T03:46:06.391Z] $ docker stop --time=1 c78e584228f8ae537b590288830bf1e0d86ab42ac0eec0fd5ad46ce43455ea2d [2023-03-09T03:46:07.712Z] $ docker rm -f --volumes c78e584228f8ae537b590288830bf1e0d86ab42ac0eec0fd5ad46ce43455ea2d [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T03:46:08.044Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-09T03:46:08.249Z] Stashed 1 file(s) [Pipeline] echo [2023-03-09T03:46:08.253Z] [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-03-09T03:46:08.418Z] provisioning config files... [2023-03-09T03:46:08.425Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config5921118701918917644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:46:08.726Z] ---> docker-login.sh [2023-03-09T03:46:08.726Z] nexus3.edgexfoundry.org:10001 [2023-03-09T03:46:08.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:46:08.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:46:08.726Z] Configure a credential helper to remove this warning. See [2023-03-09T03:46:08.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:46:08.726Z] [2023-03-09T03:46:08.726Z] Login Succeeded [2023-03-09T03:46:08.726Z] nexus3.edgexfoundry.org:10002 [2023-03-09T03:46:08.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:46:08.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:46:08.726Z] Configure a credential helper to remove this warning. See [2023-03-09T03:46:08.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:46:08.726Z] [2023-03-09T03:46:08.726Z] Login Succeeded [2023-03-09T03:46:08.726Z] nexus3.edgexfoundry.org:10003 [2023-03-09T03:46:08.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:46:08.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:46:08.985Z] Configure a credential helper to remove this warning. See [2023-03-09T03:46:08.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:46:08.985Z] [2023-03-09T03:46:08.985Z] Login Succeeded [2023-03-09T03:46:08.985Z] nexus3.edgexfoundry.org:10004 [2023-03-09T03:46:08.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:46:08.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:46:08.985Z] Configure a credential helper to remove this warning. See [2023-03-09T03:46:08.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:46:08.985Z] [2023-03-09T03:46:08.985Z] Login Succeeded [2023-03-09T03:46:08.985Z] docker.io [2023-03-09T03:46:09.178Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9385 in /w/workspace/gexfoundry_device-sdk-go_PR-1356 [Pipeline] { [Pipeline] ws [2023-03-09T03:46:09.192Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2023-03-09T03:46:09.222Z] The recommended git tool is: git [2023-03-09T03:46:09.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:46:09.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:46:09.244Z] Configure a credential helper to remove this warning. See [2023-03-09T03:46:09.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:46:09.244Z] [2023-03-09T03:46:09.244Z] Login Succeeded [2023-03-09T03:46:09.503Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T03:46:09.512Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-09T03:46:09.575Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T03:46:09.592Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T03:46:09.602Z] ========================================================= [2023-03-09T03:46:09.602Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-09T03:46:09.602Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:46:09.923Z] + 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-03-09T03:46:09.923Z] Sending build context to Docker daemon 10.76MB [2023-03-09T03:46:09.923Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T03:46:09.923Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-09T03:46:09.923Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-09T03:46:09.923Z] 213ec9aee27d: Pulling fs layer [2023-03-09T03:46:09.923Z] 4583459ba037: Pulling fs layer [2023-03-09T03:46:09.923Z] 93c1e223e6f2: Pulling fs layer [2023-03-09T03:46:09.923Z] 53926ce57604: Pulling fs layer [2023-03-09T03:46:09.923Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-09T03:46:09.923Z] 22ff95d597cd: Pulling fs layer [2023-03-09T03:46:09.923Z] 12d6caf4c0d1: Pulling fs layer [2023-03-09T03:46:09.923Z] 96b7cbca73a9: Pulling fs layer [2023-03-09T03:46:09.923Z] a7acece74701: Pulling fs layer [2023-03-09T03:46:09.923Z] 12d6caf4c0d1: Waiting [2023-03-09T03:46:09.923Z] 53926ce57604: Waiting [2023-03-09T03:46:09.923Z] 21b2b0c7a3f4: Waiting [2023-03-09T03:46:09.923Z] 22ff95d597cd: Waiting [2023-03-09T03:46:09.923Z] 96b7cbca73a9: Waiting [2023-03-09T03:46:09.923Z] 93c1e223e6f2: Verifying Checksum [2023-03-09T03:46:09.923Z] 93c1e223e6f2: Download complete [2023-03-09T03:46:09.923Z] 4583459ba037: Verifying Checksum [2023-03-09T03:46:09.923Z] 4583459ba037: Download complete [2023-03-09T03:46:10.184Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-09T03:46:10.184Z] 21b2b0c7a3f4: Download complete [2023-03-09T03:46:10.184Z] 22ff95d597cd: Verifying Checksum [2023-03-09T03:46:10.184Z] 22ff95d597cd: Download complete [2023-03-09T03:46:10.184Z] 213ec9aee27d: Download complete [2023-03-09T03:46:10.184Z] 12d6caf4c0d1: Verifying Checksum [2023-03-09T03:46:10.184Z] 12d6caf4c0d1: Download complete [2023-03-09T03:46:10.184Z] 213ec9aee27d: Pull complete [2023-03-09T03:46:10.446Z] 4583459ba037: Pull complete [2023-03-09T03:46:10.446Z] 93c1e223e6f2: Pull complete [2023-03-09T03:46:10.708Z] a7acece74701: Verifying Checksum [2023-03-09T03:46:10.708Z] a7acece74701: Download complete [2023-03-09T03:46:10.968Z] 96b7cbca73a9: Verifying Checksum [2023-03-09T03:46:10.968Z] 96b7cbca73a9: Download complete [2023-03-09T03:46:10.968Z] 53926ce57604: Verifying Checksum [2023-03-09T03:46:10.968Z] 53926ce57604: Download complete [2023-03-09T03:46:13.744Z] using credential edgex-jenkins-ssh [2023-03-09T03:46:13.767Z] Cloning the remote Git repository [2023-03-09T03:46:13.824Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-09T03:46:13.884Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2023-03-09T03:46:14.022Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-09T03:46:14.023Z] > git --version # timeout=10 [2023-03-09T03:46:14.044Z] > git --version # 'git version 2.25.1' [2023-03-09T03:46:14.045Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T03:46:15.153Z] 53926ce57604: Pull complete [2023-03-09T03:46:15.153Z] 21b2b0c7a3f4: Pull complete [2023-03-09T03:46:15.153Z] 22ff95d597cd: Pull complete [2023-03-09T03:46:15.153Z] 12d6caf4c0d1: Pull complete [2023-03-09T03:46:14.093Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-09T03:46:15.598Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-09T03:46:15.622Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-09T03:46:17.325Z] Merging remotes/origin/main commit e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 into PR head commit 76656c39d531b52c6d80b1a3df667d0ca3583f50 [2023-03-09T03:46:17.565Z] Merge succeeded, producing 76656c39d531b52c6d80b1a3df667d0ca3583f50 [2023-03-09T03:46:17.565Z] Checking out Revision 76656c39d531b52c6d80b1a3df667d0ca3583f50 (PR-1356) [2023-03-09T03:46:17.686Z] 96b7cbca73a9: Pull complete [2023-03-09T03:46:16.592Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-09T03:46:16.659Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-09T03:46:16.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T03:46:16.676Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1356/head:refs/remotes/origin/PR-1356 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-09T03:46:17.354Z] > git config core.sparsecheckout # timeout=10 [2023-03-09T03:46:17.377Z] > git checkout -f 76656c39d531b52c6d80b1a3df667d0ca3583f50 # timeout=10 [2023-03-09T03:46:17.482Z] > git remote # timeout=10 [2023-03-09T03:46:17.502Z] > git config --get remote.origin.url # timeout=10 [2023-03-09T03:46:17.517Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-09T03:46:17.530Z] > git merge e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 # timeout=10 [2023-03-09T03:46:17.555Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-09T03:46:17.579Z] > git config core.sparsecheckout # timeout=10 [2023-03-09T03:46:17.593Z] > git checkout -f 76656c39d531b52c6d80b1a3df667d0ca3583f50 # timeout=10 [2023-03-09T03:46:18.253Z] a7acece74701: Pull complete [2023-03-09T03:46:18.254Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-09T03:46:18.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-09T03:46:18.254Z] ---> db6d94c90886 [2023-03-09T03:46:18.254Z] Step 3/10 : ARG MAKE=make build [2023-03-09T03:46:19.632Z] ---> Running in 2baf714e7a14 [2023-03-09T03:46:19.632Z] Removing intermediate container 2baf714e7a14 [2023-03-09T03:46:19.632Z] ---> e2a2e1efdb51 [2023-03-09T03:46:19.632Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-09T03:46:19.632Z] ---> Running in bc3e3cbe5943 [2023-03-09T03:46:19.632Z] Removing intermediate container bc3e3cbe5943 [2023-03-09T03:46:19.632Z] ---> cd90c8bd622d [2023-03-09T03:46:19.632Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-09T03:46:19.632Z] ---> Running in ce9fd8442fa3 [2023-03-09T03:46:19.891Z] Removing intermediate container ce9fd8442fa3 [2023-03-09T03:46:19.891Z] ---> 2ba83824a5cb [2023-03-09T03:46:19.891Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-09T03:46:19.891Z] ---> Running in 938d81e14be0 [2023-03-09T03:46:20.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T03:46:20.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T03:46:20.413Z] OK: 211 MiB in 51 packages [2023-03-09T03:46:20.980Z] Removing intermediate container 938d81e14be0 [2023-03-09T03:46:20.980Z] ---> 3f7a8f73d765 [2023-03-09T03:46:20.980Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-09T03:46:20.980Z] ---> aa18ec3aeb94 [2023-03-09T03:46:20.980Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T03:46:20.980Z] ---> Running in 161db0d89423 [2023-03-09T03:46:21.101Z] Commit message: "feat: publish event with updated value for PUT command" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T03:46:21.905Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-09T03:46:21.905Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-09T03:46:21.905Z] Dload Upload Total Spent Left Speed [2023-03-09T03:46:21.906Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh [2023-03-09T03:46:22.521Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-09T03:46:22.849Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-09T03:46:22.849Z] + sudo tee /etc/docker/daemon.new [2023-03-09T03:46:22.849Z] { [2023-03-09T03:46:22.849Z] "registry-mirrors": [ [2023-03-09T03:46:22.849Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-09T03:46:22.849Z] ], [2023-03-09T03:46:22.849Z] "bip": "10.250.0.254/24", [2023-03-09T03:46:22.849Z] "hosts": [ [2023-03-09T03:46:22.849Z] "tcp://0.0.0.0:5555", [2023-03-09T03:46:22.849Z] "unix:///var/run/docker.sock" [2023-03-09T03:46:22.849Z] ], [2023-03-09T03:46:22.849Z] "mtu": 1458, [2023-03-09T03:46:22.849Z] "selinux-enabled": true, [2023-03-09T03:46:22.849Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-09T03:46:22.849Z] } [Pipeline] sh [2023-03-09T03:46:23.173Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-09T03:46:23.513Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T03:46:41.803Z] provisioning config files... [2023-03-09T03:46:41.831Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config16265643857457187851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:46:42.177Z] ---> docker-login.sh [2023-03-09T03:46:42.177Z] nexus3.edgexfoundry.org:10001 [2023-03-09T03:46:42.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:46:42.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:46:42.721Z] Configure a credential helper to remove this warning. See [2023-03-09T03:46:42.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:46:42.721Z] [2023-03-09T03:46:42.721Z] Login Succeeded [2023-03-09T03:46:42.721Z] nexus3.edgexfoundry.org:10002 [2023-03-09T03:46:42.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:46:43.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:46:43.262Z] Configure a credential helper to remove this warning. See [2023-03-09T03:46:43.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:46:43.262Z] [2023-03-09T03:46:43.262Z] Login Succeeded [2023-03-09T03:46:43.262Z] nexus3.edgexfoundry.org:10003 [2023-03-09T03:46:43.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:46:43.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:46:43.532Z] Configure a credential helper to remove this warning. See [2023-03-09T03:46:43.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:46:43.532Z] [2023-03-09T03:46:43.532Z] Login Succeeded [2023-03-09T03:46:43.532Z] nexus3.edgexfoundry.org:10004 [2023-03-09T03:46:43.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:46:43.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:46:43.804Z] Configure a credential helper to remove this warning. See [2023-03-09T03:46:43.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:46:43.804Z] [2023-03-09T03:46:43.804Z] Login Succeeded [2023-03-09T03:46:43.804Z] docker.io [2023-03-09T03:46:44.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-09T03:46:44.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-09T03:46:44.341Z] Configure a credential helper to remove this warning. See [2023-03-09T03:46:44.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-09T03:46:44.341Z] [2023-03-09T03:46:44.341Z] Login Succeeded [2023-03-09T03:46:44.341Z] ---> docker-login.sh ends [Pipeline] } [2023-03-09T03:46:44.356Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-09T03:46:44.549Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T03:46:44.559Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-09T03:46:44.567Z] ========================================================= [2023-03-09T03:46:44.567Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-09T03:46:44.567Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:46:44.898Z] + 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-03-09T03:46:45.491Z] Sending build context to Docker daemon 5.794MB [2023-03-09T03:46:45.491Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T03:46:45.491Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-09T03:46:45.491Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-09T03:46:45.491Z] 9b18e9b68314: Pulling fs layer [2023-03-09T03:46:45.491Z] 35d82f9e3411: Pulling fs layer [2023-03-09T03:46:45.491Z] e16973657156: Pulling fs layer [2023-03-09T03:46:45.491Z] fc693d55d65f: Pulling fs layer [2023-03-09T03:46:45.491Z] 7e9fc2657dce: Pulling fs layer [2023-03-09T03:46:45.491Z] dda99020689f: Pulling fs layer [2023-03-09T03:46:45.491Z] db1c61fa0a46: Pulling fs layer [2023-03-09T03:46:45.491Z] 891c053d2c06: Pulling fs layer [2023-03-09T03:46:45.491Z] dda99020689f: Waiting [2023-03-09T03:46:45.491Z] fc693d55d65f: Waiting [2023-03-09T03:46:45.491Z] db1c61fa0a46: Waiting [2023-03-09T03:46:45.491Z] 7e9fc2657dce: Waiting [2023-03-09T03:46:45.491Z] 891c053d2c06: Waiting [2023-03-09T03:46:45.491Z] e16973657156: Verifying Checksum [2023-03-09T03:46:45.491Z] e16973657156: Download complete [2023-03-09T03:46:45.491Z] 35d82f9e3411: Verifying Checksum [2023-03-09T03:46:45.491Z] 35d82f9e3411: Download complete [2023-03-09T03:46:45.491Z] 7e9fc2657dce: Verifying Checksum [2023-03-09T03:46:45.491Z] 7e9fc2657dce: Download complete [2023-03-09T03:46:45.491Z] dda99020689f: Verifying Checksum [2023-03-09T03:46:45.491Z] dda99020689f: Download complete [2023-03-09T03:46:45.491Z] 9b18e9b68314: Verifying Checksum [2023-03-09T03:46:46.457Z] 891c053d2c06: Verifying Checksum [2023-03-09T03:46:46.457Z] 891c053d2c06: Download complete [2023-03-09T03:46:47.538Z] Removing intermediate container 161db0d89423 [2023-03-09T03:46:47.538Z] ---> 3718e8190fb7 [2023-03-09T03:46:47.538Z] Step 9/10 : COPY . . [2023-03-09T03:46:47.538Z] ---> cb3289d8c39b [2023-03-09T03:46:47.538Z] Step 10/10 : RUN ${MAKE} [2023-03-09T03:46:47.538Z] ---> Running in c8f0492422b5 [2023-03-09T03:46:47.538Z] noop [2023-03-09T03:46:47.538Z] Removing intermediate container c8f0492422b5 [2023-03-09T03:46:47.538Z] ---> a364c34e34d4 [2023-03-09T03:46:47.538Z] Successfully built a364c34e34d4 [2023-03-09T03:46:47.538Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:46:47.861Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-09T03:46:47.861Z] . [Pipeline] } [2023-03-09T03:46:47.874Z] db1c61fa0a46: Verifying Checksum [2023-03-09T03:46:47.874Z] db1c61fa0a46: Download complete [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:46:47.935Z] prd-ubuntu20.04-docker-8c-8g-9380 does not seem to be running inside a container [2023-03-09T03:46:47.968Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-09T03:46:48.144Z] 9b18e9b68314: Pull complete [2023-03-09T03:46:48.366Z] $ docker top 1abe93ff143961c06b0c14c2e099e979b36bd0351bb7d2d1a0657b50daf72faf -eo pid,comm [2023-03-09T03:46:48.410Z] fc693d55d65f: Verifying Checksum [2023-03-09T03:46:48.410Z] fc693d55d65f: Download complete [Pipeline] { [Pipeline] sh [2023-03-09T03:46:48.678Z] 35d82f9e3411: Pull complete [2023-03-09T03:46:48.707Z] + go version [2023-03-09T03:46:48.707Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-09T03:46:48.716Z] $ docker stop --time=1 1abe93ff143961c06b0c14c2e099e979b36bd0351bb7d2d1a0657b50daf72faf [2023-03-09T03:46:48.947Z] e16973657156: Pull complete [2023-03-09T03:46:49.998Z] $ docker rm -f --volumes 1abe93ff143961c06b0c14c2e099e979b36bd0351bb7d2d1a0657b50daf72faf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:46:50.392Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-09T03:46:50.392Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:46:50.466Z] prd-ubuntu20.04-docker-8c-8g-9380 does not seem to be running inside a container [2023-03-09T03:46:50.503Z] $ 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-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-09T03:46:50.875Z] $ docker top 1e85be733a618e4e31ac0b2436fd2a28e50edbe4e83416445698bdbec1a0f3d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T03:46:51.230Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1356 [Pipeline] fileExists [Pipeline] sh [2023-03-09T03:46:51.527Z] + make test [2023-03-09T03:46:51.527Z] go test -race -coverprofile=coverage.out ./... [2023-03-09T03:46:58.097Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-09T03:47:04.111Z] fc693d55d65f: Pull complete [2023-03-09T03:47:04.111Z] 7e9fc2657dce: Pull complete [2023-03-09T03:47:04.111Z] dda99020689f: Pull complete [2023-03-09T03:47:08.393Z] db1c61fa0a46: Pull complete [2023-03-09T03:47:09.805Z] 891c053d2c06: Pull complete [2023-03-09T03:47:10.074Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-09T03:47:10.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-09T03:47:10.074Z] ---> f96f9c87975a [2023-03-09T03:47:10.074Z] Step 3/10 : ARG MAKE=make build [2023-03-09T03:47:12.027Z] ---> Running in f50d9839c655 [2023-03-09T03:47:12.027Z] Removing intermediate container f50d9839c655 [2023-03-09T03:47:12.027Z] ---> 5cdcf86b1079 [2023-03-09T03:47:12.027Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-09T03:47:12.027Z] ---> Running in 7a011f1ec358 [2023-03-09T03:47:12.299Z] Removing intermediate container 7a011f1ec358 [2023-03-09T03:47:12.299Z] ---> 378c593e5242 [2023-03-09T03:47:12.299Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-09T03:47:12.567Z] ---> Running in ac36f69b4a79 [2023-03-09T03:47:12.845Z] Removing intermediate container ac36f69b4a79 [2023-03-09T03:47:12.845Z] ---> 63814cfc5644 [2023-03-09T03:47:12.845Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-09T03:47:12.845Z] ---> Running in c013f4353404 [2023-03-09T03:47:12.957Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-09T03:47:12.957Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-09T03:47:12.957Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-09T03:47:12.957Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-09T03:47:12.958Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-09T03:47:13.524Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.067s coverage: 27.6% of statements [2023-03-09T03:47:13.524Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.059s coverage: 78.9% of statements [2023-03-09T03:47:13.524Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.096s coverage: 86.0% of statements [2023-03-09T03:47:13.524Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-09T03:47:13.524Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-09T03:47:14.094Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.119s coverage: 75.9% of statements [2023-03-09T03:47:14.094Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-09T03:47:15.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T03:47:15.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T03:47:16.395Z] OK: 221 MiB in 51 packages [2023-03-09T03:47:16.627Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.075s coverage: 15.2% of statements [2023-03-09T03:47:16.627Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-09T03:47:16.627Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.124s coverage: 65.2% of statements [2023-03-09T03:47:16.627Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-09T03:47:16.627Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-09T03:47:16.627Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.753s coverage: 89.2% of statements [2023-03-09T03:47:16.627Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.067s coverage: 5.5% of statements [2023-03-09T03:47:16.627Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-09T03:47:17.007Z] Removing intermediate container c013f4353404 [2023-03-09T03:47:17.007Z] ---> bd86efbd70df [2023-03-09T03:47:17.007Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-09T03:47:17.594Z] ---> efb344d36b75 [2023-03-09T03:47:17.594Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T03:47:17.594Z] ---> Running in d1f70a06cdee [2023-03-09T03:47:34.707Z] 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-03-09T03:47:34.707Z] GO111MODULE=on go vet ./... [2023-03-09T03:47:37.993Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-09T03:47:37.993Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-09T03:47:37.993Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-09T03:47:38.007Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-09T03:47:38.017Z] $ docker stop --time=1 1e85be733a618e4e31ac0b2436fd2a28e50edbe4e83416445698bdbec1a0f3d3 [2023-03-09T03:47:39.821Z] $ docker rm -f --volumes 1e85be733a618e4e31ac0b2436fd2a28e50edbe4e83416445698bdbec1a0f3d3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T03:47:40.335Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-09T03:47:40.399Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-09T03:47:40.903Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-09T03:47:41.186Z] + ls -al . [2023-03-09T03:47:41.186Z] total 280 [2023-03-09T03:47:41.186Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 9 03:46 . [2023-03-09T03:47:41.186Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 03:45 .. [2023-03-09T03:47:41.186Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 03:45 .dockerignore [2023-03-09T03:47:41.186Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 03:47 .git [2023-03-09T03:47:41.186Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 03:45 .github [2023-03-09T03:47:41.186Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 9 03:45 .gitignore [2023-03-09T03:47:41.186Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 9 03:45 .golangci.yml [2023-03-09T03:47:41.186Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 03:46 .semver [2023-03-09T03:47:41.186Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 9 03:45 CHANGELOG.md [2023-03-09T03:47:41.186Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 03:45 GOVERNANCE.md [2023-03-09T03:47:41.186Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 9 03:45 Jenkinsfile [2023-03-09T03:47:41.186Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 9 03:45 LICENSE [2023-03-09T03:47:41.186Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 9 03:45 Makefile [2023-03-09T03:47:41.186Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 9 03:45 OWNERS.md [2023-03-09T03:47:41.186Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 9 03:45 README.md [2023-03-09T03:47:41.186Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 03:46 VERSION [2023-03-09T03:47:41.186Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 03:45 bin [2023-03-09T03:47:41.186Z] -rw-r--r-- 1 jenkins jenkins 111701 Mar 9 03:47 coverage.out [2023-03-09T03:47:41.186Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 9 03:45 example [2023-03-09T03:47:41.186Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 9 03:45 go.mod [2023-03-09T03:47:41.186Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 9 03:45 go.sum [2023-03-09T03:47:41.186Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 9 03:45 internal [2023-03-09T03:47:41.186Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 03:45 openapi [2023-03-09T03:47:41.186Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 9 03:45 pkg [2023-03-09T03:47:41.186Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 03:45 snap [2023-03-09T03:47:41.186Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 9 03:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:47:41.489Z] + 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=76656c39d531b52c6d80b1a3df667d0ca3583f50 --label arch=amd64 --label version=0.0.0 . [2023-03-09T03:47:41.489Z] Sending build context to Docker daemon 10.87MB [2023-03-09T03:47:41.489Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T03:47:41.489Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-09T03:47:41.489Z] ---> a364c34e34d4 [2023-03-09T03:47:41.489Z] Step 3/23 : ARG MAKE=make build [2023-03-09T03:47:41.489Z] ---> Running in 7b87d6bb2fac [2023-03-09T03:47:41.747Z] Removing intermediate container 7b87d6bb2fac [2023-03-09T03:47:41.748Z] ---> 3bbe3612659e [2023-03-09T03:47:41.748Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-09T03:47:41.748Z] ---> Running in 26f0c77e8cd6 [2023-03-09T03:47:41.748Z] Removing intermediate container 26f0c77e8cd6 [2023-03-09T03:47:41.748Z] ---> 90e4e1d0b321 [2023-03-09T03:47:41.748Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-09T03:47:41.748Z] ---> Running in 060b08e372c9 [2023-03-09T03:47:42.006Z] Removing intermediate container 060b08e372c9 [2023-03-09T03:47:42.006Z] ---> 25b2f1f57eac [2023-03-09T03:47:42.006Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-09T03:47:42.006Z] ---> Running in 5a82176a5e55 [2023-03-09T03:47:42.266Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T03:47:42.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T03:47:42.783Z] OK: 211 MiB in 51 packages [2023-03-09T03:47:43.041Z] Removing intermediate container 5a82176a5e55 [2023-03-09T03:47:43.041Z] ---> b833ede65623 [2023-03-09T03:47:43.041Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-09T03:47:43.300Z] ---> fb3a443e9591 [2023-03-09T03:47:43.300Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T03:47:43.300Z] ---> Running in ee53e3dc27ce [2023-03-09T03:47:44.238Z] Removing intermediate container ee53e3dc27ce [2023-03-09T03:47:44.238Z] ---> cad84420c6a8 [2023-03-09T03:47:44.238Z] Step 9/23 : COPY . . [2023-03-09T03:47:44.806Z] ---> ae7a260c6256 [2023-03-09T03:47:44.807Z] Step 10/23 : RUN ${MAKE} [2023-03-09T03:47:44.807Z] ---> Running in cffda0f2d912 [2023-03-09T03:47:45.066Z] 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-03-09T03:48:06.990Z] Removing intermediate container cffda0f2d912 [2023-03-09T03:48:06.990Z] ---> 87416673b5c8 [2023-03-09T03:48:06.990Z] Step 11/23 : FROM alpine:3.16 [2023-03-09T03:48:06.990Z] 3.16: Pulling from library/alpine [2023-03-09T03:48:06.990Z] ef5531b6e74e: Pulling fs layer [2023-03-09T03:48:06.990Z] ef5531b6e74e: Verifying Checksum [2023-03-09T03:48:06.990Z] ef5531b6e74e: Download complete [2023-03-09T03:48:06.990Z] ef5531b6e74e: Pull complete [2023-03-09T03:48:06.990Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-09T03:48:06.990Z] Status: Downloaded newer image for alpine:3.16 [2023-03-09T03:48:06.990Z] ---> dfd21b5a31f5 [2023-03-09T03:48:06.990Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-09T03:48:06.990Z] ---> Running in ff4c600a7485 [2023-03-09T03:48:06.990Z] Removing intermediate container ff4c600a7485 [2023-03-09T03:48:06.990Z] ---> de41f0f272e9 [2023-03-09T03:48:06.990Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-09T03:48:06.990Z] ---> Running in 98f58e02a5e9 [2023-03-09T03:48:06.990Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-09T03:48:06.990Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-09T03:48:06.990Z] OK: 6 MiB in 14 packages [2023-03-09T03:48:06.990Z] Removing intermediate container 98f58e02a5e9 [2023-03-09T03:48:06.990Z] ---> b8d3ab3f945f [2023-03-09T03:48:06.990Z] Step 14/23 : WORKDIR / [2023-03-09T03:48:06.990Z] ---> Running in d60fcc5d4ab3 [2023-03-09T03:48:06.990Z] Removing intermediate container d60fcc5d4ab3 [2023-03-09T03:48:06.990Z] ---> ccd19518200c [2023-03-09T03:48:06.990Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-09T03:48:06.990Z] ---> 8a8ca5db7366 [2023-03-09T03:48:06.990Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-09T03:48:06.990Z] ---> a68e4fd453c7 [2023-03-09T03:48:06.990Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-09T03:48:06.990Z] ---> 2aa2a1ebdc4d [2023-03-09T03:48:06.990Z] Step 18/23 : EXPOSE 59999 [2023-03-09T03:48:06.990Z] ---> Running in 5073d20179d6 [2023-03-09T03:48:06.990Z] Removing intermediate container 5073d20179d6 [2023-03-09T03:48:06.990Z] ---> 4db429404c02 [2023-03-09T03:48:06.990Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-09T03:48:07.249Z] ---> Running in fafc6913f2a9 [2023-03-09T03:48:07.249Z] Removing intermediate container fafc6913f2a9 [2023-03-09T03:48:07.249Z] ---> 180a91882445 [2023-03-09T03:48:07.249Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-09T03:48:07.249Z] ---> Running in 7b2345b13e68 [2023-03-09T03:48:07.249Z] Removing intermediate container 7b2345b13e68 [2023-03-09T03:48:07.249Z] ---> 351681e14d19 [2023-03-09T03:48:07.249Z] Step 21/23 : LABEL arch=amd64 [2023-03-09T03:48:07.249Z] ---> Running in 3085a4ea7708 [2023-03-09T03:48:07.508Z] Removing intermediate container 3085a4ea7708 [2023-03-09T03:48:07.508Z] ---> bbba2100006f [2023-03-09T03:48:07.508Z] Step 22/23 : LABEL git_sha=76656c39d531b52c6d80b1a3df667d0ca3583f50 [2023-03-09T03:48:07.508Z] ---> Running in 9d36b2aaace3 [2023-03-09T03:48:07.508Z] Removing intermediate container 9d36b2aaace3 [2023-03-09T03:48:07.508Z] ---> d6e6cb386eb2 [2023-03-09T03:48:07.508Z] Step 23/23 : LABEL version=0.0.0 [2023-03-09T03:48:07.508Z] ---> Running in 8cf22e8cadf6 [2023-03-09T03:48:07.767Z] Removing intermediate container 8cf22e8cadf6 [2023-03-09T03:48:07.767Z] ---> 336602599f18 [2023-03-09T03:48:07.767Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-09T03:48:07.767Z] Successfully built 336602599f18 [2023-03-09T03:48:07.767Z] 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-03-09T03:48:08.182Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T03:48:08.182Z] [2023-03-09T03:48:08.182Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:48:08.480Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T03:48:08.481Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-09T03:48:08.481Z] 5eb5b503b376: Pulling fs layer [2023-03-09T03:48:08.481Z] 5c69ac0246d0: Pulling fs layer [2023-03-09T03:48:08.481Z] ec43610c2a17: Pulling fs layer [2023-03-09T03:48:08.481Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-09T03:48:08.481Z] 33b1e0a273af: Pulling fs layer [2023-03-09T03:48:08.481Z] 5d3b04190fa2: Pulling fs layer [2023-03-09T03:48:08.481Z] 2f39f015ded8: Pulling fs layer [2023-03-09T03:48:08.481Z] 33b1e0a273af: Waiting [2023-03-09T03:48:08.481Z] 5d3b04190fa2: Waiting [2023-03-09T03:48:08.481Z] 2f39f015ded8: Waiting [2023-03-09T03:48:08.481Z] 3a2ae6a8a46f: Waiting [2023-03-09T03:48:08.481Z] 5c69ac0246d0: Download complete [2023-03-09T03:48:08.481Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-09T03:48:08.481Z] 3a2ae6a8a46f: Download complete [2023-03-09T03:48:08.741Z] 33b1e0a273af: Verifying Checksum [2023-03-09T03:48:08.741Z] 33b1e0a273af: Download complete [2023-03-09T03:48:08.741Z] 5d3b04190fa2: Verifying Checksum [2023-03-09T03:48:08.741Z] 5d3b04190fa2: Download complete [2023-03-09T03:48:08.741Z] ec43610c2a17: Verifying Checksum [2023-03-09T03:48:08.741Z] 5eb5b503b376: Verifying Checksum [2023-03-09T03:48:08.741Z] 5eb5b503b376: Download complete [2023-03-09T03:48:09.671Z] 2f39f015ded8: Download complete [2023-03-09T03:48:09.929Z] 5eb5b503b376: Pull complete [2023-03-09T03:48:10.187Z] 5c69ac0246d0: Pull complete [2023-03-09T03:48:10.444Z] ec43610c2a17: Pull complete [2023-03-09T03:48:10.703Z] 3a2ae6a8a46f: Pull complete [2023-03-09T03:48:10.703Z] 33b1e0a273af: Pull complete [2023-03-09T03:48:10.961Z] 5d3b04190fa2: Pull complete [2023-03-09T03:48:15.144Z] 2f39f015ded8: Pull complete [2023-03-09T03:48:15.144Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-09T03:48:15.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T03:48:15.144Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:48:15.225Z] prd-ubuntu20.04-docker-8c-8g-9380 does not seem to be running inside a container [2023-03-09T03:48:15.248Z] $ 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-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-09T03:48:16.623Z] $ docker top 724a9335ff5a601e1cf4ac4f6aedd794b0b154323bb962de8c4387e92032eda3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:48:17.028Z] ---> job-cost.sh [2023-03-09T03:48:17.028Z] lf-activate-venv: SKIPPING [2023-03-09T03:48:17.028Z] INFO: No Stack... [2023-03-09T03:48:17.287Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-09T03:48:17.855Z] INFO: Archiving Costs [Pipeline] sh [2023-03-09T03:48:18.147Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives/cost.csv [2023-03-09T03:48:18.147Z] + cut -d, -f6 [Pipeline] lock [2023-03-09T03:48:18.160Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1356-6-stack-cost] [2023-03-09T03:48:18.165Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-6-stack-cost] did not exist. Created. [2023-03-09T03:48:18.165Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1356-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-09T03:48:18.461Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-09T03:48:18.493Z] Stashed 1 file(s) [Pipeline] } [2023-03-09T03:48:18.499Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-09T03:48:18.514Z] $ docker stop --time=1 724a9335ff5a601e1cf4ac4f6aedd794b0b154323bb962de8c4387e92032eda3 [2023-03-09T03:48:19.677Z] $ docker rm -f --volumes 724a9335ff5a601e1cf4ac4f6aedd794b0b154323bb962de8c4387e92032eda3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-09T03:48:25.485Z] Removing intermediate container d1f70a06cdee [2023-03-09T03:48:25.485Z] ---> f5591d832e81 [2023-03-09T03:48:25.485Z] Step 9/10 : COPY . . [2023-03-09T03:48:26.899Z] ---> ed6f6f63fe3e [2023-03-09T03:48:26.899Z] Step 10/10 : RUN ${MAKE} [2023-03-09T03:48:26.899Z] ---> Running in 3abe7519cc19 [2023-03-09T03:48:27.865Z] noop [2023-03-09T03:48:28.450Z] Removing intermediate container 3abe7519cc19 [2023-03-09T03:48:28.450Z] ---> 8f182c1b75b1 [2023-03-09T03:48:28.450Z] Successfully built 8f182c1b75b1 [2023-03-09T03:48:28.450Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:48:28.791Z] + docker inspect -f . ci-base-image-arm64 [2023-03-09T03:48:28.791Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:48:28.978Z] prd-ubuntu20.04-docker-arm64-4c-16g-9385 does not seem to be running inside a container [2023-03-09T03:48:29.053Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-09T03:48:30.253Z] $ docker top ace932b61e1cc580410d3414f0ffd29984619d8cff6c76236235d66a13f1a21a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T03:48:31.083Z] + go version [2023-03-09T03:48:31.084Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-09T03:48:31.114Z] $ docker stop --time=1 ace932b61e1cc580410d3414f0ffd29984619d8cff6c76236235d66a13f1a21a [2023-03-09T03:48:32.886Z] $ docker rm -f --volumes ace932b61e1cc580410d3414f0ffd29984619d8cff6c76236235d66a13f1a21a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:48:33.432Z] + docker inspect -f . ci-base-image-arm64 [2023-03-09T03:48:33.432Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:48:33.615Z] prd-ubuntu20.04-docker-arm64-4c-16g-9385 does not seem to be running inside a container [2023-03-09T03:48:33.691Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-09T03:48:34.830Z] $ docker top 1e22cac425e89a9a29d25e2ff3a748b412c0d5e2bd509135e3763ff7f91f2af0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T03:48:35.332Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/6 [Pipeline] fileExists [Pipeline] sh [2023-03-09T03:48:36.247Z] + make test [2023-03-09T03:48:36.248Z] go test -race -coverprofile=coverage.out ./... [2023-03-09T03:49:08.477Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-09T03:51:00.145Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-09T03:51:00.145Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-09T03:51:00.145Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-09T03:51:00.145Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-09T03:51:00.145Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-09T03:51:00.145Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.228s coverage: 27.6% of statements [2023-03-09T03:51:00.145Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.402s coverage: 78.9% of statements [2023-03-09T03:51:00.145Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.393s coverage: 86.0% of statements [2023-03-09T03:51:00.145Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-09T03:51:00.145Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-09T03:51:00.145Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.475s coverage: 75.9% of statements [2023-03-09T03:51:00.145Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-09T03:51:00.413Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.355s coverage: 15.2% of statements [2023-03-09T03:51:00.413Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-09T03:51:00.999Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.510s coverage: 65.2% of statements [2023-03-09T03:51:00.999Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-09T03:51:00.999Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-09T03:51:02.947Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.032s coverage: 89.2% of statements [2023-03-09T03:51:02.947Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.233s coverage: 5.5% of statements [2023-03-09T03:51:02.947Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-09T03:51:03.536Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-09T03:51:03.536Z] GO111MODULE=on go vet ./... [2023-03-09T03:52:25.163Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-09T03:52:25.434Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-09T03:52:25.434Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-09T03:52:26.041Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-09T03:52:26.066Z] $ docker stop --time=1 1e22cac425e89a9a29d25e2ff3a748b412c0d5e2bd509135e3763ff7f91f2af0 [2023-03-09T03:52:27.873Z] $ docker rm -f --volumes 1e22cac425e89a9a29d25e2ff3a748b412c0d5e2bd509135e3763ff7f91f2af0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-09T03:52:29.140Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-09T03:52:29.161Z] Warning: overwriting stash ‘coverage-report’ [2023-03-09T03:52:29.712Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-09T03:52:30.106Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-09T03:52:30.420Z] + ls -al . [2023-03-09T03:52:30.420Z] total 276 [2023-03-09T03:52:30.420Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 03:48 . [2023-03-09T03:52:30.420Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 03:46 .. [2023-03-09T03:52:30.420Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 03:46 .dockerignore [2023-03-09T03:52:30.420Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 03:46 .git [2023-03-09T03:52:30.420Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 03:46 .github [2023-03-09T03:52:30.420Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 9 03:46 .gitignore [2023-03-09T03:52:30.420Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 9 03:46 .golangci.yml [2023-03-09T03:52:30.420Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 9 03:46 CHANGELOG.md [2023-03-09T03:52:30.420Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 03:46 GOVERNANCE.md [2023-03-09T03:52:30.420Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 9 03:46 Jenkinsfile [2023-03-09T03:52:30.420Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 9 03:46 LICENSE [2023-03-09T03:52:30.420Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 9 03:46 Makefile [2023-03-09T03:52:30.420Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 9 03:46 OWNERS.md [2023-03-09T03:52:30.420Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 9 03:46 README.md [2023-03-09T03:52:30.420Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 03:46 VERSION [2023-03-09T03:52:30.420Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 03:46 bin [2023-03-09T03:52:30.420Z] -rw-r--r-- 1 jenkins jenkins 111702 Mar 9 03:51 coverage.out [2023-03-09T03:52:30.420Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 9 03:46 example [2023-03-09T03:52:30.420Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 9 03:46 go.mod [2023-03-09T03:52:30.420Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 9 03:46 go.sum [2023-03-09T03:52:30.420Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 9 03:46 internal [2023-03-09T03:52:30.420Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 03:46 openapi [2023-03-09T03:52:30.420Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 9 03:46 pkg [2023-03-09T03:52:30.420Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 03:46 snap [2023-03-09T03:52:30.420Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 9 03:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:52:30.760Z] + 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=76656c39d531b52c6d80b1a3df667d0ca3583f50 --label arch=arm64 --label version=0.0.0 . [2023-03-09T03:52:31.026Z] Sending build context to Docker daemon 5.906MB [2023-03-09T03:52:31.293Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-09T03:52:31.294Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-09T03:52:31.294Z] ---> 8f182c1b75b1 [2023-03-09T03:52:31.294Z] Step 3/23 : ARG MAKE=make build [2023-03-09T03:52:31.294Z] ---> Running in 3d492d7c9d10 [2023-03-09T03:52:31.561Z] Removing intermediate container 3d492d7c9d10 [2023-03-09T03:52:31.562Z] ---> 9dbd782b4c1e [2023-03-09T03:52:31.562Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-09T03:52:31.562Z] ---> Running in 0db59b0651cf [2023-03-09T03:52:31.829Z] Removing intermediate container 0db59b0651cf [2023-03-09T03:52:31.829Z] ---> 470f19afe1a4 [2023-03-09T03:52:31.829Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-09T03:52:32.101Z] ---> Running in eeb8af70f5f2 [2023-03-09T03:52:32.369Z] Removing intermediate container eeb8af70f5f2 [2023-03-09T03:52:32.369Z] ---> 15c023339631 [2023-03-09T03:52:32.369Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-09T03:52:32.369Z] ---> Running in b664b531a51e [2023-03-09T03:52:33.340Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T03:52:33.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T03:52:34.563Z] OK: 221 MiB in 51 packages [2023-03-09T03:52:37.136Z] Removing intermediate container b664b531a51e [2023-03-09T03:52:37.136Z] ---> 249de417f609 [2023-03-09T03:52:37.136Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-09T03:52:37.405Z] ---> 0bd93a08c93c [2023-03-09T03:52:37.405Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-09T03:52:37.405Z] ---> Running in b7898f78d4f2 [2023-03-09T03:52:39.991Z] Removing intermediate container b7898f78d4f2 [2023-03-09T03:52:39.991Z] ---> f3230a1dfd8f [2023-03-09T03:52:39.991Z] Step 9/23 : COPY . . [2023-03-09T03:52:41.405Z] ---> ab488aab639f [2023-03-09T03:52:41.405Z] Step 10/23 : RUN ${MAKE} [2023-03-09T03:52:41.405Z] ---> Running in ff359c2106e7 [2023-03-09T03:52:42.366Z] 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-03-09T03:54:49.041Z] Removing intermediate container ff359c2106e7 [2023-03-09T03:54:49.041Z] ---> d9fe1116432a [2023-03-09T03:54:49.041Z] Step 11/23 : FROM alpine:3.16 [2023-03-09T03:54:49.041Z] 3.16: Pulling from library/alpine [2023-03-09T03:54:49.041Z] 3760b48202b3: Pulling fs layer [2023-03-09T03:54:49.041Z] 3760b48202b3: Verifying Checksum [2023-03-09T03:54:49.041Z] 3760b48202b3: Download complete [2023-03-09T03:54:49.041Z] 3760b48202b3: Pull complete [2023-03-09T03:54:49.041Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-09T03:54:49.041Z] Status: Downloaded newer image for alpine:3.16 [2023-03-09T03:54:49.041Z] ---> 4c81e5bf8899 [2023-03-09T03:54:49.041Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-09T03:54:49.041Z] ---> Running in 69a2f5f2477b [2023-03-09T03:54:49.041Z] Removing intermediate container 69a2f5f2477b [2023-03-09T03:54:49.041Z] ---> 2bc3a39f831a [2023-03-09T03:54:49.041Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-09T03:54:49.041Z] ---> Running in 9335cddf2424 [2023-03-09T03:54:49.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-09T03:54:49.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-09T03:54:49.041Z] OK: 5 MiB in 14 packages [2023-03-09T03:54:49.041Z] Removing intermediate container 9335cddf2424 [2023-03-09T03:54:49.041Z] ---> 6a13a253d073 [2023-03-09T03:54:49.041Z] Step 14/23 : WORKDIR / [2023-03-09T03:54:49.041Z] ---> Running in 434da22130c6 [2023-03-09T03:54:49.041Z] Removing intermediate container 434da22130c6 [2023-03-09T03:54:49.041Z] ---> 839d9a945ddc [2023-03-09T03:54:49.041Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-09T03:54:49.041Z] ---> 8df53fb0899a [2023-03-09T03:54:49.041Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-09T03:54:49.041Z] ---> d970b1baa3a9 [2023-03-09T03:54:49.041Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-09T03:54:49.041Z] ---> d00bcd2e688e [2023-03-09T03:54:49.041Z] Step 18/23 : EXPOSE 59999 [2023-03-09T03:54:49.041Z] ---> Running in 9dba5190af2a [2023-03-09T03:54:49.041Z] Removing intermediate container 9dba5190af2a [2023-03-09T03:54:49.041Z] ---> 43c4f852e558 [2023-03-09T03:54:49.041Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-09T03:54:49.041Z] ---> Running in 6afa8377048c [2023-03-09T03:54:49.041Z] Removing intermediate container 6afa8377048c [2023-03-09T03:54:49.041Z] ---> fc96d935a81c [2023-03-09T03:54:49.041Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-09T03:54:49.041Z] ---> Running in 48184a79fe7c [2023-03-09T03:54:49.041Z] Removing intermediate container 48184a79fe7c [2023-03-09T03:54:49.041Z] ---> 69073db0e134 [2023-03-09T03:54:49.041Z] Step 21/23 : LABEL arch=arm64 [2023-03-09T03:54:49.041Z] ---> Running in fc2e1984f4bb [2023-03-09T03:54:49.041Z] Removing intermediate container fc2e1984f4bb [2023-03-09T03:54:49.041Z] ---> 797463b6c1c1 [2023-03-09T03:54:49.041Z] Step 22/23 : LABEL git_sha=76656c39d531b52c6d80b1a3df667d0ca3583f50 [2023-03-09T03:54:49.041Z] ---> Running in 6e216fe56664 [2023-03-09T03:54:49.041Z] Removing intermediate container 6e216fe56664 [2023-03-09T03:54:49.041Z] ---> b1ffc0f8f708 [2023-03-09T03:54:49.041Z] Step 23/23 : LABEL version=0.0.0 [2023-03-09T03:54:49.041Z] ---> Running in 4aa63130daa8 [2023-03-09T03:54:49.041Z] Removing intermediate container 4aa63130daa8 [2023-03-09T03:54:49.041Z] ---> 65c74b4c811e [2023-03-09T03:54:49.041Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-09T03:54:49.041Z] Successfully built 65c74b4c811e [2023-03-09T03:54:49.041Z] 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-03-09T03:54:49.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T03:54:49.478Z] [2023-03-09T03:54:49.478Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:54:49.804Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T03:54:49.804Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-09T03:54:49.804Z] 8998bd30e6a1: Pulling fs layer [2023-03-09T03:54:49.804Z] 04944245beec: Pulling fs layer [2023-03-09T03:54:49.804Z] 699f458cf7ca: Pulling fs layer [2023-03-09T03:54:49.804Z] 765212b225bb: Pulling fs layer [2023-03-09T03:54:49.804Z] f23df028b6ca: Pulling fs layer [2023-03-09T03:54:49.804Z] d65c8cfc05b1: Pulling fs layer [2023-03-09T03:54:49.804Z] 2437ff75d9bd: Pulling fs layer [2023-03-09T03:54:49.804Z] f23df028b6ca: Waiting [2023-03-09T03:54:49.804Z] d65c8cfc05b1: Waiting [2023-03-09T03:54:49.804Z] 2437ff75d9bd: Waiting [2023-03-09T03:54:49.804Z] 765212b225bb: Waiting [2023-03-09T03:54:50.071Z] 04944245beec: Verifying Checksum [2023-03-09T03:54:50.071Z] 04944245beec: Download complete [2023-03-09T03:54:50.071Z] 765212b225bb: Download complete [2023-03-09T03:54:50.071Z] f23df028b6ca: Download complete [2023-03-09T03:54:50.071Z] d65c8cfc05b1: Verifying Checksum [2023-03-09T03:54:50.071Z] d65c8cfc05b1: Download complete [2023-03-09T03:54:50.341Z] 699f458cf7ca: Verifying Checksum [2023-03-09T03:54:50.341Z] 699f458cf7ca: Download complete [2023-03-09T03:54:50.609Z] 8998bd30e6a1: Verifying Checksum [2023-03-09T03:54:50.609Z] 8998bd30e6a1: Download complete [2023-03-09T03:54:53.200Z] 2437ff75d9bd: Verifying Checksum [2023-03-09T03:54:53.200Z] 2437ff75d9bd: Download complete [2023-03-09T03:54:54.770Z] 8998bd30e6a1: Pull complete [2023-03-09T03:54:55.370Z] 04944245beec: Pull complete [2023-03-09T03:54:58.751Z] 699f458cf7ca: Pull complete [2023-03-09T03:54:59.019Z] 765212b225bb: Pull complete [2023-03-09T03:54:59.616Z] f23df028b6ca: Pull complete [2023-03-09T03:54:59.884Z] d65c8cfc05b1: Pull complete [2023-03-09T03:55:14.886Z] 2437ff75d9bd: Pull complete [2023-03-09T03:55:14.886Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-09T03:55:14.886Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-09T03:55:14.886Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:55:15.077Z] prd-ubuntu20.04-docker-arm64-4c-16g-9385 does not seem to be running inside a container [2023-03-09T03:55:15.151Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-09T03:55:17.541Z] $ docker top 7c367d0d613442ca430153315faeca9fb99b7f3d043fbe501f4b164a455ec9c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:55:18.035Z] ---> job-cost.sh [2023-03-09T03:55:18.302Z] lf-activate-venv: SKIPPING [2023-03-09T03:55:18.302Z] INFO: No Stack... [2023-03-09T03:55:18.881Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-09T03:55:19.461Z] INFO: Archiving Costs [Pipeline] sh [2023-03-09T03:55:19.781Z] + cut -d, -f6 [2023-03-09T03:55:19.781Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [Pipeline] lock [2023-03-09T03:55:20.082Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1356-6-stack-cost] [2023-03-09T03:55:20.088Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-6-stack-cost] did not exist. Created. [2023-03-09T03:55:20.088Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1356-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-09T03:55:20.424Z] /w/workspace/device-sdk-go/6@tmp/durable-ebfcd35b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-09T03:55:20.759Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-09T03:55:20.789Z] Warning: overwriting stash ‘stack-cost’ [2023-03-09T03:55:20.847Z] Stashed 1 file(s) [Pipeline] } [2023-03-09T03:55:20.853Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-09T03:55:20.885Z] $ docker stop --time=1 7c367d0d613442ca430153315faeca9fb99b7f3d043fbe501f4b164a455ec9c2 [2023-03-09T03:55:22.390Z] $ docker rm -f --volumes 7c367d0d613442ca430153315faeca9fb99b7f3d043fbe501f4b164a455ec9c2 [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-03-09T03:55:23.773Z] provisioning config files... [2023-03-09T03:55:23.781Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config2138518916097256552tmp [Pipeline] { [Pipeline] sh [2023-03-09T03:55:24.072Z] + set +x [2023-03-09T03:55:24.073Z] + curl -s https://codecov.io/bash [2023-03-09T03:55:24.073Z] + bash -s -- [2023-03-09T03:55:24.073Z] [2023-03-09T03:55:24.073Z] _____ _ [2023-03-09T03:55:24.073Z] / ____| | | [2023-03-09T03:55:24.073Z] | | ___ __| | ___ ___ _____ __ [2023-03-09T03:55:24.073Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-09T03:55:24.073Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-09T03:55:24.073Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-09T03:55:24.073Z] Bash-1.0.6 [2023-03-09T03:55:24.073Z] [2023-03-09T03:55:24.073Z] [2023-03-09T03:55:24.073Z] ==> git version 2.25.1 found [2023-03-09T03:55:24.073Z] ==> 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-03-09T03:55:24.073Z] Release-Date: 2020-01-08 [2023-03-09T03:55:24.073Z] 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-03-09T03:55:24.073Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-09T03:55:24.073Z] ==> Jenkins CI detected. [2023-03-09T03:55:24.073Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1356 [2023-03-09T03:55:24.073Z] project root: . [2023-03-09T03:55:24.073Z] --> token set from env [2023-03-09T03:55:24.073Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-09T03:55:24.073Z] ==> Running gcov in . (disable via -X gcov) [2023-03-09T03:55:24.073Z] ==> Python coveragepy not found [2023-03-09T03:55:24.073Z] ==> Searching for coverage reports in: [2023-03-09T03:55:24.073Z] + . [2023-03-09T03:55:24.073Z] -> Found 1 reports [2023-03-09T03:55:24.073Z] ==> Detecting git/mercurial file structure [2023-03-09T03:55:24.332Z] ==> Reading reports [2023-03-09T03:55:24.332Z] + ./coverage.out bytes=111702 [2023-03-09T03:55:24.332Z] ==> Appending adjustments [2023-03-09T03:55:24.332Z] https://docs.codecov.io/docs/fixing-reports [2023-03-09T03:55:24.591Z] + Found adjustments [2023-03-09T03:55:24.591Z] ==> Gzipping contents [2023-03-09T03:55:24.591Z] 16K /tmp/codecov.NYRg6w.gz [2023-03-09T03:55:24.591Z] ==> Uploading reports [2023-03-09T03:55:24.591Z] url: https://codecov.io [2023-03-09T03:55:24.591Z] query: branch=PR-1356&commit=76656c39d531b52c6d80b1a3df667d0ca3583f50&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1356%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1356&job=&cmd_args= [2023-03-09T03:55:24.591Z] -> Pinging Codecov [2023-03-09T03:55:24.591Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1356&commit=76656c39d531b52c6d80b1a3df667d0ca3583f50&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1356%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1356&job=&cmd_args= [2023-03-09T03:55:24.591Z] -> Uploading to [2023-03-09T03:55:24.591Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-09/7E55EF52A471D76F132DFD9A03CDDE97/76656c39d531b52c6d80b1a3df667d0ca3583f50/e8087658-3142-498b-a52c-db9c498e0f45.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230309T035524Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aa8eef8384cf7b3067606fec6fb2fe464647a52bdbb0c1ffe58c6d62f091c299 [2023-03-09T03:55:24.591Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-09T03:55:24.591Z] Dload Upload Total Spent Left Speed [2023-03-09T03:55:25.162Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15511 0 0 100 15511 0 50855 --:--:-- --:--:-- --:--:-- 50855 [2023-03-09T03:55:25.162Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/76656c39d531b52c6d80b1a3df667d0ca3583f50 [Pipeline] } [2023-03-09T03:55:25.171Z] 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-03-09T03:55:25.903Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives ] [2023-03-09T03:55:25.904Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives [2023-03-09T03:55:25.904Z] total 16 [2023-03-09T03:55:25.904Z] drwxr-xr-x 3 root root 4096 Mar 9 03:48 . [2023-03-09T03:55:25.904Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 9 03:48 .. [2023-03-09T03:55:25.904Z] drwxr-xr-x 2 root root 4096 Mar 9 03:48 cost [2023-03-09T03:55:25.904Z] -rw-r--r-- 1 root root 87 Mar 9 03:48 cost.csv [2023-03-09T03:55:25.904Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives [2023-03-09T03:55:25.904Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives [2023-03-09T03:55:25.904Z] total 16 [2023-03-09T03:55:25.904Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 03:48 . [2023-03-09T03:55:25.904Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 9 03:48 .. [2023-03-09T03:55:25.904Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 03:48 cost [2023-03-09T03:55:25.904Z] -rw-r--r-- 1 jenkins jenkins 87 Mar 9 03:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:55:26.198Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:55:27.065Z] ---> package-listing.sh [2023-03-09T03:55:27.065Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-09T03:55:27.065Z] ++ facter osfamily [2023-03-09T03:55:27.326Z] + OS_FAMILY=debian [2023-03-09T03:55:27.326Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1356 [2023-03-09T03:55:27.326Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-09T03:55:27.326Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-09T03:55:27.326Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-09T03:55:27.326Z] + PACKAGES=/tmp/packages_start.txt [2023-03-09T03:55:27.326Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1356 ']' [2023-03-09T03:55:27.326Z] + PACKAGES=/tmp/packages_end.txt [2023-03-09T03:55:27.326Z] + case "${OS_FAMILY}" in [2023-03-09T03:55:27.326Z] + dpkg -l [2023-03-09T03:55:27.326Z] + grep '^ii' [2023-03-09T03:55:27.326Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-09T03:55:27.326Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-09T03:55:27.326Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-09T03:55:27.326Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1356 ']' [2023-03-09T03:55:27.326Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives/ [2023-03-09T03:55:27.326Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives/ [Pipeline] echo [2023-03-09T03:55:27.337Z] 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-1356/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-09T03:55:27.620Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-09T03:55:28.188Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-09T03:55:28.188Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-09T03:55:28.259Z] prd-ubuntu20.04-docker-8c-8g-9380 does not seem to be running inside a container [2023-03-09T03:55:28.289Z] $ 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-1356/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-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-09T03:55:28.514Z] $ docker top 244f530ca752a8cfb835f9a771e50b2044bf1dc0551dfd840c4c58934f946988 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-09T03:55:28.864Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-09T03:55:29.150Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-09T03:55:29.434Z] + ls /var/log/sa-host [2023-03-09T03:55:29.434Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-09T03:55:29.589Z] provisioning config files... [2023-03-09T03:55:29.596Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config7718606932243321144tmp [Pipeline] { [Pipeline] echo [2023-03-09T03:55:29.614Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:55:29.896Z] ---> create-netrc.sh [Pipeline] } [2023-03-09T03:55:29.903Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:55:30.234Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-09T03:55:30.243Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:55:30.530Z] ---> sudo-logs.sh [2023-03-09T03:55:30.530Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-09T03:55:30.560Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:55:30.846Z] ---> job-cost.sh [2023-03-09T03:55:30.846Z] lf-activate-venv: SKIPPING [2023-03-09T03:55:30.846Z] DEBUG: total: 0.2199999988079071 [2023-03-09T03:55:30.846Z] INFO: Retrieving Stack Cost... [2023-03-09T03:55:31.106Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-09T03:55:31.675Z] INFO: Archiving Costs [Pipeline] echo [2023-03-09T03:55:31.689Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-09T03:55:31.972Z] ---> logs-deploy.sh [2023-03-09T03:55:31.972Z] lf-activate-venv: SKIPPING [2023-03-09T03:55:31.972Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1356/6 [2023-03-09T03:55:31.972Z] INFO: archiving workspace using pattern(s): [2023-03-09T03:55:32.918Z] Archives upload complete. [2023-03-09T03:55:32.918Z] INFO: archiving logs to Nexus