Pull request #1274 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 844514027b3a7b36fd9ce691c823a8b7e198386d+8025d415256bff1d08fe37ed408de885b1f3053d (4dac019f1ded79e72bb6e278ab73e801d5398780) 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-ssh8698073531074900403.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-ssh15417124312209205439.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1274/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-1274/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh75224250965109849.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1274/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4283248583224182382.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh11429176214459582146.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1274/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-1274/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11382723364132389326.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1528 in /w/workspace/gexfoundry_device-sdk-go_PR-1274 [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-1274 # 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/1274/head:refs/remotes/origin/PR-1274 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8025d415256bff1d08fe37ed408de885b1f3053d into PR head commit 844514027b3a7b36fd9ce691c823a8b7e198386d Merge succeeded, producing 844514027b3a7b36fd9ce691c823a8b7e198386d Checking out Revision 844514027b3a7b36fd9ce691c823a8b7e198386d (PR-1274) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-10T04:02:42.890Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 844514027b3a7b36fd9ce691c823a8b7e198386d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8025d415256bff1d08fe37ed408de885b1f3053d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 844514027b3a7b36fd9ce691c823a8b7e198386d # timeout=10 [Pipeline] withCredentials [2023-01-10T04:02:43.085Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-10T04:02:43.181Z] ========================================================= [2023-01-10T04:02:43.181Z] EdgeX Global Pipelines Version Info [2023-01-10T04:02:43.181Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-10T04:02:43.928Z] ------------------- [2023-01-10T04:02:43.928Z] stable info: [2023-01-10T04:02:43.928Z] ------------------- [2023-01-10T04:02:43.928Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-10T04:02:43.928Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T04:02:43.928Z] Message: update stable to v1.0.244 [2023-01-10T04:02:44.498Z] ------------------- [2023-01-10T04:02:44.498Z] experimental info: [2023-01-10T04:02:44.498Z] ------------------- [2023-01-10T04:02:44.498Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-10T04:02:44.498Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T04:02:44.498Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-10T04:02:44.792Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-10T04:02:44.838Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-10T04:02:44.881Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-10T04:02:44.924Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-10T04:02:44.964Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-10T04:02:45.003Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-10T04:02:45.046Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-10T04:02:45.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-10T04:02:45.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-10T04:02:45.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-10T04:02:45.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-10T04:02:45.265Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-10T04:02:45.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-10T04:02:45.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-10T04:02:45.385Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T04:02:45.424Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T04:02:45.462Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T04:02:45.500Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T04:02:45.541Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-10T04:02:45.580Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-10T04:02:45.621Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-10T04:02:45.664Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-10T04:02:45.706Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-10T04:02:45.747Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-10T04:02:45.792Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-10T04:02:45.835Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-10T04:02:45.879Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-10T04:02:45.921Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1274 [Pipeline] echo [2023-01-10T04:02:45.968Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1274 [Pipeline] echo [2023-01-10T04:02:46.006Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1274 [Pipeline] echo [2023-01-10T04:02:46.048Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 844514027b3a7b36fd9ce691c823a8b7e198386d [Pipeline] echo [2023-01-10T04:02:46.085Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8445140 [Pipeline] echo [2023-01-10T04:02:46.120Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T04:02:46.234Z] provisioning config files... [2023-01-10T04:02:46.250Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1274@tmp/config5176705280489672905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T04:02:46.585Z] ---> docker-login.sh [2023-01-10T04:02:46.586Z] nexus3.edgexfoundry.org:10001 [2023-01-10T04:02:46.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T04:02:46.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T04:02:46.847Z] Configure a credential helper to remove this warning. See [2023-01-10T04:02:46.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T04:02:46.847Z] [2023-01-10T04:02:46.847Z] Login Succeeded [2023-01-10T04:02:46.847Z] nexus3.edgexfoundry.org:10002 [2023-01-10T04:02:46.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T04:02:47.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T04:02:47.140Z] Configure a credential helper to remove this warning. See [2023-01-10T04:02:47.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T04:02:47.140Z] [2023-01-10T04:02:47.140Z] Login Succeeded [2023-01-10T04:02:47.140Z] nexus3.edgexfoundry.org:10003 [2023-01-10T04:02:47.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T04:02:47.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T04:02:47.140Z] Configure a credential helper to remove this warning. See [2023-01-10T04:02:47.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T04:02:47.140Z] [2023-01-10T04:02:47.140Z] Login Succeeded [2023-01-10T04:02:47.140Z] nexus3.edgexfoundry.org:10004 [2023-01-10T04:02:47.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T04:02:47.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T04:02:47.140Z] Configure a credential helper to remove this warning. See [2023-01-10T04:02:47.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T04:02:47.140Z] [2023-01-10T04:02:47.140Z] Login Succeeded [2023-01-10T04:02:47.140Z] docker.io [2023-01-10T04:02:47.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T04:02:47.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T04:02:47.402Z] Configure a credential helper to remove this warning. See [2023-01-10T04:02:47.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T04:02:47.402Z] [2023-01-10T04:02:47.402Z] Login Succeeded [2023-01-10T04:02:47.402Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T04:02:47.428Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-10T04:02:48.056Z] + git rev-list -1 --merges 844514027b3a7b36fd9ce691c823a8b7e198386d~1..844514027b3a7b36fd9ce691c823a8b7e198386d [Pipeline] echo [2023-01-10T04:02:48.115Z] -----------> git rev-list -1 --merges 844514027b3a7b36fd9ce691c823a8b7e198386d~1..844514027b3a7b36fd9ce691c823a8b7e198386d 844514027b3a7b36fd9ce691c823a8b7e198386d [false] [Pipeline] sh [2023-01-10T04:02:48.430Z] + git log --format=format:%s -1 844514027b3a7b36fd9ce691c823a8b7e198386d [Pipeline] echo [2023-01-10T04:02:48.466Z] ========================================================= [2023-01-10T04:02:48.466Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-10T04:02:48.466Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T04:02:48.901Z] + git log --format=format:%s -1 844514027b3a7b36fd9ce691c823a8b7e198386d [Pipeline] echo [2023-01-10T04:02:48.940Z] [semverPrep] GIT_COMMIT: 844514027b3a7b36fd9ce691c823a8b7e198386d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-01-10T04:02:48.971Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-10T04:02:49.366Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T04:02:49.366Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-10T04:02:49.366Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-10T04:02:49.366Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-10T04:02:49.366Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-10T04:02:49.366Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-10T04:02:49.366Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T04:02:49.801Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T04:02:49.801Z] [2023-01-10T04:02:49.801Z] 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-10T04:02:50.180Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T04:02:50.180Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-10T04:02:50.180Z] b85a868b505f: Pulling fs layer [2023-01-10T04:02:50.180Z] e2be974225ed: Pulling fs layer [2023-01-10T04:02:50.180Z] 339a4e72a1f5: Pulling fs layer [2023-01-10T04:02:50.180Z] 988bab9f4d93: Pulling fs layer [2023-01-10T04:02:50.180Z] 1469e6f7b9e6: Pulling fs layer [2023-01-10T04:02:50.180Z] eaf3925da568: Pulling fs layer [2023-01-10T04:02:50.180Z] bab4dde63d76: Pulling fs layer [2023-01-10T04:02:50.180Z] bde34c3a00c8: Pulling fs layer [2023-01-10T04:02:50.180Z] b352a97aabf1: Pulling fs layer [2023-01-10T04:02:50.180Z] 4872d77fe225: Pulling fs layer [2023-01-10T04:02:50.180Z] 5851b861e8e6: Pulling fs layer [2023-01-10T04:02:50.180Z] 988bab9f4d93: Waiting [2023-01-10T04:02:50.180Z] eaf3925da568: Waiting [2023-01-10T04:02:50.180Z] bab4dde63d76: Waiting [2023-01-10T04:02:50.180Z] 1469e6f7b9e6: Waiting [2023-01-10T04:02:50.180Z] bde34c3a00c8: Waiting [2023-01-10T04:02:50.180Z] b352a97aabf1: Waiting [2023-01-10T04:02:50.180Z] 4872d77fe225: Waiting [2023-01-10T04:02:50.180Z] 5851b861e8e6: Waiting [2023-01-10T04:02:50.180Z] e2be974225ed: Verifying Checksum [2023-01-10T04:02:50.180Z] e2be974225ed: Download complete [2023-01-10T04:02:50.180Z] 988bab9f4d93: Download complete [2023-01-10T04:02:50.440Z] 1469e6f7b9e6: Verifying Checksum [2023-01-10T04:02:50.440Z] 1469e6f7b9e6: Download complete [2023-01-10T04:02:50.440Z] 339a4e72a1f5: Verifying Checksum [2023-01-10T04:02:50.440Z] 339a4e72a1f5: Download complete [2023-01-10T04:02:50.440Z] eaf3925da568: Download complete [2023-01-10T04:02:50.440Z] bde34c3a00c8: Verifying Checksum [2023-01-10T04:02:50.440Z] b352a97aabf1: Verifying Checksum [2023-01-10T04:02:50.440Z] b352a97aabf1: Download complete [2023-01-10T04:02:50.440Z] 4872d77fe225: Verifying Checksum [2023-01-10T04:02:50.440Z] 4872d77fe225: Download complete [2023-01-10T04:02:50.440Z] 5851b861e8e6: Download complete [2023-01-10T04:02:50.440Z] b85a868b505f: Verifying Checksum [2023-01-10T04:02:50.440Z] b85a868b505f: Download complete [2023-01-10T04:02:51.007Z] bab4dde63d76: Verifying Checksum [2023-01-10T04:02:51.007Z] bab4dde63d76: Download complete [2023-01-10T04:02:51.946Z] b85a868b505f: Pull complete [2023-01-10T04:02:51.946Z] e2be974225ed: Pull complete [2023-01-10T04:02:52.513Z] 339a4e72a1f5: Pull complete [2023-01-10T04:02:52.513Z] 988bab9f4d93: Pull complete [2023-01-10T04:02:52.773Z] 1469e6f7b9e6: Pull complete [2023-01-10T04:02:52.773Z] eaf3925da568: Pull complete [2023-01-10T04:02:54.675Z] bab4dde63d76: Pull complete [2023-01-10T04:02:54.675Z] bde34c3a00c8: Pull complete [2023-01-10T04:02:54.935Z] b352a97aabf1: Pull complete [2023-01-10T04:02:54.935Z] 4872d77fe225: Pull complete [2023-01-10T04:02:54.935Z] 5851b861e8e6: Pull complete [2023-01-10T04:02:54.935Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-10T04:02:54.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T04:02:54.935Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T04:02:55.151Z] prd-ubuntu20.04-docker-8c-8g-1528 does not seem to be running inside a container [2023-01-10T04:02:54.486Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1274 -v /w/workspace/gexfoundry_device-sdk-go_PR-1274:/w/workspace/gexfoundry_device-sdk-go_PR-1274:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1274@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1274@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-10T04:02:55.794Z] $ docker top 920b8374983bbf876a45ac38cb04cd74f03d4921c5140803cdee88701f23981c -eo pid,comm [2023-01-10T04:02:56.551Z] 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-10T04:02:56.551Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T04:02:56.692Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T04:02:56.692Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T04:02:56.839Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T04:02:56.145Z] $ docker exec 920b8374983bbf876a45ac38cb04cd74f03d4921c5140803cdee88701f23981c ssh-agent [2023-01-10T04:02:56.963Z] SSH_AUTH_SOCK=/tmp/ssh-w5FGIaz3n45Y/agent.32 [2023-01-10T04:02:56.963Z] SSH_AGENT_PID=39 [2023-01-10T04:02:56.969Z] Running ssh-add (command line suppressed) [2023-01-10T04:02:56.379Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1274@tmp/private_key_2068149762476972063.key (/w/workspace/gexfoundry_device-sdk-go_PR-1274@tmp/private_key_2068149762476972063.key) [2023-01-10T04:02:57.096Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T04:02:57.437Z] + git tag --points-at HEAD [Pipeline] } [2023-01-10T04:02:56.764Z] $ docker exec --env ******** --env ******** 920b8374983bbf876a45ac38cb04cd74f03d4921c5140803cdee88701f23981c ssh-agent -k [2023-01-10T04:02:56.870Z] unset SSH_AUTH_SOCK; [2023-01-10T04:02:56.871Z] unset SSH_AGENT_PID; [2023-01-10T04:02:56.871Z] echo Agent pid 39 killed; [2023-01-10T04:02:57.582Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-10T04:02:57.672Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T04:02:57.672Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T04:02:57.792Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T04:02:57.097Z] $ docker exec 920b8374983bbf876a45ac38cb04cd74f03d4921c5140803cdee88701f23981c ssh-agent [2023-01-10T04:02:57.898Z] SSH_AUTH_SOCK=/tmp/ssh-AtrHGa62M2aw/agent.71 [2023-01-10T04:02:57.898Z] SSH_AGENT_PID=77 [2023-01-10T04:02:57.904Z] Running ssh-add (command line suppressed) [2023-01-10T04:02:57.320Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1274@tmp/private_key_3789525718187234053.key (/w/workspace/gexfoundry_device-sdk-go_PR-1274@tmp/private_key_3789525718187234053.key) [2023-01-10T04:02:58.043Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T04:02:58.384Z] + git semver init [2023-01-10T04:02:58.647Z] 2023-01-10 04:02:57,868 [run_init] DEBUG init version:0.0.0 force:False [2023-01-10T04:02:58.647Z] 2023-01-10 04:02:57,869 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1274/.semver [2023-01-10T04:02:58.647Z] 2023-01-10 04:02:57,870 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1274/.semver [2023-01-10T04:02:58.647Z] 2023-01-10 04:02:57,870 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1274/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1274, universal_newlines=False, shell=None, istream=None) [2023-01-10T04:02:59.587Z] 2023-01-10 04:02:58,787 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1274/.git/info/exclude [2023-01-10T04:02:59.587Z] 2023-01-10 04:02:58,787 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1274/.semver/PR-1274 with force:False [2023-01-10T04:02:59.587Z] 2023-01-10 04:02:58,787 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1274/.semver/PR-1274 [2023-01-10T04:02:59.587Z] 2023-01-10 04:02:58,792 [execute] INFO git cat-file --batch-check [2023-01-10T04:02:59.587Z] 2023-01-10 04:02:58,792 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1274/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T04:02:59.587Z] 2023-01-10 04:02:58,798 [execute] INFO git cat-file --batch [2023-01-10T04:02:59.587Z] 2023-01-10 04:02:58,798 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1274/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T04:02:59.587Z] 2023-01-10 04:02:58,804 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1274/.semver/PR-1274 [2023-01-10T04:02:59.587Z] 0.0.0 [Pipeline] } [2023-01-10T04:02:58.914Z] $ docker exec --env ******** --env ******** 920b8374983bbf876a45ac38cb04cd74f03d4921c5140803cdee88701f23981c ssh-agent -k [2023-01-10T04:02:59.028Z] unset SSH_AUTH_SOCK; [2023-01-10T04:02:59.028Z] unset SSH_AGENT_PID; [2023-01-10T04:02:59.029Z] echo Agent pid 77 killed; [2023-01-10T04:02:59.736Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T04:03:00.168Z] + git semver [Pipeline] } [2023-01-10T04:02:59.754Z] $ docker stop --time=1 920b8374983bbf876a45ac38cb04cd74f03d4921c5140803cdee88701f23981c [2023-01-10T04:03:01.055Z] $ docker rm -f --volumes 920b8374983bbf876a45ac38cb04cd74f03d4921c5140803cdee88701f23981c [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T04:03:02.155Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-10T04:03:02.445Z] Stashed 1 file(s) [Pipeline] echo [2023-01-10T04:03:02.462Z] [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-10T04:03:03.067Z] provisioning config files... [2023-01-10T04:03:03.113Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1274@tmp/config1046489896488135610tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T04:03:03.450Z] ---> docker-login.sh [2023-01-10T04:03:03.450Z] nexus3.edgexfoundry.org:10001 [2023-01-10T04:03:03.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T04:03:03.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T04:03:03.450Z] Configure a credential helper to remove this warning. See [2023-01-10T04:03:03.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T04:03:03.450Z] [2023-01-10T04:03:03.450Z] Login Succeeded [2023-01-10T04:03:03.450Z] nexus3.edgexfoundry.org:10002 [2023-01-10T04:03:03.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T04:03:03.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T04:03:03.450Z] Configure a credential helper to remove this warning. See [2023-01-10T04:03:03.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T04:03:03.450Z] [2023-01-10T04:03:03.450Z] Login Succeeded [2023-01-10T04:03:03.450Z] nexus3.edgexfoundry.org:10003 [2023-01-10T04:03:03.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T04:03:03.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T04:03:03.711Z] Configure a credential helper to remove this warning. See [2023-01-10T04:03:03.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T04:03:03.711Z] [2023-01-10T04:03:03.711Z] Login Succeeded [2023-01-10T04:03:03.711Z] nexus3.edgexfoundry.org:10004 [2023-01-10T04:03:03.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T04:03:03.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T04:03:03.711Z] Configure a credential helper to remove this warning. See [2023-01-10T04:03:03.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T04:03:03.711Z] [2023-01-10T04:03:03.711Z] Login Succeeded [2023-01-10T04:03:03.711Z] docker.io [2023-01-10T04:03:03.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T04:03:03.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T04:03:03.971Z] Configure a credential helper to remove this warning. See [2023-01-10T04:03:03.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T04:03:03.971Z] [2023-01-10T04:03:03.971Z] Login Succeeded [2023-01-10T04:03:03.971Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T04:03:04.009Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T04:03:04.205Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T04:03:04.245Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T04:03:04.280Z] ========================================================= [2023-01-10T04:03:04.280Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-10T04:03:04.280Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T04:03:04.756Z] + 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-10T04:03:04.756Z] Sending build context to Docker daemon 10.41MB [2023-01-10T04:03:04.756Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T04:03:04.756Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-10T04:03:04.756Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-10T04:03:04.756Z] 213ec9aee27d: Pulling fs layer [2023-01-10T04:03:04.756Z] 4583459ba037: Pulling fs layer [2023-01-10T04:03:04.756Z] 93c1e223e6f2: Pulling fs layer [2023-01-10T04:03:04.756Z] 53926ce57604: Pulling fs layer [2023-01-10T04:03:04.756Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-10T04:03:04.756Z] 22ff95d597cd: Pulling fs layer [2023-01-10T04:03:04.756Z] 12d6caf4c0d1: Pulling fs layer [2023-01-10T04:03:04.756Z] 96b7cbca73a9: Pulling fs layer [2023-01-10T04:03:04.756Z] a7acece74701: Pulling fs layer [2023-01-10T04:03:04.756Z] 53926ce57604: Waiting [2023-01-10T04:03:04.756Z] 21b2b0c7a3f4: Waiting [2023-01-10T04:03:04.756Z] 22ff95d597cd: Waiting [2023-01-10T04:03:04.756Z] 96b7cbca73a9: Waiting [2023-01-10T04:03:04.756Z] a7acece74701: Waiting [2023-01-10T04:03:04.756Z] 93c1e223e6f2: Verifying Checksum [2023-01-10T04:03:04.756Z] 93c1e223e6f2: Download complete [2023-01-10T04:03:04.756Z] 4583459ba037: Download complete [2023-01-10T04:03:05.024Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-10T04:03:05.024Z] 21b2b0c7a3f4: Download complete [2023-01-10T04:03:05.024Z] 22ff95d597cd: Download complete [2023-01-10T04:03:05.024Z] 213ec9aee27d: Verifying Checksum [2023-01-10T04:03:05.024Z] 213ec9aee27d: Download complete [2023-01-10T04:03:05.024Z] 12d6caf4c0d1: Download complete [2023-01-10T04:03:05.024Z] 213ec9aee27d: Pull complete [2023-01-10T04:03:05.302Z] 4583459ba037: Pull complete [2023-01-10T04:03:05.302Z] 93c1e223e6f2: Pull complete [2023-01-10T04:03:05.888Z] a7acece74701: Verifying Checksum [2023-01-10T04:03:05.888Z] a7acece74701: Download complete [2023-01-10T04:03:05.888Z] 53926ce57604: Verifying Checksum [2023-01-10T04:03:05.888Z] 53926ce57604: Download complete [2023-01-10T04:03:06.146Z] 96b7cbca73a9: Verifying Checksum [2023-01-10T04:03:06.146Z] 96b7cbca73a9: Download complete [2023-01-10T04:03:09.428Z] 53926ce57604: Pull complete [2023-01-10T04:03:09.428Z] 21b2b0c7a3f4: Pull complete [2023-01-10T04:03:09.428Z] 22ff95d597cd: Pull complete [2023-01-10T04:03:09.428Z] 12d6caf4c0d1: Pull complete [2023-01-10T04:03:11.965Z] 96b7cbca73a9: Pull complete [2023-01-10T04:03:12.223Z] a7acece74701: Pull complete [2023-01-10T04:03:12.223Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-10T04:03:12.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-10T04:03:12.223Z] ---> db6d94c90886 [2023-01-10T04:03:12.223Z] Step 3/10 : ARG MAKE=make build [2023-01-10T04:03:14.129Z] ---> Running in 5babf43ee5ff [2023-01-10T04:03:14.129Z] Removing intermediate container 5babf43ee5ff [2023-01-10T04:03:14.129Z] ---> be5e22f7b308 [2023-01-10T04:03:14.129Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-10T04:03:14.129Z] ---> Running in ffde707ef53d [2023-01-10T04:03:14.129Z] Removing intermediate container ffde707ef53d [2023-01-10T04:03:14.129Z] ---> aff2010256ea [2023-01-10T04:03:14.129Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-10T04:03:14.129Z] ---> Running in 72bff054c6bd [2023-01-10T04:03:14.388Z] Removing intermediate container 72bff054c6bd [2023-01-10T04:03:14.388Z] ---> 0675f696d368 [2023-01-10T04:03:14.388Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-10T04:03:14.388Z] ---> Running in a20d5fa01bd4 [2023-01-10T04:03:14.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T04:03:14.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T04:03:14.908Z] OK: 211 MiB in 51 packages [2023-01-10T04:03:15.478Z] Removing intermediate container a20d5fa01bd4 [2023-01-10T04:03:15.478Z] ---> 777a9ea337d8 [2023-01-10T04:03:15.478Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-10T04:03:15.478Z] ---> edde3ade3eb7 [2023-01-10T04:03:15.478Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T04:03:15.478Z] ---> Running in 4126269d33b3 [2023-01-10T04:03:17.886Z] Still waiting to schedule task [2023-01-10T04:03:17.886Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-10T04:03:42.028Z] Removing intermediate container 4126269d33b3 [2023-01-10T04:03:42.028Z] ---> 08f1083ddeb5 [2023-01-10T04:03:42.028Z] Step 9/10 : COPY . . [2023-01-10T04:03:42.028Z] ---> b3ff963b45b6 [2023-01-10T04:03:42.028Z] Step 10/10 : RUN ${MAKE} [2023-01-10T04:03:42.028Z] ---> Running in 315a29b1f7ff [2023-01-10T04:03:42.028Z] noop [2023-01-10T04:03:42.028Z] Removing intermediate container 315a29b1f7ff [2023-01-10T04:03:42.028Z] ---> 9b03cf3a4e37 [2023-01-10T04:03:42.028Z] Successfully built 9b03cf3a4e37 [2023-01-10T04:03:42.028Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T04:03:42.482Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T04:03:42.482Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T04:03:42.654Z] prd-ubuntu20.04-docker-8c-8g-1528 does not seem to be running inside a container [2023-01-10T04:03:42.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1274 -v /w/workspace/gexfoundry_device-sdk-go_PR-1274:/w/workspace/gexfoundry_device-sdk-go_PR-1274:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1274@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1274@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 ******** ci-base-image-x86_64 cat [2023-01-10T04:03:43.049Z] $ docker top 15f1ded199135beaddb3975d518e93138e623416641afd5f14878e36ada71361 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T04:03:43.440Z] + go version [2023-01-10T04:03:43.440Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-10T04:03:43.480Z] $ docker stop --time=1 15f1ded199135beaddb3975d518e93138e623416641afd5f14878e36ada71361 [2023-01-10T04:03:44.744Z] $ docker rm -f --volumes 15f1ded199135beaddb3975d518e93138e623416641afd5f14878e36ada71361 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T04:03:45.492Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T04:03:45.492Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T04:03:45.651Z] prd-ubuntu20.04-docker-8c-8g-1528 does not seem to be running inside a container [2023-01-10T04:03:45.685Z] $ 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-1274 -v /w/workspace/gexfoundry_device-sdk-go_PR-1274:/w/workspace/gexfoundry_device-sdk-go_PR-1274:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1274@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1274@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 ******** ci-base-image-x86_64 cat [2023-01-10T04:03:46.023Z] $ docker top 1b5a06a26eec2fab5b51f7337fa13d610400cd64b35d83942b0899798a91dc54 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T04:03:46.430Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1274 [Pipeline] fileExists [Pipeline] sh [2023-01-10T04:03:46.785Z] + make test [2023-01-10T04:03:46.785Z] go test -race -coverprofile=coverage.out ./... [2023-01-10T04:03:53.353Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-10T04:04:08.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-10T04:04:08.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-10T04:04:08.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-10T04:04:08.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-10T04:04:08.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-10T04:04:08.231Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.054s coverage: 27.6% of statements [2023-01-10T04:04:08.231Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.074s coverage: 78.9% of statements [2023-01-10T04:04:08.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-10T04:04:08.231Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.084s coverage: 73.1% of statements [2023-01-10T04:04:08.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-10T04:04:08.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-10T04:04:08.231Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.117s coverage: 54.4% of statements [2023-01-10T04:04:08.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-10T04:04:08.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-10T04:04:08.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-10T04:04:08.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-10T04:04:08.231Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.086s coverage: 65.1% of statements [2023-01-10T04:04:08.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-10T04:04:08.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-10T04:04:08.231Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.759s coverage: 89.2% of statements [2023-01-10T04:04:08.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-10T04:04:08.231Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.058s coverage: 4.6% of statements [2023-01-10T04:04:08.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-10T04:04:23.192Z] 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-10T04:04:23.192Z] GO111MODULE=on go vet ./... [2023-01-10T04:04:25.735Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T04:04:25.735Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T04:04:25.735Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T04:04:25.814Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T04:04:25.848Z] $ docker stop --time=1 1b5a06a26eec2fab5b51f7337fa13d610400cd64b35d83942b0899798a91dc54 [2023-01-10T04:04:27.756Z] $ docker rm -f --volumes 1b5a06a26eec2fab5b51f7337fa13d610400cd64b35d83942b0899798a91dc54 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T04:04:28.341Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T04:04:28.417Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-10T04:04:29.081Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T04:04:29.393Z] + ls -al . [2023-01-10T04:04:29.393Z] total 280 [2023-01-10T04:04:29.393Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 04:03 . [2023-01-10T04:04:29.393Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 04:02 .. [2023-01-10T04:04:29.393Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 04:02 .dockerignore [2023-01-10T04:04:29.393Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 04:04 .git [2023-01-10T04:04:29.393Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 04:02 .github [2023-01-10T04:04:29.393Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 10 04:02 .gitignore [2023-01-10T04:04:29.393Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 10 04:02 .golangci.yml [2023-01-10T04:04:29.393Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 04:02 .semver [2023-01-10T04:04:29.393Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 10 04:02 CHANGELOG.md [2023-01-10T04:04:29.393Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 04:02 GOVERNANCE.md [2023-01-10T04:04:29.393Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 10 04:02 Jenkinsfile [2023-01-10T04:04:29.393Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 10 04:02 LICENSE [2023-01-10T04:04:29.393Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 10 04:02 Makefile [2023-01-10T04:04:29.393Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 10 04:02 OWNERS.md [2023-01-10T04:04:29.393Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 10 04:02 README.md [2023-01-10T04:04:29.393Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 04:03 VERSION [2023-01-10T04:04:29.393Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 04:02 bin [2023-01-10T04:04:29.393Z] -rw-r--r-- 1 jenkins jenkins 101911 Jan 10 04:04 coverage.out [2023-01-10T04:04:29.393Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 10 04:02 example [2023-01-10T04:04:29.393Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 10 04:02 go.mod [2023-01-10T04:04:29.393Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 10 04:02 go.sum [2023-01-10T04:04:29.393Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 10 04:02 internal [2023-01-10T04:04:29.393Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 04:02 openapi [2023-01-10T04:04:29.393Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 10 04:02 pkg [2023-01-10T04:04:29.393Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 04:02 snap [2023-01-10T04:04:29.393Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 10 04:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T04:04:29.774Z] + 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=844514027b3a7b36fd9ce691c823a8b7e198386d --label arch=amd64 --label version=0.0.0 . [2023-01-10T04:04:29.774Z] Sending build context to Docker daemon 10.51MB [2023-01-10T04:04:29.774Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T04:04:29.774Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-10T04:04:29.774Z] ---> 9b03cf3a4e37 [2023-01-10T04:04:29.774Z] Step 3/23 : ARG MAKE=make build [2023-01-10T04:04:29.774Z] ---> Running in 9f7e28eff0a5 [2023-01-10T04:04:30.033Z] Removing intermediate container 9f7e28eff0a5 [2023-01-10T04:04:30.033Z] ---> 9da98f422471 [2023-01-10T04:04:30.033Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-10T04:04:30.033Z] ---> Running in e823e0f54013 [2023-01-10T04:04:30.033Z] Removing intermediate container e823e0f54013 [2023-01-10T04:04:30.033Z] ---> 76a8f457c5a9 [2023-01-10T04:04:30.033Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-10T04:04:30.033Z] ---> Running in 63ab60544e26 [2023-01-10T04:04:30.033Z] Removing intermediate container 63ab60544e26 [2023-01-10T04:04:30.033Z] ---> f1bc39f6e987 [2023-01-10T04:04:30.033Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-10T04:04:30.033Z] ---> Running in 44baca0872e9 [2023-01-10T04:04:30.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T04:04:30.551Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T04:04:30.812Z] OK: 211 MiB in 51 packages [2023-01-10T04:04:31.071Z] Removing intermediate container 44baca0872e9 [2023-01-10T04:04:31.071Z] ---> 25fc0bd4bf34 [2023-01-10T04:04:31.071Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-10T04:04:31.330Z] ---> 7153b7d1f4e1 [2023-01-10T04:04:31.331Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T04:04:31.331Z] ---> Running in 09cc6d45370b [2023-01-10T04:04:31.900Z] Removing intermediate container 09cc6d45370b [2023-01-10T04:04:31.900Z] ---> 0eb23e1e2cfe [2023-01-10T04:04:31.900Z] Step 9/23 : COPY . . [2023-01-10T04:04:32.159Z] ---> 73693b5d8c7c [2023-01-10T04:04:32.159Z] Step 10/23 : RUN ${MAKE} [2023-01-10T04:04:32.159Z] ---> Running in 377ce4dde211 [2023-01-10T04:04:32.418Z] 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-10T04:04:50.504Z] Removing intermediate container 377ce4dde211 [2023-01-10T04:04:50.504Z] ---> 199613342141 [2023-01-10T04:04:50.504Z] Step 11/23 : FROM alpine:3.16 [2023-01-10T04:04:50.504Z] 3.16: Pulling from library/alpine [2023-01-10T04:04:50.504Z] ca7dd9ec2225: Pulling fs layer [2023-01-10T04:04:50.761Z] ca7dd9ec2225: Verifying Checksum [2023-01-10T04:04:50.761Z] ca7dd9ec2225: Download complete [2023-01-10T04:04:50.761Z] ca7dd9ec2225: Pull complete [2023-01-10T04:04:50.761Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T04:04:50.761Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T04:04:50.761Z] ---> bfe296a52501 [2023-01-10T04:04:50.761Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-10T04:04:50.761Z] ---> Running in 82c2f08afbec [2023-01-10T04:04:51.019Z] Removing intermediate container 82c2f08afbec [2023-01-10T04:04:51.019Z] ---> c5f30d5b8a83 [2023-01-10T04:04:51.019Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-10T04:04:51.019Z] ---> Running in 330c06ceec4a [2023-01-10T04:04:51.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T04:04:51.534Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T04:04:51.792Z] OK: 6 MiB in 14 packages [2023-01-10T04:04:52.051Z] Removing intermediate container 330c06ceec4a [2023-01-10T04:04:52.051Z] ---> 174e4b297fcc [2023-01-10T04:04:52.051Z] Step 14/23 : WORKDIR / [2023-01-10T04:04:52.051Z] ---> Running in ee9f890be7a4 [2023-01-10T04:04:52.309Z] Removing intermediate container ee9f890be7a4 [2023-01-10T04:04:52.309Z] ---> 6786515c2225 [2023-01-10T04:04:52.309Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-10T04:04:52.309Z] ---> 242e7e915e9a [2023-01-10T04:04:52.309Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-10T04:04:52.874Z] ---> 7ba917992747 [2023-01-10T04:04:52.874Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-10T04:04:52.874Z] ---> 15b5d45fcd9e [2023-01-10T04:04:52.874Z] Step 18/23 : EXPOSE 59999 [2023-01-10T04:04:52.874Z] ---> Running in c356679e5e22 [2023-01-10T04:04:53.133Z] Removing intermediate container c356679e5e22 [2023-01-10T04:04:53.133Z] ---> 92eb181ecd17 [2023-01-10T04:04:53.133Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-10T04:04:53.133Z] ---> Running in ffb895b064de [2023-01-10T04:04:53.133Z] Removing intermediate container ffb895b064de [2023-01-10T04:04:53.133Z] ---> fad6a45bff32 [2023-01-10T04:04:53.133Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-10T04:04:53.133Z] ---> Running in 1c37cf76e78f [2023-01-10T04:04:53.133Z] Removing intermediate container 1c37cf76e78f [2023-01-10T04:04:53.133Z] ---> 70c75ab04a59 [2023-01-10T04:04:53.133Z] Step 21/23 : LABEL arch=amd64 [2023-01-10T04:04:53.393Z] ---> Running in 4dc1aca709cc [2023-01-10T04:04:53.393Z] Removing intermediate container 4dc1aca709cc [2023-01-10T04:04:53.393Z] ---> 5b30b0ee3aee [2023-01-10T04:04:53.393Z] Step 22/23 : LABEL git_sha=844514027b3a7b36fd9ce691c823a8b7e198386d [2023-01-10T04:04:53.393Z] ---> Running in 416112cf4d5d [2023-01-10T04:04:53.393Z] Removing intermediate container 416112cf4d5d [2023-01-10T04:04:53.393Z] ---> c9fbd661988d [2023-01-10T04:04:53.393Z] Step 23/23 : LABEL version=0.0.0 [2023-01-10T04:04:53.393Z] ---> Running in 2ed353575e2d [2023-01-10T04:04:53.551Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1532 in /w/workspace/gexfoundry_device-sdk-go_PR-1274 [Pipeline] { [Pipeline] ws [2023-01-10T04:04:53.604Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [2023-01-10T04:04:53.651Z] Removing intermediate container 2ed353575e2d [2023-01-10T04:04:53.651Z] ---> 7cd510039136 [2023-01-10T04:04:53.651Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T04:04:53.651Z] Successfully built 7cd510039136 [2023-01-10T04:04:53.651Z] Successfully tagged device-sdk-simple:latest [Pipeline] checkout [2023-01-10T04:04:53.679Z] The recommended git tool is: git [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-10T04:04:54.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T04:04:54.534Z] [2023-01-10T04:04:54.534Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T04:04:54.918Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T04:04:54.919Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-10T04:04:54.919Z] 5eb5b503b376: Pulling fs layer [2023-01-10T04:04:54.919Z] 5c69ac0246d0: Pulling fs layer [2023-01-10T04:04:54.919Z] ec43610c2a17: Pulling fs layer [2023-01-10T04:04:54.919Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-10T04:04:54.919Z] 33b1e0a273af: Pulling fs layer [2023-01-10T04:04:54.919Z] 5d3b04190fa2: Pulling fs layer [2023-01-10T04:04:54.919Z] 2f39f015ded8: Pulling fs layer [2023-01-10T04:04:54.919Z] 5d3b04190fa2: Waiting [2023-01-10T04:04:54.919Z] 33b1e0a273af: Waiting [2023-01-10T04:04:54.919Z] 2f39f015ded8: Waiting [2023-01-10T04:04:54.919Z] 3a2ae6a8a46f: Waiting [2023-01-10T04:04:54.919Z] 5c69ac0246d0: Verifying Checksum [2023-01-10T04:04:54.919Z] 5c69ac0246d0: Download complete [2023-01-10T04:04:54.919Z] 3a2ae6a8a46f: Download complete [2023-01-10T04:04:54.919Z] 33b1e0a273af: Verifying Checksum [2023-01-10T04:04:54.919Z] 33b1e0a273af: Download complete [2023-01-10T04:04:55.177Z] ec43610c2a17: Verifying Checksum [2023-01-10T04:04:55.177Z] ec43610c2a17: Download complete [2023-01-10T04:04:55.177Z] 5d3b04190fa2: Verifying Checksum [2023-01-10T04:04:55.177Z] 5eb5b503b376: Verifying Checksum [2023-01-10T04:04:55.177Z] 5eb5b503b376: Download complete [2023-01-10T04:04:55.743Z] 2f39f015ded8: Download complete [2023-01-10T04:04:56.309Z] 5eb5b503b376: Pull complete [2023-01-10T04:04:56.309Z] 5c69ac0246d0: Pull complete [2023-01-10T04:04:56.568Z] ec43610c2a17: Pull complete [2023-01-10T04:04:56.826Z] 3a2ae6a8a46f: Pull complete [2023-01-10T04:04:56.826Z] 33b1e0a273af: Pull complete [2023-01-10T04:04:57.083Z] 5d3b04190fa2: Pull complete [2023-01-10T04:04:58.823Z] using credential edgex-jenkins-ssh [2023-01-10T04:04:58.837Z] Cloning the remote Git repository [2023-01-10T04:04:58.882Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-10T04:04:58.952Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-01-10T04:04:59.097Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-10T04:04:59.098Z] > git --version # timeout=10 [2023-01-10T04:04:59.116Z] > git --version # 'git version 2.25.1' [2023-01-10T04:04:59.117Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T04:04:59.174Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T04:05:00.803Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-10T04:05:00.833Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T04:05:01.269Z] 2f39f015ded8: Pull complete [2023-01-10T04:05:01.269Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-10T04:05:01.269Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T04:05:01.269Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T04:05:01.469Z] prd-ubuntu20.04-docker-8c-8g-1528 does not seem to be running inside a container [2023-01-10T04:05:01.502Z] $ 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-1274 -v /w/workspace/gexfoundry_device-sdk-go_PR-1274:/w/workspace/gexfoundry_device-sdk-go_PR-1274:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1274@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1274@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T04:05:02.515Z] Merging remotes/origin/main commit 8025d415256bff1d08fe37ed408de885b1f3053d into PR head commit 844514027b3a7b36fd9ce691c823a8b7e198386d [2023-01-10T04:05:01.655Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-10T04:05:01.696Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-10T04:05:01.697Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T04:05:01.716Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1274/head:refs/remotes/origin/PR-1274 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-10T04:05:02.541Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T04:05:02.775Z] Merge succeeded, producing 844514027b3a7b36fd9ce691c823a8b7e198386d [2023-01-10T04:05:02.776Z] Checking out Revision 844514027b3a7b36fd9ce691c823a8b7e198386d (PR-1274) [2023-01-10T04:05:02.811Z] $ docker top 5b78af8902e7a95970ca4197407af84c611f90d0ccf52d0cc1afa2bf2f8e9f75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T04:05:03.259Z] ---> job-cost.sh [2023-01-10T04:05:03.259Z] lf-activate-venv: SKIPPING [2023-01-10T04:05:03.259Z] INFO: No Stack... [2023-01-10T04:05:03.318Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-01-10T04:05:03.373Z] > git --version # timeout=10 [2023-01-10T04:05:03.384Z] > git --version # 'git version 2.25.1' [2023-01-10T04:05:03.399Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T04:05:03.517Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T04:05:02.563Z] > git checkout -f 844514027b3a7b36fd9ce691c823a8b7e198386d # timeout=10 [2023-01-10T04:05:02.682Z] > git remote # timeout=10 [2023-01-10T04:05:02.701Z] > git config --get remote.origin.url # timeout=10 [2023-01-10T04:05:02.719Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T04:05:02.733Z] > git merge 8025d415256bff1d08fe37ed408de885b1f3053d # timeout=10 [2023-01-10T04:05:02.758Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-10T04:05:02.786Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T04:05:02.800Z] > git checkout -f 844514027b3a7b36fd9ce691c823a8b7e198386d # timeout=10 [2023-01-10T04:05:04.086Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T04:05:04.407Z] + cat+ /w/workspace/gexfoundry_device-sdk-go_PR-1274/archives/cost.csv [2023-01-10T04:05:04.407Z] cut -d, -f6 [Pipeline] lock [2023-01-10T04:05:04.451Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1274-1-stack-cost] [2023-01-10T04:05:04.456Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1274-1-stack-cost] did not exist. Created. [2023-01-10T04:05:04.456Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1274-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T04:05:04.847Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-10T04:05:04.899Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T04:05:04.923Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1274-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T04:05:05.002Z] $ docker stop --time=1 5b78af8902e7a95970ca4197407af84c611f90d0ccf52d0cc1afa2bf2f8e9f75 [2023-01-10T04:05:06.163Z] $ docker rm -f --volumes 5b78af8902e7a95970ca4197407af84c611f90d0ccf52d0cc1afa2bf2f8e9f75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T04:14:20.043Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-10T04:14:20.043Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T04:14:20.043Z] Dload Upload Total Spent Left Speed [2023-01-10T04:14:20.043Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh [2023-01-10T04:14:20.724Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-10T04:14:21.074Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-10T04:14:21.074Z] + sudo tee /etc/docker/daemon.new [2023-01-10T04:14:21.074Z] { [2023-01-10T04:14:21.074Z] "registry-mirrors": [ [2023-01-10T04:14:21.074Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-10T04:14:21.074Z] ], [2023-01-10T04:14:21.074Z] "bip": "10.250.0.254/24", [2023-01-10T04:14:21.074Z] "hosts": [ [2023-01-10T04:14:21.074Z] "tcp://0.0.0.0:5555", [2023-01-10T04:14:21.074Z] "unix:///var/run/docker.sock" [2023-01-10T04:14:21.074Z] ], [2023-01-10T04:14:21.074Z] "mtu": 1458, [2023-01-10T04:14:21.074Z] "selinux-enabled": true, [2023-01-10T04:14:21.074Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-10T04:14:21.074Z] } [Pipeline] sh [2023-01-10T04:14:21.430Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-10T04:14:21.790Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T04:14:40.135Z] provisioning config files... [2023-01-10T04:14:40.162Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6764115855127654417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T04:14:40.552Z] ---> docker-login.sh [2023-01-10T04:14:40.552Z] nexus3.edgexfoundry.org:10001 [2023-01-10T04:14:41.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T04:14:41.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T04:14:41.141Z] Configure a credential helper to remove this warning. See [2023-01-10T04:14:41.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T04:14:41.141Z] [2023-01-10T04:14:41.141Z] Login Succeeded [2023-01-10T04:14:41.141Z] nexus3.edgexfoundry.org:10002 [2023-01-10T04:14:41.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T04:14:41.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T04:14:41.411Z] Configure a credential helper to remove this warning. See [2023-01-10T04:14:41.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T04:14:41.411Z] [2023-01-10T04:14:41.411Z] Login Succeeded [2023-01-10T04:14:41.681Z] nexus3.edgexfoundry.org:10003 [2023-01-10T04:14:41.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T04:14:41.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T04:14:41.958Z] Configure a credential helper to remove this warning. See [2023-01-10T04:14:41.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T04:14:41.958Z] [2023-01-10T04:14:41.958Z] Login Succeeded [2023-01-10T04:14:41.958Z] nexus3.edgexfoundry.org:10004 [2023-01-10T04:14:42.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T04:14:42.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T04:14:42.513Z] Configure a credential helper to remove this warning. See [2023-01-10T04:14:42.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T04:14:42.513Z] [2023-01-10T04:14:42.513Z] Login Succeeded [2023-01-10T04:14:42.513Z] docker.io [2023-01-10T04:14:42.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T04:14:42.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T04:14:42.790Z] Configure a credential helper to remove this warning. See [2023-01-10T04:14:42.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T04:14:42.790Z] [2023-01-10T04:14:42.790Z] Login Succeeded [2023-01-10T04:14:42.790Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T04:14:42.818Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T04:14:43.215Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T04:14:43.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T04:14:43.284Z] ========================================================= [2023-01-10T04:14:43.284Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-10T04:14:43.284Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T04:14:43.800Z] + 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-10T04:14:45.794Z] Sending build context to Docker daemon 5.597MB [2023-01-10T04:14:45.794Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T04:14:45.794Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-10T04:14:45.794Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-10T04:14:45.794Z] 9b18e9b68314: Pulling fs layer [2023-01-10T04:14:45.794Z] 35d82f9e3411: Pulling fs layer [2023-01-10T04:14:45.794Z] e16973657156: Pulling fs layer [2023-01-10T04:14:45.794Z] fc693d55d65f: Pulling fs layer [2023-01-10T04:14:45.794Z] 7e9fc2657dce: Pulling fs layer [2023-01-10T04:14:45.794Z] dda99020689f: Pulling fs layer [2023-01-10T04:14:45.794Z] db1c61fa0a46: Pulling fs layer [2023-01-10T04:14:45.794Z] 891c053d2c06: Pulling fs layer [2023-01-10T04:14:45.794Z] dda99020689f: Waiting [2023-01-10T04:14:45.794Z] db1c61fa0a46: Waiting [2023-01-10T04:14:45.794Z] 891c053d2c06: Waiting [2023-01-10T04:14:45.794Z] fc693d55d65f: Waiting [2023-01-10T04:14:45.794Z] 7e9fc2657dce: Waiting [2023-01-10T04:14:45.794Z] e16973657156: Verifying Checksum [2023-01-10T04:14:45.794Z] e16973657156: Download complete [2023-01-10T04:14:45.794Z] 35d82f9e3411: Verifying Checksum [2023-01-10T04:14:45.794Z] 35d82f9e3411: Download complete [2023-01-10T04:14:45.794Z] 7e9fc2657dce: Download complete [2023-01-10T04:14:45.794Z] dda99020689f: Verifying Checksum [2023-01-10T04:14:45.794Z] dda99020689f: Download complete [2023-01-10T04:14:45.794Z] 9b18e9b68314: Verifying Checksum [2023-01-10T04:14:45.794Z] 9b18e9b68314: Download complete [2023-01-10T04:14:46.780Z] 9b18e9b68314: Pull complete [2023-01-10T04:14:47.053Z] 891c053d2c06: Download complete [2023-01-10T04:14:47.647Z] 35d82f9e3411: Pull complete [2023-01-10T04:14:47.920Z] e16973657156: Pull complete [2023-01-10T04:14:48.511Z] db1c61fa0a46: Verifying Checksum [2023-01-10T04:14:48.511Z] db1c61fa0a46: Download complete [2023-01-10T04:14:49.098Z] fc693d55d65f: Verifying Checksum [2023-01-10T04:14:49.098Z] fc693d55d65f: Download complete [2023-01-10T04:15:01.569Z] fc693d55d65f: Pull complete [2023-01-10T04:15:01.569Z] 7e9fc2657dce: Pull complete [2023-01-10T04:15:01.837Z] dda99020689f: Pull complete [2023-01-10T04:15:08.521Z] db1c61fa0a46: Pull complete [2023-01-10T04:15:09.940Z] 891c053d2c06: Pull complete [2023-01-10T04:15:09.940Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-10T04:15:09.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T04:15:09.940Z] ---> f96f9c87975a [2023-01-10T04:15:09.940Z] Step 3/10 : ARG MAKE=make build [2023-01-10T04:15:11.916Z] ---> Running in 261072b6b72e [2023-01-10T04:15:12.197Z] Removing intermediate container 261072b6b72e [2023-01-10T04:15:12.197Z] ---> 89b7c7d5efc9 [2023-01-10T04:15:12.197Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-10T04:15:12.197Z] ---> Running in 5f6ff6fbb7d1 [2023-01-10T04:15:12.465Z] Removing intermediate container 5f6ff6fbb7d1 [2023-01-10T04:15:12.465Z] ---> e9f7e4ff5e63 [2023-01-10T04:15:12.465Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-10T04:15:12.465Z] ---> Running in 32951a5cd3e7 [2023-01-10T04:15:12.739Z] Removing intermediate container 32951a5cd3e7 [2023-01-10T04:15:12.739Z] ---> a5aa2de968fb [2023-01-10T04:15:12.739Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-10T04:15:13.007Z] ---> Running in 464b79187e4f [2023-01-10T04:15:13.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T04:15:14.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T04:15:15.521Z] OK: 221 MiB in 51 packages [2023-01-10T04:15:16.107Z] Removing intermediate container 464b79187e4f [2023-01-10T04:15:16.107Z] ---> bbc76e2b671f [2023-01-10T04:15:16.107Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-10T04:15:16.697Z] ---> a60f126237d0 [2023-01-10T04:15:16.697Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T04:15:16.697Z] ---> Running in 0e2554da4724 [2023-01-10T04:16:13.149Z] Removing intermediate container 0e2554da4724 [2023-01-10T04:16:13.149Z] ---> ee411cb0b381 [2023-01-10T04:16:13.149Z] Step 9/10 : COPY . . [2023-01-10T04:16:13.149Z] ---> df44ac6e3bc1 [2023-01-10T04:16:13.149Z] Step 10/10 : RUN ${MAKE} [2023-01-10T04:16:13.149Z] ---> Running in b4c652e2faab [2023-01-10T04:16:14.123Z] noop [2023-01-10T04:16:14.715Z] Removing intermediate container b4c652e2faab [2023-01-10T04:16:14.715Z] ---> c1c3111285c9 [2023-01-10T04:16:14.985Z] Successfully built c1c3111285c9 [2023-01-10T04:16:14.985Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T04:16:15.461Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T04:16:15.461Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T04:16:15.740Z] prd-ubuntu20.04-docker-arm64-4c-16g-1532 does not seem to be running inside a container [2023-01-10T04:16:15.814Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2023-01-10T04:16:17.061Z] $ docker top f3251cbe5768962ea47def8a9c7995a0e8eae897081aee6bb54783a8934104dd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T04:16:17.972Z] + go version [2023-01-10T04:16:17.972Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-10T04:16:18.009Z] $ docker stop --time=1 f3251cbe5768962ea47def8a9c7995a0e8eae897081aee6bb54783a8934104dd [2023-01-10T04:16:19.643Z] $ docker rm -f --volumes f3251cbe5768962ea47def8a9c7995a0e8eae897081aee6bb54783a8934104dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T04:16:20.528Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T04:16:20.528Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T04:16:20.795Z] prd-ubuntu20.04-docker-arm64-4c-16g-1532 does not seem to be running inside a container [2023-01-10T04:16:20.863Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2023-01-10T04:16:22.109Z] $ docker top 3e2f98d0fa0e9f057bc6ec2256c08d32383bf1bec7467f6b10e4bd4dddb42da7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T04:16:23.013Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-10T04:16:23.733Z] + make test [2023-01-10T04:16:23.733Z] go test -race -coverprofile=coverage.out ./... [2023-01-10T04:17:02.628Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-10T04:18:54.306Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-10T04:18:54.306Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-10T04:18:54.306Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-10T04:18:54.306Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-10T04:18:54.306Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-10T04:18:54.890Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.421s coverage: 27.6% of statements [2023-01-10T04:18:55.486Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.315s coverage: 78.9% of statements [2023-01-10T04:18:55.486Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-10T04:19:02.149Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.394s coverage: 73.1% of statements [2023-01-10T04:19:02.149Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-10T04:19:02.149Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-10T04:19:04.731Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.526s coverage: 54.4% of statements [2023-01-10T04:19:04.731Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-10T04:19:04.731Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-10T04:19:04.731Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-10T04:19:04.731Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-10T04:19:04.731Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.427s coverage: 65.1% of statements [2023-01-10T04:19:04.731Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-10T04:19:04.731Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-10T04:19:04.731Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.534s coverage: 89.2% of statements [2023-01-10T04:19:04.731Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-10T04:19:04.731Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.267s coverage: 4.6% of statements [2023-01-10T04:19:04.731Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-10T04:19:05.000Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-10T04:19:05.000Z] GO111MODULE=on go vet ./... [2023-01-10T04:20:41.687Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T04:20:41.687Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T04:20:41.687Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T04:20:41.730Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T04:20:41.755Z] $ docker stop --time=1 3e2f98d0fa0e9f057bc6ec2256c08d32383bf1bec7467f6b10e4bd4dddb42da7 [2023-01-10T04:20:43.508Z] $ docker rm -f --volumes 3e2f98d0fa0e9f057bc6ec2256c08d32383bf1bec7467f6b10e4bd4dddb42da7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T04:20:44.914Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T04:20:44.959Z] Warning: overwriting stash ‘coverage-report’ [2023-01-10T04:20:45.514Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T04:20:46.098Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T04:20:46.437Z] + ls -al . [2023-01-10T04:20:46.437Z] total 276 [2023-01-10T04:20:46.437Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 04:16 . [2023-01-10T04:20:46.437Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 04:04 .. [2023-01-10T04:20:46.437Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 04:05 .dockerignore [2023-01-10T04:20:46.437Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 04:05 .git [2023-01-10T04:20:46.437Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 04:05 .github [2023-01-10T04:20:46.437Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 10 04:05 .gitignore [2023-01-10T04:20:46.437Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 10 04:05 .golangci.yml [2023-01-10T04:20:46.437Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 10 04:05 CHANGELOG.md [2023-01-10T04:20:46.437Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 04:05 GOVERNANCE.md [2023-01-10T04:20:46.437Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 10 04:05 Jenkinsfile [2023-01-10T04:20:46.437Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 10 04:05 LICENSE [2023-01-10T04:20:46.437Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 10 04:05 Makefile [2023-01-10T04:20:46.437Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 10 04:05 OWNERS.md [2023-01-10T04:20:46.437Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 10 04:05 README.md [2023-01-10T04:20:46.437Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 04:03 VERSION [2023-01-10T04:20:46.437Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 04:05 bin [2023-01-10T04:20:46.437Z] -rw-r--r-- 1 jenkins jenkins 101911 Jan 10 04:19 coverage.out [2023-01-10T04:20:46.437Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 10 04:05 example [2023-01-10T04:20:46.437Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 10 04:05 go.mod [2023-01-10T04:20:46.437Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 10 04:05 go.sum [2023-01-10T04:20:46.437Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 10 04:05 internal [2023-01-10T04:20:46.437Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 04:05 openapi [2023-01-10T04:20:46.437Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 10 04:05 pkg [2023-01-10T04:20:46.437Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 04:05 snap [2023-01-10T04:20:46.437Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 10 04:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T04:20:46.862Z] + 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=844514027b3a7b36fd9ce691c823a8b7e198386d --label arch=arm64 --label version=0.0.0 . [2023-01-10T04:20:47.136Z] Sending build context to Docker daemon 5.7MB [2023-01-10T04:20:47.136Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T04:20:47.136Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-10T04:20:47.136Z] ---> c1c3111285c9 [2023-01-10T04:20:47.136Z] Step 3/23 : ARG MAKE=make build [2023-01-10T04:20:47.404Z] ---> Running in 1e8497ae336c [2023-01-10T04:20:47.672Z] Removing intermediate container 1e8497ae336c [2023-01-10T04:20:47.672Z] ---> 9060dde8d10c [2023-01-10T04:20:47.672Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-10T04:20:47.672Z] ---> Running in c2c0ed29fd7a [2023-01-10T04:20:47.939Z] Removing intermediate container c2c0ed29fd7a [2023-01-10T04:20:47.939Z] ---> 5113a6e9f195 [2023-01-10T04:20:47.939Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-10T04:20:48.205Z] ---> Running in 4976977a2096 [2023-01-10T04:20:48.473Z] Removing intermediate container 4976977a2096 [2023-01-10T04:20:48.473Z] ---> b4f939a5ec19 [2023-01-10T04:20:48.473Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-10T04:20:48.473Z] ---> Running in 04400cd1a5cd [2023-01-10T04:20:49.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T04:20:49.703Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T04:20:50.665Z] OK: 221 MiB in 51 packages [2023-01-10T04:20:51.631Z] Removing intermediate container 04400cd1a5cd [2023-01-10T04:20:51.631Z] ---> 3d34a87a24d0 [2023-01-10T04:20:51.631Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-10T04:20:51.906Z] ---> 8c82f0ce90c3 [2023-01-10T04:20:51.906Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T04:20:51.906Z] ---> Running in b9658d0cd5d8 [2023-01-10T04:20:53.853Z] Removing intermediate container b9658d0cd5d8 [2023-01-10T04:20:53.853Z] ---> 2c788dd9b504 [2023-01-10T04:20:53.853Z] Step 9/23 : COPY . . [2023-01-10T04:20:54.822Z] ---> 08e8d486e052 [2023-01-10T04:20:54.822Z] Step 10/23 : RUN ${MAKE} [2023-01-10T04:20:55.097Z] ---> Running in 5f1bfe654a57 [2023-01-10T04:20:56.064Z] 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-10T04:23:02.729Z] Removing intermediate container 5f1bfe654a57 [2023-01-10T04:23:02.729Z] ---> ecb7bd47a5fc [2023-01-10T04:23:02.729Z] Step 11/23 : FROM alpine:3.16 [2023-01-10T04:23:02.729Z] 3.16: Pulling from library/alpine [2023-01-10T04:23:02.729Z] 6875df1f5354: Pulling fs layer [2023-01-10T04:23:02.729Z] 6875df1f5354: Verifying Checksum [2023-01-10T04:23:02.729Z] 6875df1f5354: Download complete [2023-01-10T04:23:02.729Z] 6875df1f5354: Pull complete [2023-01-10T04:23:02.729Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T04:23:02.729Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T04:23:02.729Z] ---> 2b4661558fb8 [2023-01-10T04:23:02.729Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-10T04:23:02.729Z] ---> Running in 1d6fe883067d [2023-01-10T04:23:02.729Z] Removing intermediate container 1d6fe883067d [2023-01-10T04:23:02.730Z] ---> 9bb4618b0423 [2023-01-10T04:23:02.730Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-10T04:23:02.730Z] ---> Running in 86fdbae75e17 [2023-01-10T04:23:02.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T04:23:02.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T04:23:02.730Z] OK: 5 MiB in 14 packages [2023-01-10T04:23:02.730Z] Removing intermediate container 86fdbae75e17 [2023-01-10T04:23:02.730Z] ---> 701a7e2a300e [2023-01-10T04:23:02.730Z] Step 14/23 : WORKDIR / [2023-01-10T04:23:02.730Z] ---> Running in 24ba423fbc41 [2023-01-10T04:23:02.730Z] Removing intermediate container 24ba423fbc41 [2023-01-10T04:23:02.730Z] ---> 19753128c290 [2023-01-10T04:23:02.730Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-10T04:23:02.730Z] ---> 99ad7a114fbf [2023-01-10T04:23:02.730Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-10T04:23:02.730Z] ---> df9f4ecdbfa9 [2023-01-10T04:23:02.730Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-10T04:23:02.730Z] ---> 79e192fc614c [2023-01-10T04:23:02.730Z] Step 18/23 : EXPOSE 59999 [2023-01-10T04:23:02.730Z] ---> Running in 4e7c1e02bfd4 [2023-01-10T04:23:02.730Z] Removing intermediate container 4e7c1e02bfd4 [2023-01-10T04:23:02.730Z] ---> 69c5a85bc805 [2023-01-10T04:23:02.730Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-10T04:23:02.730Z] ---> Running in b27377299ec8 [2023-01-10T04:23:02.730Z] Removing intermediate container b27377299ec8 [2023-01-10T04:23:02.730Z] ---> 58d2c5d23dcc [2023-01-10T04:23:02.730Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-10T04:23:02.730Z] ---> Running in 7bef98e1bc11 [2023-01-10T04:23:02.730Z] Removing intermediate container 7bef98e1bc11 [2023-01-10T04:23:02.730Z] ---> 99e39f516c2f [2023-01-10T04:23:02.730Z] Step 21/23 : LABEL arch=arm64 [2023-01-10T04:23:02.730Z] ---> Running in 0de7b8ae952c [2023-01-10T04:23:02.730Z] Removing intermediate container 0de7b8ae952c [2023-01-10T04:23:02.730Z] ---> a552d343917a [2023-01-10T04:23:02.730Z] Step 22/23 : LABEL git_sha=844514027b3a7b36fd9ce691c823a8b7e198386d [2023-01-10T04:23:02.730Z] ---> Running in a48892c0ba59 [2023-01-10T04:23:02.730Z] Removing intermediate container a48892c0ba59 [2023-01-10T04:23:02.730Z] ---> e2d8c00d95c1 [2023-01-10T04:23:02.730Z] Step 23/23 : LABEL version=0.0.0 [2023-01-10T04:23:02.730Z] ---> Running in a669c1b5584d [2023-01-10T04:23:02.730Z] Removing intermediate container a669c1b5584d [2023-01-10T04:23:02.730Z] ---> 52e4f9e8e18f [2023-01-10T04:23:02.730Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T04:23:02.730Z] Successfully built 52e4f9e8e18f [2023-01-10T04:23:02.730Z] 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-10T04:23:03.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T04:23:03.574Z] [2023-01-10T04:23:03.574Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T04:23:04.000Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T04:23:04.001Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-10T04:23:04.001Z] 8998bd30e6a1: Pulling fs layer [2023-01-10T04:23:04.001Z] 04944245beec: Pulling fs layer [2023-01-10T04:23:04.001Z] 699f458cf7ca: Pulling fs layer [2023-01-10T04:23:04.001Z] 765212b225bb: Pulling fs layer [2023-01-10T04:23:04.001Z] f23df028b6ca: Pulling fs layer [2023-01-10T04:23:04.001Z] d65c8cfc05b1: Pulling fs layer [2023-01-10T04:23:04.001Z] 2437ff75d9bd: Pulling fs layer [2023-01-10T04:23:04.001Z] f23df028b6ca: Waiting [2023-01-10T04:23:04.001Z] d65c8cfc05b1: Waiting [2023-01-10T04:23:04.001Z] 2437ff75d9bd: Waiting [2023-01-10T04:23:04.001Z] 765212b225bb: Waiting [2023-01-10T04:23:04.288Z] 04944245beec: Verifying Checksum [2023-01-10T04:23:04.288Z] 04944245beec: Download complete [2023-01-10T04:23:04.288Z] 765212b225bb: Verifying Checksum [2023-01-10T04:23:04.288Z] 765212b225bb: Download complete [2023-01-10T04:23:04.288Z] f23df028b6ca: Download complete [2023-01-10T04:23:04.288Z] d65c8cfc05b1: Verifying Checksum [2023-01-10T04:23:04.288Z] d65c8cfc05b1: Download complete [2023-01-10T04:23:04.561Z] 699f458cf7ca: Verifying Checksum [2023-01-10T04:23:04.561Z] 699f458cf7ca: Download complete [2023-01-10T04:23:04.841Z] 8998bd30e6a1: Verifying Checksum [2023-01-10T04:23:04.841Z] 8998bd30e6a1: Download complete [2023-01-10T04:23:07.481Z] 2437ff75d9bd: Verifying Checksum [2023-01-10T04:23:07.481Z] 2437ff75d9bd: Download complete [2023-01-10T04:23:08.890Z] 8998bd30e6a1: Pull complete [2023-01-10T04:23:08.890Z] 04944245beec: Pull complete [2023-01-10T04:23:10.296Z] 699f458cf7ca: Pull complete [2023-01-10T04:23:10.296Z] 765212b225bb: Pull complete [2023-01-10T04:23:11.255Z] f23df028b6ca: Pull complete [2023-01-10T04:23:11.255Z] d65c8cfc05b1: Pull complete [2023-01-10T04:23:23.564Z] 2437ff75d9bd: Pull complete [2023-01-10T04:23:23.564Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-10T04:23:23.564Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T04:23:23.564Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T04:23:23.883Z] prd-ubuntu20.04-docker-arm64-4c-16g-1532 does not seem to be running inside a container [2023-01-10T04:23:23.941Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-10T04:23:26.523Z] $ docker top 4445f5dfa227cc9a3562fb9490fd9ae4c05b7f74b2b1f0820a65fa3bc6430f82 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T04:23:27.106Z] ---> job-cost.sh [2023-01-10T04:23:27.374Z] lf-activate-venv: SKIPPING [2023-01-10T04:23:27.374Z] INFO: No Stack... [2023-01-10T04:23:27.642Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-10T04:23:28.596Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T04:23:28.930Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-01-10T04:23:28.930Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T04:23:29.007Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1274-1-stack-cost] [2023-01-10T04:23:29.012Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1274-1-stack-cost] did not exist. Created. [2023-01-10T04:23:29.012Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1274-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T04:23:29.416Z] /w/workspace/device-sdk-go/1@tmp/durable-3017f15c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-10T04:23:29.772Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-10T04:23:29.808Z] Warning: overwriting stash ‘stack-cost’ [2023-01-10T04:23:29.871Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T04:23:29.887Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1274-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T04:23:29.963Z] $ docker stop --time=1 4445f5dfa227cc9a3562fb9490fd9ae4c05b7f74b2b1f0820a65fa3bc6430f82 [2023-01-10T04:23:31.398Z] $ docker rm -f --volumes 4445f5dfa227cc9a3562fb9490fd9ae4c05b7f74b2b1f0820a65fa3bc6430f82 [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-10T04:23:32.423Z] provisioning config files... [2023-01-10T04:23:32.430Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1274@tmp/config14628701965685462753tmp [Pipeline] { [Pipeline] sh [2023-01-10T04:23:32.760Z] + set +x [2023-01-10T04:23:32.760Z] + curl -s https://codecov.io/bash [2023-01-10T04:23:32.760Z] + bash -s -- [2023-01-10T04:23:32.760Z] [2023-01-10T04:23:32.760Z] _____ _ [2023-01-10T04:23:32.760Z] / ____| | | [2023-01-10T04:23:32.760Z] | | ___ __| | ___ ___ _____ __ [2023-01-10T04:23:32.760Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-10T04:23:32.760Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-10T04:23:32.760Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-10T04:23:32.760Z] Bash-1.0.6 [2023-01-10T04:23:32.760Z] [2023-01-10T04:23:32.760Z] [2023-01-10T04:23:32.760Z] ==> git version 2.25.1 found [2023-01-10T04:23:32.760Z] ==> 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-10T04:23:32.760Z] Release-Date: 2020-01-08 [2023-01-10T04:23:32.760Z] 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-10T04:23:32.760Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-10T04:23:32.760Z] ==> Jenkins CI detected. [2023-01-10T04:23:32.760Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1274 [2023-01-10T04:23:32.760Z] project root: . [2023-01-10T04:23:32.760Z] --> token set from env [2023-01-10T04:23:32.760Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-10T04:23:32.760Z] ==> Running gcov in . (disable via -X gcov) [2023-01-10T04:23:32.760Z] ==> Python coveragepy not found [2023-01-10T04:23:32.760Z] ==> Searching for coverage reports in: [2023-01-10T04:23:32.760Z] + . [2023-01-10T04:23:32.760Z] -> Found 1 reports [2023-01-10T04:23:32.760Z] ==> Detecting git/mercurial file structure [2023-01-10T04:23:32.760Z] ==> Reading reports [2023-01-10T04:23:32.760Z] + ./coverage.out bytes=101911 [2023-01-10T04:23:32.760Z] ==> Appending adjustments [2023-01-10T04:23:32.760Z] https://docs.codecov.io/docs/fixing-reports [2023-01-10T04:23:33.327Z] + Found adjustments [2023-01-10T04:23:33.327Z] ==> Gzipping contents [2023-01-10T04:23:33.327Z] 16K /tmp/codecov.31X2jm.gz [2023-01-10T04:23:33.327Z] ==> Uploading reports [2023-01-10T04:23:33.327Z] url: https://codecov.io [2023-01-10T04:23:33.327Z] query: branch=PR-1274&commit=844514027b3a7b36fd9ce691c823a8b7e198386d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1274%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1274&job=&cmd_args= [2023-01-10T04:23:33.327Z] -> Pinging Codecov [2023-01-10T04:23:33.327Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1274&commit=844514027b3a7b36fd9ce691c823a8b7e198386d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1274%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1274&job=&cmd_args= [2023-01-10T04:23:33.327Z] -> Uploading to [2023-01-10T04:23:33.327Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-10/7E55EF52A471D76F132DFD9A03CDDE97/844514027b3a7b36fd9ce691c823a8b7e198386d/2f8350c6-107e-4a88-8874-a73491872261.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T042333Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=59c0c7dc0000fb3ebc0ae0b2c0086e37e9e8b23a1c4caed5a38f6e3f2323ce9b [2023-01-10T04:23:33.327Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T04:23:33.327Z] Dload Upload Total Spent Left Speed [2023-01-10T04:23:33.896Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14795 0 0 100 14795 0 47117 --:--:-- --:--:-- --:--:-- 47117 [2023-01-10T04:23:33.896Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/844514027b3a7b36fd9ce691c823a8b7e198386d [Pipeline] } [2023-01-10T04:23:33.925Z] 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-10T04:23:35.715Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1274/archives ] [2023-01-10T04:23:35.715Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1274/archives [2023-01-10T04:23:35.715Z] total 16 [2023-01-10T04:23:35.715Z] drwxr-xr-x 3 root root 4096 Jan 10 04:05 . [2023-01-10T04:23:35.715Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 10 04:05 .. [2023-01-10T04:23:35.715Z] drwxr-xr-x 2 root root 4096 Jan 10 04:05 cost [2023-01-10T04:23:35.715Z] -rw-r--r-- 1 root root 86 Jan 10 04:05 cost.csv [2023-01-10T04:23:35.715Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1274/archives [2023-01-10T04:23:35.715Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1274/archives [2023-01-10T04:23:35.715Z] total 16 [2023-01-10T04:23:35.715Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 04:05 . [2023-01-10T04:23:35.715Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 10 04:05 .. [2023-01-10T04:23:35.715Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 04:05 cost [2023-01-10T04:23:35.715Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 10 04:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-10T04:23:36.043Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T04:23:36.935Z] ---> package-listing.sh [2023-01-10T04:23:36.935Z] ++ facter osfamily [2023-01-10T04:23:36.935Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-10T04:23:37.195Z] + OS_FAMILY=debian [2023-01-10T04:23:37.195Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1274 [2023-01-10T04:23:37.195Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-10T04:23:37.195Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-10T04:23:37.195Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-10T04:23:37.195Z] + PACKAGES=/tmp/packages_start.txt [2023-01-10T04:23:37.195Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1274 ']' [2023-01-10T04:23:37.195Z] + PACKAGES=/tmp/packages_end.txt [2023-01-10T04:23:37.195Z] + case "${OS_FAMILY}" in [2023-01-10T04:23:37.195Z] + dpkg -l [2023-01-10T04:23:37.195Z] + grep '^ii' [2023-01-10T04:23:37.195Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-10T04:23:37.195Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-10T04:23:37.195Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-10T04:23:37.195Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1274 ']' [2023-01-10T04:23:37.195Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1274/archives/ [2023-01-10T04:23:37.195Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1274/archives/ [Pipeline] echo [2023-01-10T04:23:37.231Z] 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-1274/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-10T04:23:37.523Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T04:23:38.161Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T04:23:38.161Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T04:23:38.314Z] prd-ubuntu20.04-docker-8c-8g-1528 does not seem to be running inside a container [2023-01-10T04:23:38.348Z] $ 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-1274/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-1274 -v /w/workspace/gexfoundry_device-sdk-go_PR-1274:/w/workspace/gexfoundry_device-sdk-go_PR-1274:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1274@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1274@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T04:23:38.602Z] $ docker top 43dd60d4bd4d57b4faf0ef8a5bbc15860ead5ae3bf9c5d8b80778c3bee8fd7f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T04:23:38.989Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-10T04:23:39.304Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-10T04:23:39.613Z] + ls /var/log/sa-host [2023-01-10T04:23:39.613Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T04:23:39.744Z] provisioning config files... [2023-01-10T04:23:39.751Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1274@tmp/config7429971288268745617tmp [Pipeline] { [Pipeline] echo [2023-01-10T04:23:39.801Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T04:23:40.116Z] ---> create-netrc.sh [Pipeline] } [2023-01-10T04:23:40.146Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-10T04:23:40.557Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-10T04:23:40.591Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T04:23:40.900Z] ---> sudo-logs.sh [2023-01-10T04:23:40.900Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-10T04:23:40.993Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T04:23:41.303Z] ---> job-cost.sh [2023-01-10T04:23:41.303Z] lf-activate-venv: SKIPPING [2023-01-10T04:23:41.303Z] DEBUG: total: 0.2199999988079071 [2023-01-10T04:23:41.303Z] INFO: Retrieving Stack Cost... [2023-01-10T04:23:42.241Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T04:23:42.499Z] INFO: Archiving Costs [Pipeline] echo [2023-01-10T04:23:42.534Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T04:23:42.843Z] ---> logs-deploy.sh [2023-01-10T04:23:42.843Z] lf-activate-venv: SKIPPING [2023-01-10T04:23:42.843Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1274/1 [2023-01-10T04:23:42.843Z] INFO: archiving workspace using pattern(s): [2023-01-10T04:23:43.780Z] Archives upload complete. [2023-01-10T04:23:43.780Z] INFO: archiving logs to Nexus