Pull request #1297 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 FelixTing for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 rather than 2697fcfb8df50bb061f2983be883727f1434b823 Obtained Jenkinsfile from 3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 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-ssh9765767047946412039.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-ssh5884980567745471426.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-1297/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-1297/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11279396101766812909.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-ssh13785026631969267117.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-1297/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-1297/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6808333500059341897.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 Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4675 in /w/workspace/gexfoundry_device-sdk-go_PR-1297 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1297 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1297/head:refs/remotes/origin/PR-1297 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 into PR head commit 2697fcfb8df50bb061f2983be883727f1434b823 Merge succeeded, producing 2697fcfb8df50bb061f2983be883727f1434b823 Checking out Revision 2697fcfb8df50bb061f2983be883727f1434b823 (PR-1297) > git config core.sparsecheckout # timeout=10 > git checkout -f 2697fcfb8df50bb061f2983be883727f1434b823 # 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 3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2697fcfb8df50bb061f2983be883727f1434b823 # timeout=10 Commit message: "feat: Add resource, command, and device tags to reading/event" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 5839aef921c6fcf9cd2e889a907e6d54f3427b7d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-06T15:11:54.634Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-06T15:11:54.697Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-06T15:11:54.710Z] ========================================================= [2023-02-06T15:11:54.711Z] EdgeX Global Pipelines Version Info [2023-02-06T15:11:54.711Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-06T15:11:55.432Z] ------------------- [2023-02-06T15:11:55.432Z] stable info: [2023-02-06T15:11:55.432Z] ------------------- [2023-02-06T15:11:55.432Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-06T15:11:55.432Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-06T15:11:55.432Z] Message: update stable to v1.0.244 [2023-02-06T15:11:56.004Z] ------------------- [2023-02-06T15:11:56.004Z] experimental info: [2023-02-06T15:11:56.004Z] ------------------- [2023-02-06T15:11:56.004Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-06T15:11:56.004Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-06T15:11:56.004Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-06T15:11:56.195Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-06T15:11:56.207Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-06T15:11:56.220Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-06T15:11:56.231Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-06T15:11:56.242Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-06T15:11:56.253Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-06T15:11:56.267Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-06T15:11:56.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-06T15:11:56.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-06T15:11:56.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-06T15:11:56.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-06T15:11:56.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-06T15:11:56.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-06T15:11:56.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-06T15:11:56.375Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-06T15:11:56.391Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-06T15:11:56.408Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-06T15:11:56.423Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-06T15:11:56.439Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-06T15:11:56.455Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-06T15:11:56.468Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-06T15:11:56.479Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-06T15:11:56.491Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-06T15:11:56.503Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-06T15:11:56.520Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-06T15:11:56.532Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-06T15:11:56.544Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-06T15:11:56.559Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1297 [Pipeline] echo [2023-02-06T15:11:56.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1297 [Pipeline] echo [2023-02-06T15:11:56.590Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1297 [Pipeline] echo [2023-02-06T15:11:56.602Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2697fcfb8df50bb061f2983be883727f1434b823 [Pipeline] echo [2023-02-06T15:11:56.613Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2697fcf [Pipeline] echo [2023-02-06T15:11:56.628Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-06T15:11:56.670Z] provisioning config files... [2023-02-06T15:11:56.685Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config7033534080646738199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T15:11:56.994Z] ---> docker-login.sh [2023-02-06T15:11:56.994Z] nexus3.edgexfoundry.org:10001 [2023-02-06T15:11:57.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T15:11:57.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T15:11:57.254Z] Configure a credential helper to remove this warning. See [2023-02-06T15:11:57.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T15:11:57.254Z] [2023-02-06T15:11:57.254Z] Login Succeeded [2023-02-06T15:11:57.254Z] nexus3.edgexfoundry.org:10002 [2023-02-06T15:11:57.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T15:11:57.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T15:11:57.515Z] Configure a credential helper to remove this warning. See [2023-02-06T15:11:57.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T15:11:57.515Z] [2023-02-06T15:11:57.515Z] Login Succeeded [2023-02-06T15:11:57.515Z] nexus3.edgexfoundry.org:10003 [2023-02-06T15:11:57.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T15:11:57.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T15:11:57.515Z] Configure a credential helper to remove this warning. See [2023-02-06T15:11:57.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T15:11:57.515Z] [2023-02-06T15:11:57.515Z] Login Succeeded [2023-02-06T15:11:57.515Z] nexus3.edgexfoundry.org:10004 [2023-02-06T15:11:57.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T15:11:57.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T15:11:57.775Z] Configure a credential helper to remove this warning. See [2023-02-06T15:11:57.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T15:11:57.775Z] [2023-02-06T15:11:57.775Z] Login Succeeded [2023-02-06T15:11:57.775Z] docker.io [2023-02-06T15:11:57.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T15:11:58.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T15:11:58.035Z] Configure a credential helper to remove this warning. See [2023-02-06T15:11:58.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T15:11:58.035Z] [2023-02-06T15:11:58.035Z] Login Succeeded [2023-02-06T15:11:58.035Z] ---> docker-login.sh ends [Pipeline] } [2023-02-06T15:11:58.044Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-06T15:11:58.417Z] + git rev-list -1 --merges 2697fcfb8df50bb061f2983be883727f1434b823~1..2697fcfb8df50bb061f2983be883727f1434b823 [Pipeline] echo [2023-02-06T15:11:58.468Z] -----------> git rev-list -1 --merges 2697fcfb8df50bb061f2983be883727f1434b823~1..2697fcfb8df50bb061f2983be883727f1434b823 2697fcfb8df50bb061f2983be883727f1434b823 [false] [Pipeline] sh [2023-02-06T15:11:58.757Z] + git log --format=format:%s -1 2697fcfb8df50bb061f2983be883727f1434b823 [Pipeline] echo [2023-02-06T15:11:58.772Z] ========================================================= [2023-02-06T15:11:58.772Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-06T15:11:58.772Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-06T15:11:59.096Z] + git log --format=format:%s -1 2697fcfb8df50bb061f2983be883727f1434b823 [Pipeline] echo [2023-02-06T15:11:59.108Z] [semverPrep] GIT_COMMIT: 2697fcfb8df50bb061f2983be883727f1434b823, Commit Message: feat: Add resource, command, and device tags to reading/event [Pipeline] echo [2023-02-06T15:11:59.119Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-06T15:11:59.485Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-06T15:11:59.485Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-06T15:11:59.485Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-06T15:11:59.485Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-06T15:11:59.485Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-06T15:11:59.485Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-06T15:11:59.485Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T15:11:59.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T15:11:59.888Z] [2023-02-06T15:11:59.889Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T15:12:00.202Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T15:12:00.202Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-06T15:12:00.202Z] b85a868b505f: Pulling fs layer [2023-02-06T15:12:00.202Z] e2be974225ed: Pulling fs layer [2023-02-06T15:12:00.202Z] 339a4e72a1f5: Pulling fs layer [2023-02-06T15:12:00.202Z] 988bab9f4d93: Pulling fs layer [2023-02-06T15:12:00.202Z] 1469e6f7b9e6: Pulling fs layer [2023-02-06T15:12:00.202Z] eaf3925da568: Pulling fs layer [2023-02-06T15:12:00.202Z] bab4dde63d76: Pulling fs layer [2023-02-06T15:12:00.202Z] bde34c3a00c8: Pulling fs layer [2023-02-06T15:12:00.202Z] b352a97aabf1: Pulling fs layer [2023-02-06T15:12:00.202Z] 4872d77fe225: Pulling fs layer [2023-02-06T15:12:00.202Z] 5851b861e8e6: Pulling fs layer [2023-02-06T15:12:00.202Z] bde34c3a00c8: Waiting [2023-02-06T15:12:00.202Z] b352a97aabf1: Waiting [2023-02-06T15:12:00.202Z] eaf3925da568: Waiting [2023-02-06T15:12:00.202Z] bab4dde63d76: Waiting [2023-02-06T15:12:00.202Z] 4872d77fe225: Waiting [2023-02-06T15:12:00.202Z] 5851b861e8e6: Waiting [2023-02-06T15:12:00.202Z] 1469e6f7b9e6: Waiting [2023-02-06T15:12:00.202Z] 988bab9f4d93: Waiting [2023-02-06T15:12:00.202Z] e2be974225ed: Verifying Checksum [2023-02-06T15:12:00.202Z] e2be974225ed: Download complete [2023-02-06T15:12:00.202Z] 988bab9f4d93: Verifying Checksum [2023-02-06T15:12:00.202Z] 988bab9f4d93: Download complete [2023-02-06T15:12:00.468Z] 1469e6f7b9e6: Verifying Checksum [2023-02-06T15:12:00.468Z] 1469e6f7b9e6: Download complete [2023-02-06T15:12:00.468Z] 339a4e72a1f5: Verifying Checksum [2023-02-06T15:12:00.468Z] 339a4e72a1f5: Download complete [2023-02-06T15:12:00.468Z] eaf3925da568: Verifying Checksum [2023-02-06T15:12:00.468Z] eaf3925da568: Download complete [2023-02-06T15:12:00.468Z] bde34c3a00c8: Download complete [2023-02-06T15:12:00.730Z] b352a97aabf1: Download complete [2023-02-06T15:12:00.730Z] 4872d77fe225: Verifying Checksum [2023-02-06T15:12:00.730Z] 4872d77fe225: Download complete [2023-02-06T15:12:00.730Z] 5851b861e8e6: Verifying Checksum [2023-02-06T15:12:00.730Z] 5851b861e8e6: Download complete [2023-02-06T15:12:00.730Z] b85a868b505f: Download complete [2023-02-06T15:12:00.992Z] bab4dde63d76: Verifying Checksum [2023-02-06T15:12:00.992Z] bab4dde63d76: Download complete [2023-02-06T15:12:02.373Z] b85a868b505f: Pull complete [2023-02-06T15:12:02.373Z] e2be974225ed: Pull complete [2023-02-06T15:12:02.943Z] 339a4e72a1f5: Pull complete [2023-02-06T15:12:02.943Z] 988bab9f4d93: Pull complete [2023-02-06T15:12:03.202Z] 1469e6f7b9e6: Pull complete [2023-02-06T15:12:03.202Z] eaf3925da568: Pull complete [2023-02-06T15:12:05.744Z] bab4dde63d76: Pull complete [2023-02-06T15:12:05.744Z] bde34c3a00c8: Pull complete [2023-02-06T15:12:05.744Z] b352a97aabf1: Pull complete [2023-02-06T15:12:05.744Z] 4872d77fe225: Pull complete [2023-02-06T15:12:05.744Z] 5851b861e8e6: Pull complete [2023-02-06T15:12:05.744Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-06T15:12:05.744Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-06T15:12:05.744Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T15:12:05.837Z] prd-ubuntu20.04-docker-8c-8g-4675 does not seem to be running inside a container [2023-02-06T15:12:05.866Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-06T15:12:08.945Z] $ docker top f37fe700c27c12b60514c5f8eae6d4990ee73206d24a80a860112684e6c1ccb9 -eo pid,comm [2023-02-06T15:12:09.003Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-06T15:12:09.003Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-06T15:12:09.040Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-06T15:12:09.040Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-06T15:12:09.159Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-06T15:12:09.160Z] $ docker exec f37fe700c27c12b60514c5f8eae6d4990ee73206d24a80a860112684e6c1ccb9 ssh-agent [2023-02-06T15:12:09.281Z] SSH_AUTH_SOCK=/tmp/ssh-FtGGqUV11a19/agent.33 [2023-02-06T15:12:09.281Z] SSH_AGENT_PID=39 [2023-02-06T15:12:09.287Z] Running ssh-add (command line suppressed) [2023-02-06T15:12:09.387Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_10794542930870238973.key (/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_10794542930870238973.key) [2023-02-06T15:12:09.402Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-06T15:12:09.686Z] + git tag --points-at HEAD [Pipeline] } [2023-02-06T15:12:09.697Z] $ docker exec --env ******** --env ******** f37fe700c27c12b60514c5f8eae6d4990ee73206d24a80a860112684e6c1ccb9 ssh-agent -k [2023-02-06T15:12:09.796Z] unset SSH_AUTH_SOCK; [2023-02-06T15:12:09.797Z] unset SSH_AGENT_PID; [2023-02-06T15:12:09.797Z] echo Agent pid 39 killed; [2023-02-06T15:12:09.808Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-06T15:12:09.834Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-06T15:12:09.834Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-06T15:12:09.953Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-06T15:12:09.954Z] $ docker exec f37fe700c27c12b60514c5f8eae6d4990ee73206d24a80a860112684e6c1ccb9 ssh-agent [2023-02-06T15:12:10.071Z] SSH_AUTH_SOCK=/tmp/ssh-ny3o2q0oSqHA/agent.71 [2023-02-06T15:12:10.071Z] SSH_AGENT_PID=77 [2023-02-06T15:12:10.076Z] Running ssh-add (command line suppressed) [2023-02-06T15:12:10.189Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_4643314946897986720.key (/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_4643314946897986720.key) [2023-02-06T15:12:10.206Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-06T15:12:10.489Z] + git semver init [2023-02-06T15:12:10.749Z] 2023-02-06 15:12:10,681 [run_init] DEBUG init version:0.0.0 force:False [2023-02-06T15:12:10.749Z] 2023-02-06 15:12:10,682 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver [2023-02-06T15:12:10.749Z] 2023-02-06 15:12:10,682 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver [2023-02-06T15:12:10.749Z] 2023-02-06 15:12:10,682 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1297, universal_newlines=False, shell=None, istream=None) [2023-02-06T15:12:12.131Z] 2023-02-06 15:12:11,788 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.git/info/exclude [2023-02-06T15:12:12.131Z] 2023-02-06 15:12:11,789 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver/PR-1297 with force:False [2023-02-06T15:12:12.131Z] 2023-02-06 15:12:11,789 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver/PR-1297 [2023-02-06T15:12:12.131Z] 2023-02-06 15:12:11,794 [execute] INFO git cat-file --batch-check [2023-02-06T15:12:12.131Z] 2023-02-06 15:12:11,795 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver, universal_newlines=False, shell=None, istream=) [2023-02-06T15:12:12.131Z] 2023-02-06 15:12:11,801 [execute] INFO git cat-file --batch [2023-02-06T15:12:12.131Z] 2023-02-06 15:12:11,801 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver, universal_newlines=False, shell=None, istream=) [2023-02-06T15:12:12.131Z] 2023-02-06 15:12:11,808 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver/PR-1297 [2023-02-06T15:12:12.131Z] 0.0.0 [Pipeline] } [2023-02-06T15:12:12.139Z] $ docker exec --env ******** --env ******** f37fe700c27c12b60514c5f8eae6d4990ee73206d24a80a860112684e6c1ccb9 ssh-agent -k [2023-02-06T15:12:12.241Z] unset SSH_AUTH_SOCK; [2023-02-06T15:12:12.242Z] unset SSH_AGENT_PID; [2023-02-06T15:12:12.242Z] echo Agent pid 77 killed; [2023-02-06T15:12:12.255Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-06T15:12:12.560Z] + git semver [Pipeline] } [2023-02-06T15:12:12.831Z] $ docker stop --time=1 f37fe700c27c12b60514c5f8eae6d4990ee73206d24a80a860112684e6c1ccb9 [2023-02-06T15:12:14.179Z] $ docker rm -f --volumes f37fe700c27c12b60514c5f8eae6d4990ee73206d24a80a860112684e6c1ccb9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-06T15:12:14.529Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-06T15:12:14.830Z] Stashed 1 file(s) [Pipeline] echo [2023-02-06T15:12:14.834Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-06T15:12:14.977Z] provisioning config files... [2023-02-06T15:12:14.985Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config4803896743230142088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T15:12:15.282Z] ---> docker-login.sh [2023-02-06T15:12:15.282Z] nexus3.edgexfoundry.org:10001 [2023-02-06T15:12:15.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T15:12:15.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T15:12:15.282Z] Configure a credential helper to remove this warning. See [2023-02-06T15:12:15.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T15:12:15.282Z] [2023-02-06T15:12:15.282Z] Login Succeeded [2023-02-06T15:12:15.282Z] nexus3.edgexfoundry.org:10002 [2023-02-06T15:12:15.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T15:12:15.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T15:12:15.282Z] Configure a credential helper to remove this warning. See [2023-02-06T15:12:15.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T15:12:15.282Z] [2023-02-06T15:12:15.282Z] Login Succeeded [2023-02-06T15:12:15.542Z] nexus3.edgexfoundry.org:10003 [2023-02-06T15:12:15.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T15:12:15.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T15:12:15.542Z] Configure a credential helper to remove this warning. See [2023-02-06T15:12:15.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T15:12:15.542Z] [2023-02-06T15:12:15.542Z] Login Succeeded [2023-02-06T15:12:15.542Z] nexus3.edgexfoundry.org:10004 [2023-02-06T15:12:15.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T15:12:15.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T15:12:15.542Z] Configure a credential helper to remove this warning. See [2023-02-06T15:12:15.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T15:12:15.542Z] [2023-02-06T15:12:15.542Z] Login Succeeded [2023-02-06T15:12:15.542Z] docker.io [2023-02-06T15:12:15.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T15:12:16.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T15:12:16.066Z] Configure a credential helper to remove this warning. See [2023-02-06T15:12:16.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T15:12:16.066Z] [2023-02-06T15:12:16.066Z] Login Succeeded [2023-02-06T15:12:16.066Z] ---> docker-login.sh ends [Pipeline] } [2023-02-06T15:12:16.075Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-06T15:12:16.137Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T15:12:16.150Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T15:12:16.156Z] ========================================================= [2023-02-06T15:12:16.156Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-06T15:12:16.156Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T15:12:16.459Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-06T15:12:16.459Z] Sending build context to Docker daemon 10.53MB [2023-02-06T15:12:16.459Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T15:12:16.459Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-06T15:12:16.720Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-06T15:12:16.720Z] 213ec9aee27d: Pulling fs layer [2023-02-06T15:12:16.720Z] 4583459ba037: Pulling fs layer [2023-02-06T15:12:16.720Z] 93c1e223e6f2: Pulling fs layer [2023-02-06T15:12:16.720Z] 53926ce57604: Pulling fs layer [2023-02-06T15:12:16.720Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-06T15:12:16.720Z] 22ff95d597cd: Pulling fs layer [2023-02-06T15:12:16.720Z] 12d6caf4c0d1: Pulling fs layer [2023-02-06T15:12:16.720Z] 96b7cbca73a9: Pulling fs layer [2023-02-06T15:12:16.720Z] a7acece74701: Pulling fs layer [2023-02-06T15:12:16.720Z] 53926ce57604: Waiting [2023-02-06T15:12:16.720Z] 96b7cbca73a9: Waiting [2023-02-06T15:12:16.720Z] a7acece74701: Waiting [2023-02-06T15:12:16.720Z] 21b2b0c7a3f4: Waiting [2023-02-06T15:12:16.720Z] 22ff95d597cd: Waiting [2023-02-06T15:12:16.720Z] 12d6caf4c0d1: Waiting [2023-02-06T15:12:16.720Z] 93c1e223e6f2: Verifying Checksum [2023-02-06T15:12:16.720Z] 93c1e223e6f2: Download complete [2023-02-06T15:12:16.720Z] 4583459ba037: Download complete [2023-02-06T15:12:16.720Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-06T15:12:16.720Z] 21b2b0c7a3f4: Download complete [2023-02-06T15:12:16.720Z] 22ff95d597cd: Verifying Checksum [2023-02-06T15:12:16.720Z] 22ff95d597cd: Download complete [2023-02-06T15:12:16.720Z] 213ec9aee27d: Verifying Checksum [2023-02-06T15:12:16.720Z] 213ec9aee27d: Download complete [2023-02-06T15:12:16.720Z] 12d6caf4c0d1: Verifying Checksum [2023-02-06T15:12:16.720Z] 12d6caf4c0d1: Download complete [2023-02-06T15:12:16.981Z] 213ec9aee27d: Pull complete [2023-02-06T15:12:16.981Z] 4583459ba037: Pull complete [2023-02-06T15:12:17.241Z] 93c1e223e6f2: Pull complete [2023-02-06T15:12:17.835Z] a7acece74701: Verifying Checksum [2023-02-06T15:12:17.835Z] a7acece74701: Download complete [2023-02-06T15:12:18.095Z] 96b7cbca73a9: Verifying Checksum [2023-02-06T15:12:18.095Z] 96b7cbca73a9: Download complete [2023-02-06T15:12:18.663Z] 53926ce57604: Verifying Checksum [2023-02-06T15:12:18.663Z] 53926ce57604: Download complete [2023-02-06T15:12:22.853Z] 53926ce57604: Pull complete [2023-02-06T15:12:22.853Z] 21b2b0c7a3f4: Pull complete [2023-02-06T15:12:22.853Z] 22ff95d597cd: Pull complete [2023-02-06T15:12:22.853Z] 12d6caf4c0d1: Pull complete [2023-02-06T15:12:24.749Z] 96b7cbca73a9: Pull complete [2023-02-06T15:12:25.692Z] a7acece74701: Pull complete [2023-02-06T15:12:25.692Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-06T15:12:25.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-06T15:12:25.692Z] ---> db6d94c90886 [2023-02-06T15:12:25.692Z] Step 3/10 : ARG MAKE=make build [2023-02-06T15:12:29.933Z] Still waiting to schedule task [2023-02-06T15:12:29.934Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-06T15:12:30.972Z] ---> Running in 32badb70bbf4 [2023-02-06T15:12:30.972Z] Removing intermediate container 32badb70bbf4 [2023-02-06T15:12:30.972Z] ---> 3b55e060992e [2023-02-06T15:12:30.972Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-06T15:12:30.972Z] ---> Running in 6976f8e31383 [2023-02-06T15:12:30.972Z] Removing intermediate container 6976f8e31383 [2023-02-06T15:12:30.972Z] ---> 34706ce065b7 [2023-02-06T15:12:30.972Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-06T15:12:30.972Z] ---> Running in 083c425921c7 [2023-02-06T15:12:30.972Z] Removing intermediate container 083c425921c7 [2023-02-06T15:12:30.972Z] ---> 2f1871a66d11 [2023-02-06T15:12:30.972Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-06T15:12:31.232Z] ---> Running in 57f8ab3f9d41 [2023-02-06T15:12:31.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-06T15:12:31.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-06T15:12:31.749Z] OK: 211 MiB in 51 packages [2023-02-06T15:12:32.006Z] Removing intermediate container 57f8ab3f9d41 [2023-02-06T15:12:32.006Z] ---> 26ff316277dc [2023-02-06T15:12:32.006Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-06T15:12:32.265Z] ---> 1dbda9d7e445 [2023-02-06T15:12:32.265Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T15:12:32.265Z] ---> Running in c499910b0ab7 [2023-02-06T15:13:10.990Z] Removing intermediate container c499910b0ab7 [2023-02-06T15:13:10.990Z] ---> 802cc13ad3fb [2023-02-06T15:13:10.990Z] Step 9/10 : COPY . . [2023-02-06T15:13:11.930Z] ---> 521908c43a04 [2023-02-06T15:13:11.930Z] Step 10/10 : RUN ${MAKE} [2023-02-06T15:13:11.930Z] ---> Running in e316d1151736 [2023-02-06T15:13:11.930Z] noop [2023-02-06T15:13:12.189Z] Removing intermediate container e316d1151736 [2023-02-06T15:13:12.189Z] ---> 9f694419879d [2023-02-06T15:13:12.189Z] Successfully built 9f694419879d [2023-02-06T15:13:12.449Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T15:13:12.751Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-06T15:13:12.751Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T15:13:12.821Z] prd-ubuntu20.04-docker-8c-8g-4675 does not seem to be running inside a container [2023-02-06T15:13:12.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-06T15:13:13.207Z] $ docker top 68e5b100560af5185bb5a5ffd9251c06d8ccbe299737d1219c0a760959fa1036 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T15:13:13.558Z] + go version [2023-02-06T15:13:13.558Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-06T15:13:13.566Z] $ docker stop --time=1 68e5b100560af5185bb5a5ffd9251c06d8ccbe299737d1219c0a760959fa1036 [2023-02-06T15:13:14.861Z] $ docker rm -f --volumes 68e5b100560af5185bb5a5ffd9251c06d8ccbe299737d1219c0a760959fa1036 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T15:13:15.275Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-06T15:13:15.275Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T15:13:15.351Z] prd-ubuntu20.04-docker-8c-8g-4675 does not seem to be running inside a container [2023-02-06T15:13:15.374Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-06T15:13:15.733Z] $ docker top e27cbdb08ccf9b6c42abdfd43c6c796ede3bba42c94a512ec3b6dd48dec234fe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T15:13:16.086Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1297 [Pipeline] fileExists [Pipeline] sh [2023-02-06T15:13:16.385Z] + make test [2023-02-06T15:13:16.386Z] go test -race -coverprofile=coverage.out ./... [2023-02-06T15:13:22.953Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-06T15:13:37.824Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-06T15:13:37.824Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-06T15:13:37.824Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-06T15:13:37.824Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-06T15:13:37.824Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-06T15:13:37.824Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.062s coverage: 27.6% of statements [2023-02-06T15:13:37.824Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.088s coverage: 78.9% of statements [2023-02-06T15:13:37.824Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-06T15:13:37.824Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.123s coverage: 77.8% of statements [2023-02-06T15:13:37.824Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-06T15:13:37.824Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-06T15:13:38.083Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.120s coverage: 59.8% of statements [2023-02-06T15:13:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-06T15:13:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-06T15:13:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-06T15:13:38.083Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.099s coverage: 65.2% of statements [2023-02-06T15:13:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-06T15:13:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-06T15:13:38.083Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.763s coverage: 89.2% of statements [2023-02-06T15:13:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-06T15:13:38.083Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.057s coverage: 4.7% of statements [2023-02-06T15:13:38.083Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-06T15:13:56.162Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-06T15:13:56.162Z] GO111MODULE=on go vet ./... [2023-02-06T15:13:59.460Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-06T15:13:59.460Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-06T15:13:59.460Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-06T15:13:59.475Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-06T15:13:59.488Z] $ docker stop --time=1 e27cbdb08ccf9b6c42abdfd43c6c796ede3bba42c94a512ec3b6dd48dec234fe [2023-02-06T15:14:03.426Z] $ docker rm -f --volumes e27cbdb08ccf9b6c42abdfd43c6c796ede3bba42c94a512ec3b6dd48dec234fe [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-06T15:14:03.939Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-06T15:14:04.006Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-06T15:14:04.525Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-06T15:14:04.810Z] + ls -al . [2023-02-06T15:14:04.810Z] total 272 [2023-02-06T15:14:04.810Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 6 15:13 . [2023-02-06T15:14:04.810Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 15:11 .. [2023-02-06T15:14:04.810Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 6 15:11 .dockerignore [2023-02-06T15:14:04.810Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 15:13 .git [2023-02-06T15:14:04.810Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 15:11 .github [2023-02-06T15:14:04.810Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 6 15:11 .gitignore [2023-02-06T15:14:04.810Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 6 15:11 .golangci.yml [2023-02-06T15:14:04.810Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 15:12 .semver [2023-02-06T15:14:04.810Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 6 15:11 CHANGELOG.md [2023-02-06T15:14:04.810Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 15:11 GOVERNANCE.md [2023-02-06T15:14:04.810Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 6 15:11 Jenkinsfile [2023-02-06T15:14:04.810Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 6 15:11 LICENSE [2023-02-06T15:14:04.810Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 6 15:11 Makefile [2023-02-06T15:14:04.810Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 6 15:11 OWNERS.md [2023-02-06T15:14:04.810Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 6 15:11 README.md [2023-02-06T15:14:04.810Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 6 15:12 VERSION [2023-02-06T15:14:04.810Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 15:11 bin [2023-02-06T15:14:04.810Z] -rw-r--r-- 1 jenkins jenkins 100848 Feb 6 15:13 coverage.out [2023-02-06T15:14:04.810Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 6 15:11 example [2023-02-06T15:14:04.810Z] -rw-rw-r-- 1 jenkins jenkins 3264 Feb 6 15:11 go.mod [2023-02-06T15:14:04.810Z] -rw-rw-r-- 1 jenkins jenkins 32817 Feb 6 15:11 go.sum [2023-02-06T15:14:04.810Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 6 15:11 internal [2023-02-06T15:14:04.810Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 15:11 openapi [2023-02-06T15:14:04.810Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 6 15:11 pkg [2023-02-06T15:14:04.810Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 15:11 snap [2023-02-06T15:14:04.810Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 6 15:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T15:14:05.124Z] + 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=2697fcfb8df50bb061f2983be883727f1434b823 --label arch=amd64 --label version=0.0.0 . [2023-02-06T15:14:05.124Z] Sending build context to Docker daemon 10.63MB [2023-02-06T15:14:05.124Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T15:14:05.124Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-06T15:14:05.124Z] ---> 9f694419879d [2023-02-06T15:14:05.124Z] Step 3/23 : ARG MAKE=make build [2023-02-06T15:14:05.384Z] ---> Running in 29c7a50a03fc [2023-02-06T15:14:05.384Z] Removing intermediate container 29c7a50a03fc [2023-02-06T15:14:05.384Z] ---> e32c3a679e0b [2023-02-06T15:14:05.384Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-06T15:14:05.384Z] ---> Running in d481bc98b9a7 [2023-02-06T15:14:05.384Z] Removing intermediate container d481bc98b9a7 [2023-02-06T15:14:05.384Z] ---> 0095454cb0b1 [2023-02-06T15:14:05.384Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-06T15:14:05.642Z] ---> Running in 516aeb079cb6 [2023-02-06T15:14:05.642Z] Removing intermediate container 516aeb079cb6 [2023-02-06T15:14:05.642Z] ---> b6bc0e54e662 [2023-02-06T15:14:05.643Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-06T15:14:05.643Z] ---> Running in 9c0ece8c66da [2023-02-06T15:14:05.902Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-06T15:14:06.162Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-06T15:14:06.421Z] OK: 211 MiB in 51 packages [2023-02-06T15:14:06.680Z] Removing intermediate container 9c0ece8c66da [2023-02-06T15:14:06.680Z] ---> 6f6526fa6834 [2023-02-06T15:14:06.680Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-06T15:14:06.937Z] ---> 083d8ec2c554 [2023-02-06T15:14:06.937Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T15:14:06.937Z] ---> Running in db58e68d6687 [2023-02-06T15:14:07.912Z] Removing intermediate container db58e68d6687 [2023-02-06T15:14:07.912Z] ---> 63a865a85769 [2023-02-06T15:14:07.912Z] Step 9/23 : COPY . . [2023-02-06T15:14:08.172Z] ---> 1078a7f94e09 [2023-02-06T15:14:08.172Z] Step 10/23 : RUN ${MAKE} [2023-02-06T15:14:08.172Z] ---> Running in aa76387757c2 [2023-02-06T15:14:08.431Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-06T15:14:16.989Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4676 in /w/workspace/gexfoundry_device-sdk-go_PR-1297 [Pipeline] { [Pipeline] ws [2023-02-06T15:14:17.003Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2023-02-06T15:14:17.051Z] The recommended git tool is: git [2023-02-06T15:14:25.807Z] using credential edgex-jenkins-ssh [2023-02-06T15:14:25.855Z] Cloning the remote Git repository [2023-02-06T15:14:25.968Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-06T15:14:26.093Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2023-02-06T15:14:26.327Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-06T15:14:26.328Z] > git --version # timeout=10 [2023-02-06T15:14:26.358Z] > git --version # 'git version 2.25.1' [2023-02-06T15:14:26.360Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-06T15:14:26.456Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-06T15:14:30.396Z] Removing intermediate container aa76387757c2 [2023-02-06T15:14:30.396Z] ---> c9ec8e487be1 [2023-02-06T15:14:30.396Z] Step 11/23 : FROM alpine:3.16 [2023-02-06T15:14:30.396Z] 3.16: Pulling from library/alpine [2023-02-06T15:14:29.974Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-06T15:14:30.024Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-06T15:14:30.654Z] ca7dd9ec2225: Pulling fs layer [2023-02-06T15:14:30.654Z] ca7dd9ec2225: Verifying Checksum [2023-02-06T15:14:30.654Z] ca7dd9ec2225: Download complete [2023-02-06T15:14:30.915Z] ca7dd9ec2225: Pull complete [2023-02-06T15:14:30.916Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-06T15:14:30.916Z] Status: Downloaded newer image for alpine:3.16 [2023-02-06T15:14:30.916Z] ---> bfe296a52501 [2023-02-06T15:14:30.916Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-06T15:14:31.175Z] ---> Running in c32b2c9157ac [2023-02-06T15:14:31.175Z] Removing intermediate container c32b2c9157ac [2023-02-06T15:14:31.175Z] ---> bb6d69938e4a [2023-02-06T15:14:31.175Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-06T15:14:31.175Z] ---> Running in c55d92b4b56a [2023-02-06T15:14:31.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-06T15:14:31.691Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-06T15:14:31.832Z] Merging remotes/origin/main commit 3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 into PR head commit 2697fcfb8df50bb061f2983be883727f1434b823 [2023-02-06T15:14:31.949Z] OK: 6 MiB in 14 packages [2023-02-06T15:14:32.103Z] Merge succeeded, producing 2697fcfb8df50bb061f2983be883727f1434b823 [2023-02-06T15:14:32.103Z] Checking out Revision 2697fcfb8df50bb061f2983be883727f1434b823 (PR-1297) [2023-02-06T15:14:31.009Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-06T15:14:31.077Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-06T15:14:31.078Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-06T15:14:31.111Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1297/head:refs/remotes/origin/PR-1297 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-06T15:14:31.853Z] > git config core.sparsecheckout # timeout=10 [2023-02-06T15:14:31.876Z] > git checkout -f 2697fcfb8df50bb061f2983be883727f1434b823 # timeout=10 [2023-02-06T15:14:32.001Z] > git remote # timeout=10 [2023-02-06T15:14:32.020Z] > git config --get remote.origin.url # timeout=10 [2023-02-06T15:14:32.045Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-06T15:14:32.059Z] > git merge 3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 # timeout=10 [2023-02-06T15:14:32.086Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-06T15:14:32.111Z] > git config core.sparsecheckout # timeout=10 [2023-02-06T15:14:32.123Z] > git checkout -f 2697fcfb8df50bb061f2983be883727f1434b823 # timeout=10 [2023-02-06T15:14:32.207Z] Removing intermediate container c55d92b4b56a [2023-02-06T15:14:32.207Z] ---> 6fb13fef6011 [2023-02-06T15:14:32.207Z] Step 14/23 : WORKDIR / [2023-02-06T15:14:32.207Z] ---> Running in c0336941bc21 [2023-02-06T15:14:32.466Z] Removing intermediate container c0336941bc21 [2023-02-06T15:14:32.466Z] ---> 2ca1adeb33b7 [2023-02-06T15:14:32.466Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-06T15:14:32.466Z] ---> 28abdf2715e4 [2023-02-06T15:14:32.466Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-06T15:14:33.462Z] ---> 00978977bfde [2023-02-06T15:14:33.462Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-06T15:14:33.462Z] ---> 81be97d5a522 [2023-02-06T15:14:33.462Z] Step 18/23 : EXPOSE 59999 [2023-02-06T15:14:33.462Z] ---> Running in f3f187d0a94c [2023-02-06T15:14:33.462Z] Removing intermediate container f3f187d0a94c [2023-02-06T15:14:33.462Z] ---> 45e417f53ea4 [2023-02-06T15:14:33.462Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-06T15:14:33.463Z] ---> Running in 4bd398670054 [2023-02-06T15:14:33.463Z] Removing intermediate container 4bd398670054 [2023-02-06T15:14:33.463Z] ---> 1fcbbd18ed80 [2023-02-06T15:14:33.463Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-06T15:14:33.463Z] ---> Running in 94d09c421a9f [2023-02-06T15:14:33.722Z] Removing intermediate container 94d09c421a9f [2023-02-06T15:14:33.722Z] ---> 8904a4cca429 [2023-02-06T15:14:33.722Z] Step 21/23 : LABEL arch=amd64 [2023-02-06T15:14:33.722Z] ---> Running in bcf7da000266 [2023-02-06T15:14:33.722Z] Removing intermediate container bcf7da000266 [2023-02-06T15:14:33.722Z] ---> f16bb9a3c8b4 [2023-02-06T15:14:33.722Z] Step 22/23 : LABEL git_sha=2697fcfb8df50bb061f2983be883727f1434b823 [2023-02-06T15:14:33.722Z] ---> Running in afcb5acdfdc7 [2023-02-06T15:14:33.722Z] Removing intermediate container afcb5acdfdc7 [2023-02-06T15:14:33.722Z] ---> aa8708877b7a [2023-02-06T15:14:33.722Z] Step 23/23 : LABEL version=0.0.0 [2023-02-06T15:14:33.722Z] ---> Running in 3f195fcfc1a7 [2023-02-06T15:14:33.980Z] Removing intermediate container 3f195fcfc1a7 [2023-02-06T15:14:33.980Z] ---> a7db709678df [2023-02-06T15:14:33.980Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-06T15:14:33.980Z] Successfully built a7db709678df [2023-02-06T15:14:33.980Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T15:14:34.399Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T15:14:34.399Z] [2023-02-06T15:14:34.399Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T15:14:34.702Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T15:14:34.702Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-06T15:14:34.702Z] 5eb5b503b376: Pulling fs layer [2023-02-06T15:14:34.702Z] 5c69ac0246d0: Pulling fs layer [2023-02-06T15:14:34.702Z] ec43610c2a17: Pulling fs layer [2023-02-06T15:14:34.702Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-06T15:14:34.702Z] 33b1e0a273af: Pulling fs layer [2023-02-06T15:14:34.702Z] 5d3b04190fa2: Pulling fs layer [2023-02-06T15:14:34.702Z] 2f39f015ded8: Pulling fs layer [2023-02-06T15:14:34.702Z] 3a2ae6a8a46f: Waiting [2023-02-06T15:14:34.702Z] 33b1e0a273af: Waiting [2023-02-06T15:14:34.702Z] 5d3b04190fa2: Waiting [2023-02-06T15:14:34.702Z] 2f39f015ded8: Waiting [2023-02-06T15:14:34.702Z] 5c69ac0246d0: Verifying Checksum [2023-02-06T15:14:34.702Z] 5c69ac0246d0: Download complete [2023-02-06T15:14:34.702Z] 3a2ae6a8a46f: Download complete [2023-02-06T15:14:34.964Z] 33b1e0a273af: Verifying Checksum [2023-02-06T15:14:34.965Z] 33b1e0a273af: Download complete [2023-02-06T15:14:34.965Z] 5d3b04190fa2: Verifying Checksum [2023-02-06T15:14:34.965Z] 5d3b04190fa2: Download complete [2023-02-06T15:14:34.965Z] ec43610c2a17: Verifying Checksum [2023-02-06T15:14:34.965Z] ec43610c2a17: Download complete [2023-02-06T15:14:35.227Z] 5eb5b503b376: Verifying Checksum [2023-02-06T15:14:35.227Z] 5eb5b503b376: Download complete [2023-02-06T15:14:35.680Z] Commit message: "feat: Add resource, command, and device tags to reading/event" [2023-02-06T15:14:35.797Z] 2f39f015ded8: Download complete [2023-02-06T15:14:36.056Z] [2023-02-06T15:14:36.056Z] GitHub has been notified of this commit’s build result [2023-02-06T15:14:36.056Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-06T15:14:36.364Z] 5eb5b503b376: Pull complete [2023-02-06T15:14:36.583Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-06T15:14:36.583Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-06T15:14:36.583Z] Dload Upload Total Spent Left Speed [2023-02-06T15:14:36.583Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 106k 0 --:--:-- --:--:-- --:--:-- 107k [2023-02-06T15:14:36.622Z] 5c69ac0246d0: Pull complete [Pipeline] sh [2023-02-06T15:14:37.187Z] ec43610c2a17: Pull complete [2023-02-06T15:14:37.187Z] 3a2ae6a8a46f: Pull complete [2023-02-06T15:14:37.283Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-06T15:14:37.445Z] 33b1e0a273af: Pull complete [2023-02-06T15:14:37.445Z] 5d3b04190fa2: Pull complete [2023-02-06T15:14:37.613Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-06T15:14:37.613Z] + sudo tee /etc/docker/daemon.new [2023-02-06T15:14:37.613Z] { [2023-02-06T15:14:37.613Z] "registry-mirrors": [ [2023-02-06T15:14:37.613Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-06T15:14:37.613Z] ], [2023-02-06T15:14:37.613Z] "bip": "10.250.0.254/24", [2023-02-06T15:14:37.613Z] "hosts": [ [2023-02-06T15:14:37.613Z] "tcp://0.0.0.0:5555", [2023-02-06T15:14:37.613Z] "unix:///var/run/docker.sock" [2023-02-06T15:14:37.613Z] ], [2023-02-06T15:14:37.613Z] "mtu": 1458, [2023-02-06T15:14:37.613Z] "selinux-enabled": true, [2023-02-06T15:14:37.613Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-06T15:14:37.613Z] } [Pipeline] sh [2023-02-06T15:14:37.941Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-06T15:14:38.279Z] + sudo service docker restart [2023-02-06T15:14:42.718Z] 2f39f015ded8: Pull complete [2023-02-06T15:14:42.718Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-06T15:14:42.718Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T15:14:42.718Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T15:14:42.794Z] prd-ubuntu20.04-docker-8c-8g-4675 does not seem to be running inside a container [2023-02-06T15:14:42.820Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-06T15:14:46.675Z] $ docker top 486bb89525061f6bde6249533af07cf9b52fcf633f8fecccb616c34e2df73d5d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T15:14:47.077Z] ---> job-cost.sh [2023-02-06T15:14:47.077Z] lf-activate-venv: SKIPPING [2023-02-06T15:14:47.077Z] INFO: No Stack... [2023-02-06T15:14:48.013Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-06T15:14:48.273Z] INFO: Archiving Costs [Pipeline] sh [2023-02-06T15:14:48.568Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives/cost.csv [2023-02-06T15:14:48.568Z] + cut -d, -f6 [Pipeline] lock [2023-02-06T15:14:48.582Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1297-6-stack-cost] [2023-02-06T15:14:48.588Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-6-stack-cost] did not exist. Created. [2023-02-06T15:14:48.588Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1297-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-06T15:14:48.891Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-06T15:14:48.927Z] Stashed 1 file(s) [Pipeline] } [2023-02-06T15:14:48.933Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-06T15:14:48.947Z] $ docker stop --time=1 486bb89525061f6bde6249533af07cf9b52fcf633f8fecccb616c34e2df73d5d [2023-02-06T15:14:50.093Z] $ docker rm -f --volumes 486bb89525061f6bde6249533af07cf9b52fcf633f8fecccb616c34e2df73d5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-06T15:14:56.548Z] provisioning config files... [2023-02-06T15:14:56.574Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config16178729946939054844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T15:14:56.930Z] ---> docker-login.sh [2023-02-06T15:14:56.930Z] nexus3.edgexfoundry.org:10001 [2023-02-06T15:14:57.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T15:14:57.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T15:14:57.471Z] Configure a credential helper to remove this warning. See [2023-02-06T15:14:57.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T15:14:57.471Z] [2023-02-06T15:14:57.471Z] Login Succeeded [2023-02-06T15:14:57.471Z] nexus3.edgexfoundry.org:10002 [2023-02-06T15:14:57.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T15:14:58.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T15:14:58.015Z] Configure a credential helper to remove this warning. See [2023-02-06T15:14:58.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T15:14:58.015Z] [2023-02-06T15:14:58.015Z] Login Succeeded [2023-02-06T15:14:58.015Z] nexus3.edgexfoundry.org:10003 [2023-02-06T15:14:58.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T15:14:58.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T15:14:58.286Z] Configure a credential helper to remove this warning. See [2023-02-06T15:14:58.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T15:14:58.286Z] [2023-02-06T15:14:58.286Z] Login Succeeded [2023-02-06T15:14:58.286Z] nexus3.edgexfoundry.org:10004 [2023-02-06T15:14:58.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T15:14:58.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T15:14:58.557Z] Configure a credential helper to remove this warning. See [2023-02-06T15:14:58.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T15:14:58.557Z] [2023-02-06T15:14:58.557Z] Login Succeeded [2023-02-06T15:14:58.557Z] docker.io [2023-02-06T15:14:58.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-06T15:14:59.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-06T15:14:59.099Z] Configure a credential helper to remove this warning. See [2023-02-06T15:14:59.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-06T15:14:59.099Z] [2023-02-06T15:14:59.099Z] Login Succeeded [2023-02-06T15:14:59.099Z] ---> docker-login.sh ends [Pipeline] } [2023-02-06T15:14:59.115Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-06T15:14:59.377Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T15:14:59.394Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-06T15:14:59.410Z] ========================================================= [2023-02-06T15:14:59.410Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-06T15:14:59.410Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T15:14:59.764Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-06T15:15:00.033Z] Sending build context to Docker daemon 5.664MB [2023-02-06T15:15:00.033Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T15:15:00.033Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-06T15:15:00.306Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-06T15:15:00.306Z] 9b18e9b68314: Pulling fs layer [2023-02-06T15:15:00.306Z] 35d82f9e3411: Pulling fs layer [2023-02-06T15:15:00.306Z] e16973657156: Pulling fs layer [2023-02-06T15:15:00.306Z] fc693d55d65f: Pulling fs layer [2023-02-06T15:15:00.306Z] 7e9fc2657dce: Pulling fs layer [2023-02-06T15:15:00.306Z] dda99020689f: Pulling fs layer [2023-02-06T15:15:00.306Z] db1c61fa0a46: Pulling fs layer [2023-02-06T15:15:00.306Z] 891c053d2c06: Pulling fs layer [2023-02-06T15:15:00.306Z] dda99020689f: Waiting [2023-02-06T15:15:00.306Z] db1c61fa0a46: Waiting [2023-02-06T15:15:00.306Z] 891c053d2c06: Waiting [2023-02-06T15:15:00.306Z] fc693d55d65f: Waiting [2023-02-06T15:15:00.306Z] 7e9fc2657dce: Waiting [2023-02-06T15:15:00.306Z] e16973657156: Verifying Checksum [2023-02-06T15:15:00.306Z] e16973657156: Download complete [2023-02-06T15:15:00.306Z] 35d82f9e3411: Download complete [2023-02-06T15:15:00.306Z] 7e9fc2657dce: Verifying Checksum [2023-02-06T15:15:00.306Z] 7e9fc2657dce: Download complete [2023-02-06T15:15:00.306Z] dda99020689f: Verifying Checksum [2023-02-06T15:15:00.306Z] dda99020689f: Download complete [2023-02-06T15:15:00.578Z] 9b18e9b68314: Verifying Checksum [2023-02-06T15:15:00.578Z] 9b18e9b68314: Download complete [2023-02-06T15:15:01.554Z] 9b18e9b68314: Pull complete [2023-02-06T15:15:01.831Z] 891c053d2c06: Verifying Checksum [2023-02-06T15:15:01.831Z] 891c053d2c06: Download complete [2023-02-06T15:15:02.102Z] 35d82f9e3411: Pull complete [2023-02-06T15:15:02.374Z] e16973657156: Pull complete [2023-02-06T15:15:02.966Z] db1c61fa0a46: Verifying Checksum [2023-02-06T15:15:02.966Z] db1c61fa0a46: Download complete [2023-02-06T15:15:03.553Z] fc693d55d65f: Verifying Checksum [2023-02-06T15:15:03.553Z] fc693d55d65f: Download complete [2023-02-06T15:15:15.911Z] fc693d55d65f: Pull complete [2023-02-06T15:15:15.911Z] 7e9fc2657dce: Pull complete [2023-02-06T15:15:15.911Z] dda99020689f: Pull complete [2023-02-06T15:15:21.288Z] db1c61fa0a46: Pull complete [2023-02-06T15:15:22.719Z] 891c053d2c06: Pull complete [2023-02-06T15:15:22.719Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-06T15:15:22.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-06T15:15:22.719Z] ---> f96f9c87975a [2023-02-06T15:15:22.719Z] Step 3/10 : ARG MAKE=make build [2023-02-06T15:15:24.141Z] ---> Running in d05451834873 [2023-02-06T15:15:24.409Z] Removing intermediate container d05451834873 [2023-02-06T15:15:24.409Z] ---> 463c3a9f63b8 [2023-02-06T15:15:24.409Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-06T15:15:24.676Z] ---> Running in 44655ae86aac [2023-02-06T15:15:24.943Z] Removing intermediate container 44655ae86aac [2023-02-06T15:15:24.943Z] ---> 36c76733ada8 [2023-02-06T15:15:24.943Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-06T15:15:24.943Z] ---> Running in 9144648ae680 [2023-02-06T15:15:25.223Z] Removing intermediate container 9144648ae680 [2023-02-06T15:15:25.223Z] ---> 9e952535433f [2023-02-06T15:15:25.223Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-06T15:15:25.223Z] ---> Running in 02e3c8487d4c [2023-02-06T15:15:26.634Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-06T15:15:26.634Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-06T15:15:27.594Z] OK: 221 MiB in 51 packages [2023-02-06T15:15:28.557Z] Removing intermediate container 02e3c8487d4c [2023-02-06T15:15:28.557Z] ---> 94f36f263943 [2023-02-06T15:15:28.557Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-06T15:15:28.828Z] ---> da44c92cf5a8 [2023-02-06T15:15:28.828Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T15:15:28.828Z] ---> Running in 58f8fb42b854 [2023-02-06T15:16:36.702Z] Removing intermediate container 58f8fb42b854 [2023-02-06T15:16:36.702Z] ---> 3cb765a4d8fd [2023-02-06T15:16:36.702Z] Step 9/10 : COPY . . [2023-02-06T15:16:37.285Z] ---> 9f9405ec25ac [2023-02-06T15:16:37.285Z] Step 10/10 : RUN ${MAKE} [2023-02-06T15:16:37.285Z] ---> Running in 6b4c3d8d0019 [2023-02-06T15:16:38.249Z] noop [2023-02-06T15:16:38.834Z] Removing intermediate container 6b4c3d8d0019 [2023-02-06T15:16:38.834Z] ---> 833ab366b56c [2023-02-06T15:16:38.834Z] Successfully built 833ab366b56c [2023-02-06T15:16:38.834Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T15:16:39.183Z] + docker inspect -f . ci-base-image-arm64 [2023-02-06T15:16:39.184Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T15:16:39.370Z] prd-ubuntu20.04-docker-arm64-4c-16g-4676 does not seem to be running inside a container [2023-02-06T15:16:39.436Z] $ 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-02-06T15:16:40.662Z] $ docker top 0df69b399dcd3bd315d75b70e9c291e638737f3f3500c55540b14545fe752213 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T15:16:41.501Z] + go version [2023-02-06T15:16:41.501Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-06T15:16:41.520Z] $ docker stop --time=1 0df69b399dcd3bd315d75b70e9c291e638737f3f3500c55540b14545fe752213 [2023-02-06T15:16:43.168Z] $ docker rm -f --volumes 0df69b399dcd3bd315d75b70e9c291e638737f3f3500c55540b14545fe752213 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T15:16:43.714Z] + docker inspect -f . ci-base-image-arm64 [2023-02-06T15:16:43.714Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T15:16:43.886Z] prd-ubuntu20.04-docker-arm64-4c-16g-4676 does not seem to be running inside a container [2023-02-06T15:16:43.951Z] $ 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-02-06T15:16:45.191Z] $ docker top f99f9a14989f679c87fbd43815acec126a563851c0bf002081a72e916ae08673 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T15:16:45.701Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/6 [Pipeline] fileExists [Pipeline] sh [2023-02-06T15:16:46.297Z] + make test [2023-02-06T15:16:46.297Z] go test -race -coverprofile=coverage.out ./... [2023-02-06T15:17:18.501Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-06T15:18:55.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-06T15:18:55.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-06T15:18:55.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-06T15:18:55.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-06T15:18:55.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-06T15:18:57.702Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.406s coverage: 27.6% of statements [2023-02-06T15:18:58.283Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.394s coverage: 78.9% of statements [2023-02-06T15:18:58.283Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-06T15:19:04.922Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.436s coverage: 77.8% of statements [2023-02-06T15:19:04.922Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-06T15:19:04.922Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-06T15:19:06.322Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.471s coverage: 59.8% of statements [2023-02-06T15:19:06.322Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-06T15:19:06.322Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-06T15:19:06.322Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-06T15:19:07.280Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.387s coverage: 65.2% of statements [2023-02-06T15:19:07.280Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-06T15:19:07.280Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-06T15:19:07.280Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.200s coverage: 89.2% of statements [2023-02-06T15:19:07.280Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-06T15:19:07.280Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.246s coverage: 4.7% of statements [2023-02-06T15:19:07.280Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-06T15:19:07.861Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-06T15:19:07.861Z] GO111MODULE=on go vet ./... [2023-02-06T15:20:29.459Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-06T15:20:29.459Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-06T15:20:29.459Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-06T15:20:29.478Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-06T15:20:29.490Z] $ docker stop --time=1 f99f9a14989f679c87fbd43815acec126a563851c0bf002081a72e916ae08673 [2023-02-06T15:20:31.278Z] $ docker rm -f --volumes f99f9a14989f679c87fbd43815acec126a563851c0bf002081a72e916ae08673 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-06T15:20:32.513Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-06T15:20:32.536Z] Warning: overwriting stash ‘coverage-report’ [2023-02-06T15:20:33.024Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-06T15:20:33.394Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-06T15:20:33.708Z] + ls -al . [2023-02-06T15:20:33.708Z] total 268 [2023-02-06T15:20:33.708Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 6 15:16 . [2023-02-06T15:20:33.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 15:14 .. [2023-02-06T15:20:33.708Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 6 15:14 .dockerignore [2023-02-06T15:20:33.708Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 15:14 .git [2023-02-06T15:20:33.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 15:14 .github [2023-02-06T15:20:33.708Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 6 15:14 .gitignore [2023-02-06T15:20:33.708Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 6 15:14 .golangci.yml [2023-02-06T15:20:33.708Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 6 15:14 CHANGELOG.md [2023-02-06T15:20:33.708Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 15:14 GOVERNANCE.md [2023-02-06T15:20:33.708Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 6 15:14 Jenkinsfile [2023-02-06T15:20:33.708Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 6 15:14 LICENSE [2023-02-06T15:20:33.708Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 6 15:14 Makefile [2023-02-06T15:20:33.708Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 6 15:14 OWNERS.md [2023-02-06T15:20:33.708Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 6 15:14 README.md [2023-02-06T15:20:33.708Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 6 15:12 VERSION [2023-02-06T15:20:33.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 15:14 bin [2023-02-06T15:20:33.708Z] -rw-r--r-- 1 jenkins jenkins 100848 Feb 6 15:19 coverage.out [2023-02-06T15:20:33.708Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 6 15:14 example [2023-02-06T15:20:33.708Z] -rw-rw-r-- 1 jenkins jenkins 3264 Feb 6 15:14 go.mod [2023-02-06T15:20:33.708Z] -rw-rw-r-- 1 jenkins jenkins 32817 Feb 6 15:14 go.sum [2023-02-06T15:20:33.708Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 6 15:14 internal [2023-02-06T15:20:33.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 15:14 openapi [2023-02-06T15:20:33.708Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 6 15:14 pkg [2023-02-06T15:20:33.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 15:14 snap [2023-02-06T15:20:33.708Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 6 15:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T15:20:34.045Z] + 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=2697fcfb8df50bb061f2983be883727f1434b823 --label arch=arm64 --label version=0.0.0 . [2023-02-06T15:20:34.312Z] Sending build context to Docker daemon 5.766MB [2023-02-06T15:20:34.312Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-06T15:20:34.312Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-06T15:20:34.312Z] ---> 833ab366b56c [2023-02-06T15:20:34.312Z] Step 3/23 : ARG MAKE=make build [2023-02-06T15:20:34.584Z] ---> Running in 6ff43dac95a1 [2023-02-06T15:20:34.850Z] Removing intermediate container 6ff43dac95a1 [2023-02-06T15:20:34.851Z] ---> b5d4fe5ca595 [2023-02-06T15:20:34.851Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-06T15:20:34.851Z] ---> Running in 490873f1652b [2023-02-06T15:20:35.117Z] Removing intermediate container 490873f1652b [2023-02-06T15:20:35.117Z] ---> 1a1ad2146535 [2023-02-06T15:20:35.117Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-06T15:20:35.491Z] ---> Running in 05a9e23f0dbe [2023-02-06T15:20:35.491Z] Removing intermediate container 05a9e23f0dbe [2023-02-06T15:20:35.491Z] ---> a1ce1037feeb [2023-02-06T15:20:35.491Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-06T15:20:35.761Z] ---> Running in 2b34f9918a40 [2023-02-06T15:20:36.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-06T15:20:37.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-06T15:20:37.997Z] OK: 221 MiB in 51 packages [2023-02-06T15:20:38.585Z] Removing intermediate container 2b34f9918a40 [2023-02-06T15:20:38.585Z] ---> ee0faa60a15e [2023-02-06T15:20:38.585Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-06T15:20:39.168Z] ---> 732a16e55d7c [2023-02-06T15:20:39.168Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-06T15:20:39.168Z] ---> Running in 824e9ce64ea1 [2023-02-06T15:20:42.506Z] Removing intermediate container 824e9ce64ea1 [2023-02-06T15:20:42.506Z] ---> 513e4e62d216 [2023-02-06T15:20:42.506Z] Step 9/23 : COPY . . [2023-02-06T15:20:43.913Z] ---> 26ab799120a2 [2023-02-06T15:20:43.913Z] Step 10/23 : RUN ${MAKE} [2023-02-06T15:20:43.913Z] ---> Running in 08b917fb8b29 [2023-02-06T15:20:44.869Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-06T15:22:36.481Z] Removing intermediate container 08b917fb8b29 [2023-02-06T15:22:36.481Z] ---> d1d8730f5462 [2023-02-06T15:22:36.481Z] Step 11/23 : FROM alpine:3.16 [2023-02-06T15:22:36.481Z] 3.16: Pulling from library/alpine [2023-02-06T15:22:36.481Z] 6875df1f5354: Pulling fs layer [2023-02-06T15:22:36.481Z] 6875df1f5354: Verifying Checksum [2023-02-06T15:22:36.481Z] 6875df1f5354: Download complete [2023-02-06T15:22:36.481Z] 6875df1f5354: Pull complete [2023-02-06T15:22:36.481Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-06T15:22:36.481Z] Status: Downloaded newer image for alpine:3.16 [2023-02-06T15:22:36.481Z] ---> 2b4661558fb8 [2023-02-06T15:22:36.481Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-06T15:22:36.481Z] ---> Running in 16865cdd6fd8 [2023-02-06T15:22:36.481Z] Removing intermediate container 16865cdd6fd8 [2023-02-06T15:22:36.481Z] ---> 10efc22c2045 [2023-02-06T15:22:36.481Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-06T15:22:36.481Z] ---> Running in bfa23761ee95 [2023-02-06T15:22:36.481Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-06T15:22:36.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-06T15:22:37.705Z] OK: 5 MiB in 14 packages [2023-02-06T15:22:38.290Z] Removing intermediate container bfa23761ee95 [2023-02-06T15:22:38.290Z] ---> 20ebca63a3ec [2023-02-06T15:22:38.290Z] Step 14/23 : WORKDIR / [2023-02-06T15:22:38.556Z] ---> Running in 3f8dd60558c9 [2023-02-06T15:22:38.823Z] Removing intermediate container 3f8dd60558c9 [2023-02-06T15:22:38.823Z] ---> a32775790e42 [2023-02-06T15:22:38.823Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-06T15:22:39.089Z] ---> 1fa676456834 [2023-02-06T15:22:39.090Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-06T15:22:40.493Z] ---> 1319b3a6902b [2023-02-06T15:22:40.493Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-06T15:22:40.764Z] ---> 0d6cd6440322 [2023-02-06T15:22:40.764Z] Step 18/23 : EXPOSE 59999 [2023-02-06T15:22:41.030Z] ---> Running in b8350f82f406 [2023-02-06T15:22:41.297Z] Removing intermediate container b8350f82f406 [2023-02-06T15:22:41.297Z] ---> 7c57af2d2c67 [2023-02-06T15:22:41.297Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-06T15:22:41.297Z] ---> Running in 186eb7fc02c4 [2023-02-06T15:22:41.563Z] Removing intermediate container 186eb7fc02c4 [2023-02-06T15:22:41.563Z] ---> 8f5bafec9403 [2023-02-06T15:22:41.563Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-06T15:22:41.563Z] ---> Running in 28d9306ec4d5 [2023-02-06T15:22:41.830Z] Removing intermediate container 28d9306ec4d5 [2023-02-06T15:22:41.830Z] ---> ad941ebce4d6 [2023-02-06T15:22:41.830Z] Step 21/23 : LABEL arch=arm64 [2023-02-06T15:22:41.830Z] ---> Running in 6bb086ec79a1 [2023-02-06T15:22:42.103Z] Removing intermediate container 6bb086ec79a1 [2023-02-06T15:22:42.103Z] ---> 805210acc7f8 [2023-02-06T15:22:42.103Z] Step 22/23 : LABEL git_sha=2697fcfb8df50bb061f2983be883727f1434b823 [2023-02-06T15:22:42.368Z] ---> Running in ff76227ec531 [2023-02-06T15:22:42.634Z] Removing intermediate container ff76227ec531 [2023-02-06T15:22:42.634Z] ---> b8f84300a853 [2023-02-06T15:22:42.634Z] Step 23/23 : LABEL version=0.0.0 [2023-02-06T15:22:42.634Z] ---> Running in d1f2d162c606 [2023-02-06T15:22:42.898Z] Removing intermediate container d1f2d162c606 [2023-02-06T15:22:42.898Z] ---> dc097c65cb8a [2023-02-06T15:22:42.898Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-06T15:22:42.898Z] Successfully built dc097c65cb8a [2023-02-06T15:22:42.898Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T15:22:43.316Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-06T15:22:43.316Z] [2023-02-06T15:22:43.316Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T15:22:43.646Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-06T15:22:43.647Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-06T15:22:43.647Z] 8998bd30e6a1: Pulling fs layer [2023-02-06T15:22:43.647Z] 04944245beec: Pulling fs layer [2023-02-06T15:22:43.647Z] 699f458cf7ca: Pulling fs layer [2023-02-06T15:22:43.647Z] 765212b225bb: Pulling fs layer [2023-02-06T15:22:43.647Z] f23df028b6ca: Pulling fs layer [2023-02-06T15:22:43.647Z] d65c8cfc05b1: Pulling fs layer [2023-02-06T15:22:43.647Z] 2437ff75d9bd: Pulling fs layer [2023-02-06T15:22:43.647Z] f23df028b6ca: Waiting [2023-02-06T15:22:43.647Z] d65c8cfc05b1: Waiting [2023-02-06T15:22:43.647Z] 2437ff75d9bd: Waiting [2023-02-06T15:22:43.647Z] 765212b225bb: Waiting [2023-02-06T15:22:43.915Z] 04944245beec: Download complete [2023-02-06T15:22:43.915Z] 765212b225bb: Verifying Checksum [2023-02-06T15:22:43.915Z] 765212b225bb: Download complete [2023-02-06T15:22:43.915Z] f23df028b6ca: Download complete [2023-02-06T15:22:43.915Z] d65c8cfc05b1: Verifying Checksum [2023-02-06T15:22:43.915Z] d65c8cfc05b1: Download complete [2023-02-06T15:22:43.915Z] 699f458cf7ca: Verifying Checksum [2023-02-06T15:22:43.915Z] 699f458cf7ca: Download complete [2023-02-06T15:22:44.497Z] 8998bd30e6a1: Verifying Checksum [2023-02-06T15:22:44.497Z] 8998bd30e6a1: Download complete [2023-02-06T15:22:46.436Z] 2437ff75d9bd: Verifying Checksum [2023-02-06T15:22:46.436Z] 2437ff75d9bd: Download complete [2023-02-06T15:22:47.852Z] 8998bd30e6a1: Pull complete [2023-02-06T15:22:48.441Z] 04944245beec: Pull complete [2023-02-06T15:22:49.397Z] 699f458cf7ca: Pull complete [2023-02-06T15:22:49.663Z] 765212b225bb: Pull complete [2023-02-06T15:22:50.241Z] f23df028b6ca: Pull complete [2023-02-06T15:22:51.197Z] d65c8cfc05b1: Pull complete [2023-02-06T15:23:06.185Z] 2437ff75d9bd: Pull complete [2023-02-06T15:23:06.185Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-06T15:23:06.185Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-06T15:23:06.185Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T15:23:06.378Z] prd-ubuntu20.04-docker-arm64-4c-16g-4676 does not seem to be running inside a container [2023-02-06T15:23:06.439Z] $ 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-02-06T15:23:08.994Z] $ docker top 65fc3ccec856998df5f8371591d6b449bf2f883e792f9a0c3f9a3606c48bf6b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-06T15:23:09.819Z] ---> job-cost.sh [2023-02-06T15:23:09.819Z] lf-activate-venv: SKIPPING [2023-02-06T15:23:09.819Z] INFO: No Stack... [2023-02-06T15:23:10.399Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-06T15:23:11.356Z] INFO: Archiving Costs [Pipeline] sh [2023-02-06T15:23:11.993Z] + cut -d, -f6 [2023-02-06T15:23:11.994Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [Pipeline] lock [2023-02-06T15:23:12.058Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1297-6-stack-cost] [2023-02-06T15:23:12.065Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-6-stack-cost] did not exist. Created. [2023-02-06T15:23:12.065Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1297-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-06T15:23:12.412Z] /w/workspace/device-sdk-go/6@tmp/durable-c69f77ab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-06T15:23:12.749Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-06T15:23:12.777Z] Warning: overwriting stash ‘stack-cost’ [2023-02-06T15:23:12.841Z] Stashed 1 file(s) [Pipeline] } [2023-02-06T15:23:12.851Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-06T15:23:12.869Z] $ docker stop --time=1 65fc3ccec856998df5f8371591d6b449bf2f883e792f9a0c3f9a3606c48bf6b0 [2023-02-06T15:23:15.919Z] $ docker rm -f --volumes 65fc3ccec856998df5f8371591d6b449bf2f883e792f9a0c3f9a3606c48bf6b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-06T15:23:16.303Z] provisioning config files... [2023-02-06T15:23:16.311Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config17976282031812688907tmp [Pipeline] { [Pipeline] sh [2023-02-06T15:23:16.601Z] + set +x [2023-02-06T15:23:16.602Z] + curl -s https://codecov.io/bash+ [2023-02-06T15:23:16.602Z] bash -s -- [2023-02-06T15:23:16.602Z] [2023-02-06T15:23:16.602Z] _____ _ [2023-02-06T15:23:16.602Z] / ____| | | [2023-02-06T15:23:16.602Z] | | ___ __| | ___ ___ _____ __ [2023-02-06T15:23:16.602Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-06T15:23:16.602Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-06T15:23:16.602Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-06T15:23:16.602Z] Bash-1.0.6 [2023-02-06T15:23:16.602Z] [2023-02-06T15:23:16.602Z] [2023-02-06T15:23:16.602Z] ==> git version 2.25.1 found [2023-02-06T15:23:16.602Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-06T15:23:16.602Z] Release-Date: 2020-01-08 [2023-02-06T15:23:16.602Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-06T15:23:16.602Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-06T15:23:16.602Z] ==> Jenkins CI detected. [2023-02-06T15:23:16.602Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1297 [2023-02-06T15:23:16.602Z] project root: . [2023-02-06T15:23:16.602Z] --> token set from env [2023-02-06T15:23:16.602Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-06T15:23:16.602Z] ==> Running gcov in . (disable via -X gcov) [2023-02-06T15:23:16.602Z] ==> Python coveragepy not found [2023-02-06T15:23:16.602Z] ==> Searching for coverage reports in: [2023-02-06T15:23:16.602Z] + . [2023-02-06T15:23:16.861Z] -> Found 1 reports [2023-02-06T15:23:16.861Z] ==> Detecting git/mercurial file structure [2023-02-06T15:23:16.861Z] ==> Reading reports [2023-02-06T15:23:16.861Z] + ./coverage.out bytes=100848 [2023-02-06T15:23:16.861Z] ==> Appending adjustments [2023-02-06T15:23:16.861Z] https://docs.codecov.io/docs/fixing-reports [2023-02-06T15:23:17.121Z] + Found adjustments [2023-02-06T15:23:17.121Z] ==> Gzipping contents [2023-02-06T15:23:17.121Z] 16K /tmp/codecov.d19wQr.gz [2023-02-06T15:23:17.121Z] ==> Uploading reports [2023-02-06T15:23:17.121Z] url: https://codecov.io [2023-02-06T15:23:17.121Z] query: branch=PR-1297&commit=2697fcfb8df50bb061f2983be883727f1434b823&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1297%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1297&job=&cmd_args= [2023-02-06T15:23:17.121Z] -> Pinging Codecov [2023-02-06T15:23:17.121Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1297&commit=2697fcfb8df50bb061f2983be883727f1434b823&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1297%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1297&job=&cmd_args= [2023-02-06T15:23:18.062Z] -> Uploading to [2023-02-06T15:23:18.062Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-06/7E55EF52A471D76F132DFD9A03CDDE97/2697fcfb8df50bb061f2983be883727f1434b823/268e2010-cf3b-4a91-b1eb-cba04ec102d6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230206T152317Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=da082a19f5566755f43bdb12f5c552d900692932858b8d4bb0d4aa57bfc3ed69 [2023-02-06T15:23:18.062Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-06T15:23:18.062Z] Dload Upload Total Spent Left Speed [2023-02-06T15:23:18.580Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14602 0 0 100 14602 0 39252 --:--:-- --:--:-- --:--:-- 39147 [2023-02-06T15:23:18.580Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/2697fcfb8df50bb061f2983be883727f1434b823 [Pipeline] } [2023-02-06T15:23:18.588Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-06T15:23:19.340Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives ] [2023-02-06T15:23:19.340Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives [2023-02-06T15:23:19.340Z] total 16 [2023-02-06T15:23:19.340Z] drwxr-xr-x 3 root root 4096 Feb 6 15:14 . [2023-02-06T15:23:19.340Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 6 15:14 .. [2023-02-06T15:23:19.340Z] drwxr-xr-x 2 root root 4096 Feb 6 15:14 cost [2023-02-06T15:23:19.340Z] -rw-r--r-- 1 root root 86 Feb 6 15:14 cost.csv [2023-02-06T15:23:19.340Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives [2023-02-06T15:23:19.340Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives [2023-02-06T15:23:19.340Z] total 16 [2023-02-06T15:23:19.340Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 15:14 . [2023-02-06T15:23:19.340Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 6 15:14 .. [2023-02-06T15:23:19.340Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 6 15:14 cost [2023-02-06T15:23:19.340Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 6 15:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-06T15:23:19.634Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T15:23:20.492Z] ---> package-listing.sh [2023-02-06T15:23:20.492Z] ++ facter osfamily [2023-02-06T15:23:20.492Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-06T15:23:20.752Z] + OS_FAMILY=debian [2023-02-06T15:23:20.752Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1297 [2023-02-06T15:23:20.752Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-06T15:23:20.752Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-06T15:23:20.752Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-06T15:23:20.752Z] + PACKAGES=/tmp/packages_start.txt [2023-02-06T15:23:20.752Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1297 ']' [2023-02-06T15:23:20.752Z] + PACKAGES=/tmp/packages_end.txt [2023-02-06T15:23:20.752Z] + case "${OS_FAMILY}" in [2023-02-06T15:23:20.752Z] + dpkg -l [2023-02-06T15:23:20.752Z] + grep '^ii' [2023-02-06T15:23:20.752Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-06T15:23:20.752Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-06T15:23:20.752Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-06T15:23:20.752Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1297 ']' [2023-02-06T15:23:20.752Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives/ [2023-02-06T15:23:20.752Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives/ [Pipeline] echo [2023-02-06T15:23:20.764Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1297/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-06T15:23:21.045Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-06T15:23:21.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-06T15:23:21.606Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-06T15:23:21.677Z] prd-ubuntu20.04-docker-8c-8g-4675 does not seem to be running inside a container [2023-02-06T15:23:21.705Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1297/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-06T15:23:21.882Z] $ docker top ad3327f8a3174c40b8270a06f9c35109c5de011f33d654db8db69edf67144e77 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-06T15:23:22.233Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-06T15:23:22.518Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-06T15:23:22.802Z] + ls /var/log/sa-host [2023-02-06T15:23:22.802Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-06T15:23:22.955Z] provisioning config files... [2023-02-06T15:23:22.964Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config15956708730317948922tmp [Pipeline] { [Pipeline] echo [2023-02-06T15:23:22.976Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T15:23:23.257Z] ---> create-netrc.sh [Pipeline] } [2023-02-06T15:23:23.265Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-06T15:23:23.589Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-06T15:23:23.599Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T15:23:23.891Z] ---> sudo-logs.sh [2023-02-06T15:23:23.891Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-06T15:23:23.926Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T15:23:24.210Z] ---> job-cost.sh [2023-02-06T15:23:24.210Z] lf-activate-venv: SKIPPING [2023-02-06T15:23:24.210Z] DEBUG: total: 0.2199999988079071 [2023-02-06T15:23:24.210Z] INFO: Retrieving Stack Cost... [2023-02-06T15:23:24.776Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-06T15:23:25.033Z] INFO: Archiving Costs [Pipeline] echo [2023-02-06T15:23:25.046Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-06T15:23:25.328Z] ---> logs-deploy.sh [2023-02-06T15:23:25.328Z] lf-activate-venv: SKIPPING [2023-02-06T15:23:25.328Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1297/6 [2023-02-06T15:23:25.328Z] INFO: archiving workspace using pattern(s): [2023-02-06T15:23:26.267Z] Archives upload complete. [2023-02-06T15:23:26.534Z] INFO: archiving logs to Nexus