Pull request #1352 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 049e0176a4828cf762b97ebba49a1aab3d098e6a+5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 (48b8c09b793a0a338ef902c1908d2f3672d53633) 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-ssh8642010192319555755.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-ssh16299720346233382608.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-1352/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-1352/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2689136013917866442.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-1352/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3621915192992286718.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-ssh12963106907044710433.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-1352/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-1352/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6766861314208461893.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/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7691 in /w/workspace/gexfoundry_device-sdk-go_PR-1352 [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-1352 # 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/1352/head:refs/remotes/origin/PR-1352 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 into PR head commit 049e0176a4828cf762b97ebba49a1aab3d098e6a Merge succeeded, producing 049e0176a4828cf762b97ebba49a1aab3d098e6a Checking out Revision 049e0176a4828cf762b97ebba49a1aab3d098e6a (PR-1352) 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-02-28T04:59:55.249Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 049e0176a4828cf762b97ebba49a1aab3d098e6a # 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 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 049e0176a4828cf762b97ebba49a1aab3d098e6a # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-28T04:59:55.453Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-28T04:59:55.555Z] ========================================================= [2023-02-28T04:59:55.555Z] EdgeX Global Pipelines Version Info [2023-02-28T04:59:55.555Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-28T04:59:56.299Z] ------------------- [2023-02-28T04:59:56.299Z] stable info: [2023-02-28T04:59:56.299Z] ------------------- [2023-02-28T04:59:56.299Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-28T04:59:56.299Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-28T04:59:56.299Z] Message: update stable to v1.0.244 [2023-02-28T04:59:56.873Z] ------------------- [2023-02-28T04:59:56.873Z] experimental info: [2023-02-28T04:59:56.873Z] ------------------- [2023-02-28T04:59:56.873Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-28T04:59:56.873Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-28T04:59:56.873Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-28T04:59:57.123Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-28T04:59:57.166Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-28T04:59:57.203Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-28T04:59:57.241Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-28T04:59:57.282Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-28T04:59:57.321Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-28T04:59:57.361Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-28T04:59:57.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-28T04:59:57.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-28T04:59:57.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-28T04:59:57.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-28T04:59:57.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-28T04:59:57.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-28T04:59:57.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-28T04:59:57.688Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-28T04:59:57.727Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-28T04:59:57.767Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-28T04:59:57.811Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-28T04:59:57.850Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-28T04:59:57.888Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-28T04:59:57.930Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-28T04:59:57.971Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-28T04:59:58.008Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-28T04:59:58.049Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-28T04:59:58.088Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-28T04:59:58.131Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-28T04:59:58.172Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-28T04:59:58.212Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1352 [Pipeline] echo [2023-02-28T04:59:58.250Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1352 [Pipeline] echo [2023-02-28T04:59:58.287Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1352 [Pipeline] echo [2023-02-28T04:59:58.327Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 049e0176a4828cf762b97ebba49a1aab3d098e6a [Pipeline] echo [2023-02-28T04:59:58.371Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 049e017 [Pipeline] echo [2023-02-28T04:59:58.408Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T04:59:58.525Z] provisioning config files... [2023-02-28T04:59:58.541Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1352@tmp/config16396740200843107454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T04:59:58.891Z] ---> docker-login.sh [2023-02-28T04:59:58.891Z] nexus3.edgexfoundry.org:10001 [2023-02-28T04:59:59.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T04:59:59.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T04:59:59.150Z] Configure a credential helper to remove this warning. See [2023-02-28T04:59:59.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T04:59:59.150Z] [2023-02-28T04:59:59.150Z] Login Succeeded [2023-02-28T04:59:59.150Z] nexus3.edgexfoundry.org:10002 [2023-02-28T04:59:59.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T04:59:59.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T04:59:59.410Z] Configure a credential helper to remove this warning. See [2023-02-28T04:59:59.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T04:59:59.410Z] [2023-02-28T04:59:59.410Z] Login Succeeded [2023-02-28T04:59:59.410Z] nexus3.edgexfoundry.org:10003 [2023-02-28T04:59:59.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T04:59:59.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T04:59:59.410Z] Configure a credential helper to remove this warning. See [2023-02-28T04:59:59.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T04:59:59.410Z] [2023-02-28T04:59:59.410Z] Login Succeeded [2023-02-28T04:59:59.410Z] nexus3.edgexfoundry.org:10004 [2023-02-28T04:59:59.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T04:59:59.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T04:59:59.670Z] Configure a credential helper to remove this warning. See [2023-02-28T04:59:59.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T04:59:59.670Z] [2023-02-28T04:59:59.670Z] Login Succeeded [2023-02-28T04:59:59.670Z] docker.io [2023-02-28T04:59:59.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T04:59:59.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T04:59:59.930Z] Configure a credential helper to remove this warning. See [2023-02-28T04:59:59.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T04:59:59.930Z] [2023-02-28T04:59:59.930Z] Login Succeeded [2023-02-28T04:59:59.930Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T04:59:59.960Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-28T05:00:00.611Z] + git rev-list -1 --merges 049e0176a4828cf762b97ebba49a1aab3d098e6a~1..049e0176a4828cf762b97ebba49a1aab3d098e6a [Pipeline] echo [2023-02-28T05:00:00.676Z] -----------> git rev-list -1 --merges 049e0176a4828cf762b97ebba49a1aab3d098e6a~1..049e0176a4828cf762b97ebba49a1aab3d098e6a 049e0176a4828cf762b97ebba49a1aab3d098e6a [false] [Pipeline] sh [2023-02-28T05:00:00.988Z] + git log --format=format:%s -1 049e0176a4828cf762b97ebba49a1aab3d098e6a [Pipeline] echo [2023-02-28T05:00:01.027Z] ========================================================= [2023-02-28T05:00:01.027Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-28T05:00:01.027Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T05:00:01.474Z] + git log --format=format:%s -1 049e0176a4828cf762b97ebba49a1aab3d098e6a [Pipeline] echo [2023-02-28T05:00:01.508Z] [semverPrep] GIT_COMMIT: 049e0176a4828cf762b97ebba49a1aab3d098e6a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-02-28T05:00:01.540Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-28T05:00:01.914Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-28T05:00:01.914Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-28T05:00:01.914Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-28T05:00:01.914Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-28T05:00:01.914Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-28T05:00:01.914Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-28T05:00:01.914Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:00:02.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T05:00:02.332Z] [2023-02-28T05:00:02.332Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:00:02.710Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T05:00:02.710Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-28T05:00:02.710Z] b85a868b505f: Pulling fs layer [2023-02-28T05:00:02.710Z] e2be974225ed: Pulling fs layer [2023-02-28T05:00:02.710Z] 339a4e72a1f5: Pulling fs layer [2023-02-28T05:00:02.710Z] 988bab9f4d93: Pulling fs layer [2023-02-28T05:00:02.710Z] 1469e6f7b9e6: Pulling fs layer [2023-02-28T05:00:02.710Z] eaf3925da568: Pulling fs layer [2023-02-28T05:00:02.710Z] bab4dde63d76: Pulling fs layer [2023-02-28T05:00:02.710Z] 988bab9f4d93: Waiting [2023-02-28T05:00:02.710Z] 1469e6f7b9e6: Waiting [2023-02-28T05:00:02.710Z] eaf3925da568: Waiting [2023-02-28T05:00:02.710Z] bde34c3a00c8: Pulling fs layer [2023-02-28T05:00:02.710Z] b352a97aabf1: Pulling fs layer [2023-02-28T05:00:02.710Z] 4872d77fe225: Pulling fs layer [2023-02-28T05:00:02.710Z] 5851b861e8e6: Pulling fs layer [2023-02-28T05:00:02.710Z] bab4dde63d76: Waiting [2023-02-28T05:00:02.710Z] bde34c3a00c8: Waiting [2023-02-28T05:00:02.710Z] b352a97aabf1: Waiting [2023-02-28T05:00:02.710Z] 4872d77fe225: Waiting [2023-02-28T05:00:02.710Z] e2be974225ed: Download complete [2023-02-28T05:00:02.710Z] 988bab9f4d93: Verifying Checksum [2023-02-28T05:00:02.710Z] 988bab9f4d93: Download complete [2023-02-28T05:00:02.973Z] 1469e6f7b9e6: Verifying Checksum [2023-02-28T05:00:02.973Z] 1469e6f7b9e6: Download complete [2023-02-28T05:00:02.973Z] 339a4e72a1f5: Verifying Checksum [2023-02-28T05:00:02.973Z] 339a4e72a1f5: Download complete [2023-02-28T05:00:02.973Z] eaf3925da568: Verifying Checksum [2023-02-28T05:00:02.973Z] eaf3925da568: Download complete [2023-02-28T05:00:02.973Z] bde34c3a00c8: Verifying Checksum [2023-02-28T05:00:02.973Z] bde34c3a00c8: Download complete [2023-02-28T05:00:02.973Z] b352a97aabf1: Verifying Checksum [2023-02-28T05:00:02.973Z] b352a97aabf1: Download complete [2023-02-28T05:00:02.973Z] 4872d77fe225: Verifying Checksum [2023-02-28T05:00:03.233Z] 5851b861e8e6: Verifying Checksum [2023-02-28T05:00:03.233Z] 5851b861e8e6: Download complete [2023-02-28T05:00:03.233Z] b85a868b505f: Verifying Checksum [2023-02-28T05:00:03.233Z] b85a868b505f: Download complete [2023-02-28T05:00:03.492Z] bab4dde63d76: Verifying Checksum [2023-02-28T05:00:03.492Z] bab4dde63d76: Download complete [2023-02-28T05:00:04.428Z] b85a868b505f: Pull complete [2023-02-28T05:00:04.428Z] e2be974225ed: Pull complete [2023-02-28T05:00:04.996Z] 339a4e72a1f5: Pull complete [2023-02-28T05:00:04.996Z] 988bab9f4d93: Pull complete [2023-02-28T05:00:05.566Z] 1469e6f7b9e6: Pull complete [2023-02-28T05:00:05.566Z] eaf3925da568: Pull complete [2023-02-28T05:00:07.469Z] bab4dde63d76: Pull complete [2023-02-28T05:00:07.469Z] bde34c3a00c8: Pull complete [2023-02-28T05:00:07.729Z] b352a97aabf1: Pull complete [2023-02-28T05:00:07.729Z] 4872d77fe225: Pull complete [2023-02-28T05:00:07.729Z] 5851b861e8e6: Pull complete [2023-02-28T05:00:07.729Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-28T05:00:07.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T05:00:07.729Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T05:00:07.953Z] prd-ubuntu20.04-docker-8c-8g-7691 does not seem to be running inside a container [2023-02-28T05:00:07.980Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1352 -v /w/workspace/gexfoundry_device-sdk-go_PR-1352:/w/workspace/gexfoundry_device-sdk-go_PR-1352:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1352@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1352@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-02-28T05:00:09.522Z] $ docker top fe6f914b8d573dabe12411ff5f8baa59914cc15316056dd43b332f5e50311f95 -eo pid,comm [2023-02-28T05:00:09.593Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-28T05:00:09.593Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-28T05:00:09.714Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-28T05:00:09.714Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-28T05:00:09.855Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-28T05:00:09.851Z] $ docker exec fe6f914b8d573dabe12411ff5f8baa59914cc15316056dd43b332f5e50311f95 ssh-agent [2023-02-28T05:00:09.978Z] SSH_AUTH_SOCK=/tmp/ssh-FHFInGA8natP/agent.32 [2023-02-28T05:00:09.978Z] SSH_AGENT_PID=38 [2023-02-28T05:00:09.985Z] Running ssh-add (command line suppressed) [2023-02-28T05:00:10.089Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1352@tmp/private_key_3468536975984775583.key (/w/workspace/gexfoundry_device-sdk-go_PR-1352@tmp/private_key_3468536975984775583.key) [2023-02-28T05:00:10.113Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-28T05:00:10.445Z] + git tag --points-at HEAD [Pipeline] } [2023-02-28T05:00:10.465Z] $ docker exec --env ******** --env ******** fe6f914b8d573dabe12411ff5f8baa59914cc15316056dd43b332f5e50311f95 ssh-agent -k [2023-02-28T05:00:10.560Z] unset SSH_AUTH_SOCK; [2023-02-28T05:00:10.561Z] unset SSH_AGENT_PID; [2023-02-28T05:00:10.561Z] echo Agent pid 38 killed; [2023-02-28T05:00:10.579Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-28T05:00:10.658Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-28T05:00:10.658Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-28T05:00:10.771Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-28T05:00:10.767Z] $ docker exec fe6f914b8d573dabe12411ff5f8baa59914cc15316056dd43b332f5e50311f95 ssh-agent [2023-02-28T05:00:10.888Z] SSH_AUTH_SOCK=/tmp/ssh-upPGrWWivHLi/agent.69 [2023-02-28T05:00:10.889Z] SSH_AGENT_PID=75 [2023-02-28T05:00:10.894Z] Running ssh-add (command line suppressed) [2023-02-28T05:00:11.008Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1352@tmp/private_key_14080533958781579733.key (/w/workspace/gexfoundry_device-sdk-go_PR-1352@tmp/private_key_14080533958781579733.key) [2023-02-28T05:00:11.029Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-28T05:00:11.352Z] + git semver init [2023-02-28T05:00:11.616Z] 2023-02-28 05:00:11,588 [run_init] DEBUG init version:0.0.0 force:False [2023-02-28T05:00:11.616Z] 2023-02-28 05:00:11,589 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1352/.semver [2023-02-28T05:00:11.616Z] 2023-02-28 05:00:11,590 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1352/.semver [2023-02-28T05:00:11.616Z] 2023-02-28 05:00:11,590 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1352/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1352, universal_newlines=False, shell=None, istream=None) [2023-02-28T05:00:12.998Z] 2023-02-28 05:00:12,584 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1352/.git/info/exclude [2023-02-28T05:00:12.998Z] 2023-02-28 05:00:12,585 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1352/.semver/PR-1352 with force:False [2023-02-28T05:00:12.998Z] 2023-02-28 05:00:12,585 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1352/.semver/PR-1352 [2023-02-28T05:00:12.998Z] 2023-02-28 05:00:12,590 [execute] INFO git cat-file --batch-check [2023-02-28T05:00:12.998Z] 2023-02-28 05:00:12,590 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1352/.semver, universal_newlines=False, shell=None, istream=) [2023-02-28T05:00:12.998Z] 2023-02-28 05:00:12,598 [execute] INFO git cat-file --batch [2023-02-28T05:00:12.998Z] 2023-02-28 05:00:12,598 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1352/.semver, universal_newlines=False, shell=None, istream=) [2023-02-28T05:00:12.998Z] 2023-02-28 05:00:12,604 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1352/.semver/PR-1352 [2023-02-28T05:00:12.998Z] 0.0.0 [Pipeline] } [2023-02-28T05:00:13.025Z] $ docker exec --env ******** --env ******** fe6f914b8d573dabe12411ff5f8baa59914cc15316056dd43b332f5e50311f95 ssh-agent -k [2023-02-28T05:00:13.149Z] unset SSH_AUTH_SOCK; [2023-02-28T05:00:13.150Z] unset SSH_AGENT_PID; [2023-02-28T05:00:13.150Z] echo Agent pid 75 killed; [2023-02-28T05:00:13.168Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-28T05:00:13.601Z] + git semver [Pipeline] } [2023-02-28T05:00:13.879Z] $ docker stop --time=1 fe6f914b8d573dabe12411ff5f8baa59914cc15316056dd43b332f5e50311f95 [2023-02-28T05:00:15.276Z] $ docker rm -f --volumes fe6f914b8d573dabe12411ff5f8baa59914cc15316056dd43b332f5e50311f95 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T05:00:15.683Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-28T05:00:15.949Z] Stashed 1 file(s) [Pipeline] echo [2023-02-28T05:00:15.969Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T05:00:16.571Z] provisioning config files... [2023-02-28T05:00:16.582Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1352@tmp/config16235483615083700765tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T05:00:16.930Z] ---> docker-login.sh [2023-02-28T05:00:16.930Z] nexus3.edgexfoundry.org:10001 [2023-02-28T05:00:16.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T05:00:16.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T05:00:16.930Z] Configure a credential helper to remove this warning. See [2023-02-28T05:00:16.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T05:00:16.930Z] [2023-02-28T05:00:16.930Z] Login Succeeded [2023-02-28T05:00:16.930Z] nexus3.edgexfoundry.org:10002 [2023-02-28T05:00:16.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T05:00:16.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T05:00:16.930Z] Configure a credential helper to remove this warning. See [2023-02-28T05:00:16.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T05:00:16.931Z] [2023-02-28T05:00:16.931Z] Login Succeeded [2023-02-28T05:00:16.931Z] nexus3.edgexfoundry.org:10003 [2023-02-28T05:00:17.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T05:00:17.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T05:00:17.190Z] Configure a credential helper to remove this warning. See [2023-02-28T05:00:17.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T05:00:17.190Z] [2023-02-28T05:00:17.190Z] Login Succeeded [2023-02-28T05:00:17.190Z] nexus3.edgexfoundry.org:10004 [2023-02-28T05:00:17.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T05:00:17.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T05:00:17.190Z] Configure a credential helper to remove this warning. See [2023-02-28T05:00:17.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T05:00:17.190Z] [2023-02-28T05:00:17.190Z] Login Succeeded [2023-02-28T05:00:17.190Z] docker.io [2023-02-28T05:00:17.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T05:00:17.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T05:00:17.710Z] Configure a credential helper to remove this warning. See [2023-02-28T05:00:17.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T05:00:17.710Z] [2023-02-28T05:00:17.710Z] Login Succeeded [2023-02-28T05:00:17.710Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T05:00:17.738Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-28T05:00:17.921Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T05:00:17.957Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T05:00:17.988Z] ========================================================= [2023-02-28T05:00:17.988Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-28T05:00:17.988Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:00:18.450Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-28T05:00:18.450Z] Sending build context to Docker daemon 10.57MB [2023-02-28T05:00:18.450Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T05:00:18.450Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-28T05:00:18.450Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-28T05:00:18.450Z] 213ec9aee27d: Pulling fs layer [2023-02-28T05:00:18.450Z] 4583459ba037: Pulling fs layer [2023-02-28T05:00:18.450Z] 93c1e223e6f2: Pulling fs layer [2023-02-28T05:00:18.450Z] 53926ce57604: Pulling fs layer [2023-02-28T05:00:18.450Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-28T05:00:18.450Z] 22ff95d597cd: Pulling fs layer [2023-02-28T05:00:18.450Z] 12d6caf4c0d1: Pulling fs layer [2023-02-28T05:00:18.450Z] 96b7cbca73a9: Pulling fs layer [2023-02-28T05:00:18.450Z] a7acece74701: Pulling fs layer [2023-02-28T05:00:18.450Z] 22ff95d597cd: Waiting [2023-02-28T05:00:18.450Z] 12d6caf4c0d1: Waiting [2023-02-28T05:00:18.450Z] 53926ce57604: Waiting [2023-02-28T05:00:18.450Z] 96b7cbca73a9: Waiting [2023-02-28T05:00:18.450Z] 21b2b0c7a3f4: Waiting [2023-02-28T05:00:18.450Z] 93c1e223e6f2: Verifying Checksum [2023-02-28T05:00:18.450Z] 93c1e223e6f2: Download complete [2023-02-28T05:00:18.717Z] 4583459ba037: Verifying Checksum [2023-02-28T05:00:18.717Z] 4583459ba037: Download complete [2023-02-28T05:00:18.717Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-28T05:00:18.717Z] 21b2b0c7a3f4: Download complete [2023-02-28T05:00:18.717Z] 22ff95d597cd: Verifying Checksum [2023-02-28T05:00:18.717Z] 22ff95d597cd: Download complete [2023-02-28T05:00:18.717Z] 213ec9aee27d: Download complete [2023-02-28T05:00:18.717Z] 12d6caf4c0d1: Verifying Checksum [2023-02-28T05:00:18.981Z] 213ec9aee27d: Pull complete [2023-02-28T05:00:18.981Z] 4583459ba037: Pull complete [2023-02-28T05:00:19.243Z] 93c1e223e6f2: Pull complete [2023-02-28T05:00:19.503Z] 96b7cbca73a9: Verifying Checksum [2023-02-28T05:00:19.503Z] 96b7cbca73a9: Download complete [2023-02-28T05:00:19.503Z] 53926ce57604: Verifying Checksum [2023-02-28T05:00:19.503Z] 53926ce57604: Download complete [2023-02-28T05:00:19.761Z] a7acece74701: Verifying Checksum [2023-02-28T05:00:19.761Z] a7acece74701: Download complete [2023-02-28T05:00:23.943Z] 53926ce57604: Pull complete [2023-02-28T05:00:23.943Z] 21b2b0c7a3f4: Pull complete [2023-02-28T05:00:23.943Z] 22ff95d597cd: Pull complete [2023-02-28T05:00:23.943Z] 12d6caf4c0d1: Pull complete [2023-02-28T05:00:25.841Z] 96b7cbca73a9: Pull complete [2023-02-28T05:00:26.781Z] a7acece74701: Pull complete [2023-02-28T05:00:26.781Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-28T05:00:26.781Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-28T05:00:26.781Z] ---> db6d94c90886 [2023-02-28T05:00:26.781Z] Step 3/10 : ARG MAKE=make build [2023-02-28T05:00:28.733Z] ---> Running in 3466c1f8e4bb [2023-02-28T05:00:28.733Z] Removing intermediate container 3466c1f8e4bb [2023-02-28T05:00:28.733Z] ---> d27d7ffb3a56 [2023-02-28T05:00:28.733Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-28T05:00:29.001Z] ---> Running in cee760fe1f6b [2023-02-28T05:00:29.001Z] Removing intermediate container cee760fe1f6b [2023-02-28T05:00:29.001Z] ---> 5274507477cc [2023-02-28T05:00:29.001Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-28T05:00:29.001Z] ---> Running in 2d35965094e1 [2023-02-28T05:00:29.263Z] Removing intermediate container 2d35965094e1 [2023-02-28T05:00:29.263Z] ---> 0e1f07755e58 [2023-02-28T05:00:29.263Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-28T05:00:29.263Z] ---> Running in 49250fbcbaf2 [2023-02-28T05:00:29.522Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-28T05:00:29.780Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-28T05:00:30.039Z] OK: 211 MiB in 51 packages [2023-02-28T05:00:30.298Z] Removing intermediate container 49250fbcbaf2 [2023-02-28T05:00:30.298Z] ---> a25953eadf3c [2023-02-28T05:00:30.298Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-28T05:00:30.557Z] ---> 2a2801da3d16 [2023-02-28T05:00:30.557Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T05:00:30.557Z] ---> Running in 507bbf617d9b [2023-02-28T05:00:31.386Z] Still waiting to schedule task [2023-02-28T05:00:31.386Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7693’ is offline [2023-02-28T05:00:52.516Z] Removing intermediate container 507bbf617d9b [2023-02-28T05:00:52.516Z] ---> 5e0e23b1bc0b [2023-02-28T05:00:52.516Z] Step 9/10 : COPY . . [2023-02-28T05:00:52.516Z] ---> e2206a203aeb [2023-02-28T05:00:52.516Z] Step 10/10 : RUN ${MAKE} [2023-02-28T05:00:52.516Z] ---> Running in dcef688fbdfd [2023-02-28T05:00:52.516Z] noop [2023-02-28T05:00:52.516Z] Removing intermediate container dcef688fbdfd [2023-02-28T05:00:52.516Z] ---> 0e462563ef59 [2023-02-28T05:00:52.516Z] Successfully built 0e462563ef59 [2023-02-28T05:00:52.516Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:00:52.959Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-28T05:00:52.959Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T05:00:53.118Z] prd-ubuntu20.04-docker-8c-8g-7691 does not seem to be running inside a container [2023-02-28T05:00:53.145Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1352 -v /w/workspace/gexfoundry_device-sdk-go_PR-1352:/w/workspace/gexfoundry_device-sdk-go_PR-1352:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1352@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1352@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-02-28T05:00:53.545Z] $ docker top e9bcd805ce0cba0173c636d778f824798b36ee67ae4f0547bbfe4e10c3041847 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T05:00:53.946Z] + go version [2023-02-28T05:00:53.946Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-28T05:00:53.975Z] $ docker stop --time=1 e9bcd805ce0cba0173c636d778f824798b36ee67ae4f0547bbfe4e10c3041847 [2023-02-28T05:00:55.286Z] $ docker rm -f --volumes e9bcd805ce0cba0173c636d778f824798b36ee67ae4f0547bbfe4e10c3041847 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:00:55.973Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-28T05:00:55.973Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T05:00:56.124Z] prd-ubuntu20.04-docker-8c-8g-7691 does not seem to be running inside a container [2023-02-28T05:00:56.169Z] $ 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-1352 -v /w/workspace/gexfoundry_device-sdk-go_PR-1352:/w/workspace/gexfoundry_device-sdk-go_PR-1352:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1352@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1352@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-02-28T05:00:56.644Z] $ docker top 2799c50c6f4c16930da2bce5b9a419b0f5320a72f01e66634a645c922e3bba00 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T05:00:57.043Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1352 [Pipeline] fileExists [Pipeline] sh [2023-02-28T05:00:57.396Z] + make test [2023-02-28T05:00:57.396Z] go test -race -coverprofile=coverage.out ./... [2023-02-28T05:01:03.951Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-28T05:01:18.838Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-28T05:01:18.838Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-28T05:01:18.838Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-28T05:01:18.838Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-28T05:01:18.838Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-28T05:01:18.838Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.067s coverage: 27.6% of statements [2023-02-28T05:01:18.838Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 78.9% of statements [2023-02-28T05:01:18.838Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-28T05:01:18.838Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.106s coverage: 86.0% of statements [2023-02-28T05:01:18.838Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-28T05:01:18.838Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-28T05:01:18.838Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.098s coverage: 74.7% of statements [2023-02-28T05:01:18.838Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-28T05:01:20.750Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.080s coverage: 15.5% of statements [2023-02-28T05:01:20.750Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-28T05:01:20.750Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.107s coverage: 65.2% of statements [2023-02-28T05:01:20.750Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-28T05:01:20.750Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-28T05:01:20.750Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.746s coverage: 89.2% of statements [2023-02-28T05:01:20.750Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-28T05:01:20.750Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.079s coverage: 4.6% of statements [2023-02-28T05:01:20.750Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-28T05:01:38.874Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-28T05:01:38.874Z] GO111MODULE=on go vet ./... [2023-02-28T05:01:40.360Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-28T05:01:40.360Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-28T05:01:40.360Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-28T05:01:40.399Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-28T05:01:40.429Z] $ docker stop --time=1 2799c50c6f4c16930da2bce5b9a419b0f5320a72f01e66634a645c922e3bba00 [2023-02-28T05:01:42.622Z] $ docker rm -f --volumes 2799c50c6f4c16930da2bce5b9a419b0f5320a72f01e66634a645c922e3bba00 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T05:01:43.192Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-28T05:01:43.277Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-28T05:01:43.872Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-28T05:01:44.194Z] + ls -al . [2023-02-28T05:01:44.194Z] total 280 [2023-02-28T05:01:44.194Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 28 05:00 . [2023-02-28T05:01:44.194Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 04:59 .. [2023-02-28T05:01:44.194Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 28 04:59 .dockerignore [2023-02-28T05:01:44.194Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 28 05:01 .git [2023-02-28T05:01:44.194Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 04:59 .github [2023-02-28T05:01:44.194Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 28 04:59 .gitignore [2023-02-28T05:01:44.194Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 28 04:59 .golangci.yml [2023-02-28T05:01:44.194Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 05:00 .semver [2023-02-28T05:01:44.194Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 28 04:59 CHANGELOG.md [2023-02-28T05:01:44.194Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 28 04:59 GOVERNANCE.md [2023-02-28T05:01:44.194Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 28 04:59 Jenkinsfile [2023-02-28T05:01:44.194Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 28 04:59 LICENSE [2023-02-28T05:01:44.194Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 28 04:59 Makefile [2023-02-28T05:01:44.194Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 28 04:59 OWNERS.md [2023-02-28T05:01:44.194Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 28 04:59 README.md [2023-02-28T05:01:44.194Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 28 05:00 VERSION [2023-02-28T05:01:44.194Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 04:59 bin [2023-02-28T05:01:44.194Z] -rw-r--r-- 1 jenkins jenkins 111045 Feb 28 05:01 coverage.out [2023-02-28T05:01:44.194Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 28 04:59 example [2023-02-28T05:01:44.194Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 28 04:59 go.mod [2023-02-28T05:01:44.194Z] -rw-rw-r-- 1 jenkins jenkins 30840 Feb 28 04:59 go.sum [2023-02-28T05:01:44.194Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 28 04:59 internal [2023-02-28T05:01:44.194Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 04:59 openapi [2023-02-28T05:01:44.194Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 28 04:59 pkg [2023-02-28T05:01:44.194Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 04:59 snap [2023-02-28T05:01:44.194Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 28 04:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:01:44.578Z] + 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=049e0176a4828cf762b97ebba49a1aab3d098e6a --label arch=amd64 --label version=0.0.0 . [2023-02-28T05:01:44.578Z] Sending build context to Docker daemon 10.69MB [2023-02-28T05:01:44.578Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T05:01:44.578Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-28T05:01:44.578Z] ---> 0e462563ef59 [2023-02-28T05:01:44.578Z] Step 3/23 : ARG MAKE=make build [2023-02-28T05:01:44.837Z] ---> Running in 69f5147c1a81 [2023-02-28T05:01:44.837Z] Removing intermediate container 69f5147c1a81 [2023-02-28T05:01:44.837Z] ---> 3f9b6543ea33 [2023-02-28T05:01:44.837Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-28T05:01:44.837Z] ---> Running in 0ebad5a7f51c [2023-02-28T05:01:44.837Z] Removing intermediate container 0ebad5a7f51c [2023-02-28T05:01:44.837Z] ---> 92034256d7f0 [2023-02-28T05:01:44.837Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-28T05:01:44.837Z] ---> Running in 762493432cb8 [2023-02-28T05:01:45.096Z] Removing intermediate container 762493432cb8 [2023-02-28T05:01:45.096Z] ---> cc14251a8f9a [2023-02-28T05:01:45.096Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-28T05:01:45.096Z] ---> Running in 231b06c6a6a0 [2023-02-28T05:01:45.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-28T05:01:45.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-28T05:01:45.614Z] OK: 211 MiB in 51 packages [2023-02-28T05:01:45.873Z] Removing intermediate container 231b06c6a6a0 [2023-02-28T05:01:45.873Z] ---> 62d5db23d89d [2023-02-28T05:01:45.873Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-28T05:01:46.132Z] ---> 96f70f51c7aa [2023-02-28T05:01:46.132Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T05:01:46.132Z] ---> Running in af0b4ca87229 [2023-02-28T05:01:47.070Z] Removing intermediate container af0b4ca87229 [2023-02-28T05:01:47.070Z] ---> 155a2eb0d25b [2023-02-28T05:01:47.070Z] Step 9/23 : COPY . . [2023-02-28T05:01:47.329Z] ---> e1ff267d6b03 [2023-02-28T05:01:47.329Z] Step 10/23 : RUN ${MAKE} [2023-02-28T05:01:47.329Z] ---> Running in 5e6cc8e05728 [2023-02-28T05:01:47.897Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-28T05:02:09.822Z] Removing intermediate container 5e6cc8e05728 [2023-02-28T05:02:09.822Z] ---> ce0e3d4e2e7f [2023-02-28T05:02:09.822Z] Step 11/23 : FROM alpine:3.16 [2023-02-28T05:02:09.822Z] 3.16: Pulling from library/alpine [2023-02-28T05:02:09.822Z] ef5531b6e74e: Pulling fs layer [2023-02-28T05:02:09.822Z] ef5531b6e74e: Verifying Checksum [2023-02-28T05:02:09.822Z] ef5531b6e74e: Download complete [2023-02-28T05:02:09.822Z] ef5531b6e74e: Pull complete [2023-02-28T05:02:09.822Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-28T05:02:09.822Z] Status: Downloaded newer image for alpine:3.16 [2023-02-28T05:02:09.822Z] ---> dfd21b5a31f5 [2023-02-28T05:02:09.822Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-28T05:02:09.822Z] ---> Running in 6dd42715a3ae [2023-02-28T05:02:09.822Z] Removing intermediate container 6dd42715a3ae [2023-02-28T05:02:09.822Z] ---> fde0f7f00d7e [2023-02-28T05:02:09.822Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-28T05:02:09.822Z] ---> Running in bc4bb28c2f99 [2023-02-28T05:02:09.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-28T05:02:09.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-28T05:02:09.822Z] OK: 6 MiB in 14 packages [2023-02-28T05:02:09.822Z] Removing intermediate container bc4bb28c2f99 [2023-02-28T05:02:09.822Z] ---> e44c7f4aadf4 [2023-02-28T05:02:09.822Z] Step 14/23 : WORKDIR / [2023-02-28T05:02:09.822Z] ---> Running in b60107fd481b [2023-02-28T05:02:09.822Z] Removing intermediate container b60107fd481b [2023-02-28T05:02:09.822Z] ---> 92a45b0e2093 [2023-02-28T05:02:09.822Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-28T05:02:09.822Z] ---> 2789277679b4 [2023-02-28T05:02:09.822Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-28T05:02:09.822Z] ---> 22898c7ab3ac [2023-02-28T05:02:09.822Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-28T05:02:09.822Z] ---> b0c501135b47 [2023-02-28T05:02:09.822Z] Step 18/23 : EXPOSE 59999 [2023-02-28T05:02:09.822Z] ---> Running in 63ab4b73ca91 [2023-02-28T05:02:09.822Z] Removing intermediate container 63ab4b73ca91 [2023-02-28T05:02:09.822Z] ---> e5024b7882d8 [2023-02-28T05:02:09.822Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-28T05:02:09.822Z] ---> Running in 5d9eec6d4797 [2023-02-28T05:02:09.822Z] Removing intermediate container 5d9eec6d4797 [2023-02-28T05:02:09.822Z] ---> e5e6a49a923f [2023-02-28T05:02:09.822Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-28T05:02:09.822Z] ---> Running in 48fb7cfbdb0f [2023-02-28T05:02:09.822Z] Removing intermediate container 48fb7cfbdb0f [2023-02-28T05:02:09.822Z] ---> bcec7ee25901 [2023-02-28T05:02:09.822Z] Step 21/23 : LABEL arch=amd64 [2023-02-28T05:02:09.822Z] ---> Running in fa67ca3d4ad3 [2023-02-28T05:02:10.081Z] Removing intermediate container fa67ca3d4ad3 [2023-02-28T05:02:10.081Z] ---> ce7487eea447 [2023-02-28T05:02:10.081Z] Step 22/23 : LABEL git_sha=049e0176a4828cf762b97ebba49a1aab3d098e6a [2023-02-28T05:02:10.081Z] ---> Running in 45639de69d9d [2023-02-28T05:02:10.081Z] Removing intermediate container 45639de69d9d [2023-02-28T05:02:10.081Z] ---> 8921f07dc43a [2023-02-28T05:02:10.081Z] Step 23/23 : LABEL version=0.0.0 [2023-02-28T05:02:10.081Z] ---> Running in f1f69e345b6c [2023-02-28T05:02:10.081Z] Removing intermediate container f1f69e345b6c [2023-02-28T05:02:10.081Z] ---> dd6f8312421d [2023-02-28T05:02:10.081Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-28T05:02:10.340Z] Successfully built dd6f8312421d [2023-02-28T05:02:10.340Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:02:11.188Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T05:02:11.188Z] [2023-02-28T05:02:11.188Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:02:11.568Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T05:02:11.568Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-28T05:02:11.568Z] 5eb5b503b376: Pulling fs layer [2023-02-28T05:02:11.568Z] 5c69ac0246d0: Pulling fs layer [2023-02-28T05:02:11.568Z] ec43610c2a17: Pulling fs layer [2023-02-28T05:02:11.568Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-28T05:02:11.568Z] 33b1e0a273af: Pulling fs layer [2023-02-28T05:02:11.568Z] 5d3b04190fa2: Pulling fs layer [2023-02-28T05:02:11.568Z] 2f39f015ded8: Pulling fs layer [2023-02-28T05:02:11.568Z] 33b1e0a273af: Waiting [2023-02-28T05:02:11.568Z] 2f39f015ded8: Waiting [2023-02-28T05:02:11.568Z] 5d3b04190fa2: Waiting [2023-02-28T05:02:11.568Z] 5c69ac0246d0: Download complete [2023-02-28T05:02:11.568Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-28T05:02:11.568Z] 3a2ae6a8a46f: Download complete [2023-02-28T05:02:11.568Z] 33b1e0a273af: Verifying Checksum [2023-02-28T05:02:11.568Z] 33b1e0a273af: Download complete [2023-02-28T05:02:11.831Z] ec43610c2a17: Verifying Checksum [2023-02-28T05:02:11.831Z] ec43610c2a17: Download complete [2023-02-28T05:02:11.831Z] 5d3b04190fa2: Verifying Checksum [2023-02-28T05:02:11.831Z] 5d3b04190fa2: Download complete [2023-02-28T05:02:11.831Z] 5eb5b503b376: Verifying Checksum [2023-02-28T05:02:11.831Z] 5eb5b503b376: Download complete [2023-02-28T05:02:12.406Z] 2f39f015ded8: Download complete [2023-02-28T05:02:13.342Z] 5eb5b503b376: Pull complete [2023-02-28T05:02:13.342Z] 5c69ac0246d0: Pull complete [2023-02-28T05:02:13.605Z] ec43610c2a17: Pull complete [2023-02-28T05:02:13.863Z] 3a2ae6a8a46f: Pull complete [2023-02-28T05:02:14.122Z] 33b1e0a273af: Pull complete [2023-02-28T05:02:14.122Z] 5d3b04190fa2: Pull complete [2023-02-28T05:02:18.308Z] 2f39f015ded8: Pull complete [2023-02-28T05:02:18.308Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-28T05:02:18.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T05:02:18.308Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T05:02:18.546Z] prd-ubuntu20.04-docker-8c-8g-7691 does not seem to be running inside a container [2023-02-28T05:02:18.575Z] $ 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-1352 -v /w/workspace/gexfoundry_device-sdk-go_PR-1352:/w/workspace/gexfoundry_device-sdk-go_PR-1352:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1352@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1352@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-02-28T05:02:20.452Z] $ docker top e7c2a4fd5cf7fcab6faace32206cde2c70ffb17e103d5599bf37488ac43a551b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T05:02:20.891Z] ---> job-cost.sh [2023-02-28T05:02:20.891Z] lf-activate-venv: SKIPPING [2023-02-28T05:02:20.891Z] INFO: No Stack... [2023-02-28T05:02:21.151Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-28T05:02:21.719Z] INFO: Archiving Costs [Pipeline] sh [2023-02-28T05:02:22.033Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1352/archives/cost.csv [2023-02-28T05:02:22.034Z] + cut -d, -f6 [Pipeline] lock [2023-02-28T05:02:22.078Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1352-1-stack-cost] [2023-02-28T05:02:22.082Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1352-1-stack-cost] did not exist. Created. [2023-02-28T05:02:22.082Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1352-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-28T05:02:22.480Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-28T05:02:22.532Z] Stashed 1 file(s) [Pipeline] } [2023-02-28T05:02:22.559Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1352-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-28T05:02:22.635Z] $ docker stop --time=1 e7c2a4fd5cf7fcab6faace32206cde2c70ffb17e103d5599bf37488ac43a551b [2023-02-28T05:02:23.804Z] $ docker rm -f --volumes e7c2a4fd5cf7fcab6faace32206cde2c70ffb17e103d5599bf37488ac43a551b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-28T05:03:00.660Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7695 in /w/workspace/gexfoundry_device-sdk-go_PR-1352 [Pipeline] { [Pipeline] ws [2023-02-28T05:03:00.716Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-02-28T05:03:00.794Z] The recommended git tool is: git [2023-02-28T05:03:06.355Z] using credential edgex-jenkins-ssh [2023-02-28T05:03:06.371Z] Cloning the remote Git repository [2023-02-28T05:03:06.424Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-28T05:03:06.514Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-02-28T05:03:06.681Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-28T05:03:06.682Z] > git --version # timeout=10 [2023-02-28T05:03:06.709Z] > git --version # 'git version 2.25.1' [2023-02-28T05:03:06.711Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-28T05:03:06.777Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-28T05:03:08.515Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-28T05:03:08.542Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-28T05:03:09.517Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-28T05:03:09.561Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-28T05:03:09.562Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-28T05:03:09.578Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1352/head:refs/remotes/origin/PR-1352 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-28T05:03:10.198Z] Merging remotes/origin/main commit 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 into PR head commit 049e0176a4828cf762b97ebba49a1aab3d098e6a [2023-02-28T05:03:10.437Z] Merge succeeded, producing 049e0176a4828cf762b97ebba49a1aab3d098e6a [2023-02-28T05:03:10.437Z] Checking out Revision 049e0176a4828cf762b97ebba49a1aab3d098e6a (PR-1352) [2023-02-28T05:03:10.216Z] > git config core.sparsecheckout # timeout=10 [2023-02-28T05:03:10.243Z] > git checkout -f 049e0176a4828cf762b97ebba49a1aab3d098e6a # timeout=10 [2023-02-28T05:03:10.345Z] > git remote # timeout=10 [2023-02-28T05:03:10.361Z] > git config --get remote.origin.url # timeout=10 [2023-02-28T05:03:10.376Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-28T05:03:10.392Z] > git merge 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 # timeout=10 [2023-02-28T05:03:10.420Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-28T05:03:10.446Z] > git config core.sparsecheckout # timeout=10 [2023-02-28T05:03:10.459Z] > git checkout -f 049e0176a4828cf762b97ebba49a1aab3d098e6a # timeout=10 [2023-02-28T05:03:11.013Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-02-28T05:03:11.062Z] > git --version # timeout=10 [2023-02-28T05:03:11.072Z] > git --version # 'git version 2.25.1' [2023-02-28T05:03:11.090Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T05:03:12.151Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-28T05:03:12.152Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T05:03:12.152Z] Dload Upload Total Spent Left Speed [2023-02-28T05:03:12.152Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh [2023-02-28T05:03:12.845Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-28T05:03:13.194Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-28T05:03:13.194Z] + sudo tee /etc/docker/daemon.new [2023-02-28T05:03:13.194Z] { [2023-02-28T05:03:13.194Z] "registry-mirrors": [ [2023-02-28T05:03:13.194Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-28T05:03:13.194Z] ], [2023-02-28T05:03:13.194Z] "bip": "10.250.0.254/24", [2023-02-28T05:03:13.194Z] "hosts": [ [2023-02-28T05:03:13.194Z] "tcp://0.0.0.0:5555", [2023-02-28T05:03:13.194Z] "unix:///var/run/docker.sock" [2023-02-28T05:03:13.194Z] ], [2023-02-28T05:03:13.194Z] "mtu": 1458, [2023-02-28T05:03:13.194Z] "selinux-enabled": true, [2023-02-28T05:03:13.194Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-28T05:03:13.194Z] } [Pipeline] sh [2023-02-28T05:03:13.550Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-28T05:03:13.908Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T05:03:32.255Z] provisioning config files... [2023-02-28T05:03:32.286Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2910921953594015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T05:03:32.691Z] ---> docker-login.sh [2023-02-28T05:03:32.691Z] nexus3.edgexfoundry.org:10001 [2023-02-28T05:03:33.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T05:03:33.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T05:03:33.282Z] Configure a credential helper to remove this warning. See [2023-02-28T05:03:33.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T05:03:33.282Z] [2023-02-28T05:03:33.282Z] Login Succeeded [2023-02-28T05:03:33.282Z] nexus3.edgexfoundry.org:10002 [2023-02-28T05:03:33.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T05:03:33.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T05:03:33.551Z] Configure a credential helper to remove this warning. See [2023-02-28T05:03:33.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T05:03:33.551Z] [2023-02-28T05:03:33.551Z] Login Succeeded [2023-02-28T05:03:33.551Z] nexus3.edgexfoundry.org:10003 [2023-02-28T05:03:33.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T05:03:34.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T05:03:34.091Z] Configure a credential helper to remove this warning. See [2023-02-28T05:03:34.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T05:03:34.091Z] [2023-02-28T05:03:34.091Z] Login Succeeded [2023-02-28T05:03:34.091Z] nexus3.edgexfoundry.org:10004 [2023-02-28T05:03:34.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T05:03:34.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T05:03:34.369Z] Configure a credential helper to remove this warning. See [2023-02-28T05:03:34.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T05:03:34.369Z] [2023-02-28T05:03:34.369Z] Login Succeeded [2023-02-28T05:03:34.369Z] docker.io [2023-02-28T05:03:34.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T05:03:34.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T05:03:34.905Z] Configure a credential helper to remove this warning. See [2023-02-28T05:03:34.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T05:03:34.905Z] [2023-02-28T05:03:34.905Z] Login Succeeded [2023-02-28T05:03:34.905Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T05:03:34.946Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-28T05:03:35.309Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T05:03:35.344Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T05:03:35.383Z] ========================================================= [2023-02-28T05:03:35.383Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-28T05:03:35.383Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:03:35.905Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-28T05:03:36.179Z] Sending build context to Docker daemon 5.676MB [2023-02-28T05:03:36.179Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T05:03:36.179Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-28T05:03:36.450Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-28T05:03:36.450Z] 9b18e9b68314: Pulling fs layer [2023-02-28T05:03:36.450Z] 35d82f9e3411: Pulling fs layer [2023-02-28T05:03:36.450Z] e16973657156: Pulling fs layer [2023-02-28T05:03:36.450Z] fc693d55d65f: Pulling fs layer [2023-02-28T05:03:36.450Z] 7e9fc2657dce: Pulling fs layer [2023-02-28T05:03:36.450Z] dda99020689f: Pulling fs layer [2023-02-28T05:03:36.450Z] fc693d55d65f: Waiting [2023-02-28T05:03:36.450Z] 7e9fc2657dce: Waiting [2023-02-28T05:03:36.450Z] db1c61fa0a46: Pulling fs layer [2023-02-28T05:03:36.450Z] dda99020689f: Waiting [2023-02-28T05:03:36.450Z] 891c053d2c06: Pulling fs layer [2023-02-28T05:03:36.450Z] db1c61fa0a46: Waiting [2023-02-28T05:03:36.450Z] e16973657156: Verifying Checksum [2023-02-28T05:03:36.450Z] e16973657156: Download complete [2023-02-28T05:03:36.450Z] 35d82f9e3411: Download complete [2023-02-28T05:03:36.450Z] 7e9fc2657dce: Verifying Checksum [2023-02-28T05:03:36.450Z] 7e9fc2657dce: Download complete [2023-02-28T05:03:36.450Z] dda99020689f: Verifying Checksum [2023-02-28T05:03:36.721Z] dda99020689f: Download complete [2023-02-28T05:03:36.721Z] 9b18e9b68314: Verifying Checksum [2023-02-28T05:03:36.721Z] 9b18e9b68314: Download complete [2023-02-28T05:03:37.724Z] 9b18e9b68314: Pull complete [2023-02-28T05:03:37.724Z] 891c053d2c06: Verifying Checksum [2023-02-28T05:03:37.724Z] 891c053d2c06: Download complete [2023-02-28T05:03:39.150Z] db1c61fa0a46: Download complete [2023-02-28T05:03:39.426Z] fc693d55d65f: Verifying Checksum [2023-02-28T05:03:39.426Z] fc693d55d65f: Download complete [2023-02-28T05:03:39.696Z] 35d82f9e3411: Pull complete [2023-02-28T05:03:39.965Z] e16973657156: Pull complete [2023-02-28T05:03:54.990Z] fc693d55d65f: Pull complete [2023-02-28T05:03:54.990Z] 7e9fc2657dce: Pull complete [2023-02-28T05:03:54.990Z] dda99020689f: Pull complete [2023-02-28T05:03:59.256Z] db1c61fa0a46: Pull complete [2023-02-28T05:04:01.404Z] 891c053d2c06: Pull complete [2023-02-28T05:04:01.404Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-28T05:04:01.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-28T05:04:01.404Z] ---> f96f9c87975a [2023-02-28T05:04:01.404Z] Step 3/10 : ARG MAKE=make build [2023-02-28T05:04:03.366Z] ---> Running in 316b7955a5f5 [2023-02-28T05:04:03.634Z] Removing intermediate container 316b7955a5f5 [2023-02-28T05:04:03.634Z] ---> 6f83615a8f58 [2023-02-28T05:04:03.634Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-28T05:04:03.634Z] ---> Running in ebebe46af197 [2023-02-28T05:04:03.903Z] Removing intermediate container ebebe46af197 [2023-02-28T05:04:03.903Z] ---> 751323cd0f33 [2023-02-28T05:04:03.903Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-28T05:04:04.174Z] ---> Running in 56bb1ffa7db0 [2023-02-28T05:04:04.446Z] Removing intermediate container 56bb1ffa7db0 [2023-02-28T05:04:04.446Z] ---> 513794109f78 [2023-02-28T05:04:04.446Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-28T05:04:04.446Z] ---> Running in 918a004a1a7d [2023-02-28T05:04:05.865Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-28T05:04:06.135Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-28T05:04:07.119Z] OK: 221 MiB in 51 packages [2023-02-28T05:04:08.099Z] Removing intermediate container 918a004a1a7d [2023-02-28T05:04:08.099Z] ---> bd4714cdf8f7 [2023-02-28T05:04:08.099Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-28T05:04:08.370Z] ---> 6abcf8164bb4 [2023-02-28T05:04:08.370Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T05:04:08.646Z] ---> Running in c237c111c62c [2023-02-28T05:05:16.573Z] Removing intermediate container c237c111c62c [2023-02-28T05:05:16.573Z] ---> 9ad68e8c8eb3 [2023-02-28T05:05:16.573Z] Step 9/10 : COPY . . [2023-02-28T05:05:16.573Z] ---> f1490053b0b5 [2023-02-28T05:05:16.573Z] Step 10/10 : RUN ${MAKE} [2023-02-28T05:05:16.573Z] ---> Running in ae3fc7378c9d [2023-02-28T05:05:16.573Z] noop [2023-02-28T05:05:16.573Z] Removing intermediate container ae3fc7378c9d [2023-02-28T05:05:16.573Z] ---> 75b7e863ac8b [2023-02-28T05:05:16.573Z] Successfully built 75b7e863ac8b [2023-02-28T05:05:16.573Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:05:17.052Z] + docker inspect -f . ci-base-image-arm64 [2023-02-28T05:05:17.052Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T05:05:17.326Z] prd-ubuntu20.04-docker-arm64-4c-16g-7695 does not seem to be running inside a container [2023-02-28T05:05:17.399Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-02-28T05:05:18.651Z] $ docker top 8def8cf69328c08ac14dc74703c6ade90b9c2d4cb8db7e503e7c53359f4111bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T05:05:19.541Z] + go version [2023-02-28T05:05:19.541Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-28T05:05:19.573Z] $ docker stop --time=1 8def8cf69328c08ac14dc74703c6ade90b9c2d4cb8db7e503e7c53359f4111bf [2023-02-28T05:05:21.203Z] $ docker rm -f --volumes 8def8cf69328c08ac14dc74703c6ade90b9c2d4cb8db7e503e7c53359f4111bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:05:22.073Z] + docker inspect -f . ci-base-image-arm64 [2023-02-28T05:05:22.073Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T05:05:22.330Z] prd-ubuntu20.04-docker-arm64-4c-16g-7695 does not seem to be running inside a container [2023-02-28T05:05:22.402Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-02-28T05:05:23.661Z] $ docker top ae7908e9735e732bcbea02e6606a2a9dda2cb2ded407fd32797ed649499bab4b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T05:05:24.589Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-28T05:05:25.297Z] + make test [2023-02-28T05:05:25.297Z] go test -race -coverprofile=coverage.out ./... [2023-02-28T05:06:04.192Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-28T05:08:10.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-28T05:08:10.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-28T05:08:10.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-28T05:08:10.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-28T05:08:10.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-28T05:08:23.242Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.517s coverage: 27.6% of statements [2023-02-28T05:08:25.842Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.839s coverage: 78.9% of statements [2023-02-28T05:08:25.842Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-28T05:08:35.937Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.626s coverage: 86.0% of statements [2023-02-28T05:08:35.937Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-28T05:08:35.937Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-28T05:08:38.547Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.588s coverage: 74.7% of statements [2023-02-28T05:08:38.547Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-28T05:08:38.547Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.370s coverage: 15.5% of statements [2023-02-28T05:08:38.547Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-28T05:08:41.146Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.440s coverage: 65.2% of statements [2023-02-28T05:08:41.147Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-28T05:08:41.147Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-28T05:08:41.147Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.099s coverage: 89.2% of statements [2023-02-28T05:08:41.147Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-28T05:08:41.147Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.481s coverage: 4.6% of statements [2023-02-28T05:08:41.147Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-28T05:08:42.112Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-28T05:08:42.112Z] GO111MODULE=on go vet ./... [2023-02-28T05:10:18.826Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-28T05:10:18.826Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-28T05:10:18.826Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-28T05:10:18.862Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-28T05:10:18.891Z] $ docker stop --time=1 ae7908e9735e732bcbea02e6606a2a9dda2cb2ded407fd32797ed649499bab4b [2023-02-28T05:10:20.772Z] $ docker rm -f --volumes ae7908e9735e732bcbea02e6606a2a9dda2cb2ded407fd32797ed649499bab4b [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T05:10:22.267Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-28T05:10:22.299Z] Warning: overwriting stash ‘coverage-report’ [2023-02-28T05:10:22.908Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T05:10:23.511Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-28T05:10:23.847Z] + ls -al . [2023-02-28T05:10:23.847Z] total 276 [2023-02-28T05:10:23.847Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 28 05:05 . [2023-02-28T05:10:23.847Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 05:03 .. [2023-02-28T05:10:23.847Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 28 05:03 .dockerignore [2023-02-28T05:10:23.847Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 28 05:03 .git [2023-02-28T05:10:23.847Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 05:03 .github [2023-02-28T05:10:23.847Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 28 05:03 .gitignore [2023-02-28T05:10:23.847Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 28 05:03 .golangci.yml [2023-02-28T05:10:23.847Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 28 05:03 CHANGELOG.md [2023-02-28T05:10:23.847Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 28 05:03 GOVERNANCE.md [2023-02-28T05:10:23.847Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 28 05:03 Jenkinsfile [2023-02-28T05:10:23.847Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 28 05:03 LICENSE [2023-02-28T05:10:23.847Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 28 05:03 Makefile [2023-02-28T05:10:23.847Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 28 05:03 OWNERS.md [2023-02-28T05:10:23.847Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 28 05:03 README.md [2023-02-28T05:10:23.847Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 28 05:00 VERSION [2023-02-28T05:10:23.847Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 05:03 bin [2023-02-28T05:10:23.847Z] -rw-r--r-- 1 jenkins jenkins 111045 Feb 28 05:08 coverage.out [2023-02-28T05:10:23.847Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 28 05:03 example [2023-02-28T05:10:23.847Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 28 05:03 go.mod [2023-02-28T05:10:23.847Z] -rw-rw-r-- 1 jenkins jenkins 30840 Feb 28 05:03 go.sum [2023-02-28T05:10:23.847Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 28 05:03 internal [2023-02-28T05:10:23.847Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 05:03 openapi [2023-02-28T05:10:23.847Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 28 05:03 pkg [2023-02-28T05:10:23.847Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 05:03 snap [2023-02-28T05:10:23.847Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 28 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:10:24.271Z] + 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=049e0176a4828cf762b97ebba49a1aab3d098e6a --label arch=arm64 --label version=0.0.0 . [2023-02-28T05:10:24.858Z] Sending build context to Docker daemon 5.788MB [2023-02-28T05:10:24.858Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T05:10:24.858Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-28T05:10:24.858Z] ---> 75b7e863ac8b [2023-02-28T05:10:24.858Z] Step 3/23 : ARG MAKE=make build [2023-02-28T05:10:24.858Z] ---> Running in b3ec6f09180c [2023-02-28T05:10:25.126Z] Removing intermediate container b3ec6f09180c [2023-02-28T05:10:25.126Z] ---> 70d0e2e689c7 [2023-02-28T05:10:25.126Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-28T05:10:25.396Z] ---> Running in 01df60a74ddc [2023-02-28T05:10:25.663Z] Removing intermediate container 01df60a74ddc [2023-02-28T05:10:25.663Z] ---> 163174775f81 [2023-02-28T05:10:25.663Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-28T05:10:25.663Z] ---> Running in 8bb3526492a6 [2023-02-28T05:10:25.931Z] Removing intermediate container 8bb3526492a6 [2023-02-28T05:10:25.931Z] ---> d825427fd296 [2023-02-28T05:10:25.931Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-28T05:10:26.225Z] ---> Running in 422dfa504371 [2023-02-28T05:10:27.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-28T05:10:27.463Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-28T05:10:28.422Z] OK: 221 MiB in 51 packages [2023-02-28T05:10:29.381Z] Removing intermediate container 422dfa504371 [2023-02-28T05:10:29.381Z] ---> c8c3018f2fdd [2023-02-28T05:10:29.381Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-28T05:10:29.965Z] ---> 982d45beb58a [2023-02-28T05:10:29.965Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T05:10:29.965Z] ---> Running in d659ffac44a6 [2023-02-28T05:10:32.548Z] Removing intermediate container d659ffac44a6 [2023-02-28T05:10:32.548Z] ---> 996e5df5c272 [2023-02-28T05:10:32.548Z] Step 9/23 : COPY . . [2023-02-28T05:10:33.957Z] ---> 21969720f87c [2023-02-28T05:10:33.957Z] Step 10/23 : RUN ${MAKE} [2023-02-28T05:10:33.957Z] ---> Running in 231ffe80dee6 [2023-02-28T05:10:34.919Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-28T05:12:41.797Z] Removing intermediate container 231ffe80dee6 [2023-02-28T05:12:41.797Z] ---> 45db19fc6e74 [2023-02-28T05:12:41.797Z] Step 11/23 : FROM alpine:3.16 [2023-02-28T05:12:41.797Z] 3.16: Pulling from library/alpine [2023-02-28T05:12:41.797Z] 3760b48202b3: Pulling fs layer [2023-02-28T05:12:42.079Z] 3760b48202b3: Verifying Checksum [2023-02-28T05:12:42.079Z] 3760b48202b3: Download complete [2023-02-28T05:12:42.354Z] 3760b48202b3: Pull complete [2023-02-28T05:12:42.354Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-28T05:12:42.354Z] Status: Downloaded newer image for alpine:3.16 [2023-02-28T05:12:42.354Z] ---> 4c81e5bf8899 [2023-02-28T05:12:42.354Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-28T05:12:42.635Z] ---> Running in 4688866b920f [2023-02-28T05:12:42.905Z] Removing intermediate container 4688866b920f [2023-02-28T05:12:42.905Z] ---> 299f8a742294 [2023-02-28T05:12:42.905Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-28T05:12:42.905Z] ---> Running in b5bde93f6720 [2023-02-28T05:12:43.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-28T05:12:44.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-28T05:12:45.091Z] OK: 5 MiB in 14 packages [2023-02-28T05:12:46.052Z] Removing intermediate container b5bde93f6720 [2023-02-28T05:12:46.052Z] ---> 476750449b1b [2023-02-28T05:12:46.052Z] Step 14/23 : WORKDIR / [2023-02-28T05:12:46.052Z] ---> Running in 4adccacef05c [2023-02-28T05:12:46.320Z] Removing intermediate container 4adccacef05c [2023-02-28T05:12:46.320Z] ---> 13ac56dfb930 [2023-02-28T05:12:46.320Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-28T05:12:46.904Z] ---> ed9b54328803 [2023-02-28T05:12:46.904Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-28T05:12:48.316Z] ---> f8c15c3d3e64 [2023-02-28T05:12:48.316Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-28T05:12:48.589Z] ---> a338c1f31bf1 [2023-02-28T05:12:48.589Z] Step 18/23 : EXPOSE 59999 [2023-02-28T05:12:48.589Z] ---> Running in 365fc41fa42a [2023-02-28T05:12:48.857Z] Removing intermediate container 365fc41fa42a [2023-02-28T05:12:48.857Z] ---> 4f84f7991953 [2023-02-28T05:12:48.857Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-28T05:12:49.125Z] ---> Running in 29105a5f95cf [2023-02-28T05:12:49.390Z] Removing intermediate container 29105a5f95cf [2023-02-28T05:12:49.390Z] ---> 4940532f9a20 [2023-02-28T05:12:49.390Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-28T05:12:49.390Z] ---> Running in 1895f7ec8034 [2023-02-28T05:12:49.657Z] Removing intermediate container 1895f7ec8034 [2023-02-28T05:12:49.657Z] ---> d3f94aa0aaa8 [2023-02-28T05:12:49.657Z] Step 21/23 : LABEL arch=arm64 [2023-02-28T05:12:49.657Z] ---> Running in 922a30207184 [2023-02-28T05:12:49.926Z] Removing intermediate container 922a30207184 [2023-02-28T05:12:49.926Z] ---> eb651011e171 [2023-02-28T05:12:49.926Z] Step 22/23 : LABEL git_sha=049e0176a4828cf762b97ebba49a1aab3d098e6a [2023-02-28T05:12:50.192Z] ---> Running in 6f1bde0b1cfc [2023-02-28T05:12:50.458Z] Removing intermediate container 6f1bde0b1cfc [2023-02-28T05:12:50.458Z] ---> 6c678f16d2c4 [2023-02-28T05:12:50.458Z] Step 23/23 : LABEL version=0.0.0 [2023-02-28T05:12:50.458Z] ---> Running in 53aec2212fe4 [2023-02-28T05:12:50.723Z] Removing intermediate container 53aec2212fe4 [2023-02-28T05:12:50.723Z] ---> c0d758330370 [2023-02-28T05:12:50.723Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-28T05:12:50.723Z] Successfully built c0d758330370 [2023-02-28T05:12:50.723Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:12:51.554Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T05:12:51.554Z] [2023-02-28T05:12:51.554Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:12:51.964Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T05:12:51.965Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-28T05:12:51.965Z] 8998bd30e6a1: Pulling fs layer [2023-02-28T05:12:51.965Z] 04944245beec: Pulling fs layer [2023-02-28T05:12:51.965Z] 699f458cf7ca: Pulling fs layer [2023-02-28T05:12:51.965Z] 765212b225bb: Pulling fs layer [2023-02-28T05:12:51.965Z] f23df028b6ca: Pulling fs layer [2023-02-28T05:12:51.965Z] d65c8cfc05b1: Pulling fs layer [2023-02-28T05:12:51.965Z] 2437ff75d9bd: Pulling fs layer [2023-02-28T05:12:51.965Z] 765212b225bb: Waiting [2023-02-28T05:12:51.965Z] f23df028b6ca: Waiting [2023-02-28T05:12:51.965Z] d65c8cfc05b1: Waiting [2023-02-28T05:12:51.965Z] 2437ff75d9bd: Waiting [2023-02-28T05:12:52.233Z] 04944245beec: Verifying Checksum [2023-02-28T05:12:52.233Z] 04944245beec: Download complete [2023-02-28T05:12:52.233Z] 765212b225bb: Verifying Checksum [2023-02-28T05:12:52.233Z] 765212b225bb: Download complete [2023-02-28T05:12:52.233Z] f23df028b6ca: Verifying Checksum [2023-02-28T05:12:52.233Z] f23df028b6ca: Download complete [2023-02-28T05:12:52.233Z] d65c8cfc05b1: Verifying Checksum [2023-02-28T05:12:52.233Z] d65c8cfc05b1: Download complete [2023-02-28T05:12:52.501Z] 699f458cf7ca: Verifying Checksum [2023-02-28T05:12:52.501Z] 699f458cf7ca: Download complete [2023-02-28T05:12:52.770Z] 8998bd30e6a1: Verifying Checksum [2023-02-28T05:12:52.770Z] 8998bd30e6a1: Download complete [2023-02-28T05:12:55.351Z] 2437ff75d9bd: Verifying Checksum [2023-02-28T05:12:55.351Z] 2437ff75d9bd: Download complete [2023-02-28T05:12:56.759Z] 8998bd30e6a1: Pull complete [2023-02-28T05:12:57.718Z] 04944245beec: Pull complete [2023-02-28T05:12:59.130Z] 699f458cf7ca: Pull complete [2023-02-28T05:12:59.130Z] 765212b225bb: Pull complete [2023-02-28T05:13:00.090Z] f23df028b6ca: Pull complete [2023-02-28T05:13:00.090Z] d65c8cfc05b1: Pull complete [2023-02-28T05:13:15.105Z] 2437ff75d9bd: Pull complete [2023-02-28T05:13:15.105Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-28T05:13:15.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T05:13:15.105Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T05:13:15.430Z] prd-ubuntu20.04-docker-arm64-4c-16g-7695 does not seem to be running inside a container [2023-02-28T05:13:15.487Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-28T05:13:18.001Z] $ docker top 1579a480d4d2cb066f9826bb2365ed77960e7d3866afaa70e5013c9e8efbed67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T05:13:18.925Z] ---> job-cost.sh [2023-02-28T05:13:18.925Z] lf-activate-venv: SKIPPING [2023-02-28T05:13:18.925Z] INFO: No Stack... [2023-02-28T05:13:19.508Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-28T05:13:20.089Z] INFO: Archiving Costs [Pipeline] sh [2023-02-28T05:13:20.428Z] + cat+ /w/workspace/device-sdk-go/1/archives/cost.csv [2023-02-28T05:13:20.428Z] cut -d, -f6 [Pipeline] lock [2023-02-28T05:13:20.511Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1352-1-stack-cost] [2023-02-28T05:13:20.516Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1352-1-stack-cost] did not exist. Created. [2023-02-28T05:13:20.517Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1352-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-28T05:13:21.243Z] /w/workspace/device-sdk-go/1@tmp/durable-147d2d21/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-28T05:13:21.591Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-28T05:13:21.628Z] Warning: overwriting stash ‘stack-cost’ [2023-02-28T05:13:21.690Z] Stashed 1 file(s) [Pipeline] } [2023-02-28T05:13:21.707Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1352-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-28T05:13:21.789Z] $ docker stop --time=1 1579a480d4d2cb066f9826bb2365ed77960e7d3866afaa70e5013c9e8efbed67 [2023-02-28T05:13:23.281Z] $ docker rm -f --volumes 1579a480d4d2cb066f9826bb2365ed77960e7d3866afaa70e5013c9e8efbed67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-28T05:13:24.338Z] provisioning config files... [2023-02-28T05:13:24.346Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1352@tmp/config16559146358804548767tmp [Pipeline] { [Pipeline] sh [2023-02-28T05:13:24.682Z] + set +x [2023-02-28T05:13:24.682Z] + curl -s https://codecov.io/bash [2023-02-28T05:13:24.682Z] + bash -s -- [2023-02-28T05:13:24.682Z] [2023-02-28T05:13:24.682Z] _____ _ [2023-02-28T05:13:24.682Z] / ____| | | [2023-02-28T05:13:24.682Z] | | ___ __| | ___ ___ _____ __ [2023-02-28T05:13:24.682Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-28T05:13:24.682Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-28T05:13:24.682Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-28T05:13:24.682Z] Bash-1.0.6 [2023-02-28T05:13:24.682Z] [2023-02-28T05:13:24.682Z] [2023-02-28T05:13:24.682Z] ==> git version 2.25.1 found [2023-02-28T05:13:24.682Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-28T05:13:24.682Z] Release-Date: 2020-01-08 [2023-02-28T05:13:24.682Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-28T05:13:24.682Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-28T05:13:24.682Z] ==> Jenkins CI detected. [2023-02-28T05:13:24.682Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1352 [2023-02-28T05:13:24.682Z] project root: . [2023-02-28T05:13:24.682Z] --> token set from env [2023-02-28T05:13:24.682Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-28T05:13:24.682Z] ==> Running gcov in . (disable via -X gcov) [2023-02-28T05:13:24.682Z] ==> Python coveragepy not found [2023-02-28T05:13:24.682Z] ==> Searching for coverage reports in: [2023-02-28T05:13:24.682Z] + . [2023-02-28T05:13:24.682Z] -> Found 1 reports [2023-02-28T05:13:24.682Z] ==> Detecting git/mercurial file structure [2023-02-28T05:13:24.682Z] ==> Reading reports [2023-02-28T05:13:24.682Z] + ./coverage.out bytes=111045 [2023-02-28T05:13:24.682Z] ==> Appending adjustments [2023-02-28T05:13:24.682Z] https://docs.codecov.io/docs/fixing-reports [2023-02-28T05:13:24.942Z] + Found adjustments [2023-02-28T05:13:24.942Z] ==> Gzipping contents [2023-02-28T05:13:24.942Z] 16K /tmp/codecov.ikPIJW.gz [2023-02-28T05:13:24.942Z] ==> Uploading reports [2023-02-28T05:13:24.942Z] url: https://codecov.io [2023-02-28T05:13:24.942Z] query: branch=PR-1352&commit=049e0176a4828cf762b97ebba49a1aab3d098e6a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1352%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1352&job=&cmd_args= [2023-02-28T05:13:24.942Z] -> Pinging Codecov [2023-02-28T05:13:24.942Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1352&commit=049e0176a4828cf762b97ebba49a1aab3d098e6a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1352%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1352&job=&cmd_args= [2023-02-28T05:13:25.201Z] -> Uploading to [2023-02-28T05:13:25.201Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-28/7E55EF52A471D76F132DFD9A03CDDE97/049e0176a4828cf762b97ebba49a1aab3d098e6a/6808337f-3997-407b-bd0d-9d5e58a5503e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230228%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230228T051325Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6e5006fba7db5ff58d5e4dde8bd4982b731d14ea62aaf08452b6e694cb00fe38 [2023-02-28T05:13:25.201Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T05:13:25.201Z] Dload Upload Total Spent Left Speed [2023-02-28T05:13:25.460Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15347 0 0 100 15347 0 59026 --:--:-- --:--:-- --:--:-- 59026 [2023-02-28T05:13:25.460Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/049e0176a4828cf762b97ebba49a1aab3d098e6a [Pipeline] } [2023-02-28T05:13:25.488Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-28T05:13:27.200Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1352/archives ] [2023-02-28T05:13:27.200Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1352/archives [2023-02-28T05:13:27.200Z] total 16 [2023-02-28T05:13:27.200Z] drwxr-xr-x 3 root root 4096 Feb 28 05:02 . [2023-02-28T05:13:27.200Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 28 05:02 .. [2023-02-28T05:13:27.200Z] drwxr-xr-x 2 root root 4096 Feb 28 05:02 cost [2023-02-28T05:13:27.200Z] -rw-r--r-- 1 root root 86 Feb 28 05:02 cost.csv [2023-02-28T05:13:27.200Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1352/archives [2023-02-28T05:13:27.200Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1352/archives [2023-02-28T05:13:27.200Z] total 16 [2023-02-28T05:13:27.200Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 05:02 . [2023-02-28T05:13:27.200Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 28 05:02 .. [2023-02-28T05:13:27.200Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 28 05:02 cost [2023-02-28T05:13:27.200Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 28 05:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-28T05:13:27.523Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T05:13:28.411Z] ---> package-listing.sh [2023-02-28T05:13:28.411Z] ++ facter osfamily [2023-02-28T05:13:28.411Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-28T05:13:28.670Z] + OS_FAMILY=debian [2023-02-28T05:13:28.670Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1352 [2023-02-28T05:13:28.670Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-28T05:13:28.670Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-28T05:13:28.670Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-28T05:13:28.670Z] + PACKAGES=/tmp/packages_start.txt [2023-02-28T05:13:28.670Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1352 ']' [2023-02-28T05:13:28.670Z] + PACKAGES=/tmp/packages_end.txt [2023-02-28T05:13:28.670Z] + case "${OS_FAMILY}" in [2023-02-28T05:13:28.670Z] + dpkg -l [2023-02-28T05:13:28.670Z] + grep '^ii' [2023-02-28T05:13:28.670Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-28T05:13:28.670Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-28T05:13:28.670Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-28T05:13:28.670Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1352 ']' [2023-02-28T05:13:28.670Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1352/archives/ [2023-02-28T05:13:28.670Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1352/archives/ [Pipeline] echo [2023-02-28T05:13:28.706Z] 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-1352/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-28T05:13:28.999Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T05:13:29.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T05:13:29.618Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T05:13:29.765Z] prd-ubuntu20.04-docker-8c-8g-7691 does not seem to be running inside a container [2023-02-28T05:13:29.793Z] $ 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-1352/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-1352 -v /w/workspace/gexfoundry_device-sdk-go_PR-1352:/w/workspace/gexfoundry_device-sdk-go_PR-1352:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1352@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1352@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-02-28T05:13:30.024Z] $ docker top 399a60e8f85f6138291855d980e8b41827efc6767b8ea294372a29bf5f9af584 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T05:13:30.423Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-28T05:13:30.737Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-28T05:13:31.046Z] + ls /var/log/sa-host [2023-02-28T05:13:31.046Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T05:13:31.178Z] provisioning config files... [2023-02-28T05:13:31.188Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1352@tmp/config3109922939063239458tmp [Pipeline] { [Pipeline] echo [2023-02-28T05:13:31.233Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T05:13:31.543Z] ---> create-netrc.sh [Pipeline] } [2023-02-28T05:13:31.574Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-28T05:13:31.972Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-28T05:13:32.006Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T05:13:32.316Z] ---> sudo-logs.sh [2023-02-28T05:13:32.316Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-28T05:13:32.403Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T05:13:32.717Z] ---> job-cost.sh [2023-02-28T05:13:32.717Z] lf-activate-venv: SKIPPING [2023-02-28T05:13:32.717Z] DEBUG: total: 0.2199999988079071 [2023-02-28T05:13:32.717Z] INFO: Retrieving Stack Cost... [2023-02-28T05:13:32.978Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-28T05:13:33.548Z] INFO: Archiving Costs [Pipeline] echo [2023-02-28T05:13:33.592Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T05:13:33.904Z] ---> logs-deploy.sh [2023-02-28T05:13:33.904Z] lf-activate-venv: SKIPPING [2023-02-28T05:13:33.904Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1352/1 [2023-02-28T05:13:33.904Z] INFO: archiving workspace using pattern(s): [2023-02-28T05:13:34.843Z] Archives upload complete. [2023-02-28T05:13:34.843Z] INFO: archiving logs to Nexus