Pull request #1273 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 cd4a0eed0038da1c8145d71008b73b1332bc4494+8025d415256bff1d08fe37ed408de885b1f3053d (e577a1ba66e01c3077f2cb44cc333d36099c2659) 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-ssh11793074675566821610.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-ssh1981936438850456822.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-1273/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-1273/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12281606050365444885.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-ssh9090372134257169957.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-1273/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-1273/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4728487303478972336.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/v2]] ========================================================= [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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1876 in /w/workspace/gexfoundry_device-sdk-go_PR-1273 [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-1273 # 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/1273/head:refs/remotes/origin/PR-1273 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8025d415256bff1d08fe37ed408de885b1f3053d into PR head commit cd4a0eed0038da1c8145d71008b73b1332bc4494 Merge succeeded, producing cd4a0eed0038da1c8145d71008b73b1332bc4494 Checking out Revision cd4a0eed0038da1c8145d71008b73b1332bc4494 (PR-1273) > git config core.sparsecheckout # timeout=10 > git checkout -f cd4a0eed0038da1c8145d71008b73b1332bc4494 # 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 8025d415256bff1d08fe37ed408de885b1f3053d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd4a0eed0038da1c8145d71008b73b1332bc4494 # timeout=10 Commit message: "fix: Replaced missed MessageQueue with MessageBus" > git rev-list --no-walk ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-11T17:11:47.866Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-11T17:11:47.931Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-11T17:11:47.949Z] ========================================================= [2023-01-11T17:11:47.949Z] EdgeX Global Pipelines Version Info [2023-01-11T17:11:47.949Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:11:48.659Z] ------------------- [2023-01-11T17:11:48.659Z] stable info: [2023-01-11T17:11:48.659Z] ------------------- [2023-01-11T17:11:48.659Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-11T17:11:48.659Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T17:11:48.659Z] Message: update stable to v1.0.244 [2023-01-11T17:11:49.227Z] ------------------- [2023-01-11T17:11:49.227Z] experimental info: [2023-01-11T17:11:49.227Z] ------------------- [2023-01-11T17:11:49.227Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-11T17:11:49.227Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T17:11:49.227Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-11T17:11:49.401Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-11T17:11:49.414Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-11T17:11:49.427Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-11T17:11:49.439Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-11T17:11:49.451Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-11T17:11:49.465Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-11T17:11:49.478Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-11T17:11:49.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-11T17:11:49.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-11T17:11:49.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-11T17:11:49.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-11T17:11:49.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-11T17:11:49.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-11T17:11:49.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-11T17:11:49.580Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T17:11:49.593Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T17:11:49.608Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T17:11:49.618Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T17:11:49.630Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-11T17:11:49.642Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-11T17:11:49.654Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-11T17:11:49.668Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-11T17:11:49.680Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-11T17:11:49.694Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-11T17:11:49.706Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-11T17:11:49.721Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-11T17:11:49.736Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-11T17:11:49.747Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1273 [Pipeline] echo [2023-01-11T17:11:49.759Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1273 [Pipeline] echo [2023-01-11T17:11:49.771Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1273 [Pipeline] echo [2023-01-11T17:11:49.791Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd4a0eed0038da1c8145d71008b73b1332bc4494 [Pipeline] echo [2023-01-11T17:11:49.808Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd4a0ee [Pipeline] echo [2023-01-11T17:11:49.823Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T17:11:49.865Z] provisioning config files... [2023-01-11T17:11:49.877Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1273@tmp/config4550242439844452377tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:11:50.175Z] ---> docker-login.sh [2023-01-11T17:11:50.175Z] nexus3.edgexfoundry.org:10001 [2023-01-11T17:11:50.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:11:50.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:11:50.435Z] Configure a credential helper to remove this warning. See [2023-01-11T17:11:50.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:11:50.435Z] [2023-01-11T17:11:50.435Z] Login Succeeded [2023-01-11T17:11:50.435Z] nexus3.edgexfoundry.org:10002 [2023-01-11T17:11:50.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:11:50.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:11:50.435Z] Configure a credential helper to remove this warning. See [2023-01-11T17:11:50.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:11:50.435Z] [2023-01-11T17:11:50.435Z] Login Succeeded [2023-01-11T17:11:50.435Z] nexus3.edgexfoundry.org:10003 [2023-01-11T17:11:50.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:11:50.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:11:50.695Z] Configure a credential helper to remove this warning. See [2023-01-11T17:11:50.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:11:50.695Z] [2023-01-11T17:11:50.695Z] Login Succeeded [2023-01-11T17:11:50.695Z] nexus3.edgexfoundry.org:10004 [2023-01-11T17:11:50.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:11:50.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:11:50.695Z] Configure a credential helper to remove this warning. See [2023-01-11T17:11:50.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:11:50.695Z] [2023-01-11T17:11:50.695Z] Login Succeeded [2023-01-11T17:11:50.695Z] docker.io [2023-01-11T17:11:50.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:11:50.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:11:50.954Z] Configure a credential helper to remove this warning. See [2023-01-11T17:11:50.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:11:50.954Z] [2023-01-11T17:11:50.954Z] Login Succeeded [2023-01-11T17:11:50.954Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T17:11:50.962Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-11T17:11:51.293Z] + git rev-list -1 --merges cd4a0eed0038da1c8145d71008b73b1332bc4494~1..cd4a0eed0038da1c8145d71008b73b1332bc4494 [Pipeline] echo [2023-01-11T17:11:51.333Z] -----------> git rev-list -1 --merges cd4a0eed0038da1c8145d71008b73b1332bc4494~1..cd4a0eed0038da1c8145d71008b73b1332bc4494 cd4a0eed0038da1c8145d71008b73b1332bc4494 [false] [Pipeline] sh [2023-01-11T17:11:51.614Z] + git log --format=format:%s -1 cd4a0eed0038da1c8145d71008b73b1332bc4494 [Pipeline] echo [2023-01-11T17:11:51.627Z] ========================================================= [2023-01-11T17:11:51.627Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-11T17:11:51.627Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T17:11:51.937Z] + git log --format=format:%s -1 cd4a0eed0038da1c8145d71008b73b1332bc4494 [Pipeline] echo [2023-01-11T17:11:51.947Z] [semverPrep] GIT_COMMIT: cd4a0eed0038da1c8145d71008b73b1332bc4494, Commit Message: fix: Replaced missed MessageQueue with MessageBus [Pipeline] echo [2023-01-11T17:11:51.955Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-11T17:11:52.297Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T17:11:52.297Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-11T17:11:52.297Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-11T17:11:52.297Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-11T17:11:52.297Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-11T17:11:52.297Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-11T17:11:52.297Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:11:52.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T17:11:52.634Z] [2023-01-11T17:11:52.634Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:11:52.931Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T17:11:52.931Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-11T17:11:52.931Z] b85a868b505f: Pulling fs layer [2023-01-11T17:11:52.931Z] e2be974225ed: Pulling fs layer [2023-01-11T17:11:52.931Z] 339a4e72a1f5: Pulling fs layer [2023-01-11T17:11:52.931Z] 988bab9f4d93: Pulling fs layer [2023-01-11T17:11:52.931Z] 1469e6f7b9e6: Pulling fs layer [2023-01-11T17:11:52.931Z] eaf3925da568: Pulling fs layer [2023-01-11T17:11:52.931Z] bab4dde63d76: Pulling fs layer [2023-01-11T17:11:52.931Z] bde34c3a00c8: Pulling fs layer [2023-01-11T17:11:52.931Z] b352a97aabf1: Pulling fs layer [2023-01-11T17:11:52.931Z] 988bab9f4d93: Waiting [2023-01-11T17:11:52.931Z] 1469e6f7b9e6: Waiting [2023-01-11T17:11:52.931Z] 4872d77fe225: Pulling fs layer [2023-01-11T17:11:52.931Z] eaf3925da568: Waiting [2023-01-11T17:11:52.931Z] 5851b861e8e6: Pulling fs layer [2023-01-11T17:11:52.931Z] bab4dde63d76: Waiting [2023-01-11T17:11:52.931Z] bde34c3a00c8: Waiting [2023-01-11T17:11:52.931Z] 4872d77fe225: Waiting [2023-01-11T17:11:52.931Z] b352a97aabf1: Waiting [2023-01-11T17:11:52.931Z] 5851b861e8e6: Waiting [2023-01-11T17:11:52.931Z] e2be974225ed: Download complete [2023-01-11T17:11:52.931Z] 988bab9f4d93: Verifying Checksum [2023-01-11T17:11:52.931Z] 988bab9f4d93: Download complete [2023-01-11T17:11:53.190Z] 1469e6f7b9e6: Verifying Checksum [2023-01-11T17:11:53.190Z] 1469e6f7b9e6: Download complete [2023-01-11T17:11:53.190Z] eaf3925da568: Verifying Checksum [2023-01-11T17:11:53.190Z] eaf3925da568: Download complete [2023-01-11T17:11:53.190Z] 339a4e72a1f5: Verifying Checksum [2023-01-11T17:11:53.190Z] 339a4e72a1f5: Download complete [2023-01-11T17:11:53.190Z] bde34c3a00c8: Download complete [2023-01-11T17:11:53.190Z] b352a97aabf1: Verifying Checksum [2023-01-11T17:11:53.190Z] b352a97aabf1: Download complete [2023-01-11T17:11:53.190Z] 4872d77fe225: Verifying Checksum [2023-01-11T17:11:53.190Z] 4872d77fe225: Download complete [2023-01-11T17:11:53.190Z] 5851b861e8e6: Verifying Checksum [2023-01-11T17:11:53.190Z] 5851b861e8e6: Download complete [2023-01-11T17:11:53.190Z] b85a868b505f: Verifying Checksum [2023-01-11T17:11:53.190Z] b85a868b505f: Download complete [2023-01-11T17:11:53.448Z] bab4dde63d76: Verifying Checksum [2023-01-11T17:11:53.448Z] bab4dde63d76: Download complete [2023-01-11T17:11:54.384Z] b85a868b505f: Pull complete [2023-01-11T17:11:54.643Z] e2be974225ed: Pull complete [2023-01-11T17:11:54.903Z] 339a4e72a1f5: Pull complete [2023-01-11T17:11:55.163Z] 988bab9f4d93: Pull complete [2023-01-11T17:11:55.421Z] 1469e6f7b9e6: Pull complete [2023-01-11T17:11:55.421Z] eaf3925da568: Pull complete [2023-01-11T17:11:56.809Z] bab4dde63d76: Pull complete [2023-01-11T17:11:56.809Z] bde34c3a00c8: Pull complete [2023-01-11T17:11:57.069Z] b352a97aabf1: Pull complete [2023-01-11T17:11:57.069Z] 4872d77fe225: Pull complete [2023-01-11T17:11:57.069Z] 5851b861e8e6: Pull complete [2023-01-11T17:11:57.329Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-11T17:11:57.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T17:11:57.329Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:11:57.416Z] prd-ubuntu20.04-docker-8c-8g-1876 does not seem to be running inside a container [2023-01-11T17:11:57.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1273 -v /w/workspace/gexfoundry_device-sdk-go_PR-1273:/w/workspace/gexfoundry_device-sdk-go_PR-1273:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1273@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1273@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-01-11T17:11:58.923Z] $ docker top 49f4cbb05883abae5e8e9f6e8c238b675df83b5463cdf19aa75d9a86ac38b68e -eo pid,comm [2023-01-11T17:11:58.976Z] 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-01-11T17:11:58.976Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T17:11:59.014Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T17:11:59.014Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T17:11:59.119Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T17:11:59.126Z] $ docker exec 49f4cbb05883abae5e8e9f6e8c238b675df83b5463cdf19aa75d9a86ac38b68e ssh-agent [2023-01-11T17:11:59.236Z] SSH_AUTH_SOCK=/tmp/ssh-n6gsqP9Vegl7/agent.32 [2023-01-11T17:11:59.236Z] SSH_AGENT_PID=38 [2023-01-11T17:11:59.242Z] Running ssh-add (command line suppressed) [2023-01-11T17:11:59.345Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1273@tmp/private_key_12755845722574023097.key (/w/workspace/gexfoundry_device-sdk-go_PR-1273@tmp/private_key_12755845722574023097.key) [2023-01-11T17:11:59.354Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T17:11:59.640Z] + git tag --points-at HEAD [Pipeline] } [2023-01-11T17:11:59.655Z] $ docker exec --env ******** --env ******** 49f4cbb05883abae5e8e9f6e8c238b675df83b5463cdf19aa75d9a86ac38b68e ssh-agent -k [2023-01-11T17:11:59.752Z] unset SSH_AUTH_SOCK; [2023-01-11T17:11:59.752Z] unset SSH_AGENT_PID; [2023-01-11T17:11:59.752Z] echo Agent pid 38 killed; [2023-01-11T17:11:59.760Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-11T17:11:59.787Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T17:11:59.787Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T17:11:59.883Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T17:11:59.890Z] $ docker exec 49f4cbb05883abae5e8e9f6e8c238b675df83b5463cdf19aa75d9a86ac38b68e ssh-agent [2023-01-11T17:11:59.999Z] SSH_AUTH_SOCK=/tmp/ssh-TxO2esxdCDhP/agent.70 [2023-01-11T17:11:59.999Z] SSH_AGENT_PID=76 [2023-01-11T17:12:00.012Z] Running ssh-add (command line suppressed) [2023-01-11T17:12:00.116Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1273@tmp/private_key_2213226562390710590.key (/w/workspace/gexfoundry_device-sdk-go_PR-1273@tmp/private_key_2213226562390710590.key) [2023-01-11T17:12:00.125Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T17:12:00.411Z] + git semver init [2023-01-11T17:12:00.671Z] 2023-01-11 17:12:00,570 [run_init] DEBUG init version:0.0.0 force:False [2023-01-11T17:12:00.671Z] 2023-01-11 17:12:00,571 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1273/.semver [2023-01-11T17:12:00.671Z] 2023-01-11 17:12:00,572 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1273/.semver [2023-01-11T17:12:00.671Z] 2023-01-11 17:12:00,572 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1273/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1273, universal_newlines=False, shell=None, istream=None) [2023-01-11T17:12:01.609Z] 2023-01-11 17:12:01,525 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1273/.git/info/exclude [2023-01-11T17:12:01.609Z] 2023-01-11 17:12:01,525 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1273/.semver/PR-1273 with force:False [2023-01-11T17:12:01.609Z] 2023-01-11 17:12:01,526 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1273/.semver/PR-1273 [2023-01-11T17:12:01.609Z] 2023-01-11 17:12:01,530 [execute] INFO git cat-file --batch-check [2023-01-11T17:12:01.609Z] 2023-01-11 17:12:01,530 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1273/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T17:12:01.609Z] 2023-01-11 17:12:01,537 [execute] INFO git cat-file --batch [2023-01-11T17:12:01.609Z] 2023-01-11 17:12:01,537 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1273/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T17:12:01.609Z] 2023-01-11 17:12:01,543 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1273/.semver/PR-1273 [2023-01-11T17:12:01.609Z] 0.0.0 [Pipeline] } [2023-01-11T17:12:01.622Z] $ docker exec --env ******** --env ******** 49f4cbb05883abae5e8e9f6e8c238b675df83b5463cdf19aa75d9a86ac38b68e ssh-agent -k [2023-01-11T17:12:01.736Z] unset SSH_AUTH_SOCK; [2023-01-11T17:12:01.736Z] unset SSH_AGENT_PID; [2023-01-11T17:12:01.736Z] echo Agent pid 76 killed; [2023-01-11T17:12:01.742Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T17:12:02.040Z] + git semver [Pipeline] } [2023-01-11T17:12:02.316Z] $ docker stop --time=1 49f4cbb05883abae5e8e9f6e8c238b675df83b5463cdf19aa75d9a86ac38b68e [2023-01-11T17:12:03.661Z] $ docker rm -f --volumes 49f4cbb05883abae5e8e9f6e8c238b675df83b5463cdf19aa75d9a86ac38b68e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T17:12:03.999Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-11T17:12:04.221Z] Stashed 1 file(s) [Pipeline] echo [2023-01-11T17:12:04.225Z] [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-01-11T17:12:04.414Z] provisioning config files... [2023-01-11T17:12:04.423Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1273@tmp/config2024880971988247659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:12:04.720Z] ---> docker-login.sh [2023-01-11T17:12:04.721Z] nexus3.edgexfoundry.org:10001 [2023-01-11T17:12:04.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:12:04.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:12:04.721Z] Configure a credential helper to remove this warning. See [2023-01-11T17:12:04.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:12:04.721Z] [2023-01-11T17:12:04.721Z] Login Succeeded [2023-01-11T17:12:04.721Z] nexus3.edgexfoundry.org:10002 [2023-01-11T17:12:04.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:12:04.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:12:04.721Z] Configure a credential helper to remove this warning. See [2023-01-11T17:12:04.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:12:04.721Z] [2023-01-11T17:12:04.721Z] Login Succeeded [2023-01-11T17:12:04.721Z] nexus3.edgexfoundry.org:10003 [2023-01-11T17:12:04.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:12:04.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:12:04.978Z] Configure a credential helper to remove this warning. See [2023-01-11T17:12:04.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:12:04.978Z] [2023-01-11T17:12:04.978Z] Login Succeeded [2023-01-11T17:12:04.978Z] nexus3.edgexfoundry.org:10004 [2023-01-11T17:12:04.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:12:04.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:12:04.979Z] Configure a credential helper to remove this warning. See [2023-01-11T17:12:04.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:12:04.979Z] [2023-01-11T17:12:04.979Z] Login Succeeded [2023-01-11T17:12:04.979Z] docker.io [2023-01-11T17:12:05.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:12:05.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:12:05.237Z] Configure a credential helper to remove this warning. See [2023-01-11T17:12:05.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:12:05.237Z] [2023-01-11T17:12:05.237Z] Login Succeeded [2023-01-11T17:12:05.237Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T17:12:05.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T17:12:05.300Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T17:12:05.312Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T17:12:05.318Z] ========================================================= [2023-01-11T17:12:05.318Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-11T17:12:05.318Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:12:05.623Z] + 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-01-11T17:12:05.623Z] Sending build context to Docker daemon 10.46MB [2023-01-11T17:12:05.623Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T17:12:05.623Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-11T17:12:05.623Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-11T17:12:05.623Z] 213ec9aee27d: Pulling fs layer [2023-01-11T17:12:05.623Z] 4583459ba037: Pulling fs layer [2023-01-11T17:12:05.623Z] 93c1e223e6f2: Pulling fs layer [2023-01-11T17:12:05.623Z] 53926ce57604: Pulling fs layer [2023-01-11T17:12:05.623Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-11T17:12:05.623Z] 22ff95d597cd: Pulling fs layer [2023-01-11T17:12:05.623Z] 12d6caf4c0d1: Pulling fs layer [2023-01-11T17:12:05.623Z] 96b7cbca73a9: Pulling fs layer [2023-01-11T17:12:05.623Z] a7acece74701: Pulling fs layer [2023-01-11T17:12:05.623Z] 22ff95d597cd: Waiting [2023-01-11T17:12:05.623Z] 12d6caf4c0d1: Waiting [2023-01-11T17:12:05.623Z] 96b7cbca73a9: Waiting [2023-01-11T17:12:05.623Z] a7acece74701: Waiting [2023-01-11T17:12:05.623Z] 53926ce57604: Waiting [2023-01-11T17:12:05.623Z] 21b2b0c7a3f4: Waiting [2023-01-11T17:12:05.885Z] 93c1e223e6f2: Verifying Checksum [2023-01-11T17:12:05.885Z] 93c1e223e6f2: Download complete [2023-01-11T17:12:05.885Z] 4583459ba037: Verifying Checksum [2023-01-11T17:12:05.885Z] 4583459ba037: Download complete [2023-01-11T17:12:05.885Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-11T17:12:05.885Z] 21b2b0c7a3f4: Download complete [2023-01-11T17:12:05.885Z] 22ff95d597cd: Verifying Checksum [2023-01-11T17:12:05.885Z] 22ff95d597cd: Download complete [2023-01-11T17:12:05.885Z] 213ec9aee27d: Verifying Checksum [2023-01-11T17:12:05.885Z] 213ec9aee27d: Download complete [2023-01-11T17:12:05.885Z] 12d6caf4c0d1: Verifying Checksum [2023-01-11T17:12:05.885Z] 12d6caf4c0d1: Download complete [2023-01-11T17:12:05.885Z] 213ec9aee27d: Pull complete [2023-01-11T17:12:06.146Z] 4583459ba037: Pull complete [2023-01-11T17:12:06.146Z] 93c1e223e6f2: Pull complete [2023-01-11T17:12:06.407Z] a7acece74701: Verifying Checksum [2023-01-11T17:12:06.407Z] a7acece74701: Download complete [2023-01-11T17:12:06.664Z] 96b7cbca73a9: Verifying Checksum [2023-01-11T17:12:06.664Z] 96b7cbca73a9: Download complete [2023-01-11T17:12:06.664Z] 53926ce57604: Verifying Checksum [2023-01-11T17:12:06.664Z] 53926ce57604: Download complete [2023-01-11T17:12:10.853Z] 53926ce57604: Pull complete [2023-01-11T17:12:10.853Z] 21b2b0c7a3f4: Pull complete [2023-01-11T17:12:10.853Z] 22ff95d597cd: Pull complete [2023-01-11T17:12:10.853Z] 12d6caf4c0d1: Pull complete [2023-01-11T17:12:12.748Z] 96b7cbca73a9: Pull complete [2023-01-11T17:12:13.315Z] a7acece74701: Pull complete [2023-01-11T17:12:13.315Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-11T17:12:13.315Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-11T17:12:13.315Z] ---> db6d94c90886 [2023-01-11T17:12:13.315Z] Step 3/10 : ARG MAKE=make build [2023-01-11T17:12:15.224Z] ---> Running in d349e22d52d1 [2023-01-11T17:12:15.224Z] Removing intermediate container d349e22d52d1 [2023-01-11T17:12:15.224Z] ---> 9220498054a1 [2023-01-11T17:12:15.224Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-11T17:12:15.224Z] ---> Running in c090b582d0c6 [2023-01-11T17:12:15.224Z] Removing intermediate container c090b582d0c6 [2023-01-11T17:12:15.224Z] ---> 66e9038d6379 [2023-01-11T17:12:15.224Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-11T17:12:15.224Z] ---> Running in 9efd100decbe [2023-01-11T17:12:15.482Z] Removing intermediate container 9efd100decbe [2023-01-11T17:12:15.482Z] ---> 7ce2c103ea87 [2023-01-11T17:12:15.482Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-11T17:12:15.482Z] ---> Running in 5ba6ce8ccebc [2023-01-11T17:12:15.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T17:12:16.001Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T17:12:16.259Z] OK: 211 MiB in 51 packages [2023-01-11T17:12:16.517Z] Removing intermediate container 5ba6ce8ccebc [2023-01-11T17:12:16.517Z] ---> 47b3b525da50 [2023-01-11T17:12:16.517Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-11T17:12:16.776Z] ---> 8bbfd63cbf38 [2023-01-11T17:12:16.776Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T17:12:16.776Z] ---> Running in 1dc01123bed6 [2023-01-11T17:12:19.353Z] Still waiting to schedule task [2023-01-11T17:12:19.354Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-11T17:12:34.865Z] Removing intermediate container 1dc01123bed6 [2023-01-11T17:12:34.865Z] ---> 98882ced21fd [2023-01-11T17:12:34.865Z] Step 9/10 : COPY . . [2023-01-11T17:12:34.865Z] ---> b32018b67ad1 [2023-01-11T17:12:34.865Z] Step 10/10 : RUN ${MAKE} [2023-01-11T17:12:34.865Z] ---> Running in 31e126b51128 [2023-01-11T17:12:34.865Z] noop [2023-01-11T17:12:34.865Z] Removing intermediate container 31e126b51128 [2023-01-11T17:12:34.865Z] ---> e37673d98d7c [2023-01-11T17:12:34.865Z] Successfully built e37673d98d7c [2023-01-11T17:12:34.865Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:12:35.170Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T17:12:35.170Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:12:35.239Z] prd-ubuntu20.04-docker-8c-8g-1876 does not seem to be running inside a container [2023-01-11T17:12:35.267Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1273 -v /w/workspace/gexfoundry_device-sdk-go_PR-1273:/w/workspace/gexfoundry_device-sdk-go_PR-1273:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1273@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1273@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-01-11T17:12:35.638Z] $ docker top 5f0bdb304e3d5da62283a9d19015d3c38733ec440994ecd013b08fc4adcb35a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T17:12:35.983Z] + go version [2023-01-11T17:12:35.983Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-11T17:12:35.998Z] $ docker stop --time=1 5f0bdb304e3d5da62283a9d19015d3c38733ec440994ecd013b08fc4adcb35a4 [2023-01-11T17:12:37.331Z] $ docker rm -f --volumes 5f0bdb304e3d5da62283a9d19015d3c38733ec440994ecd013b08fc4adcb35a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:12:37.705Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T17:12:37.705Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:12:37.764Z] prd-ubuntu20.04-docker-8c-8g-1876 does not seem to be running inside a container [2023-01-11T17:12:37.796Z] $ 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-1273 -v /w/workspace/gexfoundry_device-sdk-go_PR-1273:/w/workspace/gexfoundry_device-sdk-go_PR-1273:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1273@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1273@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-01-11T17:12:38.140Z] $ docker top 90dd96b4e9408e05490f55e11d75ca98b46de0f4d6162235db1dfeb314f87bf3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T17:12:38.483Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1273 [Pipeline] fileExists [Pipeline] sh [2023-01-11T17:12:38.774Z] + make test [2023-01-11T17:12:38.774Z] go test -race -coverprofile=coverage.out ./... [2023-01-11T17:12:45.340Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-11T17:12:57.564Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-11T17:12:57.564Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-11T17:12:57.564Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-11T17:12:57.564Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-11T17:12:57.564Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-11T17:12:57.564Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.070s coverage: 27.6% of statements [2023-01-11T17:12:57.564Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.080s coverage: 78.9% of statements [2023-01-11T17:12:57.564Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-11T17:12:57.564Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.077s coverage: 73.6% of statements [2023-01-11T17:12:57.564Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-11T17:12:57.564Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-11T17:12:57.823Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.126s coverage: 54.4% of statements [2023-01-11T17:12:57.823Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-11T17:12:57.823Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-11T17:12:57.823Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-11T17:12:57.823Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-11T17:12:57.823Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.085s coverage: 65.1% of statements [2023-01-11T17:12:57.823Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-11T17:12:57.823Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-11T17:12:57.823Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.718s coverage: 89.2% of statements [2023-01-11T17:12:57.823Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-11T17:12:58.081Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 4.6% of statements [2023-01-11T17:12:58.081Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-11T17:13:12.963Z] 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-01-11T17:13:12.963Z] GO111MODULE=on go vet ./... [2023-01-11T17:13:15.489Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T17:13:15.489Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T17:13:15.489Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T17:13:15.503Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T17:13:15.519Z] $ docker stop --time=1 90dd96b4e9408e05490f55e11d75ca98b46de0f4d6162235db1dfeb314f87bf3 [2023-01-11T17:13:17.980Z] $ docker rm -f --volumes 90dd96b4e9408e05490f55e11d75ca98b46de0f4d6162235db1dfeb314f87bf3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T17:13:18.449Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T17:13:18.534Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-11T17:13:19.005Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T17:13:19.288Z] + ls -al . [2023-01-11T17:13:19.288Z] total 280 [2023-01-11T17:13:19.288Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 17:12 . [2023-01-11T17:13:19.288Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:11 .. [2023-01-11T17:13:19.288Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 17:11 .dockerignore [2023-01-11T17:13:19.288Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 17:12 .git [2023-01-11T17:13:19.288Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 17:11 .github [2023-01-11T17:13:19.288Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 11 17:11 .gitignore [2023-01-11T17:13:19.288Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 17:11 .golangci.yml [2023-01-11T17:13:19.289Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 17:12 .semver [2023-01-11T17:13:19.289Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 11 17:11 CHANGELOG.md [2023-01-11T17:13:19.289Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 17:11 GOVERNANCE.md [2023-01-11T17:13:19.289Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 11 17:11 Jenkinsfile [2023-01-11T17:13:19.289Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 11 17:11 LICENSE [2023-01-11T17:13:19.289Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 11 17:11 Makefile [2023-01-11T17:13:19.289Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 11 17:11 OWNERS.md [2023-01-11T17:13:19.289Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 11 17:11 README.md [2023-01-11T17:13:19.289Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 17:12 VERSION [2023-01-11T17:13:19.289Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 17:11 bin [2023-01-11T17:13:19.289Z] -rw-r--r-- 1 jenkins jenkins 101914 Jan 11 17:12 coverage.out [2023-01-11T17:13:19.289Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 17:11 example [2023-01-11T17:13:19.289Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 11 17:11 go.mod [2023-01-11T17:13:19.289Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 11 17:11 go.sum [2023-01-11T17:13:19.289Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 11 17:11 internal [2023-01-11T17:13:19.289Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:11 openapi [2023-01-11T17:13:19.289Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 11 17:11 pkg [2023-01-11T17:13:19.289Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:11 snap [2023-01-11T17:13:19.289Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 11 17:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:13:19.600Z] + 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=cd4a0eed0038da1c8145d71008b73b1332bc4494 --label arch=amd64 --label version=0.0.0 . [2023-01-11T17:13:19.600Z] Sending build context to Docker daemon 10.56MB [2023-01-11T17:13:19.600Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T17:13:19.600Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-11T17:13:19.600Z] ---> e37673d98d7c [2023-01-11T17:13:19.600Z] Step 3/23 : ARG MAKE=make build [2023-01-11T17:13:19.859Z] ---> Running in 28fc5ddfc859 [2023-01-11T17:13:19.859Z] Removing intermediate container 28fc5ddfc859 [2023-01-11T17:13:19.859Z] ---> 5a2a2f27480f [2023-01-11T17:13:19.859Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-11T17:13:19.859Z] ---> Running in fd5fe0681d80 [2023-01-11T17:13:19.859Z] Removing intermediate container fd5fe0681d80 [2023-01-11T17:13:19.859Z] ---> 370e888ad63d [2023-01-11T17:13:19.859Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-11T17:13:20.118Z] ---> Running in 717f334494cf [2023-01-11T17:13:20.118Z] Removing intermediate container 717f334494cf [2023-01-11T17:13:20.118Z] ---> 7bc4c28b6a32 [2023-01-11T17:13:20.118Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-11T17:13:20.118Z] ---> Running in cbd7f577635e [2023-01-11T17:13:20.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T17:13:20.637Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T17:13:20.897Z] OK: 211 MiB in 51 packages [2023-01-11T17:13:21.155Z] Removing intermediate container cbd7f577635e [2023-01-11T17:13:21.155Z] ---> 20de6f11b747 [2023-01-11T17:13:21.155Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-11T17:13:21.413Z] ---> 6dbfd440bb89 [2023-01-11T17:13:21.413Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T17:13:21.413Z] ---> Running in a9c8f44fd349 [2023-01-11T17:13:21.977Z] Removing intermediate container a9c8f44fd349 [2023-01-11T17:13:21.977Z] ---> 6f9aad4eb7c2 [2023-01-11T17:13:21.977Z] Step 9/23 : COPY . . [2023-01-11T17:13:22.544Z] ---> c99e517da3cf [2023-01-11T17:13:22.544Z] Step 10/23 : RUN ${MAKE} [2023-01-11T17:13:22.544Z] ---> Running in 8340d366a182 [2023-01-11T17:13:22.802Z] 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-01-11T17:13:40.877Z] Removing intermediate container 8340d366a182 [2023-01-11T17:13:40.877Z] ---> aa2752670ffa [2023-01-11T17:13:40.877Z] Step 11/23 : FROM alpine:3.16 [2023-01-11T17:13:40.877Z] 3.16: Pulling from library/alpine [2023-01-11T17:13:40.877Z] ca7dd9ec2225: Pulling fs layer [2023-01-11T17:13:40.877Z] ca7dd9ec2225: Verifying Checksum [2023-01-11T17:13:40.877Z] ca7dd9ec2225: Download complete [2023-01-11T17:13:40.877Z] ca7dd9ec2225: Pull complete [2023-01-11T17:13:40.877Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T17:13:40.877Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T17:13:40.877Z] ---> bfe296a52501 [2023-01-11T17:13:40.877Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-11T17:13:40.877Z] ---> Running in b1923277e5c2 [2023-01-11T17:13:40.877Z] Removing intermediate container b1923277e5c2 [2023-01-11T17:13:40.877Z] ---> f22376a42194 [2023-01-11T17:13:40.877Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-11T17:13:40.877Z] ---> Running in e5e275a7e570 [2023-01-11T17:13:40.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T17:13:40.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T17:13:40.877Z] OK: 6 MiB in 14 packages [2023-01-11T17:13:41.136Z] Removing intermediate container e5e275a7e570 [2023-01-11T17:13:41.136Z] ---> 5ed59e80cdfa [2023-01-11T17:13:41.136Z] Step 14/23 : WORKDIR / [2023-01-11T17:13:41.394Z] ---> Running in 1251b58d015a [2023-01-11T17:13:41.394Z] Removing intermediate container 1251b58d015a [2023-01-11T17:13:41.394Z] ---> 445b0a06d453 [2023-01-11T17:13:41.394Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-11T17:13:41.394Z] ---> 3f89795fbf74 [2023-01-11T17:13:41.394Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-11T17:13:41.961Z] ---> 31dbd2b2c1a5 [2023-01-11T17:13:41.962Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-11T17:13:42.221Z] ---> 9312880702fc [2023-01-11T17:13:42.221Z] Step 18/23 : EXPOSE 59999 [2023-01-11T17:13:42.221Z] ---> Running in c1f81b433ee6 [2023-01-11T17:13:42.221Z] Removing intermediate container c1f81b433ee6 [2023-01-11T17:13:42.221Z] ---> 9dcb66d11f43 [2023-01-11T17:13:42.221Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-11T17:13:42.480Z] ---> Running in 86725a5c01fa [2023-01-11T17:13:42.480Z] Removing intermediate container 86725a5c01fa [2023-01-11T17:13:42.480Z] ---> 3484ed6209c1 [2023-01-11T17:13:42.480Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-11T17:13:42.480Z] ---> Running in dd5d4be6da45 [2023-01-11T17:13:42.480Z] Removing intermediate container dd5d4be6da45 [2023-01-11T17:13:42.480Z] ---> fea298c110b6 [2023-01-11T17:13:42.480Z] Step 21/23 : LABEL arch=amd64 [2023-01-11T17:13:42.739Z] ---> Running in 7d425ff1cc8c [2023-01-11T17:13:42.739Z] Removing intermediate container 7d425ff1cc8c [2023-01-11T17:13:42.739Z] ---> 23b5ef8843d9 [2023-01-11T17:13:42.739Z] Step 22/23 : LABEL git_sha=cd4a0eed0038da1c8145d71008b73b1332bc4494 [2023-01-11T17:13:42.739Z] ---> Running in 9ce795610484 [2023-01-11T17:13:42.739Z] Removing intermediate container 9ce795610484 [2023-01-11T17:13:42.739Z] ---> 8381d6bcebd6 [2023-01-11T17:13:42.739Z] Step 23/23 : LABEL version=0.0.0 [2023-01-11T17:13:42.998Z] ---> Running in 8eb8b3eee0c6 [2023-01-11T17:13:42.998Z] Removing intermediate container 8eb8b3eee0c6 [2023-01-11T17:13:42.998Z] ---> b5d7b44b14e4 [2023-01-11T17:13:42.998Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T17:13:42.998Z] Successfully built b5d7b44b14e4 [2023-01-11T17:13:42.998Z] 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-01-11T17:13:43.485Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T17:13:43.485Z] [2023-01-11T17:13:43.485Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:13:43.785Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T17:13:43.785Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-11T17:13:43.785Z] 5eb5b503b376: Pulling fs layer [2023-01-11T17:13:43.785Z] 5c69ac0246d0: Pulling fs layer [2023-01-11T17:13:43.785Z] ec43610c2a17: Pulling fs layer [2023-01-11T17:13:43.785Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-11T17:13:43.785Z] 33b1e0a273af: Pulling fs layer [2023-01-11T17:13:43.785Z] 5d3b04190fa2: Pulling fs layer [2023-01-11T17:13:43.785Z] 2f39f015ded8: Pulling fs layer [2023-01-11T17:13:43.785Z] 3a2ae6a8a46f: Waiting [2023-01-11T17:13:43.785Z] 33b1e0a273af: Waiting [2023-01-11T17:13:43.785Z] 5d3b04190fa2: Waiting [2023-01-11T17:13:43.785Z] 5c69ac0246d0: Download complete [2023-01-11T17:13:43.785Z] 3a2ae6a8a46f: Download complete [2023-01-11T17:13:43.785Z] 33b1e0a273af: Verifying Checksum [2023-01-11T17:13:44.045Z] 33b1e0a273af: Download complete [2023-01-11T17:13:44.045Z] 5d3b04190fa2: Verifying Checksum [2023-01-11T17:13:44.045Z] 5d3b04190fa2: Download complete [2023-01-11T17:13:44.045Z] ec43610c2a17: Verifying Checksum [2023-01-11T17:13:44.045Z] ec43610c2a17: Download complete [2023-01-11T17:13:44.045Z] 5eb5b503b376: Verifying Checksum [2023-01-11T17:13:44.045Z] 5eb5b503b376: Download complete [2023-01-11T17:13:44.617Z] 2f39f015ded8: Download complete [2023-01-11T17:13:45.184Z] 5eb5b503b376: Pull complete [2023-01-11T17:13:45.443Z] 5c69ac0246d0: Pull complete [2023-01-11T17:13:45.702Z] ec43610c2a17: Pull complete [2023-01-11T17:13:45.702Z] 3a2ae6a8a46f: Pull complete [2023-01-11T17:13:45.960Z] 33b1e0a273af: Pull complete [2023-01-11T17:13:46.218Z] 5d3b04190fa2: Pull complete [2023-01-11T17:13:50.376Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1877 in /w/workspace/gexfoundry_device-sdk-go_PR-1273 [Pipeline] { [Pipeline] ws [2023-01-11T17:13:50.388Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2023-01-11T17:13:50.407Z] 2f39f015ded8: Pull complete [2023-01-11T17:13:50.407Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-11T17:13:50.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T17:13:50.407Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [2023-01-11T17:13:50.418Z] The recommended git tool is: git [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:13:50.492Z] prd-ubuntu20.04-docker-8c-8g-1876 does not seem to be running inside a container [2023-01-11T17:13:50.526Z] $ 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-1273 -v /w/workspace/gexfoundry_device-sdk-go_PR-1273:/w/workspace/gexfoundry_device-sdk-go_PR-1273:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1273@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1273@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-01-11T17:13:52.211Z] $ docker top 8c76acb518a55a1482be258e71201663079b61b5b79180f81eaf7a660d8c1602 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:13:52.582Z] ---> job-cost.sh [2023-01-11T17:13:52.582Z] lf-activate-venv: SKIPPING [2023-01-11T17:13:52.582Z] INFO: No Stack... [2023-01-11T17:13:52.840Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T17:13:53.098Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T17:13:53.392Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1273/archives/cost.csv [2023-01-11T17:13:53.392Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T17:13:53.407Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1273-4-stack-cost] [2023-01-11T17:13:53.413Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1273-4-stack-cost] did not exist. Created. [2023-01-11T17:13:53.413Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1273-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T17:13:53.720Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-11T17:13:53.753Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T17:13:53.759Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1273-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T17:13:53.782Z] $ docker stop --time=1 8c76acb518a55a1482be258e71201663079b61b5b79180f81eaf7a660d8c1602 [2023-01-11T17:13:54.951Z] $ docker rm -f --volumes 8c76acb518a55a1482be258e71201663079b61b5b79180f81eaf7a660d8c1602 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-11T17:13:55.282Z] using credential edgex-jenkins-ssh [2023-01-11T17:13:55.298Z] Cloning the remote Git repository [2023-01-11T17:13:55.335Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-11T17:13:55.409Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2023-01-11T17:13:55.546Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-11T17:13:55.547Z] > git --version # timeout=10 [2023-01-11T17:13:55.567Z] > git --version # 'git version 2.25.1' [2023-01-11T17:13:55.569Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T17:13:55.623Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T17:13:57.144Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-11T17:13:57.161Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T17:13:58.603Z] Merging remotes/origin/main commit 8025d415256bff1d08fe37ed408de885b1f3053d into PR head commit cd4a0eed0038da1c8145d71008b73b1332bc4494 [2023-01-11T17:13:58.827Z] Merge succeeded, producing cd4a0eed0038da1c8145d71008b73b1332bc4494 [2023-01-11T17:13:58.827Z] Checking out Revision cd4a0eed0038da1c8145d71008b73b1332bc4494 (PR-1273) [2023-01-11T17:13:57.913Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-11T17:13:57.949Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-11T17:13:57.950Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T17:13:57.965Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1273/head:refs/remotes/origin/PR-1273 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-11T17:13:58.616Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T17:13:58.645Z] > git checkout -f cd4a0eed0038da1c8145d71008b73b1332bc4494 # timeout=10 [2023-01-11T17:13:58.739Z] > git remote # timeout=10 [2023-01-11T17:13:58.755Z] > git config --get remote.origin.url # timeout=10 [2023-01-11T17:13:58.769Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T17:13:58.781Z] > git merge 8025d415256bff1d08fe37ed408de885b1f3053d # timeout=10 [2023-01-11T17:13:58.802Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-11T17:13:58.830Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T17:13:58.841Z] > git checkout -f cd4a0eed0038da1c8145d71008b73b1332bc4494 # timeout=10 [2023-01-11T17:14:02.292Z] Commit message: "fix: Replaced missed MessageQueue with MessageBus" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T17:14:03.497Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-11T17:14:03.497Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T17:14:03.497Z] Dload Upload Total Spent Left Speed [2023-01-11T17:14:03.497Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 78226 0 --:--:-- --:--:-- --:--:-- 78226 [Pipeline] sh [2023-01-11T17:14:04.181Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-11T17:14:04.520Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-11T17:14:04.520Z] + sudo tee /etc/docker/daemon.new [2023-01-11T17:14:04.520Z] { [2023-01-11T17:14:04.520Z] "registry-mirrors": [ [2023-01-11T17:14:04.520Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-11T17:14:04.520Z] ], [2023-01-11T17:14:04.520Z] "bip": "10.250.0.254/24", [2023-01-11T17:14:04.520Z] "hosts": [ [2023-01-11T17:14:04.520Z] "tcp://0.0.0.0:5555", [2023-01-11T17:14:04.520Z] "unix:///var/run/docker.sock" [2023-01-11T17:14:04.520Z] ], [2023-01-11T17:14:04.520Z] "mtu": 1458, [2023-01-11T17:14:04.520Z] "selinux-enabled": true, [2023-01-11T17:14:04.520Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-11T17:14:04.520Z] } [Pipeline] sh [2023-01-11T17:14:04.865Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-11T17:14:05.197Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T17:14:23.455Z] provisioning config files... [2023-01-11T17:14:23.479Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config6590269297944904492tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:14:23.820Z] ---> docker-login.sh [2023-01-11T17:14:23.821Z] nexus3.edgexfoundry.org:10001 [2023-01-11T17:14:24.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:14:24.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:14:24.361Z] Configure a credential helper to remove this warning. See [2023-01-11T17:14:24.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:14:24.361Z] [2023-01-11T17:14:24.361Z] Login Succeeded [2023-01-11T17:14:24.361Z] nexus3.edgexfoundry.org:10002 [2023-01-11T17:14:24.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:14:24.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:14:24.635Z] Configure a credential helper to remove this warning. See [2023-01-11T17:14:24.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:14:24.635Z] [2023-01-11T17:14:24.636Z] Login Succeeded [2023-01-11T17:14:24.636Z] nexus3.edgexfoundry.org:10003 [2023-01-11T17:14:24.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:14:25.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:14:25.170Z] Configure a credential helper to remove this warning. See [2023-01-11T17:14:25.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:14:25.170Z] [2023-01-11T17:14:25.170Z] Login Succeeded [2023-01-11T17:14:25.170Z] nexus3.edgexfoundry.org:10004 [2023-01-11T17:14:25.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:14:25.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:14:25.437Z] Configure a credential helper to remove this warning. See [2023-01-11T17:14:25.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:14:25.437Z] [2023-01-11T17:14:25.437Z] Login Succeeded [2023-01-11T17:14:25.437Z] docker.io [2023-01-11T17:14:25.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T17:14:25.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T17:14:25.972Z] Configure a credential helper to remove this warning. See [2023-01-11T17:14:25.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T17:14:25.972Z] [2023-01-11T17:14:25.972Z] Login Succeeded [2023-01-11T17:14:25.972Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T17:14:25.985Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T17:14:26.233Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T17:14:26.246Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T17:14:26.256Z] ========================================================= [2023-01-11T17:14:26.256Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-11T17:14:26.256Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:14:26.595Z] + 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-01-11T17:14:26.866Z] Sending build context to Docker daemon 5.643MB [2023-01-11T17:14:26.866Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T17:14:26.866Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-11T17:14:27.137Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-11T17:14:27.137Z] 9b18e9b68314: Pulling fs layer [2023-01-11T17:14:27.137Z] 35d82f9e3411: Pulling fs layer [2023-01-11T17:14:27.137Z] e16973657156: Pulling fs layer [2023-01-11T17:14:27.137Z] fc693d55d65f: Pulling fs layer [2023-01-11T17:14:27.137Z] 7e9fc2657dce: Pulling fs layer [2023-01-11T17:14:27.137Z] dda99020689f: Pulling fs layer [2023-01-11T17:14:27.137Z] db1c61fa0a46: Pulling fs layer [2023-01-11T17:14:27.137Z] 891c053d2c06: Pulling fs layer [2023-01-11T17:14:27.137Z] 7e9fc2657dce: Waiting [2023-01-11T17:14:27.137Z] dda99020689f: Waiting [2023-01-11T17:14:27.137Z] 891c053d2c06: Waiting [2023-01-11T17:14:27.137Z] db1c61fa0a46: Waiting [2023-01-11T17:14:27.137Z] e16973657156: Verifying Checksum [2023-01-11T17:14:27.137Z] e16973657156: Download complete [2023-01-11T17:14:27.137Z] 35d82f9e3411: Download complete [2023-01-11T17:14:27.137Z] 7e9fc2657dce: Verifying Checksum [2023-01-11T17:14:27.411Z] 7e9fc2657dce: Download complete [2023-01-11T17:14:27.411Z] 9b18e9b68314: Verifying Checksum [2023-01-11T17:14:27.411Z] 9b18e9b68314: Download complete [2023-01-11T17:14:27.411Z] dda99020689f: Verifying Checksum [2023-01-11T17:14:27.411Z] dda99020689f: Download complete [2023-01-11T17:14:28.386Z] 9b18e9b68314: Pull complete [2023-01-11T17:14:28.386Z] 891c053d2c06: Verifying Checksum [2023-01-11T17:14:28.386Z] 891c053d2c06: Download complete [2023-01-11T17:14:28.975Z] 35d82f9e3411: Pull complete [2023-01-11T17:14:29.249Z] e16973657156: Pull complete [2023-01-11T17:14:29.841Z] db1c61fa0a46: Verifying Checksum [2023-01-11T17:14:29.841Z] db1c61fa0a46: Download complete [2023-01-11T17:14:30.111Z] fc693d55d65f: Verifying Checksum [2023-01-11T17:14:30.111Z] fc693d55d65f: Download complete [2023-01-11T17:14:42.471Z] fc693d55d65f: Pull complete [2023-01-11T17:14:42.471Z] 7e9fc2657dce: Pull complete [2023-01-11T17:14:42.471Z] dda99020689f: Pull complete [2023-01-11T17:14:47.824Z] db1c61fa0a46: Pull complete [2023-01-11T17:14:49.771Z] 891c053d2c06: Pull complete [2023-01-11T17:14:49.771Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-11T17:14:49.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-11T17:14:49.771Z] ---> f96f9c87975a [2023-01-11T17:14:49.771Z] Step 3/10 : ARG MAKE=make build [2023-01-11T17:14:51.720Z] ---> Running in b37377adcbfa [2023-01-11T17:14:51.987Z] Removing intermediate container b37377adcbfa [2023-01-11T17:14:51.987Z] ---> 3b83c365bbdf [2023-01-11T17:14:51.987Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-11T17:14:51.987Z] ---> Running in 47a59ca2bd74 [2023-01-11T17:14:52.257Z] Removing intermediate container 47a59ca2bd74 [2023-01-11T17:14:52.257Z] ---> 6ad5ecf0b687 [2023-01-11T17:14:52.257Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-11T17:14:52.526Z] ---> Running in c5902a9a95fc [2023-01-11T17:14:52.794Z] Removing intermediate container c5902a9a95fc [2023-01-11T17:14:52.794Z] ---> 7047c6b5492e [2023-01-11T17:14:52.794Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-11T17:14:52.794Z] ---> Running in 331e24976464 [2023-01-11T17:14:53.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T17:14:54.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T17:14:54.988Z] OK: 221 MiB in 51 packages [2023-01-11T17:14:55.954Z] Removing intermediate container 331e24976464 [2023-01-11T17:14:55.954Z] ---> 46c5fd36d673 [2023-01-11T17:14:55.954Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-11T17:14:58.535Z] ---> 0964646d12b6 [2023-01-11T17:14:58.535Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T17:14:58.535Z] ---> Running in f93156173f40 [2023-01-11T17:15:54.961Z] Removing intermediate container f93156173f40 [2023-01-11T17:15:54.961Z] ---> 3d440a2670be [2023-01-11T17:15:54.961Z] Step 9/10 : COPY . . [2023-01-11T17:15:54.961Z] ---> a397168febd9 [2023-01-11T17:15:54.961Z] Step 10/10 : RUN ${MAKE} [2023-01-11T17:15:54.961Z] ---> Running in 2aeb81f658e5 [2023-01-11T17:15:54.961Z] noop [2023-01-11T17:15:54.961Z] Removing intermediate container 2aeb81f658e5 [2023-01-11T17:15:54.961Z] ---> e1c76926c7ec [2023-01-11T17:15:54.961Z] Successfully built e1c76926c7ec [2023-01-11T17:15:54.961Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:15:55.304Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T17:15:55.304Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:15:55.483Z] prd-ubuntu20.04-docker-arm64-4c-16g-1877 does not seem to be running inside a container [2023-01-11T17:15:55.549Z] $ 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-01-11T17:15:56.784Z] $ docker top be936bf225c609ed3e0d1c6d4a1fac45b9c0587ff9747656f60efcac725a2844 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T17:15:57.607Z] + go version [2023-01-11T17:15:57.607Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-11T17:15:57.633Z] $ docker stop --time=1 be936bf225c609ed3e0d1c6d4a1fac45b9c0587ff9747656f60efcac725a2844 [2023-01-11T17:15:59.251Z] $ docker rm -f --volumes be936bf225c609ed3e0d1c6d4a1fac45b9c0587ff9747656f60efcac725a2844 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:15:59.763Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T17:15:59.763Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:15:59.949Z] prd-ubuntu20.04-docker-arm64-4c-16g-1877 does not seem to be running inside a container [2023-01-11T17:16:00.019Z] $ 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-01-11T17:16:01.115Z] $ docker top 2db30908b4ffda163d226e192ab78c9605cc4a603b6ff1821f86d2bd9fcd4408 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T17:16:01.624Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2023-01-11T17:16:01.952Z] + make test [2023-01-11T17:16:01.952Z] go test -race -coverprofile=coverage.out ./... [2023-01-11T17:16:34.207Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-11T17:18:25.898Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-11T17:18:25.898Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-11T17:18:25.898Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-11T17:18:25.898Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-11T17:18:25.898Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-11T17:18:31.251Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.509s coverage: 27.6% of statements [2023-01-11T17:18:33.217Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.727s coverage: 78.9% of statements [2023-01-11T17:18:33.217Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-11T17:18:39.862Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.485s coverage: 73.6% of statements [2023-01-11T17:18:39.862Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-11T17:18:39.862Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-11T17:18:42.470Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.620s coverage: 54.4% of statements [2023-01-11T17:18:42.470Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-11T17:18:42.470Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-11T17:18:42.470Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-11T17:18:42.470Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-11T17:18:42.470Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.461s coverage: 65.1% of statements [2023-01-11T17:18:42.470Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-11T17:18:42.470Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-11T17:18:43.890Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.380s coverage: 89.2% of statements [2023-01-11T17:18:43.890Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-11T17:18:43.890Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.351s coverage: 4.6% of statements [2023-01-11T17:18:43.890Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-11T17:18:44.859Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-11T17:18:44.859Z] GO111MODULE=on go vet ./... [2023-01-11T17:20:36.553Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T17:20:36.553Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T17:20:36.553Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T17:20:36.574Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T17:20:36.596Z] $ docker stop --time=1 2db30908b4ffda163d226e192ab78c9605cc4a603b6ff1821f86d2bd9fcd4408 [2023-01-11T17:20:38.409Z] $ docker rm -f --volumes 2db30908b4ffda163d226e192ab78c9605cc4a603b6ff1821f86d2bd9fcd4408 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T17:20:39.816Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T17:20:39.840Z] Warning: overwriting stash ‘coverage-report’ [2023-01-11T17:20:40.509Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T17:20:40.887Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T17:20:41.220Z] + ls -al . [2023-01-11T17:20:41.220Z] total 276 [2023-01-11T17:20:41.220Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 17:16 . [2023-01-11T17:20:41.220Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:13 .. [2023-01-11T17:20:41.220Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 17:13 .dockerignore [2023-01-11T17:20:41.220Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 17:13 .git [2023-01-11T17:20:41.220Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 17:13 .github [2023-01-11T17:20:41.220Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 11 17:13 .gitignore [2023-01-11T17:20:41.220Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 17:13 .golangci.yml [2023-01-11T17:20:41.220Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 11 17:13 CHANGELOG.md [2023-01-11T17:20:41.220Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 17:13 GOVERNANCE.md [2023-01-11T17:20:41.220Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 11 17:13 Jenkinsfile [2023-01-11T17:20:41.220Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 11 17:13 LICENSE [2023-01-11T17:20:41.220Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 11 17:13 Makefile [2023-01-11T17:20:41.220Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 11 17:13 OWNERS.md [2023-01-11T17:20:41.220Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 11 17:13 README.md [2023-01-11T17:20:41.220Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 17:12 VERSION [2023-01-11T17:20:41.220Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 17:13 bin [2023-01-11T17:20:41.220Z] -rw-r--r-- 1 jenkins jenkins 101913 Jan 11 17:18 coverage.out [2023-01-11T17:20:41.220Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 17:13 example [2023-01-11T17:20:41.220Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 11 17:13 go.mod [2023-01-11T17:20:41.220Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 11 17:13 go.sum [2023-01-11T17:20:41.220Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 11 17:13 internal [2023-01-11T17:20:41.220Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 17:13 openapi [2023-01-11T17:20:41.220Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 11 17:13 pkg [2023-01-11T17:20:41.220Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 17:13 snap [2023-01-11T17:20:41.220Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 11 17:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:20:41.594Z] + 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=cd4a0eed0038da1c8145d71008b73b1332bc4494 --label arch=arm64 --label version=0.0.0 . [2023-01-11T17:20:42.196Z] Sending build context to Docker daemon 5.746MB [2023-01-11T17:20:42.196Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T17:20:42.196Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-11T17:20:42.196Z] ---> e1c76926c7ec [2023-01-11T17:20:42.196Z] Step 3/23 : ARG MAKE=make build [2023-01-11T17:20:42.196Z] ---> Running in d1be923ea387 [2023-01-11T17:20:42.464Z] Removing intermediate container d1be923ea387 [2023-01-11T17:20:42.464Z] ---> 7cd5f73e54c4 [2023-01-11T17:20:42.464Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-11T17:20:42.735Z] ---> Running in b20fca5bee99 [2023-01-11T17:20:43.003Z] Removing intermediate container b20fca5bee99 [2023-01-11T17:20:43.003Z] ---> 0d002cdb871b [2023-01-11T17:20:43.003Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-11T17:20:43.003Z] ---> Running in 3294ba081136 [2023-01-11T17:20:43.271Z] Removing intermediate container 3294ba081136 [2023-01-11T17:20:43.271Z] ---> ff7ae4e359a9 [2023-01-11T17:20:43.271Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-11T17:20:43.539Z] ---> Running in 1681043dcd0c [2023-01-11T17:20:44.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T17:20:45.084Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T17:20:46.050Z] OK: 221 MiB in 51 packages [2023-01-11T17:20:47.014Z] Removing intermediate container 1681043dcd0c [2023-01-11T17:20:47.014Z] ---> bca3cb7c448c [2023-01-11T17:20:47.014Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-11T17:20:47.608Z] ---> 98432d7c607f [2023-01-11T17:20:47.608Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T17:20:47.608Z] ---> Running in 6249d5fc6ce4 [2023-01-11T17:20:49.569Z] Removing intermediate container 6249d5fc6ce4 [2023-01-11T17:20:49.569Z] ---> aefda88987d3 [2023-01-11T17:20:49.569Z] Step 9/23 : COPY . . [2023-01-11T17:20:50.980Z] ---> ceff9d0a1935 [2023-01-11T17:20:50.980Z] Step 10/23 : RUN ${MAKE} [2023-01-11T17:20:50.980Z] ---> Running in 59f39076a7e8 [2023-01-11T17:20:51.943Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-01-11T17:22:58.645Z] Removing intermediate container 59f39076a7e8 [2023-01-11T17:22:58.645Z] ---> 30854a9ac9d8 [2023-01-11T17:22:58.645Z] Step 11/23 : FROM alpine:3.16 [2023-01-11T17:22:58.910Z] 3.16: Pulling from library/alpine [2023-01-11T17:22:59.180Z] 6875df1f5354: Pulling fs layer [2023-01-11T17:22:59.447Z] 6875df1f5354: Verifying Checksum [2023-01-11T17:22:59.447Z] 6875df1f5354: Download complete [2023-01-11T17:22:59.714Z] 6875df1f5354: Pull complete [2023-01-11T17:22:59.714Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T17:22:59.714Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T17:22:59.980Z] ---> 2b4661558fb8 [2023-01-11T17:22:59.980Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-11T17:22:59.980Z] ---> Running in 55ea04e54290 [2023-01-11T17:23:00.249Z] Removing intermediate container 55ea04e54290 [2023-01-11T17:23:00.249Z] ---> 727b5091257b [2023-01-11T17:23:00.249Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-11T17:23:00.250Z] ---> Running in 5404744f21bd [2023-01-11T17:23:01.214Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T17:23:01.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T17:23:02.759Z] OK: 5 MiB in 14 packages [2023-01-11T17:23:03.727Z] Removing intermediate container 5404744f21bd [2023-01-11T17:23:03.727Z] ---> aba985e06da7 [2023-01-11T17:23:03.727Z] Step 14/23 : WORKDIR / [2023-01-11T17:23:03.727Z] ---> Running in 13d817789de6 [2023-01-11T17:23:03.994Z] Removing intermediate container 13d817789de6 [2023-01-11T17:23:03.994Z] ---> af9587b643d1 [2023-01-11T17:23:03.994Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-11T17:23:04.262Z] ---> 1baf0d7801ff [2023-01-11T17:23:04.262Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-11T17:23:06.844Z] ---> d4ee6282553c [2023-01-11T17:23:06.844Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-11T17:23:07.426Z] ---> a55475cd42d1 [2023-01-11T17:23:07.426Z] Step 18/23 : EXPOSE 59999 [2023-01-11T17:23:07.426Z] ---> Running in d0ef3952fde9 [2023-01-11T17:23:07.692Z] Removing intermediate container d0ef3952fde9 [2023-01-11T17:23:07.692Z] ---> f17abc9a47bb [2023-01-11T17:23:07.692Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-11T17:23:07.692Z] ---> Running in c71aac3d8664 [2023-01-11T17:23:07.960Z] Removing intermediate container c71aac3d8664 [2023-01-11T17:23:07.960Z] ---> 84222c4104a4 [2023-01-11T17:23:07.960Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-11T17:23:07.960Z] ---> Running in b22ee45fa4fa [2023-01-11T17:23:08.227Z] Removing intermediate container b22ee45fa4fa [2023-01-11T17:23:08.227Z] ---> e4aaa336800a [2023-01-11T17:23:08.227Z] Step 21/23 : LABEL arch=arm64 [2023-01-11T17:23:08.494Z] ---> Running in 6daa67deca62 [2023-01-11T17:23:08.761Z] Removing intermediate container 6daa67deca62 [2023-01-11T17:23:08.761Z] ---> 93c460506591 [2023-01-11T17:23:08.761Z] Step 22/23 : LABEL git_sha=cd4a0eed0038da1c8145d71008b73b1332bc4494 [2023-01-11T17:23:08.761Z] ---> Running in 2269bdd8d85b [2023-01-11T17:23:09.027Z] Removing intermediate container 2269bdd8d85b [2023-01-11T17:23:09.027Z] ---> af4b46e38ded [2023-01-11T17:23:09.027Z] Step 23/23 : LABEL version=0.0.0 [2023-01-11T17:23:09.027Z] ---> Running in 0b9dfca8e140 [2023-01-11T17:23:09.608Z] Removing intermediate container 0b9dfca8e140 [2023-01-11T17:23:09.608Z] ---> 050b89328831 [2023-01-11T17:23:09.608Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T17:23:09.608Z] Successfully built 050b89328831 [2023-01-11T17:23:09.608Z] 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-01-11T17:23:10.049Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T17:23:10.050Z] [2023-01-11T17:23:10.050Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:23:10.379Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T17:23:10.379Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-11T17:23:10.379Z] 8998bd30e6a1: Pulling fs layer [2023-01-11T17:23:10.379Z] 04944245beec: Pulling fs layer [2023-01-11T17:23:10.379Z] 699f458cf7ca: Pulling fs layer [2023-01-11T17:23:10.379Z] 765212b225bb: Pulling fs layer [2023-01-11T17:23:10.379Z] f23df028b6ca: Pulling fs layer [2023-01-11T17:23:10.379Z] d65c8cfc05b1: Pulling fs layer [2023-01-11T17:23:10.379Z] 2437ff75d9bd: Pulling fs layer [2023-01-11T17:23:10.379Z] 765212b225bb: Waiting [2023-01-11T17:23:10.379Z] f23df028b6ca: Waiting [2023-01-11T17:23:10.379Z] d65c8cfc05b1: Waiting [2023-01-11T17:23:10.379Z] 2437ff75d9bd: Waiting [2023-01-11T17:23:10.649Z] 04944245beec: Verifying Checksum [2023-01-11T17:23:10.649Z] 04944245beec: Download complete [2023-01-11T17:23:10.649Z] 765212b225bb: Verifying Checksum [2023-01-11T17:23:10.649Z] 765212b225bb: Download complete [2023-01-11T17:23:10.649Z] f23df028b6ca: Verifying Checksum [2023-01-11T17:23:10.649Z] f23df028b6ca: Download complete [2023-01-11T17:23:10.916Z] d65c8cfc05b1: Verifying Checksum [2023-01-11T17:23:10.916Z] d65c8cfc05b1: Download complete [2023-01-11T17:23:10.916Z] 699f458cf7ca: Verifying Checksum [2023-01-11T17:23:10.916Z] 699f458cf7ca: Download complete [2023-01-11T17:23:11.187Z] 8998bd30e6a1: Verifying Checksum [2023-01-11T17:23:11.187Z] 8998bd30e6a1: Download complete [2023-01-11T17:23:13.771Z] 2437ff75d9bd: Verifying Checksum [2023-01-11T17:23:13.771Z] 2437ff75d9bd: Download complete [2023-01-11T17:23:15.179Z] 8998bd30e6a1: Pull complete [2023-01-11T17:23:15.445Z] 04944245beec: Pull complete [2023-01-11T17:23:16.406Z] 699f458cf7ca: Pull complete [2023-01-11T17:23:16.672Z] 765212b225bb: Pull complete [2023-01-11T17:23:19.257Z] f23df028b6ca: Pull complete [2023-01-11T17:23:19.257Z] d65c8cfc05b1: Pull complete [2023-01-11T17:23:34.258Z] 2437ff75d9bd: Pull complete [2023-01-11T17:23:34.258Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-11T17:23:34.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T17:23:34.258Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:23:34.450Z] prd-ubuntu20.04-docker-arm64-4c-16g-1877 does not seem to be running inside a container [2023-01-11T17:23:34.525Z] $ 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-01-11T17:23:37.148Z] $ docker top 7ef16db4e653768e584b957e754f0cf849a92ae183126c468925c2c636684d0d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:23:37.662Z] ---> job-cost.sh [2023-01-11T17:23:37.928Z] lf-activate-venv: SKIPPING [2023-01-11T17:23:37.928Z] INFO: No Stack... [2023-01-11T17:23:38.519Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-11T17:23:39.098Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T17:23:39.409Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2023-01-11T17:23:39.409Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T17:23:39.462Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1273-4-stack-cost] [2023-01-11T17:23:39.468Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1273-4-stack-cost] did not exist. Created. [2023-01-11T17:23:39.468Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1273-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T17:23:39.792Z] /w/workspace/device-sdk-go/4@tmp/durable-8469a20b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-11T17:23:40.122Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-11T17:23:40.145Z] Warning: overwriting stash ‘stack-cost’ [2023-01-11T17:23:40.205Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T17:23:40.212Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1273-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T17:23:40.235Z] $ docker stop --time=1 7ef16db4e653768e584b957e754f0cf849a92ae183126c468925c2c636684d0d [2023-01-11T17:23:41.706Z] $ docker rm -f --volumes 7ef16db4e653768e584b957e754f0cf849a92ae183126c468925c2c636684d0d [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-01-11T17:23:42.129Z] provisioning config files... [2023-01-11T17:23:42.136Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1273@tmp/config1549217364914184498tmp [Pipeline] { [Pipeline] sh [2023-01-11T17:23:42.430Z] + set +x [2023-01-11T17:23:42.430Z] + + bash -s -- [2023-01-11T17:23:42.430Z] curl -s https://codecov.io/bash [2023-01-11T17:23:42.430Z] [2023-01-11T17:23:42.430Z] _____ _ [2023-01-11T17:23:42.430Z] / ____| | | [2023-01-11T17:23:42.430Z] | | ___ __| | ___ ___ _____ __ [2023-01-11T17:23:42.430Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-11T17:23:42.430Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-11T17:23:42.430Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-11T17:23:42.430Z] Bash-1.0.6 [2023-01-11T17:23:42.430Z] [2023-01-11T17:23:42.430Z] [2023-01-11T17:23:42.430Z] ==> git version 2.25.1 found [2023-01-11T17:23:42.430Z] ==> 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-01-11T17:23:42.430Z] Release-Date: 2020-01-08 [2023-01-11T17:23:42.430Z] 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-01-11T17:23:42.430Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-11T17:23:42.430Z] ==> Jenkins CI detected. [2023-01-11T17:23:42.430Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1273 [2023-01-11T17:23:42.430Z] project root: . [2023-01-11T17:23:42.430Z] --> token set from env [2023-01-11T17:23:42.430Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-11T17:23:42.430Z] ==> Running gcov in . (disable via -X gcov) [2023-01-11T17:23:42.430Z] ==> Python coveragepy not found [2023-01-11T17:23:42.430Z] ==> Searching for coverage reports in: [2023-01-11T17:23:42.430Z] + . [2023-01-11T17:23:42.430Z] -> Found 1 reports [2023-01-11T17:23:42.430Z] ==> Detecting git/mercurial file structure [2023-01-11T17:23:42.430Z] ==> Reading reports [2023-01-11T17:23:42.430Z] + ./coverage.out bytes=101913 [2023-01-11T17:23:42.691Z] ==> Appending adjustments [2023-01-11T17:23:42.691Z] https://docs.codecov.io/docs/fixing-reports [2023-01-11T17:23:42.951Z] + Found adjustments [2023-01-11T17:23:42.951Z] ==> Gzipping contents [2023-01-11T17:23:42.951Z] 16K /tmp/codecov.4ZrHR0.gz [2023-01-11T17:23:42.951Z] ==> Uploading reports [2023-01-11T17:23:42.951Z] url: https://codecov.io [2023-01-11T17:23:42.951Z] query: branch=PR-1273&commit=cd4a0eed0038da1c8145d71008b73b1332bc4494&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1273%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1273&job=&cmd_args= [2023-01-11T17:23:42.951Z] -> Pinging Codecov [2023-01-11T17:23:42.951Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1273&commit=cd4a0eed0038da1c8145d71008b73b1332bc4494&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1273%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1273&job=&cmd_args= [2023-01-11T17:23:43.208Z] -> Uploading to [2023-01-11T17:23:43.208Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-11/7E55EF52A471D76F132DFD9A03CDDE97/cd4a0eed0038da1c8145d71008b73b1332bc4494/a447ee43-a6b1-4329-bb18-8d09df3ff6ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T172342Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=47652e46adc0e76bdec828612d7fc53ef61bc77a589f462c14dc3933bd159047 [2023-01-11T17:23:43.208Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T17:23:43.208Z] Dload Upload Total Spent Left Speed [2023-01-11T17:23:43.467Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14775 0 0 100 14775 0 60306 --:--:-- --:--:-- --:--:-- 60306 [2023-01-11T17:23:43.467Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/cd4a0eed0038da1c8145d71008b73b1332bc4494 [Pipeline] } [2023-01-11T17:23:43.475Z] 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-01-11T17:23:44.188Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1273/archives ] [2023-01-11T17:23:44.188Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1273/archives [2023-01-11T17:23:44.188Z] total 16 [2023-01-11T17:23:44.188Z] drwxr-xr-x 3 root root 4096 Jan 11 17:13 . [2023-01-11T17:23:44.188Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 11 17:13 .. [2023-01-11T17:23:44.188Z] drwxr-xr-x 2 root root 4096 Jan 11 17:13 cost [2023-01-11T17:23:44.188Z] -rw-r--r-- 1 root root 86 Jan 11 17:13 cost.csv [2023-01-11T17:23:44.188Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1273/archives [2023-01-11T17:23:44.188Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1273/archives [2023-01-11T17:23:44.188Z] total 16 [2023-01-11T17:23:44.188Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 17:13 . [2023-01-11T17:23:44.188Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 11 17:13 .. [2023-01-11T17:23:44.188Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 17:13 cost [2023-01-11T17:23:44.188Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 11 17:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:23:44.477Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:23:45.334Z] ---> package-listing.sh [2023-01-11T17:23:45.334Z] ++ facter osfamily [2023-01-11T17:23:45.334Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-11T17:23:45.594Z] + OS_FAMILY=debian [2023-01-11T17:23:45.594Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1273 [2023-01-11T17:23:45.594Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-11T17:23:45.594Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-11T17:23:45.594Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-11T17:23:45.594Z] + PACKAGES=/tmp/packages_start.txt [2023-01-11T17:23:45.594Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1273 ']' [2023-01-11T17:23:45.594Z] + PACKAGES=/tmp/packages_end.txt [2023-01-11T17:23:45.594Z] + case "${OS_FAMILY}" in [2023-01-11T17:23:45.594Z] + dpkg -l [2023-01-11T17:23:45.594Z] + grep '^ii' [2023-01-11T17:23:45.594Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-11T17:23:45.594Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-11T17:23:45.594Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-11T17:23:45.594Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1273 ']' [2023-01-11T17:23:45.594Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1273/archives/ [2023-01-11T17:23:45.594Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1273/archives/ [Pipeline] echo [2023-01-11T17:23:45.604Z] 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-1273/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-11T17:23:45.900Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T17:23:46.196Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T17:23:46.196Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T17:23:46.261Z] prd-ubuntu20.04-docker-8c-8g-1876 does not seem to be running inside a container [2023-01-11T17:23:46.283Z] $ 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-1273/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-1273 -v /w/workspace/gexfoundry_device-sdk-go_PR-1273:/w/workspace/gexfoundry_device-sdk-go_PR-1273:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1273@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1273@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-01-11T17:23:46.531Z] $ docker top 401aa822540aa4c461dba665b4971fec12610125a8479bae0720cecf3b4029f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T17:23:46.875Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-11T17:23:47.161Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-11T17:23:47.445Z] + ls /var/log/sa-host [2023-01-11T17:23:47.446Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T17:23:47.516Z] provisioning config files... [2023-01-11T17:23:47.524Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1273@tmp/config10678697520493389494tmp [Pipeline] { [Pipeline] echo [2023-01-11T17:23:47.540Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:23:47.821Z] ---> create-netrc.sh [Pipeline] } [2023-01-11T17:23:47.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:23:48.160Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-11T17:23:48.169Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:23:48.453Z] ---> sudo-logs.sh [2023-01-11T17:23:48.453Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-11T17:23:48.481Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:23:48.762Z] ---> job-cost.sh [2023-01-11T17:23:48.762Z] lf-activate-venv: SKIPPING [2023-01-11T17:23:48.762Z] DEBUG: total: 0.2199999988079071 [2023-01-11T17:23:48.762Z] INFO: Retrieving Stack Cost... [2023-01-11T17:23:49.329Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T17:23:49.588Z] INFO: Archiving Costs [Pipeline] echo [2023-01-11T17:23:49.601Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T17:23:49.883Z] ---> logs-deploy.sh [2023-01-11T17:23:49.883Z] lf-activate-venv: SKIPPING [2023-01-11T17:23:49.883Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1273/4 [2023-01-11T17:23:49.883Z] INFO: archiving workspace using pattern(s): [2023-01-11T17:23:50.820Z] Archives upload complete. [2023-01-11T17:23:50.820Z] INFO: archiving logs to Nexus