Pull request #1498 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ae34ede6e749bbeb09e45e870b1cc54c76f1e788+fcbf44bcbbc574f021408d70e777feaef97917b6 (6c38f1abd0f20c2e93a99afb57e98541251bb1d3) 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-ssh8097592975424109802.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh14610452291865291765.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-1498/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-1498/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11988049260835969849.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-1498/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5439915118001577400.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh4358455066309614664.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-1498/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-1498/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14471460893347613295.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4348 in /w/workspace/gexfoundry_device-sdk-go_PR-1498 [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-1498 # 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 Merging remotes/origin/main commit fcbf44bcbbc574f021408d70e777feaef97917b6 into PR head commit ae34ede6e749bbeb09e45e870b1cc54c76f1e788 Merge succeeded, producing ae34ede6e749bbeb09e45e870b1cc54c76f1e788 Checking out Revision ae34ede6e749bbeb09e45e870b1cc54c76f1e788 (PR-1498) > 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/1498/head:refs/remotes/origin/PR-1498 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae34ede6e749bbeb09e45e870b1cc54c76f1e788 # 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 fcbf44bcbbc574f021408d70e777feaef97917b6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae34ede6e749bbeb09e45e870b1cc54c76f1e788 # timeout=10 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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-23T04:33:02.787Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-23T04:33:02.970Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-23T04:33:03.084Z] ========================================================= [2023-08-23T04:33:03.084Z] EdgeX Global Pipelines Version Info [2023-08-23T04:33:03.084Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-23T04:33:03.836Z] ------------------- [2023-08-23T04:33:03.837Z] stable info: [2023-08-23T04:33:03.837Z] ------------------- [2023-08-23T04:33:03.837Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-23T04:33:03.837Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-23T04:33:03.837Z] Message: update stable to v1.0.253 [2023-08-23T04:33:04.407Z] ------------------- [2023-08-23T04:33:04.407Z] experimental info: [2023-08-23T04:33:04.407Z] ------------------- [2023-08-23T04:33:04.407Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-23T04:33:04.407Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-23T04:33:04.407Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-23T04:33:04.722Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-08-23T04:33:04.770Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-08-23T04:33:04.807Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-23T04:33:04.856Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-23T04:33:04.890Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-23T04:33:04.926Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-23T04:33:04.964Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-23T04:33:05.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-08-23T04:33:05.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-23T04:33:05.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-23T04:33:05.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-23T04:33:05.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-08-23T04:33:05.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-23T04:33:05.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-23T04:33:05.263Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-23T04:33:05.299Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-23T04:33:05.338Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-23T04:33:05.375Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-23T04:33:05.419Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-23T04:33:05.463Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-23T04:33:05.508Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-23T04:33:05.551Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-08-23T04:33:05.594Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-23T04:33:05.647Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-23T04:33:05.688Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-23T04:33:05.732Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-23T04:33:05.775Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-23T04:33:05.820Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1498 [Pipeline] echo [2023-08-23T04:33:05.863Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1498 [Pipeline] echo [2023-08-23T04:33:05.903Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1498 [Pipeline] echo [2023-08-23T04:33:05.943Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ae34ede6e749bbeb09e45e870b1cc54c76f1e788 [Pipeline] echo [2023-08-23T04:33:05.984Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ae34ede [Pipeline] echo [2023-08-23T04:33:06.027Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-23T04:33:06.145Z] provisioning config files... [2023-08-23T04:33:06.160Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1498@tmp/config3756042751788505112tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T04:33:06.510Z] ---> docker-login.sh [2023-08-23T04:33:06.510Z] nexus3.edgexfoundry.org:10001 [2023-08-23T04:33:06.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T04:33:07.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T04:33:07.030Z] Configure a credential helper to remove this warning. See [2023-08-23T04:33:07.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T04:33:07.030Z] [2023-08-23T04:33:07.030Z] Login Succeeded [2023-08-23T04:33:07.030Z] nexus3.edgexfoundry.org:10002 [2023-08-23T04:33:07.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T04:33:07.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T04:33:07.030Z] Configure a credential helper to remove this warning. See [2023-08-23T04:33:07.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T04:33:07.030Z] [2023-08-23T04:33:07.030Z] Login Succeeded [2023-08-23T04:33:07.030Z] nexus3.edgexfoundry.org:10003 [2023-08-23T04:33:07.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T04:33:07.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T04:33:07.030Z] Configure a credential helper to remove this warning. See [2023-08-23T04:33:07.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T04:33:07.030Z] [2023-08-23T04:33:07.030Z] Login Succeeded [2023-08-23T04:33:07.030Z] nexus3.edgexfoundry.org:10004 [2023-08-23T04:33:07.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T04:33:07.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T04:33:07.290Z] Configure a credential helper to remove this warning. See [2023-08-23T04:33:07.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T04:33:07.290Z] [2023-08-23T04:33:07.290Z] Login Succeeded [2023-08-23T04:33:07.290Z] docker.io [2023-08-23T04:33:07.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T04:33:07.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T04:33:07.550Z] Configure a credential helper to remove this warning. See [2023-08-23T04:33:07.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T04:33:07.550Z] [2023-08-23T04:33:07.550Z] Login Succeeded [2023-08-23T04:33:07.550Z] ---> docker-login.sh ends [Pipeline] } [2023-08-23T04:33:07.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-23T04:33:08.196Z] + git rev-list -1 --merges ae34ede6e749bbeb09e45e870b1cc54c76f1e788~1..ae34ede6e749bbeb09e45e870b1cc54c76f1e788 [Pipeline] echo [2023-08-23T04:33:08.264Z] -----------> git rev-list -1 --merges ae34ede6e749bbeb09e45e870b1cc54c76f1e788~1..ae34ede6e749bbeb09e45e870b1cc54c76f1e788 ae34ede6e749bbeb09e45e870b1cc54c76f1e788 [false] [Pipeline] sh [2023-08-23T04:33:08.577Z] + git log --format=format:%s -1 ae34ede6e749bbeb09e45e870b1cc54c76f1e788 [Pipeline] echo [2023-08-23T04:33:08.610Z] ========================================================= [2023-08-23T04:33:08.610Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-23T04:33:08.610Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-23T04:33:09.038Z] + git log --format=format:%s -1 ae34ede6e749bbeb09e45e870b1cc54c76f1e788 [Pipeline] echo [2023-08-23T04:33:09.071Z] [semverPrep] GIT_COMMIT: ae34ede6e749bbeb09e45e870b1cc54c76f1e788, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-08-23T04:33:09.102Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-23T04:33:09.497Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-23T04:33:09.497Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-23T04:33:09.497Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-23T04:33:09.497Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-23T04:33:09.497Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-23T04:33:09.497Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-23T04:33:09.497Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T04:33:10.041Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-23T04:33:10.041Z] [2023-08-23T04:33:10.041Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T04:33:10.422Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-23T04:33:10.682Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-23T04:33:10.683Z] b85a868b505f: Pulling fs layer [2023-08-23T04:33:10.683Z] e2be974225ed: Pulling fs layer [2023-08-23T04:33:10.683Z] 339a4e72a1f5: Pulling fs layer [2023-08-23T04:33:10.683Z] 988bab9f4d93: Pulling fs layer [2023-08-23T04:33:10.683Z] 1469e6f7b9e6: Pulling fs layer [2023-08-23T04:33:10.683Z] 988bab9f4d93: Waiting [2023-08-23T04:33:10.683Z] eaf3925da568: Pulling fs layer [2023-08-23T04:33:10.683Z] bab4dde63d76: Pulling fs layer [2023-08-23T04:33:10.683Z] bde34c3a00c8: Pulling fs layer [2023-08-23T04:33:10.683Z] b352a97aabf1: Pulling fs layer [2023-08-23T04:33:10.683Z] 1469e6f7b9e6: Waiting [2023-08-23T04:33:10.683Z] 4872d77fe225: Pulling fs layer [2023-08-23T04:33:10.683Z] eaf3925da568: Waiting [2023-08-23T04:33:10.683Z] bab4dde63d76: Waiting [2023-08-23T04:33:10.683Z] bde34c3a00c8: Waiting [2023-08-23T04:33:10.683Z] 5851b861e8e6: Pulling fs layer [2023-08-23T04:33:10.683Z] 4872d77fe225: Waiting [2023-08-23T04:33:10.683Z] 5851b861e8e6: Waiting [2023-08-23T04:33:10.683Z] e2be974225ed: Verifying Checksum [2023-08-23T04:33:10.683Z] e2be974225ed: Download complete [2023-08-23T04:33:10.683Z] 988bab9f4d93: Verifying Checksum [2023-08-23T04:33:10.683Z] 988bab9f4d93: Download complete [2023-08-23T04:33:10.683Z] 1469e6f7b9e6: Verifying Checksum [2023-08-23T04:33:10.683Z] 1469e6f7b9e6: Download complete [2023-08-23T04:33:10.683Z] eaf3925da568: Verifying Checksum [2023-08-23T04:33:10.683Z] eaf3925da568: Download complete [2023-08-23T04:33:10.683Z] 339a4e72a1f5: Verifying Checksum [2023-08-23T04:33:10.683Z] 339a4e72a1f5: Download complete [2023-08-23T04:33:10.683Z] bde34c3a00c8: Verifying Checksum [2023-08-23T04:33:10.683Z] bde34c3a00c8: Download complete [2023-08-23T04:33:10.683Z] b352a97aabf1: Verifying Checksum [2023-08-23T04:33:10.683Z] b352a97aabf1: Download complete [2023-08-23T04:33:10.941Z] 4872d77fe225: Verifying Checksum [2023-08-23T04:33:10.941Z] 4872d77fe225: Download complete [2023-08-23T04:33:10.941Z] 5851b861e8e6: Verifying Checksum [2023-08-23T04:33:10.941Z] 5851b861e8e6: Download complete [2023-08-23T04:33:10.941Z] b85a868b505f: Verifying Checksum [2023-08-23T04:33:10.941Z] b85a868b505f: Download complete [2023-08-23T04:33:11.201Z] bab4dde63d76: Verifying Checksum [2023-08-23T04:33:11.201Z] bab4dde63d76: Download complete [2023-08-23T04:33:12.137Z] b85a868b505f: Pull complete [2023-08-23T04:33:12.706Z] e2be974225ed: Pull complete [2023-08-23T04:33:12.970Z] 339a4e72a1f5: Pull complete [2023-08-23T04:33:13.271Z] 988bab9f4d93: Pull complete [2023-08-23T04:33:13.530Z] 1469e6f7b9e6: Pull complete [2023-08-23T04:33:13.530Z] eaf3925da568: Pull complete [2023-08-23T04:33:15.434Z] bab4dde63d76: Pull complete [2023-08-23T04:33:15.434Z] bde34c3a00c8: Pull complete [2023-08-23T04:33:15.434Z] b352a97aabf1: Pull complete [2023-08-23T04:33:15.434Z] 4872d77fe225: Pull complete [2023-08-23T04:33:15.693Z] 5851b861e8e6: Pull complete [2023-08-23T04:33:15.693Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-23T04:33:15.693Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-23T04:33:15.693Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T04:33:15.967Z] prd-ubuntu20.04-docker-8c-8g-4348 does not seem to be running inside a container [2023-08-23T04:33:16.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1498 -v /w/workspace/gexfoundry_device-sdk-go_PR-1498:/w/workspace/gexfoundry_device-sdk-go_PR-1498:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1498@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1498@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-08-23T04:33:19.703Z] $ docker top 2dc03544a62f38509d9deef79a77073b8c27216dd5100657fcbb150cde01d958 -eo pid,comm [2023-08-23T04:33:19.757Z] 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-08-23T04:33:19.757Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-23T04:33:19.982Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-23T04:33:19.982Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-23T04:33:20.111Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-23T04:33:20.118Z] $ docker exec 2dc03544a62f38509d9deef79a77073b8c27216dd5100657fcbb150cde01d958 ssh-agent [2023-08-23T04:33:20.232Z] SSH_AUTH_SOCK=/tmp/ssh-qYzuBaBPYPKI/agent.33 [2023-08-23T04:33:20.232Z] SSH_AGENT_PID=39 [2023-08-23T04:33:20.239Z] Running ssh-add (command line suppressed) [2023-08-23T04:33:20.352Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1498@tmp/private_key_18060879021115527413.key (/w/workspace/gexfoundry_device-sdk-go_PR-1498@tmp/private_key_18060879021115527413.key) [2023-08-23T04:33:20.362Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-23T04:33:20.691Z] + git tag --points-at HEAD [Pipeline] } [2023-08-23T04:33:20.721Z] $ docker exec --env ******** --env ******** 2dc03544a62f38509d9deef79a77073b8c27216dd5100657fcbb150cde01d958 ssh-agent -k [2023-08-23T04:33:20.834Z] unset SSH_AUTH_SOCK; [2023-08-23T04:33:20.835Z] unset SSH_AGENT_PID; [2023-08-23T04:33:20.835Z] echo Agent pid 39 killed; [2023-08-23T04:33:20.844Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-23T04:33:20.964Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-23T04:33:20.964Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-23T04:33:21.079Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-23T04:33:21.087Z] $ docker exec 2dc03544a62f38509d9deef79a77073b8c27216dd5100657fcbb150cde01d958 ssh-agent [2023-08-23T04:33:21.196Z] SSH_AUTH_SOCK=/tmp/ssh-l1WW8veEtGjN/agent.71 [2023-08-23T04:33:21.196Z] SSH_AGENT_PID=77 [2023-08-23T04:33:21.201Z] Running ssh-add (command line suppressed) [2023-08-23T04:33:21.315Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1498@tmp/private_key_3966420265376234404.key (/w/workspace/gexfoundry_device-sdk-go_PR-1498@tmp/private_key_3966420265376234404.key) [2023-08-23T04:33:21.328Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-23T04:33:21.659Z] + git semver init [2023-08-23T04:33:22.228Z] 2023-08-23 04:33:21,928 [run_init] DEBUG init version:0.0.0 force:False [2023-08-23T04:33:22.228Z] 2023-08-23 04:33:21,930 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1498/.semver [2023-08-23T04:33:22.228Z] 2023-08-23 04:33:21,931 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1498/.semver [2023-08-23T04:33:22.228Z] 2023-08-23 04:33:21,931 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1498/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1498, universal_newlines=False, shell=None, istream=None) [2023-08-23T04:33:23.167Z] 2023-08-23 04:33:23,045 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1498/.git/info/exclude [2023-08-23T04:33:23.167Z] 2023-08-23 04:33:23,045 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1498/.semver/PR-1498 with force:False [2023-08-23T04:33:23.167Z] 2023-08-23 04:33:23,045 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1498/.semver/PR-1498 [2023-08-23T04:33:23.167Z] 2023-08-23 04:33:23,049 [execute] INFO git cat-file --batch-check [2023-08-23T04:33:23.167Z] 2023-08-23 04:33:23,049 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1498/.semver, universal_newlines=False, shell=None, istream=) [2023-08-23T04:33:23.167Z] 2023-08-23 04:33:23,056 [execute] INFO git cat-file --batch [2023-08-23T04:33:23.167Z] 2023-08-23 04:33:23,056 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1498/.semver, universal_newlines=False, shell=None, istream=) [2023-08-23T04:33:23.167Z] 2023-08-23 04:33:23,061 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1498/.semver/PR-1498 [2023-08-23T04:33:23.167Z] 0.0.0 [Pipeline] } [2023-08-23T04:33:23.197Z] $ docker exec --env ******** --env ******** 2dc03544a62f38509d9deef79a77073b8c27216dd5100657fcbb150cde01d958 ssh-agent -k [2023-08-23T04:33:23.312Z] unset SSH_AUTH_SOCK; [2023-08-23T04:33:23.315Z] unset SSH_AGENT_PID; [2023-08-23T04:33:23.315Z] echo Agent pid 77 killed; [2023-08-23T04:33:23.319Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-23T04:33:23.759Z] + git semver [Pipeline] } [2023-08-23T04:33:24.053Z] $ docker stop --time=1 2dc03544a62f38509d9deef79a77073b8c27216dd5100657fcbb150cde01d958 [2023-08-23T04:33:25.458Z] $ docker rm -f --volumes 2dc03544a62f38509d9deef79a77073b8c27216dd5100657fcbb150cde01d958 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-23T04:33:25.873Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-23T04:33:26.160Z] Stashed 1 file(s) [Pipeline] echo [2023-08-23T04:33:26.176Z] [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-08-23T04:33:26.727Z] provisioning config files... [2023-08-23T04:33:26.738Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1498@tmp/config8772461185800873414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T04:33:27.075Z] ---> docker-login.sh [2023-08-23T04:33:27.075Z] nexus3.edgexfoundry.org:10001 [2023-08-23T04:33:27.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T04:33:27.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T04:33:27.075Z] Configure a credential helper to remove this warning. See [2023-08-23T04:33:27.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T04:33:27.075Z] [2023-08-23T04:33:27.075Z] Login Succeeded [2023-08-23T04:33:27.075Z] nexus3.edgexfoundry.org:10002 [2023-08-23T04:33:27.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T04:33:27.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T04:33:27.335Z] Configure a credential helper to remove this warning. See [2023-08-23T04:33:27.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T04:33:27.335Z] [2023-08-23T04:33:27.335Z] Login Succeeded [2023-08-23T04:33:27.335Z] nexus3.edgexfoundry.org:10003 [2023-08-23T04:33:27.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T04:33:27.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T04:33:27.335Z] Configure a credential helper to remove this warning. See [2023-08-23T04:33:27.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T04:33:27.335Z] [2023-08-23T04:33:27.335Z] Login Succeeded [2023-08-23T04:33:27.335Z] nexus3.edgexfoundry.org:10004 [2023-08-23T04:33:27.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T04:33:27.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T04:33:27.595Z] Configure a credential helper to remove this warning. See [2023-08-23T04:33:27.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T04:33:27.595Z] [2023-08-23T04:33:27.595Z] Login Succeeded [2023-08-23T04:33:27.595Z] docker.io [2023-08-23T04:33:27.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T04:33:27.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T04:33:27.856Z] Configure a credential helper to remove this warning. See [2023-08-23T04:33:27.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T04:33:27.856Z] [2023-08-23T04:33:27.856Z] Login Succeeded [2023-08-23T04:33:27.856Z] ---> docker-login.sh ends [Pipeline] } [2023-08-23T04:33:27.884Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-23T04:33:28.084Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-23T04:33:28.123Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-23T04:33:28.210Z] ========================================================= [2023-08-23T04:33:28.210Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-23T04:33:28.210Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T04:33:28.662Z] + 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-08-23T04:33:28.662Z] Sending build context to Docker daemon 11.07MB [2023-08-23T04:33:28.662Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-23T04:33:28.662Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-23T04:33:28.662Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-23T04:33:28.662Z] 4db1b89c0bd1: Pulling fs layer [2023-08-23T04:33:28.662Z] 6911f1a30b25: Pulling fs layer [2023-08-23T04:33:28.662Z] e194b8c5c2a9: Pulling fs layer [2023-08-23T04:33:28.662Z] 6863d3e3a2b1: Pulling fs layer [2023-08-23T04:33:28.662Z] ec0bb842ea78: Pulling fs layer [2023-08-23T04:33:28.662Z] 40a00589a448: Pulling fs layer [2023-08-23T04:33:28.662Z] 6c08303d61cc: Pulling fs layer [2023-08-23T04:33:28.662Z] 798269fcf238: Pulling fs layer [2023-08-23T04:33:28.662Z] 40a00589a448: Waiting [2023-08-23T04:33:28.662Z] 6c08303d61cc: Waiting [2023-08-23T04:33:28.662Z] 798269fcf238: Waiting [2023-08-23T04:33:28.662Z] ec0bb842ea78: Waiting [2023-08-23T04:33:28.662Z] 6863d3e3a2b1: Waiting [2023-08-23T04:33:28.923Z] 6911f1a30b25: Verifying Checksum [2023-08-23T04:33:28.923Z] 6911f1a30b25: Download complete [2023-08-23T04:33:28.923Z] 6863d3e3a2b1: Verifying Checksum [2023-08-23T04:33:28.923Z] 6863d3e3a2b1: Download complete [2023-08-23T04:33:28.923Z] ec0bb842ea78: Verifying Checksum [2023-08-23T04:33:28.923Z] ec0bb842ea78: Download complete [2023-08-23T04:33:28.923Z] 4db1b89c0bd1: Verifying Checksum [2023-08-23T04:33:28.923Z] 4db1b89c0bd1: Download complete [2023-08-23T04:33:28.923Z] 40a00589a448: Verifying Checksum [2023-08-23T04:33:28.923Z] 40a00589a448: Download complete [2023-08-23T04:33:29.183Z] 4db1b89c0bd1: Pull complete [2023-08-23T04:33:29.183Z] 6911f1a30b25: Pull complete [2023-08-23T04:33:29.445Z] 798269fcf238: Verifying Checksum [2023-08-23T04:33:29.446Z] 798269fcf238: Download complete [2023-08-23T04:33:29.705Z] e194b8c5c2a9: Verifying Checksum [2023-08-23T04:33:29.705Z] e194b8c5c2a9: Download complete [2023-08-23T04:33:29.962Z] 6c08303d61cc: Verifying Checksum [2023-08-23T04:33:29.962Z] 6c08303d61cc: Download complete [2023-08-23T04:33:34.156Z] e194b8c5c2a9: Pull complete [2023-08-23T04:33:34.156Z] 6863d3e3a2b1: Pull complete [2023-08-23T04:33:34.156Z] ec0bb842ea78: Pull complete [2023-08-23T04:33:34.156Z] 40a00589a448: Pull complete [2023-08-23T04:33:36.689Z] 6c08303d61cc: Pull complete [2023-08-23T04:33:37.626Z] 798269fcf238: Pull complete [2023-08-23T04:33:37.626Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-23T04:33:37.626Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-23T04:33:37.626Z] ---> ec979cd7f677 [2023-08-23T04:33:37.626Z] Step 3/10 : ARG MAKE=make build [2023-08-23T04:33:41.563Z] Still waiting to schedule task [2023-08-23T04:33:41.563Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-23T04:33:45.863Z] ---> Running in 382adeba2a4b [2023-08-23T04:33:45.863Z] Removing intermediate container 382adeba2a4b [2023-08-23T04:33:45.863Z] ---> 87908d60e93c [2023-08-23T04:33:45.863Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-23T04:33:45.863Z] ---> Running in b889fb0f50bc [2023-08-23T04:33:46.125Z] Removing intermediate container b889fb0f50bc [2023-08-23T04:33:46.125Z] ---> 349a35ca42ad [2023-08-23T04:33:46.125Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-23T04:33:46.125Z] ---> Running in c011652026e7 [2023-08-23T04:33:46.125Z] Removing intermediate container c011652026e7 [2023-08-23T04:33:46.125Z] ---> 94b9d5fa0b33 [2023-08-23T04:33:46.125Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-23T04:33:46.125Z] ---> Running in 44675a52d513 [2023-08-23T04:33:46.384Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-23T04:33:46.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-23T04:33:46.904Z] OK: 265 MiB in 53 packages [2023-08-23T04:33:47.474Z] Removing intermediate container 44675a52d513 [2023-08-23T04:33:47.474Z] ---> 31d3dc8dbc80 [2023-08-23T04:33:47.474Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-23T04:33:47.474Z] ---> 69f42ef789fc [2023-08-23T04:33:47.474Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-23T04:33:47.474Z] ---> Running in fc3a1e75eb97 [2023-08-23T04:34:43.762Z] Removing intermediate container fc3a1e75eb97 [2023-08-23T04:34:43.762Z] ---> eb0eea65e874 [2023-08-23T04:34:43.762Z] Step 9/10 : COPY . . [2023-08-23T04:34:43.762Z] ---> 146053560b60 [2023-08-23T04:34:43.762Z] Step 10/10 : RUN ${MAKE} [2023-08-23T04:34:43.762Z] ---> Running in b79404730373 [2023-08-23T04:34:43.762Z] noop [2023-08-23T04:34:43.762Z] Removing intermediate container b79404730373 [2023-08-23T04:34:43.762Z] ---> e994e3957c45 [2023-08-23T04:34:43.762Z] Successfully built e994e3957c45 [2023-08-23T04:34:43.762Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T04:34:44.214Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-23T04:34:44.214Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T04:34:44.375Z] prd-ubuntu20.04-docker-8c-8g-4348 does not seem to be running inside a container [2023-08-23T04:34:44.411Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1498 -v /w/workspace/gexfoundry_device-sdk-go_PR-1498:/w/workspace/gexfoundry_device-sdk-go_PR-1498:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1498@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1498@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-08-23T04:34:44.747Z] $ docker top 1b30e9705da920351b1eae0407f80978b3635d839daeaf972058d4c7d58187b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-23T04:34:45.135Z] + go version [2023-08-23T04:34:45.136Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-23T04:34:45.171Z] $ docker stop --time=1 1b30e9705da920351b1eae0407f80978b3635d839daeaf972058d4c7d58187b8 [2023-08-23T04:34:46.465Z] $ docker rm -f --volumes 1b30e9705da920351b1eae0407f80978b3635d839daeaf972058d4c7d58187b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T04:34:47.162Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-23T04:34:47.162Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T04:34:47.316Z] prd-ubuntu20.04-docker-8c-8g-4348 does not seem to be running inside a container [2023-08-23T04:34:47.359Z] $ 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-1498 -v /w/workspace/gexfoundry_device-sdk-go_PR-1498:/w/workspace/gexfoundry_device-sdk-go_PR-1498:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1498@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1498@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-08-23T04:34:47.671Z] $ docker top c8a7d66bf53cc8cdbcdfd57a019b511e2b8a90af824c4356821386d939566eb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-23T04:34:48.058Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1498 [Pipeline] fileExists [Pipeline] sh [2023-08-23T04:34:48.417Z] + make test [2023-08-23T04:34:48.417Z] go test -race -coverprofile=coverage.out ./... [2023-08-23T04:34:56.541Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-23T04:35:08.735Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-23T04:35:08.735Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-23T04:35:08.735Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-23T04:35:08.735Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-23T04:35:08.735Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-23T04:35:09.304Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.063s coverage: 27.6% of statements [2023-08-23T04:35:09.304Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.083s coverage: 80.2% of statements [2023-08-23T04:35:10.302Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-23T04:35:10.302Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-23T04:35:10.578Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.102s coverage: 86.0% of statements [2023-08-23T04:35:10.578Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-23T04:35:10.858Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.101s coverage: 71.8% of statements [2023-08-23T04:35:11.816Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-23T04:35:11.816Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-23T04:35:12.075Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-23T04:35:13.978Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.074s coverage: 14.3% of statements [2023-08-23T04:35:13.978Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.098s coverage: 43.8% of statements [2023-08-23T04:35:13.978Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.084s coverage: 68.5% of statements [2023-08-23T04:35:13.978Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.116s coverage: 89.2% of statements [2023-08-23T04:35:13.978Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.064s coverage: 5.5% of statements [2023-08-23T04:35:22.082Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4349 in /w/workspace/gexfoundry_device-sdk-go_PR-1498 [Pipeline] { [Pipeline] ws [2023-08-23T04:35:22.137Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-08-23T04:35:22.226Z] The recommended git tool is: git [2023-08-23T04:35:27.050Z] using credential edgex-jenkins-ssh [2023-08-23T04:35:27.072Z] Cloning the remote Git repository [2023-08-23T04:35:27.121Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-08-23T04:35:27.209Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-08-23T04:35:27.341Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-23T04:35:27.342Z] > git --version # timeout=10 [2023-08-23T04:35:27.361Z] > git --version # 'git version 2.25.1' [2023-08-23T04:35:27.363Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-23T04:35:27.511Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-23T04:35:29.026Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-23T04:35:29.049Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-23T04:35:30.341Z] Merging remotes/origin/main commit fcbf44bcbbc574f021408d70e777feaef97917b6 into PR head commit ae34ede6e749bbeb09e45e870b1cc54c76f1e788 [2023-08-23T04:35:30.626Z] Merge succeeded, producing ae34ede6e749bbeb09e45e870b1cc54c76f1e788 [2023-08-23T04:35:30.626Z] Checking out Revision ae34ede6e749bbeb09e45e870b1cc54c76f1e788 (PR-1498) [2023-08-23T04:35:31.074Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-08-23T04:35:29.804Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-23T04:35:29.846Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-23T04:35:29.847Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-23T04:35:29.863Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1498/head:refs/remotes/origin/PR-1498 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-23T04:35:30.362Z] > git config core.sparsecheckout # timeout=10 [2023-08-23T04:35:30.431Z] > git checkout -f ae34ede6e749bbeb09e45e870b1cc54c76f1e788 # timeout=10 [2023-08-23T04:35:30.533Z] > git remote # timeout=10 [2023-08-23T04:35:30.549Z] > git config --get remote.origin.url # timeout=10 [2023-08-23T04:35:30.572Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-23T04:35:30.587Z] > git merge fcbf44bcbbc574f021408d70e777feaef97917b6 # timeout=10 [2023-08-23T04:35:30.611Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-23T04:35:30.635Z] > git config core.sparsecheckout # timeout=10 [2023-08-23T04:35:30.646Z] > git checkout -f ae34ede6e749bbeb09e45e870b1cc54c76f1e788 # timeout=10 [2023-08-23T04:35:31.122Z] > git --version # timeout=10 [2023-08-23T04:35:31.137Z] > git --version # 'git version 2.25.1' [2023-08-23T04:35:31.157Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-23T04:35:32.217Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-23T04:35:32.217Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-23T04:35:32.217Z] Dload Upload Total Spent Left Speed [2023-08-23T04:35:32.217Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2023-08-23T04:35:32.850Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-23T04:35:33.204Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-23T04:35:33.204Z] + sudo tee /etc/docker/daemon.new [2023-08-23T04:35:33.204Z] { [2023-08-23T04:35:33.204Z] "registry-mirrors": [ [2023-08-23T04:35:33.204Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-23T04:35:33.204Z] ], [2023-08-23T04:35:33.204Z] "bip": "10.250.0.254/24", [2023-08-23T04:35:33.204Z] "hosts": [ [2023-08-23T04:35:33.204Z] "tcp://0.0.0.0:5555", [2023-08-23T04:35:33.204Z] "unix:///var/run/docker.sock" [2023-08-23T04:35:33.204Z] ], [2023-08-23T04:35:33.204Z] "mtu": 1458, [2023-08-23T04:35:33.204Z] "selinux-enabled": true, [2023-08-23T04:35:33.204Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-23T04:35:33.204Z] } [Pipeline] sh [2023-08-23T04:35:33.545Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-23T04:35:33.897Z] + sudo service docker restart [2023-08-23T04:35:35.924Z] GO111MODULE=on go vet ./... [2023-08-23T04:35:38.454Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-23T04:35:38.454Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-23T04:35:38.454Z] ./bin/test-attribution-txt.sh [2023-08-23T04:35:38.454Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-23T04:35:38.454Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-23T04:35:38.454Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-23T04:35:38.454Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-23T04:35:38.712Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-23T04:35:38.757Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-23T04:35:38.791Z] $ docker stop --time=1 c8a7d66bf53cc8cdbcdfd57a019b511e2b8a90af824c4356821386d939566eb2 [2023-08-23T04:35:43.084Z] $ docker rm -f --volumes c8a7d66bf53cc8cdbcdfd57a019b511e2b8a90af824c4356821386d939566eb2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-23T04:35:43.772Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-23T04:35:43.852Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-23T04:35:44.528Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-23T04:35:44.838Z] + ls -al . [2023-08-23T04:35:44.838Z] total 304 [2023-08-23T04:35:44.838Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 23 04:34 . [2023-08-23T04:35:44.838Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 04:32 .. [2023-08-23T04:35:44.838Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 23 04:33 .dockerignore [2023-08-23T04:35:44.838Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 04:33 .git [2023-08-23T04:35:44.838Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 04:33 .github [2023-08-23T04:35:44.838Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 23 04:33 .gitignore [2023-08-23T04:35:44.838Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 23 04:33 .golangci.yml [2023-08-23T04:35:44.838Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 04:33 .semver [2023-08-23T04:35:44.838Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 23 04:33 CHANGELOG.md [2023-08-23T04:35:44.838Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 04:33 GOVERNANCE.md [2023-08-23T04:35:44.838Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 23 04:33 Jenkinsfile [2023-08-23T04:35:44.838Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 23 04:33 LICENSE [2023-08-23T04:35:44.838Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 23 04:33 Makefile [2023-08-23T04:35:44.838Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 23 04:33 OWNERS.md [2023-08-23T04:35:44.838Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 23 04:33 README.md [2023-08-23T04:35:44.838Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 04:33 VERSION [2023-08-23T04:35:44.838Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 04:33 bin [2023-08-23T04:35:44.838Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 23 04:35 coverage.out [2023-08-23T04:35:44.838Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 23 04:33 example [2023-08-23T04:35:44.838Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 23 04:33 go.mod [2023-08-23T04:35:44.838Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 23 04:33 go.sum [2023-08-23T04:35:44.838Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 04:33 internal [2023-08-23T04:35:44.838Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 04:33 openapi [2023-08-23T04:35:44.838Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 23 04:33 pkg [2023-08-23T04:35:44.838Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 04:33 snap [2023-08-23T04:35:44.838Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 23 04:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T04:35:45.240Z] + 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=ae34ede6e749bbeb09e45e870b1cc54c76f1e788 --label arch=amd64 --label version=0.0.0 . [2023-08-23T04:35:45.240Z] Sending build context to Docker daemon 11.19MB [2023-08-23T04:35:45.240Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-23T04:35:45.240Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-23T04:35:45.240Z] ---> e994e3957c45 [2023-08-23T04:35:45.240Z] Step 3/23 : ARG MAKE=make build [2023-08-23T04:35:45.499Z] ---> Running in e96cb95b98ac [2023-08-23T04:35:45.499Z] Removing intermediate container e96cb95b98ac [2023-08-23T04:35:45.499Z] ---> 1d9c0baf444d [2023-08-23T04:35:45.499Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-23T04:35:45.499Z] ---> Running in 82a127be789d [2023-08-23T04:35:45.763Z] Removing intermediate container 82a127be789d [2023-08-23T04:35:45.763Z] ---> 8dd3243f08ec [2023-08-23T04:35:45.763Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-23T04:35:45.763Z] ---> Running in 020a8c13b48c [2023-08-23T04:35:45.763Z] Removing intermediate container 020a8c13b48c [2023-08-23T04:35:45.763Z] ---> 03ff5f6d29b9 [2023-08-23T04:35:45.763Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-23T04:35:45.763Z] ---> Running in b00e08946130 [2023-08-23T04:35:46.022Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-23T04:35:46.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-23T04:35:46.538Z] OK: 265 MiB in 53 packages [2023-08-23T04:35:46.797Z] Removing intermediate container b00e08946130 [2023-08-23T04:35:46.797Z] ---> 57c463d9e7c9 [2023-08-23T04:35:46.797Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-23T04:35:46.797Z] ---> dbdf6d553c73 [2023-08-23T04:35:46.797Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-23T04:35:47.057Z] ---> Running in 3e2718f7cf27 [2023-08-23T04:35:47.627Z] Removing intermediate container 3e2718f7cf27 [2023-08-23T04:35:47.627Z] ---> 662b48f1b6ca [2023-08-23T04:35:47.627Z] Step 9/23 : COPY . . [2023-08-23T04:35:48.193Z] ---> 28beba9ad0b5 [2023-08-23T04:35:48.193Z] Step 10/23 : RUN ${MAKE} [2023-08-23T04:35:48.193Z] ---> Running in f2ede76d179b [2023-08-23T04:35:48.453Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-23T04:35:52.197Z] provisioning config files... [2023-08-23T04:35:52.221Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config13028153973414978973tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T04:35:52.612Z] ---> docker-login.sh [2023-08-23T04:35:52.612Z] nexus3.edgexfoundry.org:10001 [2023-08-23T04:35:52.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T04:35:53.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T04:35:53.156Z] Configure a credential helper to remove this warning. See [2023-08-23T04:35:53.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T04:35:53.156Z] [2023-08-23T04:35:53.156Z] Login Succeeded [2023-08-23T04:35:53.156Z] nexus3.edgexfoundry.org:10002 [2023-08-23T04:35:53.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T04:35:53.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T04:35:53.425Z] Configure a credential helper to remove this warning. See [2023-08-23T04:35:53.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T04:35:53.425Z] [2023-08-23T04:35:53.425Z] Login Succeeded [2023-08-23T04:35:53.425Z] nexus3.edgexfoundry.org:10003 [2023-08-23T04:35:53.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T04:35:53.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T04:35:53.959Z] Configure a credential helper to remove this warning. See [2023-08-23T04:35:53.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T04:35:53.959Z] [2023-08-23T04:35:53.959Z] Login Succeeded [2023-08-23T04:35:53.959Z] nexus3.edgexfoundry.org:10004 [2023-08-23T04:35:53.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T04:35:54.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T04:35:54.229Z] Configure a credential helper to remove this warning. See [2023-08-23T04:35:54.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T04:35:54.229Z] [2023-08-23T04:35:54.229Z] Login Succeeded [2023-08-23T04:35:54.229Z] docker.io [2023-08-23T04:35:54.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T04:35:54.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T04:35:54.763Z] Configure a credential helper to remove this warning. See [2023-08-23T04:35:54.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T04:35:54.763Z] [2023-08-23T04:35:54.763Z] Login Succeeded [2023-08-23T04:35:54.763Z] ---> docker-login.sh ends [Pipeline] } [2023-08-23T04:35:54.794Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-23T04:35:55.164Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-23T04:35:55.199Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-23T04:35:55.239Z] ========================================================= [2023-08-23T04:35:55.239Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-23T04:35:55.239Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T04:35:55.816Z] + 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-08-23T04:35:56.082Z] Sending build context to Docker daemon 5.91MB [2023-08-23T04:35:56.082Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-23T04:35:56.082Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-23T04:35:56.350Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-23T04:35:56.350Z] edb6bdbacee9: Pulling fs layer [2023-08-23T04:35:56.350Z] 5f9638ab2659: Pulling fs layer [2023-08-23T04:35:56.350Z] 8d51d6327a98: Pulling fs layer [2023-08-23T04:35:56.350Z] 8b374f2dd631: Pulling fs layer [2023-08-23T04:35:56.350Z] ec14aa9079de: Pulling fs layer [2023-08-23T04:35:56.350Z] 2f466654f4bb: Pulling fs layer [2023-08-23T04:35:56.350Z] 554e91adad29: Pulling fs layer [2023-08-23T04:35:56.350Z] 8b374f2dd631: Waiting [2023-08-23T04:35:56.350Z] ec14aa9079de: Waiting [2023-08-23T04:35:56.350Z] 2f466654f4bb: Waiting [2023-08-23T04:35:56.350Z] 554e91adad29: Waiting [2023-08-23T04:35:56.350Z] 5f9638ab2659: Download complete [2023-08-23T04:35:56.350Z] 8b374f2dd631: Verifying Checksum [2023-08-23T04:35:56.350Z] 8b374f2dd631: Download complete [2023-08-23T04:35:56.350Z] ec14aa9079de: Download complete [2023-08-23T04:35:56.350Z] edb6bdbacee9: Download complete [2023-08-23T04:35:57.329Z] edb6bdbacee9: Pull complete [2023-08-23T04:35:57.916Z] 554e91adad29: Verifying Checksum [2023-08-23T04:35:58.188Z] 5f9638ab2659: Pull complete [2023-08-23T04:35:58.771Z] 2f466654f4bb: Verifying Checksum [2023-08-23T04:35:58.771Z] 2f466654f4bb: Download complete [2023-08-23T04:35:58.771Z] 8d51d6327a98: Download complete [2023-08-23T04:36:11.179Z] 8d51d6327a98: Pull complete [2023-08-23T04:36:11.179Z] 8b374f2dd631: Pull complete [2023-08-23T04:36:11.179Z] ec14aa9079de: Pull complete [2023-08-23T04:36:14.985Z] Removing intermediate container f2ede76d179b [2023-08-23T04:36:14.985Z] ---> 10d24edd696b [2023-08-23T04:36:14.986Z] Step 11/23 : FROM alpine:3.17 [2023-08-23T04:36:14.986Z] 3.17: Pulling from library/alpine [2023-08-23T04:36:14.986Z] 9398808236ff: Pulling fs layer [2023-08-23T04:36:14.986Z] 9398808236ff: Verifying Checksum [2023-08-23T04:36:14.986Z] 9398808236ff: Download complete [2023-08-23T04:36:14.986Z] 9398808236ff: Pull complete [2023-08-23T04:36:14.986Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-23T04:36:14.986Z] Status: Downloaded newer image for alpine:3.17 [2023-08-23T04:36:14.986Z] ---> 1e0b8b5322fc [2023-08-23T04:36:14.986Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-23T04:36:14.986Z] ---> Running in ae9e1937f4a4 [2023-08-23T04:36:14.986Z] Removing intermediate container ae9e1937f4a4 [2023-08-23T04:36:14.986Z] ---> 2be1bb2e35da [2023-08-23T04:36:14.986Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-23T04:36:14.986Z] ---> Running in 354203e2db68 [2023-08-23T04:36:14.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-23T04:36:14.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-23T04:36:14.986Z] OK: 7 MiB in 15 packages [2023-08-23T04:36:15.555Z] Removing intermediate container 354203e2db68 [2023-08-23T04:36:15.555Z] ---> 035e0d5b37f7 [2023-08-23T04:36:15.555Z] Step 14/23 : WORKDIR / [2023-08-23T04:36:16.121Z] ---> Running in 326fbaba5d91 [2023-08-23T04:36:16.529Z] 2f466654f4bb: Pull complete [2023-08-23T04:36:16.688Z] Removing intermediate container 326fbaba5d91 [2023-08-23T04:36:16.688Z] ---> e34832fa9b24 [2023-08-23T04:36:16.688Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-23T04:36:17.255Z] ---> b7511e207948 [2023-08-23T04:36:17.255Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-23T04:36:19.134Z] 554e91adad29: Pull complete [2023-08-23T04:36:19.134Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-23T04:36:19.134Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-23T04:36:19.134Z] ---> 1e15ea492957 [2023-08-23T04:36:19.134Z] Step 3/10 : ARG MAKE=make build [2023-08-23T04:36:19.165Z] ---> bf99529f3eb8 [2023-08-23T04:36:19.165Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-23T04:36:19.439Z] ---> 59ab7d635ad8 [2023-08-23T04:36:19.439Z] Step 18/23 : EXPOSE 59999 [2023-08-23T04:36:20.008Z] ---> Running in cb1121180a98 [2023-08-23T04:36:20.548Z] ---> Running in 6a39c4e783e3 [2023-08-23T04:36:20.576Z] Removing intermediate container cb1121180a98 [2023-08-23T04:36:20.576Z] ---> 2abd5987daab [2023-08-23T04:36:20.576Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-23T04:36:20.816Z] Removing intermediate container 6a39c4e783e3 [2023-08-23T04:36:20.816Z] ---> e246d70f5daf [2023-08-23T04:36:20.816Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-23T04:36:20.834Z] ---> Running in 7cd53ac30964 [2023-08-23T04:36:21.083Z] ---> Running in 711d8b169ec3 [2023-08-23T04:36:21.093Z] Removing intermediate container 7cd53ac30964 [2023-08-23T04:36:21.093Z] ---> 6ffc287130cd [2023-08-23T04:36:21.093Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-23T04:36:21.350Z] Removing intermediate container 711d8b169ec3 [2023-08-23T04:36:21.350Z] ---> 4ac3cb2fba70 [2023-08-23T04:36:21.350Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-23T04:36:21.350Z] ---> Running in 732f9c05508f [2023-08-23T04:36:21.353Z] ---> Running in 5fd07ed623b0 [2023-08-23T04:36:21.353Z] Removing intermediate container 5fd07ed623b0 [2023-08-23T04:36:21.353Z] ---> 15b69abc232e [2023-08-23T04:36:21.353Z] Step 21/23 : LABEL arch=amd64 [2023-08-23T04:36:21.353Z] ---> Running in 1ae064134326 [2023-08-23T04:36:21.616Z] Removing intermediate container 1ae064134326 [2023-08-23T04:36:21.616Z] ---> 24c0c0afed2b [2023-08-23T04:36:21.616Z] Step 22/23 : LABEL git_sha=ae34ede6e749bbeb09e45e870b1cc54c76f1e788 [2023-08-23T04:36:21.619Z] Removing intermediate container 732f9c05508f [2023-08-23T04:36:21.619Z] ---> 39338af747cd [2023-08-23T04:36:21.619Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-23T04:36:21.619Z] ---> Running in 56356da160ed [2023-08-23T04:36:21.875Z] ---> Running in dce68dc615dd [2023-08-23T04:36:22.134Z] Removing intermediate container dce68dc615dd [2023-08-23T04:36:22.134Z] ---> 142c626e843b [2023-08-23T04:36:22.134Z] Step 23/23 : LABEL version=0.0.0 [2023-08-23T04:36:22.134Z] ---> Running in 83a902eda39a [2023-08-23T04:36:22.134Z] Removing intermediate container 83a902eda39a [2023-08-23T04:36:22.134Z] ---> 384520720f75 [2023-08-23T04:36:22.134Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-23T04:36:22.134Z] Successfully built 384520720f75 [2023-08-23T04:36:22.134Z] 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-08-23T04:36:22.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-23T04:36:22.998Z] [2023-08-23T04:36:22.998Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-23T04:36:23.026Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T04:36:23.293Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-23T04:36:23.392Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-23T04:36:23.392Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-23T04:36:23.392Z] 5eb5b503b376: Pulling fs layer [2023-08-23T04:36:23.392Z] 5c69ac0246d0: Pulling fs layer [2023-08-23T04:36:23.392Z] ec43610c2a17: Pulling fs layer [2023-08-23T04:36:23.392Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-23T04:36:23.392Z] 33b1e0a273af: Pulling fs layer [2023-08-23T04:36:23.392Z] 5d3b04190fa2: Pulling fs layer [2023-08-23T04:36:23.392Z] 2f39f015ded8: Pulling fs layer [2023-08-23T04:36:23.392Z] 3a2ae6a8a46f: Waiting [2023-08-23T04:36:23.392Z] 33b1e0a273af: Waiting [2023-08-23T04:36:23.392Z] 5d3b04190fa2: Waiting [2023-08-23T04:36:23.392Z] 2f39f015ded8: Waiting [2023-08-23T04:36:23.392Z] 5c69ac0246d0: Verifying Checksum [2023-08-23T04:36:23.392Z] 5c69ac0246d0: Download complete [2023-08-23T04:36:23.392Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-23T04:36:23.392Z] 3a2ae6a8a46f: Download complete [2023-08-23T04:36:23.392Z] 33b1e0a273af: Verifying Checksum [2023-08-23T04:36:23.392Z] 33b1e0a273af: Download complete [2023-08-23T04:36:23.392Z] 5d3b04190fa2: Verifying Checksum [2023-08-23T04:36:23.392Z] ec43610c2a17: Verifying Checksum [2023-08-23T04:36:23.652Z] 5eb5b503b376: Verifying Checksum [2023-08-23T04:36:23.652Z] 5eb5b503b376: Download complete [2023-08-23T04:36:24.219Z] 2f39f015ded8: Download complete [2023-08-23T04:36:24.252Z] OK: 263 MiB in 53 packages [2023-08-23T04:36:24.786Z] 5eb5b503b376: Pull complete [2023-08-23T04:36:25.047Z] 5c69ac0246d0: Pull complete [2023-08-23T04:36:25.210Z] Removing intermediate container 56356da160ed [2023-08-23T04:36:25.210Z] ---> 11d7e777d511 [2023-08-23T04:36:25.210Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-23T04:36:25.477Z] ---> 932aad6fdf26 [2023-08-23T04:36:25.477Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-23T04:36:25.477Z] ---> Running in 7f0eb0375166 [2023-08-23T04:36:25.612Z] ec43610c2a17: Pull complete [2023-08-23T04:36:25.612Z] 3a2ae6a8a46f: Pull complete [2023-08-23T04:36:25.870Z] 33b1e0a273af: Pull complete [2023-08-23T04:36:25.870Z] 5d3b04190fa2: Pull complete [2023-08-23T04:36:30.059Z] 2f39f015ded8: Pull complete [2023-08-23T04:36:30.059Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-23T04:36:30.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-23T04:36:30.059Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T04:36:30.300Z] prd-ubuntu20.04-docker-8c-8g-4348 does not seem to be running inside a container [2023-08-23T04:36:30.332Z] $ 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-1498 -v /w/workspace/gexfoundry_device-sdk-go_PR-1498:/w/workspace/gexfoundry_device-sdk-go_PR-1498:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1498@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1498@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-08-23T04:36:34.692Z] $ docker top ecb0b937f9cd05cfde1b5204946e726b3fbf25d97a3713674fc11ac2b241583d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T04:36:35.158Z] ---> job-cost.sh [2023-08-23T04:36:35.158Z] lf-activate-venv: SKIPPING [2023-08-23T04:36:35.158Z] INFO: No Stack... [2023-08-23T04:36:35.417Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-23T04:36:35.677Z] INFO: Archiving Costs [Pipeline] sh [2023-08-23T04:36:36.000Z] + + cat /w/workspace/gexfoundry_device-sdk-go_PR-1498/archives/cost.csv [2023-08-23T04:36:36.000Z] cut -d, -f6 [Pipeline] lock [2023-08-23T04:36:36.044Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1498-1-stack-cost] [2023-08-23T04:36:36.049Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1498-1-stack-cost] did not exist. Created. [2023-08-23T04:36:36.049Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1498-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-23T04:36:36.443Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-23T04:36:36.502Z] Stashed 1 file(s) [Pipeline] } [2023-08-23T04:36:36.532Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1498-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-23T04:36:36.621Z] $ docker stop --time=1 ecb0b937f9cd05cfde1b5204946e726b3fbf25d97a3713674fc11ac2b241583d [2023-08-23T04:36:37.836Z] $ docker rm -f --volumes ecb0b937f9cd05cfde1b5204946e726b3fbf25d97a3713674fc11ac2b241583d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-23T04:37:33.364Z] Removing intermediate container 7f0eb0375166 [2023-08-23T04:37:33.364Z] ---> e3dd1c6ac375 [2023-08-23T04:37:33.364Z] Step 9/10 : COPY . . [2023-08-23T04:37:33.364Z] ---> eccadf2f07b1 [2023-08-23T04:37:33.364Z] Step 10/10 : RUN ${MAKE} [2023-08-23T04:37:33.364Z] ---> Running in 4f5ce5195e76 [2023-08-23T04:37:33.364Z] noop [2023-08-23T04:37:33.364Z] Removing intermediate container 4f5ce5195e76 [2023-08-23T04:37:33.364Z] ---> f22ebde0adad [2023-08-23T04:37:33.364Z] Successfully built f22ebde0adad [2023-08-23T04:37:33.364Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T04:37:33.837Z] + docker inspect -f . ci-base-image-arm64 [2023-08-23T04:37:33.837Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T04:37:34.114Z] prd-ubuntu20.04-docker-arm64-4c-16g-4349 does not seem to be running inside a container [2023-08-23T04:37:34.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-23T04:37:35.311Z] $ docker top c7cf6a0d52907ac0e6f00ed08c084191df583963287c21d136cc50432bed3192 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-23T04:37:36.180Z] + go version [2023-08-23T04:37:36.180Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-23T04:37:36.216Z] $ docker stop --time=1 c7cf6a0d52907ac0e6f00ed08c084191df583963287c21d136cc50432bed3192 [2023-08-23T04:37:37.819Z] $ docker rm -f --volumes c7cf6a0d52907ac0e6f00ed08c084191df583963287c21d136cc50432bed3192 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T04:37:38.680Z] + docker inspect -f . ci-base-image-arm64 [2023-08-23T04:37:38.680Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T04:37:38.928Z] prd-ubuntu20.04-docker-arm64-4c-16g-4349 does not seem to be running inside a container [2023-08-23T04:37:38.987Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-23T04:37:40.111Z] $ docker top 47acfb3990099657b96f0c1c70da7c7cb817b038d108cda35e21d0cd536aee37 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-23T04:37:40.650Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-08-23T04:37:41.033Z] + make test [2023-08-23T04:37:41.034Z] go test -race -coverprofile=coverage.out ./... [2023-08-23T04:38:19.905Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-23T04:40:26.558Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-23T04:40:26.558Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-23T04:40:26.558Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-23T04:40:26.558Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-23T04:40:26.558Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-23T04:40:34.756Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.230s coverage: 27.6% of statements [2023-08-23T04:40:40.091Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.251s coverage: 80.2% of statements [2023-08-23T04:40:52.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-23T04:40:52.396Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-23T04:40:52.396Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.347s coverage: 86.0% of statements [2023-08-23T04:40:57.751Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-23T04:40:57.751Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.473s coverage: 71.8% of statements [2023-08-23T04:41:01.095Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.289s coverage: 14.3% of statements [2023-08-23T04:41:03.668Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-23T04:41:03.668Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-23T04:41:04.251Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.707s coverage: 43.8% of statements [2023-08-23T04:41:04.251Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.411s coverage: 68.5% of statements [2023-08-23T04:41:07.594Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.432s coverage: 89.2% of statements [2023-08-23T04:41:09.005Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-23T04:41:09.270Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.248s coverage: 5.5% of statements [2023-08-23T04:41:09.853Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-23T04:41:09.853Z] GO111MODULE=on go vet ./... [2023-08-23T04:43:31.569Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-23T04:43:31.569Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-23T04:43:31.569Z] ./bin/test-attribution-txt.sh [2023-08-23T04:43:31.569Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-23T04:43:31.569Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-23T04:43:31.569Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-23T04:43:31.569Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-23T04:43:31.569Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-23T04:43:31.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-23T04:43:31.642Z] $ docker stop --time=1 47acfb3990099657b96f0c1c70da7c7cb817b038d108cda35e21d0cd536aee37 [2023-08-23T04:43:33.516Z] $ docker rm -f --volumes 47acfb3990099657b96f0c1c70da7c7cb817b038d108cda35e21d0cd536aee37 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-23T04:43:35.101Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-23T04:43:35.134Z] Warning: overwriting stash ‘coverage-report’ [2023-08-23T04:43:35.635Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-23T04:43:36.244Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-23T04:43:36.575Z] + ls -al . [2023-08-23T04:43:36.575Z] total 300 [2023-08-23T04:43:36.575Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 23 04:37 . [2023-08-23T04:43:36.575Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 04:35 .. [2023-08-23T04:43:36.575Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 23 04:35 .dockerignore [2023-08-23T04:43:36.575Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 04:35 .git [2023-08-23T04:43:36.575Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 04:35 .github [2023-08-23T04:43:36.575Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 23 04:35 .gitignore [2023-08-23T04:43:36.575Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 23 04:35 .golangci.yml [2023-08-23T04:43:36.575Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 23 04:35 CHANGELOG.md [2023-08-23T04:43:36.575Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 04:35 GOVERNANCE.md [2023-08-23T04:43:36.575Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 23 04:35 Jenkinsfile [2023-08-23T04:43:36.575Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 23 04:35 LICENSE [2023-08-23T04:43:36.575Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 23 04:35 Makefile [2023-08-23T04:43:36.575Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 23 04:35 OWNERS.md [2023-08-23T04:43:36.575Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 23 04:35 README.md [2023-08-23T04:43:36.575Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 04:33 VERSION [2023-08-23T04:43:36.575Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 04:35 bin [2023-08-23T04:43:36.575Z] -rw-r--r-- 1 jenkins jenkins 120273 Aug 23 04:41 coverage.out [2023-08-23T04:43:36.575Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 23 04:35 example [2023-08-23T04:43:36.575Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 23 04:35 go.mod [2023-08-23T04:43:36.575Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 23 04:35 go.sum [2023-08-23T04:43:36.575Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 04:35 internal [2023-08-23T04:43:36.575Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 04:35 openapi [2023-08-23T04:43:36.575Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 23 04:35 pkg [2023-08-23T04:43:36.575Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 04:35 snap [2023-08-23T04:43:36.575Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 23 04:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T04:43:36.980Z] + 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=ae34ede6e749bbeb09e45e870b1cc54c76f1e788 --label arch=arm64 --label version=0.0.0 . [2023-08-23T04:43:37.251Z] Sending build context to Docker daemon 6.03MB [2023-08-23T04:43:37.251Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-23T04:43:37.251Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-23T04:43:37.251Z] ---> f22ebde0adad [2023-08-23T04:43:37.251Z] Step 3/23 : ARG MAKE=make build [2023-08-23T04:43:37.521Z] ---> Running in 413a448be341 [2023-08-23T04:43:37.787Z] Removing intermediate container 413a448be341 [2023-08-23T04:43:37.787Z] ---> 9d712fce611b [2023-08-23T04:43:37.787Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-23T04:43:37.787Z] ---> Running in 961ad54670c4 [2023-08-23T04:43:38.054Z] Removing intermediate container 961ad54670c4 [2023-08-23T04:43:38.054Z] ---> 7c5a6722af18 [2023-08-23T04:43:38.054Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-23T04:43:38.333Z] ---> Running in 169e1e504cc2 [2023-08-23T04:43:38.601Z] Removing intermediate container 169e1e504cc2 [2023-08-23T04:43:38.601Z] ---> b52d3f50afa5 [2023-08-23T04:43:38.601Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-23T04:43:38.601Z] ---> Running in 4c1c1f39d8a2 [2023-08-23T04:43:39.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-23T04:43:40.142Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-23T04:43:41.100Z] OK: 263 MiB in 53 packages [2023-08-23T04:43:41.684Z] Removing intermediate container 4c1c1f39d8a2 [2023-08-23T04:43:41.684Z] ---> 9e420decee20 [2023-08-23T04:43:41.684Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-23T04:43:42.267Z] ---> 2668c3faa6d0 [2023-08-23T04:43:42.267Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-23T04:43:42.267Z] ---> Running in 44f66437844c [2023-08-23T04:43:44.213Z] Removing intermediate container 44f66437844c [2023-08-23T04:43:44.213Z] ---> 5123a60f8122 [2023-08-23T04:43:44.213Z] Step 9/23 : COPY . . [2023-08-23T04:43:45.619Z] ---> d72b193d9f3d [2023-08-23T04:43:45.619Z] Step 10/23 : RUN ${MAKE} [2023-08-23T04:43:45.619Z] ---> Running in 4aee171ff4a2 [2023-08-23T04:43:46.198Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-23T04:46:08.176Z] Removing intermediate container 4aee171ff4a2 [2023-08-23T04:46:08.176Z] ---> 8a6afce78a6e [2023-08-23T04:46:08.176Z] Step 11/23 : FROM alpine:3.17 [2023-08-23T04:46:08.176Z] 3.17: Pulling from library/alpine [2023-08-23T04:46:08.176Z] 4060ece20d7a: Pulling fs layer [2023-08-23T04:46:08.176Z] 4060ece20d7a: Verifying Checksum [2023-08-23T04:46:08.176Z] 4060ece20d7a: Download complete [2023-08-23T04:46:08.176Z] 4060ece20d7a: Pull complete [2023-08-23T04:46:08.176Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-23T04:46:08.176Z] Status: Downloaded newer image for alpine:3.17 [2023-08-23T04:46:08.176Z] ---> 8650cd65339b [2023-08-23T04:46:08.176Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-23T04:46:08.176Z] ---> Running in a624aa9879ab [2023-08-23T04:46:08.176Z] Removing intermediate container a624aa9879ab [2023-08-23T04:46:08.176Z] ---> 3177832aa763 [2023-08-23T04:46:08.176Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-23T04:46:08.176Z] ---> Running in 6dd57a921e5a [2023-08-23T04:46:08.176Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-23T04:46:08.176Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-23T04:46:08.176Z] OK: 7 MiB in 15 packages [2023-08-23T04:46:08.176Z] Removing intermediate container 6dd57a921e5a [2023-08-23T04:46:08.176Z] ---> 1cfce62b35a9 [2023-08-23T04:46:08.176Z] Step 14/23 : WORKDIR / [2023-08-23T04:46:08.176Z] ---> Running in 22ac701464f7 [2023-08-23T04:46:08.176Z] Removing intermediate container 22ac701464f7 [2023-08-23T04:46:08.176Z] ---> ac4e7b405c29 [2023-08-23T04:46:08.176Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-23T04:46:08.176Z] ---> 881228867475 [2023-08-23T04:46:08.176Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-23T04:46:08.176Z] ---> ccae998fdcc8 [2023-08-23T04:46:08.176Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-23T04:46:08.176Z] ---> c8f1d4001dc3 [2023-08-23T04:46:08.176Z] Step 18/23 : EXPOSE 59999 [2023-08-23T04:46:08.176Z] ---> Running in 835bd7c98fa7 [2023-08-23T04:46:08.176Z] Removing intermediate container 835bd7c98fa7 [2023-08-23T04:46:08.176Z] ---> 3a7d0169d014 [2023-08-23T04:46:08.176Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-23T04:46:08.176Z] ---> Running in 764e7abf5ff6 [2023-08-23T04:46:08.176Z] Removing intermediate container 764e7abf5ff6 [2023-08-23T04:46:08.176Z] ---> 211d6167867b [2023-08-23T04:46:08.176Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-23T04:46:08.176Z] ---> Running in c4598d824353 [2023-08-23T04:46:08.176Z] Removing intermediate container c4598d824353 [2023-08-23T04:46:08.176Z] ---> 6111eb4f20c8 [2023-08-23T04:46:08.176Z] Step 21/23 : LABEL arch=arm64 [2023-08-23T04:46:08.176Z] ---> Running in f67623285c21 [2023-08-23T04:46:08.176Z] Removing intermediate container f67623285c21 [2023-08-23T04:46:08.176Z] ---> 9ed974340ce1 [2023-08-23T04:46:08.176Z] Step 22/23 : LABEL git_sha=ae34ede6e749bbeb09e45e870b1cc54c76f1e788 [2023-08-23T04:46:08.176Z] ---> Running in 50d3f4d80da2 [2023-08-23T04:46:08.176Z] Removing intermediate container 50d3f4d80da2 [2023-08-23T04:46:08.176Z] ---> 1d3add4f7648 [2023-08-23T04:46:08.176Z] Step 23/23 : LABEL version=0.0.0 [2023-08-23T04:46:08.176Z] ---> Running in 1fb5ee3e227f [2023-08-23T04:46:08.176Z] Removing intermediate container 1fb5ee3e227f [2023-08-23T04:46:08.176Z] ---> 331a534bef0d [2023-08-23T04:46:08.176Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-23T04:46:08.176Z] Successfully built 331a534bef0d [2023-08-23T04:46:08.176Z] 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-08-23T04:46:08.988Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-23T04:46:08.988Z] [2023-08-23T04:46:08.988Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T04:46:09.399Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-23T04:46:09.399Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-23T04:46:09.399Z] 8998bd30e6a1: Pulling fs layer [2023-08-23T04:46:09.399Z] 04944245beec: Pulling fs layer [2023-08-23T04:46:09.399Z] 699f458cf7ca: Pulling fs layer [2023-08-23T04:46:09.399Z] 765212b225bb: Pulling fs layer [2023-08-23T04:46:09.399Z] f23df028b6ca: Pulling fs layer [2023-08-23T04:46:09.399Z] d65c8cfc05b1: Pulling fs layer [2023-08-23T04:46:09.399Z] 2437ff75d9bd: Pulling fs layer [2023-08-23T04:46:09.399Z] 765212b225bb: Waiting [2023-08-23T04:46:09.399Z] f23df028b6ca: Waiting [2023-08-23T04:46:09.399Z] d65c8cfc05b1: Waiting [2023-08-23T04:46:09.399Z] 2437ff75d9bd: Waiting [2023-08-23T04:46:09.665Z] 04944245beec: Verifying Checksum [2023-08-23T04:46:09.665Z] 04944245beec: Download complete [2023-08-23T04:46:09.665Z] 765212b225bb: Verifying Checksum [2023-08-23T04:46:09.665Z] 765212b225bb: Download complete [2023-08-23T04:46:09.665Z] f23df028b6ca: Verifying Checksum [2023-08-23T04:46:09.665Z] f23df028b6ca: Download complete [2023-08-23T04:46:09.665Z] d65c8cfc05b1: Download complete [2023-08-23T04:46:09.665Z] 699f458cf7ca: Verifying Checksum [2023-08-23T04:46:09.665Z] 699f458cf7ca: Download complete [2023-08-23T04:46:10.250Z] 8998bd30e6a1: Verifying Checksum [2023-08-23T04:46:10.250Z] 8998bd30e6a1: Download complete [2023-08-23T04:46:12.190Z] 2437ff75d9bd: Download complete [2023-08-23T04:46:14.130Z] 8998bd30e6a1: Pull complete [2023-08-23T04:46:14.713Z] 04944245beec: Pull complete [2023-08-23T04:46:16.118Z] 699f458cf7ca: Pull complete [2023-08-23T04:46:16.118Z] 765212b225bb: Pull complete [2023-08-23T04:46:16.702Z] f23df028b6ca: Pull complete [2023-08-23T04:46:16.979Z] d65c8cfc05b1: Pull complete [2023-08-23T04:46:31.968Z] 2437ff75d9bd: Pull complete [2023-08-23T04:46:31.968Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-23T04:46:31.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-23T04:46:31.968Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T04:46:32.292Z] prd-ubuntu20.04-docker-arm64-4c-16g-4349 does not seem to be running inside a container [2023-08-23T04:46:32.351Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-23T04:46:34.786Z] $ docker top 5ffc8bbda5d063a756b9cc1ff558ad18120eb5f6fb5cca7383dcf3caeba4f61b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T04:46:35.349Z] ---> job-cost.sh [2023-08-23T04:46:35.613Z] lf-activate-venv: SKIPPING [2023-08-23T04:46:35.613Z] INFO: No Stack... [2023-08-23T04:46:36.193Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-23T04:46:37.147Z] INFO: Archiving Costs [Pipeline] sh [2023-08-23T04:46:37.483Z] + + catcut /w/workspace/device-sdk-go/1/archives/cost.csv -d, [2023-08-23T04:46:37.483Z] -f6 [Pipeline] lock [2023-08-23T04:46:37.563Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1498-1-stack-cost] [2023-08-23T04:46:37.568Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1498-1-stack-cost] did not exist. Created. [2023-08-23T04:46:37.568Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1498-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-23T04:46:37.972Z] /w/workspace/device-sdk-go/1@tmp/durable-fc448a48/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-23T04:46:38.324Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-23T04:46:38.367Z] Warning: overwriting stash ‘stack-cost’ [2023-08-23T04:46:38.439Z] Stashed 1 file(s) [Pipeline] } [2023-08-23T04:46:38.456Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1498-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-23T04:46:38.531Z] $ docker stop --time=1 5ffc8bbda5d063a756b9cc1ff558ad18120eb5f6fb5cca7383dcf3caeba4f61b [2023-08-23T04:46:40.013Z] $ docker rm -f --volumes 5ffc8bbda5d063a756b9cc1ff558ad18120eb5f6fb5cca7383dcf3caeba4f61b [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-08-23T04:46:41.044Z] provisioning config files... [2023-08-23T04:46:41.051Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1498@tmp/config16021056708255771763tmp [Pipeline] { [Pipeline] sh [2023-08-23T04:46:41.387Z] + set +x [2023-08-23T04:46:41.387Z] + bash -s -- [2023-08-23T04:46:41.387Z] + curl -s https://codecov.io/bash [2023-08-23T04:46:41.387Z] [2023-08-23T04:46:41.387Z] _____ _ [2023-08-23T04:46:41.387Z] / ____| | | [2023-08-23T04:46:41.387Z] | | ___ __| | ___ ___ _____ __ [2023-08-23T04:46:41.387Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-23T04:46:41.387Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-23T04:46:41.387Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-23T04:46:41.387Z] Bash-1.0.6 [2023-08-23T04:46:41.387Z] [2023-08-23T04:46:41.387Z] [2023-08-23T04:46:41.387Z] ==> git version 2.25.1 found [2023-08-23T04:46:41.387Z] ==> 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-08-23T04:46:41.387Z] Release-Date: 2020-01-08 [2023-08-23T04:46:41.387Z] 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-08-23T04:46:41.387Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-23T04:46:41.387Z] ==> Jenkins CI detected. [2023-08-23T04:46:41.387Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1498 [2023-08-23T04:46:41.387Z] project root: . [2023-08-23T04:46:41.387Z] --> token set from env [2023-08-23T04:46:41.387Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-23T04:46:41.387Z] ==> Running gcov in . (disable via -X gcov) [2023-08-23T04:46:41.387Z] ==> Python coveragepy not found [2023-08-23T04:46:41.387Z] ==> Searching for coverage reports in: [2023-08-23T04:46:41.387Z] + . [2023-08-23T04:46:41.648Z] -> Found 1 reports [2023-08-23T04:46:41.648Z] ==> Detecting git/mercurial file structure [2023-08-23T04:46:41.648Z] ==> Reading reports [2023-08-23T04:46:41.648Z] + ./coverage.out bytes=120273 [2023-08-23T04:46:41.648Z] ==> Appending adjustments [2023-08-23T04:46:41.648Z] https://docs.codecov.io/docs/fixing-reports [2023-08-23T04:46:41.907Z] + Found adjustments [2023-08-23T04:46:41.907Z] ==> Gzipping contents [2023-08-23T04:46:41.907Z] 20K /tmp/codecov.ssEzuG.gz [2023-08-23T04:46:41.907Z] ==> Uploading reports [2023-08-23T04:46:41.907Z] url: https://codecov.io [2023-08-23T04:46:41.907Z] query: branch=PR-1498&commit=ae34ede6e749bbeb09e45e870b1cc54c76f1e788&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1498%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1498&job=&cmd_args= [2023-08-23T04:46:41.907Z] -> Pinging Codecov [2023-08-23T04:46:41.907Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1498&commit=ae34ede6e749bbeb09e45e870b1cc54c76f1e788&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1498%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1498&job=&cmd_args= [2023-08-23T04:46:41.907Z] -> Uploading to [2023-08-23T04:46:41.908Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-23/7E55EF52A471D76F132DFD9A03CDDE97/ae34ede6e749bbeb09e45e870b1cc54c76f1e788/059fb407-ca66-4396-ba27-81f2de62fb23.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230823%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230823T044641Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=41b87ccadc8f78531264a3dbe075d5bfe7c878126c187629414d03526832159b [2023-08-23T04:46:41.908Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-23T04:46:41.908Z] Dload Upload Total Spent Left Speed [2023-08-23T04:46:42.167Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16432 0 0 100 16432 0 79381 --:--:-- --:--:-- --:--:-- 79381 [2023-08-23T04:46:42.167Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ae34ede6e749bbeb09e45e870b1cc54c76f1e788 [Pipeline] } [2023-08-23T04:46:42.195Z] 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-08-23T04:46:43.974Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1498/archives ] [2023-08-23T04:46:43.974Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1498/archives [2023-08-23T04:46:43.974Z] total 16 [2023-08-23T04:46:43.974Z] drwxr-xr-x 3 root root 4096 Aug 23 04:36 . [2023-08-23T04:46:43.974Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 04:36 .. [2023-08-23T04:46:43.974Z] drwxr-xr-x 2 root root 4096 Aug 23 04:36 cost [2023-08-23T04:46:43.974Z] -rw-r--r-- 1 root root 86 Aug 23 04:36 cost.csv [2023-08-23T04:46:43.974Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1498/archives [2023-08-23T04:46:43.974Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1498/archives [2023-08-23T04:46:43.974Z] total 16 [2023-08-23T04:46:43.974Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 04:36 . [2023-08-23T04:46:43.974Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 04:36 .. [2023-08-23T04:46:43.974Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 23 04:36 cost [2023-08-23T04:46:43.974Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 23 04:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-23T04:46:44.297Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T04:46:45.184Z] ---> package-listing.sh [2023-08-23T04:46:45.184Z] ++ facter osfamily [2023-08-23T04:46:45.184Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-23T04:46:45.443Z] + OS_FAMILY=debian [2023-08-23T04:46:45.443Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1498 [2023-08-23T04:46:45.443Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-23T04:46:45.443Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-23T04:46:45.443Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-23T04:46:45.443Z] + PACKAGES=/tmp/packages_start.txt [2023-08-23T04:46:45.443Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1498 ']' [2023-08-23T04:46:45.443Z] + PACKAGES=/tmp/packages_end.txt [2023-08-23T04:46:45.443Z] + case "${OS_FAMILY}" in [2023-08-23T04:46:45.443Z] + dpkg -l [2023-08-23T04:46:45.443Z] + grep '^ii' [2023-08-23T04:46:45.443Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-23T04:46:45.443Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-23T04:46:45.443Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-23T04:46:45.443Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1498 ']' [2023-08-23T04:46:45.443Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1498/archives/ [2023-08-23T04:46:45.443Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1498/archives/ [Pipeline] echo [2023-08-23T04:46:45.479Z] 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-1498/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-23T04:46:45.772Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T04:46:46.395Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-23T04:46:46.395Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T04:46:46.537Z] prd-ubuntu20.04-docker-8c-8g-4348 does not seem to be running inside a container [2023-08-23T04:46:46.568Z] $ 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-1498/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-1498 -v /w/workspace/gexfoundry_device-sdk-go_PR-1498:/w/workspace/gexfoundry_device-sdk-go_PR-1498:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1498@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1498@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-08-23T04:46:47.175Z] $ docker top b2adc479619897e4be975e072494781697f983bcf807413f7e6f26f8ad18b235 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-23T04:46:47.566Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-23T04:46:47.876Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-23T04:46:48.186Z] + ls /var/log/sa-host [2023-08-23T04:46:48.186Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-23T04:46:48.397Z] provisioning config files... [2023-08-23T04:46:48.405Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1498@tmp/config3418062810298098456tmp [Pipeline] { [Pipeline] echo [2023-08-23T04:46:48.460Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T04:46:48.768Z] ---> create-netrc.sh [Pipeline] } [2023-08-23T04:46:48.795Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-23T04:46:49.220Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-23T04:46:49.253Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T04:46:49.563Z] ---> sudo-logs.sh [2023-08-23T04:46:49.563Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-23T04:46:49.646Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T04:46:49.953Z] ---> job-cost.sh [2023-08-23T04:46:49.954Z] lf-activate-venv: SKIPPING [2023-08-23T04:46:49.954Z] DEBUG: total: 0.2199999988079071 [2023-08-23T04:46:49.954Z] INFO: Retrieving Stack Cost... [2023-08-23T04:46:50.213Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-23T04:46:50.782Z] INFO: Archiving Costs [Pipeline] echo [2023-08-23T04:46:50.819Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T04:46:51.130Z] ---> logs-deploy.sh [2023-08-23T04:46:51.130Z] lf-activate-venv: SKIPPING [2023-08-23T04:46:51.130Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1498/1 [2023-08-23T04:46:51.130Z] INFO: archiving workspace using pattern(s): [2023-08-23T04:46:52.065Z] Archives upload complete. [2023-08-23T04:46:52.324Z] INFO: archiving logs to Nexus