Pull request #1514 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 8eb5e2757dcafe329ea8a1ccf5294bce0d995114+aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 (6046f214af0571477ce70c1fce3a9e32acb11ab1) 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-ssh13387441972391965176.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh8559389439945057832.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-1514/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-1514/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6585956417590131921.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-1514/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1750055980677145958.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh4506844897330558070.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-1514/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-1514/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3418870099811031025.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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 ‘prd-ubuntu20.04-docker-8c-8g-6603’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6605 in /w/workspace/gexfoundry_device-sdk-go_PR-1514 [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-1514 # 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/1514/head:refs/remotes/origin/PR-1514 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 into PR head commit 8eb5e2757dcafe329ea8a1ccf5294bce0d995114 Merge succeeded, producing 8eb5e2757dcafe329ea8a1ccf5294bce0d995114 Checking out Revision 8eb5e2757dcafe329ea8a1ccf5294bce0d995114 (PR-1514) > git config core.sparsecheckout # timeout=10 > git checkout -f 8eb5e2757dcafe329ea8a1ccf5294bce0d995114 # 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 aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8eb5e2757dcafe329ea8a1ccf5294bce0d995114 # timeout=10 Commit message: "fix: Change URIs for provision unit tests to go to edgexfoundry" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-19T18:53:09.049Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-19T18:53:09.224Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-19T18:53:09.328Z] ========================================================= [2023-09-19T18:53:09.328Z] EdgeX Global Pipelines Version Info [2023-09-19T18:53:09.328Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:53:10.078Z] ------------------- [2023-09-19T18:53:10.078Z] stable info: [2023-09-19T18:53:10.078Z] ------------------- [2023-09-19T18:53:10.078Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-19T18:53:10.078Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T18:53:10.078Z] Message: update stable to v1.0.254 [2023-09-19T18:53:10.655Z] ------------------- [2023-09-19T18:53:10.655Z] experimental info: [2023-09-19T18:53:10.655Z] ------------------- [2023-09-19T18:53:10.655Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-19T18:53:10.655Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T18:53:10.655Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-19T18:53:10.899Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-19T18:53:10.939Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-19T18:53:10.975Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-19T18:53:11.013Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-19T18:53:11.057Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-19T18:53:11.091Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-19T18:53:11.126Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-19T18:53:11.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-19T18:53:11.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-19T18:53:11.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-19T18:53:11.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-19T18:53:11.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-19T18:53:11.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-19T18:53:11.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-19T18:53:11.430Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-19T18:53:11.473Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T18:53:11.513Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T18:53:11.556Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T18:53:11.604Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-19T18:53:11.645Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-19T18:53:11.690Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-19T18:53:11.737Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-19T18:53:11.782Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-19T18:53:11.825Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-19T18:53:11.864Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-19T18:53:11.904Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-19T18:53:11.947Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-19T18:53:11.995Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1514 [Pipeline] echo [2023-09-19T18:53:12.036Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1514 [Pipeline] echo [2023-09-19T18:53:12.080Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1514 [Pipeline] echo [2023-09-19T18:53:12.120Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8eb5e2757dcafe329ea8a1ccf5294bce0d995114 [Pipeline] echo [2023-09-19T18:53:12.161Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8eb5e27 [Pipeline] echo [2023-09-19T18:53:12.200Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T18:53:12.313Z] provisioning config files... [2023-09-19T18:53:12.324Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1514@tmp/config4986457596780641206tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:53:12.672Z] ---> docker-login.sh [2023-09-19T18:53:12.672Z] nexus3.edgexfoundry.org:10001 [2023-09-19T18:53:12.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:53:13.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:53:13.192Z] Configure a credential helper to remove this warning. See [2023-09-19T18:53:13.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:53:13.192Z] [2023-09-19T18:53:13.192Z] Login Succeeded [2023-09-19T18:53:13.192Z] nexus3.edgexfoundry.org:10002 [2023-09-19T18:53:13.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:53:13.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:53:13.192Z] Configure a credential helper to remove this warning. See [2023-09-19T18:53:13.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:53:13.192Z] [2023-09-19T18:53:13.192Z] Login Succeeded [2023-09-19T18:53:13.192Z] nexus3.edgexfoundry.org:10003 [2023-09-19T18:53:13.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:53:13.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:53:13.451Z] Configure a credential helper to remove this warning. See [2023-09-19T18:53:13.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:53:13.451Z] [2023-09-19T18:53:13.451Z] Login Succeeded [2023-09-19T18:53:13.451Z] nexus3.edgexfoundry.org:10004 [2023-09-19T18:53:13.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:53:13.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:53:13.451Z] Configure a credential helper to remove this warning. See [2023-09-19T18:53:13.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:53:13.451Z] [2023-09-19T18:53:13.451Z] Login Succeeded [2023-09-19T18:53:13.451Z] docker.io [2023-09-19T18:53:13.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:53:13.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:53:13.711Z] Configure a credential helper to remove this warning. See [2023-09-19T18:53:13.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:53:13.711Z] [2023-09-19T18:53:13.711Z] Login Succeeded [2023-09-19T18:53:13.711Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T18:53:13.736Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-19T18:53:14.356Z] + git rev-list -1 --merges 8eb5e2757dcafe329ea8a1ccf5294bce0d995114~1..8eb5e2757dcafe329ea8a1ccf5294bce0d995114 [Pipeline] echo [2023-09-19T18:53:14.435Z] -----------> git rev-list -1 --merges 8eb5e2757dcafe329ea8a1ccf5294bce0d995114~1..8eb5e2757dcafe329ea8a1ccf5294bce0d995114 8eb5e2757dcafe329ea8a1ccf5294bce0d995114 [false] [Pipeline] sh [2023-09-19T18:53:14.755Z] + git log --format=format:%s -1 8eb5e2757dcafe329ea8a1ccf5294bce0d995114 [Pipeline] echo [2023-09-19T18:53:14.792Z] ========================================================= [2023-09-19T18:53:14.792Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-19T18:53:14.792Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T18:53:15.230Z] + git log --format=format:%s -1 8eb5e2757dcafe329ea8a1ccf5294bce0d995114 [Pipeline] echo [2023-09-19T18:53:15.262Z] [semverPrep] GIT_COMMIT: 8eb5e2757dcafe329ea8a1ccf5294bce0d995114, Commit Message: fix: Change URIs for provision unit tests to go to edgexfoundry [Pipeline] echo [2023-09-19T18:53:15.291Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-19T18:53:15.680Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T18:53:15.680Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-19T18:53:15.680Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-19T18:53:15.680Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-19T18:53:15.680Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-09-19T18:53:15.680Z] -a /etc/ssh/ssh_known_hosts [2023-09-19T18:53:15.680Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:53:16.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T18:53:16.170Z] [2023-09-19T18:53:16.170Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:53:16.543Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T18:53:16.543Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-19T18:53:16.543Z] b85a868b505f: Pulling fs layer [2023-09-19T18:53:16.543Z] e2be974225ed: Pulling fs layer [2023-09-19T18:53:16.543Z] 339a4e72a1f5: Pulling fs layer [2023-09-19T18:53:16.543Z] 988bab9f4d93: Pulling fs layer [2023-09-19T18:53:16.543Z] 1469e6f7b9e6: Pulling fs layer [2023-09-19T18:53:16.543Z] eaf3925da568: Pulling fs layer [2023-09-19T18:53:16.543Z] bab4dde63d76: Pulling fs layer [2023-09-19T18:53:16.543Z] bde34c3a00c8: Pulling fs layer [2023-09-19T18:53:16.543Z] b352a97aabf1: Pulling fs layer [2023-09-19T18:53:16.543Z] 4872d77fe225: Pulling fs layer [2023-09-19T18:53:16.543Z] 5851b861e8e6: Pulling fs layer [2023-09-19T18:53:16.543Z] 988bab9f4d93: Waiting [2023-09-19T18:53:16.543Z] 1469e6f7b9e6: Waiting [2023-09-19T18:53:16.543Z] b352a97aabf1: Waiting [2023-09-19T18:53:16.543Z] eaf3925da568: Waiting [2023-09-19T18:53:16.543Z] 4872d77fe225: Waiting [2023-09-19T18:53:16.543Z] bab4dde63d76: Waiting [2023-09-19T18:53:16.543Z] 5851b861e8e6: Waiting [2023-09-19T18:53:16.543Z] bde34c3a00c8: Waiting [2023-09-19T18:53:16.543Z] e2be974225ed: Verifying Checksum [2023-09-19T18:53:16.543Z] e2be974225ed: Download complete [2023-09-19T18:53:16.543Z] 988bab9f4d93: Verifying Checksum [2023-09-19T18:53:16.543Z] 988bab9f4d93: Download complete [2023-09-19T18:53:16.543Z] 339a4e72a1f5: Verifying Checksum [2023-09-19T18:53:16.543Z] 339a4e72a1f5: Download complete [2023-09-19T18:53:16.543Z] 1469e6f7b9e6: Verifying Checksum [2023-09-19T18:53:16.543Z] 1469e6f7b9e6: Download complete [2023-09-19T18:53:16.543Z] eaf3925da568: Verifying Checksum [2023-09-19T18:53:16.802Z] bde34c3a00c8: Verifying Checksum [2023-09-19T18:53:16.802Z] bde34c3a00c8: Download complete [2023-09-19T18:53:16.802Z] b352a97aabf1: Download complete [2023-09-19T18:53:16.802Z] 4872d77fe225: Verifying Checksum [2023-09-19T18:53:16.802Z] 4872d77fe225: Download complete [2023-09-19T18:53:16.802Z] 5851b861e8e6: Download complete [2023-09-19T18:53:16.802Z] b85a868b505f: Verifying Checksum [2023-09-19T18:53:16.802Z] b85a868b505f: Download complete [2023-09-19T18:53:17.061Z] bab4dde63d76: Verifying Checksum [2023-09-19T18:53:17.061Z] bab4dde63d76: Download complete [2023-09-19T18:53:17.998Z] b85a868b505f: Pull complete [2023-09-19T18:53:18.256Z] e2be974225ed: Pull complete [2023-09-19T18:53:18.826Z] 339a4e72a1f5: Pull complete [2023-09-19T18:53:18.826Z] 988bab9f4d93: Pull complete [2023-09-19T18:53:19.085Z] 1469e6f7b9e6: Pull complete [2023-09-19T18:53:19.085Z] eaf3925da568: Pull complete [2023-09-19T18:53:20.988Z] bab4dde63d76: Pull complete [2023-09-19T18:53:20.988Z] bde34c3a00c8: Pull complete [2023-09-19T18:53:20.988Z] b352a97aabf1: Pull complete [2023-09-19T18:53:20.988Z] 4872d77fe225: Pull complete [2023-09-19T18:53:20.988Z] 5851b861e8e6: Pull complete [2023-09-19T18:53:20.988Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-19T18:53:20.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T18:53:20.988Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:53:21.219Z] prd-ubuntu20.04-docker-8c-8g-6605 does not seem to be running inside a container [2023-09-19T18:53:21.311Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1514 -v /w/workspace/gexfoundry_device-sdk-go_PR-1514:/w/workspace/gexfoundry_device-sdk-go_PR-1514:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1514@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1514@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-devops/py-git-semver:0.1.4 cat [2023-09-19T18:53:24.910Z] $ docker top 4b1c0146ca7e0fcd5362e4803c8f6767df9f10f62eab24c03e3df8cbeb60647b -eo pid,comm [2023-09-19T18:53:24.964Z] 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-09-19T18:53:24.964Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T18:53:25.084Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T18:53:25.084Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T18:53:25.187Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T18:53:25.189Z] $ docker exec 4b1c0146ca7e0fcd5362e4803c8f6767df9f10f62eab24c03e3df8cbeb60647b ssh-agent [2023-09-19T18:53:25.295Z] SSH_AUTH_SOCK=/tmp/ssh-XeOvi5ZBrBlR/agent.32 [2023-09-19T18:53:25.295Z] SSH_AGENT_PID=38 [2023-09-19T18:53:25.301Z] Running ssh-add (command line suppressed) [2023-09-19T18:53:25.401Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1514@tmp/private_key_5879662933771268259.key (/w/workspace/gexfoundry_device-sdk-go_PR-1514@tmp/private_key_5879662933771268259.key) [2023-09-19T18:53:25.415Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T18:53:25.741Z] + git tag --points-at HEAD [Pipeline] } [2023-09-19T18:53:25.769Z] $ docker exec --env ******** --env ******** 4b1c0146ca7e0fcd5362e4803c8f6767df9f10f62eab24c03e3df8cbeb60647b ssh-agent -k [2023-09-19T18:53:25.863Z] unset SSH_AUTH_SOCK; [2023-09-19T18:53:25.863Z] unset SSH_AGENT_PID; [2023-09-19T18:53:25.863Z] echo Agent pid 38 killed; [2023-09-19T18:53:25.872Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-19T18:53:25.954Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T18:53:25.954Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T18:53:26.058Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T18:53:26.060Z] $ docker exec 4b1c0146ca7e0fcd5362e4803c8f6767df9f10f62eab24c03e3df8cbeb60647b ssh-agent [2023-09-19T18:53:26.164Z] SSH_AUTH_SOCK=/tmp/ssh-SQKhJaoaXlaO/agent.70 [2023-09-19T18:53:26.164Z] SSH_AGENT_PID=76 [2023-09-19T18:53:26.169Z] Running ssh-add (command line suppressed) [2023-09-19T18:53:26.261Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1514@tmp/private_key_4784234006079634762.key (/w/workspace/gexfoundry_device-sdk-go_PR-1514@tmp/private_key_4784234006079634762.key) [2023-09-19T18:53:26.275Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T18:53:26.600Z] + git semver init [2023-09-19T18:53:26.860Z] 2023-09-19 18:53:26,751 [run_init] DEBUG init version:0.0.0 force:False [2023-09-19T18:53:26.860Z] 2023-09-19 18:53:26,751 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1514/.semver [2023-09-19T18:53:26.860Z] 2023-09-19 18:53:26,752 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1514/.semver [2023-09-19T18:53:26.860Z] 2023-09-19 18:53:26,752 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1514/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1514, universal_newlines=False, shell=None, istream=None) [2023-09-19T18:53:27.797Z] 2023-09-19 18:53:27,716 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1514/.git/info/exclude [2023-09-19T18:53:27.797Z] 2023-09-19 18:53:27,716 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1514/.semver/PR-1514 with force:False [2023-09-19T18:53:27.797Z] 2023-09-19 18:53:27,717 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1514/.semver/PR-1514 [2023-09-19T18:53:27.797Z] 2023-09-19 18:53:27,720 [execute] INFO git cat-file --batch-check [2023-09-19T18:53:27.797Z] 2023-09-19 18:53:27,721 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1514/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T18:53:27.797Z] 2023-09-19 18:53:27,728 [execute] INFO git cat-file --batch [2023-09-19T18:53:27.797Z] 2023-09-19 18:53:27,728 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1514/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T18:53:27.797Z] 2023-09-19 18:53:27,733 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1514/.semver/PR-1514 [2023-09-19T18:53:27.797Z] 0.0.0 [Pipeline] } [2023-09-19T18:53:27.822Z] $ docker exec --env ******** --env ******** 4b1c0146ca7e0fcd5362e4803c8f6767df9f10f62eab24c03e3df8cbeb60647b ssh-agent -k [2023-09-19T18:53:27.905Z] unset SSH_AUTH_SOCK; [2023-09-19T18:53:27.906Z] unset SSH_AGENT_PID; [2023-09-19T18:53:27.906Z] echo Agent pid 76 killed; [2023-09-19T18:53:27.914Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T18:53:28.345Z] + git semver [Pipeline] } [2023-09-19T18:53:28.627Z] $ docker stop --time=1 4b1c0146ca7e0fcd5362e4803c8f6767df9f10f62eab24c03e3df8cbeb60647b [2023-09-19T18:53:29.889Z] $ docker rm -f --volumes 4b1c0146ca7e0fcd5362e4803c8f6767df9f10f62eab24c03e3df8cbeb60647b [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T18:53:30.283Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-19T18:53:30.535Z] Stashed 1 file(s) [Pipeline] echo [2023-09-19T18:53:30.553Z] [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-09-19T18:53:31.182Z] provisioning config files... [2023-09-19T18:53:31.191Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1514@tmp/config16061827952894298355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:53:31.544Z] ---> docker-login.sh [2023-09-19T18:53:31.544Z] nexus3.edgexfoundry.org:10001 [2023-09-19T18:53:31.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:53:31.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:53:31.544Z] Configure a credential helper to remove this warning. See [2023-09-19T18:53:31.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:53:31.544Z] [2023-09-19T18:53:31.544Z] Login Succeeded [2023-09-19T18:53:31.544Z] nexus3.edgexfoundry.org:10002 [2023-09-19T18:53:31.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:53:31.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:53:31.544Z] Configure a credential helper to remove this warning. See [2023-09-19T18:53:31.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:53:31.544Z] [2023-09-19T18:53:31.544Z] Login Succeeded [2023-09-19T18:53:31.544Z] nexus3.edgexfoundry.org:10003 [2023-09-19T18:53:31.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:53:31.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:53:31.804Z] Configure a credential helper to remove this warning. See [2023-09-19T18:53:31.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:53:31.804Z] [2023-09-19T18:53:31.804Z] Login Succeeded [2023-09-19T18:53:31.804Z] nexus3.edgexfoundry.org:10004 [2023-09-19T18:53:31.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:53:31.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:53:31.804Z] Configure a credential helper to remove this warning. See [2023-09-19T18:53:31.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:53:31.804Z] [2023-09-19T18:53:31.804Z] Login Succeeded [2023-09-19T18:53:31.804Z] docker.io [2023-09-19T18:53:31.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:53:32.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:53:32.062Z] Configure a credential helper to remove this warning. See [2023-09-19T18:53:32.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:53:32.062Z] [2023-09-19T18:53:32.062Z] Login Succeeded [2023-09-19T18:53:32.062Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T18:53:32.090Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T18:53:32.367Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T18:53:32.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T18:53:32.445Z] ========================================================= [2023-09-19T18:53:32.445Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-19T18:53:32.445Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:53:32.925Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-19T18:53:32.925Z] Sending build context to Docker daemon 11.16MB [2023-09-19T18:53:32.925Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T18:53:32.925Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-19T18:53:32.925Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-19T18:53:32.925Z] 7264a8db6415: Pulling fs layer [2023-09-19T18:53:32.925Z] c4d48a809fc2: Pulling fs layer [2023-09-19T18:53:32.925Z] 4f1c88b9dad5: Pulling fs layer [2023-09-19T18:53:32.925Z] ad3a456e5733: Pulling fs layer [2023-09-19T18:53:32.925Z] 9e4f439ed901: Pulling fs layer [2023-09-19T18:53:32.925Z] feaf6a47b606: Pulling fs layer [2023-09-19T18:53:32.925Z] 5e8b037d7d82: Pulling fs layer [2023-09-19T18:53:32.925Z] 8ac70367396e: Pulling fs layer [2023-09-19T18:53:32.925Z] 6db16350a2e2: Pulling fs layer [2023-09-19T18:53:32.925Z] 9250d5d63582: Pulling fs layer [2023-09-19T18:53:32.925Z] 5e8b037d7d82: Waiting [2023-09-19T18:53:32.925Z] 8ac70367396e: Waiting [2023-09-19T18:53:32.925Z] 6db16350a2e2: Waiting [2023-09-19T18:53:32.925Z] 9250d5d63582: Waiting [2023-09-19T18:53:32.925Z] ad3a456e5733: Waiting [2023-09-19T18:53:32.925Z] 9e4f439ed901: Waiting [2023-09-19T18:53:32.925Z] feaf6a47b606: Waiting [2023-09-19T18:53:32.925Z] c4d48a809fc2: Verifying Checksum [2023-09-19T18:53:32.925Z] c4d48a809fc2: Download complete [2023-09-19T18:53:32.925Z] ad3a456e5733: Verifying Checksum [2023-09-19T18:53:32.925Z] ad3a456e5733: Download complete [2023-09-19T18:53:32.925Z] 9e4f439ed901: Verifying Checksum [2023-09-19T18:53:32.925Z] 9e4f439ed901: Download complete [2023-09-19T18:53:33.183Z] 7264a8db6415: Verifying Checksum [2023-09-19T18:53:33.183Z] 7264a8db6415: Download complete [2023-09-19T18:53:33.183Z] feaf6a47b606: Verifying Checksum [2023-09-19T18:53:33.183Z] feaf6a47b606: Download complete [2023-09-19T18:53:33.183Z] 7264a8db6415: Pull complete [2023-09-19T18:53:33.183Z] 8ac70367396e: Verifying Checksum [2023-09-19T18:53:33.183Z] 8ac70367396e: Download complete [2023-09-19T18:53:33.443Z] c4d48a809fc2: Pull complete [2023-09-19T18:53:33.443Z] 4f1c88b9dad5: Verifying Checksum [2023-09-19T18:53:33.443Z] 4f1c88b9dad5: Download complete [2023-09-19T18:53:33.701Z] 6db16350a2e2: Verifying Checksum [2023-09-19T18:53:33.701Z] 6db16350a2e2: Download complete [2023-09-19T18:53:33.961Z] 9250d5d63582: Verifying Checksum [2023-09-19T18:53:33.961Z] 9250d5d63582: Download complete [2023-09-19T18:53:33.961Z] 5e8b037d7d82: Verifying Checksum [2023-09-19T18:53:33.961Z] 5e8b037d7d82: Download complete [2023-09-19T18:53:36.488Z] 4f1c88b9dad5: Pull complete [2023-09-19T18:53:36.488Z] ad3a456e5733: Pull complete [2023-09-19T18:53:36.488Z] 9e4f439ed901: Pull complete [2023-09-19T18:53:36.488Z] feaf6a47b606: Pull complete [2023-09-19T18:53:39.014Z] 5e8b037d7d82: Pull complete [2023-09-19T18:53:39.014Z] 8ac70367396e: Pull complete [2023-09-19T18:53:39.579Z] 6db16350a2e2: Pull complete [2023-09-19T18:53:40.143Z] 9250d5d63582: Pull complete [2023-09-19T18:53:40.143Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-19T18:53:40.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-19T18:53:40.143Z] ---> fa269f55d9b9 [2023-09-19T18:53:40.143Z] Step 3/10 : ARG MAKE=make build [2023-09-19T18:53:45.993Z] Still waiting to schedule task [2023-09-19T18:53:45.994Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6604’ is offline [2023-09-19T18:53:46.699Z] ---> Running in 8a7d7a6ed136 [2023-09-19T18:53:46.699Z] Removing intermediate container 8a7d7a6ed136 [2023-09-19T18:53:46.699Z] ---> 13cb2b68ec4e [2023-09-19T18:53:46.699Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-19T18:53:46.699Z] ---> Running in d1caa9a98cb7 [2023-09-19T18:53:46.699Z] Removing intermediate container d1caa9a98cb7 [2023-09-19T18:53:46.699Z] ---> 21e9f1edbac7 [2023-09-19T18:53:46.699Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T18:53:46.699Z] ---> Running in 588d78b3c73f [2023-09-19T18:53:46.699Z] Removing intermediate container 588d78b3c73f [2023-09-19T18:53:46.699Z] ---> a8a402d17fd4 [2023-09-19T18:53:46.699Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-19T18:53:46.699Z] ---> Running in bb38b4f9c2cf [2023-09-19T18:53:46.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T18:53:46.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T18:53:46.957Z] OK: 265 MiB in 56 packages [2023-09-19T18:53:47.215Z] Removing intermediate container bb38b4f9c2cf [2023-09-19T18:53:47.215Z] ---> ce4a8af7b3e7 [2023-09-19T18:53:47.215Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-19T18:53:47.475Z] ---> 309c4cde50f9 [2023-09-19T18:53:47.476Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T18:53:47.476Z] ---> Running in 36c0d625f541 [2023-09-19T18:54:26.303Z] Removing intermediate container 36c0d625f541 [2023-09-19T18:54:26.303Z] ---> 7ca2054cfde5 [2023-09-19T18:54:26.303Z] Step 9/10 : COPY . . [2023-09-19T18:54:26.303Z] ---> 72b4d34f4b52 [2023-09-19T18:54:26.303Z] Step 10/10 : RUN ${MAKE} [2023-09-19T18:54:26.303Z] ---> Running in 982e173898cf [2023-09-19T18:54:26.303Z] noop [2023-09-19T18:54:26.303Z] Removing intermediate container 982e173898cf [2023-09-19T18:54:26.303Z] ---> 8179c9cda77e [2023-09-19T18:54:26.303Z] Successfully built 8179c9cda77e [2023-09-19T18:54:26.303Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:54:26.763Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T18:54:26.763Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:54:26.908Z] prd-ubuntu20.04-docker-8c-8g-6605 does not seem to be running inside a container [2023-09-19T18:54:26.943Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1514 -v /w/workspace/gexfoundry_device-sdk-go_PR-1514:/w/workspace/gexfoundry_device-sdk-go_PR-1514:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1514@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1514@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-19T18:54:27.271Z] $ docker top 929add9b7cedaabc02f2b14277f4df9c85af982497ac05c567c0d34149d0fac0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T18:54:27.649Z] + go version [2023-09-19T18:54:27.650Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-19T18:54:27.689Z] $ docker stop --time=1 929add9b7cedaabc02f2b14277f4df9c85af982497ac05c567c0d34149d0fac0 [2023-09-19T18:54:28.984Z] $ docker rm -f --volumes 929add9b7cedaabc02f2b14277f4df9c85af982497ac05c567c0d34149d0fac0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:54:29.675Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T18:54:29.675Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:54:29.796Z] prd-ubuntu20.04-docker-8c-8g-6605 does not seem to be running inside a container [2023-09-19T18:54:29.835Z] $ 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-1514 -v /w/workspace/gexfoundry_device-sdk-go_PR-1514:/w/workspace/gexfoundry_device-sdk-go_PR-1514:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1514@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1514@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-19T18:54:30.185Z] $ docker top afcb1b7d7bd36b5654a927505c2761e0c606f4e23729568e019d13063ea6a81f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T18:54:30.563Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1514 [Pipeline] fileExists [Pipeline] sh [2023-09-19T18:54:30.921Z] + make test [2023-09-19T18:54:30.922Z] go test -race -coverprofile=coverage.out ./... [2023-09-19T18:54:37.478Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-19T18:54:49.675Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-19T18:54:49.675Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-19T18:54:49.675Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-19T18:54:49.675Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-19T18:54:49.675Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-19T18:54:50.606Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-19T18:54:50.606Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-19T18:54:51.171Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.049s coverage: 27.6% of statements [2023-09-19T18:54:51.428Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.042s coverage: 80.2% of statements [2023-09-19T18:54:51.428Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-19T18:54:51.428Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.065s coverage: 86.0% of statements [2023-09-19T18:54:52.362Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-19T18:54:52.362Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-19T18:54:52.362Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.068s coverage: 71.8% of statements [2023-09-19T18:54:52.621Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-19T18:54:55.903Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.051s coverage: 14.4% of statements [2023-09-19T18:54:55.903Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.872s coverage: 45.9% of statements [2023-09-19T18:54:55.903Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.069s coverage: 68.5% of statements [2023-09-19T18:54:55.903Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.094s coverage: 89.2% of statements [2023-09-19T18:54:55.903Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.042s coverage: 5.5% of statements [2023-09-19T18:55:13.998Z] GO111MODULE=on go vet ./... [2023-09-19T18:55:16.527Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T18:55:16.527Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T18:55:16.527Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T18:55:16.567Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T18:55:16.602Z] $ docker stop --time=1 afcb1b7d7bd36b5654a927505c2761e0c606f4e23729568e019d13063ea6a81f [2023-09-19T18:55:16.708Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6606 in /w/workspace/gexfoundry_device-sdk-go_PR-1514 [2023-09-19T18:55:20.334Z] $ docker rm -f --volumes afcb1b7d7bd36b5654a927505c2761e0c606f4e23729568e019d13063ea6a81f [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2023-09-19T18:55:20.730Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-09-19T18:55:20.808Z] The recommended git tool is: git [2023-09-19T18:55:20.945Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T18:55:21.024Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-19T18:55:21.716Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T18:55:22.025Z] + ls -al . [2023-09-19T18:55:22.025Z] total 304 [2023-09-19T18:55:22.025Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 18:54 . [2023-09-19T18:55:22.025Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 18:53 .. [2023-09-19T18:55:22.025Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 18:53 .dockerignore [2023-09-19T18:55:22.025Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 18:54 .git [2023-09-19T18:55:22.025Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 18:53 .github [2023-09-19T18:55:22.025Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 19 18:53 .gitignore [2023-09-19T18:55:22.025Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 18:53 .golangci.yml [2023-09-19T18:55:22.025Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 18:53 .semver [2023-09-19T18:55:22.025Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 19 18:53 CHANGELOG.md [2023-09-19T18:55:22.025Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 18:53 GOVERNANCE.md [2023-09-19T18:55:22.025Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 19 18:53 Jenkinsfile [2023-09-19T18:55:22.025Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 19 18:53 LICENSE [2023-09-19T18:55:22.025Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 19 18:53 Makefile [2023-09-19T18:55:22.025Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 19 18:53 OWNERS.md [2023-09-19T18:55:22.025Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 19 18:53 README.md [2023-09-19T18:55:22.025Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 18:53 VERSION [2023-09-19T18:55:22.025Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 18:53 bin [2023-09-19T18:55:22.025Z] -rw-r--r-- 1 jenkins jenkins 121387 Sep 19 18:54 coverage.out [2023-09-19T18:55:22.025Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 19 18:53 example [2023-09-19T18:55:22.025Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 19 18:53 go.mod [2023-09-19T18:55:22.025Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 19 18:53 go.sum [2023-09-19T18:55:22.025Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 18:53 internal [2023-09-19T18:55:22.025Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 18:53 openapi [2023-09-19T18:55:22.025Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 19 18:53 pkg [2023-09-19T18:55:22.025Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 18:53 snap [2023-09-19T18:55:22.025Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 19 18:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:55:22.522Z] + 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=8eb5e2757dcafe329ea8a1ccf5294bce0d995114 --label arch=amd64 --label version=0.0.0 . [2023-09-19T18:55:22.522Z] Sending build context to Docker daemon 11.28MB [2023-09-19T18:55:22.522Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T18:55:22.522Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-19T18:55:22.522Z] ---> 8179c9cda77e [2023-09-19T18:55:22.522Z] Step 3/23 : ARG MAKE=make build [2023-09-19T18:55:22.782Z] ---> Running in 8793a9b0104a [2023-09-19T18:55:22.782Z] Removing intermediate container 8793a9b0104a [2023-09-19T18:55:22.782Z] ---> f47b68761860 [2023-09-19T18:55:22.782Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-19T18:55:22.782Z] ---> Running in 4c2565c840c2 [2023-09-19T18:55:23.040Z] Removing intermediate container 4c2565c840c2 [2023-09-19T18:55:23.040Z] ---> 6f8c113fe9be [2023-09-19T18:55:23.040Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T18:55:23.040Z] ---> Running in a8cbc5fb556c [2023-09-19T18:55:23.040Z] Removing intermediate container a8cbc5fb556c [2023-09-19T18:55:23.040Z] ---> 9ef99581e909 [2023-09-19T18:55:23.040Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-19T18:55:23.040Z] ---> Running in befd014a5c7a [2023-09-19T18:55:23.299Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T18:55:23.299Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T18:55:23.557Z] OK: 265 MiB in 56 packages [2023-09-19T18:55:23.815Z] Removing intermediate container befd014a5c7a [2023-09-19T18:55:23.815Z] ---> 50e05b0322e4 [2023-09-19T18:55:23.815Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-19T18:55:24.077Z] ---> 0e40938a9ab7 [2023-09-19T18:55:24.077Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T18:55:24.077Z] ---> Running in 54f880333b00 [2023-09-19T18:55:24.646Z] Removing intermediate container 54f880333b00 [2023-09-19T18:55:24.646Z] ---> 5816984cbd2f [2023-09-19T18:55:24.646Z] Step 9/23 : COPY . . [2023-09-19T18:55:25.214Z] ---> a29a2cd53b6b [2023-09-19T18:55:25.214Z] Step 10/23 : RUN ${MAKE} [2023-09-19T18:55:25.214Z] ---> Running in 2aeaa61748c7 [2023-09-19T18:55:25.450Z] using credential edgex-jenkins-ssh [2023-09-19T18:55:25.465Z] Cloning the remote Git repository [2023-09-19T18:55:25.471Z] 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-09-19T18:55:25.501Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-19T18:55:25.598Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-09-19T18:55:25.743Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-19T18:55:25.744Z] > git --version # timeout=10 [2023-09-19T18:55:25.765Z] > git --version # 'git version 2.25.1' [2023-09-19T18:55:25.767Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T18:55:25.909Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T18:55:27.427Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-19T18:55:27.459Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T18:55:28.924Z] Merging remotes/origin/main commit aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 into PR head commit 8eb5e2757dcafe329ea8a1ccf5294bce0d995114 [2023-09-19T18:55:29.225Z] Merge succeeded, producing 8eb5e2757dcafe329ea8a1ccf5294bce0d995114 [2023-09-19T18:55:29.225Z] Checking out Revision 8eb5e2757dcafe329ea8a1ccf5294bce0d995114 (PR-1514) [2023-09-19T18:55:28.273Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-19T18:55:28.311Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-19T18:55:28.312Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T18:55:28.328Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1514/head:refs/remotes/origin/PR-1514 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-19T18:55:28.934Z] > git config core.sparsecheckout # timeout=10 [2023-09-19T18:55:29.011Z] > git checkout -f 8eb5e2757dcafe329ea8a1ccf5294bce0d995114 # timeout=10 [2023-09-19T18:55:29.119Z] > git remote # timeout=10 [2023-09-19T18:55:29.141Z] > git config --get remote.origin.url # timeout=10 [2023-09-19T18:55:29.165Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T18:55:29.177Z] > git merge aeefe5bcdd13e55c8a0bd0481ef347d02a25cc02 # timeout=10 [2023-09-19T18:55:29.201Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-19T18:55:29.227Z] > git config core.sparsecheckout # timeout=10 [2023-09-19T18:55:29.238Z] > git checkout -f 8eb5e2757dcafe329ea8a1ccf5294bce0d995114 # timeout=10 [2023-09-19T18:55:32.724Z] Commit message: "fix: Change URIs for provision unit tests to go to edgexfoundry" [2023-09-19T18:55:32.768Z] > git --version # timeout=10 [2023-09-19T18:55:32.778Z] > git --version # 'git version 2.25.1' [2023-09-19T18:55:32.790Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T18:55:33.895Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-19T18:55:33.895Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T18:55:33.895Z] Dload Upload Total Spent Left Speed [2023-09-19T18:55:33.895Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2023-09-19T18:55:34.630Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-19T18:55:34.975Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-19T18:55:34.975Z] + sudo tee /etc/docker/daemon.new [2023-09-19T18:55:34.975Z] { [2023-09-19T18:55:34.975Z] "registry-mirrors": [ [2023-09-19T18:55:34.975Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-19T18:55:34.975Z] ], [2023-09-19T18:55:34.975Z] "bip": "10.250.0.254/24", [2023-09-19T18:55:34.975Z] "hosts": [ [2023-09-19T18:55:34.975Z] "tcp://0.0.0.0:5555", [2023-09-19T18:55:34.975Z] "unix:///var/run/docker.sock" [2023-09-19T18:55:34.975Z] ], [2023-09-19T18:55:34.975Z] "mtu": 1458, [2023-09-19T18:55:34.975Z] "selinux-enabled": true, [2023-09-19T18:55:34.975Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-19T18:55:34.975Z] } [Pipeline] sh [2023-09-19T18:55:35.318Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-19T18:55:35.664Z] + sudo service docker restart [2023-09-19T18:55:43.536Z] Removing intermediate container 2aeaa61748c7 [2023-09-19T18:55:43.536Z] ---> 04643fa2c7e7 [2023-09-19T18:55:43.536Z] Step 11/23 : FROM alpine:3.18 [2023-09-19T18:55:43.795Z] 3.18: Pulling from library/alpine [2023-09-19T18:55:44.362Z] 7264a8db6415: Already exists [2023-09-19T18:55:44.362Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T18:55:44.362Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T18:55:44.362Z] ---> 7e01a0d0a1dc [2023-09-19T18:55:44.362Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-19T18:55:44.362Z] ---> Running in ba71f8c88be1 [2023-09-19T18:55:44.362Z] Removing intermediate container ba71f8c88be1 [2023-09-19T18:55:44.362Z] ---> 762fd709a136 [2023-09-19T18:55:44.362Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-19T18:55:44.362Z] ---> Running in a2d704dd5531 [2023-09-19T18:55:44.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T18:55:44.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T18:55:45.142Z] OK: 7 MiB in 15 packages [2023-09-19T18:55:45.402Z] Removing intermediate container a2d704dd5531 [2023-09-19T18:55:45.402Z] ---> 68662a5ee143 [2023-09-19T18:55:45.402Z] Step 14/23 : WORKDIR / [2023-09-19T18:55:45.402Z] ---> Running in 61bc67a71bdc [2023-09-19T18:55:45.661Z] Removing intermediate container 61bc67a71bdc [2023-09-19T18:55:45.661Z] ---> d075b5e5cf86 [2023-09-19T18:55:45.661Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-19T18:55:45.661Z] ---> da2d83d08512 [2023-09-19T18:55:45.661Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-19T18:55:46.595Z] ---> 8500fcf80e9f [2023-09-19T18:55:46.595Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-19T18:55:46.857Z] ---> 7943743fbde8 [2023-09-19T18:55:46.857Z] Step 18/23 : EXPOSE 59999 [2023-09-19T18:55:46.857Z] ---> Running in efe9bfcbdf38 [2023-09-19T18:55:46.857Z] Removing intermediate container efe9bfcbdf38 [2023-09-19T18:55:46.857Z] ---> d7c5fb4d394a [2023-09-19T18:55:46.857Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-19T18:55:46.857Z] ---> Running in aafb8da6a7a3 [2023-09-19T18:55:46.857Z] Removing intermediate container aafb8da6a7a3 [2023-09-19T18:55:46.857Z] ---> e8cf176fb1f4 [2023-09-19T18:55:46.858Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-19T18:55:46.858Z] ---> Running in b83207571d8a [2023-09-19T18:55:47.118Z] Removing intermediate container b83207571d8a [2023-09-19T18:55:47.118Z] ---> 76eabb7bca8d [2023-09-19T18:55:47.118Z] Step 21/23 : LABEL arch=amd64 [2023-09-19T18:55:47.118Z] ---> Running in ec6be38b4175 [2023-09-19T18:55:47.118Z] Removing intermediate container ec6be38b4175 [2023-09-19T18:55:47.118Z] ---> 39e4a4e35cf6 [2023-09-19T18:55:47.118Z] Step 22/23 : LABEL git_sha=8eb5e2757dcafe329ea8a1ccf5294bce0d995114 [2023-09-19T18:55:47.118Z] ---> Running in e44c8f8c2d01 [2023-09-19T18:55:47.118Z] Removing intermediate container e44c8f8c2d01 [2023-09-19T18:55:47.118Z] ---> 0693c09bf5de [2023-09-19T18:55:47.118Z] Step 23/23 : LABEL version=0.0.0 [2023-09-19T18:55:47.118Z] ---> Running in 5063f71a398a [2023-09-19T18:55:47.379Z] Removing intermediate container 5063f71a398a [2023-09-19T18:55:47.379Z] ---> 842821777544 [2023-09-19T18:55:47.379Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T18:55:47.379Z] Successfully built 842821777544 [2023-09-19T18:55:47.379Z] 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-09-19T18:55:48.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T18:55:48.269Z] [2023-09-19T18:55:48.269Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:55:48.642Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T18:55:48.642Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-19T18:55:48.642Z] 5eb5b503b376: Pulling fs layer [2023-09-19T18:55:48.642Z] 5c69ac0246d0: Pulling fs layer [2023-09-19T18:55:48.642Z] ec43610c2a17: Pulling fs layer [2023-09-19T18:55:48.642Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-19T18:55:48.642Z] 33b1e0a273af: Pulling fs layer [2023-09-19T18:55:48.642Z] 5d3b04190fa2: Pulling fs layer [2023-09-19T18:55:48.642Z] 2f39f015ded8: Pulling fs layer [2023-09-19T18:55:48.642Z] 3a2ae6a8a46f: Waiting [2023-09-19T18:55:48.642Z] 33b1e0a273af: Waiting [2023-09-19T18:55:48.642Z] 2f39f015ded8: Waiting [2023-09-19T18:55:48.642Z] 5d3b04190fa2: Waiting [2023-09-19T18:55:48.642Z] 5c69ac0246d0: Download complete [2023-09-19T18:55:48.642Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-19T18:55:48.642Z] 3a2ae6a8a46f: Download complete [2023-09-19T18:55:48.642Z] 33b1e0a273af: Verifying Checksum [2023-09-19T18:55:48.642Z] 33b1e0a273af: Download complete [2023-09-19T18:55:48.642Z] 5d3b04190fa2: Verifying Checksum [2023-09-19T18:55:48.642Z] 5d3b04190fa2: Download complete [2023-09-19T18:55:48.642Z] ec43610c2a17: Verifying Checksum [2023-09-19T18:55:48.642Z] ec43610c2a17: Download complete [2023-09-19T18:55:48.900Z] 5eb5b503b376: Verifying Checksum [2023-09-19T18:55:48.900Z] 5eb5b503b376: Download complete [2023-09-19T18:55:49.465Z] 2f39f015ded8: Verifying Checksum [2023-09-19T18:55:49.465Z] 2f39f015ded8: Download complete [2023-09-19T18:55:50.030Z] 5eb5b503b376: Pull complete [2023-09-19T18:55:50.030Z] 5c69ac0246d0: Pull complete [2023-09-19T18:55:50.595Z] ec43610c2a17: Pull complete [2023-09-19T18:55:50.595Z] 3a2ae6a8a46f: Pull complete [2023-09-19T18:55:50.854Z] 33b1e0a273af: Pull complete [2023-09-19T18:55:50.854Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T18:55:53.977Z] provisioning config files... [2023-09-19T18:55:54.003Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7187524371515704924tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T18:55:54.389Z] ---> docker-login.sh [2023-09-19T18:55:54.389Z] nexus3.edgexfoundry.org:10001 [2023-09-19T18:55:54.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:55:54.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:55:54.932Z] Configure a credential helper to remove this warning. See [2023-09-19T18:55:54.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:55:54.932Z] [2023-09-19T18:55:54.932Z] Login Succeeded [2023-09-19T18:55:54.932Z] nexus3.edgexfoundry.org:10002 [2023-09-19T18:55:55.035Z] 2f39f015ded8: Pull complete [2023-09-19T18:55:55.036Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-19T18:55:55.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T18:55:55.036Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2023-09-19T18:55:55.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:55:55.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:55:55.201Z] Configure a credential helper to remove this warning. See [2023-09-19T18:55:55.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:55:55.201Z] [2023-09-19T18:55:55.201Z] Login Succeeded [2023-09-19T18:55:55.201Z] nexus3.edgexfoundry.org:10003 [Pipeline] withDockerContainer [2023-09-19T18:55:55.254Z] prd-ubuntu20.04-docker-8c-8g-6605 does not seem to be running inside a container [2023-09-19T18:55:55.293Z] $ 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-1514 -v /w/workspace/gexfoundry_device-sdk-go_PR-1514:/w/workspace/gexfoundry_device-sdk-go_PR-1514:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1514@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1514@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-19T18:55:55.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:55:55.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:55:55.740Z] Configure a credential helper to remove this warning. See [2023-09-19T18:55:55.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:55:55.740Z] [2023-09-19T18:55:55.740Z] Login Succeeded [2023-09-19T18:55:55.740Z] nexus3.edgexfoundry.org:10004 [2023-09-19T18:55:56.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:55:56.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:55:56.013Z] Configure a credential helper to remove this warning. See [2023-09-19T18:55:56.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:55:56.013Z] [2023-09-19T18:55:56.013Z] Login Succeeded [2023-09-19T18:55:56.013Z] docker.io [2023-09-19T18:55:56.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T18:55:56.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T18:55:56.547Z] Configure a credential helper to remove this warning. See [2023-09-19T18:55:56.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T18:55:56.547Z] [2023-09-19T18:55:56.547Z] Login Succeeded [2023-09-19T18:55:56.547Z] ---> docker-login.sh ends [2023-09-19T18:55:59.496Z] $ docker top e6249a17d91f7eca46a87638eba2af43a48178fa5e87171a51d9ffa6b7f887ac -eo pid,comm [Pipeline] { [Pipeline] } [2023-09-19T18:55:59.712Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-09-19T18:56:00.119Z] ---> job-cost.sh [2023-09-19T18:56:00.119Z] lf-activate-venv: SKIPPING [2023-09-19T18:56:00.119Z] INFO: No Stack... [Pipeline] echo [2023-09-19T18:56:00.185Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T18:56:00.220Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T18:56:00.253Z] ========================================================= [2023-09-19T18:56:00.254Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-19T18:56:00.254Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [2023-09-19T18:56:00.379Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:56:00.638Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T18:56:00.782Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-19T18:56:00.953Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1514/archives/cost.csv [2023-09-19T18:56:00.953Z] + cut -d, -f6 [Pipeline] lock [2023-09-19T18:56:00.996Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1514-1-stack-cost] [2023-09-19T18:56:01.001Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1514-1-stack-cost] did not exist. Created. [2023-09-19T18:56:01.001Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1514-1-stack-cost] [Pipeline] { [2023-09-19T18:56:01.052Z] Sending build context to Docker daemon 5.965MB [2023-09-19T18:56:01.052Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T18:56:01.052Z] Step 2/10 : FROM ${BASE} AS builder [Pipeline] unstash [Pipeline] sh [2023-09-19T18:56:01.324Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-19T18:56:01.324Z] 9fda8d8052c6: Pulling fs layer [2023-09-19T18:56:01.324Z] 5d54e960e981: Pulling fs layer [2023-09-19T18:56:01.324Z] c4a7e357bf2a: Pulling fs layer [2023-09-19T18:56:01.324Z] f0e02332f6b5: Pulling fs layer [2023-09-19T18:56:01.324Z] 66412af1f25a: Pulling fs layer [2023-09-19T18:56:01.324Z] 1baf3a5c0e64: Pulling fs layer [2023-09-19T18:56:01.324Z] 9a37bb91b891: Pulling fs layer [2023-09-19T18:56:01.324Z] a29adfc67d43: Pulling fs layer [2023-09-19T18:56:01.324Z] d5de9f91c1a4: Pulling fs layer [2023-09-19T18:56:01.324Z] 1baf3a5c0e64: Waiting [2023-09-19T18:56:01.324Z] 9a37bb91b891: Waiting [2023-09-19T18:56:01.324Z] a29adfc67d43: Waiting [2023-09-19T18:56:01.324Z] f0e02332f6b5: Waiting [2023-09-19T18:56:01.324Z] 66412af1f25a: Waiting [2023-09-19T18:56:01.324Z] d5de9f91c1a4: Waiting [2023-09-19T18:56:01.324Z] 5d54e960e981: Download complete [2023-09-19T18:56:01.324Z] f0e02332f6b5: Verifying Checksum [2023-09-19T18:56:01.324Z] f0e02332f6b5: Download complete [2023-09-19T18:56:01.324Z] 66412af1f25a: Verifying Checksum [2023-09-19T18:56:01.324Z] 66412af1f25a: Download complete [2023-09-19T18:56:01.324Z] 9fda8d8052c6: Download complete [2023-09-19T18:56:01.425Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-19T18:56:01.477Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T18:56:01.503Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1514-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T18:56:01.598Z] $ docker stop --time=1 e6249a17d91f7eca46a87638eba2af43a48178fa5e87171a51d9ffa6b7f887ac [2023-09-19T18:56:01.922Z] 9a37bb91b891: Verifying Checksum [2023-09-19T18:56:01.922Z] 9a37bb91b891: Download complete [2023-09-19T18:56:02.197Z] a29adfc67d43: Verifying Checksum [2023-09-19T18:56:02.197Z] a29adfc67d43: Download complete [2023-09-19T18:56:02.780Z] $ docker rm -f --volumes e6249a17d91f7eca46a87638eba2af43a48178fa5e87171a51d9ffa6b7f887ac [2023-09-19T18:56:02.786Z] d5de9f91c1a4: Verifying Checksum [2023-09-19T18:56:02.786Z] d5de9f91c1a4: Download complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2023-09-19T18:56:03.055Z] c4a7e357bf2a: Verifying Checksum [2023-09-19T18:56:03.055Z] c4a7e357bf2a: Download complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-19T18:56:04.031Z] 1baf3a5c0e64: Download complete [2023-09-19T18:56:05.974Z] 9fda8d8052c6: Pull complete [2023-09-19T18:56:06.555Z] 5d54e960e981: Pull complete [2023-09-19T18:56:21.551Z] c4a7e357bf2a: Pull complete [2023-09-19T18:56:21.551Z] f0e02332f6b5: Pull complete [2023-09-19T18:56:21.551Z] 66412af1f25a: Pull complete [2023-09-19T18:56:26.914Z] 1baf3a5c0e64: Pull complete [2023-09-19T18:56:27.873Z] 9a37bb91b891: Pull complete [2023-09-19T18:56:28.831Z] a29adfc67d43: Pull complete [2023-09-19T18:56:30.779Z] d5de9f91c1a4: Pull complete [2023-09-19T18:56:30.779Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-19T18:56:30.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-19T18:56:30.779Z] ---> 746ca1b523b5 [2023-09-19T18:56:30.779Z] Step 3/10 : ARG MAKE=make build [2023-09-19T18:56:32.192Z] ---> Running in ca96b5786219 [2023-09-19T18:56:32.462Z] Removing intermediate container ca96b5786219 [2023-09-19T18:56:32.463Z] ---> cb5d9198da22 [2023-09-19T18:56:32.463Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-19T18:56:32.729Z] ---> Running in 1aa008bac830 [2023-09-19T18:56:32.997Z] Removing intermediate container 1aa008bac830 [2023-09-19T18:56:32.997Z] ---> 083451f6b5f7 [2023-09-19T18:56:32.997Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T18:56:32.997Z] ---> Running in f53319c91d96 [2023-09-19T18:56:33.266Z] Removing intermediate container f53319c91d96 [2023-09-19T18:56:33.266Z] ---> 2389bacabcfe [2023-09-19T18:56:33.266Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-19T18:56:33.266Z] ---> Running in c90da032796f [2023-09-19T18:56:34.673Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T18:56:34.673Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T18:56:35.632Z] OK: 267 MiB in 56 packages [2023-09-19T18:56:36.592Z] Removing intermediate container c90da032796f [2023-09-19T18:56:36.592Z] ---> 338d0d3f0aaf [2023-09-19T18:56:36.592Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-19T18:56:37.177Z] ---> d9f397df4289 [2023-09-19T18:56:37.177Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T18:56:37.177Z] ---> Running in 40740ba46953 [2023-09-19T18:57:45.046Z] Removing intermediate container 40740ba46953 [2023-09-19T18:57:45.046Z] ---> 30d47082e20b [2023-09-19T18:57:45.046Z] Step 9/10 : COPY . . [2023-09-19T18:57:45.046Z] ---> 9884c965aaf8 [2023-09-19T18:57:45.046Z] Step 10/10 : RUN ${MAKE} [2023-09-19T18:57:45.046Z] ---> Running in e8f69afa653c [2023-09-19T18:57:45.046Z] noop [2023-09-19T18:57:45.046Z] Removing intermediate container e8f69afa653c [2023-09-19T18:57:45.046Z] ---> ac7737a29097 [2023-09-19T18:57:45.046Z] Successfully built ac7737a29097 [2023-09-19T18:57:45.046Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:57:45.514Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T18:57:45.514Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:57:45.774Z] prd-ubuntu20.04-docker-arm64-4c-16g-6606 does not seem to be running inside a container [2023-09-19T18:57:45.837Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-19T18:57:46.958Z] $ docker top 4eca2740472f908a57ffd958b0e3223e534812fc94e2f78d9a94e66246e8475c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T18:57:47.802Z] + go version [2023-09-19T18:57:47.802Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-19T18:57:47.834Z] $ docker stop --time=1 4eca2740472f908a57ffd958b0e3223e534812fc94e2f78d9a94e66246e8475c [2023-09-19T18:57:49.393Z] $ docker rm -f --volumes 4eca2740472f908a57ffd958b0e3223e534812fc94e2f78d9a94e66246e8475c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T18:57:50.227Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T18:57:50.227Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T18:57:50.481Z] prd-ubuntu20.04-docker-arm64-4c-16g-6606 does not seem to be running inside a container [2023-09-19T18:57:50.541Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-19T18:57:53.749Z] $ docker top a0ac704a356b0dd9cc3e744265a612f11eb59312c1dc3988b5b070c4554460b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T18:57:54.282Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-19T18:57:54.919Z] + make test [2023-09-19T18:57:54.919Z] go test -race -coverprofile=coverage.out ./... [2023-09-19T18:58:27.126Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-19T19:00:03.751Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-19T19:00:03.751Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-19T19:00:03.751Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-19T19:00:03.751Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-19T19:00:03.751Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-19T19:00:10.392Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.200s coverage: 27.6% of statements [2023-09-19T19:00:15.734Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.337s coverage: 80.2% of statements [2023-09-19T19:00:28.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-19T19:00:28.162Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-19T19:00:28.162Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.305s coverage: 86.0% of statements [2023-09-19T19:00:31.534Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-19T19:00:32.948Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.382s coverage: 71.8% of statements [2023-09-19T19:00:37.207Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-19T19:00:37.207Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-19T19:00:37.207Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.246s coverage: 14.4% of statements [2023-09-19T19:00:37.207Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.931s coverage: 45.9% of statements [2023-09-19T19:00:38.165Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.373s coverage: 68.5% of statements [2023-09-19T19:00:40.751Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.410s coverage: 89.2% of statements [2023-09-19T19:00:41.031Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-19T19:00:42.444Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.223s coverage: 5.5% of statements [2023-09-19T19:00:43.029Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-19T19:00:43.029Z] GO111MODULE=on go vet ./... [2023-09-19T19:02:34.685Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T19:02:34.685Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T19:02:34.685Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T19:02:34.724Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T19:02:34.762Z] $ docker stop --time=1 a0ac704a356b0dd9cc3e744265a612f11eb59312c1dc3988b5b070c4554460b5 [2023-09-19T19:02:37.169Z] $ docker rm -f --volumes a0ac704a356b0dd9cc3e744265a612f11eb59312c1dc3988b5b070c4554460b5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T19:02:38.795Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T19:02:38.830Z] Warning: overwriting stash ‘coverage-report’ [2023-09-19T19:02:39.328Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T19:02:39.934Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T19:02:40.266Z] + ls -al . [2023-09-19T19:02:40.266Z] total 300 [2023-09-19T19:02:40.266Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 18:57 . [2023-09-19T19:02:40.266Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 18:55 .. [2023-09-19T19:02:40.266Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 18:55 .dockerignore [2023-09-19T19:02:40.266Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 18:55 .git [2023-09-19T19:02:40.266Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 18:55 .github [2023-09-19T19:02:40.267Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 19 18:55 .gitignore [2023-09-19T19:02:40.267Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 18:55 .golangci.yml [2023-09-19T19:02:40.267Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 19 18:55 CHANGELOG.md [2023-09-19T19:02:40.267Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 18:55 GOVERNANCE.md [2023-09-19T19:02:40.267Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 19 18:55 Jenkinsfile [2023-09-19T19:02:40.267Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 19 18:55 LICENSE [2023-09-19T19:02:40.267Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 19 18:55 Makefile [2023-09-19T19:02:40.267Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 19 18:55 OWNERS.md [2023-09-19T19:02:40.267Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 19 18:55 README.md [2023-09-19T19:02:40.267Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 18:53 VERSION [2023-09-19T19:02:40.267Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 18:55 bin [2023-09-19T19:02:40.267Z] -rw-r--r-- 1 jenkins jenkins 121386 Sep 19 19:00 coverage.out [2023-09-19T19:02:40.267Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 19 18:55 example [2023-09-19T19:02:40.267Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 19 18:55 go.mod [2023-09-19T19:02:40.267Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 19 18:55 go.sum [2023-09-19T19:02:40.267Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 18:55 internal [2023-09-19T19:02:40.267Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 18:55 openapi [2023-09-19T19:02:40.267Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 19 18:55 pkg [2023-09-19T19:02:40.267Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 18:55 snap [2023-09-19T19:02:40.267Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 19 18:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:02:40.668Z] + 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=8eb5e2757dcafe329ea8a1ccf5294bce0d995114 --label arch=arm64 --label version=0.0.0 . [2023-09-19T19:02:40.941Z] Sending build context to Docker daemon 6.087MB [2023-09-19T19:02:40.941Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T19:02:40.941Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-19T19:02:40.941Z] ---> ac7737a29097 [2023-09-19T19:02:40.941Z] Step 3/23 : ARG MAKE=make build [2023-09-19T19:02:41.208Z] ---> Running in a64f8c9499e7 [2023-09-19T19:02:41.474Z] Removing intermediate container a64f8c9499e7 [2023-09-19T19:02:41.474Z] ---> 47220a496f47 [2023-09-19T19:02:41.474Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-19T19:02:41.474Z] ---> Running in 3d3be56e9d6d [2023-09-19T19:02:41.743Z] Removing intermediate container 3d3be56e9d6d [2023-09-19T19:02:41.743Z] ---> 6e6eeaa5ccf3 [2023-09-19T19:02:41.743Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T19:02:41.743Z] ---> Running in 2495bb934658 [2023-09-19T19:02:42.010Z] Removing intermediate container 2495bb934658 [2023-09-19T19:02:42.010Z] ---> 1f3d0c184a70 [2023-09-19T19:02:42.010Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-19T19:02:42.276Z] ---> Running in dd5b51f4d861 [2023-09-19T19:02:43.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T19:02:43.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T19:02:44.451Z] OK: 267 MiB in 56 packages [2023-09-19T19:02:45.406Z] Removing intermediate container dd5b51f4d861 [2023-09-19T19:02:45.406Z] ---> 2fe380c10319 [2023-09-19T19:02:45.406Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-19T19:02:45.988Z] ---> 9ecdd0f48694 [2023-09-19T19:02:45.988Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T19:02:45.988Z] ---> Running in c7662ccff717 [2023-09-19T19:02:50.332Z] Removing intermediate container c7662ccff717 [2023-09-19T19:02:50.332Z] ---> e09e470a65be [2023-09-19T19:02:50.332Z] Step 9/23 : COPY . . [2023-09-19T19:02:51.293Z] ---> 8af4a10a1420 [2023-09-19T19:02:51.293Z] Step 10/23 : RUN ${MAKE} [2023-09-19T19:02:51.293Z] ---> Running in b6b6995755df [2023-09-19T19:02:52.252Z] 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-09-19T19:04:43.869Z] Removing intermediate container b6b6995755df [2023-09-19T19:04:43.869Z] ---> 04ebdd31854f [2023-09-19T19:04:43.869Z] Step 11/23 : FROM alpine:3.18 [2023-09-19T19:04:43.869Z] 3.18: Pulling from library/alpine [2023-09-19T19:04:43.869Z] 9fda8d8052c6: Already exists [2023-09-19T19:04:43.869Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T19:04:43.869Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T19:04:43.869Z] ---> f6648c04cd6c [2023-09-19T19:04:43.869Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-19T19:04:43.869Z] ---> Running in 4ad02192005a [2023-09-19T19:04:43.869Z] Removing intermediate container 4ad02192005a [2023-09-19T19:04:43.869Z] ---> b966a045599e [2023-09-19T19:04:43.869Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-19T19:04:43.869Z] ---> Running in 4dbc931d5a57 [2023-09-19T19:04:43.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T19:04:43.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T19:04:43.869Z] OK: 8 MiB in 15 packages [2023-09-19T19:04:43.869Z] Removing intermediate container 4dbc931d5a57 [2023-09-19T19:04:43.869Z] ---> c30f6343125c [2023-09-19T19:04:43.869Z] Step 14/23 : WORKDIR / [2023-09-19T19:04:43.869Z] ---> Running in 2fc63cee765d [2023-09-19T19:04:43.869Z] Removing intermediate container 2fc63cee765d [2023-09-19T19:04:43.869Z] ---> 8bbfcb8497f3 [2023-09-19T19:04:43.869Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-19T19:04:43.869Z] ---> 936e2730e31f [2023-09-19T19:04:43.869Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-19T19:04:43.869Z] ---> 52253d84dec9 [2023-09-19T19:04:43.869Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-19T19:04:43.869Z] ---> 0eefc7b80089 [2023-09-19T19:04:43.869Z] Step 18/23 : EXPOSE 59999 [2023-09-19T19:04:43.869Z] ---> Running in f30c7a30fd4c [2023-09-19T19:04:43.869Z] Removing intermediate container f30c7a30fd4c [2023-09-19T19:04:43.869Z] ---> 539d4f2efebf [2023-09-19T19:04:43.869Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-19T19:04:43.869Z] ---> Running in 3244ec9c9efe [2023-09-19T19:04:43.869Z] Removing intermediate container 3244ec9c9efe [2023-09-19T19:04:43.869Z] ---> a1d1c6a43a12 [2023-09-19T19:04:43.869Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-19T19:04:43.869Z] ---> Running in ed9a016d0473 [2023-09-19T19:04:43.869Z] Removing intermediate container ed9a016d0473 [2023-09-19T19:04:43.869Z] ---> 5a87b3dc8f98 [2023-09-19T19:04:43.869Z] Step 21/23 : LABEL arch=arm64 [2023-09-19T19:04:43.869Z] ---> Running in 7be7efeb7bc0 [2023-09-19T19:04:43.869Z] Removing intermediate container 7be7efeb7bc0 [2023-09-19T19:04:43.869Z] ---> a55e5c7c46a8 [2023-09-19T19:04:43.869Z] Step 22/23 : LABEL git_sha=8eb5e2757dcafe329ea8a1ccf5294bce0d995114 [2023-09-19T19:04:43.869Z] ---> Running in eae852948596 [2023-09-19T19:04:43.869Z] Removing intermediate container eae852948596 [2023-09-19T19:04:43.869Z] ---> 66d78b5863c7 [2023-09-19T19:04:43.869Z] Step 23/23 : LABEL version=0.0.0 [2023-09-19T19:04:43.869Z] ---> Running in 9c3af0bab5a8 [2023-09-19T19:04:43.869Z] Removing intermediate container 9c3af0bab5a8 [2023-09-19T19:04:43.869Z] ---> 0e17459c52d0 [2023-09-19T19:04:43.869Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T19:04:43.869Z] Successfully built 0e17459c52d0 [2023-09-19T19:04:43.869Z] 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-09-19T19:04:44.668Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T19:04:44.668Z] [2023-09-19T19:04:44.668Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:04:45.074Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T19:04:45.074Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-19T19:04:45.074Z] 8998bd30e6a1: Pulling fs layer [2023-09-19T19:04:45.074Z] 04944245beec: Pulling fs layer [2023-09-19T19:04:45.074Z] 699f458cf7ca: Pulling fs layer [2023-09-19T19:04:45.074Z] 765212b225bb: Pulling fs layer [2023-09-19T19:04:45.074Z] f23df028b6ca: Pulling fs layer [2023-09-19T19:04:45.074Z] d65c8cfc05b1: Pulling fs layer [2023-09-19T19:04:45.074Z] 2437ff75d9bd: Pulling fs layer [2023-09-19T19:04:45.074Z] 765212b225bb: Waiting [2023-09-19T19:04:45.074Z] d65c8cfc05b1: Waiting [2023-09-19T19:04:45.074Z] f23df028b6ca: Waiting [2023-09-19T19:04:45.074Z] 2437ff75d9bd: Waiting [2023-09-19T19:04:45.344Z] 04944245beec: Verifying Checksum [2023-09-19T19:04:45.344Z] 04944245beec: Download complete [2023-09-19T19:04:45.344Z] 765212b225bb: Verifying Checksum [2023-09-19T19:04:45.344Z] 765212b225bb: Download complete [2023-09-19T19:04:45.344Z] f23df028b6ca: Verifying Checksum [2023-09-19T19:04:45.344Z] f23df028b6ca: Download complete [2023-09-19T19:04:45.344Z] d65c8cfc05b1: Verifying Checksum [2023-09-19T19:04:45.344Z] d65c8cfc05b1: Download complete [2023-09-19T19:04:45.344Z] 699f458cf7ca: Download complete [2023-09-19T19:04:45.927Z] 8998bd30e6a1: Download complete [2023-09-19T19:04:47.871Z] 2437ff75d9bd: Verifying Checksum [2023-09-19T19:04:47.871Z] 2437ff75d9bd: Download complete [2023-09-19T19:04:49.839Z] 8998bd30e6a1: Pull complete [2023-09-19T19:04:51.767Z] 04944245beec: Pull complete [2023-09-19T19:04:53.185Z] 699f458cf7ca: Pull complete [2023-09-19T19:04:53.185Z] 765212b225bb: Pull complete [2023-09-19T19:04:53.768Z] f23df028b6ca: Pull complete [2023-09-19T19:04:54.034Z] d65c8cfc05b1: Pull complete [2023-09-19T19:05:09.010Z] 2437ff75d9bd: Pull complete [2023-09-19T19:05:09.010Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-19T19:05:09.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T19:05:09.010Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T19:05:09.328Z] prd-ubuntu20.04-docker-arm64-4c-16g-6606 does not seem to be running inside a container [2023-09-19T19:05:09.391Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-19T19:05:11.864Z] $ docker top 6977b561b8e0cfa5a2ea48bc3a8feabf8b70868c96caf81bbecb4b8039e68357 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:05:12.432Z] ---> job-cost.sh [2023-09-19T19:05:12.698Z] lf-activate-venv: SKIPPING [2023-09-19T19:05:12.698Z] INFO: No Stack... [2023-09-19T19:05:13.278Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-19T19:05:13.858Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T19:05:14.192Z] + + cut -d,cat -f6 /w/workspace/device-sdk-go/1/archives/cost.csv [2023-09-19T19:05:14.192Z] [Pipeline] lock [2023-09-19T19:05:14.277Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1514-1-stack-cost] [2023-09-19T19:05:14.282Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1514-1-stack-cost] did not exist. Created. [2023-09-19T19:05:14.282Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1514-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T19:05:14.686Z] /w/workspace/device-sdk-go/1@tmp/durable-edef50a9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-19T19:05:15.032Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-19T19:05:15.066Z] Warning: overwriting stash ‘stack-cost’ [2023-09-19T19:05:15.136Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T19:05:15.150Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1514-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T19:05:15.237Z] $ docker stop --time=1 6977b561b8e0cfa5a2ea48bc3a8feabf8b70868c96caf81bbecb4b8039e68357 [2023-09-19T19:05:17.837Z] $ docker rm -f --volumes 6977b561b8e0cfa5a2ea48bc3a8feabf8b70868c96caf81bbecb4b8039e68357 [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-09-19T19:05:18.764Z] provisioning config files... [2023-09-19T19:05:18.771Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1514@tmp/config18356117612761117511tmp [Pipeline] { [Pipeline] sh [2023-09-19T19:05:19.104Z] + set +x [2023-09-19T19:05:19.104Z] + + curl -s https://codecov.io/bash [2023-09-19T19:05:19.104Z] bash -s -- [2023-09-19T19:05:19.104Z] [2023-09-19T19:05:19.104Z] _____ _ [2023-09-19T19:05:19.104Z] / ____| | | [2023-09-19T19:05:19.104Z] | | ___ __| | ___ ___ _____ __ [2023-09-19T19:05:19.104Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-19T19:05:19.104Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-19T19:05:19.104Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-19T19:05:19.104Z] Bash-1.0.6 [2023-09-19T19:05:19.104Z] [2023-09-19T19:05:19.104Z] [2023-09-19T19:05:19.104Z] ==> git version 2.25.1 found [2023-09-19T19:05:19.104Z] ==> 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-09-19T19:05:19.104Z] Release-Date: 2020-01-08 [2023-09-19T19:05:19.104Z] 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-09-19T19:05:19.104Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-19T19:05:19.104Z] ==> Jenkins CI detected. [2023-09-19T19:05:19.104Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1514 [2023-09-19T19:05:19.104Z] project root: . [2023-09-19T19:05:19.104Z] --> token set from env [2023-09-19T19:05:19.104Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-19T19:05:19.104Z] ==> Running gcov in . (disable via -X gcov) [2023-09-19T19:05:19.104Z] ==> Python coveragepy not found [2023-09-19T19:05:19.104Z] ==> Searching for coverage reports in: [2023-09-19T19:05:19.104Z] + . [2023-09-19T19:05:19.104Z] -> Found 1 reports [2023-09-19T19:05:19.104Z] ==> Detecting git/mercurial file structure [2023-09-19T19:05:19.104Z] ==> Reading reports [2023-09-19T19:05:19.104Z] + ./coverage.out bytes=121386 [2023-09-19T19:05:19.104Z] ==> Appending adjustments [2023-09-19T19:05:19.104Z] https://docs.codecov.io/docs/fixing-reports [2023-09-19T19:05:19.361Z] + Found adjustments [2023-09-19T19:05:19.361Z] ==> Gzipping contents [2023-09-19T19:05:19.361Z] 20K /tmp/codecov.LxOZV9.gz [2023-09-19T19:05:19.361Z] ==> Uploading reports [2023-09-19T19:05:19.361Z] url: https://codecov.io [2023-09-19T19:05:19.361Z] query: branch=PR-1514&commit=8eb5e2757dcafe329ea8a1ccf5294bce0d995114&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1514%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1514&job=&cmd_args= [2023-09-19T19:05:19.361Z] -> Pinging Codecov [2023-09-19T19:05:19.361Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1514&commit=8eb5e2757dcafe329ea8a1ccf5294bce0d995114&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1514%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1514&job=&cmd_args= [2023-09-19T19:05:19.660Z] -> Uploading to [2023-09-19T19:05:19.660Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-19/7E55EF52A471D76F132DFD9A03CDDE97/8eb5e2757dcafe329ea8a1ccf5294bce0d995114/770dd212-c1a2-40d1-aee5-9efa79ed5839.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T190519Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e13d9a3ac12089fb0d0050de10719fcc110bf6ef164c52d5d497c8c82a2e5b25 [2023-09-19T19:05:19.660Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T19:05:19.660Z] Dload Upload Total Spent Left Speed [2023-09-19T19:05:19.954Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16537 0 0 100 16537 0 75168 --:--:-- --:--:-- --:--:-- 74828 [2023-09-19T19:05:19.954Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8eb5e2757dcafe329ea8a1ccf5294bce0d995114 [Pipeline] } [2023-09-19T19:05:19.980Z] 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-09-19T19:05:21.734Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1514/archives ] [2023-09-19T19:05:21.734Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1514/archives [2023-09-19T19:05:21.734Z] total 16 [2023-09-19T19:05:21.734Z] drwxr-xr-x 3 root root 4096 Sep 19 18:56 . [2023-09-19T19:05:21.734Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 18:56 .. [2023-09-19T19:05:21.734Z] drwxr-xr-x 2 root root 4096 Sep 19 18:56 cost [2023-09-19T19:05:21.734Z] -rw-r--r-- 1 root root 86 Sep 19 18:56 cost.csv [2023-09-19T19:05:21.734Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1514/archives [2023-09-19T19:05:21.734Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1514/archives [2023-09-19T19:05:21.734Z] total 16 [2023-09-19T19:05:21.734Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 18:56 . [2023-09-19T19:05:21.735Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 18:56 .. [2023-09-19T19:05:21.735Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 18:56 cost [2023-09-19T19:05:21.735Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 19 18:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:05:22.074Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:05:22.955Z] ---> package-listing.sh [2023-09-19T19:05:22.955Z] ++ facter osfamily [2023-09-19T19:05:22.955Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-19T19:05:23.214Z] + OS_FAMILY=debian [2023-09-19T19:05:23.214Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1514 [2023-09-19T19:05:23.214Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-19T19:05:23.214Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-19T19:05:23.214Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-19T19:05:23.214Z] + PACKAGES=/tmp/packages_start.txt [2023-09-19T19:05:23.214Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1514 ']' [2023-09-19T19:05:23.214Z] + PACKAGES=/tmp/packages_end.txt [2023-09-19T19:05:23.214Z] + case "${OS_FAMILY}" in [2023-09-19T19:05:23.214Z] + dpkg -l [2023-09-19T19:05:23.214Z] + grep '^ii' [2023-09-19T19:05:23.214Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-19T19:05:23.214Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-19T19:05:23.214Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-19T19:05:23.214Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1514 ']' [2023-09-19T19:05:23.214Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1514/archives/ [2023-09-19T19:05:23.214Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1514/archives/ [Pipeline] echo [2023-09-19T19:05:23.250Z] 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-1514/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-19T19:05:23.550Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T19:05:24.166Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T19:05:24.166Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T19:05:24.317Z] prd-ubuntu20.04-docker-8c-8g-6605 does not seem to be running inside a container [2023-09-19T19:05:24.361Z] $ 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-1514/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-1514 -v /w/workspace/gexfoundry_device-sdk-go_PR-1514:/w/workspace/gexfoundry_device-sdk-go_PR-1514:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1514@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1514@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-19T19:05:24.570Z] $ docker top d0c612298a2dc7a432f58456852ecc40faa7b4c604322683191e634df51ef98e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T19:05:24.939Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-19T19:05:25.243Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-19T19:05:25.550Z] + ls /var/log/sa-host [2023-09-19T19:05:25.550Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T19:05:25.697Z] provisioning config files... [2023-09-19T19:05:25.705Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1514@tmp/config9767155720837666252tmp [Pipeline] { [Pipeline] echo [2023-09-19T19:05:25.762Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:05:26.070Z] ---> create-netrc.sh [Pipeline] } [2023-09-19T19:05:26.100Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:05:26.508Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-19T19:05:26.540Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:05:26.852Z] ---> sudo-logs.sh [2023-09-19T19:05:26.852Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-19T19:05:26.932Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:05:27.239Z] ---> job-cost.sh [2023-09-19T19:05:27.239Z] lf-activate-venv: SKIPPING [2023-09-19T19:05:27.239Z] DEBUG: total: 0.2199999988079071 [2023-09-19T19:05:27.239Z] INFO: Retrieving Stack Cost... [2023-09-19T19:05:27.499Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T19:05:28.067Z] INFO: Archiving Costs [Pipeline] echo [2023-09-19T19:05:28.100Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T19:05:28.409Z] ---> logs-deploy.sh [2023-09-19T19:05:28.409Z] lf-activate-venv: SKIPPING [2023-09-19T19:05:28.409Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1514/1 [2023-09-19T19:05:28.409Z] INFO: archiving workspace using pattern(s): [2023-09-19T19:05:29.350Z] Archives upload complete. [2023-09-19T19:05:29.350Z] INFO: archiving logs to Nexus [2023-09-19T19:05:29.918Z] ---> uname -a: [2023-09-19T19:05:29.918Z] Linux prd-ubuntu20-04-docker-8c-8g-6605 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-09-19T19:05:29.918Z] [2023-09-19T19:05:29.918Z]