Pull request #1503 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b4bed0cb5e640194fa93a94e9c79c299a23711f2+c51a94a8207d4a1ad8be458cdf522e8931b07b09 (41d715dca6213cbb65cc5cb7ee53545ad34777fd) 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-ssh7468098796605786350.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-ssh17638523284491270429.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-1503/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-1503/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9755381248247483014.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-1503/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13345620052473021573.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-ssh13397563674537323485.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-1503/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-1503/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13425357993836173770.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4862’ Running on prd-ubuntu20.04-docker-8c-8g-4864 in /w/workspace/gexfoundry_device-sdk-go_PR-1503 [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-1503 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1503/head:refs/remotes/origin/PR-1503 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c51a94a8207d4a1ad8be458cdf522e8931b07b09 into PR head commit b4bed0cb5e640194fa93a94e9c79c299a23711f2 Merge succeeded, producing b4bed0cb5e640194fa93a94e9c79c299a23711f2 Checking out Revision b4bed0cb5e640194fa93a94e9c79c299a23711f2 (PR-1503) 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-30T04:29:34.735Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-30T04:29:34.920Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-30T04:29:35.023Z] ========================================================= [2023-08-30T04:29:35.023Z] EdgeX Global Pipelines Version Info [2023-08-30T04:29:35.023Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f b4bed0cb5e640194fa93a94e9c79c299a23711f2 # 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 c51a94a8207d4a1ad8be458cdf522e8931b07b09 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b4bed0cb5e640194fa93a94e9c79c299a23711f2 # timeout=10 [2023-08-30T04:29:35.761Z] ------------------- [2023-08-30T04:29:35.761Z] stable info: [2023-08-30T04:29:35.761Z] ------------------- [2023-08-30T04:29:35.761Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-30T04:29:35.761Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-30T04:29:35.761Z] Message: update stable to v1.0.253 [2023-08-30T04:29:36.333Z] ------------------- [2023-08-30T04:29:36.333Z] experimental info: [2023-08-30T04:29:36.333Z] ------------------- [2023-08-30T04:29:36.334Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-30T04:29:36.334Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-30T04:29:36.334Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-30T04:29:36.620Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-08-30T04:29:36.662Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-08-30T04:29:36.704Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-30T04:29:36.750Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-30T04:29:36.792Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-30T04:29:36.835Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-30T04:29:36.879Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-30T04:29:36.921Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-08-30T04:29:36.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-30T04:29:37.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-30T04:29:37.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-30T04:29:37.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-08-30T04:29:37.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-30T04:29:37.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-30T04:29:37.220Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-30T04:29:37.261Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-30T04:29:37.312Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-30T04:29:37.355Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-30T04:29:37.395Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-30T04:29:37.435Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-30T04:29:37.477Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-30T04:29:37.526Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-08-30T04:29:37.569Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-30T04:29:37.612Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-30T04:29:37.658Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-30T04:29:37.699Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-30T04:29:37.742Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-30T04:29:37.785Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1503 [Pipeline] echo [2023-08-30T04:29:37.828Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1503 [Pipeline] echo [2023-08-30T04:29:37.871Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1503 [Pipeline] echo [2023-08-30T04:29:37.915Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b4bed0cb5e640194fa93a94e9c79c299a23711f2 [Pipeline] echo [2023-08-30T04:29:37.961Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b4bed0c [Pipeline] echo [2023-08-30T04:29:38.006Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-30T04:29:38.155Z] provisioning config files... [2023-08-30T04:29:38.177Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1503@tmp/config7865930884728999913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T04:29:38.521Z] ---> docker-login.sh [2023-08-30T04:29:38.521Z] nexus3.edgexfoundry.org:10001 [2023-08-30T04:29:38.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T04:29:38.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T04:29:38.781Z] Configure a credential helper to remove this warning. See [2023-08-30T04:29:38.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T04:29:38.781Z] [2023-08-30T04:29:38.781Z] Login Succeeded [2023-08-30T04:29:38.781Z] nexus3.edgexfoundry.org:10002 [2023-08-30T04:29:39.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T04:29:39.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T04:29:39.042Z] Configure a credential helper to remove this warning. See [2023-08-30T04:29:39.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T04:29:39.042Z] [2023-08-30T04:29:39.042Z] Login Succeeded [2023-08-30T04:29:39.042Z] nexus3.edgexfoundry.org:10003 [2023-08-30T04:29:39.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T04:29:39.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T04:29:39.042Z] Configure a credential helper to remove this warning. See [2023-08-30T04:29:39.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T04:29:39.042Z] [2023-08-30T04:29:39.042Z] Login Succeeded [2023-08-30T04:29:39.042Z] nexus3.edgexfoundry.org:10004 [2023-08-30T04:29:39.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T04:29:39.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T04:29:39.301Z] Configure a credential helper to remove this warning. See [2023-08-30T04:29:39.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T04:29:39.301Z] [2023-08-30T04:29:39.301Z] Login Succeeded [2023-08-30T04:29:39.301Z] docker.io [2023-08-30T04:29:39.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T04:29:39.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T04:29:39.873Z] Configure a credential helper to remove this warning. See [2023-08-30T04:29:39.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T04:29:39.873Z] [2023-08-30T04:29:39.873Z] Login Succeeded [2023-08-30T04:29:39.873Z] ---> docker-login.sh ends [Pipeline] } [2023-08-30T04:29:39.903Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-30T04:29:40.561Z] + git rev-list -1 --merges b4bed0cb5e640194fa93a94e9c79c299a23711f2~1..b4bed0cb5e640194fa93a94e9c79c299a23711f2 [Pipeline] echo [2023-08-30T04:29:40.626Z] -----------> git rev-list -1 --merges b4bed0cb5e640194fa93a94e9c79c299a23711f2~1..b4bed0cb5e640194fa93a94e9c79c299a23711f2 b4bed0cb5e640194fa93a94e9c79c299a23711f2 [false] [Pipeline] sh [2023-08-30T04:29:40.939Z] + git log --format=format:%s -1 b4bed0cb5e640194fa93a94e9c79c299a23711f2 [Pipeline] echo [2023-08-30T04:29:40.982Z] ========================================================= [2023-08-30T04:29:40.982Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-30T04:29:40.982Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-30T04:29:41.434Z] + git log --format=format:%s -1 b4bed0cb5e640194fa93a94e9c79c299a23711f2 [Pipeline] echo [2023-08-30T04:29:41.467Z] [semverPrep] GIT_COMMIT: b4bed0cb5e640194fa93a94e9c79c299a23711f2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-08-30T04:29:41.497Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-30T04:29:41.959Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-30T04:29:41.959Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-30T04:29:41.959Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-30T04:29:41.959Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-30T04:29:41.959Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-30T04:29:41.959Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-30T04:29:41.959Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T04:29:42.405Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T04:29:42.406Z] [2023-08-30T04:29:42.406Z] 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-30T04:29:42.784Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T04:29:42.784Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-30T04:29:42.784Z] b85a868b505f: Pulling fs layer [2023-08-30T04:29:42.784Z] e2be974225ed: Pulling fs layer [2023-08-30T04:29:42.784Z] 339a4e72a1f5: Pulling fs layer [2023-08-30T04:29:42.784Z] 988bab9f4d93: Pulling fs layer [2023-08-30T04:29:42.784Z] 1469e6f7b9e6: Pulling fs layer [2023-08-30T04:29:42.784Z] eaf3925da568: Pulling fs layer [2023-08-30T04:29:42.784Z] bab4dde63d76: Pulling fs layer [2023-08-30T04:29:42.784Z] bde34c3a00c8: Pulling fs layer [2023-08-30T04:29:42.784Z] b352a97aabf1: Pulling fs layer [2023-08-30T04:29:42.784Z] 4872d77fe225: Pulling fs layer [2023-08-30T04:29:42.784Z] 5851b861e8e6: Pulling fs layer [2023-08-30T04:29:42.784Z] bab4dde63d76: Waiting [2023-08-30T04:29:42.784Z] b352a97aabf1: Waiting [2023-08-30T04:29:42.784Z] 4872d77fe225: Waiting [2023-08-30T04:29:42.784Z] 5851b861e8e6: Waiting [2023-08-30T04:29:42.784Z] bde34c3a00c8: Waiting [2023-08-30T04:29:42.784Z] 988bab9f4d93: Waiting [2023-08-30T04:29:42.784Z] 1469e6f7b9e6: Waiting [2023-08-30T04:29:42.784Z] e2be974225ed: Download complete [2023-08-30T04:29:42.784Z] 988bab9f4d93: Verifying Checksum [2023-08-30T04:29:42.784Z] 988bab9f4d93: Download complete [2023-08-30T04:29:43.044Z] 1469e6f7b9e6: Verifying Checksum [2023-08-30T04:29:43.044Z] 1469e6f7b9e6: Download complete [2023-08-30T04:29:43.044Z] eaf3925da568: Verifying Checksum [2023-08-30T04:29:43.044Z] eaf3925da568: Download complete [2023-08-30T04:29:43.044Z] 339a4e72a1f5: Verifying Checksum [2023-08-30T04:29:43.044Z] 339a4e72a1f5: Download complete [2023-08-30T04:29:43.044Z] bde34c3a00c8: Download complete [2023-08-30T04:29:43.044Z] b352a97aabf1: Verifying Checksum [2023-08-30T04:29:43.044Z] b352a97aabf1: Download complete [2023-08-30T04:29:43.044Z] 4872d77fe225: Verifying Checksum [2023-08-30T04:29:43.044Z] 4872d77fe225: Download complete [2023-08-30T04:29:43.044Z] 5851b861e8e6: Verifying Checksum [2023-08-30T04:29:43.044Z] 5851b861e8e6: Download complete [2023-08-30T04:29:43.044Z] b85a868b505f: Verifying Checksum [2023-08-30T04:29:43.044Z] b85a868b505f: Download complete [2023-08-30T04:29:43.307Z] bab4dde63d76: Verifying Checksum [2023-08-30T04:29:43.307Z] bab4dde63d76: Download complete [2023-08-30T04:29:44.695Z] b85a868b505f: Pull complete [2023-08-30T04:29:44.695Z] e2be974225ed: Pull complete [2023-08-30T04:29:45.266Z] 339a4e72a1f5: Pull complete [2023-08-30T04:29:45.266Z] 988bab9f4d93: Pull complete [2023-08-30T04:29:45.528Z] 1469e6f7b9e6: Pull complete [2023-08-30T04:29:45.528Z] eaf3925da568: Pull complete [2023-08-30T04:29:47.431Z] bab4dde63d76: Pull complete [2023-08-30T04:29:47.431Z] bde34c3a00c8: Pull complete [2023-08-30T04:29:47.431Z] b352a97aabf1: Pull complete [2023-08-30T04:29:47.431Z] 4872d77fe225: Pull complete [2023-08-30T04:29:47.690Z] 5851b861e8e6: Pull complete [2023-08-30T04:29:47.691Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-30T04:29:47.691Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T04:29:47.691Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T04:29:47.929Z] prd-ubuntu20.04-docker-8c-8g-4864 does not seem to be running inside a container [2023-08-30T04:29:47.953Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1503 -v /w/workspace/gexfoundry_device-sdk-go_PR-1503:/w/workspace/gexfoundry_device-sdk-go_PR-1503:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1503@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1503@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-30T04:29:50.181Z] $ docker top 3c15b928150143ab91201c8d25f8d514758a68e071f1d7c3ebf4366323050304 -eo pid,comm [2023-08-30T04:29:50.236Z] 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-30T04:29:50.236Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-30T04:29:50.366Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-30T04:29:50.366Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-30T04:29:50.485Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-30T04:29:50.484Z] $ docker exec 3c15b928150143ab91201c8d25f8d514758a68e071f1d7c3ebf4366323050304 ssh-agent [2023-08-30T04:29:50.591Z] SSH_AUTH_SOCK=/tmp/ssh-q6QuB9cYSpMQ/agent.31 [2023-08-30T04:29:50.591Z] SSH_AGENT_PID=37 [2023-08-30T04:29:50.597Z] Running ssh-add (command line suppressed) [2023-08-30T04:29:50.684Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1503@tmp/private_key_10158448615607510660.key (/w/workspace/gexfoundry_device-sdk-go_PR-1503@tmp/private_key_10158448615607510660.key) [2023-08-30T04:29:50.701Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-30T04:29:51.033Z] + git tag --points-at HEAD [Pipeline] } [2023-08-30T04:29:51.056Z] $ docker exec --env ******** --env ******** 3c15b928150143ab91201c8d25f8d514758a68e071f1d7c3ebf4366323050304 ssh-agent -k [2023-08-30T04:29:51.157Z] unset SSH_AUTH_SOCK; [2023-08-30T04:29:51.158Z] unset SSH_AGENT_PID; [2023-08-30T04:29:51.158Z] echo Agent pid 37 killed; [2023-08-30T04:29:51.173Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-30T04:29:51.258Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-30T04:29:51.258Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-30T04:29:51.369Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-30T04:29:51.369Z] $ docker exec 3c15b928150143ab91201c8d25f8d514758a68e071f1d7c3ebf4366323050304 ssh-agent [2023-08-30T04:29:51.471Z] SSH_AUTH_SOCK=/tmp/ssh-bOaGhZPCK3mt/agent.69 [2023-08-30T04:29:51.471Z] SSH_AGENT_PID=75 [2023-08-30T04:29:51.476Z] Running ssh-add (command line suppressed) [2023-08-30T04:29:51.590Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1503@tmp/private_key_15495841616993892529.key (/w/workspace/gexfoundry_device-sdk-go_PR-1503@tmp/private_key_15495841616993892529.key) [2023-08-30T04:29:51.606Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-30T04:29:51.935Z] + git semver init [2023-08-30T04:29:52.195Z] 2023-08-30 04:29:52,128 [run_init] DEBUG init version:0.0.0 force:False [2023-08-30T04:29:52.195Z] 2023-08-30 04:29:52,128 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1503/.semver [2023-08-30T04:29:52.195Z] 2023-08-30 04:29:52,129 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1503/.semver [2023-08-30T04:29:52.195Z] 2023-08-30 04:29:52,129 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1503/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1503, universal_newlines=False, shell=None, istream=None) [2023-08-30T04:29:53.135Z] 2023-08-30 04:29:53,016 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1503/.git/info/exclude [2023-08-30T04:29:53.135Z] 2023-08-30 04:29:53,017 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1503/.semver/PR-1503 with force:False [2023-08-30T04:29:53.135Z] 2023-08-30 04:29:53,017 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1503/.semver/PR-1503 [2023-08-30T04:29:53.135Z] 2023-08-30 04:29:53,022 [execute] INFO git cat-file --batch-check [2023-08-30T04:29:53.135Z] 2023-08-30 04:29:53,022 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1503/.semver, universal_newlines=False, shell=None, istream=) [2023-08-30T04:29:53.135Z] 2023-08-30 04:29:53,028 [execute] INFO git cat-file --batch [2023-08-30T04:29:53.136Z] 2023-08-30 04:29:53,028 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1503/.semver, universal_newlines=False, shell=None, istream=) [2023-08-30T04:29:53.136Z] 2023-08-30 04:29:53,032 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1503/.semver/PR-1503 [2023-08-30T04:29:53.136Z] 0.0.0 [Pipeline] } [2023-08-30T04:29:53.165Z] $ docker exec --env ******** --env ******** 3c15b928150143ab91201c8d25f8d514758a68e071f1d7c3ebf4366323050304 ssh-agent -k [2023-08-30T04:29:53.260Z] unset SSH_AUTH_SOCK; [2023-08-30T04:29:53.261Z] unset SSH_AGENT_PID; [2023-08-30T04:29:53.261Z] echo Agent pid 75 killed; [2023-08-30T04:29:53.272Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-30T04:29:53.692Z] + git semver [Pipeline] } [2023-08-30T04:29:53.977Z] $ docker stop --time=1 3c15b928150143ab91201c8d25f8d514758a68e071f1d7c3ebf4366323050304 [2023-08-30T04:29:55.285Z] $ docker rm -f --volumes 3c15b928150143ab91201c8d25f8d514758a68e071f1d7c3ebf4366323050304 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-30T04:29:55.691Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-30T04:29:55.972Z] Stashed 1 file(s) [Pipeline] echo [2023-08-30T04:29:55.988Z] [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-30T04:29:56.600Z] provisioning config files... [2023-08-30T04:29:56.610Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1503@tmp/config16346800850603867104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T04:29:56.978Z] ---> docker-login.sh [2023-08-30T04:29:56.978Z] nexus3.edgexfoundry.org:10001 [2023-08-30T04:29:56.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T04:29:56.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T04:29:56.978Z] Configure a credential helper to remove this warning. See [2023-08-30T04:29:56.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T04:29:56.978Z] [2023-08-30T04:29:56.978Z] Login Succeeded [2023-08-30T04:29:56.978Z] nexus3.edgexfoundry.org:10002 [2023-08-30T04:29:56.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T04:29:56.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T04:29:56.978Z] Configure a credential helper to remove this warning. See [2023-08-30T04:29:56.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T04:29:56.978Z] [2023-08-30T04:29:56.978Z] Login Succeeded [2023-08-30T04:29:56.978Z] nexus3.edgexfoundry.org:10003 [2023-08-30T04:29:57.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T04:29:57.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T04:29:57.239Z] Configure a credential helper to remove this warning. See [2023-08-30T04:29:57.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T04:29:57.239Z] [2023-08-30T04:29:57.239Z] Login Succeeded [2023-08-30T04:29:57.239Z] nexus3.edgexfoundry.org:10004 [2023-08-30T04:29:57.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T04:29:57.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T04:29:57.239Z] Configure a credential helper to remove this warning. See [2023-08-30T04:29:57.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T04:29:57.240Z] [2023-08-30T04:29:57.240Z] Login Succeeded [2023-08-30T04:29:57.240Z] docker.io [2023-08-30T04:29:57.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T04:29:57.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T04:29:57.500Z] Configure a credential helper to remove this warning. See [2023-08-30T04:29:57.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T04:29:57.500Z] [2023-08-30T04:29:57.500Z] Login Succeeded [2023-08-30T04:29:57.500Z] ---> docker-login.sh ends [Pipeline] } [2023-08-30T04:29:57.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-30T04:29:57.972Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T04:29:58.006Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T04:29:58.036Z] ========================================================= [2023-08-30T04:29:58.036Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-30T04:29:58.036Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T04:29:58.523Z] + 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-30T04:29:58.523Z] Sending build context to Docker daemon 11.09MB [2023-08-30T04:29:58.523Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-30T04:29:58.523Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-30T04:29:58.523Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-30T04:29:58.523Z] 4db1b89c0bd1: Pulling fs layer [2023-08-30T04:29:58.523Z] 6911f1a30b25: Pulling fs layer [2023-08-30T04:29:58.523Z] e194b8c5c2a9: Pulling fs layer [2023-08-30T04:29:58.523Z] 6863d3e3a2b1: Pulling fs layer [2023-08-30T04:29:58.523Z] ec0bb842ea78: Pulling fs layer [2023-08-30T04:29:58.523Z] 40a00589a448: Pulling fs layer [2023-08-30T04:29:58.523Z] 6c08303d61cc: Pulling fs layer [2023-08-30T04:29:58.523Z] 798269fcf238: Pulling fs layer [2023-08-30T04:29:58.523Z] ec0bb842ea78: Waiting [2023-08-30T04:29:58.523Z] 6c08303d61cc: Waiting [2023-08-30T04:29:58.523Z] 798269fcf238: Waiting [2023-08-30T04:29:58.523Z] 40a00589a448: Waiting [2023-08-30T04:29:58.523Z] 6863d3e3a2b1: Waiting [2023-08-30T04:29:58.523Z] 6911f1a30b25: Download complete [2023-08-30T04:29:58.523Z] 6863d3e3a2b1: Verifying Checksum [2023-08-30T04:29:58.523Z] 6863d3e3a2b1: Download complete [2023-08-30T04:29:58.794Z] ec0bb842ea78: Download complete [2023-08-30T04:29:58.794Z] 4db1b89c0bd1: Verifying Checksum [2023-08-30T04:29:58.794Z] 4db1b89c0bd1: Download complete [2023-08-30T04:29:58.794Z] 40a00589a448: Verifying Checksum [2023-08-30T04:29:58.794Z] 40a00589a448: Download complete [2023-08-30T04:29:58.794Z] 4db1b89c0bd1: Pull complete [2023-08-30T04:29:59.063Z] 6911f1a30b25: Pull complete [2023-08-30T04:29:59.651Z] e194b8c5c2a9: Verifying Checksum [2023-08-30T04:29:59.651Z] e194b8c5c2a9: Download complete [2023-08-30T04:29:59.651Z] 798269fcf238: Verifying Checksum [2023-08-30T04:29:59.651Z] 798269fcf238: Download complete [2023-08-30T04:29:59.651Z] 6c08303d61cc: Verifying Checksum [2023-08-30T04:29:59.651Z] 6c08303d61cc: Download complete [2023-08-30T04:30:03.851Z] e194b8c5c2a9: Pull complete [2023-08-30T04:30:03.851Z] 6863d3e3a2b1: Pull complete [2023-08-30T04:30:03.851Z] ec0bb842ea78: Pull complete [2023-08-30T04:30:03.851Z] 40a00589a448: Pull complete [2023-08-30T04:30:05.767Z] 6c08303d61cc: Pull complete [2023-08-30T04:30:07.148Z] 798269fcf238: Pull complete [2023-08-30T04:30:07.148Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-30T04:30:07.148Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-30T04:30:07.148Z] ---> ec979cd7f677 [2023-08-30T04:30:07.148Z] Step 3/10 : ARG MAKE=make build [2023-08-30T04:30:10.472Z] ---> Running in 57f3a3989ebc [2023-08-30T04:30:10.472Z] Removing intermediate container 57f3a3989ebc [2023-08-30T04:30:10.472Z] ---> bee475869969 [2023-08-30T04:30:10.472Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-30T04:30:10.472Z] ---> Running in a9b068d0129a [2023-08-30T04:30:10.472Z] Removing intermediate container a9b068d0129a [2023-08-30T04:30:10.472Z] ---> db9d7581b0b7 [2023-08-30T04:30:10.472Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-30T04:30:10.732Z] ---> Running in d50d68fb8acf [2023-08-30T04:30:10.732Z] Removing intermediate container d50d68fb8acf [2023-08-30T04:30:10.732Z] ---> 5e3488520464 [2023-08-30T04:30:10.732Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-30T04:30:10.732Z] ---> Running in 6aaeb23838a1 [2023-08-30T04:30:10.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-30T04:30:11.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-30T04:30:11.421Z] Still waiting to schedule task [2023-08-30T04:30:11.421Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4863’ is offline [2023-08-30T04:30:11.516Z] OK: 265 MiB in 53 packages [2023-08-30T04:30:11.775Z] Removing intermediate container 6aaeb23838a1 [2023-08-30T04:30:11.775Z] ---> 69de432fb92f [2023-08-30T04:30:11.775Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-30T04:30:12.712Z] ---> 8b0c00e0b256 [2023-08-30T04:30:12.712Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-30T04:30:12.712Z] ---> Running in 979e2999ec46 [2023-08-30T04:30:44.803Z] Removing intermediate container 979e2999ec46 [2023-08-30T04:30:44.803Z] ---> 8b6a8ababced [2023-08-30T04:30:44.803Z] Step 9/10 : COPY . . [2023-08-30T04:30:44.803Z] ---> 1f9f21287d0f [2023-08-30T04:30:44.803Z] Step 10/10 : RUN ${MAKE} [2023-08-30T04:30:44.803Z] ---> Running in 500413c41ecd [2023-08-30T04:30:44.803Z] noop [2023-08-30T04:30:45.062Z] Removing intermediate container 500413c41ecd [2023-08-30T04:30:45.062Z] ---> affea0180a14 [2023-08-30T04:30:45.062Z] Successfully built affea0180a14 [2023-08-30T04:30:45.062Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T04:30:45.522Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-30T04:30:45.522Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T04:30:45.674Z] prd-ubuntu20.04-docker-8c-8g-4864 does not seem to be running inside a container [2023-08-30T04:30:45.714Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1503 -v /w/workspace/gexfoundry_device-sdk-go_PR-1503:/w/workspace/gexfoundry_device-sdk-go_PR-1503:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1503@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1503@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-30T04:30:46.067Z] $ docker top 7ac7ba82aefde3fe279478fc921ac6c1e98b8836ebbeac94e2980b10053dc84d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T04:30:46.460Z] + go version [2023-08-30T04:30:46.460Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-30T04:30:46.500Z] $ docker stop --time=1 7ac7ba82aefde3fe279478fc921ac6c1e98b8836ebbeac94e2980b10053dc84d [2023-08-30T04:30:47.792Z] $ docker rm -f --volumes 7ac7ba82aefde3fe279478fc921ac6c1e98b8836ebbeac94e2980b10053dc84d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T04:30:48.533Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-30T04:30:48.533Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T04:30:48.690Z] prd-ubuntu20.04-docker-8c-8g-4864 does not seem to be running inside a container [2023-08-30T04:30:48.727Z] $ 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-1503 -v /w/workspace/gexfoundry_device-sdk-go_PR-1503:/w/workspace/gexfoundry_device-sdk-go_PR-1503:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1503@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1503@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-30T04:30:49.074Z] $ docker top d903e2dd2891ed7d531dfddc4a05acdcb0250c2874e5f0642b637e06f95237a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T04:30:49.454Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1503 [Pipeline] fileExists [Pipeline] sh [2023-08-30T04:30:49.811Z] + make test [2023-08-30T04:30:49.811Z] go test -race -coverprofile=coverage.out ./... [2023-08-30T04:30:56.374Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-30T04:31:08.586Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-30T04:31:08.586Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-30T04:31:08.586Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-30T04:31:08.586Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-30T04:31:08.586Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-30T04:31:09.519Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.078s coverage: 27.6% of statements [2023-08-30T04:31:09.520Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-30T04:31:09.520Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-30T04:31:09.520Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.067s coverage: 80.2% of statements [2023-08-30T04:31:09.778Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.099s coverage: 86.0% of statements [2023-08-30T04:31:09.778Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-30T04:31:09.778Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.088s coverage: 71.8% of statements [2023-08-30T04:31:10.713Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-30T04:31:10.713Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-30T04:31:10.971Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-30T04:31:12.887Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.074s coverage: 14.3% of statements [2023-08-30T04:31:12.887Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.032s coverage: 43.8% of statements [2023-08-30T04:31:12.887Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.088s coverage: 68.5% of statements [2023-08-30T04:31:12.887Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.131s coverage: 89.2% of statements [2023-08-30T04:31:12.887Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.5% of statements [2023-08-30T04:31:34.809Z] GO111MODULE=on go vet ./... [2023-08-30T04:31:37.336Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-30T04:31:37.336Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-30T04:31:37.336Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-30T04:31:37.623Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-30T04:31:37.672Z] $ docker stop --time=1 d903e2dd2891ed7d531dfddc4a05acdcb0250c2874e5f0642b637e06f95237a9 [2023-08-30T04:31:41.306Z] $ docker rm -f --volumes d903e2dd2891ed7d531dfddc4a05acdcb0250c2874e5f0642b637e06f95237a9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-30T04:31:41.921Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-30T04:31:42.004Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-30T04:31:43.006Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-30T04:31:43.317Z] + ls -al . [2023-08-30T04:31:43.317Z] total 304 [2023-08-30T04:31:43.317Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 04:30 . [2023-08-30T04:31:43.317Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 04:29 .. [2023-08-30T04:31:43.317Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 30 04:29 .dockerignore [2023-08-30T04:31:43.317Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 04:29 .git [2023-08-30T04:31:43.317Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 04:29 .github [2023-08-30T04:31:43.317Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 30 04:29 .gitignore [2023-08-30T04:31:43.317Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 04:29 .golangci.yml [2023-08-30T04:31:43.317Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 04:29 .semver [2023-08-30T04:31:43.317Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 30 04:29 CHANGELOG.md [2023-08-30T04:31:43.317Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 04:29 GOVERNANCE.md [2023-08-30T04:31:43.317Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 30 04:29 Jenkinsfile [2023-08-30T04:31:43.317Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 30 04:29 LICENSE [2023-08-30T04:31:43.317Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 30 04:29 Makefile [2023-08-30T04:31:43.317Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 30 04:29 OWNERS.md [2023-08-30T04:31:43.317Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 30 04:29 README.md [2023-08-30T04:31:43.317Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 04:29 VERSION [2023-08-30T04:31:43.317Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 04:29 bin [2023-08-30T04:31:43.317Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 30 04:31 coverage.out [2023-08-30T04:31:43.317Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 30 04:29 example [2023-08-30T04:31:43.317Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 30 04:29 go.mod [2023-08-30T04:31:43.317Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 30 04:29 go.sum [2023-08-30T04:31:43.317Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 04:29 internal [2023-08-30T04:31:43.317Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 04:29 openapi [2023-08-30T04:31:43.317Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 04:29 pkg [2023-08-30T04:31:43.317Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 04:29 snap [2023-08-30T04:31:43.317Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 30 04:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T04:31:43.705Z] + 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=b4bed0cb5e640194fa93a94e9c79c299a23711f2 --label arch=amd64 --label version=0.0.0 . [2023-08-30T04:31:43.705Z] Sending build context to Docker daemon 11.21MB [2023-08-30T04:31:43.705Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-30T04:31:43.705Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-30T04:31:43.705Z] ---> affea0180a14 [2023-08-30T04:31:43.705Z] Step 3/23 : ARG MAKE=make build [2023-08-30T04:31:43.963Z] ---> Running in dda83ab54b58 [2023-08-30T04:31:43.963Z] Removing intermediate container dda83ab54b58 [2023-08-30T04:31:43.963Z] ---> 1d47e02adbc5 [2023-08-30T04:31:43.963Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-30T04:31:43.963Z] ---> Running in eba42071cd8d [2023-08-30T04:31:44.221Z] Removing intermediate container eba42071cd8d [2023-08-30T04:31:44.221Z] ---> 6cbf9b8531bf [2023-08-30T04:31:44.221Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-30T04:31:44.221Z] ---> Running in 3d202ca2c77a [2023-08-30T04:31:44.221Z] Removing intermediate container 3d202ca2c77a [2023-08-30T04:31:44.221Z] ---> 96939d3e7e52 [2023-08-30T04:31:44.221Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-30T04:31:44.221Z] ---> Running in 649257281b27 [2023-08-30T04:31:44.481Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-30T04:31:44.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-30T04:31:44.998Z] OK: 265 MiB in 53 packages [2023-08-30T04:31:45.257Z] Removing intermediate container 649257281b27 [2023-08-30T04:31:45.257Z] ---> c26e8ebccbb5 [2023-08-30T04:31:45.257Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-30T04:31:45.515Z] ---> 7208d3eda04c [2023-08-30T04:31:45.515Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-30T04:31:45.515Z] ---> Running in 801b5aa8f50d [2023-08-30T04:31:45.620Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4865 in /w/workspace/gexfoundry_device-sdk-go_PR-1503 [Pipeline] { [Pipeline] ws [2023-08-30T04:31:45.680Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-08-30T04:31:45.755Z] The recommended git tool is: git [2023-08-30T04:31:46.080Z] Removing intermediate container 801b5aa8f50d [2023-08-30T04:31:46.080Z] ---> 6ffa40ce7bfa [2023-08-30T04:31:46.080Z] Step 9/23 : COPY . . [2023-08-30T04:31:46.645Z] ---> 4aca00cd76c9 [2023-08-30T04:31:46.645Z] Step 10/23 : RUN ${MAKE} [2023-08-30T04:31:46.645Z] ---> Running in c2a25c4ba371 [2023-08-30T04:31:46.903Z] 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-30T04:31:50.830Z] using credential edgex-jenkins-ssh [2023-08-30T04:31:50.846Z] Cloning the remote Git repository [2023-08-30T04:31:50.882Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-08-30T04:31:50.971Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-08-30T04:31:51.099Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-30T04:31:51.100Z] > git --version # timeout=10 [2023-08-30T04:31:51.120Z] > git --version # 'git version 2.25.1' [2023-08-30T04:31:51.122Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-30T04:31:51.265Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-30T04:31:52.839Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-30T04:31:52.861Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-30T04:31:54.221Z] Merging remotes/origin/main commit c51a94a8207d4a1ad8be458cdf522e8931b07b09 into PR head commit b4bed0cb5e640194fa93a94e9c79c299a23711f2 [2023-08-30T04:31:54.502Z] Merge succeeded, producing b4bed0cb5e640194fa93a94e9c79c299a23711f2 [2023-08-30T04:31:54.502Z] Checking out Revision b4bed0cb5e640194fa93a94e9c79c299a23711f2 (PR-1503) [2023-08-30T04:31:53.658Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-30T04:31:53.693Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-30T04:31:53.694Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-30T04:31:53.710Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1503/head:refs/remotes/origin/PR-1503 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-30T04:31:54.234Z] > git config core.sparsecheckout # timeout=10 [2023-08-30T04:31:54.292Z] > git checkout -f b4bed0cb5e640194fa93a94e9c79c299a23711f2 # timeout=10 [2023-08-30T04:31:54.401Z] > git remote # timeout=10 [2023-08-30T04:31:54.419Z] > git config --get remote.origin.url # timeout=10 [2023-08-30T04:31:54.445Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-30T04:31:54.458Z] > git merge c51a94a8207d4a1ad8be458cdf522e8931b07b09 # timeout=10 [2023-08-30T04:31:54.481Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-30T04:31:54.970Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-08-30T04:31:55.008Z] > git --version # timeout=10 [2023-08-30T04:31:55.018Z] > git --version # 'git version 2.25.1' [2023-08-30T04:31:55.040Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-30T04:31:54.502Z] > git config core.sparsecheckout # timeout=10 [2023-08-30T04:31:54.519Z] > git checkout -f b4bed0cb5e640194fa93a94e9c79c299a23711f2 # timeout=10 [2023-08-30T04:31:56.258Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-30T04:31:56.258Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-30T04:31:56.258Z] Dload Upload Total Spent Left Speed [2023-08-30T04:31:56.258Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 99234 0 --:--:-- --:--:-- --:--:-- 99234 100 12751 100 12751 0 0 111k 0 --:--:-- --:--:-- --:--:-- 110k [Pipeline] sh [2023-08-30T04:31:56.885Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-30T04:31:57.227Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-30T04:31:57.227Z] + sudo tee /etc/docker/daemon.new [2023-08-30T04:31:57.227Z] { [2023-08-30T04:31:57.227Z] "registry-mirrors": [ [2023-08-30T04:31:57.227Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-30T04:31:57.227Z] ], [2023-08-30T04:31:57.227Z] "bip": "10.250.0.254/24", [2023-08-30T04:31:57.227Z] "hosts": [ [2023-08-30T04:31:57.227Z] "tcp://0.0.0.0:5555", [2023-08-30T04:31:57.227Z] "unix:///var/run/docker.sock" [2023-08-30T04:31:57.227Z] ], [2023-08-30T04:31:57.227Z] "mtu": 1458, [2023-08-30T04:31:57.227Z] "selinux-enabled": true, [2023-08-30T04:31:57.227Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-30T04:31:57.227Z] } [Pipeline] sh [2023-08-30T04:31:57.578Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-30T04:31:57.924Z] + sudo service docker restart [2023-08-30T04:32:04.983Z] Removing intermediate container c2a25c4ba371 [2023-08-30T04:32:04.983Z] ---> ba8716115318 [2023-08-30T04:32:04.983Z] Step 11/23 : FROM alpine:3.17 [2023-08-30T04:32:05.243Z] 3.17: Pulling from library/alpine [2023-08-30T04:32:05.503Z] 9398808236ff: Pulling fs layer [2023-08-30T04:32:05.762Z] 9398808236ff: Verifying Checksum [2023-08-30T04:32:05.762Z] 9398808236ff: Download complete [2023-08-30T04:32:06.023Z] 9398808236ff: Pull complete [2023-08-30T04:32:06.023Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-30T04:32:06.023Z] Status: Downloaded newer image for alpine:3.17 [2023-08-30T04:32:06.023Z] ---> 1e0b8b5322fc [2023-08-30T04:32:06.023Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-30T04:32:06.023Z] ---> Running in 8d5814f3119a [2023-08-30T04:32:06.023Z] Removing intermediate container 8d5814f3119a [2023-08-30T04:32:06.023Z] ---> b1d584ff7151 [2023-08-30T04:32:06.023Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-30T04:32:06.023Z] ---> Running in b91a541060fc [2023-08-30T04:32:06.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-30T04:32:06.548Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-30T04:32:06.806Z] OK: 7 MiB in 15 packages [2023-08-30T04:32:07.066Z] Removing intermediate container b91a541060fc [2023-08-30T04:32:07.066Z] ---> 9ca6c56dd6a6 [2023-08-30T04:32:07.066Z] Step 14/23 : WORKDIR / [2023-08-30T04:32:07.066Z] ---> Running in 86a20c9db317 [2023-08-30T04:32:07.066Z] Removing intermediate container 86a20c9db317 [2023-08-30T04:32:07.066Z] ---> a2223c1b3723 [2023-08-30T04:32:07.066Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-30T04:32:07.330Z] ---> c8432adecbfa [2023-08-30T04:32:07.330Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-30T04:32:08.265Z] ---> a314aa04b977 [2023-08-30T04:32:08.265Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-30T04:32:08.265Z] ---> 5879dfa90b12 [2023-08-30T04:32:08.265Z] Step 18/23 : EXPOSE 59999 [2023-08-30T04:32:08.265Z] ---> Running in e73f4e71f4ea [2023-08-30T04:32:08.265Z] Removing intermediate container e73f4e71f4ea [2023-08-30T04:32:08.265Z] ---> a1ebbe65adaa [2023-08-30T04:32:08.265Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-30T04:32:08.265Z] ---> Running in 75f574ae8659 [2023-08-30T04:32:08.524Z] Removing intermediate container 75f574ae8659 [2023-08-30T04:32:08.524Z] ---> 949fdc8c29f9 [2023-08-30T04:32:08.524Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-30T04:32:08.524Z] ---> Running in 45f13e0158b4 [2023-08-30T04:32:08.524Z] Removing intermediate container 45f13e0158b4 [2023-08-30T04:32:08.524Z] ---> 6363e7a096ee [2023-08-30T04:32:08.524Z] Step 21/23 : LABEL arch=amd64 [2023-08-30T04:32:08.524Z] ---> Running in a6cd9f444b3d [2023-08-30T04:32:08.524Z] Removing intermediate container a6cd9f444b3d [2023-08-30T04:32:08.524Z] ---> dd4f0051ec16 [2023-08-30T04:32:08.524Z] Step 22/23 : LABEL git_sha=b4bed0cb5e640194fa93a94e9c79c299a23711f2 [2023-08-30T04:32:08.524Z] ---> Running in ad888f833fb6 [2023-08-30T04:32:08.783Z] Removing intermediate container ad888f833fb6 [2023-08-30T04:32:08.783Z] ---> 992af05ede8f [2023-08-30T04:32:08.783Z] Step 23/23 : LABEL version=0.0.0 [2023-08-30T04:32:08.783Z] ---> Running in 7b2144a91db5 [2023-08-30T04:32:08.783Z] Removing intermediate container 7b2144a91db5 [2023-08-30T04:32:08.783Z] ---> 40ce653122dd [2023-08-30T04:32:08.783Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-30T04:32:08.783Z] Successfully built 40ce653122dd [2023-08-30T04:32:08.783Z] 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-30T04:32:09.653Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T04:32:09.653Z] [2023-08-30T04:32:09.653Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T04:32:10.026Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T04:32:10.026Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-30T04:32:10.026Z] 5eb5b503b376: Pulling fs layer [2023-08-30T04:32:10.026Z] 5c69ac0246d0: Pulling fs layer [2023-08-30T04:32:10.026Z] ec43610c2a17: Pulling fs layer [2023-08-30T04:32:10.026Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-30T04:32:10.026Z] 33b1e0a273af: Pulling fs layer [2023-08-30T04:32:10.026Z] 5d3b04190fa2: Pulling fs layer [2023-08-30T04:32:10.026Z] 2f39f015ded8: Pulling fs layer [2023-08-30T04:32:10.026Z] 33b1e0a273af: Waiting [2023-08-30T04:32:10.026Z] 5d3b04190fa2: Waiting [2023-08-30T04:32:10.026Z] 2f39f015ded8: Waiting [2023-08-30T04:32:10.026Z] 3a2ae6a8a46f: Waiting [2023-08-30T04:32:10.026Z] 5c69ac0246d0: Download complete [2023-08-30T04:32:10.026Z] 3a2ae6a8a46f: Download complete [2023-08-30T04:32:10.026Z] 33b1e0a273af: Verifying Checksum [2023-08-30T04:32:10.026Z] 33b1e0a273af: Download complete [2023-08-30T04:32:10.285Z] ec43610c2a17: Verifying Checksum [2023-08-30T04:32:10.285Z] ec43610c2a17: Download complete [2023-08-30T04:32:10.285Z] 5eb5b503b376: Verifying Checksum [2023-08-30T04:32:10.285Z] 5eb5b503b376: Download complete [2023-08-30T04:32:10.851Z] 2f39f015ded8: Download complete [2023-08-30T04:32:11.415Z] 5eb5b503b376: Pull complete [2023-08-30T04:32:11.674Z] 5c69ac0246d0: Pull complete [2023-08-30T04:32:11.932Z] ec43610c2a17: Pull complete [2023-08-30T04:32:11.932Z] 3a2ae6a8a46f: Pull complete [2023-08-30T04:32:12.191Z] 33b1e0a273af: Pull complete [2023-08-30T04:32:12.191Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-30T04:32:16.224Z] provisioning config files... [2023-08-30T04:32:16.247Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config13511554169111824848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T04:32:16.384Z] 2f39f015ded8: Pull complete [2023-08-30T04:32:16.384Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-30T04:32:16.384Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T04:32:16.384Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T04:32:16.622Z] prd-ubuntu20.04-docker-8c-8g-4864 does not seem to be running inside a container [2023-08-30T04:32:16.626Z] ---> docker-login.sh [2023-08-30T04:32:16.627Z] nexus3.edgexfoundry.org:10001 [2023-08-30T04:32:16.667Z] $ 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-1503 -v /w/workspace/gexfoundry_device-sdk-go_PR-1503:/w/workspace/gexfoundry_device-sdk-go_PR-1503:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1503@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1503@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-30T04:32:16.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T04:32:17.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T04:32:17.169Z] Configure a credential helper to remove this warning. See [2023-08-30T04:32:17.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T04:32:17.169Z] [2023-08-30T04:32:17.169Z] Login Succeeded [2023-08-30T04:32:17.169Z] nexus3.edgexfoundry.org:10002 [2023-08-30T04:32:17.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T04:32:17.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T04:32:17.440Z] Configure a credential helper to remove this warning. See [2023-08-30T04:32:17.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T04:32:17.440Z] [2023-08-30T04:32:17.440Z] Login Succeeded [2023-08-30T04:32:17.440Z] nexus3.edgexfoundry.org:10003 [2023-08-30T04:32:17.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T04:32:17.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T04:32:17.709Z] Configure a credential helper to remove this warning. See [2023-08-30T04:32:17.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T04:32:17.709Z] [2023-08-30T04:32:17.709Z] Login Succeeded [2023-08-30T04:32:17.709Z] nexus3.edgexfoundry.org:10004 [2023-08-30T04:32:17.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T04:32:18.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T04:32:18.242Z] Configure a credential helper to remove this warning. See [2023-08-30T04:32:18.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T04:32:18.242Z] [2023-08-30T04:32:18.242Z] Login Succeeded [2023-08-30T04:32:18.242Z] docker.io [2023-08-30T04:32:18.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T04:32:18.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T04:32:18.510Z] Configure a credential helper to remove this warning. See [2023-08-30T04:32:18.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T04:32:18.510Z] [2023-08-30T04:32:18.510Z] Login Succeeded [2023-08-30T04:32:18.510Z] ---> docker-login.sh ends [2023-08-30T04:32:19.809Z] $ docker top e037cb111ad7c1794e1fa6df27884c3d2d8495a325ac2d73f030a1c44371ff7d -eo pid,comm [Pipeline] { [Pipeline] } [2023-08-30T04:32:20.068Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-08-30T04:32:20.448Z] ---> job-cost.sh [2023-08-30T04:32:20.448Z] lf-activate-venv: SKIPPING [2023-08-30T04:32:20.448Z] INFO: No Stack... [Pipeline] echo [2023-08-30T04:32:20.536Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T04:32:20.576Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T04:32:20.614Z] ========================================================= [2023-08-30T04:32:20.614Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-30T04:32:20.614Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [2023-08-30T04:32:20.708Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T04:32:20.967Z] INFO: Archiving Costs [2023-08-30T04:32:21.130Z] + 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 . [Pipeline] sh [2023-08-30T04:32:21.396Z] Sending build context to Docker daemon 5.927MB [2023-08-30T04:32:21.396Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-30T04:32:21.396Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-30T04:32:21.535Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1503/archives/cost.csv [2023-08-30T04:32:21.535Z] + cut -d, -f6 [Pipeline] lock [2023-08-30T04:32:21.578Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1503-1-stack-cost] [2023-08-30T04:32:21.583Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1503-1-stack-cost] did not exist. Created. [2023-08-30T04:32:21.583Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1503-1-stack-cost] [Pipeline] { [Pipeline] unstash [2023-08-30T04:32:21.666Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-30T04:32:21.666Z] edb6bdbacee9: Pulling fs layer [2023-08-30T04:32:21.666Z] 5f9638ab2659: Pulling fs layer [2023-08-30T04:32:21.666Z] 8d51d6327a98: Pulling fs layer [2023-08-30T04:32:21.666Z] 8b374f2dd631: Pulling fs layer [2023-08-30T04:32:21.666Z] ec14aa9079de: Pulling fs layer [2023-08-30T04:32:21.666Z] 2f466654f4bb: Pulling fs layer [2023-08-30T04:32:21.666Z] 554e91adad29: Pulling fs layer [2023-08-30T04:32:21.666Z] 2f466654f4bb: Waiting [2023-08-30T04:32:21.666Z] 554e91adad29: Waiting [2023-08-30T04:32:21.666Z] 8b374f2dd631: Waiting [2023-08-30T04:32:21.666Z] ec14aa9079de: Waiting [2023-08-30T04:32:21.666Z] 5f9638ab2659: Verifying Checksum [2023-08-30T04:32:21.666Z] 5f9638ab2659: Download complete [2023-08-30T04:32:21.666Z] 8b374f2dd631: Verifying Checksum [2023-08-30T04:32:21.666Z] 8b374f2dd631: Download complete [2023-08-30T04:32:21.666Z] ec14aa9079de: Verifying Checksum [2023-08-30T04:32:21.666Z] ec14aa9079de: Download complete [2023-08-30T04:32:21.666Z] edb6bdbacee9: Verifying Checksum [2023-08-30T04:32:21.666Z] edb6bdbacee9: Download complete [Pipeline] sh [2023-08-30T04:32:22.011Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-30T04:32:22.065Z] Stashed 1 file(s) [Pipeline] } [2023-08-30T04:32:22.090Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1503-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-30T04:32:22.176Z] $ docker stop --time=1 e037cb111ad7c1794e1fa6df27884c3d2d8495a325ac2d73f030a1c44371ff7d [2023-08-30T04:32:22.634Z] edb6bdbacee9: Pull complete [2023-08-30T04:32:22.901Z] 554e91adad29: Verifying Checksum [2023-08-30T04:32:22.901Z] 554e91adad29: Download complete [2023-08-30T04:32:23.169Z] 5f9638ab2659: Pull complete [2023-08-30T04:32:23.315Z] $ docker rm -f --volumes e037cb111ad7c1794e1fa6df27884c3d2d8495a325ac2d73f030a1c44371ff7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-30T04:32:24.131Z] 8d51d6327a98: Verifying Checksum [2023-08-30T04:32:24.131Z] 8d51d6327a98: Download complete [2023-08-30T04:32:24.131Z] 2f466654f4bb: Verifying Checksum [2023-08-30T04:32:24.131Z] 2f466654f4bb: Download complete [2023-08-30T04:32:36.601Z] 8d51d6327a98: Pull complete [2023-08-30T04:32:36.601Z] 8b374f2dd631: Pull complete [2023-08-30T04:32:36.601Z] ec14aa9079de: Pull complete [2023-08-30T04:32:41.951Z] 2f466654f4bb: Pull complete [2023-08-30T04:32:45.311Z] 554e91adad29: Pull complete [2023-08-30T04:32:45.311Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-30T04:32:45.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-30T04:32:45.311Z] ---> 1e15ea492957 [2023-08-30T04:32:45.311Z] Step 3/10 : ARG MAKE=make build [2023-08-30T04:32:46.739Z] ---> Running in 685eec2651ac [2023-08-30T04:32:47.007Z] Removing intermediate container 685eec2651ac [2023-08-30T04:32:47.007Z] ---> ff627784786f [2023-08-30T04:32:47.007Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-30T04:32:47.007Z] ---> Running in 5ddd25dd0c79 [2023-08-30T04:32:47.274Z] Removing intermediate container 5ddd25dd0c79 [2023-08-30T04:32:47.274Z] ---> 0bb83ac37120 [2023-08-30T04:32:47.274Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-30T04:32:47.274Z] ---> Running in 19a96046ef42 [2023-08-30T04:32:47.542Z] Removing intermediate container 19a96046ef42 [2023-08-30T04:32:47.542Z] ---> 4aa6804f7724 [2023-08-30T04:32:47.542Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-30T04:32:47.809Z] ---> Running in bff712816403 [2023-08-30T04:32:48.766Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-30T04:32:49.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-30T04:32:50.308Z] OK: 263 MiB in 53 packages [2023-08-30T04:32:50.896Z] Removing intermediate container bff712816403 [2023-08-30T04:32:50.896Z] ---> 55ca2e1adbd0 [2023-08-30T04:32:50.896Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-30T04:32:51.481Z] ---> b07ec1e09935 [2023-08-30T04:32:51.481Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-30T04:32:51.481Z] ---> Running in 72aa240310f4 [2023-08-30T04:33:59.389Z] Removing intermediate container 72aa240310f4 [2023-08-30T04:33:59.389Z] ---> b2506ff656eb [2023-08-30T04:33:59.389Z] Step 9/10 : COPY . . [2023-08-30T04:33:59.389Z] ---> 53b55132ec8c [2023-08-30T04:33:59.389Z] Step 10/10 : RUN ${MAKE} [2023-08-30T04:33:59.389Z] ---> Running in eb642343fa6c [2023-08-30T04:33:59.389Z] noop [2023-08-30T04:33:59.389Z] Removing intermediate container eb642343fa6c [2023-08-30T04:33:59.389Z] ---> 07d911b2f802 [2023-08-30T04:33:59.389Z] Successfully built 07d911b2f802 [2023-08-30T04:33:59.389Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T04:33:59.881Z] + docker inspect -f . ci-base-image-arm64 [2023-08-30T04:33:59.881Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T04:34:00.154Z] prd-ubuntu20.04-docker-arm64-4c-16g-4865 does not seem to be running inside a container [2023-08-30T04:34:00.213Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-30T04:34:01.373Z] $ docker top b71b858fab3aa01d7dbce6845a97e617bc05668d82c9a416840508ed91ae2c10 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T04:34:02.233Z] + go version [2023-08-30T04:34:02.233Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-30T04:34:02.266Z] $ docker stop --time=1 b71b858fab3aa01d7dbce6845a97e617bc05668d82c9a416840508ed91ae2c10 [2023-08-30T04:34:05.727Z] $ docker rm -f --volumes b71b858fab3aa01d7dbce6845a97e617bc05668d82c9a416840508ed91ae2c10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T04:34:06.575Z] + docker inspect -f . ci-base-image-arm64 [2023-08-30T04:34:06.575Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T04:34:06.821Z] prd-ubuntu20.04-docker-arm64-4c-16g-4865 does not seem to be running inside a container [2023-08-30T04:34:06.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-30T04:34:08.018Z] $ docker top 0e9eeb12556f21bb2dc1257cd5c9a994649673a1cf14647a254004a748967592 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T04:34:08.577Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-08-30T04:34:09.094Z] + make test [2023-08-30T04:34:09.094Z] go test -race -coverprofile=coverage.out ./... [2023-08-30T04:34:47.964Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-30T04:36:54.655Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-30T04:36:54.655Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-30T04:36:54.655Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-30T04:36:54.655Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-30T04:36:54.655Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-30T04:37:04.750Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.227s coverage: 27.6% of statements [2023-08-30T04:37:09.006Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.414s coverage: 80.2% of statements [2023-08-30T04:37:24.012Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-30T04:37:24.012Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-30T04:37:24.012Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.353s coverage: 86.0% of statements [2023-08-30T04:37:29.353Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-30T04:37:29.353Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.388s coverage: 71.8% of statements [2023-08-30T04:37:32.688Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.295s coverage: 14.3% of statements [2023-08-30T04:37:35.261Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-30T04:37:35.261Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-30T04:37:35.261Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.076s coverage: 43.8% of statements [2023-08-30T04:37:35.261Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.416s coverage: 68.5% of statements [2023-08-30T04:37:38.596Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.429s coverage: 89.2% of statements [2023-08-30T04:37:40.536Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-30T04:37:40.536Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.240s coverage: 5.5% of statements [2023-08-30T04:37:41.117Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-30T04:37:41.117Z] GO111MODULE=on go vet ./... [2023-08-30T04:40:02.813Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-30T04:40:02.813Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-30T04:40:02.813Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-30T04:40:02.854Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-30T04:40:02.888Z] $ docker stop --time=1 0e9eeb12556f21bb2dc1257cd5c9a994649673a1cf14647a254004a748967592 [2023-08-30T04:40:04.736Z] $ docker rm -f --volumes 0e9eeb12556f21bb2dc1257cd5c9a994649673a1cf14647a254004a748967592 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-30T04:40:06.360Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-30T04:40:06.398Z] Warning: overwriting stash ‘coverage-report’ [2023-08-30T04:40:06.907Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-30T04:40:07.498Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-30T04:40:07.834Z] + ls -al . [2023-08-30T04:40:07.834Z] total 300 [2023-08-30T04:40:07.834Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 04:34 . [2023-08-30T04:40:07.834Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 04:31 .. [2023-08-30T04:40:07.834Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 30 04:31 .dockerignore [2023-08-30T04:40:07.834Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 04:31 .git [2023-08-30T04:40:07.834Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 04:31 .github [2023-08-30T04:40:07.834Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 30 04:31 .gitignore [2023-08-30T04:40:07.834Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 30 04:31 .golangci.yml [2023-08-30T04:40:07.834Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 30 04:31 CHANGELOG.md [2023-08-30T04:40:07.834Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 04:31 GOVERNANCE.md [2023-08-30T04:40:07.834Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 30 04:31 Jenkinsfile [2023-08-30T04:40:07.834Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 30 04:31 LICENSE [2023-08-30T04:40:07.834Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 30 04:31 Makefile [2023-08-30T04:40:07.834Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 30 04:31 OWNERS.md [2023-08-30T04:40:07.834Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 30 04:31 README.md [2023-08-30T04:40:07.834Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 04:29 VERSION [2023-08-30T04:40:07.834Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 04:31 bin [2023-08-30T04:40:07.834Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 30 04:37 coverage.out [2023-08-30T04:40:07.834Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 30 04:31 example [2023-08-30T04:40:07.834Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 30 04:31 go.mod [2023-08-30T04:40:07.834Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 30 04:31 go.sum [2023-08-30T04:40:07.834Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 04:31 internal [2023-08-30T04:40:07.834Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 04:31 openapi [2023-08-30T04:40:07.834Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 30 04:31 pkg [2023-08-30T04:40:07.834Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 04:31 snap [2023-08-30T04:40:07.834Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 30 04:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T04:40:08.254Z] + 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=b4bed0cb5e640194fa93a94e9c79c299a23711f2 --label arch=arm64 --label version=0.0.0 . [2023-08-30T04:40:08.524Z] Sending build context to Docker daemon 6.048MB [2023-08-30T04:40:08.524Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-30T04:40:08.524Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-30T04:40:08.524Z] ---> 07d911b2f802 [2023-08-30T04:40:08.524Z] Step 3/23 : ARG MAKE=make build [2023-08-30T04:40:08.792Z] ---> Running in fbeca64ab098 [2023-08-30T04:40:09.058Z] Removing intermediate container fbeca64ab098 [2023-08-30T04:40:09.058Z] ---> 5a4986d260e4 [2023-08-30T04:40:09.058Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-30T04:40:09.058Z] ---> Running in a7ca391001eb [2023-08-30T04:40:09.324Z] Removing intermediate container a7ca391001eb [2023-08-30T04:40:09.324Z] ---> bb2052aca40e [2023-08-30T04:40:09.324Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-30T04:40:09.591Z] ---> Running in 1e37d112e19b [2023-08-30T04:40:09.860Z] Removing intermediate container 1e37d112e19b [2023-08-30T04:40:09.860Z] ---> 27fcd27f51d9 [2023-08-30T04:40:09.860Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-30T04:40:09.860Z] ---> Running in 8b95e0d47294 [2023-08-30T04:40:10.821Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-30T04:40:11.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-30T04:40:12.368Z] OK: 263 MiB in 53 packages [2023-08-30T04:40:12.959Z] Removing intermediate container 8b95e0d47294 [2023-08-30T04:40:12.959Z] ---> 17c7beccf254 [2023-08-30T04:40:12.959Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-30T04:40:13.553Z] ---> a5e729b28b3e [2023-08-30T04:40:13.553Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-30T04:40:13.553Z] ---> Running in 57011af93cae [2023-08-30T04:40:15.556Z] Removing intermediate container 57011af93cae [2023-08-30T04:40:15.556Z] ---> f56fbf21d7f3 [2023-08-30T04:40:15.556Z] Step 9/23 : COPY . . [2023-08-30T04:40:16.985Z] ---> 2f48749ac8fb [2023-08-30T04:40:16.985Z] Step 10/23 : RUN ${MAKE} [2023-08-30T04:40:16.985Z] ---> Running in 530d6b1b2dfb [2023-08-30T04:40:17.581Z] 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-30T04:42:39.245Z] Removing intermediate container 530d6b1b2dfb [2023-08-30T04:42:39.245Z] ---> 4a26de8ec8ec [2023-08-30T04:42:39.245Z] Step 11/23 : FROM alpine:3.17 [2023-08-30T04:42:39.245Z] 3.17: Pulling from library/alpine [2023-08-30T04:42:39.245Z] 4060ece20d7a: Pulling fs layer [2023-08-30T04:42:39.245Z] 4060ece20d7a: Download complete [2023-08-30T04:42:39.245Z] 4060ece20d7a: Pull complete [2023-08-30T04:42:39.245Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-30T04:42:39.245Z] Status: Downloaded newer image for alpine:3.17 [2023-08-30T04:42:39.245Z] ---> 8650cd65339b [2023-08-30T04:42:39.245Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-30T04:42:39.245Z] ---> Running in 215cbe14393b [2023-08-30T04:42:39.245Z] Removing intermediate container 215cbe14393b [2023-08-30T04:42:39.245Z] ---> c7578cfd8427 [2023-08-30T04:42:39.245Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-30T04:42:39.245Z] ---> Running in e144a53510ce [2023-08-30T04:42:39.245Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-30T04:42:39.245Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-30T04:42:39.245Z] OK: 7 MiB in 15 packages [2023-08-30T04:42:39.245Z] Removing intermediate container e144a53510ce [2023-08-30T04:42:39.245Z] ---> 816c119b050b [2023-08-30T04:42:39.245Z] Step 14/23 : WORKDIR / [2023-08-30T04:42:39.245Z] ---> Running in 0f2d7b388bc3 [2023-08-30T04:42:39.245Z] Removing intermediate container 0f2d7b388bc3 [2023-08-30T04:42:39.245Z] ---> 1fddebcc15f4 [2023-08-30T04:42:39.245Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-30T04:42:39.245Z] ---> c78b1cb02eff [2023-08-30T04:42:39.245Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-30T04:42:39.245Z] ---> 08803665e544 [2023-08-30T04:42:39.245Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-30T04:42:39.245Z] ---> 8144df867831 [2023-08-30T04:42:39.245Z] Step 18/23 : EXPOSE 59999 [2023-08-30T04:42:39.245Z] ---> Running in efed7414be6b [2023-08-30T04:42:39.245Z] Removing intermediate container efed7414be6b [2023-08-30T04:42:39.245Z] ---> 08307f9b313c [2023-08-30T04:42:39.245Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-30T04:42:39.245Z] ---> Running in c77f3aed33eb [2023-08-30T04:42:39.245Z] Removing intermediate container c77f3aed33eb [2023-08-30T04:42:39.245Z] ---> a0e7a3326113 [2023-08-30T04:42:39.245Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-30T04:42:39.245Z] ---> Running in 9020d8cdeccb [2023-08-30T04:42:39.245Z] Removing intermediate container 9020d8cdeccb [2023-08-30T04:42:39.245Z] ---> ba03a04fb141 [2023-08-30T04:42:39.245Z] Step 21/23 : LABEL arch=arm64 [2023-08-30T04:42:39.245Z] ---> Running in f6aba8b0f0b8 [2023-08-30T04:42:39.245Z] Removing intermediate container f6aba8b0f0b8 [2023-08-30T04:42:39.245Z] ---> 05436ed6bb63 [2023-08-30T04:42:39.245Z] Step 22/23 : LABEL git_sha=b4bed0cb5e640194fa93a94e9c79c299a23711f2 [2023-08-30T04:42:39.245Z] ---> Running in dd15c96d90ec [2023-08-30T04:42:39.245Z] Removing intermediate container dd15c96d90ec [2023-08-30T04:42:39.245Z] ---> def0714f7df9 [2023-08-30T04:42:39.245Z] Step 23/23 : LABEL version=0.0.0 [2023-08-30T04:42:39.245Z] ---> Running in 54060044a539 [2023-08-30T04:42:39.245Z] Removing intermediate container 54060044a539 [2023-08-30T04:42:39.245Z] ---> 5fc45b62eee5 [2023-08-30T04:42:39.245Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-30T04:42:39.245Z] Successfully built 5fc45b62eee5 [2023-08-30T04:42:39.245Z] 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-30T04:42:40.024Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-30T04:42:40.024Z] [2023-08-30T04:42:40.024Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T04:42:40.428Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-30T04:42:40.428Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-30T04:42:40.428Z] 8998bd30e6a1: Pulling fs layer [2023-08-30T04:42:40.428Z] 04944245beec: Pulling fs layer [2023-08-30T04:42:40.428Z] 699f458cf7ca: Pulling fs layer [2023-08-30T04:42:40.428Z] 765212b225bb: Pulling fs layer [2023-08-30T04:42:40.428Z] f23df028b6ca: Pulling fs layer [2023-08-30T04:42:40.428Z] d65c8cfc05b1: Pulling fs layer [2023-08-30T04:42:40.428Z] 2437ff75d9bd: Pulling fs layer [2023-08-30T04:42:40.428Z] 765212b225bb: Waiting [2023-08-30T04:42:40.428Z] f23df028b6ca: Waiting [2023-08-30T04:42:40.428Z] d65c8cfc05b1: Waiting [2023-08-30T04:42:40.428Z] 2437ff75d9bd: Waiting [2023-08-30T04:42:40.696Z] 04944245beec: Verifying Checksum [2023-08-30T04:42:40.696Z] 04944245beec: Download complete [2023-08-30T04:42:40.697Z] 765212b225bb: Download complete [2023-08-30T04:42:40.697Z] f23df028b6ca: Verifying Checksum [2023-08-30T04:42:40.697Z] f23df028b6ca: Download complete [2023-08-30T04:42:40.697Z] d65c8cfc05b1: Verifying Checksum [2023-08-30T04:42:40.697Z] d65c8cfc05b1: Download complete [2023-08-30T04:42:40.697Z] 699f458cf7ca: Verifying Checksum [2023-08-30T04:42:40.697Z] 699f458cf7ca: Download complete [2023-08-30T04:42:41.278Z] 8998bd30e6a1: Verifying Checksum [2023-08-30T04:42:41.278Z] 8998bd30e6a1: Download complete [2023-08-30T04:42:43.229Z] 2437ff75d9bd: Verifying Checksum [2023-08-30T04:42:43.229Z] 2437ff75d9bd: Download complete [2023-08-30T04:42:45.176Z] 8998bd30e6a1: Pull complete [2023-08-30T04:42:45.443Z] 04944245beec: Pull complete [2023-08-30T04:42:46.849Z] 699f458cf7ca: Pull complete [2023-08-30T04:42:47.118Z] 765212b225bb: Pull complete [2023-08-30T04:42:47.703Z] f23df028b6ca: Pull complete [2023-08-30T04:42:47.970Z] d65c8cfc05b1: Pull complete [2023-08-30T04:43:02.964Z] 2437ff75d9bd: Pull complete [2023-08-30T04:43:02.964Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-30T04:43:02.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-30T04:43:02.964Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T04:43:03.300Z] prd-ubuntu20.04-docker-arm64-4c-16g-4865 does not seem to be running inside a container [2023-08-30T04:43:03.365Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-30T04:43:05.773Z] $ docker top de8fde7c9e0a40fb54b2b2a61522efc6765268681e4aa5d65fd588309de6ac90 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T04:43:06.650Z] ---> job-cost.sh [2023-08-30T04:43:06.650Z] lf-activate-venv: SKIPPING [2023-08-30T04:43:06.650Z] INFO: No Stack... [2023-08-30T04:43:06.915Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-30T04:43:07.867Z] INFO: Archiving Costs [Pipeline] sh [2023-08-30T04:43:08.204Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-08-30T04:43:08.204Z] + cut -d, -f6 [Pipeline] lock [2023-08-30T04:43:08.292Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1503-1-stack-cost] [2023-08-30T04:43:08.297Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1503-1-stack-cost] did not exist. Created. [2023-08-30T04:43:08.297Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1503-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-30T04:43:08.703Z] /w/workspace/device-sdk-go/1@tmp/durable-6fa443e9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-30T04:43:09.361Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-30T04:43:09.394Z] Warning: overwriting stash ‘stack-cost’ [2023-08-30T04:43:09.465Z] Stashed 1 file(s) [Pipeline] } [2023-08-30T04:43:09.480Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1503-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-30T04:43:09.558Z] $ docker stop --time=1 de8fde7c9e0a40fb54b2b2a61522efc6765268681e4aa5d65fd588309de6ac90 [2023-08-30T04:43:10.997Z] $ docker rm -f --volumes de8fde7c9e0a40fb54b2b2a61522efc6765268681e4aa5d65fd588309de6ac90 [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-30T04:43:11.996Z] provisioning config files... [2023-08-30T04:43:12.005Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1503@tmp/config7713510327580040979tmp [Pipeline] { [Pipeline] sh [2023-08-30T04:43:12.340Z] + set +x [2023-08-30T04:43:12.340Z] + curl -s https://codecov.io/bash [2023-08-30T04:43:12.340Z] + bash -s -- [2023-08-30T04:43:12.340Z] [2023-08-30T04:43:12.340Z] _____ _ [2023-08-30T04:43:12.340Z] / ____| | | [2023-08-30T04:43:12.340Z] | | ___ __| | ___ ___ _____ __ [2023-08-30T04:43:12.340Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-30T04:43:12.340Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-30T04:43:12.340Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-30T04:43:12.340Z] Bash-1.0.6 [2023-08-30T04:43:12.340Z] [2023-08-30T04:43:12.340Z] [2023-08-30T04:43:12.340Z] ==> git version 2.25.1 found [2023-08-30T04:43:12.340Z] ==> 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-30T04:43:12.340Z] Release-Date: 2020-01-08 [2023-08-30T04:43:12.340Z] 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-30T04:43:12.340Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-30T04:43:12.340Z] ==> Jenkins CI detected. [2023-08-30T04:43:12.340Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1503 [2023-08-30T04:43:12.340Z] project root: . [2023-08-30T04:43:12.340Z] --> token set from env [2023-08-30T04:43:12.340Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-30T04:43:12.340Z] ==> Running gcov in . (disable via -X gcov) [2023-08-30T04:43:12.340Z] ==> Python coveragepy not found [2023-08-30T04:43:12.340Z] ==> Searching for coverage reports in: [2023-08-30T04:43:12.340Z] + . [2023-08-30T04:43:12.340Z] -> Found 1 reports [2023-08-30T04:43:12.340Z] ==> Detecting git/mercurial file structure [2023-08-30T04:43:12.600Z] ==> Reading reports [2023-08-30T04:43:12.600Z] + ./coverage.out bytes=120271 [2023-08-30T04:43:12.600Z] ==> Appending adjustments [2023-08-30T04:43:12.600Z] https://docs.codecov.io/docs/fixing-reports [2023-08-30T04:43:12.859Z] + Found adjustments [2023-08-30T04:43:12.859Z] ==> Gzipping contents [2023-08-30T04:43:12.859Z] 20K /tmp/codecov.ymJABi.gz [2023-08-30T04:43:12.859Z] ==> Uploading reports [2023-08-30T04:43:12.859Z] url: https://codecov.io [2023-08-30T04:43:12.859Z] query: branch=PR-1503&commit=b4bed0cb5e640194fa93a94e9c79c299a23711f2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1503%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1503&job=&cmd_args= [2023-08-30T04:43:12.859Z] -> Pinging Codecov [2023-08-30T04:43:12.859Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1503&commit=b4bed0cb5e640194fa93a94e9c79c299a23711f2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1503%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1503&job=&cmd_args= [2023-08-30T04:43:12.859Z] -> Uploading to [2023-08-30T04:43:12.859Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-30/7E55EF52A471D76F132DFD9A03CDDE97/b4bed0cb5e640194fa93a94e9c79c299a23711f2/e21c2431-ebbb-4513-96ee-8f8d7013e345.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230830%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230830T044312Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=252c68062fdb60b54c1e85513ecc730990e34a2e239f654203296cbe5e43f3aa [2023-08-30T04:43:12.859Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-30T04:43:12.859Z] Dload Upload Total Spent Left Speed [2023-08-30T04:43:13.118Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16423 0 0 100 16423 0 85093 --:--:-- --:--:-- --:--:-- 85093 [2023-08-30T04:43:13.118Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b4bed0cb5e640194fa93a94e9c79c299a23711f2 [Pipeline] } [2023-08-30T04:43:13.146Z] 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-30T04:43:14.899Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1503/archives ] [2023-08-30T04:43:14.899Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1503/archives [2023-08-30T04:43:14.899Z] total 16 [2023-08-30T04:43:14.899Z] drwxr-xr-x 3 root root 4096 Aug 30 04:32 . [2023-08-30T04:43:14.899Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 04:32 .. [2023-08-30T04:43:14.899Z] drwxr-xr-x 2 root root 4096 Aug 30 04:32 cost [2023-08-30T04:43:14.899Z] -rw-r--r-- 1 root root 86 Aug 30 04:32 cost.csv [2023-08-30T04:43:14.899Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1503/archives [2023-08-30T04:43:14.899Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1503/archives [2023-08-30T04:43:14.899Z] total 16 [2023-08-30T04:43:14.899Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 04:32 . [2023-08-30T04:43:14.899Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 30 04:32 .. [2023-08-30T04:43:14.899Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 04:32 cost [2023-08-30T04:43:14.899Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 30 04:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-30T04:43:15.226Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T04:43:16.112Z] ---> package-listing.sh [2023-08-30T04:43:16.112Z] ++ facter osfamily [2023-08-30T04:43:16.112Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-30T04:43:16.370Z] + OS_FAMILY=debian [2023-08-30T04:43:16.370Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1503 [2023-08-30T04:43:16.370Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-30T04:43:16.370Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-30T04:43:16.370Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-30T04:43:16.370Z] + PACKAGES=/tmp/packages_start.txt [2023-08-30T04:43:16.370Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1503 ']' [2023-08-30T04:43:16.370Z] + PACKAGES=/tmp/packages_end.txt [2023-08-30T04:43:16.370Z] + case "${OS_FAMILY}" in [2023-08-30T04:43:16.370Z] + dpkg -l [2023-08-30T04:43:16.370Z] + grep '^ii' [2023-08-30T04:43:16.370Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-30T04:43:16.370Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-30T04:43:16.370Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-30T04:43:16.370Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1503 ']' [2023-08-30T04:43:16.370Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1503/archives/ [2023-08-30T04:43:16.370Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1503/archives/ [Pipeline] echo [2023-08-30T04:43:16.405Z] 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-1503/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-30T04:43:16.697Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T04:43:17.324Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T04:43:17.324Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T04:43:17.468Z] prd-ubuntu20.04-docker-8c-8g-4864 does not seem to be running inside a container [2023-08-30T04:43:17.506Z] $ 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-1503/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-1503 -v /w/workspace/gexfoundry_device-sdk-go_PR-1503:/w/workspace/gexfoundry_device-sdk-go_PR-1503:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1503@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1503@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-30T04:43:17.745Z] $ docker top 7008862a72a4e0e9e402b056a13ad548724ec28f70de72914c124cee6eb62729 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T04:43:18.114Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-30T04:43:18.422Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-30T04:43:18.730Z] + ls /var/log/sa-host [2023-08-30T04:43:18.730Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-30T04:43:18.864Z] provisioning config files... [2023-08-30T04:43:18.873Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1503@tmp/config7119444914668611356tmp [Pipeline] { [Pipeline] echo [2023-08-30T04:43:18.928Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T04:43:19.248Z] ---> create-netrc.sh [Pipeline] } [2023-08-30T04:43:19.275Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-30T04:43:19.690Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-30T04:43:19.723Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T04:43:20.030Z] ---> sudo-logs.sh [2023-08-30T04:43:20.030Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-30T04:43:20.117Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T04:43:20.428Z] ---> job-cost.sh [2023-08-30T04:43:20.428Z] lf-activate-venv: SKIPPING [2023-08-30T04:43:20.428Z] DEBUG: total: 0.2199999988079071 [2023-08-30T04:43:20.428Z] INFO: Retrieving Stack Cost... [2023-08-30T04:43:20.687Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-30T04:43:21.258Z] INFO: Archiving Costs [Pipeline] echo [2023-08-30T04:43:21.291Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T04:43:21.602Z] ---> logs-deploy.sh [2023-08-30T04:43:21.602Z] lf-activate-venv: SKIPPING [2023-08-30T04:43:21.602Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1503/1 [2023-08-30T04:43:21.602Z] INFO: archiving workspace using pattern(s): [2023-08-30T04:43:22.539Z] Archives upload complete. [2023-08-30T04:43:22.539Z] INFO: archiving logs to Nexus