Pull request #1305 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 92fc0d02d5b1331c9f0d127633bca1b3bee37278+93a0268657819106988a1ad83ac56bb06d25ff7d (2523dbbdaef895211f93aba4dee27e3f500849ac) 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-ssh14371720084781588196.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-ssh14486482206217465419.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-1305/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-1305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3893973976882389379.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-ssh7697555663831474739.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-1305/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-1305/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9876420694277412887.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 ‘prd-ubuntu18.04-docker-8c-8g-4935’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-4937’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-4928’ is offline ‘prd-ubuntu20.04-docker-8c-8g-4931’ is offline ‘prd-ubuntu20.04-docker-8c-8g-4934’ is offline ‘prd-ubuntu20.04-docker-8c-8g-4940’ is offline ‘prd-ubuntu20.04-docker-8c-8g-4943’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-4930’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-4932’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-4936’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4943 in /w/workspace/gexfoundry_device-sdk-go_PR-1305 [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-1305 # 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/1305/head:refs/remotes/origin/PR-1305 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 93a0268657819106988a1ad83ac56bb06d25ff7d into PR head commit 92fc0d02d5b1331c9f0d127633bca1b3bee37278 Merge succeeded, producing 92fc0d02d5b1331c9f0d127633bca1b3bee37278 Checking out Revision 92fc0d02d5b1331c9f0d127633bca1b3bee37278 (PR-1305) > git config core.sparsecheckout # timeout=10 > git checkout -f 92fc0d02d5b1331c9f0d127633bca1b3bee37278 # 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 93a0268657819106988a1ad83ac56bb06d25ff7d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 92fc0d02d5b1331c9f0d127633bca1b3bee37278 # timeout=10 Commit message: "refactor!: Rework Command via MessageBus for new Request API response topic" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-07T16:40:50.519Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-07T16:40:50.562Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-07T16:40:50.580Z] ========================================================= [2023-02-07T16:40:50.580Z] EdgeX Global Pipelines Version Info [2023-02-07T16:40:50.580Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:40:51.324Z] ------------------- [2023-02-07T16:40:51.324Z] stable info: [2023-02-07T16:40:51.324Z] ------------------- [2023-02-07T16:40:51.324Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-07T16:40:51.324Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T16:40:51.324Z] Message: update stable to v1.0.244 > git rev-list --no-walk 1907dd3da4d8424ab8a7d8378e31f6daebaad207 # timeout=10 [2023-02-07T16:40:51.898Z] ------------------- [2023-02-07T16:40:51.898Z] experimental info: [2023-02-07T16:40:51.898Z] ------------------- [2023-02-07T16:40:51.898Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-07T16:40:51.898Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T16:40:51.898Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-07T16:40:52.053Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-07T16:40:52.062Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-07T16:40:52.071Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-07T16:40:52.079Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-07T16:40:52.087Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-07T16:40:52.096Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-07T16:40:52.104Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-07T16:40:52.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-07T16:40:52.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-07T16:40:52.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-07T16:40:52.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-07T16:40:52.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-07T16:40:52.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-07T16:40:52.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-07T16:40:52.177Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-07T16:40:52.188Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T16:40:52.198Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T16:40:52.207Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T16:40:52.215Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-07T16:40:52.224Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-07T16:40:52.232Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-07T16:40:52.241Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-07T16:40:52.249Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-07T16:40:52.258Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-07T16:40:52.266Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-07T16:40:52.275Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-07T16:40:52.283Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-07T16:40:52.296Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1305 [Pipeline] echo [2023-02-07T16:40:52.307Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1305 [Pipeline] echo [2023-02-07T16:40:52.316Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1305 [Pipeline] echo [2023-02-07T16:40:52.324Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 92fc0d02d5b1331c9f0d127633bca1b3bee37278 [Pipeline] echo [2023-02-07T16:40:52.333Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 92fc0d0 [Pipeline] echo [2023-02-07T16:40:52.342Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T16:40:52.375Z] provisioning config files... [2023-02-07T16:40:52.388Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp/config16350289097079794640tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:40:52.687Z] ---> docker-login.sh [2023-02-07T16:40:52.687Z] nexus3.edgexfoundry.org:10001 [2023-02-07T16:40:52.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:40:52.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:40:52.949Z] Configure a credential helper to remove this warning. See [2023-02-07T16:40:52.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:40:52.949Z] [2023-02-07T16:40:52.949Z] Login Succeeded [2023-02-07T16:40:52.949Z] nexus3.edgexfoundry.org:10002 [2023-02-07T16:40:52.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:40:52.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:40:52.949Z] Configure a credential helper to remove this warning. See [2023-02-07T16:40:52.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:40:52.949Z] [2023-02-07T16:40:52.949Z] Login Succeeded [2023-02-07T16:40:52.949Z] nexus3.edgexfoundry.org:10003 [2023-02-07T16:40:53.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:40:53.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:40:53.210Z] Configure a credential helper to remove this warning. See [2023-02-07T16:40:53.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:40:53.210Z] [2023-02-07T16:40:53.210Z] Login Succeeded [2023-02-07T16:40:53.210Z] nexus3.edgexfoundry.org:10004 [2023-02-07T16:40:53.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:40:53.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:40:53.210Z] Configure a credential helper to remove this warning. See [2023-02-07T16:40:53.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:40:53.210Z] [2023-02-07T16:40:53.210Z] Login Succeeded [2023-02-07T16:40:53.210Z] docker.io [2023-02-07T16:40:53.470Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:40:53.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:40:53.470Z] Configure a credential helper to remove this warning. See [2023-02-07T16:40:53.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:40:53.470Z] [2023-02-07T16:40:53.470Z] Login Succeeded [2023-02-07T16:40:53.470Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T16:40:53.478Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-07T16:40:53.846Z] + git rev-list -1 --merges 92fc0d02d5b1331c9f0d127633bca1b3bee37278~1..92fc0d02d5b1331c9f0d127633bca1b3bee37278 [Pipeline] echo [2023-02-07T16:40:53.894Z] -----------> git rev-list -1 --merges 92fc0d02d5b1331c9f0d127633bca1b3bee37278~1..92fc0d02d5b1331c9f0d127633bca1b3bee37278 92fc0d02d5b1331c9f0d127633bca1b3bee37278 [false] [Pipeline] sh [2023-02-07T16:40:54.183Z] + git log --format=format:%s -1 92fc0d02d5b1331c9f0d127633bca1b3bee37278 [Pipeline] echo [2023-02-07T16:40:54.200Z] ========================================================= [2023-02-07T16:40:54.200Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-07T16:40:54.200Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T16:40:54.527Z] + git log --format=format:%s -1 92fc0d02d5b1331c9f0d127633bca1b3bee37278 [Pipeline] echo [2023-02-07T16:40:54.538Z] [semverPrep] GIT_COMMIT: 92fc0d02d5b1331c9f0d127633bca1b3bee37278, Commit Message: refactor!: Rework Command via MessageBus for new Request API response topic [Pipeline] echo [2023-02-07T16:40:54.546Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-07T16:40:54.880Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-07T16:40:54.880Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-07T16:40:54.880Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-07T16:40:54.880Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-07T16:40:54.880Z] + + sudo teeecho -a /etc/ssh/ssh_known_hosts [2023-02-07T16:40:54.880Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-07T16:40:54.880Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:40:55.222Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T16:40:55.222Z] [2023-02-07T16:40:55.222Z] 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-07T16:40:55.531Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T16:40:55.531Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-07T16:40:55.531Z] b85a868b505f: Pulling fs layer [2023-02-07T16:40:55.531Z] e2be974225ed: Pulling fs layer [2023-02-07T16:40:55.531Z] 339a4e72a1f5: Pulling fs layer [2023-02-07T16:40:55.531Z] 988bab9f4d93: Pulling fs layer [2023-02-07T16:40:55.531Z] 1469e6f7b9e6: Pulling fs layer [2023-02-07T16:40:55.531Z] eaf3925da568: Pulling fs layer [2023-02-07T16:40:55.531Z] bab4dde63d76: Pulling fs layer [2023-02-07T16:40:55.531Z] bde34c3a00c8: Pulling fs layer [2023-02-07T16:40:55.531Z] b352a97aabf1: Pulling fs layer [2023-02-07T16:40:55.531Z] 4872d77fe225: Pulling fs layer [2023-02-07T16:40:55.531Z] 5851b861e8e6: Pulling fs layer [2023-02-07T16:40:55.531Z] 988bab9f4d93: Waiting [2023-02-07T16:40:55.531Z] b352a97aabf1: Waiting [2023-02-07T16:40:55.531Z] 1469e6f7b9e6: Waiting [2023-02-07T16:40:55.531Z] 4872d77fe225: Waiting [2023-02-07T16:40:55.531Z] 5851b861e8e6: Waiting [2023-02-07T16:40:55.531Z] eaf3925da568: Waiting [2023-02-07T16:40:55.531Z] bab4dde63d76: Waiting [2023-02-07T16:40:55.531Z] bde34c3a00c8: Waiting [2023-02-07T16:40:55.531Z] e2be974225ed: Download complete [2023-02-07T16:40:55.531Z] 988bab9f4d93: Verifying Checksum [2023-02-07T16:40:55.531Z] 988bab9f4d93: Download complete [2023-02-07T16:40:55.805Z] 1469e6f7b9e6: Verifying Checksum [2023-02-07T16:40:55.805Z] 1469e6f7b9e6: Download complete [2023-02-07T16:40:55.805Z] eaf3925da568: Verifying Checksum [2023-02-07T16:40:55.805Z] eaf3925da568: Download complete [2023-02-07T16:40:55.805Z] 339a4e72a1f5: Verifying Checksum [2023-02-07T16:40:55.805Z] 339a4e72a1f5: Download complete [2023-02-07T16:40:55.805Z] bde34c3a00c8: Verifying Checksum [2023-02-07T16:40:55.805Z] bde34c3a00c8: Download complete [2023-02-07T16:40:56.067Z] b352a97aabf1: Verifying Checksum [2023-02-07T16:40:56.067Z] b352a97aabf1: Download complete [2023-02-07T16:40:56.067Z] 5851b861e8e6: Download complete [2023-02-07T16:40:56.067Z] b85a868b505f: Download complete [2023-02-07T16:40:56.650Z] bab4dde63d76: Verifying Checksum [2023-02-07T16:40:56.650Z] bab4dde63d76: Download complete [2023-02-07T16:40:57.219Z] b85a868b505f: Pull complete [2023-02-07T16:40:57.790Z] e2be974225ed: Pull complete [2023-02-07T16:40:58.049Z] 339a4e72a1f5: Pull complete [2023-02-07T16:40:58.049Z] 988bab9f4d93: Pull complete [2023-02-07T16:40:58.310Z] 1469e6f7b9e6: Pull complete [2023-02-07T16:40:58.310Z] eaf3925da568: Pull complete [2023-02-07T16:41:00.215Z] bab4dde63d76: Pull complete [2023-02-07T16:41:00.215Z] bde34c3a00c8: Pull complete [2023-02-07T16:41:00.215Z] b352a97aabf1: Pull complete [2023-02-07T16:41:00.215Z] 4872d77fe225: Pull complete [2023-02-07T16:41:00.215Z] 5851b861e8e6: Pull complete [2023-02-07T16:41:00.215Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-07T16:41:00.215Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T16:41:00.215Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T16:41:00.308Z] prd-ubuntu20.04-docker-8c-8g-4943 does not seem to be running inside a container [2023-02-07T16:41:00.331Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1305 -v /w/workspace/gexfoundry_device-sdk-go_PR-1305:/w/workspace/gexfoundry_device-sdk-go_PR-1305:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1305@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-devops/py-git-semver:0.1.4 cat [2023-02-07T16:41:01.571Z] $ docker top 97ef261b2214dfaca30be661ec2072fcfb4aadc9890eb635b54454689957c16d -eo pid,comm [2023-02-07T16:41:01.672Z] 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-07T16:41:01.672Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-07T16:41:01.705Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T16:41:01.705Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T16:41:01.812Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T16:41:01.799Z] $ docker exec 97ef261b2214dfaca30be661ec2072fcfb4aadc9890eb635b54454689957c16d ssh-agent [2023-02-07T16:41:01.925Z] SSH_AUTH_SOCK=/tmp/ssh-HM9wr9e1dAdT/agent.32 [2023-02-07T16:41:01.925Z] SSH_AGENT_PID=38 [2023-02-07T16:41:01.931Z] Running ssh-add (command line suppressed) [2023-02-07T16:41:02.022Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp/private_key_10976785358835120064.key (/w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp/private_key_10976785358835120064.key) [2023-02-07T16:41:02.051Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T16:41:02.338Z] + git tag --points-at HEAD [Pipeline] } [2023-02-07T16:41:02.334Z] $ docker exec --env ******** --env ******** 97ef261b2214dfaca30be661ec2072fcfb4aadc9890eb635b54454689957c16d ssh-agent -k [2023-02-07T16:41:02.421Z] unset SSH_AUTH_SOCK; [2023-02-07T16:41:02.422Z] unset SSH_AGENT_PID; [2023-02-07T16:41:02.422Z] echo Agent pid 38 killed; [2023-02-07T16:41:02.447Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-07T16:41:02.473Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T16:41:02.473Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T16:41:02.581Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T16:41:02.569Z] $ docker exec 97ef261b2214dfaca30be661ec2072fcfb4aadc9890eb635b54454689957c16d ssh-agent [2023-02-07T16:41:02.698Z] SSH_AUTH_SOCK=/tmp/ssh-bkLL00ynKcOx/agent.70 [2023-02-07T16:41:02.698Z] SSH_AGENT_PID=77 [2023-02-07T16:41:02.703Z] Running ssh-add (command line suppressed) [2023-02-07T16:41:02.801Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp/private_key_16061742535400340908.key (/w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp/private_key_16061742535400340908.key) [2023-02-07T16:41:02.829Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T16:41:03.113Z] + git semver init [2023-02-07T16:41:03.373Z] 2023-02-07 16:41:03,285 [run_init] DEBUG init version:0.0.0 force:False [2023-02-07T16:41:03.373Z] 2023-02-07 16:41:03,286 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1305/.semver [2023-02-07T16:41:03.373Z] 2023-02-07 16:41:03,287 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1305/.semver [2023-02-07T16:41:03.373Z] 2023-02-07 16:41:03,287 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1305/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1305, universal_newlines=False, shell=None, istream=None) [2023-02-07T16:41:04.319Z] 2023-02-07 16:41:04,288 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1305/.git/info/exclude [2023-02-07T16:41:04.319Z] 2023-02-07 16:41:04,288 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1305/.semver/PR-1305 with force:False [2023-02-07T16:41:04.319Z] 2023-02-07 16:41:04,288 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1305/.semver/PR-1305 [2023-02-07T16:41:04.319Z] 2023-02-07 16:41:04,292 [execute] INFO git cat-file --batch-check [2023-02-07T16:41:04.319Z] 2023-02-07 16:41:04,293 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1305/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T16:41:04.319Z] 2023-02-07 16:41:04,299 [execute] INFO git cat-file --batch [2023-02-07T16:41:04.319Z] 2023-02-07 16:41:04,300 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1305/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T16:41:04.319Z] 2023-02-07 16:41:04,304 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1305/.semver/PR-1305 [2023-02-07T16:41:04.319Z] 0.0.0 [Pipeline] } [2023-02-07T16:41:04.579Z] $ docker exec --env ******** --env ******** 97ef261b2214dfaca30be661ec2072fcfb4aadc9890eb635b54454689957c16d ssh-agent -k [2023-02-07T16:41:04.692Z] unset SSH_AUTH_SOCK; [2023-02-07T16:41:04.693Z] unset SSH_AGENT_PID; [2023-02-07T16:41:04.693Z] echo Agent pid 77 killed; [2023-02-07T16:41:04.714Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-07T16:41:05.015Z] + git semver [Pipeline] } [2023-02-07T16:41:05.272Z] $ docker stop --time=1 97ef261b2214dfaca30be661ec2072fcfb4aadc9890eb635b54454689957c16d [2023-02-07T16:41:06.598Z] $ docker rm -f --volumes 97ef261b2214dfaca30be661ec2072fcfb4aadc9890eb635b54454689957c16d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T16:41:06.949Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-07T16:41:07.138Z] Stashed 1 file(s) [Pipeline] echo [2023-02-07T16:41:07.142Z] [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-07T16:41:07.282Z] provisioning config files... [2023-02-07T16:41:07.290Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp/config7981116889050947408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:41:07.581Z] ---> docker-login.sh [2023-02-07T16:41:07.581Z] nexus3.edgexfoundry.org:10001 [2023-02-07T16:41:07.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:41:07.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:41:07.581Z] Configure a credential helper to remove this warning. See [2023-02-07T16:41:07.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:41:07.581Z] [2023-02-07T16:41:07.581Z] Login Succeeded [2023-02-07T16:41:07.581Z] nexus3.edgexfoundry.org:10002 [2023-02-07T16:41:07.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:41:07.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:41:07.841Z] Configure a credential helper to remove this warning. See [2023-02-07T16:41:07.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:41:07.841Z] [2023-02-07T16:41:07.841Z] Login Succeeded [2023-02-07T16:41:07.841Z] nexus3.edgexfoundry.org:10003 [2023-02-07T16:41:07.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:41:07.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:41:07.841Z] Configure a credential helper to remove this warning. See [2023-02-07T16:41:07.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:41:07.841Z] [2023-02-07T16:41:07.841Z] Login Succeeded [2023-02-07T16:41:07.841Z] nexus3.edgexfoundry.org:10004 [2023-02-07T16:41:07.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:41:08.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:41:08.099Z] Configure a credential helper to remove this warning. See [2023-02-07T16:41:08.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:41:08.099Z] [2023-02-07T16:41:08.099Z] Login Succeeded [2023-02-07T16:41:08.099Z] docker.io [2023-02-07T16:41:08.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:41:08.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:41:08.357Z] Configure a credential helper to remove this warning. See [2023-02-07T16:41:08.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:41:08.357Z] [2023-02-07T16:41:08.357Z] Login Succeeded [2023-02-07T16:41:08.357Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T16:41:08.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T16:41:08.417Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T16:41:08.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T16:41:08.433Z] ========================================================= [2023-02-07T16:41:08.433Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-07T16:41:08.433Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:41:08.733Z] + 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-07T16:41:08.733Z] Sending build context to Docker daemon 10.55MB [2023-02-07T16:41:08.733Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T16:41:08.733Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-07T16:41:08.733Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-07T16:41:08.733Z] 213ec9aee27d: Pulling fs layer [2023-02-07T16:41:08.733Z] 4583459ba037: Pulling fs layer [2023-02-07T16:41:08.733Z] 93c1e223e6f2: Pulling fs layer [2023-02-07T16:41:08.733Z] 53926ce57604: Pulling fs layer [2023-02-07T16:41:08.733Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-07T16:41:08.733Z] 22ff95d597cd: Pulling fs layer [2023-02-07T16:41:08.733Z] 12d6caf4c0d1: Pulling fs layer [2023-02-07T16:41:08.733Z] 96b7cbca73a9: Pulling fs layer [2023-02-07T16:41:08.733Z] a7acece74701: Pulling fs layer [2023-02-07T16:41:08.734Z] 21b2b0c7a3f4: Waiting [2023-02-07T16:41:08.734Z] 53926ce57604: Waiting [2023-02-07T16:41:08.734Z] 22ff95d597cd: Waiting [2023-02-07T16:41:08.734Z] a7acece74701: Waiting [2023-02-07T16:41:08.734Z] 12d6caf4c0d1: Waiting [2023-02-07T16:41:08.734Z] 96b7cbca73a9: Waiting [2023-02-07T16:41:08.734Z] 93c1e223e6f2: Verifying Checksum [2023-02-07T16:41:08.734Z] 93c1e223e6f2: Download complete [2023-02-07T16:41:08.996Z] 4583459ba037: Download complete [2023-02-07T16:41:08.996Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-07T16:41:08.996Z] 21b2b0c7a3f4: Download complete [2023-02-07T16:41:08.996Z] 22ff95d597cd: Download complete [2023-02-07T16:41:08.996Z] 213ec9aee27d: Verifying Checksum [2023-02-07T16:41:08.996Z] 213ec9aee27d: Download complete [2023-02-07T16:41:08.996Z] 12d6caf4c0d1: Verifying Checksum [2023-02-07T16:41:08.996Z] 12d6caf4c0d1: Download complete [2023-02-07T16:41:08.996Z] 213ec9aee27d: Pull complete [2023-02-07T16:41:09.270Z] 4583459ba037: Pull complete [2023-02-07T16:41:09.270Z] 93c1e223e6f2: Pull complete [2023-02-07T16:41:10.826Z] a7acece74701: Verifying Checksum [2023-02-07T16:41:10.826Z] a7acece74701: Download complete [2023-02-07T16:41:10.826Z] 53926ce57604: Verifying Checksum [2023-02-07T16:41:10.826Z] 53926ce57604: Download complete [2023-02-07T16:41:10.826Z] 96b7cbca73a9: Verifying Checksum [2023-02-07T16:41:10.826Z] 96b7cbca73a9: Download complete [2023-02-07T16:41:14.105Z] 53926ce57604: Pull complete [2023-02-07T16:41:14.105Z] 21b2b0c7a3f4: Pull complete [2023-02-07T16:41:14.105Z] 22ff95d597cd: Pull complete [2023-02-07T16:41:14.363Z] 12d6caf4c0d1: Pull complete [2023-02-07T16:41:16.262Z] 96b7cbca73a9: Pull complete [2023-02-07T16:41:16.826Z] a7acece74701: Pull complete [2023-02-07T16:41:16.826Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-07T16:41:16.826Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-07T16:41:16.826Z] ---> db6d94c90886 [2023-02-07T16:41:16.826Z] Step 3/10 : ARG MAKE=make build [2023-02-07T16:41:20.115Z] ---> Running in d978988ea1c3 [2023-02-07T16:41:20.115Z] Removing intermediate container d978988ea1c3 [2023-02-07T16:41:20.115Z] ---> b65f3848d9f6 [2023-02-07T16:41:20.115Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-07T16:41:20.115Z] ---> Running in a95bf19d4a71 [2023-02-07T16:41:20.115Z] Removing intermediate container a95bf19d4a71 [2023-02-07T16:41:20.115Z] ---> 27a3451f2045 [2023-02-07T16:41:20.115Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-07T16:41:20.115Z] ---> Running in 2ce00c757616 [2023-02-07T16:41:20.374Z] Removing intermediate container 2ce00c757616 [2023-02-07T16:41:20.374Z] ---> 2ca4d95f354c [2023-02-07T16:41:20.374Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-07T16:41:20.374Z] ---> Running in 04f8a6c55eea [2023-02-07T16:41:20.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T16:41:20.893Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T16:41:21.151Z] OK: 211 MiB in 51 packages [2023-02-07T16:41:21.412Z] Removing intermediate container 04f8a6c55eea [2023-02-07T16:41:21.412Z] ---> 2bebdf9f637e [2023-02-07T16:41:21.412Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-07T16:41:21.412Z] ---> e31d055567c1 [2023-02-07T16:41:21.412Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T16:41:21.412Z] ---> Running in 0fee6a9ae05e [2023-02-07T16:41:22.249Z] Still waiting to schedule task [2023-02-07T16:41:22.250Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4944’ is offline [2023-02-07T16:41:47.988Z] Removing intermediate container 0fee6a9ae05e [2023-02-07T16:41:47.988Z] ---> 41a2ea545300 [2023-02-07T16:41:47.988Z] Step 9/10 : COPY . . [2023-02-07T16:41:47.988Z] ---> 4ee591a15765 [2023-02-07T16:41:47.988Z] Step 10/10 : RUN ${MAKE} [2023-02-07T16:41:47.988Z] ---> Running in e50557511e45 [2023-02-07T16:41:47.988Z] noop [2023-02-07T16:41:47.988Z] Removing intermediate container e50557511e45 [2023-02-07T16:41:47.988Z] ---> e097d888ec52 [2023-02-07T16:41:47.988Z] Successfully built e097d888ec52 [2023-02-07T16:41:47.988Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:41:48.296Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-07T16:41:48.296Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T16:41:48.363Z] prd-ubuntu20.04-docker-8c-8g-4943 does not seem to be running inside a container [2023-02-07T16:41:48.406Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1305 -v /w/workspace/gexfoundry_device-sdk-go_PR-1305:/w/workspace/gexfoundry_device-sdk-go_PR-1305:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1305@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 ******** -e ******** ci-base-image-x86_64 cat [2023-02-07T16:41:48.758Z] $ docker top 4785844c16dc61e250dc0e1296c7c2c00353f4c600101c6aa193db79537ddb64 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T16:41:49.108Z] + go version [2023-02-07T16:41:49.108Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-07T16:41:49.122Z] $ docker stop --time=1 4785844c16dc61e250dc0e1296c7c2c00353f4c600101c6aa193db79537ddb64 [2023-02-07T16:41:50.406Z] $ docker rm -f --volumes 4785844c16dc61e250dc0e1296c7c2c00353f4c600101c6aa193db79537ddb64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:41:50.805Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-07T16:41:50.805Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T16:41:50.881Z] prd-ubuntu20.04-docker-8c-8g-4943 does not seem to be running inside a container [2023-02-07T16:41:50.915Z] $ 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-1305 -v /w/workspace/gexfoundry_device-sdk-go_PR-1305:/w/workspace/gexfoundry_device-sdk-go_PR-1305:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1305@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 ******** -e ******** ci-base-image-x86_64 cat [2023-02-07T16:41:51.242Z] $ docker top 3421b22c3a5f1e453a3321bc8f402927dc129358bf8ccc44288e598d79acbc14 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T16:41:51.578Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1305 [Pipeline] fileExists [Pipeline] sh [2023-02-07T16:41:51.883Z] + make test [2023-02-07T16:41:51.883Z] go test -race -coverprofile=coverage.out ./... [2023-02-07T16:41:58.449Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-07T16:42:10.642Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-07T16:42:10.642Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-07T16:42:10.642Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-07T16:42:10.642Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-07T16:42:10.642Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-07T16:42:10.901Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.070s coverage: 27.6% of statements [2023-02-07T16:42:10.901Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.056s coverage: 78.9% of statements [2023-02-07T16:42:10.901Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-07T16:42:10.901Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.109s coverage: 77.8% of statements [2023-02-07T16:42:10.901Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-07T16:42:10.901Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-07T16:42:11.553Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.116s coverage: 59.8% of statements [2023-02-07T16:42:11.553Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-07T16:42:11.553Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-07T16:42:11.553Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-07T16:42:11.553Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.095s coverage: 65.2% of statements [2023-02-07T16:42:11.553Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-07T16:42:11.553Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-07T16:42:11.553Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.742s coverage: 89.2% of statements [2023-02-07T16:42:11.553Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-07T16:42:11.553Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.7% of statements [2023-02-07T16:42:11.553Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-07T16:42:26.429Z] 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-07T16:42:26.429Z] GO111MODULE=on go vet ./... [2023-02-07T16:42:29.706Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-07T16:42:29.706Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-07T16:42:29.706Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-07T16:42:29.720Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-07T16:42:29.738Z] $ docker stop --time=1 3421b22c3a5f1e453a3321bc8f402927dc129358bf8ccc44288e598d79acbc14 [2023-02-07T16:42:32.426Z] $ docker rm -f --volumes 3421b22c3a5f1e453a3321bc8f402927dc129358bf8ccc44288e598d79acbc14 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T16:42:32.899Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-07T16:42:32.967Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-07T16:42:33.474Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T16:42:33.767Z] + ls -al . [2023-02-07T16:42:33.767Z] total 272 [2023-02-07T16:42:33.767Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 7 16:41 . [2023-02-07T16:42:33.767Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 16:40 .. [2023-02-07T16:42:33.767Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 7 16:40 .dockerignore [2023-02-07T16:42:33.767Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 16:42 .git [2023-02-07T16:42:33.767Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 16:40 .github [2023-02-07T16:42:33.767Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 7 16:40 .gitignore [2023-02-07T16:42:33.767Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 7 16:40 .golangci.yml [2023-02-07T16:42:33.767Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 16:41 .semver [2023-02-07T16:42:33.767Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 7 16:40 CHANGELOG.md [2023-02-07T16:42:33.767Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 16:40 GOVERNANCE.md [2023-02-07T16:42:33.767Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 7 16:40 Jenkinsfile [2023-02-07T16:42:33.767Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 7 16:40 LICENSE [2023-02-07T16:42:33.767Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 7 16:40 Makefile [2023-02-07T16:42:33.767Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 7 16:40 OWNERS.md [2023-02-07T16:42:33.767Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 7 16:40 README.md [2023-02-07T16:42:33.767Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 16:41 VERSION [2023-02-07T16:42:33.767Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 16:40 bin [2023-02-07T16:42:33.767Z] -rw-r--r-- 1 jenkins jenkins 100848 Feb 7 16:42 coverage.out [2023-02-07T16:42:33.767Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 7 16:40 example [2023-02-07T16:42:33.767Z] -rw-rw-r-- 1 jenkins jenkins 3264 Feb 7 16:40 go.mod [2023-02-07T16:42:33.767Z] -rw-rw-r-- 1 jenkins jenkins 32817 Feb 7 16:40 go.sum [2023-02-07T16:42:33.767Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 7 16:40 internal [2023-02-07T16:42:33.767Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 16:40 openapi [2023-02-07T16:42:33.767Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 7 16:40 pkg [2023-02-07T16:42:33.767Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 16:40 snap [2023-02-07T16:42:33.767Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 7 16:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:42:34.073Z] + 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=92fc0d02d5b1331c9f0d127633bca1b3bee37278 --label arch=amd64 --label version=0.0.0 . [2023-02-07T16:42:34.073Z] Sending build context to Docker daemon 10.65MB [2023-02-07T16:42:34.073Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T16:42:34.073Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-07T16:42:34.073Z] ---> e097d888ec52 [2023-02-07T16:42:34.073Z] Step 3/23 : ARG MAKE=make build [2023-02-07T16:42:34.073Z] ---> Running in a0eeed35ae8a [2023-02-07T16:42:34.332Z] Removing intermediate container a0eeed35ae8a [2023-02-07T16:42:34.332Z] ---> 74a1bf8913ed [2023-02-07T16:42:34.332Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-07T16:42:34.332Z] ---> Running in c3cd230f7914 [2023-02-07T16:42:34.332Z] Removing intermediate container c3cd230f7914 [2023-02-07T16:42:34.332Z] ---> 563b532f9d60 [2023-02-07T16:42:34.332Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-07T16:42:34.332Z] ---> Running in c167b2940624 [2023-02-07T16:42:34.332Z] Removing intermediate container c167b2940624 [2023-02-07T16:42:34.332Z] ---> 31aca7d3ad98 [2023-02-07T16:42:34.332Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-07T16:42:34.332Z] ---> Running in aa58a0e3bc37 [2023-02-07T16:42:34.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T16:42:34.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T16:42:35.110Z] OK: 211 MiB in 51 packages [2023-02-07T16:42:35.368Z] Removing intermediate container aa58a0e3bc37 [2023-02-07T16:42:35.368Z] ---> 05fa4704fc4c [2023-02-07T16:42:35.368Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-07T16:42:35.625Z] ---> 17ee1009b628 [2023-02-07T16:42:35.625Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T16:42:35.625Z] ---> Running in 02cdf40ca778 [2023-02-07T16:42:36.561Z] Removing intermediate container 02cdf40ca778 [2023-02-07T16:42:36.561Z] ---> 20c3f32cdde6 [2023-02-07T16:42:36.561Z] Step 9/23 : COPY . . [2023-02-07T16:42:36.820Z] ---> 2ac69631ffb3 [2023-02-07T16:42:36.820Z] Step 10/23 : RUN ${MAKE} [2023-02-07T16:42:36.820Z] ---> Running in 0beb06c69606 [2023-02-07T16:42:37.078Z] 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-07T16:42:58.990Z] Removing intermediate container 0beb06c69606 [2023-02-07T16:42:58.990Z] ---> 89eff52cc50d [2023-02-07T16:42:58.990Z] Step 11/23 : FROM alpine:3.16 [2023-02-07T16:42:58.990Z] 3.16: Pulling from library/alpine [2023-02-07T16:42:58.990Z] ca7dd9ec2225: Pulling fs layer [2023-02-07T16:42:58.990Z] ca7dd9ec2225: Verifying Checksum [2023-02-07T16:42:58.990Z] ca7dd9ec2225: Download complete [2023-02-07T16:42:58.990Z] ca7dd9ec2225: Pull complete [2023-02-07T16:42:58.990Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-07T16:42:58.990Z] Status: Downloaded newer image for alpine:3.16 [2023-02-07T16:42:58.990Z] ---> bfe296a52501 [2023-02-07T16:42:58.990Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-07T16:42:58.990Z] ---> Running in 260fbc32a1ad [2023-02-07T16:42:58.990Z] Removing intermediate container 260fbc32a1ad [2023-02-07T16:42:58.990Z] ---> 3a42f39827b8 [2023-02-07T16:42:58.990Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-07T16:42:58.990Z] ---> Running in cba68eb36ed4 [2023-02-07T16:42:58.990Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T16:42:58.990Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T16:42:58.990Z] OK: 6 MiB in 14 packages [2023-02-07T16:42:58.990Z] Removing intermediate container cba68eb36ed4 [2023-02-07T16:42:58.990Z] ---> 559d7a8886ac [2023-02-07T16:42:58.990Z] Step 14/23 : WORKDIR / [2023-02-07T16:42:58.990Z] ---> Running in 349855a80748 [2023-02-07T16:42:58.990Z] Removing intermediate container 349855a80748 [2023-02-07T16:42:58.990Z] ---> 0e4cf92d21a4 [2023-02-07T16:42:58.990Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-07T16:42:58.990Z] ---> cfef980d0785 [2023-02-07T16:42:58.990Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-07T16:42:58.990Z] ---> f48b69c28a72 [2023-02-07T16:42:58.990Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-07T16:42:58.990Z] ---> 02339682f0b6 [2023-02-07T16:42:58.990Z] Step 18/23 : EXPOSE 59999 [2023-02-07T16:42:58.990Z] ---> Running in bd0dd7c7aea2 [2023-02-07T16:42:58.990Z] Removing intermediate container bd0dd7c7aea2 [2023-02-07T16:42:58.990Z] ---> 1aa46bd91174 [2023-02-07T16:42:58.990Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-07T16:42:58.990Z] ---> Running in 187a88feec2a [2023-02-07T16:42:58.990Z] Removing intermediate container 187a88feec2a [2023-02-07T16:42:58.990Z] ---> a23650bb6db2 [2023-02-07T16:42:58.990Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-07T16:42:59.252Z] ---> Running in 7b4cd4998827 [2023-02-07T16:42:59.252Z] Removing intermediate container 7b4cd4998827 [2023-02-07T16:42:59.252Z] ---> cc50b2db5113 [2023-02-07T16:42:59.252Z] Step 21/23 : LABEL arch=amd64 [2023-02-07T16:42:59.252Z] ---> Running in 62540fee23a2 [2023-02-07T16:42:59.252Z] Removing intermediate container 62540fee23a2 [2023-02-07T16:42:59.252Z] ---> ecf41a3155ab [2023-02-07T16:42:59.252Z] Step 22/23 : LABEL git_sha=92fc0d02d5b1331c9f0d127633bca1b3bee37278 [2023-02-07T16:42:59.252Z] ---> Running in 5b4f7b0ef4d1 [2023-02-07T16:42:59.252Z] Removing intermediate container 5b4f7b0ef4d1 [2023-02-07T16:42:59.252Z] ---> fba8ac81865b [2023-02-07T16:42:59.252Z] Step 23/23 : LABEL version=0.0.0 [2023-02-07T16:42:59.510Z] ---> Running in a154166082d1 [2023-02-07T16:42:59.510Z] Removing intermediate container a154166082d1 [2023-02-07T16:42:59.510Z] ---> cc5b4570416b [2023-02-07T16:42:59.510Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-07T16:42:59.510Z] Successfully built cc5b4570416b [2023-02-07T16:42:59.510Z] 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-07T16:42:59.940Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T16:42:59.940Z] [2023-02-07T16:42:59.940Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:43:00.243Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T16:43:00.243Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-07T16:43:00.243Z] 5eb5b503b376: Pulling fs layer [2023-02-07T16:43:00.243Z] 5c69ac0246d0: Pulling fs layer [2023-02-07T16:43:00.243Z] ec43610c2a17: Pulling fs layer [2023-02-07T16:43:00.243Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-07T16:43:00.243Z] 33b1e0a273af: Pulling fs layer [2023-02-07T16:43:00.243Z] 5d3b04190fa2: Pulling fs layer [2023-02-07T16:43:00.243Z] 2f39f015ded8: Pulling fs layer [2023-02-07T16:43:00.243Z] 5d3b04190fa2: Waiting [2023-02-07T16:43:00.243Z] 2f39f015ded8: Waiting [2023-02-07T16:43:00.243Z] 3a2ae6a8a46f: Waiting [2023-02-07T16:43:00.243Z] 33b1e0a273af: Waiting [2023-02-07T16:43:00.243Z] 5c69ac0246d0: Verifying Checksum [2023-02-07T16:43:00.243Z] 5c69ac0246d0: Download complete [2023-02-07T16:43:00.243Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-07T16:43:00.243Z] 3a2ae6a8a46f: Download complete [2023-02-07T16:43:00.507Z] 33b1e0a273af: Verifying Checksum [2023-02-07T16:43:00.507Z] 33b1e0a273af: Download complete [2023-02-07T16:43:00.507Z] 5d3b04190fa2: Download complete [2023-02-07T16:43:00.507Z] ec43610c2a17: Verifying Checksum [2023-02-07T16:43:00.507Z] ec43610c2a17: Download complete [2023-02-07T16:43:00.770Z] 5eb5b503b376: Download complete [2023-02-07T16:43:01.338Z] 2f39f015ded8: Download complete [2023-02-07T16:43:01.912Z] 5eb5b503b376: Pull complete [2023-02-07T16:43:02.171Z] 5c69ac0246d0: Pull complete [2023-02-07T16:43:02.740Z] ec43610c2a17: Pull complete [2023-02-07T16:43:02.740Z] 3a2ae6a8a46f: Pull complete [2023-02-07T16:43:02.740Z] 33b1e0a273af: Pull complete [2023-02-07T16:43:03.002Z] 5d3b04190fa2: Pull complete [2023-02-07T16:43:07.186Z] 2f39f015ded8: Pull complete [2023-02-07T16:43:07.186Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-07T16:43:07.186Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T16:43:07.186Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T16:43:07.277Z] prd-ubuntu20.04-docker-8c-8g-4943 does not seem to be running inside a container [2023-02-07T16:43:07.320Z] $ 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-1305 -v /w/workspace/gexfoundry_device-sdk-go_PR-1305:/w/workspace/gexfoundry_device-sdk-go_PR-1305:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1305@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-07T16:43:09.640Z] $ docker top 3227cfd9ef2d736578ef7602671691c28b39b11ca418d492ad12c161c7a25ca4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:43:10.017Z] ---> job-cost.sh [2023-02-07T16:43:10.017Z] lf-activate-venv: SKIPPING [2023-02-07T16:43:10.017Z] INFO: No Stack... [2023-02-07T16:43:11.920Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T16:43:12.179Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T16:43:12.471Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1305/archives/cost.csv [2023-02-07T16:43:12.471Z] + cut -d, -f6 [Pipeline] lock [2023-02-07T16:43:12.486Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1305-4-stack-cost] [2023-02-07T16:43:12.492Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1305-4-stack-cost] did not exist. Created. [2023-02-07T16:43:12.492Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1305-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T16:43:12.794Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-07T16:43:12.828Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T16:43:12.834Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1305-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T16:43:12.859Z] $ docker stop --time=1 3227cfd9ef2d736578ef7602671691c28b39b11ca418d492ad12c161c7a25ca4 [2023-02-07T16:43:14.031Z] $ docker rm -f --volumes 3227cfd9ef2d736578ef7602671691c28b39b11ca418d492ad12c161c7a25ca4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-07T16:43:48.318Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4948 in /w/workspace/gexfoundry_device-sdk-go_PR-1305 [Pipeline] { [Pipeline] ws [2023-02-07T16:43:48.331Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2023-02-07T16:43:48.371Z] The recommended git tool is: git [2023-02-07T16:43:54.574Z] using credential edgex-jenkins-ssh [2023-02-07T16:43:54.597Z] Cloning the remote Git repository [2023-02-07T16:43:54.651Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-07T16:43:54.741Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2023-02-07T16:43:54.913Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-07T16:43:54.914Z] > git --version # timeout=10 [2023-02-07T16:43:54.938Z] > git --version # 'git version 2.25.1' [2023-02-07T16:43:54.940Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T16:43:55.028Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T16:43:56.848Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-07T16:43:56.872Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T16:43:57.837Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-07T16:43:57.882Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-07T16:43:57.883Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T16:43:57.906Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1305/head:refs/remotes/origin/PR-1305 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-07T16:43:58.649Z] Merging remotes/origin/main commit 93a0268657819106988a1ad83ac56bb06d25ff7d into PR head commit 92fc0d02d5b1331c9f0d127633bca1b3bee37278 [2023-02-07T16:43:58.904Z] Merge succeeded, producing 92fc0d02d5b1331c9f0d127633bca1b3bee37278 [2023-02-07T16:43:58.905Z] Checking out Revision 92fc0d02d5b1331c9f0d127633bca1b3bee37278 (PR-1305) [2023-02-07T16:43:58.669Z] > git config core.sparsecheckout # timeout=10 [2023-02-07T16:43:58.690Z] > git checkout -f 92fc0d02d5b1331c9f0d127633bca1b3bee37278 # timeout=10 [2023-02-07T16:43:58.806Z] > git remote # timeout=10 [2023-02-07T16:43:58.824Z] > git config --get remote.origin.url # timeout=10 [2023-02-07T16:43:58.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T16:43:58.858Z] > git merge 93a0268657819106988a1ad83ac56bb06d25ff7d # timeout=10 [2023-02-07T16:43:58.884Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-07T16:43:58.909Z] > git config core.sparsecheckout # timeout=10 [2023-02-07T16:43:58.924Z] > git checkout -f 92fc0d02d5b1331c9f0d127633bca1b3bee37278 # timeout=10 [2023-02-07T16:44:02.624Z] Commit message: "refactor!: Rework Command via MessageBus for new Request API response topic" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T16:44:03.628Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-07T16:44:03.628Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-07T16:44:03.628Z] Dload Upload Total Spent Left Speed [2023-02-07T16:44:03.628Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2023-02-07T16:44:04.321Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-07T16:44:04.664Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-07T16:44:04.664Z] + sudo tee /etc/docker/daemon.new [2023-02-07T16:44:04.664Z] { [2023-02-07T16:44:04.664Z] "registry-mirrors": [ [2023-02-07T16:44:04.664Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-07T16:44:04.664Z] ], [2023-02-07T16:44:04.664Z] "bip": "10.250.0.254/24", [2023-02-07T16:44:04.664Z] "hosts": [ [2023-02-07T16:44:04.664Z] "tcp://0.0.0.0:5555", [2023-02-07T16:44:04.664Z] "unix:///var/run/docker.sock" [2023-02-07T16:44:04.664Z] ], [2023-02-07T16:44:04.664Z] "mtu": 1458, [2023-02-07T16:44:04.664Z] "selinux-enabled": true, [2023-02-07T16:44:04.664Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-07T16:44:04.664Z] } [Pipeline] sh [2023-02-07T16:44:05.002Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-07T16:44:05.347Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T16:44:23.644Z] provisioning config files... [2023-02-07T16:44:23.677Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config10498629965383953626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:44:24.041Z] ---> docker-login.sh [2023-02-07T16:44:24.041Z] nexus3.edgexfoundry.org:10001 [2023-02-07T16:44:24.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:44:24.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:44:24.632Z] Configure a credential helper to remove this warning. See [2023-02-07T16:44:24.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:44:24.632Z] [2023-02-07T16:44:24.632Z] Login Succeeded [2023-02-07T16:44:24.632Z] nexus3.edgexfoundry.org:10002 [2023-02-07T16:44:24.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:44:25.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:44:25.182Z] Configure a credential helper to remove this warning. See [2023-02-07T16:44:25.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:44:25.182Z] [2023-02-07T16:44:25.182Z] Login Succeeded [2023-02-07T16:44:25.182Z] nexus3.edgexfoundry.org:10003 [2023-02-07T16:44:25.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:44:25.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:44:25.455Z] Configure a credential helper to remove this warning. See [2023-02-07T16:44:25.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:44:25.455Z] [2023-02-07T16:44:25.455Z] Login Succeeded [2023-02-07T16:44:25.455Z] nexus3.edgexfoundry.org:10004 [2023-02-07T16:44:25.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:44:26.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:44:26.000Z] Configure a credential helper to remove this warning. See [2023-02-07T16:44:26.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:44:26.000Z] [2023-02-07T16:44:26.000Z] Login Succeeded [2023-02-07T16:44:26.000Z] docker.io [2023-02-07T16:44:26.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:44:26.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:44:26.541Z] Configure a credential helper to remove this warning. See [2023-02-07T16:44:26.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:44:26.541Z] [2023-02-07T16:44:26.541Z] Login Succeeded [2023-02-07T16:44:26.541Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T16:44:26.559Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T16:44:26.881Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T16:44:26.899Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T16:44:26.913Z] ========================================================= [2023-02-07T16:44:26.913Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-07T16:44:26.913Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:44:27.272Z] + 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-07T16:44:27.541Z] Sending build context to Docker daemon 5.687MB [2023-02-07T16:44:27.813Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T16:44:27.813Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-07T16:44:27.813Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-07T16:44:27.813Z] 9b18e9b68314: Pulling fs layer [2023-02-07T16:44:27.813Z] 35d82f9e3411: Pulling fs layer [2023-02-07T16:44:27.813Z] e16973657156: Pulling fs layer [2023-02-07T16:44:27.813Z] fc693d55d65f: Pulling fs layer [2023-02-07T16:44:27.813Z] 7e9fc2657dce: Pulling fs layer [2023-02-07T16:44:27.813Z] dda99020689f: Pulling fs layer [2023-02-07T16:44:27.813Z] db1c61fa0a46: Pulling fs layer [2023-02-07T16:44:27.813Z] 891c053d2c06: Pulling fs layer [2023-02-07T16:44:27.813Z] dda99020689f: Waiting [2023-02-07T16:44:27.813Z] db1c61fa0a46: Waiting [2023-02-07T16:44:27.813Z] 891c053d2c06: Waiting [2023-02-07T16:44:27.813Z] 7e9fc2657dce: Waiting [2023-02-07T16:44:27.813Z] fc693d55d65f: Waiting [2023-02-07T16:44:27.813Z] e16973657156: Verifying Checksum [2023-02-07T16:44:27.813Z] e16973657156: Download complete [2023-02-07T16:44:27.813Z] 35d82f9e3411: Verifying Checksum [2023-02-07T16:44:27.813Z] 35d82f9e3411: Download complete [2023-02-07T16:44:28.093Z] 7e9fc2657dce: Verifying Checksum [2023-02-07T16:44:28.093Z] 7e9fc2657dce: Download complete [2023-02-07T16:44:28.093Z] dda99020689f: Download complete [2023-02-07T16:44:28.093Z] 9b18e9b68314: Verifying Checksum [2023-02-07T16:44:28.093Z] 9b18e9b68314: Download complete [2023-02-07T16:44:29.069Z] 9b18e9b68314: Pull complete [2023-02-07T16:44:29.069Z] 891c053d2c06: Verifying Checksum [2023-02-07T16:44:29.069Z] 891c053d2c06: Download complete [2023-02-07T16:44:29.663Z] 35d82f9e3411: Pull complete [2023-02-07T16:44:29.933Z] e16973657156: Pull complete [2023-02-07T16:44:30.524Z] db1c61fa0a46: Verifying Checksum [2023-02-07T16:44:30.524Z] db1c61fa0a46: Download complete [2023-02-07T16:44:30.794Z] fc693d55d65f: Verifying Checksum [2023-02-07T16:44:30.794Z] fc693d55d65f: Download complete [2023-02-07T16:44:43.129Z] fc693d55d65f: Pull complete [2023-02-07T16:44:43.129Z] 7e9fc2657dce: Pull complete [2023-02-07T16:44:43.129Z] dda99020689f: Pull complete [2023-02-07T16:44:48.494Z] db1c61fa0a46: Pull complete [2023-02-07T16:44:49.459Z] 891c053d2c06: Pull complete [2023-02-07T16:44:49.728Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-07T16:44:49.728Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-07T16:44:49.728Z] ---> f96f9c87975a [2023-02-07T16:44:49.728Z] Step 3/10 : ARG MAKE=make build [2023-02-07T16:44:52.335Z] ---> Running in 0fff3301d180 [2023-02-07T16:44:52.335Z] Removing intermediate container 0fff3301d180 [2023-02-07T16:44:52.335Z] ---> 7f541a5543ba [2023-02-07T16:44:52.335Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-07T16:44:52.335Z] ---> Running in 005bfa4d4ec4 [2023-02-07T16:44:52.615Z] Removing intermediate container 005bfa4d4ec4 [2023-02-07T16:44:52.615Z] ---> fc32dee33bd7 [2023-02-07T16:44:52.615Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-07T16:44:52.615Z] ---> Running in 613172067d34 [2023-02-07T16:44:53.203Z] Removing intermediate container 613172067d34 [2023-02-07T16:44:53.203Z] ---> 22dd4fcbc7df [2023-02-07T16:44:53.203Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-07T16:44:53.203Z] ---> Running in 3718a538f872 [2023-02-07T16:44:54.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T16:44:54.893Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T16:44:55.865Z] OK: 221 MiB in 51 packages [2023-02-07T16:44:59.229Z] Removing intermediate container 3718a538f872 [2023-02-07T16:44:59.229Z] ---> d24238debe7d [2023-02-07T16:44:59.229Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-07T16:44:59.515Z] ---> e6ff03e02f54 [2023-02-07T16:44:59.515Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T16:44:59.515Z] ---> Running in 8dda7c76d811 [2023-02-07T16:46:21.202Z] Removing intermediate container 8dda7c76d811 [2023-02-07T16:46:21.202Z] ---> 5a9b5cd285a4 [2023-02-07T16:46:21.202Z] Step 9/10 : COPY . . [2023-02-07T16:46:21.202Z] ---> 2fabdd444db3 [2023-02-07T16:46:21.202Z] Step 10/10 : RUN ${MAKE} [2023-02-07T16:46:21.202Z] ---> Running in 7681592a6a80 [2023-02-07T16:46:21.202Z] noop [2023-02-07T16:46:21.202Z] Removing intermediate container 7681592a6a80 [2023-02-07T16:46:21.202Z] ---> a1deae4c7e96 [2023-02-07T16:46:21.202Z] Successfully built a1deae4c7e96 [2023-02-07T16:46:21.202Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:46:21.577Z] + docker inspect -f . ci-base-image-arm64 [2023-02-07T16:46:21.577Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T16:46:21.769Z] prd-ubuntu20.04-docker-arm64-4c-16g-4948 does not seem to be running inside a container [2023-02-07T16:46:21.838Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** ci-base-image-arm64 cat [2023-02-07T16:46:23.119Z] $ docker top afb2e2d1590efbd4e4b04acbc9e8193a8e72d9ce934c31717d138c06a398c3cd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T16:46:23.976Z] + go version [2023-02-07T16:46:23.976Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-07T16:46:23.994Z] $ docker stop --time=1 afb2e2d1590efbd4e4b04acbc9e8193a8e72d9ce934c31717d138c06a398c3cd [2023-02-07T16:46:25.618Z] $ docker rm -f --volumes afb2e2d1590efbd4e4b04acbc9e8193a8e72d9ce934c31717d138c06a398c3cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:46:26.174Z] + docker inspect -f . ci-base-image-arm64 [2023-02-07T16:46:26.174Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T16:46:26.357Z] prd-ubuntu20.04-docker-arm64-4c-16g-4948 does not seem to be running inside a container [2023-02-07T16:46:26.423Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** ci-base-image-arm64 cat [2023-02-07T16:46:27.654Z] $ docker top dafc7324744d40d4e1d9cc272f4afd7548f38ff54fcd8495f55ebc8f9f101b7a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T16:46:28.487Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2023-02-07T16:46:28.841Z] + make test [2023-02-07T16:46:28.841Z] go test -race -coverprofile=coverage.out ./... [2023-02-07T16:47:07.724Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-07T16:49:44.502Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-07T16:49:44.502Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-07T16:49:44.502Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-07T16:49:44.502Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-07T16:49:44.502Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-07T16:49:44.502Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.319s coverage: 27.6% of statements [2023-02-07T16:49:44.502Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.345s coverage: 78.9% of statements [2023-02-07T16:49:44.502Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-07T16:49:45.919Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.522s coverage: 77.8% of statements [2023-02-07T16:49:45.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-07T16:49:45.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-07T16:49:49.283Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.590s coverage: 59.8% of statements [2023-02-07T16:49:49.283Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-07T16:49:49.283Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-07T16:49:49.283Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-07T16:49:49.283Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.476s coverage: 65.2% of statements [2023-02-07T16:49:49.283Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-07T16:49:49.283Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-07T16:49:50.249Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.566s coverage: 89.2% of statements [2023-02-07T16:49:50.250Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-07T16:49:50.250Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.303s coverage: 4.7% of statements [2023-02-07T16:49:50.250Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-07T16:49:50.835Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-07T16:49:50.835Z] GO111MODULE=on go vet ./... [2023-02-07T16:51:42.980Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-07T16:51:42.980Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-07T16:51:42.980Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-07T16:51:43.001Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-07T16:51:43.012Z] $ docker stop --time=1 dafc7324744d40d4e1d9cc272f4afd7548f38ff54fcd8495f55ebc8f9f101b7a [2023-02-07T16:51:44.882Z] $ docker rm -f --volumes dafc7324744d40d4e1d9cc272f4afd7548f38ff54fcd8495f55ebc8f9f101b7a [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T16:51:46.371Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-07T16:51:46.397Z] Warning: overwriting stash ‘coverage-report’ [2023-02-07T16:51:47.059Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T16:51:47.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T16:51:47.787Z] + ls -al . [2023-02-07T16:51:47.787Z] total 268 [2023-02-07T16:51:47.787Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 16:46 . [2023-02-07T16:51:47.787Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 16:43 .. [2023-02-07T16:51:47.787Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 7 16:43 .dockerignore [2023-02-07T16:51:47.787Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 16:43 .git [2023-02-07T16:51:47.787Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 16:43 .github [2023-02-07T16:51:47.787Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 7 16:43 .gitignore [2023-02-07T16:51:47.787Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 7 16:43 .golangci.yml [2023-02-07T16:51:47.787Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 7 16:43 CHANGELOG.md [2023-02-07T16:51:47.787Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 16:43 GOVERNANCE.md [2023-02-07T16:51:47.787Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 7 16:43 Jenkinsfile [2023-02-07T16:51:47.787Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 7 16:43 LICENSE [2023-02-07T16:51:47.787Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 7 16:43 Makefile [2023-02-07T16:51:47.787Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 7 16:43 OWNERS.md [2023-02-07T16:51:47.787Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 7 16:43 README.md [2023-02-07T16:51:47.787Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 16:41 VERSION [2023-02-07T16:51:47.787Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 16:43 bin [2023-02-07T16:51:47.787Z] -rw-r--r-- 1 jenkins jenkins 100848 Feb 7 16:49 coverage.out [2023-02-07T16:51:47.787Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 7 16:43 example [2023-02-07T16:51:47.787Z] -rw-rw-r-- 1 jenkins jenkins 3264 Feb 7 16:43 go.mod [2023-02-07T16:51:47.787Z] -rw-rw-r-- 1 jenkins jenkins 32817 Feb 7 16:43 go.sum [2023-02-07T16:51:47.787Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 7 16:43 internal [2023-02-07T16:51:47.787Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 16:43 openapi [2023-02-07T16:51:47.787Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 7 16:43 pkg [2023-02-07T16:51:47.787Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 16:43 snap [2023-02-07T16:51:47.787Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 7 16:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:51:48.139Z] + 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=92fc0d02d5b1331c9f0d127633bca1b3bee37278 --label arch=arm64 --label version=0.0.0 . [2023-02-07T16:51:48.739Z] Sending build context to Docker daemon 5.788MB [2023-02-07T16:51:48.739Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T16:51:48.739Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-07T16:51:48.739Z] ---> a1deae4c7e96 [2023-02-07T16:51:48.739Z] Step 3/23 : ARG MAKE=make build [2023-02-07T16:51:48.739Z] ---> Running in edaa5fcfeb18 [2023-02-07T16:51:49.027Z] Removing intermediate container edaa5fcfeb18 [2023-02-07T16:51:49.027Z] ---> 020e1bf1bfb7 [2023-02-07T16:51:49.027Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-07T16:51:49.298Z] ---> Running in e3c9509bc542 [2023-02-07T16:51:49.567Z] Removing intermediate container e3c9509bc542 [2023-02-07T16:51:49.567Z] ---> 8d5b7ff44969 [2023-02-07T16:51:49.567Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-07T16:51:49.567Z] ---> Running in 79f093e16ebc [2023-02-07T16:51:49.835Z] Removing intermediate container 79f093e16ebc [2023-02-07T16:51:49.835Z] ---> 4cc43e3b5186 [2023-02-07T16:51:50.104Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-07T16:51:50.104Z] ---> Running in 0ed4e8d87f1a [2023-02-07T16:51:51.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T16:51:51.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T16:51:52.627Z] OK: 221 MiB in 51 packages [2023-02-07T16:51:54.045Z] Removing intermediate container 0ed4e8d87f1a [2023-02-07T16:51:54.045Z] ---> dc154e0166d4 [2023-02-07T16:51:54.045Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-07T16:51:54.636Z] ---> 172514dcc19b [2023-02-07T16:51:54.636Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T16:51:54.929Z] ---> Running in 93cf51a67fba [2023-02-07T16:51:57.528Z] Removing intermediate container 93cf51a67fba [2023-02-07T16:51:57.528Z] ---> 4c561950d7fd [2023-02-07T16:51:57.528Z] Step 9/23 : COPY . . [2023-02-07T16:51:58.961Z] ---> d66b7b95e82c [2023-02-07T16:51:58.961Z] Step 10/23 : RUN ${MAKE} [2023-02-07T16:51:58.961Z] ---> Running in 9079a6722824 [2023-02-07T16:51:59.942Z] 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-07T16:54:21.683Z] Removing intermediate container 9079a6722824 [2023-02-07T16:54:21.683Z] ---> 0c997f6bba45 [2023-02-07T16:54:21.683Z] Step 11/23 : FROM alpine:3.16 [2023-02-07T16:54:21.683Z] 3.16: Pulling from library/alpine [2023-02-07T16:54:21.683Z] 6875df1f5354: Pulling fs layer [2023-02-07T16:54:21.683Z] 6875df1f5354: Verifying Checksum [2023-02-07T16:54:21.683Z] 6875df1f5354: Download complete [2023-02-07T16:54:21.683Z] 6875df1f5354: Pull complete [2023-02-07T16:54:21.683Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-07T16:54:21.683Z] Status: Downloaded newer image for alpine:3.16 [2023-02-07T16:54:21.683Z] ---> 2b4661558fb8 [2023-02-07T16:54:21.683Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-07T16:54:21.683Z] ---> Running in be5611b9539e [2023-02-07T16:54:21.683Z] Removing intermediate container be5611b9539e [2023-02-07T16:54:21.683Z] ---> 4d64f7aea3ff [2023-02-07T16:54:21.683Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-07T16:54:21.683Z] ---> Running in 2c16515b9105 [2023-02-07T16:54:21.683Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T16:54:21.683Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T16:54:21.683Z] OK: 5 MiB in 14 packages [2023-02-07T16:54:21.683Z] Removing intermediate container 2c16515b9105 [2023-02-07T16:54:21.683Z] ---> 7dcc12856d7f [2023-02-07T16:54:21.683Z] Step 14/23 : WORKDIR / [2023-02-07T16:54:21.683Z] ---> Running in 323d7621790c [2023-02-07T16:54:21.683Z] Removing intermediate container 323d7621790c [2023-02-07T16:54:21.683Z] ---> ee6180187afd [2023-02-07T16:54:21.683Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-07T16:54:21.683Z] ---> 87ee023bb624 [2023-02-07T16:54:21.683Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-07T16:54:21.683Z] ---> feb12f08e5c9 [2023-02-07T16:54:21.683Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-07T16:54:21.683Z] ---> 8bf5f05ee10c [2023-02-07T16:54:21.683Z] Step 18/23 : EXPOSE 59999 [2023-02-07T16:54:21.683Z] ---> Running in 716fcfe81517 [2023-02-07T16:54:21.683Z] Removing intermediate container 716fcfe81517 [2023-02-07T16:54:21.683Z] ---> d7130f4c4b39 [2023-02-07T16:54:21.683Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-07T16:54:21.683Z] ---> Running in 25b889da964e [2023-02-07T16:54:21.683Z] Removing intermediate container 25b889da964e [2023-02-07T16:54:21.683Z] ---> f24351b807e8 [2023-02-07T16:54:21.683Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-07T16:54:21.683Z] ---> Running in 694a569cdc7e [2023-02-07T16:54:21.683Z] Removing intermediate container 694a569cdc7e [2023-02-07T16:54:21.683Z] ---> c229eafe0d2e [2023-02-07T16:54:21.683Z] Step 21/23 : LABEL arch=arm64 [2023-02-07T16:54:21.683Z] ---> Running in 9580aa9f6d98 [2023-02-07T16:54:21.683Z] Removing intermediate container 9580aa9f6d98 [2023-02-07T16:54:21.683Z] ---> 905183983866 [2023-02-07T16:54:21.683Z] Step 22/23 : LABEL git_sha=92fc0d02d5b1331c9f0d127633bca1b3bee37278 [2023-02-07T16:54:21.683Z] ---> Running in 3f3219b494b6 [2023-02-07T16:54:21.683Z] Removing intermediate container 3f3219b494b6 [2023-02-07T16:54:21.683Z] ---> 329485e469b0 [2023-02-07T16:54:21.683Z] Step 23/23 : LABEL version=0.0.0 [2023-02-07T16:54:21.683Z] ---> Running in 583b6f7c261a [2023-02-07T16:54:21.683Z] Removing intermediate container 583b6f7c261a [2023-02-07T16:54:21.683Z] ---> 1a6e8f1957c0 [2023-02-07T16:54:21.683Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-07T16:54:21.684Z] Successfully built 1a6e8f1957c0 [2023-02-07T16:54:21.684Z] 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-07T16:54:22.135Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T16:54:22.135Z] [2023-02-07T16:54:22.135Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:54:22.461Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T16:54:23.050Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-07T16:54:23.050Z] 8998bd30e6a1: Pulling fs layer [2023-02-07T16:54:23.050Z] 04944245beec: Pulling fs layer [2023-02-07T16:54:23.050Z] 699f458cf7ca: Pulling fs layer [2023-02-07T16:54:23.050Z] 765212b225bb: Pulling fs layer [2023-02-07T16:54:23.050Z] f23df028b6ca: Pulling fs layer [2023-02-07T16:54:23.050Z] d65c8cfc05b1: Pulling fs layer [2023-02-07T16:54:23.050Z] 2437ff75d9bd: Pulling fs layer [2023-02-07T16:54:23.050Z] 765212b225bb: Waiting [2023-02-07T16:54:23.050Z] f23df028b6ca: Waiting [2023-02-07T16:54:23.050Z] d65c8cfc05b1: Waiting [2023-02-07T16:54:23.050Z] 2437ff75d9bd: Waiting [2023-02-07T16:54:23.050Z] 04944245beec: Verifying Checksum [2023-02-07T16:54:23.050Z] 04944245beec: Download complete [2023-02-07T16:54:23.050Z] 765212b225bb: Verifying Checksum [2023-02-07T16:54:23.050Z] 765212b225bb: Download complete [2023-02-07T16:54:23.321Z] f23df028b6ca: Download complete [2023-02-07T16:54:23.321Z] d65c8cfc05b1: Verifying Checksum [2023-02-07T16:54:23.321Z] d65c8cfc05b1: Download complete [2023-02-07T16:54:23.321Z] 699f458cf7ca: Verifying Checksum [2023-02-07T16:54:23.321Z] 699f458cf7ca: Download complete [2023-02-07T16:54:23.588Z] 8998bd30e6a1: Verifying Checksum [2023-02-07T16:54:23.588Z] 8998bd30e6a1: Download complete [2023-02-07T16:54:26.168Z] 2437ff75d9bd: Verifying Checksum [2023-02-07T16:54:26.168Z] 2437ff75d9bd: Download complete [2023-02-07T16:54:27.575Z] 8998bd30e6a1: Pull complete [2023-02-07T16:54:28.157Z] 04944245beec: Pull complete [2023-02-07T16:54:29.561Z] 699f458cf7ca: Pull complete [2023-02-07T16:54:29.561Z] 765212b225bb: Pull complete [2023-02-07T16:54:30.520Z] f23df028b6ca: Pull complete [2023-02-07T16:54:30.520Z] d65c8cfc05b1: Pull complete [2023-02-07T16:54:45.509Z] 2437ff75d9bd: Pull complete [2023-02-07T16:54:45.509Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-07T16:54:45.509Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T16:54:45.509Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T16:54:45.689Z] prd-ubuntu20.04-docker-arm64-4c-16g-4948 does not seem to be running inside a container [2023-02-07T16:54:45.753Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-07T16:54:48.335Z] $ docker top 11d539c3aedc3f9b17a03c074f590a7479d50503de3f0a84fcdfb86fb246abe7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:54:49.195Z] ---> job-cost.sh [2023-02-07T16:54:49.195Z] lf-activate-venv: SKIPPING [2023-02-07T16:54:49.195Z] INFO: No Stack... [2023-02-07T16:54:49.778Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-07T16:54:50.361Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T16:54:51.002Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2023-02-07T16:54:51.002Z] + cut -d, -f6 [Pipeline] lock [2023-02-07T16:54:51.042Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1305-4-stack-cost] [2023-02-07T16:54:51.047Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1305-4-stack-cost] did not exist. Created. [2023-02-07T16:54:51.047Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1305-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T16:54:51.704Z] /w/workspace/device-sdk-go/4@tmp/durable-84be92ab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-07T16:54:52.356Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-07T16:54:52.378Z] Warning: overwriting stash ‘stack-cost’ [2023-02-07T16:54:52.444Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T16:54:52.450Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1305-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T16:54:52.464Z] $ docker stop --time=1 11d539c3aedc3f9b17a03c074f590a7479d50503de3f0a84fcdfb86fb246abe7 [2023-02-07T16:54:53.978Z] $ docker rm -f --volumes 11d539c3aedc3f9b17a03c074f590a7479d50503de3f0a84fcdfb86fb246abe7 [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-07T16:54:54.437Z] provisioning config files... [2023-02-07T16:54:54.446Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp/config13995411766903755155tmp [Pipeline] { [Pipeline] sh [2023-02-07T16:54:54.757Z] + set +x [2023-02-07T16:54:54.757Z] + curl -s https://codecov.io/bash [2023-02-07T16:54:54.757Z] + bash -s -- [2023-02-07T16:54:54.757Z] [2023-02-07T16:54:54.757Z] _____ _ [2023-02-07T16:54:54.757Z] / ____| | | [2023-02-07T16:54:54.757Z] | | ___ __| | ___ ___ _____ __ [2023-02-07T16:54:54.757Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-07T16:54:54.757Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-07T16:54:54.757Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-07T16:54:54.757Z] Bash-1.0.6 [2023-02-07T16:54:54.757Z] [2023-02-07T16:54:54.757Z] [2023-02-07T16:54:54.757Z] ==> git version 2.25.1 found [2023-02-07T16:54:54.757Z] ==> 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-07T16:54:54.757Z] Release-Date: 2020-01-08 [2023-02-07T16:54:54.757Z] 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-07T16:54:54.757Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-07T16:54:54.757Z] ==> Jenkins CI detected. [2023-02-07T16:54:54.757Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1305 [2023-02-07T16:54:54.757Z] project root: . [2023-02-07T16:54:54.757Z] --> token set from env [2023-02-07T16:54:54.757Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-07T16:54:54.757Z] ==> Running gcov in . (disable via -X gcov) [2023-02-07T16:54:54.757Z] ==> Python coveragepy not found [2023-02-07T16:54:54.757Z] ==> Searching for coverage reports in: [2023-02-07T16:54:54.757Z] + . [2023-02-07T16:54:54.757Z] -> Found 1 reports [2023-02-07T16:54:54.757Z] ==> Detecting git/mercurial file structure [2023-02-07T16:54:54.757Z] ==> Reading reports [2023-02-07T16:54:54.757Z] + ./coverage.out bytes=100848 [2023-02-07T16:54:54.757Z] ==> Appending adjustments [2023-02-07T16:54:54.757Z] https://docs.codecov.io/docs/fixing-reports [2023-02-07T16:54:55.016Z] + Found adjustments [2023-02-07T16:54:55.016Z] ==> Gzipping contents [2023-02-07T16:54:55.276Z] 16K /tmp/codecov.QuyNKu.gz [2023-02-07T16:54:55.276Z] ==> Uploading reports [2023-02-07T16:54:55.276Z] url: https://codecov.io [2023-02-07T16:54:55.276Z] query: branch=PR-1305&commit=92fc0d02d5b1331c9f0d127633bca1b3bee37278&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1305%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1305&job=&cmd_args= [2023-02-07T16:54:55.276Z] -> Pinging Codecov [2023-02-07T16:54:55.276Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1305&commit=92fc0d02d5b1331c9f0d127633bca1b3bee37278&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1305%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1305&job=&cmd_args= [2023-02-07T16:54:55.535Z] -> Uploading to [2023-02-07T16:54:55.535Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-07/7E55EF52A471D76F132DFD9A03CDDE97/92fc0d02d5b1331c9f0d127633bca1b3bee37278/1affa257-5b31-43e5-a188-f009bed9f748.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230207T165455Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5018e38538a4b2d86540f5440d5346d55da37a22447c7c02cd5ef523a4c7cc21 [2023-02-07T16:54:55.535Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-07T16:54:55.535Z] Dload Upload Total Spent Left Speed [2023-02-07T16:54:55.794Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14581 0 0 100 14581 0 47806 --:--:-- --:--:-- --:--:-- 47650 100 14581 0 0 100 14581 0 47806 --:--:-- --:--:-- --:--:-- 47650 [2023-02-07T16:54:55.794Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/92fc0d02d5b1331c9f0d127633bca1b3bee37278 [Pipeline] } [2023-02-07T16:54:55.801Z] 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-07T16:54:56.524Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1305/archives ] [2023-02-07T16:54:56.524Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1305/archives [2023-02-07T16:54:56.524Z] total 16 [2023-02-07T16:54:56.524Z] drwxr-xr-x 3 root root 4096 Feb 7 16:43 . [2023-02-07T16:54:56.524Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 7 16:43 .. [2023-02-07T16:54:56.524Z] drwxr-xr-x 2 root root 4096 Feb 7 16:43 cost [2023-02-07T16:54:56.524Z] -rw-r--r-- 1 root root 86 Feb 7 16:43 cost.csv [2023-02-07T16:54:56.524Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1305/archives [2023-02-07T16:54:56.524Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1305/archives [2023-02-07T16:54:56.524Z] total 16 [2023-02-07T16:54:56.524Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 16:43 . [2023-02-07T16:54:56.524Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 7 16:43 .. [2023-02-07T16:54:56.524Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 16:43 cost [2023-02-07T16:54:56.524Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 7 16:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:54:56.816Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:54:57.676Z] ---> package-listing.sh [2023-02-07T16:54:57.677Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-07T16:54:57.677Z] ++ facter osfamily [2023-02-07T16:54:57.936Z] + OS_FAMILY=debian [2023-02-07T16:54:57.936Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1305 [2023-02-07T16:54:57.936Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-07T16:54:57.936Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-07T16:54:57.936Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-07T16:54:57.936Z] + PACKAGES=/tmp/packages_start.txt [2023-02-07T16:54:57.936Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1305 ']' [2023-02-07T16:54:57.936Z] + PACKAGES=/tmp/packages_end.txt [2023-02-07T16:54:57.936Z] + case "${OS_FAMILY}" in [2023-02-07T16:54:57.936Z] + dpkg -l [2023-02-07T16:54:57.936Z] + grep '^ii' [2023-02-07T16:54:57.936Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-07T16:54:57.936Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-07T16:54:57.936Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-07T16:54:57.936Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1305 ']' [2023-02-07T16:54:57.936Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1305/archives/ [2023-02-07T16:54:57.936Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1305/archives/ [Pipeline] echo [2023-02-07T16:54:57.948Z] 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-1305/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-07T16:54:58.225Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:54:58.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T16:54:58.786Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T16:54:58.859Z] prd-ubuntu20.04-docker-8c-8g-4943 does not seem to be running inside a container [2023-02-07T16:54:58.906Z] $ 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-1305/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-1305 -v /w/workspace/gexfoundry_device-sdk-go_PR-1305:/w/workspace/gexfoundry_device-sdk-go_PR-1305:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-07T16:54:59.558Z] $ docker top c772f49bdcff20040aa52b50b40e02312c7810012bf343e0fa5b2e5f4342f08c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T16:54:59.882Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-07T16:55:00.167Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-07T16:55:00.449Z] + ls /var/log/sa-host [2023-02-07T16:55:00.450Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T16:55:00.519Z] provisioning config files... [2023-02-07T16:55:00.525Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp/config9751165234669674249tmp [Pipeline] { [Pipeline] echo [2023-02-07T16:55:00.540Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:55:00.818Z] ---> create-netrc.sh [Pipeline] } [2023-02-07T16:55:00.825Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:55:01.150Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-07T16:55:01.157Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:55:01.439Z] ---> sudo-logs.sh [2023-02-07T16:55:01.439Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-07T16:55:01.465Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:55:01.747Z] ---> job-cost.sh [2023-02-07T16:55:01.747Z] lf-activate-venv: SKIPPING [2023-02-07T16:55:01.747Z] DEBUG: total: 0.2199999988079071 [2023-02-07T16:55:01.747Z] INFO: Retrieving Stack Cost... [2023-02-07T16:55:02.006Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T16:55:02.573Z] INFO: Archiving Costs [Pipeline] echo [2023-02-07T16:55:02.584Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:55:02.868Z] ---> logs-deploy.sh [2023-02-07T16:55:02.868Z] lf-activate-venv: SKIPPING [2023-02-07T16:55:02.868Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1305/4 [2023-02-07T16:55:02.868Z] INFO: archiving workspace using pattern(s): [2023-02-07T16:55:03.803Z] Archives upload complete. [2023-02-07T16:55:03.803Z] INFO: archiving logs to Nexus