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 ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6+8025d415256bff1d08fe37ed408de885b1f3053d (9b67261e36f7b912effe5bb0730de95ad558c255) 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-ssh9926555442969165341.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-ssh12724963587111296420.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-ssh13972070445615890601.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-ssh991019838309721509.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-ssh11413394915366088552.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-1858 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 ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 Merge succeeded, producing ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 Checking out Revision ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 (PR-1273) > git config core.sparsecheckout # timeout=10 > git checkout -f ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 # 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 ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 # timeout=10 Commit message: "refactor!: Rework code for refactored MessageBus Configuration" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-11T15:22:11.090Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-11T15:22:11.166Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-11T15:22:11.190Z] ========================================================= [2023-01-11T15:22:11.190Z] EdgeX Global Pipelines Version Info [2023-01-11T15:22:11.190Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 275a0e642dc2ca2d737ecb739d008e656c9f4d99 # timeout=10 [2023-01-11T15:22:11.963Z] ------------------- [2023-01-11T15:22:11.963Z] stable info: [2023-01-11T15:22:11.963Z] ------------------- [2023-01-11T15:22:11.963Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-11T15:22:11.963Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T15:22:11.963Z] Message: update stable to v1.0.244 [2023-01-11T15:22:12.535Z] ------------------- [2023-01-11T15:22:12.535Z] experimental info: [2023-01-11T15:22:12.535Z] ------------------- [2023-01-11T15:22:12.535Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-11T15:22:12.535Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T15:22:12.535Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-11T15:22:12.727Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-11T15:22:12.745Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-11T15:22:12.761Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-11T15:22:12.774Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-11T15:22:12.792Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-11T15:22:12.806Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-11T15:22:12.817Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-11T15:22:12.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-11T15:22:12.841Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-11T15:22:12.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-11T15:22:12.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-11T15:22:12.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-11T15:22:12.890Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-11T15:22:12.903Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-11T15:22:12.916Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T15:22:12.927Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T15:22:12.939Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T15:22:12.952Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T15:22:12.967Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-11T15:22:12.986Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-11T15:22:13.003Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-11T15:22:13.018Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-11T15:22:13.031Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-11T15:22:13.046Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-11T15:22:13.060Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-11T15:22:13.075Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-11T15:22:13.089Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-11T15:22:13.099Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1273 [Pipeline] echo [2023-01-11T15:22:13.111Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1273 [Pipeline] echo [2023-01-11T15:22:13.128Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1273 [Pipeline] echo [2023-01-11T15:22:13.140Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 [Pipeline] echo [2023-01-11T15:22:13.155Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ebb4d57 [Pipeline] echo [2023-01-11T15:22:13.165Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T15:22:13.214Z] provisioning config files... [2023-01-11T15:22:13.235Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1273@tmp/config8628256193722260502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:22:13.539Z] ---> docker-login.sh [2023-01-11T15:22:13.539Z] nexus3.edgexfoundry.org:10001 [2023-01-11T15:22:13.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:22:13.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:22:13.799Z] Configure a credential helper to remove this warning. See [2023-01-11T15:22:13.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:22:13.799Z] [2023-01-11T15:22:13.799Z] Login Succeeded [2023-01-11T15:22:13.799Z] nexus3.edgexfoundry.org:10002 [2023-01-11T15:22:13.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:22:13.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:22:13.799Z] Configure a credential helper to remove this warning. See [2023-01-11T15:22:13.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:22:13.799Z] [2023-01-11T15:22:13.799Z] Login Succeeded [2023-01-11T15:22:13.799Z] nexus3.edgexfoundry.org:10003 [2023-01-11T15:22:14.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:22:14.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:22:14.059Z] Configure a credential helper to remove this warning. See [2023-01-11T15:22:14.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:22:14.059Z] [2023-01-11T15:22:14.059Z] Login Succeeded [2023-01-11T15:22:14.059Z] nexus3.edgexfoundry.org:10004 [2023-01-11T15:22:14.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:22:14.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:22:14.059Z] Configure a credential helper to remove this warning. See [2023-01-11T15:22:14.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:22:14.059Z] [2023-01-11T15:22:14.059Z] Login Succeeded [2023-01-11T15:22:14.059Z] docker.io [2023-01-11T15:22:14.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:22:14.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:22:14.578Z] Configure a credential helper to remove this warning. See [2023-01-11T15:22:14.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:22:14.578Z] [2023-01-11T15:22:14.578Z] Login Succeeded [2023-01-11T15:22:14.578Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T15:22:14.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-11T15:22:14.968Z] + git rev-list -1 --merges ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6~1..ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 [Pipeline] echo [2023-01-11T15:22:15.019Z] -----------> git rev-list -1 --merges ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6~1..ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 [false] [Pipeline] sh [2023-01-11T15:22:15.311Z] + git log --format=format:%s -1 ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 [Pipeline] echo [2023-01-11T15:22:15.327Z] ========================================================= [2023-01-11T15:22:15.327Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-11T15:22:15.327Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T15:22:15.645Z] + git log --format=format:%s -1 ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 [Pipeline] echo [2023-01-11T15:22:15.656Z] [semverPrep] GIT_COMMIT: ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6, Commit Message: refactor!: Rework code for refactored MessageBus Configuration [Pipeline] echo [2023-01-11T15:22:15.669Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-11T15:22:16.024Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T15:22:16.024Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-11T15:22:16.024Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-11T15:22:16.024Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-11T15:22:16.024Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-11T15:22:16.024Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-11T15:22:16.024Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T15:22:16.427Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T15:22:16.427Z] [2023-01-11T15:22:16.427Z] 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-11T15:22:16.731Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T15:22:16.731Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-11T15:22:16.731Z] b85a868b505f: Pulling fs layer [2023-01-11T15:22:16.731Z] e2be974225ed: Pulling fs layer [2023-01-11T15:22:16.731Z] 339a4e72a1f5: Pulling fs layer [2023-01-11T15:22:16.731Z] 988bab9f4d93: Pulling fs layer [2023-01-11T15:22:16.731Z] 1469e6f7b9e6: Pulling fs layer [2023-01-11T15:22:16.731Z] eaf3925da568: Pulling fs layer [2023-01-11T15:22:16.731Z] bab4dde63d76: Pulling fs layer [2023-01-11T15:22:16.731Z] bde34c3a00c8: Pulling fs layer [2023-01-11T15:22:16.731Z] b352a97aabf1: Pulling fs layer [2023-01-11T15:22:16.731Z] 4872d77fe225: Pulling fs layer [2023-01-11T15:22:16.731Z] 5851b861e8e6: Pulling fs layer [2023-01-11T15:22:16.731Z] 988bab9f4d93: Waiting [2023-01-11T15:22:16.731Z] eaf3925da568: Waiting [2023-01-11T15:22:16.731Z] 1469e6f7b9e6: Waiting [2023-01-11T15:22:16.731Z] bab4dde63d76: Waiting [2023-01-11T15:22:16.731Z] 4872d77fe225: Waiting [2023-01-11T15:22:16.731Z] 5851b861e8e6: Waiting [2023-01-11T15:22:16.731Z] b352a97aabf1: Waiting [2023-01-11T15:22:16.731Z] e2be974225ed: Verifying Checksum [2023-01-11T15:22:16.731Z] e2be974225ed: Download complete [2023-01-11T15:22:16.731Z] 988bab9f4d93: Verifying Checksum [2023-01-11T15:22:16.731Z] 988bab9f4d93: Download complete [2023-01-11T15:22:16.992Z] 1469e6f7b9e6: Verifying Checksum [2023-01-11T15:22:16.992Z] 1469e6f7b9e6: Download complete [2023-01-11T15:22:16.992Z] eaf3925da568: Verifying Checksum [2023-01-11T15:22:16.992Z] eaf3925da568: Download complete [2023-01-11T15:22:16.992Z] 339a4e72a1f5: Verifying Checksum [2023-01-11T15:22:16.992Z] 339a4e72a1f5: Download complete [2023-01-11T15:22:16.992Z] bde34c3a00c8: Verifying Checksum [2023-01-11T15:22:16.992Z] bde34c3a00c8: Download complete [2023-01-11T15:22:16.992Z] b352a97aabf1: Verifying Checksum [2023-01-11T15:22:16.992Z] b352a97aabf1: Download complete [2023-01-11T15:22:16.992Z] 4872d77fe225: Verifying Checksum [2023-01-11T15:22:16.992Z] 4872d77fe225: Download complete [2023-01-11T15:22:16.992Z] 5851b861e8e6: Verifying Checksum [2023-01-11T15:22:16.992Z] 5851b861e8e6: Download complete [2023-01-11T15:22:16.992Z] b85a868b505f: Verifying Checksum [2023-01-11T15:22:16.992Z] b85a868b505f: Download complete [2023-01-11T15:22:17.250Z] bab4dde63d76: Verifying Checksum [2023-01-11T15:22:17.250Z] bab4dde63d76: Download complete [2023-01-11T15:22:18.186Z] b85a868b505f: Pull complete [2023-01-11T15:22:18.444Z] e2be974225ed: Pull complete [2023-01-11T15:22:19.012Z] 339a4e72a1f5: Pull complete [2023-01-11T15:22:19.012Z] 988bab9f4d93: Pull complete [2023-01-11T15:22:19.271Z] 1469e6f7b9e6: Pull complete [2023-01-11T15:22:19.271Z] eaf3925da568: Pull complete [2023-01-11T15:22:21.176Z] bab4dde63d76: Pull complete [2023-01-11T15:22:21.176Z] bde34c3a00c8: Pull complete [2023-01-11T15:22:21.176Z] b352a97aabf1: Pull complete [2023-01-11T15:22:21.176Z] 4872d77fe225: Pull complete [2023-01-11T15:22:21.176Z] 5851b861e8e6: Pull complete [2023-01-11T15:22:21.176Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-11T15:22:21.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T15:22:21.176Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T15:22:21.264Z] prd-ubuntu20.04-docker-8c-8g-1858 does not seem to be running inside a container [2023-01-11T15:22:21.299Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-11T15:22:23.465Z] $ docker top 3d2697f03dde71044c3fa64c41f4ab35a11384c096bddac425f640a25d228190 -eo pid,comm [2023-01-11T15:22:23.525Z] 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-11T15:22:23.525Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T15:22:23.558Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T15:22:23.558Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T15:22:23.683Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T15:22:23.689Z] $ docker exec 3d2697f03dde71044c3fa64c41f4ab35a11384c096bddac425f640a25d228190 ssh-agent [2023-01-11T15:22:23.805Z] SSH_AUTH_SOCK=/tmp/ssh-16Qo5bdoXEfS/agent.31 [2023-01-11T15:22:23.805Z] SSH_AGENT_PID=37 [2023-01-11T15:22:23.812Z] Running ssh-add (command line suppressed) [2023-01-11T15:22:23.919Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1273@tmp/private_key_12753426409219755915.key (/w/workspace/gexfoundry_device-sdk-go_PR-1273@tmp/private_key_12753426409219755915.key) [2023-01-11T15:22:23.930Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T15:22:24.216Z] + git tag --points-at HEAD [Pipeline] } [2023-01-11T15:22:24.231Z] $ docker exec --env ******** --env ******** 3d2697f03dde71044c3fa64c41f4ab35a11384c096bddac425f640a25d228190 ssh-agent -k [2023-01-11T15:22:24.348Z] unset SSH_AUTH_SOCK; [2023-01-11T15:22:24.349Z] unset SSH_AGENT_PID; [2023-01-11T15:22:24.349Z] echo Agent pid 37 killed; [2023-01-11T15:22:24.362Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-11T15:22:24.389Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T15:22:24.389Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T15:22:24.507Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T15:22:24.513Z] $ docker exec 3d2697f03dde71044c3fa64c41f4ab35a11384c096bddac425f640a25d228190 ssh-agent [2023-01-11T15:22:24.615Z] SSH_AUTH_SOCK=/tmp/ssh-CpRtozdqNhU2/agent.69 [2023-01-11T15:22:24.615Z] SSH_AGENT_PID=75 [2023-01-11T15:22:24.621Z] Running ssh-add (command line suppressed) [2023-01-11T15:22:24.732Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1273@tmp/private_key_13950637180414014546.key (/w/workspace/gexfoundry_device-sdk-go_PR-1273@tmp/private_key_13950637180414014546.key) [2023-01-11T15:22:24.743Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T15:22:25.032Z] + git semver init [2023-01-11T15:22:25.293Z] 2023-01-11 15:22:25,228 [run_init] DEBUG init version:0.0.0 force:False [2023-01-11T15:22:25.293Z] 2023-01-11 15:22:25,229 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1273/.semver [2023-01-11T15:22:25.293Z] 2023-01-11 15:22:25,229 [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-11T15:22:25.293Z] 2023-01-11 15:22:25,229 [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-11T15:22:26.232Z] 2023-01-11 15:22:26,143 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1273/.git/info/exclude [2023-01-11T15:22:26.232Z] 2023-01-11 15:22:26,144 [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-11T15:22:26.232Z] 2023-01-11 15:22:26,144 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1273/.semver/PR-1273 [2023-01-11T15:22:26.232Z] 2023-01-11 15:22:26,149 [execute] INFO git cat-file --batch-check [2023-01-11T15:22:26.232Z] 2023-01-11 15:22:26,149 [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-11T15:22:26.232Z] 2023-01-11 15:22:26,156 [execute] INFO git cat-file --batch [2023-01-11T15:22:26.232Z] 2023-01-11 15:22:26,156 [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-11T15:22:26.232Z] 2023-01-11 15:22:26,162 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1273/.semver/PR-1273 [2023-01-11T15:22:26.232Z] 0.0.0 [Pipeline] } [2023-01-11T15:22:26.245Z] $ docker exec --env ******** --env ******** 3d2697f03dde71044c3fa64c41f4ab35a11384c096bddac425f640a25d228190 ssh-agent -k [2023-01-11T15:22:26.342Z] unset SSH_AUTH_SOCK; [2023-01-11T15:22:26.342Z] unset SSH_AGENT_PID; [2023-01-11T15:22:26.342Z] echo Agent pid 75 killed; [2023-01-11T15:22:26.350Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T15:22:26.645Z] + git semver [Pipeline] } [2023-01-11T15:22:26.919Z] $ docker stop --time=1 3d2697f03dde71044c3fa64c41f4ab35a11384c096bddac425f640a25d228190 [2023-01-11T15:22:28.257Z] $ docker rm -f --volumes 3d2697f03dde71044c3fa64c41f4ab35a11384c096bddac425f640a25d228190 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T15:22:28.594Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-11T15:22:28.822Z] Stashed 1 file(s) [Pipeline] echo [2023-01-11T15:22:28.825Z] [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-11T15:22:28.987Z] provisioning config files... [2023-01-11T15:22:28.997Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1273@tmp/config14846065723611772126tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:22:29.291Z] ---> docker-login.sh [2023-01-11T15:22:29.292Z] nexus3.edgexfoundry.org:10001 [2023-01-11T15:22:29.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:22:29.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:22:29.292Z] Configure a credential helper to remove this warning. See [2023-01-11T15:22:29.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:22:29.292Z] [2023-01-11T15:22:29.292Z] Login Succeeded [2023-01-11T15:22:29.292Z] nexus3.edgexfoundry.org:10002 [2023-01-11T15:22:29.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:22:29.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:22:29.292Z] Configure a credential helper to remove this warning. See [2023-01-11T15:22:29.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:22:29.292Z] [2023-01-11T15:22:29.292Z] Login Succeeded [2023-01-11T15:22:29.292Z] nexus3.edgexfoundry.org:10003 [2023-01-11T15:22:29.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:22:29.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:22:29.550Z] Configure a credential helper to remove this warning. See [2023-01-11T15:22:29.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:22:29.550Z] [2023-01-11T15:22:29.550Z] Login Succeeded [2023-01-11T15:22:29.550Z] nexus3.edgexfoundry.org:10004 [2023-01-11T15:22:29.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:22:29.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:22:29.550Z] Configure a credential helper to remove this warning. See [2023-01-11T15:22:29.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:22:29.550Z] [2023-01-11T15:22:29.550Z] Login Succeeded [2023-01-11T15:22:29.550Z] docker.io [2023-01-11T15:22:29.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:22:29.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:22:29.809Z] Configure a credential helper to remove this warning. See [2023-01-11T15:22:29.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:22:29.809Z] [2023-01-11T15:22:29.809Z] Login Succeeded [2023-01-11T15:22:29.809Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T15:22:29.817Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T15:22:29.878Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T15:22:29.889Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T15:22:29.895Z] ========================================================= [2023-01-11T15:22:29.895Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-11T15:22:29.895Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T15:22:30.200Z] + 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-11T15:22:30.200Z] Sending build context to Docker daemon 10.44MB [2023-01-11T15:22:30.200Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T15:22:30.200Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-11T15:22:30.464Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-11T15:22:30.464Z] 213ec9aee27d: Pulling fs layer [2023-01-11T15:22:30.464Z] 4583459ba037: Pulling fs layer [2023-01-11T15:22:30.464Z] 93c1e223e6f2: Pulling fs layer [2023-01-11T15:22:30.464Z] 53926ce57604: Pulling fs layer [2023-01-11T15:22:30.464Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-11T15:22:30.464Z] 22ff95d597cd: Pulling fs layer [2023-01-11T15:22:30.464Z] 12d6caf4c0d1: Pulling fs layer [2023-01-11T15:22:30.464Z] 53926ce57604: Waiting [2023-01-11T15:22:30.464Z] 21b2b0c7a3f4: Waiting [2023-01-11T15:22:30.464Z] 22ff95d597cd: Waiting [2023-01-11T15:22:30.464Z] 96b7cbca73a9: Pulling fs layer [2023-01-11T15:22:30.464Z] a7acece74701: Pulling fs layer [2023-01-11T15:22:30.464Z] 96b7cbca73a9: Waiting [2023-01-11T15:22:30.464Z] 12d6caf4c0d1: Waiting [2023-01-11T15:22:30.464Z] 93c1e223e6f2: Verifying Checksum [2023-01-11T15:22:30.464Z] 93c1e223e6f2: Download complete [2023-01-11T15:22:30.464Z] 4583459ba037: Verifying Checksum [2023-01-11T15:22:30.464Z] 4583459ba037: Download complete [2023-01-11T15:22:30.464Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-11T15:22:30.464Z] 21b2b0c7a3f4: Download complete [2023-01-11T15:22:30.464Z] 22ff95d597cd: Verifying Checksum [2023-01-11T15:22:30.464Z] 22ff95d597cd: Download complete [2023-01-11T15:22:30.464Z] 213ec9aee27d: Verifying Checksum [2023-01-11T15:22:30.464Z] 213ec9aee27d: Download complete [2023-01-11T15:22:30.464Z] 12d6caf4c0d1: Verifying Checksum [2023-01-11T15:22:30.464Z] 12d6caf4c0d1: Download complete [2023-01-11T15:22:30.464Z] 213ec9aee27d: Pull complete [2023-01-11T15:22:30.741Z] 4583459ba037: Pull complete [2023-01-11T15:22:30.741Z] 93c1e223e6f2: Pull complete [2023-01-11T15:22:31.339Z] a7acece74701: Download complete [2023-01-11T15:22:31.606Z] 53926ce57604: Download complete [2023-01-11T15:22:31.865Z] 96b7cbca73a9: Verifying Checksum [2023-01-11T15:22:31.865Z] 96b7cbca73a9: Download complete [2023-01-11T15:22:35.152Z] 53926ce57604: Pull complete [2023-01-11T15:22:35.152Z] 21b2b0c7a3f4: Pull complete [2023-01-11T15:22:35.410Z] 22ff95d597cd: Pull complete [2023-01-11T15:22:35.411Z] 12d6caf4c0d1: Pull complete [2023-01-11T15:22:37.310Z] 96b7cbca73a9: Pull complete [2023-01-11T15:22:38.247Z] a7acece74701: Pull complete [2023-01-11T15:22:38.247Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-11T15:22:38.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-11T15:22:38.247Z] ---> db6d94c90886 [2023-01-11T15:22:38.247Z] Step 3/10 : ARG MAKE=make build [2023-01-11T15:22:41.538Z] ---> Running in 5478254f2dc7 [2023-01-11T15:22:41.538Z] Removing intermediate container 5478254f2dc7 [2023-01-11T15:22:41.538Z] ---> cc6aec3e29a7 [2023-01-11T15:22:41.538Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-11T15:22:41.538Z] ---> Running in ef3f0bdc623b [2023-01-11T15:22:41.538Z] Removing intermediate container ef3f0bdc623b [2023-01-11T15:22:41.538Z] ---> 4b1c88f1aaa2 [2023-01-11T15:22:41.538Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-11T15:22:41.538Z] ---> Running in 9d892d88600a [2023-01-11T15:22:41.538Z] Removing intermediate container 9d892d88600a [2023-01-11T15:22:41.538Z] ---> 82be0bdda2be [2023-01-11T15:22:41.538Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-11T15:22:41.800Z] ---> Running in a5d164369671 [2023-01-11T15:22:42.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T15:22:42.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T15:22:42.321Z] OK: 211 MiB in 51 packages [2023-01-11T15:22:42.580Z] Removing intermediate container a5d164369671 [2023-01-11T15:22:42.580Z] ---> 7b8fd1e8ab0d [2023-01-11T15:22:42.580Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-11T15:22:42.580Z] ---> 4face8a9d81b [2023-01-11T15:22:42.580Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T15:22:42.580Z] ---> Running in 40cc00aee846 [2023-01-11T15:22:43.937Z] Still waiting to schedule task [2023-01-11T15:22:43.937Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-11T15:23:09.151Z] Removing intermediate container 40cc00aee846 [2023-01-11T15:23:09.151Z] ---> c89bee001d3d [2023-01-11T15:23:09.151Z] Step 9/10 : COPY . . [2023-01-11T15:23:09.151Z] ---> 5feccd9c216f [2023-01-11T15:23:09.151Z] Step 10/10 : RUN ${MAKE} [2023-01-11T15:23:09.151Z] ---> Running in c457bffecaa8 [2023-01-11T15:23:09.151Z] noop [2023-01-11T15:23:09.151Z] Removing intermediate container c457bffecaa8 [2023-01-11T15:23:09.151Z] ---> b6a51e14f6cd [2023-01-11T15:23:09.151Z] Successfully built b6a51e14f6cd [2023-01-11T15:23:09.151Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T15:23:09.457Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T15:23:09.457Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T15:23:09.534Z] prd-ubuntu20.04-docker-8c-8g-1858 does not seem to be running inside a container [2023-01-11T15:23:09.561Z] $ 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 ******** ci-base-image-x86_64 cat [2023-01-11T15:23:09.899Z] $ docker top 204dc2b443077ac6c00dabd13c203dde5528bc8daf325412a56e84ca27d47b68 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T15:23:10.242Z] + go version [2023-01-11T15:23:10.242Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-11T15:23:10.256Z] $ docker stop --time=1 204dc2b443077ac6c00dabd13c203dde5528bc8daf325412a56e84ca27d47b68 [2023-01-11T15:23:11.540Z] $ docker rm -f --volumes 204dc2b443077ac6c00dabd13c203dde5528bc8daf325412a56e84ca27d47b68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T15:23:11.967Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T15:23:11.967Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T15:23:12.050Z] prd-ubuntu20.04-docker-8c-8g-1858 does not seem to be running inside a container [2023-01-11T15:23:12.082Z] $ 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 ******** ci-base-image-x86_64 cat [2023-01-11T15:23:12.420Z] $ docker top cb387c9881ab5a08a63b04f1e7d3f842a183c357a183d015503cf6686c3d7829 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T15:23:12.759Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1273 [Pipeline] fileExists [Pipeline] sh [2023-01-11T15:23:13.050Z] + make test [2023-01-11T15:23:13.050Z] go test -race -coverprofile=coverage.out ./... [2023-01-11T15:23:19.614Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-11T15:23:34.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-11T15:23:34.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-11T15:23:34.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-11T15:23:34.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-11T15:23:34.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-11T15:23:34.482Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.063s coverage: 27.6% of statements [2023-01-11T15:23:34.482Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.084s coverage: 78.9% of statements [2023-01-11T15:23:34.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-11T15:23:34.482Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.113s coverage: 73.6% of statements [2023-01-11T15:23:34.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-11T15:23:34.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-11T15:23:34.482Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.113s coverage: 54.4% of statements [2023-01-11T15:23:34.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-11T15:23:34.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-11T15:23:34.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-11T15:23:34.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-11T15:23:34.482Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.099s coverage: 65.1% of statements [2023-01-11T15:23:34.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-11T15:23:34.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-11T15:23:34.482Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.779s coverage: 89.2% of statements [2023-01-11T15:23:34.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-11T15:23:34.482Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.067s coverage: 4.6% of statements [2023-01-11T15:23:34.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-11T15:23:49.359Z] 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-11T15:23:49.359Z] GO111MODULE=on go vet ./... [2023-01-11T15:23:51.255Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T15:23:51.255Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T15:23:51.255Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T15:23:51.271Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T15:23:51.284Z] $ docker stop --time=1 cb387c9881ab5a08a63b04f1e7d3f842a183c357a183d015503cf6686c3d7829 [2023-01-11T15:23:54.211Z] $ docker rm -f --volumes cb387c9881ab5a08a63b04f1e7d3f842a183c357a183d015503cf6686c3d7829 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T15:23:54.689Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T15:23:54.750Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-11T15:23:55.251Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T15:23:55.535Z] + ls -al . [2023-01-11T15:23:55.535Z] total 280 [2023-01-11T15:23:55.535Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 15:23 . [2023-01-11T15:23:55.535Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 15:22 .. [2023-01-11T15:23:55.535Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 15:22 .dockerignore [2023-01-11T15:23:55.535Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 15:23 .git [2023-01-11T15:23:55.535Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 15:22 .github [2023-01-11T15:23:55.535Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 11 15:22 .gitignore [2023-01-11T15:23:55.535Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 15:22 .golangci.yml [2023-01-11T15:23:55.535Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 15:22 .semver [2023-01-11T15:23:55.535Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 11 15:22 CHANGELOG.md [2023-01-11T15:23:55.535Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 15:22 GOVERNANCE.md [2023-01-11T15:23:55.535Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 11 15:22 Jenkinsfile [2023-01-11T15:23:55.535Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 11 15:22 LICENSE [2023-01-11T15:23:55.535Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 11 15:22 Makefile [2023-01-11T15:23:55.535Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 11 15:22 OWNERS.md [2023-01-11T15:23:55.535Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 11 15:22 README.md [2023-01-11T15:23:55.535Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 15:22 VERSION [2023-01-11T15:23:55.535Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 15:22 bin [2023-01-11T15:23:55.535Z] -rw-r--r-- 1 jenkins jenkins 101913 Jan 11 15:23 coverage.out [2023-01-11T15:23:55.535Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 15:22 example [2023-01-11T15:23:55.535Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 11 15:22 go.mod [2023-01-11T15:23:55.535Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 11 15:22 go.sum [2023-01-11T15:23:55.535Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 11 15:22 internal [2023-01-11T15:23:55.535Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 15:22 openapi [2023-01-11T15:23:55.535Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 11 15:22 pkg [2023-01-11T15:23:55.535Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 15:22 snap [2023-01-11T15:23:55.535Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 11 15:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T15:23:55.877Z] + 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=ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 --label arch=amd64 --label version=0.0.0 . [2023-01-11T15:23:55.877Z] Sending build context to Docker daemon 10.54MB [2023-01-11T15:23:55.877Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T15:23:55.877Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-11T15:23:55.877Z] ---> b6a51e14f6cd [2023-01-11T15:23:55.877Z] Step 3/23 : ARG MAKE=make build [2023-01-11T15:23:56.137Z] ---> Running in bb16167e77f5 [2023-01-11T15:23:56.137Z] Removing intermediate container bb16167e77f5 [2023-01-11T15:23:56.137Z] ---> f5afefa55049 [2023-01-11T15:23:56.137Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-11T15:23:56.137Z] ---> Running in a5ad693efab6 [2023-01-11T15:23:56.137Z] Removing intermediate container a5ad693efab6 [2023-01-11T15:23:56.137Z] ---> e130a5add193 [2023-01-11T15:23:56.137Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-11T15:23:56.137Z] ---> Running in 0704689f94fc [2023-01-11T15:23:56.137Z] Removing intermediate container 0704689f94fc [2023-01-11T15:23:56.137Z] ---> cd7c580b1f97 [2023-01-11T15:23:56.137Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-11T15:23:56.396Z] ---> Running in be0239cbdabb [2023-01-11T15:23:56.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T15:23:56.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T15:23:56.914Z] OK: 211 MiB in 51 packages [2023-01-11T15:23:57.482Z] Removing intermediate container be0239cbdabb [2023-01-11T15:23:57.482Z] ---> bd1dc2b04a62 [2023-01-11T15:23:57.482Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-11T15:23:57.482Z] ---> 898f18417ba2 [2023-01-11T15:23:57.482Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T15:23:57.482Z] ---> Running in a0cc0fec9e6e [2023-01-11T15:23:58.048Z] Removing intermediate container a0cc0fec9e6e [2023-01-11T15:23:58.048Z] ---> ff72f8a9c844 [2023-01-11T15:23:58.048Z] Step 9/23 : COPY . . [2023-01-11T15:23:58.642Z] ---> 3d156a63d068 [2023-01-11T15:23:58.642Z] Step 10/23 : RUN ${MAKE} [2023-01-11T15:23:58.642Z] ---> Running in f7ff0dcd3595 [2023-01-11T15:23:58.902Z] 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-11T15:24:09.818Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1859 in /w/workspace/gexfoundry_device-sdk-go_PR-1273 [Pipeline] { [Pipeline] ws [2023-01-11T15:24:09.831Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-01-11T15:24:09.861Z] The recommended git tool is: git [2023-01-11T15:24:14.717Z] using credential edgex-jenkins-ssh [2023-01-11T15:24:14.734Z] Cloning the remote Git repository [2023-01-11T15:24:14.775Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-11T15:24:14.849Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-01-11T15:24:14.979Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-11T15:24:14.979Z] > git --version # timeout=10 [2023-01-11T15:24:14.998Z] > git --version # 'git version 2.25.1' [2023-01-11T15:24:15.000Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T15:24:15.055Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T15:24:16.538Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-11T15:24:16.569Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T15:24:18.265Z] Merging remotes/origin/main commit 8025d415256bff1d08fe37ed408de885b1f3053d into PR head commit ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 [2023-01-11T15:24:18.472Z] Merge succeeded, producing ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 [2023-01-11T15:24:18.473Z] Checking out Revision ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 (PR-1273) [2023-01-11T15:24:17.355Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-11T15:24:17.394Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-11T15:24:17.395Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T15:24:17.410Z] > 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-11T15:24:18.283Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T15:24:18.300Z] > git checkout -f ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 # timeout=10 [2023-01-11T15:24:18.393Z] > git remote # timeout=10 [2023-01-11T15:24:18.410Z] > git config --get remote.origin.url # timeout=10 [2023-01-11T15:24:18.429Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T15:24:18.439Z] > git merge 8025d415256bff1d08fe37ed408de885b1f3053d # timeout=10 [2023-01-11T15:24:18.460Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-11T15:24:18.479Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T15:24:18.492Z] > git checkout -f ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 # timeout=10 [2023-01-11T15:24:20.860Z] Removing intermediate container f7ff0dcd3595 [2023-01-11T15:24:20.860Z] ---> 545a3bee9224 [2023-01-11T15:24:20.860Z] Step 11/23 : FROM alpine:3.16 [2023-01-11T15:24:20.860Z] 3.16: Pulling from library/alpine [2023-01-11T15:24:20.860Z] ca7dd9ec2225: Pulling fs layer [2023-01-11T15:24:20.860Z] ca7dd9ec2225: Verifying Checksum [2023-01-11T15:24:20.860Z] ca7dd9ec2225: Download complete [2023-01-11T15:24:20.860Z] ca7dd9ec2225: Pull complete [2023-01-11T15:24:20.860Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T15:24:20.860Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T15:24:20.860Z] ---> bfe296a52501 [2023-01-11T15:24:20.860Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-11T15:24:20.860Z] ---> Running in 0095dabc65fb [2023-01-11T15:24:20.860Z] Removing intermediate container 0095dabc65fb [2023-01-11T15:24:20.860Z] ---> 688425b28ba2 [2023-01-11T15:24:20.860Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-11T15:24:20.860Z] ---> Running in 19bac90749f6 [2023-01-11T15:24:20.860Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T15:24:20.860Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T15:24:20.860Z] OK: 6 MiB in 14 packages [2023-01-11T15:24:20.860Z] Removing intermediate container 19bac90749f6 [2023-01-11T15:24:20.860Z] ---> 886824ad7418 [2023-01-11T15:24:20.860Z] Step 14/23 : WORKDIR / [2023-01-11T15:24:20.860Z] ---> Running in 09053e6b9672 [2023-01-11T15:24:20.860Z] Removing intermediate container 09053e6b9672 [2023-01-11T15:24:20.860Z] ---> 0e1aace8ac6a [2023-01-11T15:24:20.860Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-11T15:24:20.860Z] ---> efc628d139d1 [2023-01-11T15:24:20.860Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-11T15:24:21.117Z] ---> ff3168d582a7 [2023-01-11T15:24:21.117Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-11T15:24:21.117Z] ---> 3b37ac10a695 [2023-01-11T15:24:21.117Z] Step 18/23 : EXPOSE 59999 [2023-01-11T15:24:21.117Z] ---> Running in d5785b4d70b5 [2023-01-11T15:24:21.376Z] Removing intermediate container d5785b4d70b5 [2023-01-11T15:24:21.376Z] ---> 9cd1d3ba4631 [2023-01-11T15:24:21.376Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-11T15:24:21.376Z] ---> Running in c4fa19f7c97d [2023-01-11T15:24:21.376Z] Removing intermediate container c4fa19f7c97d [2023-01-11T15:24:21.376Z] ---> 3170445f7998 [2023-01-11T15:24:21.376Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-11T15:24:21.376Z] ---> Running in 627752c8c246 [2023-01-11T15:24:21.376Z] Removing intermediate container 627752c8c246 [2023-01-11T15:24:21.376Z] ---> 63a4e311bcc8 [2023-01-11T15:24:21.376Z] Step 21/23 : LABEL arch=amd64 [2023-01-11T15:24:21.376Z] ---> Running in e71477b40ce1 [2023-01-11T15:24:21.635Z] Removing intermediate container e71477b40ce1 [2023-01-11T15:24:21.635Z] ---> e40ddab6602e [2023-01-11T15:24:21.635Z] Step 22/23 : LABEL git_sha=ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 [2023-01-11T15:24:21.635Z] ---> Running in 5b29babe745b [2023-01-11T15:24:21.635Z] Removing intermediate container 5b29babe745b [2023-01-11T15:24:21.635Z] ---> 04f10125aa73 [2023-01-11T15:24:21.635Z] Step 23/23 : LABEL version=0.0.0 [2023-01-11T15:24:21.635Z] ---> Running in 9cf1dde90d58 [2023-01-11T15:24:21.635Z] Removing intermediate container 9cf1dde90d58 [2023-01-11T15:24:21.635Z] ---> 292ec0b4f910 [2023-01-11T15:24:21.635Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T15:24:21.635Z] Successfully built 292ec0b4f910 [2023-01-11T15:24:21.635Z] 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-11T15:24:21.938Z] Commit message: "refactor!: Rework code for refactored MessageBus Configuration" [2023-01-11T15:24:22.044Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T15:24:22.044Z] [2023-01-11T15:24:22.044Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T15:24:22.260Z] [2023-01-11T15:24:22.260Z] GitHub has been notified of this commit’s build result [2023-01-11T15:24:22.260Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T15:24:22.345Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T15:24:22.345Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-11T15:24:22.345Z] 5eb5b503b376: Pulling fs layer [2023-01-11T15:24:22.345Z] 5c69ac0246d0: Pulling fs layer [2023-01-11T15:24:22.345Z] ec43610c2a17: Pulling fs layer [2023-01-11T15:24:22.345Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-11T15:24:22.345Z] 33b1e0a273af: Pulling fs layer [2023-01-11T15:24:22.345Z] 5d3b04190fa2: Pulling fs layer [2023-01-11T15:24:22.345Z] 2f39f015ded8: Pulling fs layer [2023-01-11T15:24:22.345Z] 5d3b04190fa2: Waiting [2023-01-11T15:24:22.345Z] 33b1e0a273af: Waiting [2023-01-11T15:24:22.345Z] 3a2ae6a8a46f: Waiting [2023-01-11T15:24:22.345Z] 5c69ac0246d0: Download complete [2023-01-11T15:24:22.345Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-11T15:24:22.345Z] 3a2ae6a8a46f: Download complete [2023-01-11T15:24:22.603Z] 33b1e0a273af: Verifying Checksum [2023-01-11T15:24:22.603Z] 33b1e0a273af: Download complete [2023-01-11T15:24:22.603Z] 5d3b04190fa2: Verifying Checksum [2023-01-11T15:24:22.603Z] 5d3b04190fa2: Download complete [2023-01-11T15:24:22.603Z] ec43610c2a17: Verifying Checksum [2023-01-11T15:24:22.603Z] ec43610c2a17: Download complete [2023-01-11T15:24:22.603Z] 5eb5b503b376: Verifying Checksum [2023-01-11T15:24:22.603Z] 5eb5b503b376: Download complete [2023-01-11T15:24:22.764Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-11T15:24:22.764Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T15:24:22.764Z] Dload Upload Total Spent Left Speed [2023-01-11T15:24:22.764Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh [2023-01-11T15:24:23.420Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-11T15:24:23.535Z] 2f39f015ded8: Download complete [2023-01-11T15:24:23.748Z] + sudo tee /etc/docker/daemon.new [2023-01-11T15:24:23.748Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-11T15:24:23.748Z] { [2023-01-11T15:24:23.748Z] "registry-mirrors": [ [2023-01-11T15:24:23.748Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-11T15:24:23.748Z] ], [2023-01-11T15:24:23.748Z] "bip": "10.250.0.254/24", [2023-01-11T15:24:23.748Z] "hosts": [ [2023-01-11T15:24:23.748Z] "tcp://0.0.0.0:5555", [2023-01-11T15:24:23.748Z] "unix:///var/run/docker.sock" [2023-01-11T15:24:23.748Z] ], [2023-01-11T15:24:23.748Z] "mtu": 1458, [2023-01-11T15:24:23.748Z] "selinux-enabled": true, [2023-01-11T15:24:23.748Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-11T15:24:23.748Z] } [Pipeline] sh [2023-01-11T15:24:23.794Z] 5eb5b503b376: Pull complete [2023-01-11T15:24:24.052Z] 5c69ac0246d0: Pull complete [2023-01-11T15:24:24.070Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-11T15:24:24.310Z] ec43610c2a17: Pull complete [2023-01-11T15:24:24.393Z] + sudo service docker restart [2023-01-11T15:24:24.569Z] 3a2ae6a8a46f: Pull complete [2023-01-11T15:24:24.827Z] 33b1e0a273af: Pull complete [2023-01-11T15:24:24.827Z] 5d3b04190fa2: Pull complete [2023-01-11T15:24:29.008Z] 2f39f015ded8: Pull complete [2023-01-11T15:24:29.008Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-11T15:24:29.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T15:24:29.008Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T15:24:29.097Z] prd-ubuntu20.04-docker-8c-8g-1858 does not seem to be running inside a container [2023-01-11T15:24:29.129Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T15:24:32.355Z] $ docker top c355a4846303fa3d024d736e5e3ed46d6964d502577c6d99057f9ef7eb738b23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:24:32.748Z] ---> job-cost.sh [2023-01-11T15:24:32.748Z] lf-activate-venv: SKIPPING [2023-01-11T15:24:32.748Z] INFO: No Stack... [2023-01-11T15:24:33.007Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T15:24:33.574Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T15:24:33.862Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1273/archives/cost.csv [2023-01-11T15:24:33.862Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T15:24:33.877Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1273-3-stack-cost] [2023-01-11T15:24:33.886Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1273-3-stack-cost] did not exist. Created. [2023-01-11T15:24:33.886Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1273-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T15:24:34.186Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-11T15:24:34.223Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T15:24:34.228Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1273-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T15:24:34.242Z] $ docker stop --time=1 c355a4846303fa3d024d736e5e3ed46d6964d502577c6d99057f9ef7eb738b23 [2023-01-11T15:24:35.397Z] $ docker rm -f --volumes c355a4846303fa3d024d736e5e3ed46d6964d502577c6d99057f9ef7eb738b23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T15:24:42.640Z] provisioning config files... [2023-01-11T15:24:42.665Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config10880216658176766737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:24:43.008Z] ---> docker-login.sh [2023-01-11T15:24:43.008Z] nexus3.edgexfoundry.org:10001 [2023-01-11T15:24:43.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:24:43.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:24:43.550Z] Configure a credential helper to remove this warning. See [2023-01-11T15:24:43.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:24:43.550Z] [2023-01-11T15:24:43.550Z] Login Succeeded [2023-01-11T15:24:43.550Z] nexus3.edgexfoundry.org:10002 [2023-01-11T15:24:43.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:24:43.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:24:43.819Z] Configure a credential helper to remove this warning. See [2023-01-11T15:24:43.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:24:43.819Z] [2023-01-11T15:24:43.819Z] Login Succeeded [2023-01-11T15:24:43.819Z] nexus3.edgexfoundry.org:10003 [2023-01-11T15:24:44.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:24:44.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:24:44.360Z] Configure a credential helper to remove this warning. See [2023-01-11T15:24:44.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:24:44.360Z] [2023-01-11T15:24:44.360Z] Login Succeeded [2023-01-11T15:24:44.360Z] nexus3.edgexfoundry.org:10004 [2023-01-11T15:24:44.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:24:44.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:24:44.629Z] Configure a credential helper to remove this warning. See [2023-01-11T15:24:44.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:24:44.629Z] [2023-01-11T15:24:44.629Z] Login Succeeded [2023-01-11T15:24:44.629Z] docker.io [2023-01-11T15:24:44.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T15:24:45.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T15:24:45.168Z] Configure a credential helper to remove this warning. See [2023-01-11T15:24:45.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T15:24:45.168Z] [2023-01-11T15:24:45.168Z] Login Succeeded [2023-01-11T15:24:45.168Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T15:24:45.181Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T15:24:45.413Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T15:24:45.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T15:24:45.447Z] ========================================================= [2023-01-11T15:24:45.447Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-11T15:24:45.447Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T15:24:45.799Z] + 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-11T15:24:46.066Z] Sending build context to Docker daemon 5.63MB [2023-01-11T15:24:46.337Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T15:24:46.337Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-11T15:24:46.337Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-11T15:24:46.337Z] 9b18e9b68314: Pulling fs layer [2023-01-11T15:24:46.337Z] 35d82f9e3411: Pulling fs layer [2023-01-11T15:24:46.337Z] e16973657156: Pulling fs layer [2023-01-11T15:24:46.337Z] fc693d55d65f: Pulling fs layer [2023-01-11T15:24:46.337Z] 7e9fc2657dce: Pulling fs layer [2023-01-11T15:24:46.337Z] dda99020689f: Pulling fs layer [2023-01-11T15:24:46.337Z] db1c61fa0a46: Pulling fs layer [2023-01-11T15:24:46.337Z] 891c053d2c06: Pulling fs layer [2023-01-11T15:24:46.337Z] fc693d55d65f: Waiting [2023-01-11T15:24:46.337Z] 7e9fc2657dce: Waiting [2023-01-11T15:24:46.337Z] dda99020689f: Waiting [2023-01-11T15:24:46.337Z] db1c61fa0a46: Waiting [2023-01-11T15:24:46.337Z] 891c053d2c06: Waiting [2023-01-11T15:24:46.337Z] e16973657156: Verifying Checksum [2023-01-11T15:24:46.337Z] e16973657156: Download complete [2023-01-11T15:24:46.337Z] 35d82f9e3411: Verifying Checksum [2023-01-11T15:24:46.337Z] 35d82f9e3411: Download complete [2023-01-11T15:24:46.337Z] 7e9fc2657dce: Verifying Checksum [2023-01-11T15:24:46.337Z] 7e9fc2657dce: Download complete [2023-01-11T15:24:46.610Z] dda99020689f: Verifying Checksum [2023-01-11T15:24:46.610Z] dda99020689f: Download complete [2023-01-11T15:24:46.610Z] 9b18e9b68314: Download complete [2023-01-11T15:24:47.593Z] 891c053d2c06: Verifying Checksum [2023-01-11T15:24:47.593Z] 891c053d2c06: Download complete [2023-01-11T15:24:48.578Z] db1c61fa0a46: Verifying Checksum [2023-01-11T15:24:48.578Z] db1c61fa0a46: Download complete [2023-01-11T15:24:48.578Z] 9b18e9b68314: Pull complete [2023-01-11T15:24:49.174Z] 35d82f9e3411: Pull complete [2023-01-11T15:24:49.174Z] fc693d55d65f: Verifying Checksum [2023-01-11T15:24:49.174Z] fc693d55d65f: Download complete [2023-01-11T15:24:49.443Z] e16973657156: Pull complete [2023-01-11T15:25:01.780Z] fc693d55d65f: Pull complete [2023-01-11T15:25:01.780Z] 7e9fc2657dce: Pull complete [2023-01-11T15:25:02.049Z] dda99020689f: Pull complete [2023-01-11T15:25:08.743Z] db1c61fa0a46: Pull complete [2023-01-11T15:25:09.719Z] 891c053d2c06: Pull complete [2023-01-11T15:25:09.719Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-11T15:25:09.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-11T15:25:09.719Z] ---> f96f9c87975a [2023-01-11T15:25:09.719Z] Step 3/10 : ARG MAKE=make build [2023-01-11T15:25:11.677Z] ---> Running in cbc0edf65479 [2023-01-11T15:25:11.677Z] Removing intermediate container cbc0edf65479 [2023-01-11T15:25:11.677Z] ---> 538a567afecd [2023-01-11T15:25:11.677Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-11T15:25:11.945Z] ---> Running in 8dd13fc28c90 [2023-01-11T15:25:12.212Z] Removing intermediate container 8dd13fc28c90 [2023-01-11T15:25:12.212Z] ---> 71e488f5beb2 [2023-01-11T15:25:12.212Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-11T15:25:12.212Z] ---> Running in 7901cdfadb00 [2023-01-11T15:25:12.479Z] Removing intermediate container 7901cdfadb00 [2023-01-11T15:25:12.479Z] ---> f1194bdd00cf [2023-01-11T15:25:12.479Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-11T15:25:12.746Z] ---> Running in c61a97e47a49 [2023-01-11T15:25:13.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T15:25:13.977Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T15:25:14.938Z] OK: 221 MiB in 51 packages [2023-01-11T15:25:15.898Z] Removing intermediate container c61a97e47a49 [2023-01-11T15:25:15.898Z] ---> 5cf468a85bfd [2023-01-11T15:25:15.898Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-11T15:25:16.165Z] ---> 48a2bb24c74a [2023-01-11T15:25:16.165Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T15:25:16.431Z] ---> Running in 685ff340dbd0 [2023-01-11T15:26:12.844Z] Removing intermediate container 685ff340dbd0 [2023-01-11T15:26:12.844Z] ---> c55dd01c4a71 [2023-01-11T15:26:12.844Z] Step 9/10 : COPY . . [2023-01-11T15:26:12.844Z] ---> 579c09081722 [2023-01-11T15:26:12.844Z] Step 10/10 : RUN ${MAKE} [2023-01-11T15:26:12.844Z] ---> Running in 322681e10b98 [2023-01-11T15:26:12.844Z] noop [2023-01-11T15:26:12.844Z] Removing intermediate container 322681e10b98 [2023-01-11T15:26:12.844Z] ---> 2d94c55b754c [2023-01-11T15:26:12.844Z] Successfully built 2d94c55b754c [2023-01-11T15:26:12.844Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T15:26:13.197Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T15:26:13.197Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T15:26:13.390Z] prd-ubuntu20.04-docker-arm64-4c-16g-1859 does not seem to be running inside a container [2023-01-11T15:26:13.457Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-11T15:26:14.671Z] $ docker top ca2e19afd632b5beca5fff2e72e89e6ae84dc18f0a76b8c21ac8bad2a6babc65 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T15:26:15.510Z] + go version [2023-01-11T15:26:15.510Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-11T15:26:15.531Z] $ docker stop --time=1 ca2e19afd632b5beca5fff2e72e89e6ae84dc18f0a76b8c21ac8bad2a6babc65 [2023-01-11T15:26:17.136Z] $ docker rm -f --volumes ca2e19afd632b5beca5fff2e72e89e6ae84dc18f0a76b8c21ac8bad2a6babc65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T15:26:17.694Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T15:26:17.694Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T15:26:17.875Z] prd-ubuntu20.04-docker-arm64-4c-16g-1859 does not seem to be running inside a container [2023-01-11T15:26:17.948Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-11T15:26:19.134Z] $ docker top f0d7789051a4fa9a9e1617b89a67c6663033306b913da1abdc63d466a2cd5aa8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T15:26:19.966Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-01-11T15:26:20.295Z] + make test [2023-01-11T15:26:20.295Z] go test -race -coverprofile=coverage.out ./... [2023-01-11T15:26:52.524Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-11T15:28:29.223Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-11T15:28:29.223Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-11T15:28:29.223Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-11T15:28:29.223Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-11T15:28:29.223Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-11T15:28:37.432Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.425s coverage: 27.6% of statements [2023-01-11T15:28:38.021Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.413s coverage: 78.9% of statements [2023-01-11T15:28:38.021Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-11T15:28:42.273Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.573s coverage: 73.6% of statements [2023-01-11T15:28:42.273Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-11T15:28:42.273Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-11T15:28:47.625Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.729s coverage: 54.4% of statements [2023-01-11T15:28:47.625Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-11T15:28:47.625Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-11T15:28:47.625Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-11T15:28:47.625Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-11T15:28:47.625Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.575s coverage: 65.1% of statements [2023-01-11T15:28:47.625Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-11T15:28:47.625Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-11T15:28:47.625Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.918s coverage: 89.2% of statements [2023-01-11T15:28:47.625Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-11T15:28:48.208Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.308s coverage: 4.6% of statements [2023-01-11T15:28:48.208Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-11T15:28:49.167Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-11T15:28:49.167Z] GO111MODULE=on go vet ./... [2023-01-11T15:30:25.833Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T15:30:25.833Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T15:30:25.833Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T15:30:25.854Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T15:30:25.866Z] $ docker stop --time=1 f0d7789051a4fa9a9e1617b89a67c6663033306b913da1abdc63d466a2cd5aa8 [2023-01-11T15:30:27.702Z] $ docker rm -f --volumes f0d7789051a4fa9a9e1617b89a67c6663033306b913da1abdc63d466a2cd5aa8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T15:30:29.031Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T15:30:29.054Z] Warning: overwriting stash ‘coverage-report’ [2023-01-11T15:30:29.562Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T15:30:30.017Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T15:30:30.359Z] + ls -al . [2023-01-11T15:30:30.359Z] total 276 [2023-01-11T15:30:30.359Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 15:26 . [2023-01-11T15:30:30.359Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 15:24 .. [2023-01-11T15:30:30.359Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 15:24 .dockerignore [2023-01-11T15:30:30.359Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 15:24 .git [2023-01-11T15:30:30.359Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 15:24 .github [2023-01-11T15:30:30.359Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 11 15:24 .gitignore [2023-01-11T15:30:30.359Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 15:24 .golangci.yml [2023-01-11T15:30:30.359Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 11 15:24 CHANGELOG.md [2023-01-11T15:30:30.359Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 15:24 GOVERNANCE.md [2023-01-11T15:30:30.359Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 11 15:24 Jenkinsfile [2023-01-11T15:30:30.359Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 11 15:24 LICENSE [2023-01-11T15:30:30.359Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 11 15:24 Makefile [2023-01-11T15:30:30.359Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 11 15:24 OWNERS.md [2023-01-11T15:30:30.359Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 11 15:24 README.md [2023-01-11T15:30:30.359Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 15:22 VERSION [2023-01-11T15:30:30.359Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 15:24 bin [2023-01-11T15:30:30.359Z] -rw-r--r-- 1 jenkins jenkins 101913 Jan 11 15:28 coverage.out [2023-01-11T15:30:30.359Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 15:24 example [2023-01-11T15:30:30.359Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 11 15:24 go.mod [2023-01-11T15:30:30.359Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 11 15:24 go.sum [2023-01-11T15:30:30.359Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 11 15:24 internal [2023-01-11T15:30:30.359Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 15:24 openapi [2023-01-11T15:30:30.359Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 11 15:24 pkg [2023-01-11T15:30:30.359Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 15:24 snap [2023-01-11T15:30:30.359Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 11 15:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T15:30:30.708Z] + 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=ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 --label arch=arm64 --label version=0.0.0 . [2023-01-11T15:30:30.979Z] Sending build context to Docker daemon 5.733MB [2023-01-11T15:30:30.979Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T15:30:30.979Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-11T15:30:30.979Z] ---> 2d94c55b754c [2023-01-11T15:30:30.979Z] Step 3/23 : ARG MAKE=make build [2023-01-11T15:30:31.268Z] ---> Running in 8c49573a9bef [2023-01-11T15:30:31.546Z] Removing intermediate container 8c49573a9bef [2023-01-11T15:30:31.546Z] ---> a5c7c16b7d41 [2023-01-11T15:30:31.546Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-11T15:30:31.546Z] ---> Running in e66b38e77df3 [2023-01-11T15:30:31.844Z] Removing intermediate container e66b38e77df3 [2023-01-11T15:30:31.844Z] ---> 8da069195fec [2023-01-11T15:30:31.844Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-11T15:30:32.115Z] ---> Running in 83d1bb3ea853 [2023-01-11T15:30:32.386Z] Removing intermediate container 83d1bb3ea853 [2023-01-11T15:30:32.386Z] ---> 5d90cc54bec4 [2023-01-11T15:30:32.386Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-11T15:30:32.386Z] ---> Running in 5f21f5575eee [2023-01-11T15:30:33.351Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T15:30:33.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T15:30:34.583Z] OK: 221 MiB in 51 packages [2023-01-11T15:30:35.552Z] Removing intermediate container 5f21f5575eee [2023-01-11T15:30:35.552Z] ---> 810dc592337e [2023-01-11T15:30:35.552Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-11T15:30:35.826Z] ---> 25364b4bc9c5 [2023-01-11T15:30:35.826Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T15:30:36.106Z] ---> Running in 09cb3610ccd3 [2023-01-11T15:30:40.387Z] Removing intermediate container 09cb3610ccd3 [2023-01-11T15:30:40.387Z] ---> ade869a040c3 [2023-01-11T15:30:40.387Z] Step 9/23 : COPY . . [2023-01-11T15:30:41.798Z] ---> ab7153cb06e2 [2023-01-11T15:30:41.798Z] Step 10/23 : RUN ${MAKE} [2023-01-11T15:30:42.070Z] ---> Running in 4dbfe3b690ca [2023-01-11T15:30:43.029Z] 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-11T15:32:49.717Z] Removing intermediate container 4dbfe3b690ca [2023-01-11T15:32:49.717Z] ---> e17762de7e76 [2023-01-11T15:32:49.717Z] Step 11/23 : FROM alpine:3.16 [2023-01-11T15:32:49.717Z] 3.16: Pulling from library/alpine [2023-01-11T15:32:49.717Z] 6875df1f5354: Pulling fs layer [2023-01-11T15:32:49.717Z] 6875df1f5354: Verifying Checksum [2023-01-11T15:32:49.717Z] 6875df1f5354: Download complete [2023-01-11T15:32:49.717Z] 6875df1f5354: Pull complete [2023-01-11T15:32:49.717Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T15:32:49.717Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T15:32:49.717Z] ---> 2b4661558fb8 [2023-01-11T15:32:49.717Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-11T15:32:49.717Z] ---> Running in 09f3b231b42e [2023-01-11T15:32:49.717Z] Removing intermediate container 09f3b231b42e [2023-01-11T15:32:49.717Z] ---> 8c7fba807d62 [2023-01-11T15:32:49.717Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-11T15:32:49.717Z] ---> Running in 646fa381a2b8 [2023-01-11T15:32:49.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T15:32:49.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T15:32:49.717Z] OK: 5 MiB in 14 packages [2023-01-11T15:32:49.717Z] Removing intermediate container 646fa381a2b8 [2023-01-11T15:32:49.717Z] ---> efde2780da02 [2023-01-11T15:32:49.717Z] Step 14/23 : WORKDIR / [2023-01-11T15:32:49.717Z] ---> Running in 684d0b5c2aae [2023-01-11T15:32:49.717Z] Removing intermediate container 684d0b5c2aae [2023-01-11T15:32:49.717Z] ---> 89bb07eb66e6 [2023-01-11T15:32:49.717Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-11T15:32:49.717Z] ---> aa30f7c9837d [2023-01-11T15:32:49.717Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-11T15:32:49.717Z] ---> 1b352850cf7a [2023-01-11T15:32:49.717Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-11T15:32:49.717Z] ---> 9c9323630b20 [2023-01-11T15:32:49.717Z] Step 18/23 : EXPOSE 59999 [2023-01-11T15:32:49.717Z] ---> Running in 033540f22081 [2023-01-11T15:32:49.717Z] Removing intermediate container 033540f22081 [2023-01-11T15:32:49.717Z] ---> c28cfa26a3a3 [2023-01-11T15:32:49.717Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-11T15:32:49.717Z] ---> Running in be67954c8767 [2023-01-11T15:32:49.717Z] Removing intermediate container be67954c8767 [2023-01-11T15:32:49.717Z] ---> 155bc6da60c1 [2023-01-11T15:32:49.717Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-11T15:32:49.717Z] ---> Running in e6cc8e550f28 [2023-01-11T15:32:49.717Z] Removing intermediate container e6cc8e550f28 [2023-01-11T15:32:49.717Z] ---> 8b9f47a8409f [2023-01-11T15:32:49.717Z] Step 21/23 : LABEL arch=arm64 [2023-01-11T15:32:49.717Z] ---> Running in 930ef20b9848 [2023-01-11T15:32:49.717Z] Removing intermediate container 930ef20b9848 [2023-01-11T15:32:49.717Z] ---> 64d3115565c5 [2023-01-11T15:32:49.717Z] Step 22/23 : LABEL git_sha=ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 [2023-01-11T15:32:49.717Z] ---> Running in 47ce46f60229 [2023-01-11T15:32:49.717Z] Removing intermediate container 47ce46f60229 [2023-01-11T15:32:49.717Z] ---> e2ed45bc7681 [2023-01-11T15:32:49.717Z] Step 23/23 : LABEL version=0.0.0 [2023-01-11T15:32:49.717Z] ---> Running in 477d40e326b6 [2023-01-11T15:32:49.717Z] Removing intermediate container 477d40e326b6 [2023-01-11T15:32:49.717Z] ---> d96d52335791 [2023-01-11T15:32:49.717Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T15:32:49.717Z] Successfully built d96d52335791 [2023-01-11T15:32:49.717Z] 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-11T15:32:50.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T15:32:50.148Z] [2023-01-11T15:32:50.148Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T15:32:50.475Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T15:32:50.475Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-11T15:32:50.475Z] 8998bd30e6a1: Pulling fs layer [2023-01-11T15:32:50.475Z] 04944245beec: Pulling fs layer [2023-01-11T15:32:50.475Z] 699f458cf7ca: Pulling fs layer [2023-01-11T15:32:50.475Z] 765212b225bb: Pulling fs layer [2023-01-11T15:32:50.475Z] f23df028b6ca: Pulling fs layer [2023-01-11T15:32:50.475Z] d65c8cfc05b1: Pulling fs layer [2023-01-11T15:32:50.475Z] 765212b225bb: Waiting [2023-01-11T15:32:50.475Z] 2437ff75d9bd: Pulling fs layer [2023-01-11T15:32:50.475Z] d65c8cfc05b1: Waiting [2023-01-11T15:32:50.475Z] 2437ff75d9bd: Waiting [2023-01-11T15:32:50.475Z] f23df028b6ca: Waiting [2023-01-11T15:32:50.743Z] 04944245beec: Verifying Checksum [2023-01-11T15:32:50.743Z] 04944245beec: Download complete [2023-01-11T15:32:50.743Z] 765212b225bb: Verifying Checksum [2023-01-11T15:32:50.743Z] 765212b225bb: Download complete [2023-01-11T15:32:50.743Z] f23df028b6ca: Download complete [2023-01-11T15:32:50.743Z] d65c8cfc05b1: Verifying Checksum [2023-01-11T15:32:50.743Z] d65c8cfc05b1: Download complete [2023-01-11T15:32:51.017Z] 699f458cf7ca: Verifying Checksum [2023-01-11T15:32:51.017Z] 699f458cf7ca: Download complete [2023-01-11T15:32:51.283Z] 8998bd30e6a1: Verifying Checksum [2023-01-11T15:32:51.283Z] 8998bd30e6a1: Download complete [2023-01-11T15:32:53.877Z] 2437ff75d9bd: Download complete [2023-01-11T15:32:55.288Z] 8998bd30e6a1: Pull complete [2023-01-11T15:32:56.249Z] 04944245beec: Pull complete [2023-01-11T15:32:57.658Z] 699f458cf7ca: Pull complete [2023-01-11T15:32:57.926Z] 765212b225bb: Pull complete [2023-01-11T15:32:58.510Z] f23df028b6ca: Pull complete [2023-01-11T15:32:58.777Z] d65c8cfc05b1: Pull complete [2023-01-11T15:33:13.769Z] 2437ff75d9bd: Pull complete [2023-01-11T15:33:13.769Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-11T15:33:13.769Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T15:33:13.769Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T15:33:13.957Z] prd-ubuntu20.04-docker-arm64-4c-16g-1859 does not seem to be running inside a container [2023-01-11T15:33:14.019Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-11T15:33:16.545Z] $ docker top 32bf42413c62fa2b9a1fd8040ef541926432fe48ca49e7b3a52b13024b50b0e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:33:17.371Z] ---> job-cost.sh [2023-01-11T15:33:17.371Z] lf-activate-venv: SKIPPING [2023-01-11T15:33:17.371Z] INFO: No Stack... [2023-01-11T15:33:17.952Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-11T15:33:18.909Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T15:33:19.548Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2023-01-11T15:33:19.548Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T15:33:19.611Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1273-3-stack-cost] [2023-01-11T15:33:19.617Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1273-3-stack-cost] did not exist. Created. [2023-01-11T15:33:19.617Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1273-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T15:33:20.282Z] /w/workspace/device-sdk-go/3@tmp/durable-685f7a93/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-11T15:33:20.941Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-11T15:33:20.963Z] Warning: overwriting stash ‘stack-cost’ [2023-01-11T15:33:21.025Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T15:33:21.031Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1273-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T15:33:21.045Z] $ docker stop --time=1 32bf42413c62fa2b9a1fd8040ef541926432fe48ca49e7b3a52b13024b50b0e9 [2023-01-11T15:33:22.544Z] $ docker rm -f --volumes 32bf42413c62fa2b9a1fd8040ef541926432fe48ca49e7b3a52b13024b50b0e9 [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-11T15:33:22.911Z] provisioning config files... [2023-01-11T15:33:22.919Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1273@tmp/config3723066602342998367tmp [Pipeline] { [Pipeline] sh [2023-01-11T15:33:23.206Z] + set +x [2023-01-11T15:33:23.206Z] + curl -s https://codecov.io/bash [2023-01-11T15:33:23.206Z] + bash -s -- [2023-01-11T15:33:23.206Z] [2023-01-11T15:33:23.206Z] _____ _ [2023-01-11T15:33:23.206Z] / ____| | | [2023-01-11T15:33:23.206Z] | | ___ __| | ___ ___ _____ __ [2023-01-11T15:33:23.206Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-11T15:33:23.206Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-11T15:33:23.206Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-11T15:33:23.206Z] Bash-1.0.6 [2023-01-11T15:33:23.206Z] [2023-01-11T15:33:23.206Z] [2023-01-11T15:33:23.206Z] ==> git version 2.25.1 found [2023-01-11T15:33:23.206Z] ==> 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-11T15:33:23.206Z] Release-Date: 2020-01-08 [2023-01-11T15:33:23.206Z] 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-11T15:33:23.206Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-11T15:33:23.206Z] ==> Jenkins CI detected. [2023-01-11T15:33:23.206Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1273 [2023-01-11T15:33:23.206Z] project root: . [2023-01-11T15:33:23.206Z] --> token set from env [2023-01-11T15:33:23.206Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-11T15:33:23.206Z] ==> Running gcov in . (disable via -X gcov) [2023-01-11T15:33:23.206Z] ==> Python coveragepy not found [2023-01-11T15:33:23.206Z] ==> Searching for coverage reports in: [2023-01-11T15:33:23.206Z] + . [2023-01-11T15:33:23.206Z] -> Found 1 reports [2023-01-11T15:33:23.206Z] ==> Detecting git/mercurial file structure [2023-01-11T15:33:23.206Z] ==> Reading reports [2023-01-11T15:33:23.206Z] + ./coverage.out bytes=101913 [2023-01-11T15:33:23.206Z] ==> Appending adjustments [2023-01-11T15:33:23.206Z] https://docs.codecov.io/docs/fixing-reports [2023-01-11T15:33:23.775Z] + Found adjustments [2023-01-11T15:33:23.775Z] ==> Gzipping contents [2023-01-11T15:33:23.775Z] 16K /tmp/codecov.bPCjbm.gz [2023-01-11T15:33:23.775Z] ==> Uploading reports [2023-01-11T15:33:23.775Z] url: https://codecov.io [2023-01-11T15:33:23.775Z] query: branch=PR-1273&commit=ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1273%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1273&job=&cmd_args= [2023-01-11T15:33:23.775Z] -> Pinging Codecov [2023-01-11T15:33:23.775Z] 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=ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1273%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1273&job=&cmd_args= [2023-01-11T15:33:24.035Z] -> Uploading to [2023-01-11T15:33:24.035Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-11/7E55EF52A471D76F132DFD9A03CDDE97/ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6/d5b1d8cc-7915-4bdb-b92c-5de08f852b00.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T153323Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e733240c4b5f4470c26cf86221b633e80378e733c090a1dd6de03a9e44f46af8 [2023-01-11T15:33:24.035Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T15:33:24.035Z] Dload Upload Total Spent Left Speed [2023-01-11T15:33:24.294Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14800 0 0 100 14800 0 68202 --:--:-- --:--:-- --:--:-- 68202 [2023-01-11T15:33:24.294Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ebb4d574cedcd34a1a0a0bbc9318b53a84a6b8a6 [Pipeline] } [2023-01-11T15:33:24.303Z] 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-11T15:33:24.993Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1273/archives ] [2023-01-11T15:33:24.993Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1273/archives [2023-01-11T15:33:24.993Z] total 16 [2023-01-11T15:33:24.993Z] drwxr-xr-x 3 root root 4096 Jan 11 15:24 . [2023-01-11T15:33:24.993Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 11 15:24 .. [2023-01-11T15:33:24.993Z] drwxr-xr-x 2 root root 4096 Jan 11 15:24 cost [2023-01-11T15:33:24.993Z] -rw-r--r-- 1 root root 86 Jan 11 15:24 cost.csv [2023-01-11T15:33:24.993Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1273/archives [2023-01-11T15:33:24.993Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1273/archives [2023-01-11T15:33:24.993Z] total 16 [2023-01-11T15:33:24.993Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 15:24 . [2023-01-11T15:33:24.993Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 11 15:24 .. [2023-01-11T15:33:24.993Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 15:24 cost [2023-01-11T15:33:24.993Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 11 15:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:33:25.281Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:33:26.133Z] ---> package-listing.sh [2023-01-11T15:33:26.133Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-11T15:33:26.133Z] ++ facter osfamily [2023-01-11T15:33:26.392Z] + OS_FAMILY=debian [2023-01-11T15:33:26.392Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1273 [2023-01-11T15:33:26.392Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-11T15:33:26.392Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-11T15:33:26.392Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-11T15:33:26.392Z] + PACKAGES=/tmp/packages_start.txt [2023-01-11T15:33:26.392Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1273 ']' [2023-01-11T15:33:26.392Z] + PACKAGES=/tmp/packages_end.txt [2023-01-11T15:33:26.392Z] + case "${OS_FAMILY}" in [2023-01-11T15:33:26.392Z] + dpkg -l [2023-01-11T15:33:26.392Z] + grep '^ii' [2023-01-11T15:33:26.392Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-11T15:33:26.392Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-11T15:33:26.392Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-11T15:33:26.392Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1273 ']' [2023-01-11T15:33:26.392Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1273/archives/ [2023-01-11T15:33:26.392Z] + 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-11T15:33:26.403Z] 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-11T15:33:26.681Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T15:33:27.240Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T15:33:27.240Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T15:33:27.315Z] prd-ubuntu20.04-docker-8c-8g-1858 does not seem to be running inside a container [2023-01-11T15:33:27.346Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T15:33:27.554Z] $ docker top c1c21043d09f35b725ebb8fb41fe3fe826793429a39e8a58ccc3aa2d514d0d91 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T15:33:27.905Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-11T15:33:28.192Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-11T15:33:28.480Z] + ls /var/log/sa-host [2023-01-11T15:33:28.480Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T15:33:28.640Z] provisioning config files... [2023-01-11T15:33:28.648Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1273@tmp/config9311816474609009728tmp [Pipeline] { [Pipeline] echo [2023-01-11T15:33:28.660Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:33:28.944Z] ---> create-netrc.sh [Pipeline] } [2023-01-11T15:33:28.951Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:33:29.283Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-11T15:33:29.293Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:33:29.577Z] ---> sudo-logs.sh [2023-01-11T15:33:29.577Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-11T15:33:29.606Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:33:29.888Z] ---> job-cost.sh [2023-01-11T15:33:29.888Z] lf-activate-venv: SKIPPING [2023-01-11T15:33:29.888Z] DEBUG: total: 0.2199999988079071 [2023-01-11T15:33:29.888Z] INFO: Retrieving Stack Cost... [2023-01-11T15:33:30.456Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T15:33:30.715Z] INFO: Archiving Costs [Pipeline] echo [2023-01-11T15:33:30.729Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T15:33:31.013Z] ---> logs-deploy.sh [2023-01-11T15:33:31.013Z] lf-activate-venv: SKIPPING [2023-01-11T15:33:31.013Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1273/3 [2023-01-11T15:33:31.013Z] INFO: archiving workspace using pattern(s): [2023-01-11T15:33:31.950Z] Archives upload complete. [2023-01-11T15:33:31.950Z] INFO: archiving logs to Nexus