Pull request #1390 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6d3929520851633f8c3ce4077c0ff80ab8aa4443+6f965a0b85b542f54aab8de1c6c68203c2ba52ef (a21d04f477651f3f55e0a71cf074d4d40506d45f) 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-ssh16417918697891556459.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh2181613846880323770.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-1390/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-1390/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14661498719550831346.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-1390/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16718532802211804714.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh18428046873975160437.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-1390/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-1390/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8399878622068003958.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-2352 in /w/workspace/gexfoundry_device-sdk-go_PR-1390 [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-1390 # 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/1390/head:refs/remotes/origin/PR-1390 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6f965a0b85b542f54aab8de1c6c68203c2ba52ef into PR head commit 6d3929520851633f8c3ce4077c0ff80ab8aa4443 Merge succeeded, producing 6d3929520851633f8c3ce4077c0ff80ab8aa4443 Checking out Revision 6d3929520851633f8c3ce4077c0ff80ab8aa4443 (PR-1390) 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 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 6d3929520851633f8c3ce4077c0ff80ab8aa4443 # 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 6f965a0b85b542f54aab8de1c6c68203c2ba52ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d3929520851633f8c3ce4077c0ff80ab8aa4443 # timeout=10 [Pipeline] timeout [2023-03-16T05:00:36.085Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-16T05:00:36.256Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-16T05:00:36.357Z] ========================================================= [2023-03-16T05:00:36.357Z] EdgeX Global Pipelines Version Info [2023-03-16T05:00:36.357Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:00:37.085Z] ------------------- [2023-03-16T05:00:37.085Z] stable info: [2023-03-16T05:00:37.085Z] ------------------- [2023-03-16T05:00:37.085Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-16T05:00:37.085Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T05:00:37.085Z] Message: update stable to v1.0.245 [2023-03-16T05:00:37.654Z] ------------------- [2023-03-16T05:00:37.654Z] experimental info: [2023-03-16T05:00:37.654Z] ------------------- [2023-03-16T05:00:37.654Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-16T05:00:37.654Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-16T05:00:37.654Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-16T05:00:37.955Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-16T05:00:37.996Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-16T05:00:38.032Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-16T05:00:38.073Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-16T05:00:38.116Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-16T05:00:38.155Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-16T05:00:38.200Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-16T05:00:38.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-16T05:00:38.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-16T05:00:38.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-16T05:00:38.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-16T05:00:38.400Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-16T05:00:38.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-16T05:00:38.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-16T05:00:38.516Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T05:00:38.556Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T05:00:38.595Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T05:00:38.634Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T05:00:38.676Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-16T05:00:38.718Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-16T05:00:38.759Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-16T05:00:38.802Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-16T05:00:38.841Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-16T05:00:38.879Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-16T05:00:38.917Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-16T05:00:38.956Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-16T05:00:38.998Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-16T05:00:39.038Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1390 [Pipeline] echo [2023-03-16T05:00:39.082Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1390 [Pipeline] echo [2023-03-16T05:00:39.115Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1390 [Pipeline] echo [2023-03-16T05:00:39.149Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6d3929520851633f8c3ce4077c0ff80ab8aa4443 [Pipeline] echo [2023-03-16T05:00:39.190Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6d39295 [Pipeline] echo [2023-03-16T05:00:39.227Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T05:00:39.331Z] provisioning config files... [2023-03-16T05:00:39.344Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1390@tmp/config15007386420165187375tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:00:39.679Z] ---> docker-login.sh [2023-03-16T05:00:39.679Z] nexus3.edgexfoundry.org:10001 [2023-03-16T05:00:39.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T05:00:39.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T05:00:39.941Z] Configure a credential helper to remove this warning. See [2023-03-16T05:00:39.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T05:00:39.941Z] [2023-03-16T05:00:39.941Z] Login Succeeded [2023-03-16T05:00:39.941Z] nexus3.edgexfoundry.org:10002 [2023-03-16T05:00:39.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T05:00:39.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T05:00:39.941Z] Configure a credential helper to remove this warning. See [2023-03-16T05:00:39.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T05:00:39.941Z] [2023-03-16T05:00:39.941Z] Login Succeeded [2023-03-16T05:00:39.941Z] nexus3.edgexfoundry.org:10003 [2023-03-16T05:00:40.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T05:00:40.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T05:00:40.201Z] Configure a credential helper to remove this warning. See [2023-03-16T05:00:40.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T05:00:40.201Z] [2023-03-16T05:00:40.201Z] Login Succeeded [2023-03-16T05:00:40.201Z] nexus3.edgexfoundry.org:10004 [2023-03-16T05:00:40.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T05:00:40.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T05:00:40.201Z] Configure a credential helper to remove this warning. See [2023-03-16T05:00:40.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T05:00:40.201Z] [2023-03-16T05:00:40.201Z] Login Succeeded [2023-03-16T05:00:40.201Z] docker.io [2023-03-16T05:00:40.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T05:00:40.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T05:00:40.459Z] Configure a credential helper to remove this warning. See [2023-03-16T05:00:40.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T05:00:40.459Z] [2023-03-16T05:00:40.459Z] Login Succeeded [2023-03-16T05:00:40.459Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T05:00:40.486Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-16T05:00:41.094Z] + git rev-list -1 --merges 6d3929520851633f8c3ce4077c0ff80ab8aa4443~1..6d3929520851633f8c3ce4077c0ff80ab8aa4443 [Pipeline] echo [2023-03-16T05:00:41.154Z] -----------> git rev-list -1 --merges 6d3929520851633f8c3ce4077c0ff80ab8aa4443~1..6d3929520851633f8c3ce4077c0ff80ab8aa4443 6d3929520851633f8c3ce4077c0ff80ab8aa4443 [false] [Pipeline] sh [2023-03-16T05:00:41.462Z] + git log --format=format:%s -1 6d3929520851633f8c3ce4077c0ff80ab8aa4443 [Pipeline] echo [2023-03-16T05:00:41.498Z] ========================================================= [2023-03-16T05:00:41.498Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-16T05:00:41.498Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T05:00:41.932Z] + git log --format=format:%s -1 6d3929520851633f8c3ce4077c0ff80ab8aa4443 [Pipeline] echo [2023-03-16T05:00:41.963Z] [semverPrep] GIT_COMMIT: 6d3929520851633f8c3ce4077c0ff80ab8aa4443, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-03-16T05:00:41.994Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-16T05:00:42.369Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-16T05:00:42.369Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-16T05:00:42.369Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-16T05:00:42.369Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-16T05:00:42.369Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-16T05:00:42.369Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-16T05:00:42.369Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:00:42.796Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T05:00:42.796Z] [2023-03-16T05:00:42.796Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:00:43.175Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T05:00:43.175Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-16T05:00:43.175Z] b85a868b505f: Pulling fs layer [2023-03-16T05:00:43.175Z] e2be974225ed: Pulling fs layer [2023-03-16T05:00:43.175Z] 339a4e72a1f5: Pulling fs layer [2023-03-16T05:00:43.175Z] 988bab9f4d93: Pulling fs layer [2023-03-16T05:00:43.175Z] 1469e6f7b9e6: Pulling fs layer [2023-03-16T05:00:43.175Z] eaf3925da568: Pulling fs layer [2023-03-16T05:00:43.175Z] bab4dde63d76: Pulling fs layer [2023-03-16T05:00:43.175Z] bde34c3a00c8: Pulling fs layer [2023-03-16T05:00:43.175Z] b352a97aabf1: Pulling fs layer [2023-03-16T05:00:43.175Z] 988bab9f4d93: Waiting [2023-03-16T05:00:43.175Z] 1469e6f7b9e6: Waiting [2023-03-16T05:00:43.175Z] bab4dde63d76: Waiting [2023-03-16T05:00:43.175Z] bde34c3a00c8: Waiting [2023-03-16T05:00:43.175Z] b352a97aabf1: Waiting [2023-03-16T05:00:43.175Z] eaf3925da568: Waiting [2023-03-16T05:00:43.175Z] 4872d77fe225: Pulling fs layer [2023-03-16T05:00:43.175Z] 5851b861e8e6: Pulling fs layer [2023-03-16T05:00:43.175Z] 5851b861e8e6: Waiting [2023-03-16T05:00:43.175Z] 4872d77fe225: Waiting [2023-03-16T05:00:43.175Z] e2be974225ed: Verifying Checksum [2023-03-16T05:00:43.175Z] e2be974225ed: Download complete [2023-03-16T05:00:43.175Z] 988bab9f4d93: Verifying Checksum [2023-03-16T05:00:43.175Z] 988bab9f4d93: Download complete [2023-03-16T05:00:43.440Z] 339a4e72a1f5: Verifying Checksum [2023-03-16T05:00:43.440Z] 339a4e72a1f5: Download complete [2023-03-16T05:00:43.440Z] 1469e6f7b9e6: Verifying Checksum [2023-03-16T05:00:43.440Z] 1469e6f7b9e6: Download complete [2023-03-16T05:00:43.440Z] eaf3925da568: Verifying Checksum [2023-03-16T05:00:43.440Z] bde34c3a00c8: Verifying Checksum [2023-03-16T05:00:43.440Z] bde34c3a00c8: Download complete [2023-03-16T05:00:43.440Z] b352a97aabf1: Download complete [2023-03-16T05:00:43.440Z] 4872d77fe225: Verifying Checksum [2023-03-16T05:00:43.440Z] 4872d77fe225: Download complete [2023-03-16T05:00:43.440Z] 5851b861e8e6: Verifying Checksum [2023-03-16T05:00:43.440Z] 5851b861e8e6: Download complete [2023-03-16T05:00:43.440Z] b85a868b505f: Verifying Checksum [2023-03-16T05:00:43.440Z] b85a868b505f: Download complete [2023-03-16T05:00:43.699Z] bab4dde63d76: Verifying Checksum [2023-03-16T05:00:43.699Z] bab4dde63d76: Download complete [2023-03-16T05:00:44.638Z] b85a868b505f: Pull complete [2023-03-16T05:00:44.896Z] e2be974225ed: Pull complete [2023-03-16T05:00:45.156Z] 339a4e72a1f5: Pull complete [2023-03-16T05:00:45.414Z] 988bab9f4d93: Pull complete [2023-03-16T05:00:45.675Z] 1469e6f7b9e6: Pull complete [2023-03-16T05:00:45.675Z] eaf3925da568: Pull complete [2023-03-16T05:00:47.581Z] bab4dde63d76: Pull complete [2023-03-16T05:00:47.581Z] bde34c3a00c8: Pull complete [2023-03-16T05:00:47.841Z] b352a97aabf1: Pull complete [2023-03-16T05:00:47.841Z] 4872d77fe225: Pull complete [2023-03-16T05:00:47.841Z] 5851b861e8e6: Pull complete [2023-03-16T05:00:47.841Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-16T05:00:47.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T05:00:47.841Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T05:00:48.081Z] prd-ubuntu20.04-docker-8c-8g-2352 does not seem to be running inside a container [2023-03-16T05:00:48.119Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1390 -v /w/workspace/gexfoundry_device-sdk-go_PR-1390:/w/workspace/gexfoundry_device-sdk-go_PR-1390:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1390@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1390@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-03-16T05:00:49.710Z] $ docker top d664149eb478414903431445336af83259561b1100ca8e1b2d601162432c844c -eo pid,comm [2023-03-16T05:00:49.766Z] 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-03-16T05:00:49.766Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-16T05:00:49.906Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T05:00:49.906Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T05:00:50.014Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T05:00:50.019Z] $ docker exec d664149eb478414903431445336af83259561b1100ca8e1b2d601162432c844c ssh-agent [2023-03-16T05:00:50.124Z] SSH_AUTH_SOCK=/tmp/ssh-tACvBLKsN80F/agent.31 [2023-03-16T05:00:50.124Z] SSH_AGENT_PID=37 [2023-03-16T05:00:50.131Z] Running ssh-add (command line suppressed) [2023-03-16T05:00:50.264Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1390@tmp/private_key_16818893496972386721.key (/w/workspace/gexfoundry_device-sdk-go_PR-1390@tmp/private_key_16818893496972386721.key) [2023-03-16T05:00:50.279Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T05:00:50.607Z] + git tag --points-at HEAD [Pipeline] } [2023-03-16T05:00:50.635Z] $ docker exec --env ******** --env ******** d664149eb478414903431445336af83259561b1100ca8e1b2d601162432c844c ssh-agent -k [2023-03-16T05:00:50.745Z] unset SSH_AUTH_SOCK; [2023-03-16T05:00:50.746Z] unset SSH_AGENT_PID; [2023-03-16T05:00:50.746Z] echo Agent pid 37 killed; [2023-03-16T05:00:50.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-16T05:00:50.835Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T05:00:50.835Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T05:00:50.952Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T05:00:50.958Z] $ docker exec d664149eb478414903431445336af83259561b1100ca8e1b2d601162432c844c ssh-agent [2023-03-16T05:00:51.064Z] SSH_AUTH_SOCK=/tmp/ssh-bPvGXlyIBLMx/agent.69 [2023-03-16T05:00:51.065Z] SSH_AGENT_PID=75 [2023-03-16T05:00:51.069Z] Running ssh-add (command line suppressed) [2023-03-16T05:00:51.181Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1390@tmp/private_key_15849954450538730169.key (/w/workspace/gexfoundry_device-sdk-go_PR-1390@tmp/private_key_15849954450538730169.key) [2023-03-16T05:00:51.197Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T05:00:51.520Z] + git semver init [2023-03-16T05:00:51.779Z] 2023-03-16 05:00:51,704 [run_init] DEBUG init version:0.0.0 force:False [2023-03-16T05:00:51.779Z] 2023-03-16 05:00:51,705 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1390/.semver [2023-03-16T05:00:51.779Z] 2023-03-16 05:00:51,706 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1390/.semver [2023-03-16T05:00:51.779Z] 2023-03-16 05:00:51,706 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1390/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1390, universal_newlines=False, shell=None, istream=None) [2023-03-16T05:00:52.719Z] 2023-03-16 05:00:52,608 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1390/.git/info/exclude [2023-03-16T05:00:52.719Z] 2023-03-16 05:00:52,609 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1390/.semver/PR-1390 with force:False [2023-03-16T05:00:52.719Z] 2023-03-16 05:00:52,609 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1390/.semver/PR-1390 [2023-03-16T05:00:52.719Z] 2023-03-16 05:00:52,613 [execute] INFO git cat-file --batch-check [2023-03-16T05:00:52.719Z] 2023-03-16 05:00:52,614 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1390/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T05:00:52.719Z] 2023-03-16 05:00:52,621 [execute] INFO git cat-file --batch [2023-03-16T05:00:52.719Z] 2023-03-16 05:00:52,621 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1390/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T05:00:52.719Z] 2023-03-16 05:00:52,627 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1390/.semver/PR-1390 [2023-03-16T05:00:52.719Z] 0.0.0 [Pipeline] } [2023-03-16T05:00:52.746Z] $ docker exec --env ******** --env ******** d664149eb478414903431445336af83259561b1100ca8e1b2d601162432c844c ssh-agent -k [2023-03-16T05:00:52.849Z] unset SSH_AUTH_SOCK; [2023-03-16T05:00:52.849Z] unset SSH_AGENT_PID; [2023-03-16T05:00:52.849Z] echo Agent pid 75 killed; [2023-03-16T05:00:52.856Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-16T05:00:53.271Z] + git semver [Pipeline] } [2023-03-16T05:00:53.556Z] $ docker stop --time=1 d664149eb478414903431445336af83259561b1100ca8e1b2d601162432c844c [2023-03-16T05:00:54.912Z] $ docker rm -f --volumes d664149eb478414903431445336af83259561b1100ca8e1b2d601162432c844c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T05:00:55.313Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-16T05:00:55.600Z] Stashed 1 file(s) [Pipeline] echo [2023-03-16T05:00:55.618Z] [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-03-16T05:00:56.236Z] provisioning config files... [2023-03-16T05:00:56.246Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1390@tmp/config7205489130496645547tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:00:56.602Z] ---> docker-login.sh [2023-03-16T05:00:56.602Z] nexus3.edgexfoundry.org:10001 [2023-03-16T05:00:56.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T05:00:56.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T05:00:56.602Z] Configure a credential helper to remove this warning. See [2023-03-16T05:00:56.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T05:00:56.602Z] [2023-03-16T05:00:56.602Z] Login Succeeded [2023-03-16T05:00:56.602Z] nexus3.edgexfoundry.org:10002 [2023-03-16T05:00:56.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T05:00:56.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T05:00:56.602Z] Configure a credential helper to remove this warning. See [2023-03-16T05:00:56.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T05:00:56.602Z] [2023-03-16T05:00:56.602Z] Login Succeeded [2023-03-16T05:00:56.602Z] nexus3.edgexfoundry.org:10003 [2023-03-16T05:00:56.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T05:00:56.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T05:00:56.864Z] Configure a credential helper to remove this warning. See [2023-03-16T05:00:56.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T05:00:56.864Z] [2023-03-16T05:00:56.864Z] Login Succeeded [2023-03-16T05:00:56.864Z] nexus3.edgexfoundry.org:10004 [2023-03-16T05:00:56.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T05:00:56.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T05:00:56.864Z] Configure a credential helper to remove this warning. See [2023-03-16T05:00:56.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T05:00:56.864Z] [2023-03-16T05:00:56.864Z] Login Succeeded [2023-03-16T05:00:56.864Z] docker.io [2023-03-16T05:00:57.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T05:00:57.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T05:00:57.123Z] Configure a credential helper to remove this warning. See [2023-03-16T05:00:57.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T05:00:57.123Z] [2023-03-16T05:00:57.123Z] Login Succeeded [2023-03-16T05:00:57.123Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T05:00:57.154Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T05:00:57.336Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T05:00:57.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T05:00:57.410Z] ========================================================= [2023-03-16T05:00:57.410Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-16T05:00:57.410Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:00:57.867Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T05:00:57.867Z] Sending build context to Docker daemon 10.82MB [2023-03-16T05:00:57.867Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T05:00:57.867Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-16T05:00:57.867Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-16T05:00:57.867Z] 63b65145d645: Pulling fs layer [2023-03-16T05:00:57.867Z] a2d21d5440eb: Pulling fs layer [2023-03-16T05:00:57.867Z] 935e6c44a52c: Pulling fs layer [2023-03-16T05:00:57.867Z] 94cc34f8dd06: Pulling fs layer [2023-03-16T05:00:57.867Z] 30dea6a524f1: Pulling fs layer [2023-03-16T05:00:57.867Z] a2aff8979fd8: Pulling fs layer [2023-03-16T05:00:57.867Z] 6808be2612f2: Pulling fs layer [2023-03-16T05:00:57.867Z] f25807f1079a: Pulling fs layer [2023-03-16T05:00:57.867Z] 30dea6a524f1: Waiting [2023-03-16T05:00:57.867Z] a2aff8979fd8: Waiting [2023-03-16T05:00:57.867Z] 6808be2612f2: Waiting [2023-03-16T05:00:57.867Z] f25807f1079a: Waiting [2023-03-16T05:00:57.867Z] 94cc34f8dd06: Waiting [2023-03-16T05:00:57.867Z] a2d21d5440eb: Verifying Checksum [2023-03-16T05:00:57.867Z] a2d21d5440eb: Download complete [2023-03-16T05:00:57.867Z] 94cc34f8dd06: Verifying Checksum [2023-03-16T05:00:57.867Z] 94cc34f8dd06: Download complete [2023-03-16T05:00:58.129Z] 30dea6a524f1: Verifying Checksum [2023-03-16T05:00:58.129Z] 30dea6a524f1: Download complete [2023-03-16T05:00:58.129Z] 63b65145d645: Download complete [2023-03-16T05:00:58.129Z] a2aff8979fd8: Verifying Checksum [2023-03-16T05:00:58.129Z] a2aff8979fd8: Download complete [2023-03-16T05:00:58.129Z] 63b65145d645: Pull complete [2023-03-16T05:00:58.390Z] a2d21d5440eb: Pull complete [2023-03-16T05:00:58.390Z] f25807f1079a: Verifying Checksum [2023-03-16T05:00:58.390Z] f25807f1079a: Download complete [2023-03-16T05:00:58.960Z] 935e6c44a52c: Verifying Checksum [2023-03-16T05:00:58.960Z] 935e6c44a52c: Download complete [2023-03-16T05:00:58.960Z] 6808be2612f2: Verifying Checksum [2023-03-16T05:00:58.960Z] 6808be2612f2: Download complete [2023-03-16T05:01:02.252Z] 935e6c44a52c: Pull complete [2023-03-16T05:01:02.252Z] 94cc34f8dd06: Pull complete [2023-03-16T05:01:02.510Z] 30dea6a524f1: Pull complete [2023-03-16T05:01:02.510Z] a2aff8979fd8: Pull complete [2023-03-16T05:01:05.036Z] 6808be2612f2: Pull complete [2023-03-16T05:01:05.971Z] f25807f1079a: Pull complete [2023-03-16T05:01:05.971Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-16T05:01:05.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-16T05:01:05.971Z] ---> 3b553350e43f [2023-03-16T05:01:05.971Z] Step 3/10 : ARG MAKE=make build [2023-03-16T05:01:07.900Z] ---> Running in eda4e8ce7fac [2023-03-16T05:01:07.900Z] Removing intermediate container eda4e8ce7fac [2023-03-16T05:01:07.900Z] ---> 51fb09becaac [2023-03-16T05:01:07.900Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-16T05:01:08.159Z] ---> Running in cbb2644223c6 [2023-03-16T05:01:08.159Z] Removing intermediate container cbb2644223c6 [2023-03-16T05:01:08.159Z] ---> 00ecb71c6d6f [2023-03-16T05:01:08.159Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-16T05:01:08.418Z] ---> Running in b756396b4e87 [2023-03-16T05:01:08.418Z] Removing intermediate container b756396b4e87 [2023-03-16T05:01:08.418Z] ---> d5cc5b47f134 [2023-03-16T05:01:08.418Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-16T05:01:08.418Z] ---> Running in 61d7139c1332 [2023-03-16T05:01:08.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T05:01:08.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T05:01:09.201Z] OK: 265 MiB in 53 packages [2023-03-16T05:01:09.770Z] Removing intermediate container 61d7139c1332 [2023-03-16T05:01:09.770Z] ---> e1fc58caf7d2 [2023-03-16T05:01:09.770Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-16T05:01:09.770Z] ---> 104f78dbe0bf [2023-03-16T05:01:09.770Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T05:01:09.770Z] ---> Running in f34e0c8c7dd7 [2023-03-16T05:01:11.037Z] Still waiting to schedule task [2023-03-16T05:01:11.037Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2353’ is offline [2023-03-16T05:01:31.714Z] Removing intermediate container f34e0c8c7dd7 [2023-03-16T05:01:31.714Z] ---> 8d77c5569f6e [2023-03-16T05:01:31.714Z] Step 9/10 : COPY . . [2023-03-16T05:01:31.714Z] ---> e25a4d2848af [2023-03-16T05:01:31.714Z] Step 10/10 : RUN ${MAKE} [2023-03-16T05:01:31.714Z] ---> Running in 64f770747a57 [2023-03-16T05:01:31.714Z] noop [2023-03-16T05:01:31.714Z] Removing intermediate container 64f770747a57 [2023-03-16T05:01:31.714Z] ---> 7a76d12fd978 [2023-03-16T05:01:31.714Z] Successfully built 7a76d12fd978 [2023-03-16T05:01:31.714Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:01:32.149Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T05:01:32.149Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T05:01:32.309Z] prd-ubuntu20.04-docker-8c-8g-2352 does not seem to be running inside a container [2023-03-16T05:01:32.341Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1390 -v /w/workspace/gexfoundry_device-sdk-go_PR-1390:/w/workspace/gexfoundry_device-sdk-go_PR-1390:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1390@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1390@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-03-16T05:01:32.721Z] $ docker top de9561d0382433a2845adfab519c2e05c823379d7f4c1ca02a4834636365d52f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T05:01:33.102Z] + go version [2023-03-16T05:01:33.102Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-16T05:01:33.132Z] $ docker stop --time=1 de9561d0382433a2845adfab519c2e05c823379d7f4c1ca02a4834636365d52f [2023-03-16T05:01:34.402Z] $ docker rm -f --volumes de9561d0382433a2845adfab519c2e05c823379d7f4c1ca02a4834636365d52f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:01:35.147Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T05:01:35.147Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T05:01:35.303Z] prd-ubuntu20.04-docker-8c-8g-2352 does not seem to be running inside a container [2023-03-16T05:01:35.341Z] $ 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-1390 -v /w/workspace/gexfoundry_device-sdk-go_PR-1390:/w/workspace/gexfoundry_device-sdk-go_PR-1390:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1390@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1390@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-03-16T05:01:35.706Z] $ docker top 1e2436e48e20bf91585839957afdcdccadd28a5679e22cebb6fbf1ada0a7f0a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T05:01:36.097Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1390 [Pipeline] fileExists [Pipeline] sh [2023-03-16T05:01:36.454Z] + make test [2023-03-16T05:01:36.454Z] go test -race -coverprofile=coverage.out ./... [2023-03-16T05:01:43.027Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-16T05:01:58.023Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-16T05:01:58.023Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-16T05:01:58.023Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-16T05:01:58.023Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-16T05:01:58.023Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-16T05:01:58.282Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.054s coverage: 27.6% of statements [2023-03-16T05:01:58.540Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-16T05:01:58.540Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-16T05:01:58.540Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 78.9% of statements [2023-03-16T05:01:58.540Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.078s coverage: 86.0% of statements [2023-03-16T05:01:59.473Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-16T05:01:59.731Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.130s coverage: 75.9% of statements [2023-03-16T05:01:59.731Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-16T05:01:59.731Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-16T05:01:59.731Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-16T05:02:00.669Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-16T05:02:03.202Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.075s coverage: 15.2% of statements [2023-03-16T05:02:03.202Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.083s coverage: 65.7% of statements [2023-03-16T05:02:03.202Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.108s coverage: 89.2% of statements [2023-03-16T05:02:03.202Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements [2023-03-16T05:02:25.124Z] GO111MODULE=on go vet ./... [2023-03-16T05:02:26.497Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-16T05:02:26.497Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-16T05:02:26.497Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-16T05:02:26.536Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-16T05:02:26.568Z] $ docker stop --time=1 1e2436e48e20bf91585839957afdcdccadd28a5679e22cebb6fbf1ada0a7f0a8 [2023-03-16T05:02:28.696Z] $ docker rm -f --volumes 1e2436e48e20bf91585839957afdcdccadd28a5679e22cebb6fbf1ada0a7f0a8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T05:02:29.313Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-16T05:02:29.391Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-16T05:02:29.957Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T05:02:30.267Z] + ls -al . [2023-03-16T05:02:30.267Z] total 276 [2023-03-16T05:02:30.267Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 05:01 . [2023-03-16T05:02:30.267Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 05:00 .. [2023-03-16T05:02:30.267Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 05:00 .dockerignore [2023-03-16T05:02:30.267Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 05:00 .git [2023-03-16T05:02:30.267Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 05:00 .github [2023-03-16T05:02:30.267Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 16 05:00 .gitignore [2023-03-16T05:02:30.267Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 05:00 .golangci.yml [2023-03-16T05:02:30.267Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 05:00 .semver [2023-03-16T05:02:30.267Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 16 05:00 CHANGELOG.md [2023-03-16T05:02:30.267Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 05:00 GOVERNANCE.md [2023-03-16T05:02:30.267Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 16 05:00 Jenkinsfile [2023-03-16T05:02:30.267Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 16 05:00 LICENSE [2023-03-16T05:02:30.267Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 16 05:00 Makefile [2023-03-16T05:02:30.267Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 16 05:00 OWNERS.md [2023-03-16T05:02:30.267Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 16 05:00 README.md [2023-03-16T05:02:30.267Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 05:00 VERSION [2023-03-16T05:02:30.267Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 05:00 bin [2023-03-16T05:02:30.267Z] -rw-r--r-- 1 jenkins jenkins 109536 Mar 16 05:02 coverage.out [2023-03-16T05:02:30.267Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 16 05:00 example [2023-03-16T05:02:30.267Z] -rw-rw-r-- 1 jenkins jenkins 3279 Mar 16 05:00 go.mod [2023-03-16T05:02:30.267Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 16 05:00 go.sum [2023-03-16T05:02:30.267Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 05:00 internal [2023-03-16T05:02:30.267Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 05:00 openapi [2023-03-16T05:02:30.267Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 05:00 pkg [2023-03-16T05:02:30.267Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 05:00 snap [2023-03-16T05:02:30.267Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 16 05:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:02:30.648Z] + 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=6d3929520851633f8c3ce4077c0ff80ab8aa4443 --label arch=amd64 --label version=0.0.0 . [2023-03-16T05:02:30.648Z] Sending build context to Docker daemon 10.93MB [2023-03-16T05:02:30.648Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T05:02:30.648Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-16T05:02:30.648Z] ---> 7a76d12fd978 [2023-03-16T05:02:30.648Z] Step 3/23 : ARG MAKE=make build [2023-03-16T05:02:30.909Z] ---> Running in a819b6920daa [2023-03-16T05:02:30.909Z] Removing intermediate container a819b6920daa [2023-03-16T05:02:30.909Z] ---> 67caf17300c7 [2023-03-16T05:02:30.909Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-16T05:02:30.909Z] ---> Running in c70faf671879 [2023-03-16T05:02:30.909Z] Removing intermediate container c70faf671879 [2023-03-16T05:02:30.909Z] ---> 11bd11fd94cb [2023-03-16T05:02:30.909Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-16T05:02:31.168Z] ---> Running in 120cb4b8d262 [2023-03-16T05:02:31.168Z] Removing intermediate container 120cb4b8d262 [2023-03-16T05:02:31.168Z] ---> 656d99cf18f0 [2023-03-16T05:02:31.168Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-16T05:02:31.168Z] ---> Running in ee9b2f902d17 [2023-03-16T05:02:31.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T05:02:31.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T05:02:31.945Z] OK: 265 MiB in 53 packages [2023-03-16T05:02:32.204Z] Removing intermediate container ee9b2f902d17 [2023-03-16T05:02:32.204Z] ---> 1a239fe78291 [2023-03-16T05:02:32.204Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-16T05:02:32.462Z] ---> 36027c76fef6 [2023-03-16T05:02:32.462Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T05:02:32.462Z] ---> Running in 5d4dca101fea [2023-03-16T05:02:33.399Z] Removing intermediate container 5d4dca101fea [2023-03-16T05:02:33.399Z] ---> 14041b3e31c7 [2023-03-16T05:02:33.399Z] Step 9/23 : COPY . . [2023-03-16T05:02:33.659Z] ---> 6710c2c3f5b9 [2023-03-16T05:02:33.659Z] Step 10/23 : RUN ${MAKE} [2023-03-16T05:02:33.918Z] ---> Running in 1033f205c2a2 [2023-03-16T05:02:34.175Z] 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-03-16T05:02:52.252Z] Removing intermediate container 1033f205c2a2 [2023-03-16T05:02:52.252Z] ---> 979e2a8bc520 [2023-03-16T05:02:52.252Z] Step 11/23 : FROM alpine:3.17 [2023-03-16T05:02:52.252Z] 3.17: Pulling from library/alpine [2023-03-16T05:02:52.252Z] 63b65145d645: Already exists [2023-03-16T05:02:52.252Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-16T05:02:52.252Z] Status: Downloaded newer image for alpine:3.17 [2023-03-16T05:02:52.252Z] ---> b2aa39c304c2 [2023-03-16T05:02:52.252Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-16T05:02:52.252Z] ---> Running in fe8f425639d6 [2023-03-16T05:02:52.252Z] Removing intermediate container fe8f425639d6 [2023-03-16T05:02:52.252Z] ---> cc2f1c09688d [2023-03-16T05:02:52.252Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-16T05:02:52.252Z] ---> Running in 3d203f4edccc [2023-03-16T05:02:52.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T05:02:52.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T05:02:52.252Z] OK: 7 MiB in 15 packages [2023-03-16T05:02:52.252Z] Removing intermediate container 3d203f4edccc [2023-03-16T05:02:52.252Z] ---> 149d3ccf20d8 [2023-03-16T05:02:52.252Z] Step 14/23 : WORKDIR / [2023-03-16T05:02:52.252Z] ---> Running in 7f20b31b7cd3 [2023-03-16T05:02:52.252Z] Removing intermediate container 7f20b31b7cd3 [2023-03-16T05:02:52.252Z] ---> 3b3e8bc5a084 [2023-03-16T05:02:52.252Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-16T05:02:52.510Z] ---> 667556407c27 [2023-03-16T05:02:52.510Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-16T05:02:53.078Z] ---> 4f786b14942a [2023-03-16T05:02:53.078Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-16T05:02:53.078Z] ---> 647e857f4a56 [2023-03-16T05:02:53.078Z] Step 18/23 : EXPOSE 59999 [2023-03-16T05:02:53.078Z] ---> Running in 098ec76c5ad6 [2023-03-16T05:02:53.078Z] Removing intermediate container 098ec76c5ad6 [2023-03-16T05:02:53.078Z] ---> 7d1cf30a2228 [2023-03-16T05:02:53.078Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-16T05:02:53.078Z] ---> Running in e443d49f9ed1 [2023-03-16T05:02:53.338Z] Removing intermediate container e443d49f9ed1 [2023-03-16T05:02:53.338Z] ---> af776b583e27 [2023-03-16T05:02:53.338Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-16T05:02:53.338Z] ---> Running in fc51b90923b1 [2023-03-16T05:02:53.338Z] Removing intermediate container fc51b90923b1 [2023-03-16T05:02:53.338Z] ---> 19289c613e2f [2023-03-16T05:02:53.338Z] Step 21/23 : LABEL arch=amd64 [2023-03-16T05:02:53.338Z] ---> Running in 1dde0975ac00 [2023-03-16T05:02:53.597Z] Removing intermediate container 1dde0975ac00 [2023-03-16T05:02:53.597Z] ---> 865f4e5e2cfe [2023-03-16T05:02:53.597Z] Step 22/23 : LABEL git_sha=6d3929520851633f8c3ce4077c0ff80ab8aa4443 [2023-03-16T05:02:53.597Z] ---> Running in 1f6a4dfa22d8 [2023-03-16T05:02:53.597Z] Removing intermediate container 1f6a4dfa22d8 [2023-03-16T05:02:53.597Z] ---> f60856bc0323 [2023-03-16T05:02:53.597Z] Step 23/23 : LABEL version=0.0.0 [2023-03-16T05:02:53.597Z] ---> Running in 7e7631d52fba [2023-03-16T05:02:53.856Z] Removing intermediate container 7e7631d52fba [2023-03-16T05:02:53.856Z] ---> 08443c09bd26 [2023-03-16T05:02:53.856Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-16T05:02:53.856Z] Successfully built 08443c09bd26 [2023-03-16T05:02:53.856Z] 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-03-16T05:02:54.693Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T05:02:54.693Z] [2023-03-16T05:02:54.693Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:02:55.072Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T05:02:55.072Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-16T05:02:55.072Z] 5eb5b503b376: Pulling fs layer [2023-03-16T05:02:55.072Z] 5c69ac0246d0: Pulling fs layer [2023-03-16T05:02:55.072Z] ec43610c2a17: Pulling fs layer [2023-03-16T05:02:55.072Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-16T05:02:55.072Z] 33b1e0a273af: Pulling fs layer [2023-03-16T05:02:55.072Z] 5d3b04190fa2: Pulling fs layer [2023-03-16T05:02:55.072Z] 2f39f015ded8: Pulling fs layer [2023-03-16T05:02:55.072Z] 5d3b04190fa2: Waiting [2023-03-16T05:02:55.072Z] 33b1e0a273af: Waiting [2023-03-16T05:02:55.072Z] 2f39f015ded8: Waiting [2023-03-16T05:02:55.072Z] 3a2ae6a8a46f: Waiting [2023-03-16T05:02:55.072Z] 5c69ac0246d0: Download complete [2023-03-16T05:02:55.072Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-16T05:02:55.072Z] 3a2ae6a8a46f: Download complete [2023-03-16T05:02:55.072Z] 33b1e0a273af: Verifying Checksum [2023-03-16T05:02:55.072Z] 33b1e0a273af: Download complete [2023-03-16T05:02:55.331Z] ec43610c2a17: Verifying Checksum [2023-03-16T05:02:55.331Z] ec43610c2a17: Download complete [2023-03-16T05:02:55.331Z] 5d3b04190fa2: Verifying Checksum [2023-03-16T05:02:55.331Z] 5d3b04190fa2: Download complete [2023-03-16T05:02:55.331Z] 5eb5b503b376: Verifying Checksum [2023-03-16T05:02:55.331Z] 5eb5b503b376: Download complete [2023-03-16T05:02:55.898Z] 2f39f015ded8: Verifying Checksum [2023-03-16T05:02:55.898Z] 2f39f015ded8: Download complete [2023-03-16T05:02:56.464Z] 5eb5b503b376: Pull complete [2023-03-16T05:02:56.464Z] 5c69ac0246d0: Pull complete [2023-03-16T05:02:57.042Z] ec43610c2a17: Pull complete [2023-03-16T05:02:57.042Z] 3a2ae6a8a46f: Pull complete [2023-03-16T05:02:57.300Z] 33b1e0a273af: Pull complete [2023-03-16T05:02:57.300Z] 5d3b04190fa2: Pull complete [2023-03-16T05:03:01.483Z] 2f39f015ded8: Pull complete [2023-03-16T05:03:01.483Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-16T05:03:01.483Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T05:03:01.483Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T05:03:01.706Z] prd-ubuntu20.04-docker-8c-8g-2352 does not seem to be running inside a container [2023-03-16T05:03:01.751Z] $ 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-1390 -v /w/workspace/gexfoundry_device-sdk-go_PR-1390:/w/workspace/gexfoundry_device-sdk-go_PR-1390:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1390@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1390@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-03-16T05:03:03.553Z] $ docker top dcff3142dbb89bd570f380b57efd5d69aefe818d821385d9e526e48425264b1a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:03:03.983Z] ---> job-cost.sh [2023-03-16T05:03:03.983Z] lf-activate-venv: SKIPPING [2023-03-16T05:03:03.983Z] INFO: No Stack... [2023-03-16T05:03:04.242Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T05:03:04.501Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T05:03:04.817Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1390/archives/cost.csv [2023-03-16T05:03:04.818Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T05:03:04.857Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1390-1-stack-cost] [2023-03-16T05:03:04.861Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1390-1-stack-cost] did not exist. Created. [2023-03-16T05:03:04.862Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1390-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T05:03:05.247Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-16T05:03:05.295Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T05:03:05.320Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1390-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T05:03:05.400Z] $ docker stop --time=1 dcff3142dbb89bd570f380b57efd5d69aefe818d821385d9e526e48425264b1a [2023-03-16T05:03:06.559Z] $ docker rm -f --volumes dcff3142dbb89bd570f380b57efd5d69aefe818d821385d9e526e48425264b1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-16T05:03:31.606Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2354 in /w/workspace/gexfoundry_device-sdk-go_PR-1390 [Pipeline] { [Pipeline] ws [2023-03-16T05:03:31.662Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-16T05:03:31.733Z] The recommended git tool is: git [2023-03-16T05:03:37.670Z] using credential edgex-jenkins-ssh [2023-03-16T05:03:37.688Z] Cloning the remote Git repository [2023-03-16T05:03:37.741Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-16T05:03:37.848Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-16T05:03:38.025Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-16T05:03:38.026Z] > git --version # timeout=10 [2023-03-16T05:03:38.047Z] > git --version # 'git version 2.25.1' [2023-03-16T05:03:38.049Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T05:03:38.198Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T05:03:39.872Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-16T05:03:39.902Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T05:03:41.547Z] Merging remotes/origin/main commit 6f965a0b85b542f54aab8de1c6c68203c2ba52ef into PR head commit 6d3929520851633f8c3ce4077c0ff80ab8aa4443 [2023-03-16T05:03:41.879Z] Merge succeeded, producing 6d3929520851633f8c3ce4077c0ff80ab8aa4443 [2023-03-16T05:03:41.879Z] Checking out Revision 6d3929520851633f8c3ce4077c0ff80ab8aa4443 (PR-1390) [2023-03-16T05:03:40.885Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-16T05:03:40.932Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-16T05:03:40.933Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T05:03:40.956Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1390/head:refs/remotes/origin/PR-1390 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-16T05:03:41.568Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T05:03:41.658Z] > git checkout -f 6d3929520851633f8c3ce4077c0ff80ab8aa4443 # timeout=10 [2023-03-16T05:03:41.766Z] > git remote # timeout=10 [2023-03-16T05:03:41.789Z] > git config --get remote.origin.url # timeout=10 [2023-03-16T05:03:41.814Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T05:03:41.829Z] > git merge 6f965a0b85b542f54aab8de1c6c68203c2ba52ef # timeout=10 [2023-03-16T05:03:41.860Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-16T05:03:41.889Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T05:03:42.448Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-03-16T05:03:42.504Z] > git --version # timeout=10 [2023-03-16T05:03:42.516Z] > git --version # 'git version 2.25.1' [2023-03-16T05:03:42.531Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T05:03:41.908Z] > git checkout -f 6d3929520851633f8c3ce4077c0ff80ab8aa4443 # timeout=10 [2023-03-16T05:03:43.735Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-16T05:03:43.735Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T05:03:43.735Z] Dload Upload Total Spent Left Speed [2023-03-16T05:03:43.735Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh [2023-03-16T05:03:44.367Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-16T05:03:44.718Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-16T05:03:44.718Z] + sudo tee /etc/docker/daemon.new [2023-03-16T05:03:44.718Z] { [2023-03-16T05:03:44.718Z] "registry-mirrors": [ [2023-03-16T05:03:44.718Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-16T05:03:44.718Z] ], [2023-03-16T05:03:44.718Z] "bip": "10.250.0.254/24", [2023-03-16T05:03:44.718Z] "hosts": [ [2023-03-16T05:03:44.718Z] "tcp://0.0.0.0:5555", [2023-03-16T05:03:44.718Z] "unix:///var/run/docker.sock" [2023-03-16T05:03:44.718Z] ], [2023-03-16T05:03:44.718Z] "mtu": 1458, [2023-03-16T05:03:44.718Z] "selinux-enabled": true, [2023-03-16T05:03:44.718Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-16T05:03:44.718Z] } [Pipeline] sh [2023-03-16T05:03:45.067Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-16T05:03:45.437Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T05:04:03.762Z] provisioning config files... [2023-03-16T05:04:03.793Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3707150967039056945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:04:04.198Z] ---> docker-login.sh [2023-03-16T05:04:04.198Z] nexus3.edgexfoundry.org:10001 [2023-03-16T05:04:04.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T05:04:04.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T05:04:04.791Z] Configure a credential helper to remove this warning. See [2023-03-16T05:04:04.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T05:04:04.791Z] [2023-03-16T05:04:04.791Z] Login Succeeded [2023-03-16T05:04:04.791Z] nexus3.edgexfoundry.org:10002 [2023-03-16T05:04:05.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T05:04:05.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T05:04:05.332Z] Configure a credential helper to remove this warning. See [2023-03-16T05:04:05.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T05:04:05.332Z] [2023-03-16T05:04:05.332Z] Login Succeeded [2023-03-16T05:04:05.332Z] nexus3.edgexfoundry.org:10003 [2023-03-16T05:04:05.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T05:04:05.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T05:04:05.603Z] Configure a credential helper to remove this warning. See [2023-03-16T05:04:05.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T05:04:05.603Z] [2023-03-16T05:04:05.603Z] Login Succeeded [2023-03-16T05:04:05.603Z] nexus3.edgexfoundry.org:10004 [2023-03-16T05:04:05.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T05:04:05.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T05:04:05.879Z] Configure a credential helper to remove this warning. See [2023-03-16T05:04:05.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T05:04:05.879Z] [2023-03-16T05:04:05.879Z] Login Succeeded [2023-03-16T05:04:05.879Z] docker.io [2023-03-16T05:04:06.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T05:04:06.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T05:04:06.421Z] Configure a credential helper to remove this warning. See [2023-03-16T05:04:06.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T05:04:06.421Z] [2023-03-16T05:04:06.421Z] Login Succeeded [2023-03-16T05:04:06.421Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T05:04:06.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T05:04:06.858Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T05:04:06.894Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T05:04:06.925Z] ========================================================= [2023-03-16T05:04:06.925Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-16T05:04:06.925Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:04:07.429Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-16T05:04:07.700Z] Sending build context to Docker daemon 5.81MB [2023-03-16T05:04:07.972Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T05:04:07.972Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-16T05:04:07.972Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-16T05:04:07.972Z] af6eaf76a39c: Pulling fs layer [2023-03-16T05:04:07.972Z] 55522c791124: Pulling fs layer [2023-03-16T05:04:07.972Z] ce5c4a1c91eb: Pulling fs layer [2023-03-16T05:04:07.972Z] 169dfbe0d373: Pulling fs layer [2023-03-16T05:04:07.972Z] e1ff8fa3b103: Pulling fs layer [2023-03-16T05:04:07.973Z] 52ebb69f0ebf: Pulling fs layer [2023-03-16T05:04:07.973Z] 5abe8eddf0d5: Pulling fs layer [2023-03-16T05:04:07.973Z] 52ebb69f0ebf: Waiting [2023-03-16T05:04:07.973Z] 169dfbe0d373: Waiting [2023-03-16T05:04:07.973Z] 5abe8eddf0d5: Waiting [2023-03-16T05:04:07.973Z] e1ff8fa3b103: Waiting [2023-03-16T05:04:07.973Z] 55522c791124: Verifying Checksum [2023-03-16T05:04:07.973Z] 55522c791124: Download complete [2023-03-16T05:04:08.251Z] 169dfbe0d373: Verifying Checksum [2023-03-16T05:04:08.251Z] 169dfbe0d373: Download complete [2023-03-16T05:04:08.251Z] e1ff8fa3b103: Verifying Checksum [2023-03-16T05:04:08.251Z] e1ff8fa3b103: Download complete [2023-03-16T05:04:08.251Z] af6eaf76a39c: Verifying Checksum [2023-03-16T05:04:08.251Z] af6eaf76a39c: Download complete [2023-03-16T05:04:09.240Z] 5abe8eddf0d5: Verifying Checksum [2023-03-16T05:04:09.240Z] 5abe8eddf0d5: Download complete [2023-03-16T05:04:09.240Z] af6eaf76a39c: Pull complete [2023-03-16T05:04:09.840Z] 55522c791124: Pull complete [2023-03-16T05:04:10.804Z] ce5c4a1c91eb: Verifying Checksum [2023-03-16T05:04:10.804Z] ce5c4a1c91eb: Download complete [2023-03-16T05:04:10.804Z] 52ebb69f0ebf: Verifying Checksum [2023-03-16T05:04:10.804Z] 52ebb69f0ebf: Download complete [2023-03-16T05:04:23.260Z] ce5c4a1c91eb: Pull complete [2023-03-16T05:04:23.260Z] 169dfbe0d373: Pull complete [2023-03-16T05:04:23.260Z] e1ff8fa3b103: Pull complete [2023-03-16T05:04:29.936Z] 52ebb69f0ebf: Pull complete [2023-03-16T05:04:31.356Z] 5abe8eddf0d5: Pull complete [2023-03-16T05:04:31.357Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-16T05:04:31.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-16T05:04:31.357Z] ---> 6cb57ee374ae [2023-03-16T05:04:31.357Z] Step 3/10 : ARG MAKE=make build [2023-03-16T05:04:33.317Z] ---> Running in 841a24985928 [2023-03-16T05:04:33.317Z] Removing intermediate container 841a24985928 [2023-03-16T05:04:33.317Z] ---> 2dd0c567d378 [2023-03-16T05:04:33.317Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-16T05:04:33.317Z] ---> Running in f0d485a0aee8 [2023-03-16T05:04:33.588Z] Removing intermediate container f0d485a0aee8 [2023-03-16T05:04:33.588Z] ---> de093c902d21 [2023-03-16T05:04:33.588Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-16T05:04:33.588Z] ---> Running in 46d1743af15c [2023-03-16T05:04:34.178Z] Removing intermediate container 46d1743af15c [2023-03-16T05:04:34.178Z] ---> 859771d2bd53 [2023-03-16T05:04:34.178Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-16T05:04:34.178Z] ---> Running in bef10b7665ce [2023-03-16T05:04:35.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T05:04:36.551Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T05:04:37.512Z] OK: 263 MiB in 53 packages [2023-03-16T05:04:38.479Z] Removing intermediate container bef10b7665ce [2023-03-16T05:04:38.479Z] ---> ba4437365811 [2023-03-16T05:04:38.479Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-16T05:04:41.063Z] ---> 8ecb4009314d [2023-03-16T05:04:41.063Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T05:04:41.063Z] ---> Running in 782fede74dc9 [2023-03-16T05:05:48.955Z] Removing intermediate container 782fede74dc9 [2023-03-16T05:05:48.955Z] ---> acae87b101fc [2023-03-16T05:05:48.955Z] Step 9/10 : COPY . . [2023-03-16T05:05:48.955Z] ---> 6b19106c7c28 [2023-03-16T05:05:48.955Z] Step 10/10 : RUN ${MAKE} [2023-03-16T05:05:48.955Z] ---> Running in 42212b7001dd [2023-03-16T05:05:49.221Z] noop [2023-03-16T05:05:49.803Z] Removing intermediate container 42212b7001dd [2023-03-16T05:05:49.803Z] ---> 796a885896f7 [2023-03-16T05:05:49.803Z] Successfully built 796a885896f7 [2023-03-16T05:05:49.803Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:05:50.284Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T05:05:50.284Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T05:05:50.557Z] prd-ubuntu20.04-docker-arm64-4c-16g-2354 does not seem to be running inside a container [2023-03-16T05:05:50.625Z] $ 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-03-16T05:05:51.874Z] $ docker top 2c2375feaba312e2a53cd97b5720e32c9ef6eb5b68c3e146cf18815419ac87e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T05:05:52.764Z] + go version [2023-03-16T05:05:52.764Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-16T05:05:52.800Z] $ docker stop --time=1 2c2375feaba312e2a53cd97b5720e32c9ef6eb5b68c3e146cf18815419ac87e8 [2023-03-16T05:05:54.398Z] $ docker rm -f --volumes 2c2375feaba312e2a53cd97b5720e32c9ef6eb5b68c3e146cf18815419ac87e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:05:55.217Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T05:05:55.217Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T05:05:55.478Z] prd-ubuntu20.04-docker-arm64-4c-16g-2354 does not seem to be running inside a container [2023-03-16T05:05:55.550Z] $ 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-03-16T05:05:56.733Z] $ docker top 5debc874387f70fce67eec97b309ae0f5c4546cb4a69e22470e49c782af93923 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T05:05:57.620Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-16T05:05:58.011Z] + make test [2023-03-16T05:05:58.011Z] go test -race -coverprofile=coverage.out ./... [2023-03-16T05:06:44.878Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-16T05:08:51.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-16T05:08:51.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-16T05:08:51.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-16T05:08:51.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-16T05:08:51.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-16T05:09:06.535Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.229s coverage: 27.6% of statements [2023-03-16T05:09:11.888Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.298s coverage: 78.9% of statements [2023-03-16T05:09:26.898Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-16T05:09:26.898Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-16T05:09:26.898Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.385s coverage: 86.0% of statements [2023-03-16T05:09:33.556Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-16T05:09:33.556Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.442s coverage: 75.9% of statements [2023-03-16T05:09:37.823Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-16T05:09:38.787Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-16T05:09:38.787Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-16T05:09:40.735Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.259s coverage: 15.2% of statements [2023-03-16T05:09:40.735Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.424s coverage: 65.7% of statements [2023-03-16T05:09:43.321Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.430s coverage: 89.2% of statements [2023-03-16T05:09:44.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-16T05:09:44.561Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.241s coverage: 5.5% of statements [2023-03-16T05:09:45.523Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-16T05:09:45.523Z] GO111MODULE=on go vet ./... [2023-03-16T05:12:22.277Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-16T05:12:22.277Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-16T05:12:22.277Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-16T05:12:22.315Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-16T05:12:22.344Z] $ docker stop --time=1 5debc874387f70fce67eec97b309ae0f5c4546cb4a69e22470e49c782af93923 [2023-03-16T05:12:24.425Z] $ docker rm -f --volumes 5debc874387f70fce67eec97b309ae0f5c4546cb4a69e22470e49c782af93923 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T05:12:26.281Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-16T05:12:26.314Z] Warning: overwriting stash ‘coverage-report’ [2023-03-16T05:12:27.017Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T05:12:27.623Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-16T05:12:28.057Z] + ls -al . [2023-03-16T05:12:28.057Z] total 272 [2023-03-16T05:12:28.057Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 05:06 . [2023-03-16T05:12:28.057Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 05:03 .. [2023-03-16T05:12:28.057Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 05:03 .dockerignore [2023-03-16T05:12:28.057Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 05:03 .git [2023-03-16T05:12:28.057Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 05:03 .github [2023-03-16T05:12:28.057Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 16 05:03 .gitignore [2023-03-16T05:12:28.057Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 05:03 .golangci.yml [2023-03-16T05:12:28.057Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 16 05:03 CHANGELOG.md [2023-03-16T05:12:28.057Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 05:03 GOVERNANCE.md [2023-03-16T05:12:28.057Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 16 05:03 Jenkinsfile [2023-03-16T05:12:28.057Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 16 05:03 LICENSE [2023-03-16T05:12:28.057Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 16 05:03 Makefile [2023-03-16T05:12:28.057Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 16 05:03 OWNERS.md [2023-03-16T05:12:28.057Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 16 05:03 README.md [2023-03-16T05:12:28.057Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 05:00 VERSION [2023-03-16T05:12:28.057Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 05:03 bin [2023-03-16T05:12:28.057Z] -rw-r--r-- 1 jenkins jenkins 109536 Mar 16 05:09 coverage.out [2023-03-16T05:12:28.057Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 16 05:03 example [2023-03-16T05:12:28.057Z] -rw-rw-r-- 1 jenkins jenkins 3279 Mar 16 05:03 go.mod [2023-03-16T05:12:28.057Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 16 05:03 go.sum [2023-03-16T05:12:28.057Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 05:03 internal [2023-03-16T05:12:28.057Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 05:03 openapi [2023-03-16T05:12:28.057Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 05:03 pkg [2023-03-16T05:12:28.057Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 05:03 snap [2023-03-16T05:12:28.057Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 16 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:12:28.533Z] + 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=6d3929520851633f8c3ce4077c0ff80ab8aa4443 --label arch=arm64 --label version=0.0.0 . [2023-03-16T05:12:29.153Z] Sending build context to Docker daemon 5.92MB [2023-03-16T05:12:29.153Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T05:12:29.153Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-16T05:12:29.153Z] ---> 796a885896f7 [2023-03-16T05:12:29.153Z] Step 3/23 : ARG MAKE=make build [2023-03-16T05:12:29.153Z] ---> Running in 897dfc9edb32 [2023-03-16T05:12:29.753Z] Removing intermediate container 897dfc9edb32 [2023-03-16T05:12:29.753Z] ---> 0aa5522c65a4 [2023-03-16T05:12:29.753Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-16T05:12:29.753Z] ---> Running in 10da53136850 [2023-03-16T05:12:30.044Z] Removing intermediate container 10da53136850 [2023-03-16T05:12:30.044Z] ---> 55b865fbde5b [2023-03-16T05:12:30.044Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-16T05:12:30.044Z] ---> Running in e3ec23bc19cd [2023-03-16T05:12:30.644Z] Removing intermediate container e3ec23bc19cd [2023-03-16T05:12:30.645Z] ---> 716fb336480d [2023-03-16T05:12:30.645Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-16T05:12:30.645Z] ---> Running in 71a4b07d5a22 [2023-03-16T05:12:31.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T05:12:32.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T05:12:34.004Z] OK: 263 MiB in 53 packages [2023-03-16T05:12:34.590Z] Removing intermediate container 71a4b07d5a22 [2023-03-16T05:12:34.590Z] ---> 0c6a99c95b18 [2023-03-16T05:12:34.590Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-16T05:12:35.176Z] ---> 7b78df342914 [2023-03-16T05:12:35.176Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T05:12:35.176Z] ---> Running in 60d5b8f6af3c [2023-03-16T05:12:38.530Z] Removing intermediate container 60d5b8f6af3c [2023-03-16T05:12:38.530Z] ---> a494c2cf3b45 [2023-03-16T05:12:38.530Z] Step 9/23 : COPY . . [2023-03-16T05:12:39.496Z] ---> 6cbde6dda973 [2023-03-16T05:12:39.496Z] Step 10/23 : RUN ${MAKE} [2023-03-16T05:12:39.496Z] ---> Running in 1bc6726d6842 [2023-03-16T05:12:40.459Z] 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-03-16T05:15:32.232Z] Removing intermediate container 1bc6726d6842 [2023-03-16T05:15:32.232Z] ---> f34fe7d7ddbd [2023-03-16T05:15:32.232Z] Step 11/23 : FROM alpine:3.17 [2023-03-16T05:15:32.232Z] 3.17: Pulling from library/alpine [2023-03-16T05:15:32.232Z] af6eaf76a39c: Already exists [2023-03-16T05:15:32.232Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-16T05:15:32.232Z] Status: Downloaded newer image for alpine:3.17 [2023-03-16T05:15:32.233Z] ---> d74e625d9115 [2023-03-16T05:15:32.233Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-16T05:15:32.233Z] ---> Running in e2bee4b156de [2023-03-16T05:15:32.233Z] Removing intermediate container e2bee4b156de [2023-03-16T05:15:32.233Z] ---> 9370fcc1db38 [2023-03-16T05:15:32.233Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-16T05:15:32.233Z] ---> Running in 6df34d8a8028 [2023-03-16T05:15:32.233Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T05:15:32.233Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T05:15:32.233Z] OK: 7 MiB in 15 packages [2023-03-16T05:15:32.233Z] Removing intermediate container 6df34d8a8028 [2023-03-16T05:15:32.233Z] ---> 598fc05da3cb [2023-03-16T05:15:32.233Z] Step 14/23 : WORKDIR / [2023-03-16T05:15:32.233Z] ---> Running in 19d68b2227f3 [2023-03-16T05:15:32.233Z] Removing intermediate container 19d68b2227f3 [2023-03-16T05:15:32.233Z] ---> f18a751bbb9c [2023-03-16T05:15:32.233Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-16T05:15:32.233Z] ---> 1cac5d5cbafd [2023-03-16T05:15:32.233Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-16T05:15:32.233Z] ---> 5b85de6b88ce [2023-03-16T05:15:32.233Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-16T05:15:32.233Z] ---> 244c5bd0ff09 [2023-03-16T05:15:32.233Z] Step 18/23 : EXPOSE 59999 [2023-03-16T05:15:32.233Z] ---> Running in c99e9f020eb1 [2023-03-16T05:15:32.233Z] Removing intermediate container c99e9f020eb1 [2023-03-16T05:15:32.233Z] ---> 2efa63e48a03 [2023-03-16T05:15:32.233Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-16T05:15:32.233Z] ---> Running in d2fc6e1261cd [2023-03-16T05:15:32.233Z] Removing intermediate container d2fc6e1261cd [2023-03-16T05:15:32.233Z] ---> 3d49ed60fcb9 [2023-03-16T05:15:32.233Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-16T05:15:32.233Z] ---> Running in e74a0579f1b4 [2023-03-16T05:15:32.233Z] Removing intermediate container e74a0579f1b4 [2023-03-16T05:15:32.233Z] ---> c122a9dc5c76 [2023-03-16T05:15:32.233Z] Step 21/23 : LABEL arch=arm64 [2023-03-16T05:15:32.233Z] ---> Running in 4daf8b34e399 [2023-03-16T05:15:32.233Z] Removing intermediate container 4daf8b34e399 [2023-03-16T05:15:32.233Z] ---> 9049909de15c [2023-03-16T05:15:32.233Z] Step 22/23 : LABEL git_sha=6d3929520851633f8c3ce4077c0ff80ab8aa4443 [2023-03-16T05:15:32.233Z] ---> Running in e20b11b2886f [2023-03-16T05:15:32.233Z] Removing intermediate container e20b11b2886f [2023-03-16T05:15:32.233Z] ---> 1483a945c1a0 [2023-03-16T05:15:32.233Z] Step 23/23 : LABEL version=0.0.0 [2023-03-16T05:15:32.233Z] ---> Running in b374de63c8ac [2023-03-16T05:15:32.233Z] Removing intermediate container b374de63c8ac [2023-03-16T05:15:32.233Z] ---> c773c44f1800 [2023-03-16T05:15:32.233Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-16T05:15:32.233Z] Successfully built c773c44f1800 [2023-03-16T05:15:32.233Z] 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-03-16T05:15:33.059Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T05:15:33.059Z] [2023-03-16T05:15:33.059Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:15:33.461Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T05:15:33.461Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-16T05:15:33.461Z] 8998bd30e6a1: Pulling fs layer [2023-03-16T05:15:33.461Z] 04944245beec: Pulling fs layer [2023-03-16T05:15:33.461Z] 699f458cf7ca: Pulling fs layer [2023-03-16T05:15:33.461Z] 765212b225bb: Pulling fs layer [2023-03-16T05:15:33.461Z] f23df028b6ca: Pulling fs layer [2023-03-16T05:15:33.461Z] d65c8cfc05b1: Pulling fs layer [2023-03-16T05:15:33.461Z] 2437ff75d9bd: Pulling fs layer [2023-03-16T05:15:33.461Z] 765212b225bb: Waiting [2023-03-16T05:15:33.461Z] d65c8cfc05b1: Waiting [2023-03-16T05:15:33.461Z] f23df028b6ca: Waiting [2023-03-16T05:15:33.461Z] 2437ff75d9bd: Waiting [2023-03-16T05:15:33.731Z] 04944245beec: Verifying Checksum [2023-03-16T05:15:33.731Z] 04944245beec: Download complete [2023-03-16T05:15:33.731Z] 765212b225bb: Verifying Checksum [2023-03-16T05:15:33.731Z] 765212b225bb: Download complete [2023-03-16T05:15:33.731Z] f23df028b6ca: Verifying Checksum [2023-03-16T05:15:33.731Z] f23df028b6ca: Download complete [2023-03-16T05:15:33.731Z] d65c8cfc05b1: Verifying Checksum [2023-03-16T05:15:33.731Z] d65c8cfc05b1: Download complete [2023-03-16T05:15:34.001Z] 699f458cf7ca: Download complete [2023-03-16T05:15:34.271Z] 8998bd30e6a1: Verifying Checksum [2023-03-16T05:15:34.271Z] 8998bd30e6a1: Download complete [2023-03-16T05:15:36.871Z] 2437ff75d9bd: Verifying Checksum [2023-03-16T05:15:36.871Z] 2437ff75d9bd: Download complete [2023-03-16T05:15:38.283Z] 8998bd30e6a1: Pull complete [2023-03-16T05:15:38.553Z] 04944245beec: Pull complete [2023-03-16T05:15:39.966Z] 699f458cf7ca: Pull complete [2023-03-16T05:15:39.966Z] 765212b225bb: Pull complete [2023-03-16T05:15:40.935Z] f23df028b6ca: Pull complete [2023-03-16T05:15:40.935Z] d65c8cfc05b1: Pull complete [2023-03-16T05:15:55.952Z] 2437ff75d9bd: Pull complete [2023-03-16T05:15:55.952Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-16T05:15:55.952Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T05:15:55.952Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T05:15:56.303Z] prd-ubuntu20.04-docker-arm64-4c-16g-2354 does not seem to be running inside a container [2023-03-16T05:15:56.381Z] $ 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-03-16T05:15:59.349Z] $ docker top a335a4e5c6ad9d4665c86e8d63c725c07789f0f7597c04459aac15b36fb30fe7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:16:00.310Z] ---> job-cost.sh [2023-03-16T05:16:00.310Z] lf-activate-venv: SKIPPING [2023-03-16T05:16:00.310Z] INFO: No Stack... [2023-03-16T05:16:00.898Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-16T05:16:01.867Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T05:16:02.539Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-03-16T05:16:02.539Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T05:16:02.633Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1390-1-stack-cost] [2023-03-16T05:16:02.638Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1390-1-stack-cost] did not exist. Created. [2023-03-16T05:16:02.638Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1390-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T05:16:03.370Z] /w/workspace/device-sdk-go/1@tmp/durable-dbbdf647/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-16T05:16:04.053Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-16T05:16:04.087Z] Warning: overwriting stash ‘stack-cost’ [2023-03-16T05:16:04.162Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T05:16:04.177Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1390-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T05:16:04.258Z] $ docker stop --time=1 a335a4e5c6ad9d4665c86e8d63c725c07789f0f7597c04459aac15b36fb30fe7 [2023-03-16T05:16:05.836Z] $ docker rm -f --volumes a335a4e5c6ad9d4665c86e8d63c725c07789f0f7597c04459aac15b36fb30fe7 [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-03-16T05:16:06.836Z] provisioning config files... [2023-03-16T05:16:06.843Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1390@tmp/config7298743844328965717tmp [Pipeline] { [Pipeline] sh [2023-03-16T05:16:07.170Z] + set +x [2023-03-16T05:16:07.170Z] + bash -s -- [2023-03-16T05:16:07.170Z] + curl -s https://codecov.io/bash [2023-03-16T05:16:07.170Z] [2023-03-16T05:16:07.170Z] _____ _ [2023-03-16T05:16:07.170Z] / ____| | | [2023-03-16T05:16:07.170Z] | | ___ __| | ___ ___ _____ __ [2023-03-16T05:16:07.170Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-16T05:16:07.170Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-16T05:16:07.170Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-16T05:16:07.170Z] Bash-1.0.6 [2023-03-16T05:16:07.170Z] [2023-03-16T05:16:07.170Z] [2023-03-16T05:16:07.170Z] ==> git version 2.25.1 found [2023-03-16T05:16:07.170Z] ==> 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-03-16T05:16:07.170Z] Release-Date: 2020-01-08 [2023-03-16T05:16:07.170Z] 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-03-16T05:16:07.170Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-16T05:16:07.170Z] ==> Jenkins CI detected. [2023-03-16T05:16:07.170Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1390 [2023-03-16T05:16:07.170Z] project root: . [2023-03-16T05:16:07.170Z] --> token set from env [2023-03-16T05:16:07.170Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-16T05:16:07.170Z] ==> Running gcov in . (disable via -X gcov) [2023-03-16T05:16:07.170Z] ==> Python coveragepy not found [2023-03-16T05:16:07.170Z] ==> Searching for coverage reports in: [2023-03-16T05:16:07.170Z] + . [2023-03-16T05:16:07.170Z] -> Found 1 reports [2023-03-16T05:16:07.170Z] ==> Detecting git/mercurial file structure [2023-03-16T05:16:07.170Z] ==> Reading reports [2023-03-16T05:16:07.170Z] + ./coverage.out bytes=109536 [2023-03-16T05:16:07.170Z] ==> Appending adjustments [2023-03-16T05:16:07.170Z] https://docs.codecov.io/docs/fixing-reports [2023-03-16T05:16:07.430Z] + Found adjustments [2023-03-16T05:16:07.430Z] ==> Gzipping contents [2023-03-16T05:16:07.430Z] 16K /tmp/codecov.gaN2cV.gz [2023-03-16T05:16:07.430Z] ==> Uploading reports [2023-03-16T05:16:07.430Z] url: https://codecov.io [2023-03-16T05:16:07.430Z] query: branch=PR-1390&commit=6d3929520851633f8c3ce4077c0ff80ab8aa4443&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1390%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1390&job=&cmd_args= [2023-03-16T05:16:07.430Z] -> Pinging Codecov [2023-03-16T05:16:07.430Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1390&commit=6d3929520851633f8c3ce4077c0ff80ab8aa4443&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1390%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1390&job=&cmd_args= [2023-03-16T05:16:07.688Z] -> Uploading to [2023-03-16T05:16:07.688Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-16/7E55EF52A471D76F132DFD9A03CDDE97/6d3929520851633f8c3ce4077c0ff80ab8aa4443/ab50183c-3595-48c6-9e69-b4ed4fa5ecf1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T051607Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ab950a3798f3d23bf5636eab5487e0459ee845a8387187fc8bd8eb715a7c32c2 [2023-03-16T05:16:07.688Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T05:16:07.688Z] Dload Upload Total Spent Left Speed [2023-03-16T05:16:07.946Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15253 0 0 100 15253 0 43087 --:--:-- --:--:-- --:--:-- 43087 [2023-03-16T05:16:07.946Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6d3929520851633f8c3ce4077c0ff80ab8aa4443 [Pipeline] } [2023-03-16T05:16:07.977Z] 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-03-16T05:16:09.701Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1390/archives ] [2023-03-16T05:16:09.701Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1390/archives [2023-03-16T05:16:09.701Z] total 16 [2023-03-16T05:16:09.701Z] drwxr-xr-x 3 root root 4096 Mar 16 05:03 . [2023-03-16T05:16:09.701Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 05:03 .. [2023-03-16T05:16:09.701Z] drwxr-xr-x 2 root root 4096 Mar 16 05:03 cost [2023-03-16T05:16:09.701Z] -rw-r--r-- 1 root root 86 Mar 16 05:03 cost.csv [2023-03-16T05:16:09.701Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1390/archives [2023-03-16T05:16:09.701Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1390/archives [2023-03-16T05:16:09.701Z] total 16 [2023-03-16T05:16:09.701Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 05:03 . [2023-03-16T05:16:09.701Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 05:03 .. [2023-03-16T05:16:09.701Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 05:03 cost [2023-03-16T05:16:09.701Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 16 05:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:16:10.032Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:16:10.932Z] ---> package-listing.sh [2023-03-16T05:16:10.932Z] ++ facter osfamily [2023-03-16T05:16:10.932Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-16T05:16:11.192Z] + OS_FAMILY=debian [2023-03-16T05:16:11.192Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1390 [2023-03-16T05:16:11.192Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-16T05:16:11.192Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-16T05:16:11.192Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-16T05:16:11.192Z] + PACKAGES=/tmp/packages_start.txt [2023-03-16T05:16:11.192Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1390 ']' [2023-03-16T05:16:11.192Z] + PACKAGES=/tmp/packages_end.txt [2023-03-16T05:16:11.192Z] + case "${OS_FAMILY}" in [2023-03-16T05:16:11.192Z] + dpkg -l [2023-03-16T05:16:11.192Z] + grep '^ii' [2023-03-16T05:16:11.192Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-16T05:16:11.192Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-16T05:16:11.192Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-16T05:16:11.192Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1390 ']' [2023-03-16T05:16:11.192Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1390/archives/ [2023-03-16T05:16:11.192Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1390/archives/ [Pipeline] echo [2023-03-16T05:16:11.228Z] 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-1390/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-16T05:16:11.520Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T05:16:12.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T05:16:12.153Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T05:16:12.301Z] prd-ubuntu20.04-docker-8c-8g-2352 does not seem to be running inside a container [2023-03-16T05:16:12.334Z] $ 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-1390/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-1390 -v /w/workspace/gexfoundry_device-sdk-go_PR-1390:/w/workspace/gexfoundry_device-sdk-go_PR-1390:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1390@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1390@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-03-16T05:16:12.601Z] $ docker top 1531c7e1a0df9ad4dd6e208b0a855e36feda8f6507e3951605060e01a9e104a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T05:16:12.993Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-16T05:16:13.297Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-16T05:16:13.604Z] + ls /var/log/sa-host [2023-03-16T05:16:13.605Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T05:16:13.737Z] provisioning config files... [2023-03-16T05:16:13.750Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1390@tmp/config1253084751423098919tmp [Pipeline] { [Pipeline] echo [2023-03-16T05:16:13.793Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:16:14.106Z] ---> create-netrc.sh [Pipeline] } [2023-03-16T05:16:14.135Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:16:14.527Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-16T05:16:14.557Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:16:14.867Z] ---> sudo-logs.sh [2023-03-16T05:16:14.867Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-16T05:16:14.948Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:16:15.255Z] ---> job-cost.sh [2023-03-16T05:16:15.255Z] lf-activate-venv: SKIPPING [2023-03-16T05:16:15.255Z] DEBUG: total: 0.2199999988079071 [2023-03-16T05:16:15.255Z] INFO: Retrieving Stack Cost... [2023-03-16T05:16:15.514Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T05:16:16.079Z] INFO: Archiving Costs [Pipeline] echo [2023-03-16T05:16:16.112Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T05:16:16.426Z] ---> logs-deploy.sh [2023-03-16T05:16:16.426Z] lf-activate-venv: SKIPPING [2023-03-16T05:16:16.426Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1390/1 [2023-03-16T05:16:16.426Z] INFO: archiving workspace using pattern(s): [2023-03-16T05:16:17.365Z] Archives upload complete. [2023-03-16T05:16:17.365Z] INFO: archiving logs to Nexus