Pull request #1270 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 1f95b192d61f5c14ee494a45b5556a6764ee66eb+00b01047cdcdd0c95135504e6ad4bd8a08767464 (9af149b8c76a50c8d34811cc333cc7e2a9d8f276) 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-ssh11323687471265974209.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-ssh6279707149568203586.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-1270/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-1270/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14998292855754984391.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-ssh1884297240673931527.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-1270/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-1270/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4277059709442219994.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1466 in /w/workspace/gexfoundry_device-sdk-go_PR-1270 [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-1270 # 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/1270/head:refs/remotes/origin/PR-1270 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 00b01047cdcdd0c95135504e6ad4bd8a08767464 into PR head commit 1f95b192d61f5c14ee494a45b5556a6764ee66eb Merge succeeded, producing 1f95b192d61f5c14ee494a45b5556a6764ee66eb Checking out Revision 1f95b192d61f5c14ee494a45b5556a6764ee66eb (PR-1270) > git config core.sparsecheckout # timeout=10 > git checkout -f 1f95b192d61f5c14ee494a45b5556a6764ee66eb # 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 00b01047cdcdd0c95135504e6ad4bd8a08767464 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f95b192d61f5c14ee494a45b5556a6764ee66eb # timeout=10 Commit message: "feat: implement support for ProvisionWatchersDir" First time build. Skipping changelog. > git rev-list --no-walk d04c9e0c5aca6a52e052f4c90836ca69e3360c8b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-09T17:22:37.899Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-09T17:22:37.943Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-09T17:22:37.959Z] ========================================================= [2023-01-09T17:22:37.959Z] EdgeX Global Pipelines Version Info [2023-01-09T17:22:37.959Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:22:38.679Z] ------------------- [2023-01-09T17:22:38.679Z] stable info: [2023-01-09T17:22:38.679Z] ------------------- [2023-01-09T17:22:38.679Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-09T17:22:38.679Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-09T17:22:38.679Z] Message: update stable to v1.0.244 [2023-01-09T17:22:39.248Z] ------------------- [2023-01-09T17:22:39.248Z] experimental info: [2023-01-09T17:22:39.248Z] ------------------- [2023-01-09T17:22:39.248Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-09T17:22:39.248Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-09T17:22:39.248Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-09T17:22:39.423Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-09T17:22:39.432Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-09T17:22:39.440Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-09T17:22:39.449Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-09T17:22:39.457Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-09T17:22:39.466Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-09T17:22:39.474Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-09T17:22:39.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-09T17:22:39.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-09T17:22:39.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-09T17:22:39.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-09T17:22:39.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-09T17:22:39.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-09T17:22:39.547Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-09T17:22:39.560Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-09T17:22:39.569Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T17:22:39.578Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T17:22:39.586Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T17:22:39.595Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-09T17:22:39.604Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-09T17:22:39.612Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-09T17:22:39.621Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-09T17:22:39.629Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-09T17:22:39.638Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-09T17:22:39.646Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-09T17:22:39.656Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-09T17:22:39.675Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-09T17:22:39.693Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1270 [Pipeline] echo [2023-01-09T17:22:39.710Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1270 [Pipeline] echo [2023-01-09T17:22:39.726Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1270 [Pipeline] echo [2023-01-09T17:22:39.737Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f95b192d61f5c14ee494a45b5556a6764ee66eb [Pipeline] echo [2023-01-09T17:22:39.752Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f95b19 [Pipeline] echo [2023-01-09T17:22:39.762Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T17:22:39.807Z] provisioning config files... [2023-01-09T17:22:39.821Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp/config10105235690401355021tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:22:40.131Z] ---> docker-login.sh [2023-01-09T17:22:40.131Z] nexus3.edgexfoundry.org:10001 [2023-01-09T17:22:40.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T17:22:40.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T17:22:40.393Z] Configure a credential helper to remove this warning. See [2023-01-09T17:22:40.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T17:22:40.393Z] [2023-01-09T17:22:40.393Z] Login Succeeded [2023-01-09T17:22:40.393Z] nexus3.edgexfoundry.org:10002 [2023-01-09T17:22:40.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T17:22:40.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T17:22:40.656Z] Configure a credential helper to remove this warning. See [2023-01-09T17:22:40.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T17:22:40.656Z] [2023-01-09T17:22:40.656Z] Login Succeeded [2023-01-09T17:22:40.656Z] nexus3.edgexfoundry.org:10003 [2023-01-09T17:22:40.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T17:22:40.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T17:22:40.656Z] Configure a credential helper to remove this warning. See [2023-01-09T17:22:40.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T17:22:40.656Z] [2023-01-09T17:22:40.656Z] Login Succeeded [2023-01-09T17:22:40.656Z] nexus3.edgexfoundry.org:10004 [2023-01-09T17:22:40.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T17:22:40.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T17:22:40.916Z] Configure a credential helper to remove this warning. See [2023-01-09T17:22:40.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T17:22:40.916Z] [2023-01-09T17:22:40.916Z] Login Succeeded [2023-01-09T17:22:40.916Z] docker.io [2023-01-09T17:22:40.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T17:22:41.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T17:22:41.176Z] Configure a credential helper to remove this warning. See [2023-01-09T17:22:41.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T17:22:41.176Z] [2023-01-09T17:22:41.176Z] Login Succeeded [2023-01-09T17:22:41.176Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T17:22:41.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-09T17:22:41.551Z] + git rev-list -1 --merges 1f95b192d61f5c14ee494a45b5556a6764ee66eb~1..1f95b192d61f5c14ee494a45b5556a6764ee66eb [Pipeline] echo [2023-01-09T17:22:41.602Z] -----------> git rev-list -1 --merges 1f95b192d61f5c14ee494a45b5556a6764ee66eb~1..1f95b192d61f5c14ee494a45b5556a6764ee66eb 1f95b192d61f5c14ee494a45b5556a6764ee66eb [false] [Pipeline] sh [2023-01-09T17:22:41.887Z] + git log --format=format:%s -1 1f95b192d61f5c14ee494a45b5556a6764ee66eb [Pipeline] echo [2023-01-09T17:22:41.902Z] ========================================================= [2023-01-09T17:22:41.902Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-09T17:22:41.902Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T17:22:42.214Z] + git log --format=format:%s -1 1f95b192d61f5c14ee494a45b5556a6764ee66eb [Pipeline] echo [2023-01-09T17:22:42.225Z] [semverPrep] GIT_COMMIT: 1f95b192d61f5c14ee494a45b5556a6764ee66eb, Commit Message: feat: implement support for ProvisionWatchersDir [Pipeline] echo [2023-01-09T17:22:42.233Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-09T17:22:42.586Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-09T17:22:42.586Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-09T17:22:42.586Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-09T17:22:42.586Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-09T17:22:42.586Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-09T17:22:42.586Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-09T17:22:42.586Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T17:22:42.928Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T17:22:42.928Z] [2023-01-09T17:22:42.928Z] 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-09T17:22:43.227Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T17:22:43.227Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-09T17:22:43.227Z] b85a868b505f: Pulling fs layer [2023-01-09T17:22:43.227Z] e2be974225ed: Pulling fs layer [2023-01-09T17:22:43.227Z] 339a4e72a1f5: Pulling fs layer [2023-01-09T17:22:43.227Z] 988bab9f4d93: Pulling fs layer [2023-01-09T17:22:43.227Z] 1469e6f7b9e6: Pulling fs layer [2023-01-09T17:22:43.227Z] eaf3925da568: Pulling fs layer [2023-01-09T17:22:43.227Z] bab4dde63d76: Pulling fs layer [2023-01-09T17:22:43.227Z] bde34c3a00c8: Pulling fs layer [2023-01-09T17:22:43.227Z] b352a97aabf1: Pulling fs layer [2023-01-09T17:22:43.227Z] 4872d77fe225: Pulling fs layer [2023-01-09T17:22:43.227Z] 5851b861e8e6: Pulling fs layer [2023-01-09T17:22:43.227Z] 1469e6f7b9e6: Waiting [2023-01-09T17:22:43.227Z] eaf3925da568: Waiting [2023-01-09T17:22:43.227Z] bab4dde63d76: Waiting [2023-01-09T17:22:43.227Z] bde34c3a00c8: Waiting [2023-01-09T17:22:43.227Z] b352a97aabf1: Waiting [2023-01-09T17:22:43.227Z] 4872d77fe225: Waiting [2023-01-09T17:22:43.227Z] 988bab9f4d93: Waiting [2023-01-09T17:22:43.227Z] 5851b861e8e6: Waiting [2023-01-09T17:22:43.227Z] e2be974225ed: Verifying Checksum [2023-01-09T17:22:43.227Z] e2be974225ed: Download complete [2023-01-09T17:22:43.227Z] 988bab9f4d93: Download complete [2023-01-09T17:22:43.487Z] 339a4e72a1f5: Verifying Checksum [2023-01-09T17:22:43.487Z] 339a4e72a1f5: Download complete [2023-01-09T17:22:43.487Z] 1469e6f7b9e6: Verifying Checksum [2023-01-09T17:22:43.487Z] 1469e6f7b9e6: Download complete [2023-01-09T17:22:43.487Z] eaf3925da568: Download complete [2023-01-09T17:22:43.487Z] bde34c3a00c8: Download complete [2023-01-09T17:22:43.487Z] b352a97aabf1: Download complete [2023-01-09T17:22:43.487Z] 4872d77fe225: Download complete [2023-01-09T17:22:43.487Z] 5851b861e8e6: Download complete [2023-01-09T17:22:43.487Z] b85a868b505f: Verifying Checksum [2023-01-09T17:22:43.487Z] b85a868b505f: Download complete [2023-01-09T17:22:43.748Z] bab4dde63d76: Verifying Checksum [2023-01-09T17:22:43.748Z] bab4dde63d76: Download complete [2023-01-09T17:22:44.687Z] b85a868b505f: Pull complete [2023-01-09T17:22:44.687Z] e2be974225ed: Pull complete [2023-01-09T17:22:45.303Z] 339a4e72a1f5: Pull complete [2023-01-09T17:22:45.303Z] 988bab9f4d93: Pull complete [2023-01-09T17:22:45.560Z] 1469e6f7b9e6: Pull complete [2023-01-09T17:22:45.821Z] eaf3925da568: Pull complete [2023-01-09T17:22:47.726Z] bab4dde63d76: Pull complete [2023-01-09T17:22:47.726Z] bde34c3a00c8: Pull complete [2023-01-09T17:22:47.726Z] b352a97aabf1: Pull complete [2023-01-09T17:22:47.726Z] 4872d77fe225: Pull complete [2023-01-09T17:22:47.726Z] 5851b861e8e6: Pull complete [2023-01-09T17:22:47.726Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-09T17:22:47.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T17:22:47.726Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T17:22:47.811Z] prd-ubuntu20.04-docker-8c-8g-1466 does not seem to be running inside a container [2023-01-09T17:22:47.846Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1270 -v /w/workspace/gexfoundry_device-sdk-go_PR-1270:/w/workspace/gexfoundry_device-sdk-go_PR-1270:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-09T17:22:50.331Z] $ docker top 3de0c535f47f60e62c6a19bbdbd0126142f2a42eb6d089d133bf5ceaefdf6e3b -eo pid,comm [2023-01-09T17:22:50.387Z] 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-09T17:22:50.387Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-09T17:22:50.437Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-09T17:22:50.437Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-09T17:22:50.542Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-09T17:22:50.548Z] $ docker exec 3de0c535f47f60e62c6a19bbdbd0126142f2a42eb6d089d133bf5ceaefdf6e3b ssh-agent [2023-01-09T17:22:50.650Z] SSH_AUTH_SOCK=/tmp/ssh-JTLNXuNrhJcO/agent.33 [2023-01-09T17:22:50.650Z] SSH_AGENT_PID=39 [2023-01-09T17:22:50.657Z] Running ssh-add (command line suppressed) [2023-01-09T17:22:50.762Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp/private_key_12793348619550211116.key (/w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp/private_key_12793348619550211116.key) [2023-01-09T17:22:50.774Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-09T17:22:51.062Z] + git tag --points-at HEAD [Pipeline] } [2023-01-09T17:22:51.075Z] $ docker exec --env ******** --env ******** 3de0c535f47f60e62c6a19bbdbd0126142f2a42eb6d089d133bf5ceaefdf6e3b ssh-agent -k [2023-01-09T17:22:51.173Z] unset SSH_AUTH_SOCK; [2023-01-09T17:22:51.173Z] unset SSH_AGENT_PID; [2023-01-09T17:22:51.173Z] echo Agent pid 39 killed; [2023-01-09T17:22:51.178Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-09T17:22:51.202Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-09T17:22:51.202Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-09T17:22:51.308Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-09T17:22:51.313Z] $ docker exec 3de0c535f47f60e62c6a19bbdbd0126142f2a42eb6d089d133bf5ceaefdf6e3b ssh-agent [2023-01-09T17:22:51.421Z] SSH_AUTH_SOCK=/tmp/ssh-SdeghHDzXD9h/agent.72 [2023-01-09T17:22:51.421Z] SSH_AGENT_PID=78 [2023-01-09T17:22:51.426Z] Running ssh-add (command line suppressed) [2023-01-09T17:22:51.529Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp/private_key_10195301710715255156.key (/w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp/private_key_10195301710715255156.key) [2023-01-09T17:22:51.539Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-09T17:22:51.832Z] + git semver init [2023-01-09T17:22:52.091Z] 2023-01-09 17:22:52,003 [run_init] DEBUG init version:0.0.0 force:False [2023-01-09T17:22:52.091Z] 2023-01-09 17:22:52,004 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1270/.semver [2023-01-09T17:22:52.091Z] 2023-01-09 17:22:52,004 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1270/.semver [2023-01-09T17:22:52.091Z] 2023-01-09 17:22:52,004 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1270/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1270, universal_newlines=False, shell=None, istream=None) [2023-01-09T17:22:53.031Z] 2023-01-09 17:22:53,016 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1270/.git/info/exclude [2023-01-09T17:22:53.031Z] 2023-01-09 17:22:53,016 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1270/.semver/PR-1270 with force:False [2023-01-09T17:22:53.031Z] 2023-01-09 17:22:53,016 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1270/.semver/PR-1270 [2023-01-09T17:22:53.031Z] 2023-01-09 17:22:53,019 [execute] INFO git cat-file --batch-check [2023-01-09T17:22:53.031Z] 2023-01-09 17:22:53,019 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1270/.semver, universal_newlines=False, shell=None, istream=) [2023-01-09T17:22:53.031Z] 2023-01-09 17:22:53,025 [execute] INFO git cat-file --batch [2023-01-09T17:22:53.031Z] 2023-01-09 17:22:53,025 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1270/.semver, universal_newlines=False, shell=None, istream=) [2023-01-09T17:22:53.031Z] 2023-01-09 17:22:53,031 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1270/.semver/PR-1270 [2023-01-09T17:22:53.031Z] 0.0.0 [Pipeline] } [2023-01-09T17:22:53.304Z] $ docker exec --env ******** --env ******** 3de0c535f47f60e62c6a19bbdbd0126142f2a42eb6d089d133bf5ceaefdf6e3b ssh-agent -k [2023-01-09T17:22:53.392Z] unset SSH_AUTH_SOCK; [2023-01-09T17:22:53.393Z] unset SSH_AGENT_PID; [2023-01-09T17:22:53.393Z] echo Agent pid 78 killed; [2023-01-09T17:22:53.400Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-09T17:22:53.701Z] + git semver [Pipeline] } [2023-01-09T17:22:53.977Z] $ docker stop --time=1 3de0c535f47f60e62c6a19bbdbd0126142f2a42eb6d089d133bf5ceaefdf6e3b [2023-01-09T17:22:55.229Z] $ docker rm -f --volumes 3de0c535f47f60e62c6a19bbdbd0126142f2a42eb6d089d133bf5ceaefdf6e3b [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T17:22:55.563Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-09T17:22:55.762Z] Stashed 1 file(s) [Pipeline] echo [2023-01-09T17:22:55.766Z] [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-09T17:22:55.878Z] provisioning config files... [2023-01-09T17:22:55.886Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp/config13085400169662219924tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:22:56.184Z] ---> docker-login.sh [2023-01-09T17:22:56.184Z] nexus3.edgexfoundry.org:10001 [2023-01-09T17:22:56.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T17:22:56.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T17:22:56.184Z] Configure a credential helper to remove this warning. See [2023-01-09T17:22:56.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T17:22:56.184Z] [2023-01-09T17:22:56.184Z] Login Succeeded [2023-01-09T17:22:56.184Z] nexus3.edgexfoundry.org:10002 [2023-01-09T17:22:56.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T17:22:56.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T17:22:56.184Z] Configure a credential helper to remove this warning. See [2023-01-09T17:22:56.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T17:22:56.184Z] [2023-01-09T17:22:56.184Z] Login Succeeded [2023-01-09T17:22:56.184Z] nexus3.edgexfoundry.org:10003 [2023-01-09T17:22:56.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T17:22:56.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T17:22:56.445Z] Configure a credential helper to remove this warning. See [2023-01-09T17:22:56.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T17:22:56.445Z] [2023-01-09T17:22:56.445Z] Login Succeeded [2023-01-09T17:22:56.445Z] nexus3.edgexfoundry.org:10004 [2023-01-09T17:22:56.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T17:22:56.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T17:22:56.445Z] Configure a credential helper to remove this warning. See [2023-01-09T17:22:56.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T17:22:56.445Z] [2023-01-09T17:22:56.445Z] Login Succeeded [2023-01-09T17:22:56.445Z] docker.io [2023-01-09T17:22:56.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T17:22:56.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T17:22:56.704Z] Configure a credential helper to remove this warning. See [2023-01-09T17:22:56.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T17:22:56.705Z] [2023-01-09T17:22:56.705Z] Login Succeeded [2023-01-09T17:22:56.705Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T17:22:56.713Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-09T17:22:56.775Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T17:22:56.792Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T17:22:56.801Z] ========================================================= [2023-01-09T17:22:56.801Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-09T17:22:56.801Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T17:22:57.127Z] + 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-09T17:22:57.127Z] Sending build context to Docker daemon 10.42MB [2023-01-09T17:22:57.127Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T17:22:57.127Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-09T17:22:57.127Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-09T17:22:57.127Z] 213ec9aee27d: Pulling fs layer [2023-01-09T17:22:57.127Z] 4583459ba037: Pulling fs layer [2023-01-09T17:22:57.127Z] 93c1e223e6f2: Pulling fs layer [2023-01-09T17:22:57.127Z] 53926ce57604: Pulling fs layer [2023-01-09T17:22:57.127Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-09T17:22:57.127Z] 22ff95d597cd: Pulling fs layer [2023-01-09T17:22:57.127Z] 12d6caf4c0d1: Pulling fs layer [2023-01-09T17:22:57.127Z] 96b7cbca73a9: Pulling fs layer [2023-01-09T17:22:57.127Z] a7acece74701: Pulling fs layer [2023-01-09T17:22:57.127Z] 53926ce57604: Waiting [2023-01-09T17:22:57.127Z] 21b2b0c7a3f4: Waiting [2023-01-09T17:22:57.127Z] 22ff95d597cd: Waiting [2023-01-09T17:22:57.127Z] 12d6caf4c0d1: Waiting [2023-01-09T17:22:57.127Z] 96b7cbca73a9: Waiting [2023-01-09T17:22:57.127Z] a7acece74701: Waiting [2023-01-09T17:22:57.389Z] 93c1e223e6f2: Verifying Checksum [2023-01-09T17:22:57.389Z] 93c1e223e6f2: Download complete [2023-01-09T17:22:57.389Z] 4583459ba037: Verifying Checksum [2023-01-09T17:22:57.389Z] 4583459ba037: Download complete [2023-01-09T17:22:57.389Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-09T17:22:57.389Z] 21b2b0c7a3f4: Download complete [2023-01-09T17:22:57.389Z] 22ff95d597cd: Verifying Checksum [2023-01-09T17:22:57.389Z] 22ff95d597cd: Download complete [2023-01-09T17:22:57.389Z] 213ec9aee27d: Verifying Checksum [2023-01-09T17:22:57.389Z] 213ec9aee27d: Download complete [2023-01-09T17:22:57.389Z] 12d6caf4c0d1: Verifying Checksum [2023-01-09T17:22:57.389Z] 12d6caf4c0d1: Download complete [2023-01-09T17:22:57.389Z] 213ec9aee27d: Pull complete [2023-01-09T17:22:57.662Z] 4583459ba037: Pull complete [2023-01-09T17:22:57.662Z] 93c1e223e6f2: Pull complete [2023-01-09T17:22:58.261Z] a7acece74701: Verifying Checksum [2023-01-09T17:22:58.261Z] a7acece74701: Download complete [2023-01-09T17:22:58.261Z] 53926ce57604: Verifying Checksum [2023-01-09T17:22:58.261Z] 53926ce57604: Download complete [2023-01-09T17:22:58.522Z] 96b7cbca73a9: Verifying Checksum [2023-01-09T17:22:58.522Z] 96b7cbca73a9: Download complete [2023-01-09T17:23:02.716Z] 53926ce57604: Pull complete [2023-01-09T17:23:02.716Z] 21b2b0c7a3f4: Pull complete [2023-01-09T17:23:02.716Z] 22ff95d597cd: Pull complete [2023-01-09T17:23:02.716Z] 12d6caf4c0d1: Pull complete [2023-01-09T17:23:04.091Z] 96b7cbca73a9: Pull complete [2023-01-09T17:23:05.026Z] a7acece74701: Pull complete [2023-01-09T17:23:05.026Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-09T17:23:05.026Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-09T17:23:05.026Z] ---> db6d94c90886 [2023-01-09T17:23:05.026Z] Step 3/10 : ARG MAKE=make build [2023-01-09T17:23:09.288Z] ---> Running in 4ea7146c4a8c [2023-01-09T17:23:09.288Z] Removing intermediate container 4ea7146c4a8c [2023-01-09T17:23:09.288Z] ---> c8edcadd6173 [2023-01-09T17:23:09.288Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-09T17:23:09.288Z] ---> Running in 5d7bd549e291 [2023-01-09T17:23:09.288Z] Removing intermediate container 5d7bd549e291 [2023-01-09T17:23:09.288Z] ---> 34ede9a33d57 [2023-01-09T17:23:09.288Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-09T17:23:09.288Z] ---> Running in 6adf3c0aa45b [2023-01-09T17:23:09.288Z] Removing intermediate container 6adf3c0aa45b [2023-01-09T17:23:09.288Z] ---> 13d50a20408f [2023-01-09T17:23:09.288Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-09T17:23:09.288Z] ---> Running in 9e7f99fb9170 [2023-01-09T17:23:09.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T17:23:09.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T17:23:09.805Z] OK: 211 MiB in 51 packages [2023-01-09T17:23:10.066Z] Removing intermediate container 9e7f99fb9170 [2023-01-09T17:23:10.066Z] ---> 379a3be8255d [2023-01-09T17:23:10.066Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-09T17:23:10.325Z] ---> eb37a0c1fcd3 [2023-01-09T17:23:10.325Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T17:23:10.325Z] ---> Running in d2202e5191d4 [2023-01-09T17:23:10.849Z] Still waiting to schedule task [2023-01-09T17:23:10.849Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1465’ [2023-01-09T17:23:36.881Z] Removing intermediate container d2202e5191d4 [2023-01-09T17:23:36.881Z] ---> 522ea37b9000 [2023-01-09T17:23:36.881Z] Step 9/10 : COPY . . [2023-01-09T17:23:36.881Z] ---> 6612f36df48f [2023-01-09T17:23:36.881Z] Step 10/10 : RUN ${MAKE} [2023-01-09T17:23:36.881Z] ---> Running in 575e983519b0 [2023-01-09T17:23:36.881Z] noop [2023-01-09T17:23:36.881Z] Removing intermediate container 575e983519b0 [2023-01-09T17:23:36.881Z] ---> 17055873ab15 [2023-01-09T17:23:36.881Z] Successfully built 17055873ab15 [2023-01-09T17:23:36.881Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T17:23:37.205Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-09T17:23:37.205Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T17:23:37.281Z] prd-ubuntu20.04-docker-8c-8g-1466 does not seem to be running inside a container [2023-01-09T17:23:37.314Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1270 -v /w/workspace/gexfoundry_device-sdk-go_PR-1270:/w/workspace/gexfoundry_device-sdk-go_PR-1270:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-09T17:23:37.653Z] $ docker top fba39da8babc794442acec5f2f9f42a347a1dd9c1592909c6a96eb7271e18c8c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T17:23:37.993Z] + go version [2023-01-09T17:23:37.993Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-09T17:23:38.007Z] $ docker stop --time=1 fba39da8babc794442acec5f2f9f42a347a1dd9c1592909c6a96eb7271e18c8c [2023-01-09T17:23:39.273Z] $ docker rm -f --volumes fba39da8babc794442acec5f2f9f42a347a1dd9c1592909c6a96eb7271e18c8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T17:23:39.659Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-09T17:23:39.659Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T17:23:39.727Z] prd-ubuntu20.04-docker-8c-8g-1466 does not seem to be running inside a container [2023-01-09T17:23:39.758Z] $ 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-1270 -v /w/workspace/gexfoundry_device-sdk-go_PR-1270:/w/workspace/gexfoundry_device-sdk-go_PR-1270:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-09T17:23:40.071Z] $ docker top 00c3c394de7e5b814681d77d1db52910e25c09e515ad69fbf214e343cae6f17c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T17:23:40.407Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1270 [Pipeline] fileExists [Pipeline] sh [2023-01-09T17:23:40.699Z] + make test [2023-01-09T17:23:40.699Z] go test -race -coverprofile=coverage.out ./... [2023-01-09T17:23:47.260Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-09T17:24:02.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-09T17:24:02.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-09T17:24:02.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-09T17:24:02.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-09T17:24:02.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-09T17:24:02.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.062s coverage: 27.6% of statements [2023-01-09T17:24:02.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.078s coverage: 78.9% of statements [2023-01-09T17:24:02.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-09T17:24:02.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.120s coverage: 73.1% of statements [2023-01-09T17:24:02.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-09T17:24:02.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-09T17:24:02.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.118s coverage: 54.4% of statements [2023-01-09T17:24:02.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-09T17:24:02.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-09T17:24:02.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-09T17:24:02.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-09T17:24:02.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.087s coverage: 65.1% of statements [2023-01-09T17:24:02.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-09T17:24:02.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-09T17:24:02.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.763s coverage: 89.2% of statements [2023-01-09T17:24:02.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-09T17:24:02.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 4.6% of statements [2023-01-09T17:24:02.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-09T17:24:20.221Z] 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-09T17:24:20.221Z] GO111MODULE=on go vet ./... [2023-01-09T17:24:21.596Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-09T17:24:21.596Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-09T17:24:21.596Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-09T17:24:21.609Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-09T17:24:21.627Z] $ docker stop --time=1 00c3c394de7e5b814681d77d1db52910e25c09e515ad69fbf214e343cae6f17c [2023-01-09T17:24:23.901Z] $ docker rm -f --volumes 00c3c394de7e5b814681d77d1db52910e25c09e515ad69fbf214e343cae6f17c [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T17:24:24.378Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-09T17:24:24.437Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-09T17:24:24.865Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-09T17:24:25.150Z] + ls -al . [2023-01-09T17:24:25.150Z] total 280 [2023-01-09T17:24:25.150Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 9 17:23 . [2023-01-09T17:24:25.150Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 17:22 .. [2023-01-09T17:24:25.150Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 9 17:22 .dockerignore [2023-01-09T17:24:25.150Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 17:24 .git [2023-01-09T17:24:25.150Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 17:22 .github [2023-01-09T17:24:25.150Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 9 17:22 .gitignore [2023-01-09T17:24:25.150Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 9 17:22 .golangci.yml [2023-01-09T17:24:25.150Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 17:22 .semver [2023-01-09T17:24:25.150Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 9 17:22 CHANGELOG.md [2023-01-09T17:24:25.150Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 9 17:22 GOVERNANCE.md [2023-01-09T17:24:25.150Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 9 17:22 Jenkinsfile [2023-01-09T17:24:25.150Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 9 17:22 LICENSE [2023-01-09T17:24:25.150Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 9 17:22 Makefile [2023-01-09T17:24:25.150Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 9 17:22 OWNERS.md [2023-01-09T17:24:25.150Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 9 17:22 README.md [2023-01-09T17:24:25.150Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 17:22 VERSION [2023-01-09T17:24:25.150Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 17:22 bin [2023-01-09T17:24:25.150Z] -rw-r--r-- 1 jenkins jenkins 101911 Jan 9 17:24 coverage.out [2023-01-09T17:24:25.150Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 9 17:22 example [2023-01-09T17:24:25.150Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 9 17:22 go.mod [2023-01-09T17:24:25.150Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 9 17:22 go.sum [2023-01-09T17:24:25.150Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 9 17:22 internal [2023-01-09T17:24:25.150Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 17:22 openapi [2023-01-09T17:24:25.150Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 9 17:22 pkg [2023-01-09T17:24:25.150Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 17:22 snap [2023-01-09T17:24:25.150Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 9 17:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T17:24:25.455Z] + 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=1f95b192d61f5c14ee494a45b5556a6764ee66eb --label arch=amd64 --label version=0.0.0 . [2023-01-09T17:24:25.455Z] Sending build context to Docker daemon 10.52MB [2023-01-09T17:24:25.455Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T17:24:25.455Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-09T17:24:25.455Z] ---> 17055873ab15 [2023-01-09T17:24:25.455Z] Step 3/23 : ARG MAKE=make build [2023-01-09T17:24:25.714Z] ---> Running in 02ad978df555 [2023-01-09T17:24:25.714Z] Removing intermediate container 02ad978df555 [2023-01-09T17:24:25.714Z] ---> 2d97f2b1a238 [2023-01-09T17:24:25.714Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-09T17:24:25.714Z] ---> Running in 1d5443ca603f [2023-01-09T17:24:25.973Z] Removing intermediate container 1d5443ca603f [2023-01-09T17:24:25.973Z] ---> a0952083a7ef [2023-01-09T17:24:25.973Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-09T17:24:25.973Z] ---> Running in 2818333d0b79 [2023-01-09T17:24:25.973Z] Removing intermediate container 2818333d0b79 [2023-01-09T17:24:25.973Z] ---> 8769810ce0af [2023-01-09T17:24:25.973Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-09T17:24:25.973Z] ---> Running in d2dddd6df356 [2023-01-09T17:24:26.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T17:24:26.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T17:24:26.750Z] OK: 211 MiB in 51 packages [2023-01-09T17:24:27.009Z] Removing intermediate container d2dddd6df356 [2023-01-09T17:24:27.009Z] ---> 53961a1a25b4 [2023-01-09T17:24:27.009Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-09T17:24:27.009Z] ---> 2eaab27444bd [2023-01-09T17:24:27.009Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T17:24:27.009Z] ---> Running in 2c8249becb06 [2023-01-09T17:24:28.161Z] Removing intermediate container 2c8249becb06 [2023-01-09T17:24:28.161Z] ---> 972d17693d5c [2023-01-09T17:24:28.161Z] Step 9/23 : COPY . . [2023-01-09T17:24:28.420Z] ---> 42f1f47362ea [2023-01-09T17:24:28.420Z] Step 10/23 : RUN ${MAKE} [2023-01-09T17:24:28.420Z] ---> Running in 2935dd626a11 [2023-01-09T17:24:28.678Z] 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-09T17:24:50.614Z] Removing intermediate container 2935dd626a11 [2023-01-09T17:24:50.614Z] ---> 3bff081bb31d [2023-01-09T17:24:50.614Z] Step 11/23 : FROM alpine:3.16 [2023-01-09T17:24:50.614Z] 3.16: Pulling from library/alpine [2023-01-09T17:24:50.614Z] ca7dd9ec2225: Pulling fs layer [2023-01-09T17:24:50.614Z] ca7dd9ec2225: Verifying Checksum [2023-01-09T17:24:50.614Z] ca7dd9ec2225: Download complete [2023-01-09T17:24:50.614Z] ca7dd9ec2225: Pull complete [2023-01-09T17:24:50.614Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-09T17:24:50.614Z] Status: Downloaded newer image for alpine:3.16 [2023-01-09T17:24:50.614Z] ---> bfe296a52501 [2023-01-09T17:24:50.614Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-09T17:24:50.614Z] ---> Running in 474661eb4b34 [2023-01-09T17:24:50.614Z] Removing intermediate container 474661eb4b34 [2023-01-09T17:24:50.614Z] ---> e04159bae972 [2023-01-09T17:24:50.614Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-09T17:24:50.614Z] ---> Running in 54d46ed73c96 [2023-01-09T17:24:50.614Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T17:24:50.614Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T17:24:50.614Z] OK: 6 MiB in 14 packages [2023-01-09T17:24:50.614Z] Removing intermediate container 54d46ed73c96 [2023-01-09T17:24:50.614Z] ---> 7fcbcc7170df [2023-01-09T17:24:50.614Z] Step 14/23 : WORKDIR / [2023-01-09T17:24:50.614Z] ---> Running in fc480dc12bf0 [2023-01-09T17:24:50.614Z] Removing intermediate container fc480dc12bf0 [2023-01-09T17:24:50.614Z] ---> 029a1a76b71b [2023-01-09T17:24:50.614Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-09T17:24:50.614Z] ---> 16c2e52afcd8 [2023-01-09T17:24:50.614Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-09T17:24:51.180Z] ---> f0eb4caa549d [2023-01-09T17:24:51.180Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-09T17:24:51.180Z] ---> 4b6ee8f0cc04 [2023-01-09T17:24:51.180Z] Step 18/23 : EXPOSE 59999 [2023-01-09T17:24:51.180Z] ---> Running in 9124874b7bfd [2023-01-09T17:24:51.180Z] Removing intermediate container 9124874b7bfd [2023-01-09T17:24:51.180Z] ---> 58f119c4c670 [2023-01-09T17:24:51.180Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-09T17:24:51.180Z] ---> Running in 6530e5a61155 [2023-01-09T17:24:51.440Z] Removing intermediate container 6530e5a61155 [2023-01-09T17:24:51.440Z] ---> 1ba104304d40 [2023-01-09T17:24:51.440Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-09T17:24:51.440Z] ---> Running in 2fec886ccc70 [2023-01-09T17:24:51.440Z] Removing intermediate container 2fec886ccc70 [2023-01-09T17:24:51.440Z] ---> 294e158be4a4 [2023-01-09T17:24:51.440Z] Step 21/23 : LABEL arch=amd64 [2023-01-09T17:24:51.440Z] ---> Running in 69d78adfd55d [2023-01-09T17:24:51.440Z] Removing intermediate container 69d78adfd55d [2023-01-09T17:24:51.440Z] ---> f0485b50d7df [2023-01-09T17:24:51.440Z] Step 22/23 : LABEL git_sha=1f95b192d61f5c14ee494a45b5556a6764ee66eb [2023-01-09T17:24:51.440Z] ---> Running in 3419f52ca3cd [2023-01-09T17:24:51.699Z] Removing intermediate container 3419f52ca3cd [2023-01-09T17:24:51.699Z] ---> 962b13b2545e [2023-01-09T17:24:51.699Z] Step 23/23 : LABEL version=0.0.0 [2023-01-09T17:24:51.699Z] ---> Running in c1d99fb9ed62 [2023-01-09T17:24:51.699Z] Removing intermediate container c1d99fb9ed62 [2023-01-09T17:24:51.699Z] ---> cf4d852fe27d [2023-01-09T17:24:51.699Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-09T17:24:51.699Z] Successfully built cf4d852fe27d [2023-01-09T17:24:51.699Z] 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-09T17:24:52.133Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T17:24:52.134Z] [2023-01-09T17:24:52.134Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T17:24:52.427Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T17:24:52.428Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-09T17:24:52.428Z] 5eb5b503b376: Pulling fs layer [2023-01-09T17:24:52.428Z] 5c69ac0246d0: Pulling fs layer [2023-01-09T17:24:52.428Z] ec43610c2a17: Pulling fs layer [2023-01-09T17:24:52.428Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-09T17:24:52.428Z] 33b1e0a273af: Pulling fs layer [2023-01-09T17:24:52.428Z] 5d3b04190fa2: Pulling fs layer [2023-01-09T17:24:52.428Z] 2f39f015ded8: Pulling fs layer [2023-01-09T17:24:52.428Z] 33b1e0a273af: Waiting [2023-01-09T17:24:52.428Z] 5d3b04190fa2: Waiting [2023-01-09T17:24:52.428Z] 3a2ae6a8a46f: Waiting [2023-01-09T17:24:52.428Z] 5c69ac0246d0: Verifying Checksum [2023-01-09T17:24:52.428Z] 5c69ac0246d0: Download complete [2023-01-09T17:24:52.428Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-09T17:24:52.428Z] 3a2ae6a8a46f: Download complete [2023-01-09T17:24:52.428Z] 33b1e0a273af: Verifying Checksum [2023-01-09T17:24:52.428Z] 33b1e0a273af: Download complete [2023-01-09T17:24:52.428Z] 5d3b04190fa2: Download complete [2023-01-09T17:24:52.685Z] ec43610c2a17: Verifying Checksum [2023-01-09T17:24:52.685Z] ec43610c2a17: Download complete [2023-01-09T17:24:52.685Z] 5eb5b503b376: Verifying Checksum [2023-01-09T17:24:52.685Z] 5eb5b503b376: Download complete [2023-01-09T17:24:53.250Z] 2f39f015ded8: Download complete [2023-01-09T17:24:54.189Z] 5eb5b503b376: Pull complete [2023-01-09T17:24:54.189Z] 5c69ac0246d0: Pull complete [2023-01-09T17:24:54.769Z] ec43610c2a17: Pull complete [2023-01-09T17:24:54.769Z] 3a2ae6a8a46f: Pull complete [2023-01-09T17:24:55.028Z] 33b1e0a273af: Pull complete [2023-01-09T17:24:55.028Z] 5d3b04190fa2: Pull complete [2023-01-09T17:24:59.213Z] 2f39f015ded8: Pull complete [2023-01-09T17:24:59.213Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-09T17:24:59.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T17:24:59.213Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T17:24:59.294Z] prd-ubuntu20.04-docker-8c-8g-1466 does not seem to be running inside a container [2023-01-09T17:24:59.324Z] $ 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-1270 -v /w/workspace/gexfoundry_device-sdk-go_PR-1270:/w/workspace/gexfoundry_device-sdk-go_PR-1270:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-09T17:25:02.410Z] $ docker top 170e6ce4f6c2b1a710cc837600f7f5831108f36b2bcc80a18174ef0232135213 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:25:02.775Z] ---> job-cost.sh [2023-01-09T17:25:02.775Z] lf-activate-venv: SKIPPING [2023-01-09T17:25:02.775Z] INFO: No Stack... [2023-01-09T17:25:03.033Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-09T17:25:03.603Z] INFO: Archiving Costs [Pipeline] sh [2023-01-09T17:25:03.893Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1270/archives/cost.csv [2023-01-09T17:25:03.893Z] + cut -d, -f6 [Pipeline] lock [2023-01-09T17:25:03.908Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1270-2-stack-cost] [2023-01-09T17:25:03.914Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1270-2-stack-cost] did not exist. Created. [2023-01-09T17:25:03.914Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1270-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-09T17:25:04.212Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-09T17:25:04.238Z] Stashed 1 file(s) [Pipeline] } [2023-01-09T17:25:04.244Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1270-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-09T17:25:04.266Z] $ docker stop --time=1 170e6ce4f6c2b1a710cc837600f7f5831108f36b2bcc80a18174ef0232135213 [2023-01-09T17:25:05.420Z] $ docker rm -f --volumes 170e6ce4f6c2b1a710cc837600f7f5831108f36b2bcc80a18174ef0232135213 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-09T17:26:30.553Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1467 in /w/workspace/gexfoundry_device-sdk-go_PR-1270 [Pipeline] { [Pipeline] ws [2023-01-09T17:26:30.564Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-01-09T17:26:30.597Z] The recommended git tool is: git [2023-01-09T17:26:36.358Z] using credential edgex-jenkins-ssh [2023-01-09T17:26:36.376Z] Cloning the remote Git repository [2023-01-09T17:26:36.432Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-09T17:26:36.521Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-01-09T17:26:36.693Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-09T17:26:36.694Z] > git --version # timeout=10 [2023-01-09T17:26:36.722Z] > git --version # 'git version 2.25.1' [2023-01-09T17:26:36.724Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T17:26:36.790Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-09T17:26:38.695Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-09T17:26:38.739Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-09T17:26:40.357Z] Merging remotes/origin/main commit 00b01047cdcdd0c95135504e6ad4bd8a08767464 into PR head commit 1f95b192d61f5c14ee494a45b5556a6764ee66eb [2023-01-09T17:26:40.622Z] Merge succeeded, producing 1f95b192d61f5c14ee494a45b5556a6764ee66eb [2023-01-09T17:26:40.622Z] Checking out Revision 1f95b192d61f5c14ee494a45b5556a6764ee66eb (PR-1270) [2023-01-09T17:26:39.653Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-09T17:26:39.696Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-09T17:26:39.697Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T17:26:39.712Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1270/head:refs/remotes/origin/PR-1270 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-09T17:26:40.378Z] > git config core.sparsecheckout # timeout=10 [2023-01-09T17:26:40.404Z] > git checkout -f 1f95b192d61f5c14ee494a45b5556a6764ee66eb # timeout=10 [2023-01-09T17:26:40.511Z] > git remote # timeout=10 [2023-01-09T17:26:40.535Z] > git config --get remote.origin.url # timeout=10 [2023-01-09T17:26:40.565Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T17:26:40.581Z] > git merge 00b01047cdcdd0c95135504e6ad4bd8a08767464 # timeout=10 [2023-01-09T17:26:40.607Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-09T17:26:40.631Z] > git config core.sparsecheckout # timeout=10 [2023-01-09T17:26:40.648Z] > git checkout -f 1f95b192d61f5c14ee494a45b5556a6764ee66eb # timeout=10 [2023-01-09T17:26:44.198Z] Commit message: "feat: implement support for ProvisionWatchersDir" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T17:26:45.142Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-09T17:26:45.142Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-09T17:26:45.142Z] Dload Upload Total Spent Left Speed [2023-01-09T17:26:45.142Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh [2023-01-09T17:26:45.871Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-09T17:26:46.218Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2023-01-09T17:26:46.218Z] sudo tee /etc/docker/daemon.new [2023-01-09T17:26:46.218Z] { [2023-01-09T17:26:46.218Z] "registry-mirrors": [ [2023-01-09T17:26:46.218Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-09T17:26:46.218Z] ], [2023-01-09T17:26:46.218Z] "bip": "10.250.0.254/24", [2023-01-09T17:26:46.218Z] "hosts": [ [2023-01-09T17:26:46.218Z] "tcp://0.0.0.0:5555", [2023-01-09T17:26:46.218Z] "unix:///var/run/docker.sock" [2023-01-09T17:26:46.218Z] ], [2023-01-09T17:26:46.218Z] "mtu": 1458, [2023-01-09T17:26:46.218Z] "selinux-enabled": true, [2023-01-09T17:26:46.218Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-09T17:26:46.218Z] } [Pipeline] sh [2023-01-09T17:26:46.567Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-09T17:26:46.915Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T17:27:05.217Z] provisioning config files... [2023-01-09T17:27:05.248Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config9674097118760831280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:27:05.598Z] ---> docker-login.sh [2023-01-09T17:27:05.598Z] nexus3.edgexfoundry.org:10001 [2023-01-09T17:27:06.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T17:27:06.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T17:27:06.192Z] Configure a credential helper to remove this warning. See [2023-01-09T17:27:06.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T17:27:06.192Z] [2023-01-09T17:27:06.192Z] Login Succeeded [2023-01-09T17:27:06.192Z] nexus3.edgexfoundry.org:10002 [2023-01-09T17:27:06.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T17:27:06.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T17:27:06.734Z] Configure a credential helper to remove this warning. See [2023-01-09T17:27:06.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T17:27:06.734Z] [2023-01-09T17:27:06.734Z] Login Succeeded [2023-01-09T17:27:06.734Z] nexus3.edgexfoundry.org:10003 [2023-01-09T17:27:07.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T17:27:07.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T17:27:07.006Z] Configure a credential helper to remove this warning. See [2023-01-09T17:27:07.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T17:27:07.006Z] [2023-01-09T17:27:07.006Z] Login Succeeded [2023-01-09T17:27:07.006Z] nexus3.edgexfoundry.org:10004 [2023-01-09T17:27:07.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T17:27:07.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T17:27:07.553Z] Configure a credential helper to remove this warning. See [2023-01-09T17:27:07.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T17:27:07.553Z] [2023-01-09T17:27:07.553Z] Login Succeeded [2023-01-09T17:27:07.553Z] docker.io [2023-01-09T17:27:07.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T17:27:08.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T17:27:08.093Z] Configure a credential helper to remove this warning. See [2023-01-09T17:27:08.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T17:27:08.093Z] [2023-01-09T17:27:08.093Z] Login Succeeded [2023-01-09T17:27:08.093Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T17:27:08.107Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-09T17:27:08.396Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T17:27:08.414Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T17:27:08.423Z] ========================================================= [2023-01-09T17:27:08.423Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-09T17:27:08.423Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T17:27:08.773Z] + 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-09T17:27:09.046Z] Sending build context to Docker daemon 5.613MB [2023-01-09T17:27:09.326Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T17:27:09.326Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-09T17:27:09.326Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-09T17:27:09.326Z] 9b18e9b68314: Pulling fs layer [2023-01-09T17:27:09.326Z] 35d82f9e3411: Pulling fs layer [2023-01-09T17:27:09.326Z] e16973657156: Pulling fs layer [2023-01-09T17:27:09.326Z] fc693d55d65f: Pulling fs layer [2023-01-09T17:27:09.326Z] 7e9fc2657dce: Pulling fs layer [2023-01-09T17:27:09.326Z] dda99020689f: Pulling fs layer [2023-01-09T17:27:09.326Z] db1c61fa0a46: Pulling fs layer [2023-01-09T17:27:09.326Z] 891c053d2c06: Pulling fs layer [2023-01-09T17:27:09.326Z] fc693d55d65f: Waiting [2023-01-09T17:27:09.326Z] 7e9fc2657dce: Waiting [2023-01-09T17:27:09.326Z] dda99020689f: Waiting [2023-01-09T17:27:09.326Z] db1c61fa0a46: Waiting [2023-01-09T17:27:09.326Z] 891c053d2c06: Waiting [2023-01-09T17:27:09.326Z] e16973657156: Verifying Checksum [2023-01-09T17:27:09.326Z] e16973657156: Download complete [2023-01-09T17:27:09.326Z] 35d82f9e3411: Verifying Checksum [2023-01-09T17:27:09.326Z] 35d82f9e3411: Download complete [2023-01-09T17:27:09.600Z] 7e9fc2657dce: Verifying Checksum [2023-01-09T17:27:09.600Z] 7e9fc2657dce: Download complete [2023-01-09T17:27:09.600Z] dda99020689f: Download complete [2023-01-09T17:27:09.600Z] 9b18e9b68314: Download complete [2023-01-09T17:27:10.593Z] 9b18e9b68314: Pull complete [2023-01-09T17:27:10.593Z] 891c053d2c06: Verifying Checksum [2023-01-09T17:27:10.593Z] 891c053d2c06: Download complete [2023-01-09T17:27:11.188Z] 35d82f9e3411: Pull complete [2023-01-09T17:27:11.460Z] e16973657156: Pull complete [2023-01-09T17:27:12.052Z] db1c61fa0a46: Verifying Checksum [2023-01-09T17:27:12.052Z] db1c61fa0a46: Download complete [2023-01-09T17:27:12.654Z] fc693d55d65f: Verifying Checksum [2023-01-09T17:27:12.654Z] fc693d55d65f: Download complete [2023-01-09T17:27:25.017Z] fc693d55d65f: Pull complete [2023-01-09T17:27:25.017Z] 7e9fc2657dce: Pull complete [2023-01-09T17:27:25.017Z] dda99020689f: Pull complete [2023-01-09T17:27:31.698Z] db1c61fa0a46: Pull complete [2023-01-09T17:27:33.661Z] 891c053d2c06: Pull complete [2023-01-09T17:27:33.661Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-09T17:27:33.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-09T17:27:33.661Z] ---> f96f9c87975a [2023-01-09T17:27:33.661Z] Step 3/10 : ARG MAKE=make build [2023-01-09T17:27:35.622Z] ---> Running in 728940885ea2 [2023-01-09T17:27:35.622Z] Removing intermediate container 728940885ea2 [2023-01-09T17:27:35.622Z] ---> 0add52c3f071 [2023-01-09T17:27:35.622Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-09T17:27:35.890Z] ---> Running in d6c13d6ba855 [2023-01-09T17:27:36.159Z] Removing intermediate container d6c13d6ba855 [2023-01-09T17:27:36.159Z] ---> b60e7e7fb2c1 [2023-01-09T17:27:36.159Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-09T17:27:36.159Z] ---> Running in 6ea19cd55d34 [2023-01-09T17:27:36.427Z] Removing intermediate container 6ea19cd55d34 [2023-01-09T17:27:36.427Z] ---> d66ca027b7a2 [2023-01-09T17:27:36.427Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-09T17:27:36.696Z] ---> Running in 91af89b57f8f [2023-01-09T17:27:38.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T17:27:38.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T17:27:39.084Z] OK: 221 MiB in 51 packages [2023-01-09T17:27:40.047Z] Removing intermediate container 91af89b57f8f [2023-01-09T17:27:40.047Z] ---> 32f936e4ac38 [2023-01-09T17:27:40.047Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-09T17:27:40.640Z] ---> ec1b793f1eb8 [2023-01-09T17:27:40.640Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T17:27:40.640Z] ---> Running in 149f07bf09ae [2023-01-09T17:28:37.079Z] Removing intermediate container 149f07bf09ae [2023-01-09T17:28:37.079Z] ---> 384bbbef168b [2023-01-09T17:28:37.079Z] Step 9/10 : COPY . . [2023-01-09T17:28:37.079Z] ---> cd54a8298a7e [2023-01-09T17:28:37.079Z] Step 10/10 : RUN ${MAKE} [2023-01-09T17:28:37.079Z] ---> Running in ad88b650a5bf [2023-01-09T17:28:37.079Z] noop [2023-01-09T17:28:37.348Z] Removing intermediate container ad88b650a5bf [2023-01-09T17:28:37.348Z] ---> 977a4f0f0f9a [2023-01-09T17:28:37.618Z] Successfully built 977a4f0f0f9a [2023-01-09T17:28:37.618Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T17:28:37.980Z] + docker inspect -f . ci-base-image-arm64 [2023-01-09T17:28:37.980Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T17:28:38.197Z] prd-ubuntu20.04-docker-arm64-4c-16g-1467 does not seem to be running inside a container [2023-01-09T17:28:38.276Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-09T17:28:39.559Z] $ docker top f054d412aa785f2455af61de5fca11a5438ce4d7df665c99e251ea4fe0014373 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T17:28:40.415Z] + go version [2023-01-09T17:28:40.415Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-09T17:28:40.438Z] $ docker stop --time=1 f054d412aa785f2455af61de5fca11a5438ce4d7df665c99e251ea4fe0014373 [2023-01-09T17:28:42.069Z] $ docker rm -f --volumes f054d412aa785f2455af61de5fca11a5438ce4d7df665c99e251ea4fe0014373 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T17:28:42.618Z] + docker inspect -f . ci-base-image-arm64 [2023-01-09T17:28:42.618Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T17:28:42.797Z] prd-ubuntu20.04-docker-arm64-4c-16g-1467 does not seem to be running inside a container [2023-01-09T17:28:42.866Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-09T17:28:45.336Z] $ docker top 1b61007d665a1e6c74ecceee36fac3e556d2fdcae0f994117e8fda299c8b257d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T17:28:45.835Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-01-09T17:28:46.162Z] + make test [2023-01-09T17:28:46.430Z] go test -race -coverprofile=coverage.out ./... [2023-01-09T17:29:18.646Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-09T17:31:10.331Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-09T17:31:10.331Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-09T17:31:10.331Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-09T17:31:10.331Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-09T17:31:10.331Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-09T17:31:22.671Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.510s coverage: 27.6% of statements [2023-01-09T17:31:23.255Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.651s coverage: 78.9% of statements [2023-01-09T17:31:23.255Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-09T17:31:29.905Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.530s coverage: 73.1% of statements [2023-01-09T17:31:29.906Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-09T17:31:29.906Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-09T17:31:32.503Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.776s coverage: 54.4% of statements [2023-01-09T17:31:32.503Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-09T17:31:32.503Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-09T17:31:32.503Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-09T17:31:32.503Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-09T17:31:32.772Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.444s coverage: 65.1% of statements [2023-01-09T17:31:32.772Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-09T17:31:32.772Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-09T17:31:34.177Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.586s coverage: 89.2% of statements [2023-01-09T17:31:34.177Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-09T17:31:34.177Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.247s coverage: 4.6% of statements [2023-01-09T17:31:34.177Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-09T17:31:34.760Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-09T17:31:34.760Z] GO111MODULE=on go vet ./... [2023-01-09T17:33:11.471Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-09T17:33:11.471Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-09T17:33:11.740Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-09T17:33:12.030Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-09T17:33:12.040Z] $ docker stop --time=1 1b61007d665a1e6c74ecceee36fac3e556d2fdcae0f994117e8fda299c8b257d [2023-01-09T17:33:13.941Z] $ docker rm -f --volumes 1b61007d665a1e6c74ecceee36fac3e556d2fdcae0f994117e8fda299c8b257d [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T17:33:15.470Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-09T17:33:15.499Z] Warning: overwriting stash ‘coverage-report’ [2023-01-09T17:33:16.286Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T17:33:16.701Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-09T17:33:17.023Z] + ls -al . [2023-01-09T17:33:17.023Z] total 276 [2023-01-09T17:33:17.023Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 17:28 . [2023-01-09T17:33:17.023Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 17:26 .. [2023-01-09T17:33:17.023Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 9 17:26 .dockerignore [2023-01-09T17:33:17.023Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 17:26 .git [2023-01-09T17:33:17.023Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 17:26 .github [2023-01-09T17:33:17.023Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 9 17:26 .gitignore [2023-01-09T17:33:17.023Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 9 17:26 .golangci.yml [2023-01-09T17:33:17.023Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 9 17:26 CHANGELOG.md [2023-01-09T17:33:17.023Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 9 17:26 GOVERNANCE.md [2023-01-09T17:33:17.023Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 9 17:26 Jenkinsfile [2023-01-09T17:33:17.023Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 9 17:26 LICENSE [2023-01-09T17:33:17.023Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 9 17:26 Makefile [2023-01-09T17:33:17.023Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 9 17:26 OWNERS.md [2023-01-09T17:33:17.023Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 9 17:26 README.md [2023-01-09T17:33:17.023Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 17:22 VERSION [2023-01-09T17:33:17.023Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 17:26 bin [2023-01-09T17:33:17.023Z] -rw-r--r-- 1 jenkins jenkins 101912 Jan 9 17:31 coverage.out [2023-01-09T17:33:17.023Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 9 17:26 example [2023-01-09T17:33:17.023Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 9 17:26 go.mod [2023-01-09T17:33:17.023Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 9 17:26 go.sum [2023-01-09T17:33:17.023Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 9 17:26 internal [2023-01-09T17:33:17.023Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 17:26 openapi [2023-01-09T17:33:17.023Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 9 17:26 pkg [2023-01-09T17:33:17.023Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 17:26 snap [2023-01-09T17:33:17.023Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 9 17:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T17:33:17.366Z] + 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=1f95b192d61f5c14ee494a45b5556a6764ee66eb --label arch=arm64 --label version=0.0.0 . [2023-01-09T17:33:17.953Z] Sending build context to Docker daemon 5.715MB [2023-01-09T17:33:17.953Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T17:33:17.953Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-09T17:33:17.953Z] ---> 977a4f0f0f9a [2023-01-09T17:33:17.953Z] Step 3/23 : ARG MAKE=make build [2023-01-09T17:33:17.953Z] ---> Running in 2d31a7e9e755 [2023-01-09T17:33:18.224Z] Removing intermediate container 2d31a7e9e755 [2023-01-09T17:33:18.224Z] ---> bf50df0f4ae8 [2023-01-09T17:33:18.224Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-09T17:33:18.493Z] ---> Running in 9a0dee30cb27 [2023-01-09T17:33:18.763Z] Removing intermediate container 9a0dee30cb27 [2023-01-09T17:33:18.763Z] ---> 9bb3af0f90c4 [2023-01-09T17:33:18.763Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-09T17:33:18.763Z] ---> Running in bdb587582937 [2023-01-09T17:33:19.037Z] Removing intermediate container bdb587582937 [2023-01-09T17:33:19.037Z] ---> 5356ba36ec11 [2023-01-09T17:33:19.037Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-09T17:33:19.311Z] ---> Running in c295453ff613 [2023-01-09T17:33:20.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T17:33:20.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T17:33:21.846Z] OK: 221 MiB in 51 packages [2023-01-09T17:33:23.808Z] Removing intermediate container c295453ff613 [2023-01-09T17:33:23.808Z] ---> 5cc1b67da52a [2023-01-09T17:33:23.808Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-09T17:33:24.077Z] ---> 8b0626209a90 [2023-01-09T17:33:24.077Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T17:33:24.077Z] ---> Running in 9b702458adb2 [2023-01-09T17:33:26.029Z] Removing intermediate container 9b702458adb2 [2023-01-09T17:33:26.029Z] ---> 66bc67408c95 [2023-01-09T17:33:26.029Z] Step 9/23 : COPY . . [2023-01-09T17:33:27.448Z] ---> dda894d3efca [2023-01-09T17:33:27.448Z] Step 10/23 : RUN ${MAKE} [2023-01-09T17:33:27.448Z] ---> Running in f9140afe2038 [2023-01-09T17:33:28.414Z] 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-09T17:35:35.099Z] Removing intermediate container f9140afe2038 [2023-01-09T17:35:35.099Z] ---> 7aac572caa50 [2023-01-09T17:35:35.099Z] Step 11/23 : FROM alpine:3.16 [2023-01-09T17:35:35.099Z] 3.16: Pulling from library/alpine [2023-01-09T17:35:35.099Z] 6875df1f5354: Pulling fs layer [2023-01-09T17:35:35.099Z] 6875df1f5354: Verifying Checksum [2023-01-09T17:35:35.099Z] 6875df1f5354: Download complete [2023-01-09T17:35:35.099Z] 6875df1f5354: Pull complete [2023-01-09T17:35:35.099Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-09T17:35:35.099Z] Status: Downloaded newer image for alpine:3.16 [2023-01-09T17:35:35.099Z] ---> 2b4661558fb8 [2023-01-09T17:35:35.099Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-09T17:35:35.099Z] ---> Running in 03199915326d [2023-01-09T17:35:35.099Z] Removing intermediate container 03199915326d [2023-01-09T17:35:35.099Z] ---> 78c7be75035a [2023-01-09T17:35:35.099Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-09T17:35:35.099Z] ---> Running in 9948386b399d [2023-01-09T17:35:35.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T17:35:35.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T17:35:35.367Z] OK: 5 MiB in 14 packages [2023-01-09T17:35:36.340Z] Removing intermediate container 9948386b399d [2023-01-09T17:35:36.340Z] ---> e44973a20a66 [2023-01-09T17:35:36.340Z] Step 14/23 : WORKDIR / [2023-01-09T17:35:36.340Z] ---> Running in c3ce64fb1528 [2023-01-09T17:35:36.607Z] Removing intermediate container c3ce64fb1528 [2023-01-09T17:35:36.607Z] ---> 2de3c8ee4e65 [2023-01-09T17:35:36.607Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-09T17:35:37.192Z] ---> 65dd9a3c62ee [2023-01-09T17:35:37.192Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-09T17:35:38.601Z] ---> 410bae0656b1 [2023-01-09T17:35:38.601Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-09T17:35:38.870Z] ---> ebe6756d0700 [2023-01-09T17:35:38.870Z] Step 18/23 : EXPOSE 59999 [2023-01-09T17:35:38.870Z] ---> Running in b6cbbb398a9d [2023-01-09T17:35:39.138Z] Removing intermediate container b6cbbb398a9d [2023-01-09T17:35:39.138Z] ---> 6f8c4b781653 [2023-01-09T17:35:39.138Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-09T17:35:39.138Z] ---> Running in 637622033a39 [2023-01-09T17:35:39.403Z] Removing intermediate container 637622033a39 [2023-01-09T17:35:39.403Z] ---> b31d1bce8683 [2023-01-09T17:35:39.403Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-09T17:35:39.671Z] ---> Running in fdc8a3755654 [2023-01-09T17:35:39.938Z] Removing intermediate container fdc8a3755654 [2023-01-09T17:35:39.938Z] ---> 85de4f0f94b2 [2023-01-09T17:35:39.938Z] Step 21/23 : LABEL arch=arm64 [2023-01-09T17:35:39.938Z] ---> Running in f41122a11573 [2023-01-09T17:35:40.205Z] Removing intermediate container f41122a11573 [2023-01-09T17:35:40.205Z] ---> 85e93a45e359 [2023-01-09T17:35:40.205Z] Step 22/23 : LABEL git_sha=1f95b192d61f5c14ee494a45b5556a6764ee66eb [2023-01-09T17:35:40.472Z] ---> Running in 380f047f8130 [2023-01-09T17:35:40.739Z] Removing intermediate container 380f047f8130 [2023-01-09T17:35:40.739Z] ---> 115bacc84648 [2023-01-09T17:35:40.739Z] Step 23/23 : LABEL version=0.0.0 [2023-01-09T17:35:40.739Z] ---> Running in 0dc0271983b9 [2023-01-09T17:35:41.005Z] Removing intermediate container 0dc0271983b9 [2023-01-09T17:35:41.005Z] ---> 49f3173184b7 [2023-01-09T17:35:41.005Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-09T17:35:41.005Z] Successfully built 49f3173184b7 [2023-01-09T17:35:41.005Z] 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-09T17:35:41.458Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T17:35:41.458Z] [2023-01-09T17:35:41.458Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T17:35:41.795Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T17:35:43.200Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-09T17:35:43.200Z] 8998bd30e6a1: Pulling fs layer [2023-01-09T17:35:43.200Z] 04944245beec: Pulling fs layer [2023-01-09T17:35:43.200Z] 699f458cf7ca: Pulling fs layer [2023-01-09T17:35:43.200Z] 765212b225bb: Pulling fs layer [2023-01-09T17:35:43.200Z] f23df028b6ca: Pulling fs layer [2023-01-09T17:35:43.200Z] d65c8cfc05b1: Pulling fs layer [2023-01-09T17:35:43.200Z] 2437ff75d9bd: Pulling fs layer [2023-01-09T17:35:43.200Z] d65c8cfc05b1: Waiting [2023-01-09T17:35:43.200Z] 765212b225bb: Waiting [2023-01-09T17:35:43.200Z] f23df028b6ca: Waiting [2023-01-09T17:35:43.200Z] 2437ff75d9bd: Waiting [2023-01-09T17:35:43.200Z] 04944245beec: Verifying Checksum [2023-01-09T17:35:43.200Z] 04944245beec: Download complete [2023-01-09T17:35:43.200Z] 765212b225bb: Verifying Checksum [2023-01-09T17:35:43.200Z] 765212b225bb: Download complete [2023-01-09T17:35:43.467Z] f23df028b6ca: Verifying Checksum [2023-01-09T17:35:43.467Z] f23df028b6ca: Download complete [2023-01-09T17:35:43.467Z] d65c8cfc05b1: Verifying Checksum [2023-01-09T17:35:43.467Z] d65c8cfc05b1: Download complete [2023-01-09T17:35:43.467Z] 699f458cf7ca: Verifying Checksum [2023-01-09T17:35:43.467Z] 699f458cf7ca: Download complete [2023-01-09T17:35:43.734Z] 8998bd30e6a1: Verifying Checksum [2023-01-09T17:35:43.734Z] 8998bd30e6a1: Download complete [2023-01-09T17:35:46.308Z] 2437ff75d9bd: Verifying Checksum [2023-01-09T17:35:46.308Z] 2437ff75d9bd: Download complete [2023-01-09T17:35:47.267Z] 8998bd30e6a1: Pull complete [2023-01-09T17:35:47.851Z] 04944245beec: Pull complete [2023-01-09T17:35:49.259Z] 699f458cf7ca: Pull complete [2023-01-09T17:35:49.259Z] 765212b225bb: Pull complete [2023-01-09T17:35:50.222Z] f23df028b6ca: Pull complete [2023-01-09T17:35:50.222Z] d65c8cfc05b1: Pull complete [2023-01-09T17:36:05.227Z] 2437ff75d9bd: Pull complete [2023-01-09T17:36:05.227Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-09T17:36:05.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T17:36:05.227Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T17:36:05.436Z] prd-ubuntu20.04-docker-arm64-4c-16g-1467 does not seem to be running inside a container [2023-01-09T17:36:05.503Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-09T17:36:08.047Z] $ docker top 2309ccacce9020d8662f3853d5c28d2adc4503be9cf382239a8a3a8f3d57e02b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:36:08.560Z] ---> job-cost.sh [2023-01-09T17:36:08.827Z] lf-activate-venv: SKIPPING [2023-01-09T17:36:08.827Z] INFO: No Stack... [2023-01-09T17:36:09.093Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-09T17:36:10.052Z] INFO: Archiving Costs [Pipeline] sh [2023-01-09T17:36:10.695Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-01-09T17:36:10.695Z] + cut -d, -f6 [Pipeline] lock [2023-01-09T17:36:10.765Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1270-2-stack-cost] [2023-01-09T17:36:10.771Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1270-2-stack-cost] did not exist. Created. [2023-01-09T17:36:10.772Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1270-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-09T17:36:11.125Z] /w/workspace/device-sdk-go/2@tmp/durable-b923c281/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-09T17:36:12.037Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-09T17:36:12.056Z] Warning: overwriting stash ‘stack-cost’ [2023-01-09T17:36:12.134Z] Stashed 1 file(s) [Pipeline] } [2023-01-09T17:36:12.144Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1270-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-09T17:36:12.164Z] $ docker stop --time=1 2309ccacce9020d8662f3853d5c28d2adc4503be9cf382239a8a3a8f3d57e02b [2023-01-09T17:36:13.630Z] $ docker rm -f --volumes 2309ccacce9020d8662f3853d5c28d2adc4503be9cf382239a8a3a8f3d57e02b [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-09T17:36:13.973Z] provisioning config files... [2023-01-09T17:36:13.979Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp/config8113272756072909626tmp [Pipeline] { [Pipeline] sh [2023-01-09T17:36:14.270Z] + set +x [2023-01-09T17:36:14.270Z] + curl -s https://codecov.io/bash [2023-01-09T17:36:14.270Z] + bash -s -- [2023-01-09T17:36:14.270Z] [2023-01-09T17:36:14.270Z] _____ _ [2023-01-09T17:36:14.270Z] / ____| | | [2023-01-09T17:36:14.270Z] | | ___ __| | ___ ___ _____ __ [2023-01-09T17:36:14.270Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-09T17:36:14.270Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-09T17:36:14.270Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-09T17:36:14.270Z] Bash-1.0.6 [2023-01-09T17:36:14.270Z] [2023-01-09T17:36:14.270Z] [2023-01-09T17:36:14.270Z] ==> git version 2.25.1 found [2023-01-09T17:36:14.270Z] ==> 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-09T17:36:14.270Z] Release-Date: 2020-01-08 [2023-01-09T17:36:14.270Z] 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-09T17:36:14.270Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-09T17:36:14.270Z] ==> Jenkins CI detected. [2023-01-09T17:36:14.270Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1270 [2023-01-09T17:36:14.270Z] project root: . [2023-01-09T17:36:14.270Z] --> token set from env [2023-01-09T17:36:14.270Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-09T17:36:14.270Z] ==> Running gcov in . (disable via -X gcov) [2023-01-09T17:36:14.270Z] ==> Python coveragepy not found [2023-01-09T17:36:14.270Z] ==> Searching for coverage reports in: [2023-01-09T17:36:14.270Z] + . [2023-01-09T17:36:14.270Z] -> Found 1 reports [2023-01-09T17:36:14.270Z] ==> Detecting git/mercurial file structure [2023-01-09T17:36:14.270Z] ==> Reading reports [2023-01-09T17:36:14.528Z] + ./coverage.out bytes=101912 [2023-01-09T17:36:14.529Z] ==> Appending adjustments [2023-01-09T17:36:14.529Z] https://docs.codecov.io/docs/fixing-reports [2023-01-09T17:36:14.787Z] + Found adjustments [2023-01-09T17:36:14.787Z] ==> Gzipping contents [2023-01-09T17:36:14.787Z] 16K /tmp/codecov.Jk8Tu2.gz [2023-01-09T17:36:14.787Z] ==> Uploading reports [2023-01-09T17:36:14.787Z] url: https://codecov.io [2023-01-09T17:36:14.787Z] query: branch=PR-1270&commit=1f95b192d61f5c14ee494a45b5556a6764ee66eb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1270%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1270&job=&cmd_args= [2023-01-09T17:36:14.787Z] -> Pinging Codecov [2023-01-09T17:36:14.787Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1270&commit=1f95b192d61f5c14ee494a45b5556a6764ee66eb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1270%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1270&job=&cmd_args= [2023-01-09T17:36:15.046Z] -> Uploading to [2023-01-09T17:36:15.046Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-09/7E55EF52A471D76F132DFD9A03CDDE97/1f95b192d61f5c14ee494a45b5556a6764ee66eb/c6d160b5-6ea8-4bfa-8788-256f0bb66517.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230109T173614Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a94991fa56c868c2006c13419f75b76ae21ed457484d32274bed76a53d4cb527 [2023-01-09T17:36:15.046Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-09T17:36:15.046Z] Dload Upload Total Spent Left Speed [2023-01-09T17:36:15.305Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14769 0 0 100 14769 0 66527 --:--:-- --:--:-- --:--:-- 66527 [2023-01-09T17:36:15.305Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/1f95b192d61f5c14ee494a45b5556a6764ee66eb [Pipeline] } [2023-01-09T17:36:15.312Z] 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-09T17:36:15.973Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1270/archives ] [2023-01-09T17:36:15.973Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1270/archives [2023-01-09T17:36:15.973Z] total 16 [2023-01-09T17:36:15.973Z] drwxr-xr-x 3 root root 4096 Jan 9 17:25 . [2023-01-09T17:36:15.973Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 9 17:25 .. [2023-01-09T17:36:15.973Z] drwxr-xr-x 2 root root 4096 Jan 9 17:25 cost [2023-01-09T17:36:15.973Z] -rw-r--r-- 1 root root 86 Jan 9 17:25 cost.csv [2023-01-09T17:36:15.973Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1270/archives [2023-01-09T17:36:15.973Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1270/archives [2023-01-09T17:36:15.973Z] total 16 [2023-01-09T17:36:15.973Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 17:25 . [2023-01-09T17:36:15.973Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 9 17:25 .. [2023-01-09T17:36:15.973Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 9 17:25 cost [2023-01-09T17:36:15.973Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 9 17:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:36:16.261Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:36:17.120Z] ---> package-listing.sh [2023-01-09T17:36:17.120Z] ++ facter osfamily [2023-01-09T17:36:17.120Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-09T17:36:17.379Z] + OS_FAMILY=debian [2023-01-09T17:36:17.379Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1270 [2023-01-09T17:36:17.379Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-09T17:36:17.379Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-09T17:36:17.379Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-09T17:36:17.379Z] + PACKAGES=/tmp/packages_start.txt [2023-01-09T17:36:17.379Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1270 ']' [2023-01-09T17:36:17.379Z] + PACKAGES=/tmp/packages_end.txt [2023-01-09T17:36:17.379Z] + case "${OS_FAMILY}" in [2023-01-09T17:36:17.379Z] + dpkg -l [2023-01-09T17:36:17.379Z] + grep '^ii' [2023-01-09T17:36:17.379Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-09T17:36:17.379Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-09T17:36:17.379Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-09T17:36:17.379Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1270 ']' [2023-01-09T17:36:17.379Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1270/archives/ [2023-01-09T17:36:17.379Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1270/archives/ [Pipeline] echo [2023-01-09T17:36:17.389Z] 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-1270/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-09T17:36:17.665Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T17:36:18.222Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T17:36:18.222Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T17:36:18.287Z] prd-ubuntu20.04-docker-8c-8g-1466 does not seem to be running inside a container [2023-01-09T17:36:18.322Z] $ 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-1270/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-1270 -v /w/workspace/gexfoundry_device-sdk-go_PR-1270:/w/workspace/gexfoundry_device-sdk-go_PR-1270:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1270@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-09T17:36:18.519Z] $ docker top b1bc46927e24f6740422a6b0007663c86d4229d5bb7f5d704f63377ef70bda9d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T17:36:18.855Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-09T17:36:19.139Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-09T17:36:19.427Z] + ls /var/log/sa-host [2023-01-09T17:36:19.427Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T17:36:19.493Z] provisioning config files... [2023-01-09T17:36:19.501Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp/config13377094755966972816tmp [Pipeline] { [Pipeline] echo [2023-01-09T17:36:19.514Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:36:19.800Z] ---> create-netrc.sh [Pipeline] } [2023-01-09T17:36:19.808Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:36:20.142Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-09T17:36:20.151Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:36:20.437Z] ---> sudo-logs.sh [2023-01-09T17:36:20.437Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-09T17:36:20.469Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:36:20.755Z] ---> job-cost.sh [2023-01-09T17:36:20.755Z] lf-activate-venv: SKIPPING [2023-01-09T17:36:20.755Z] DEBUG: total: 0.2199999988079071 [2023-01-09T17:36:20.755Z] INFO: Retrieving Stack Cost... [2023-01-09T17:36:21.323Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-09T17:36:21.583Z] INFO: Archiving Costs [Pipeline] echo [2023-01-09T17:36:21.597Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T17:36:21.884Z] ---> logs-deploy.sh [2023-01-09T17:36:21.884Z] lf-activate-venv: SKIPPING [2023-01-09T17:36:21.884Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1270/2 [2023-01-09T17:36:21.884Z] INFO: archiving workspace using pattern(s): [2023-01-09T17:36:22.820Z] Archives upload complete. [2023-01-09T17:36:22.820Z] INFO: archiving logs to Nexus