Pull request #1458 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3ebbb05d354b9cd2b4a54aa868562ed756c2fb74+18bdfa4300a1cbb146f35f15047514081a18ddfa (b1318cfc7fe0e05e5116820b8393ec556fb59040) 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-ssh12844083805082402596.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh3716574304913058792.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-1458/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-1458/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13227616725963364928.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-1458/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8578068916917887404.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh10986603107186152807.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-1458/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-1458/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9427429365853580097.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 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15499 in /w/workspace/gexfoundry_device-sdk-go_PR-1458 [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-1458 # 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 Merging remotes/origin/main commit 18bdfa4300a1cbb146f35f15047514081a18ddfa into PR head commit 3ebbb05d354b9cd2b4a54aa868562ed756c2fb74 Merge succeeded, producing 3ebbb05d354b9cd2b4a54aa868562ed756c2fb74 Checking out Revision 3ebbb05d354b9cd2b4a54aa868562ed756c2fb74 (PR-1458) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv > 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/1458/head:refs/remotes/origin/PR-1458 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3ebbb05d354b9cd2b4a54aa868562ed756c2fb74 # 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 18bdfa4300a1cbb146f35f15047514081a18ddfa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3ebbb05d354b9cd2b4a54aa868562ed756c2fb74 # timeout=10 [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-16T04:59:57.305Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-16T04:59:57.565Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-16T04:59:57.675Z] ========================================================= [2023-05-16T04:59:57.675Z] EdgeX Global Pipelines Version Info [2023-05-16T04:59:57.675Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-16T04:59:58.441Z] ------------------- [2023-05-16T04:59:58.441Z] stable info: [2023-05-16T04:59:58.441Z] ------------------- [2023-05-16T04:59:58.441Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-16T04:59:58.441Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T04:59:58.441Z] Message: update stable to v1.0.249 [2023-05-16T04:59:59.011Z] ------------------- [2023-05-16T04:59:59.011Z] experimental info: [2023-05-16T04:59:59.011Z] ------------------- [2023-05-16T04:59:59.012Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-16T04:59:59.012Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T04:59:59.012Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-16T04:59:59.354Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-05-16T04:59:59.400Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-05-16T04:59:59.444Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-16T04:59:59.489Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-16T04:59:59.536Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-16T04:59:59.582Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-16T04:59:59.627Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-16T04:59:59.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-05-16T04:59:59.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-16T04:59:59.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-16T04:59:59.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-16T04:59:59.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-05-16T04:59:59.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-16T04:59:59.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-16T04:59:59.981Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T05:00:00.022Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T05:00:00.068Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T05:00:00.109Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T05:00:00.148Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-16T05:00:00.192Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-16T05:00:00.240Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-16T05:00:00.281Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-05-16T05:00:00.319Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-16T05:00:00.360Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-16T05:00:00.404Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-16T05:00:00.451Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-16T05:00:00.494Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-16T05:00:00.535Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1458 [Pipeline] echo [2023-05-16T05:00:00.583Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1458 [Pipeline] echo [2023-05-16T05:00:00.634Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1458 [Pipeline] echo [2023-05-16T05:00:00.678Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3ebbb05d354b9cd2b4a54aa868562ed756c2fb74 [Pipeline] echo [2023-05-16T05:00:00.724Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3ebbb05 [Pipeline] echo [2023-05-16T05:00:00.769Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T05:00:00.900Z] provisioning config files... [2023-05-16T05:00:00.918Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1458@tmp/config10308566262981569374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T05:00:01.304Z] ---> docker-login.sh [2023-05-16T05:00:01.304Z] nexus3.edgexfoundry.org:10001 [2023-05-16T05:00:01.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T05:00:01.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T05:00:01.825Z] Configure a credential helper to remove this warning. See [2023-05-16T05:00:01.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T05:00:01.825Z] [2023-05-16T05:00:01.825Z] Login Succeeded [2023-05-16T05:00:01.825Z] nexus3.edgexfoundry.org:10002 [2023-05-16T05:00:01.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T05:00:01.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T05:00:01.825Z] Configure a credential helper to remove this warning. See [2023-05-16T05:00:01.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T05:00:01.825Z] [2023-05-16T05:00:01.825Z] Login Succeeded [2023-05-16T05:00:01.825Z] nexus3.edgexfoundry.org:10003 [2023-05-16T05:00:01.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T05:00:02.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T05:00:02.086Z] Configure a credential helper to remove this warning. See [2023-05-16T05:00:02.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T05:00:02.086Z] [2023-05-16T05:00:02.086Z] Login Succeeded [2023-05-16T05:00:02.086Z] nexus3.edgexfoundry.org:10004 [2023-05-16T05:00:02.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T05:00:02.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T05:00:02.086Z] Configure a credential helper to remove this warning. See [2023-05-16T05:00:02.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T05:00:02.086Z] [2023-05-16T05:00:02.086Z] Login Succeeded [2023-05-16T05:00:02.086Z] docker.io [2023-05-16T05:00:02.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T05:00:04.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T05:00:04.703Z] Configure a credential helper to remove this warning. See [2023-05-16T05:00:04.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T05:00:04.703Z] [2023-05-16T05:00:04.703Z] Login Succeeded [2023-05-16T05:00:04.703Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T05:00:04.735Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-16T05:00:05.387Z] + git rev-list -1 --merges 3ebbb05d354b9cd2b4a54aa868562ed756c2fb74~1..3ebbb05d354b9cd2b4a54aa868562ed756c2fb74 [Pipeline] echo [2023-05-16T05:00:05.451Z] -----------> git rev-list -1 --merges 3ebbb05d354b9cd2b4a54aa868562ed756c2fb74~1..3ebbb05d354b9cd2b4a54aa868562ed756c2fb74 3ebbb05d354b9cd2b4a54aa868562ed756c2fb74 [false] [Pipeline] sh [2023-05-16T05:00:05.765Z] + git log --format=format:%s -1 3ebbb05d354b9cd2b4a54aa868562ed756c2fb74 [Pipeline] echo [2023-05-16T05:00:05.807Z] ========================================================= [2023-05-16T05:00:05.807Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-16T05:00:05.807Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T05:00:06.249Z] + git log --format=format:%s -1 3ebbb05d354b9cd2b4a54aa868562ed756c2fb74 [Pipeline] echo [2023-05-16T05:00:06.282Z] [semverPrep] GIT_COMMIT: 3ebbb05d354b9cd2b4a54aa868562ed756c2fb74, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-05-16T05:00:06.311Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-16T05:00:06.718Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-16T05:00:06.718Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-16T05:00:06.718Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-16T05:00:06.718Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-16T05:00:06.718Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-16T05:00:06.718Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-16T05:00:06.718Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T05:00:07.217Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T05:00:07.217Z] [2023-05-16T05:00:07.217Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T05:00:07.604Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T05:00:07.604Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-16T05:00:07.604Z] b85a868b505f: Pulling fs layer [2023-05-16T05:00:07.604Z] e2be974225ed: Pulling fs layer [2023-05-16T05:00:07.604Z] 339a4e72a1f5: Pulling fs layer [2023-05-16T05:00:07.604Z] 988bab9f4d93: Pulling fs layer [2023-05-16T05:00:07.604Z] 1469e6f7b9e6: Pulling fs layer [2023-05-16T05:00:07.604Z] eaf3925da568: Pulling fs layer [2023-05-16T05:00:07.604Z] bab4dde63d76: Pulling fs layer [2023-05-16T05:00:07.604Z] bde34c3a00c8: Pulling fs layer [2023-05-16T05:00:07.604Z] b352a97aabf1: Pulling fs layer [2023-05-16T05:00:07.604Z] 4872d77fe225: Pulling fs layer [2023-05-16T05:00:07.604Z] 5851b861e8e6: Pulling fs layer [2023-05-16T05:00:07.604Z] bab4dde63d76: Waiting [2023-05-16T05:00:07.604Z] b352a97aabf1: Waiting [2023-05-16T05:00:07.604Z] 1469e6f7b9e6: Waiting [2023-05-16T05:00:07.604Z] 988bab9f4d93: Waiting [2023-05-16T05:00:07.604Z] 5851b861e8e6: Waiting [2023-05-16T05:00:07.604Z] eaf3925da568: Waiting [2023-05-16T05:00:07.604Z] e2be974225ed: Verifying Checksum [2023-05-16T05:00:07.604Z] e2be974225ed: Download complete [2023-05-16T05:00:07.604Z] 988bab9f4d93: Download complete [2023-05-16T05:00:07.604Z] 339a4e72a1f5: Verifying Checksum [2023-05-16T05:00:07.604Z] 339a4e72a1f5: Download complete [2023-05-16T05:00:07.604Z] 1469e6f7b9e6: Verifying Checksum [2023-05-16T05:00:07.604Z] 1469e6f7b9e6: Download complete [2023-05-16T05:00:07.864Z] eaf3925da568: Verifying Checksum [2023-05-16T05:00:07.864Z] eaf3925da568: Download complete [2023-05-16T05:00:07.864Z] bde34c3a00c8: Download complete [2023-05-16T05:00:07.864Z] b352a97aabf1: Download complete [2023-05-16T05:00:07.864Z] 4872d77fe225: Verifying Checksum [2023-05-16T05:00:07.864Z] 4872d77fe225: Download complete [2023-05-16T05:00:07.864Z] 5851b861e8e6: Verifying Checksum [2023-05-16T05:00:07.864Z] 5851b861e8e6: Download complete [2023-05-16T05:00:07.864Z] b85a868b505f: Verifying Checksum [2023-05-16T05:00:07.864Z] b85a868b505f: Download complete [2023-05-16T05:00:08.123Z] bab4dde63d76: Verifying Checksum [2023-05-16T05:00:08.123Z] bab4dde63d76: Download complete [2023-05-16T05:00:09.070Z] b85a868b505f: Pull complete [2023-05-16T05:00:09.329Z] e2be974225ed: Pull complete [2023-05-16T05:00:09.898Z] 339a4e72a1f5: Pull complete [2023-05-16T05:00:09.898Z] 988bab9f4d93: Pull complete [2023-05-16T05:00:10.157Z] 1469e6f7b9e6: Pull complete [2023-05-16T05:00:10.418Z] eaf3925da568: Pull complete [2023-05-16T05:00:11.798Z] bab4dde63d76: Pull complete [2023-05-16T05:00:12.076Z] bde34c3a00c8: Pull complete [2023-05-16T05:00:12.076Z] b352a97aabf1: Pull complete [2023-05-16T05:00:12.336Z] 4872d77fe225: Pull complete [2023-05-16T05:00:12.336Z] 5851b861e8e6: Pull complete [2023-05-16T05:00:12.336Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-16T05:00:12.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T05:00:12.336Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T05:00:13.039Z] prd-ubuntu20.04-docker-8c-8g-15499 does not seem to be running inside a container [2023-05-16T05:00:13.074Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1458 -v /w/workspace/gexfoundry_device-sdk-go_PR-1458:/w/workspace/gexfoundry_device-sdk-go_PR-1458:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1458@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1458@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-16T05:00:16.582Z] $ docker top fc94fc786570fe8a1d92e53dc58507a6f10364189865cd537884066ce9b5caa4 -eo pid,comm [2023-05-16T05:00:16.640Z] 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-05-16T05:00:16.640Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-16T05:00:16.763Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T05:00:16.763Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T05:00:16.895Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T05:00:16.897Z] $ docker exec fc94fc786570fe8a1d92e53dc58507a6f10364189865cd537884066ce9b5caa4 ssh-agent [2023-05-16T05:00:17.016Z] SSH_AUTH_SOCK=/tmp/ssh-g5gsquWc7oxV/agent.32 [2023-05-16T05:00:17.016Z] SSH_AGENT_PID=38 [2023-05-16T05:00:17.024Z] Running ssh-add (command line suppressed) [2023-05-16T05:00:17.122Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1458@tmp/private_key_8716108566190092991.key (/w/workspace/gexfoundry_device-sdk-go_PR-1458@tmp/private_key_8716108566190092991.key) [2023-05-16T05:00:17.141Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T05:00:17.490Z] + git tag --points-at HEAD [Pipeline] } [2023-05-16T05:00:17.521Z] $ docker exec --env ******** --env ******** fc94fc786570fe8a1d92e53dc58507a6f10364189865cd537884066ce9b5caa4 ssh-agent -k [2023-05-16T05:00:17.649Z] unset SSH_AUTH_SOCK; [2023-05-16T05:00:17.649Z] unset SSH_AGENT_PID; [2023-05-16T05:00:17.649Z] echo Agent pid 38 killed; [2023-05-16T05:00:17.661Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-16T05:00:17.761Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T05:00:17.761Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T05:00:17.877Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T05:00:17.879Z] $ docker exec fc94fc786570fe8a1d92e53dc58507a6f10364189865cd537884066ce9b5caa4 ssh-agent [2023-05-16T05:00:18.006Z] SSH_AUTH_SOCK=/tmp/ssh-LsLLXqpGusDY/agent.70 [2023-05-16T05:00:18.006Z] SSH_AGENT_PID=76 [2023-05-16T05:00:18.014Z] Running ssh-add (command line suppressed) [2023-05-16T05:00:18.133Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1458@tmp/private_key_15207625513187513767.key (/w/workspace/gexfoundry_device-sdk-go_PR-1458@tmp/private_key_15207625513187513767.key) [2023-05-16T05:00:18.150Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T05:00:18.487Z] + git semver init [2023-05-16T05:00:18.752Z] 2023-05-16 05:00:18,665 [run_init] DEBUG init version:0.0.0 force:False [2023-05-16T05:00:18.752Z] 2023-05-16 05:00:18,666 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1458/.semver [2023-05-16T05:00:18.752Z] 2023-05-16 05:00:18,666 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1458/.semver [2023-05-16T05:00:18.752Z] 2023-05-16 05:00:18,666 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1458/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1458, universal_newlines=False, shell=None, istream=None) [2023-05-16T05:00:19.689Z] 2023-05-16 05:00:19,542 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1458/.git/info/exclude [2023-05-16T05:00:19.689Z] 2023-05-16 05:00:19,543 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1458/.semver/PR-1458 with force:False [2023-05-16T05:00:19.689Z] 2023-05-16 05:00:19,543 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1458/.semver/PR-1458 [2023-05-16T05:00:19.689Z] 2023-05-16 05:00:19,547 [execute] INFO git cat-file --batch-check [2023-05-16T05:00:19.689Z] 2023-05-16 05:00:19,548 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1458/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T05:00:19.689Z] 2023-05-16 05:00:19,554 [execute] INFO git cat-file --batch [2023-05-16T05:00:19.689Z] 2023-05-16 05:00:19,554 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1458/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T05:00:19.689Z] 2023-05-16 05:00:19,559 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1458/.semver/PR-1458 [2023-05-16T05:00:19.689Z] 0.0.0 [Pipeline] } [2023-05-16T05:00:19.713Z] $ docker exec --env ******** --env ******** fc94fc786570fe8a1d92e53dc58507a6f10364189865cd537884066ce9b5caa4 ssh-agent -k [2023-05-16T05:00:19.808Z] unset SSH_AUTH_SOCK; [2023-05-16T05:00:19.809Z] unset SSH_AGENT_PID; [2023-05-16T05:00:19.809Z] echo Agent pid 76 killed; [2023-05-16T05:00:19.821Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-16T05:00:20.254Z] + git semver [Pipeline] } [2023-05-16T05:00:20.539Z] $ docker stop --time=1 fc94fc786570fe8a1d92e53dc58507a6f10364189865cd537884066ce9b5caa4 [2023-05-16T05:00:21.863Z] $ docker rm -f --volumes fc94fc786570fe8a1d92e53dc58507a6f10364189865cd537884066ce9b5caa4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T05:00:22.270Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-16T05:00:22.565Z] Stashed 1 file(s) [Pipeline] echo [2023-05-16T05:00:22.582Z] [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-05-16T05:00:23.185Z] provisioning config files... [2023-05-16T05:00:23.194Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1458@tmp/config1155648689322777955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T05:00:23.539Z] ---> docker-login.sh [2023-05-16T05:00:23.539Z] nexus3.edgexfoundry.org:10001 [2023-05-16T05:00:23.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T05:00:23.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T05:00:23.539Z] Configure a credential helper to remove this warning. See [2023-05-16T05:00:23.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T05:00:23.539Z] [2023-05-16T05:00:23.539Z] Login Succeeded [2023-05-16T05:00:23.539Z] nexus3.edgexfoundry.org:10002 [2023-05-16T05:00:23.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T05:00:23.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T05:00:23.539Z] Configure a credential helper to remove this warning. See [2023-05-16T05:00:23.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T05:00:23.539Z] [2023-05-16T05:00:23.539Z] Login Succeeded [2023-05-16T05:00:23.539Z] nexus3.edgexfoundry.org:10003 [2023-05-16T05:00:23.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T05:00:23.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T05:00:23.800Z] Configure a credential helper to remove this warning. See [2023-05-16T05:00:23.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T05:00:23.800Z] [2023-05-16T05:00:23.800Z] Login Succeeded [2023-05-16T05:00:23.800Z] nexus3.edgexfoundry.org:10004 [2023-05-16T05:00:23.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T05:00:23.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T05:00:23.800Z] Configure a credential helper to remove this warning. See [2023-05-16T05:00:23.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T05:00:23.800Z] [2023-05-16T05:00:23.800Z] Login Succeeded [2023-05-16T05:00:23.800Z] docker.io [2023-05-16T05:00:23.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T05:00:24.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T05:00:24.060Z] Configure a credential helper to remove this warning. See [2023-05-16T05:00:24.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T05:00:24.060Z] [2023-05-16T05:00:24.060Z] Login Succeeded [2023-05-16T05:00:24.060Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T05:00:24.088Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T05:00:24.296Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T05:00:24.335Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T05:00:24.368Z] ========================================================= [2023-05-16T05:00:24.368Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-16T05:00:24.368Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T05:00:24.857Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-16T05:00:24.857Z] Sending build context to Docker daemon 11.17MB [2023-05-16T05:00:24.857Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T05:00:24.857Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-16T05:00:24.857Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-16T05:00:24.857Z] f56be85fc22e: Pulling fs layer [2023-05-16T05:00:24.857Z] 85791d961cd3: Pulling fs layer [2023-05-16T05:00:24.857Z] d694b5ae8c79: Pulling fs layer [2023-05-16T05:00:24.857Z] 9f32a84ed3da: Pulling fs layer [2023-05-16T05:00:24.857Z] 4d19c01a9841: Pulling fs layer [2023-05-16T05:00:24.857Z] 9f32a84ed3da: Waiting [2023-05-16T05:00:24.857Z] 9325e15d5711: Pulling fs layer [2023-05-16T05:00:24.857Z] 556b6ee489ea: Pulling fs layer [2023-05-16T05:00:24.857Z] c5a4b2cf53e6: Pulling fs layer [2023-05-16T05:00:24.857Z] 4d19c01a9841: Waiting [2023-05-16T05:00:24.857Z] 9325e15d5711: Waiting [2023-05-16T05:00:24.857Z] 556b6ee489ea: Waiting [2023-05-16T05:00:24.857Z] c5a4b2cf53e6: Waiting [2023-05-16T05:00:24.857Z] 85791d961cd3: Download complete [2023-05-16T05:00:25.118Z] 9f32a84ed3da: Verifying Checksum [2023-05-16T05:00:25.118Z] 9f32a84ed3da: Download complete [2023-05-16T05:00:25.118Z] 4d19c01a9841: Verifying Checksum [2023-05-16T05:00:25.118Z] 4d19c01a9841: Download complete [2023-05-16T05:00:25.118Z] f56be85fc22e: Verifying Checksum [2023-05-16T05:00:25.118Z] f56be85fc22e: Download complete [2023-05-16T05:00:25.118Z] 9325e15d5711: Verifying Checksum [2023-05-16T05:00:25.118Z] 9325e15d5711: Download complete [2023-05-16T05:00:25.118Z] f56be85fc22e: Pull complete [2023-05-16T05:00:25.378Z] 85791d961cd3: Pull complete [2023-05-16T05:00:25.639Z] c5a4b2cf53e6: Verifying Checksum [2023-05-16T05:00:25.639Z] c5a4b2cf53e6: Download complete [2023-05-16T05:00:25.639Z] d694b5ae8c79: Verifying Checksum [2023-05-16T05:00:25.639Z] d694b5ae8c79: Download complete [2023-05-16T05:00:25.898Z] 556b6ee489ea: Verifying Checksum [2023-05-16T05:00:25.898Z] 556b6ee489ea: Download complete [2023-05-16T05:00:29.180Z] d694b5ae8c79: Pull complete [2023-05-16T05:00:29.180Z] 9f32a84ed3da: Pull complete [2023-05-16T05:00:29.180Z] 4d19c01a9841: Pull complete [2023-05-16T05:00:29.180Z] 9325e15d5711: Pull complete [2023-05-16T05:00:31.719Z] 556b6ee489ea: Pull complete [2023-05-16T05:00:32.653Z] c5a4b2cf53e6: Pull complete [2023-05-16T05:00:32.653Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-16T05:00:32.653Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-16T05:00:32.653Z] ---> c4be618373d6 [2023-05-16T05:00:32.653Z] Step 3/10 : ARG MAKE=make build [2023-05-16T05:00:36.899Z] ---> Running in 193dcd84faa9 [2023-05-16T05:00:37.158Z] Removing intermediate container 193dcd84faa9 [2023-05-16T05:00:37.158Z] ---> f79f0ffeec44 [2023-05-16T05:00:37.158Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-16T05:00:37.158Z] ---> Running in 4d6d85ff3052 [2023-05-16T05:00:37.158Z] Removing intermediate container 4d6d85ff3052 [2023-05-16T05:00:37.158Z] ---> 24d600b046e7 [2023-05-16T05:00:37.158Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-16T05:00:37.158Z] ---> Running in b429707cf65b [2023-05-16T05:00:37.417Z] Removing intermediate container b429707cf65b [2023-05-16T05:00:37.417Z] ---> 67966792c143 [2023-05-16T05:00:37.417Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-16T05:00:37.417Z] ---> Running in bf32bdae8949 [2023-05-16T05:00:37.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T05:00:37.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T05:00:38.013Z] Still waiting to schedule task [2023-05-16T05:00:38.014Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-16T05:00:38.193Z] OK: 265 MiB in 53 packages [2023-05-16T05:00:38.452Z] Removing intermediate container bf32bdae8949 [2023-05-16T05:00:38.452Z] ---> 16579262a6ff [2023-05-16T05:00:38.452Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-16T05:00:38.710Z] ---> 817f417222cb [2023-05-16T05:00:38.710Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T05:00:38.710Z] ---> Running in 5fe11dd99942 [2023-05-16T05:01:25.439Z] Removing intermediate container 5fe11dd99942 [2023-05-16T05:01:25.439Z] ---> a243a0ce2da6 [2023-05-16T05:01:25.439Z] Step 9/10 : COPY . . [2023-05-16T05:01:25.439Z] ---> 6b0180dba6f2 [2023-05-16T05:01:25.439Z] Step 10/10 : RUN ${MAKE} [2023-05-16T05:01:25.439Z] ---> Running in 5e7b34630825 [2023-05-16T05:01:25.439Z] noop [2023-05-16T05:01:25.439Z] Removing intermediate container 5e7b34630825 [2023-05-16T05:01:25.439Z] ---> ac3b762e81d5 [2023-05-16T05:01:25.439Z] Successfully built ac3b762e81d5 [2023-05-16T05:01:25.439Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T05:01:25.894Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T05:01:25.894Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T05:01:26.048Z] prd-ubuntu20.04-docker-8c-8g-15499 does not seem to be running inside a container [2023-05-16T05:01:26.075Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1458 -v /w/workspace/gexfoundry_device-sdk-go_PR-1458:/w/workspace/gexfoundry_device-sdk-go_PR-1458:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1458@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1458@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-16T05:01:26.445Z] $ docker top 2f12355e160aeb474c06d5d6f2f2eb9ed61284a5cf88002017678218b6c4589d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T05:01:26.846Z] + go version [2023-05-16T05:01:26.847Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-16T05:01:26.878Z] $ docker stop --time=1 2f12355e160aeb474c06d5d6f2f2eb9ed61284a5cf88002017678218b6c4589d [2023-05-16T05:01:28.179Z] $ docker rm -f --volumes 2f12355e160aeb474c06d5d6f2f2eb9ed61284a5cf88002017678218b6c4589d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T05:01:28.930Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T05:01:28.930Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T05:01:29.097Z] prd-ubuntu20.04-docker-8c-8g-15499 does not seem to be running inside a container [2023-05-16T05:01:29.123Z] $ 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-1458 -v /w/workspace/gexfoundry_device-sdk-go_PR-1458:/w/workspace/gexfoundry_device-sdk-go_PR-1458:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1458@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1458@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-16T05:01:29.506Z] $ docker top 0fc2b0fdc7aaf778d645d195098f1fe1f1f65407e1600660c1248efea0973dac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T05:01:29.908Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1458 [Pipeline] fileExists [Pipeline] sh [2023-05-16T05:01:30.270Z] + make test [2023-05-16T05:01:30.270Z] go test -race -coverprofile=coverage.out ./... [2023-05-16T05:01:36.863Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-16T05:01:51.739Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-16T05:01:51.739Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-16T05:01:51.739Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-16T05:01:51.739Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-16T05:01:51.739Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-16T05:01:51.999Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.068s coverage: 27.6% of statements [2023-05-16T05:01:51.999Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 80.2% of statements [2023-05-16T05:01:51.999Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-16T05:01:51.999Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-16T05:01:52.258Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.085s coverage: 86.0% of statements [2023-05-16T05:01:53.193Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-16T05:01:53.193Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-16T05:01:53.193Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.139s coverage: 77.5% of statements [2023-05-16T05:01:53.453Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-16T05:01:53.453Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-16T05:01:54.021Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-16T05:01:56.664Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.067s coverage: 14.3% of statements [2023-05-16T05:01:56.664Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.073s coverage: 68.5% of statements [2023-05-16T05:01:56.664Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.109s coverage: 89.2% of statements [2023-05-16T05:01:56.664Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.065s coverage: 5.7% of statements [2023-05-16T05:02:17.688Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15501 in /w/workspace/gexfoundry_device-sdk-go_PR-1458 [Pipeline] { [Pipeline] ws [2023-05-16T05:02:17.755Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-05-16T05:02:17.848Z] The recommended git tool is: git [2023-05-16T05:02:18.632Z] GO111MODULE=on go vet ./... [2023-05-16T05:02:21.928Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T05:02:21.928Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T05:02:21.928Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T05:02:21.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T05:02:21.997Z] $ docker stop --time=1 0fc2b0fdc7aaf778d645d195098f1fe1f1f65407e1600660c1248efea0973dac [2023-05-16T05:02:23.471Z] using credential edgex-jenkins-ssh [2023-05-16T05:02:23.488Z] Cloning the remote Git repository [2023-05-16T05:02:23.531Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-05-16T05:02:23.636Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-05-16T05:02:23.805Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-16T05:02:23.806Z] > git --version # timeout=10 [2023-05-16T05:02:23.827Z] > git --version # 'git version 2.25.1' [2023-05-16T05:02:23.830Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T05:02:23.995Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T05:02:25.436Z] $ docker rm -f --volumes 0fc2b0fdc7aaf778d645d195098f1fe1f1f65407e1600660c1248efea0973dac [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T05:02:26.062Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T05:02:26.140Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-16T05:02:26.075Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-16T05:02:26.104Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T05:02:26.861Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T05:02:27.184Z] + ls -al . [2023-05-16T05:02:27.184Z] total 272 [2023-05-16T05:02:27.184Z] drwxrwxr-x 11 jenkins jenkins 4096 May 16 05:01 . [2023-05-16T05:02:27.184Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 04:59 .. [2023-05-16T05:02:27.184Z] -rw-rw-r-- 1 jenkins jenkins 140 May 16 04:59 .dockerignore [2023-05-16T05:02:27.184Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 05:00 .git [2023-05-16T05:02:27.184Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 04:59 .github [2023-05-16T05:02:27.184Z] -rw-rw-r-- 1 jenkins jenkins 137 May 16 04:59 .gitignore [2023-05-16T05:02:27.184Z] -rw-rw-r-- 1 jenkins jenkins 42 May 16 04:59 .golangci.yml [2023-05-16T05:02:27.184Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 05:00 .semver [2023-05-16T05:02:27.184Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 16 04:59 CHANGELOG.md [2023-05-16T05:02:27.184Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 04:59 GOVERNANCE.md [2023-05-16T05:02:27.184Z] -rw-rw-r-- 1 jenkins jenkins 885 May 16 04:59 Jenkinsfile [2023-05-16T05:02:27.184Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 16 04:59 LICENSE [2023-05-16T05:02:27.184Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 16 04:59 Makefile [2023-05-16T05:02:27.184Z] -rw-rw-r-- 1 jenkins jenkins 619 May 16 04:59 OWNERS.md [2023-05-16T05:02:27.184Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 16 04:59 README.md [2023-05-16T05:02:27.184Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 05:00 VERSION [2023-05-16T05:02:27.184Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 04:59 bin [2023-05-16T05:02:27.184Z] -rw-r--r-- 1 jenkins jenkins 106151 May 16 05:01 coverage.out [2023-05-16T05:02:27.184Z] drwxrwxr-x 5 jenkins jenkins 4096 May 16 04:59 example [2023-05-16T05:02:27.184Z] -rw-rw-r-- 1 jenkins jenkins 3234 May 16 04:59 go.mod [2023-05-16T05:02:27.184Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 16 04:59 go.sum [2023-05-16T05:02:27.184Z] drwxrwxr-x 12 jenkins jenkins 4096 May 16 04:59 internal [2023-05-16T05:02:27.184Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 04:59 openapi [2023-05-16T05:02:27.184Z] drwxrwxr-x 6 jenkins jenkins 4096 May 16 04:59 pkg [2023-05-16T05:02:27.184Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 04:59 snap [2023-05-16T05:02:27.184Z] -rw-rw-r-- 1 jenkins jenkins 222 May 16 04:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T05:02:27.603Z] Merging remotes/origin/main commit 18bdfa4300a1cbb146f35f15047514081a18ddfa into PR head commit 3ebbb05d354b9cd2b4a54aa868562ed756c2fb74 [2023-05-16T05:02:27.613Z] + 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=3ebbb05d354b9cd2b4a54aa868562ed756c2fb74 --label arch=amd64 --label version=0.0.0 . [2023-05-16T05:02:27.613Z] Sending build context to Docker daemon 11.27MB [2023-05-16T05:02:27.613Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T05:02:27.613Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-16T05:02:27.613Z] ---> ac3b762e81d5 [2023-05-16T05:02:27.613Z] Step 3/23 : ARG MAKE=make build [2023-05-16T05:02:27.872Z] ---> Running in 9160a96784b0 [2023-05-16T05:02:27.872Z] Removing intermediate container 9160a96784b0 [2023-05-16T05:02:27.872Z] ---> bd4a884123c0 [2023-05-16T05:02:27.873Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-16T05:02:27.873Z] ---> Running in c8cedabb7648 [2023-05-16T05:02:27.908Z] Merge succeeded, producing 3ebbb05d354b9cd2b4a54aa868562ed756c2fb74 [2023-05-16T05:02:27.909Z] Checking out Revision 3ebbb05d354b9cd2b4a54aa868562ed756c2fb74 (PR-1458) [2023-05-16T05:02:28.131Z] Removing intermediate container c8cedabb7648 [2023-05-16T05:02:28.131Z] ---> 202f896717ef [2023-05-16T05:02:28.131Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-16T05:02:28.131Z] ---> Running in f39274cd92cd [2023-05-16T05:02:28.131Z] Removing intermediate container f39274cd92cd [2023-05-16T05:02:28.131Z] ---> 5e7ab44d60f0 [2023-05-16T05:02:28.131Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-16T05:02:28.131Z] ---> Running in 3913f9c54f2e [2023-05-16T05:02:26.969Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-16T05:02:27.013Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-16T05:02:27.014Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T05:02:27.030Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1458/head:refs/remotes/origin/PR-1458 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-16T05:02:27.619Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T05:02:27.694Z] > git checkout -f 3ebbb05d354b9cd2b4a54aa868562ed756c2fb74 # timeout=10 [2023-05-16T05:02:27.807Z] > git remote # timeout=10 [2023-05-16T05:02:27.826Z] > git config --get remote.origin.url # timeout=10 [2023-05-16T05:02:27.842Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T05:02:27.855Z] > git merge 18bdfa4300a1cbb146f35f15047514081a18ddfa # timeout=10 [2023-05-16T05:02:27.886Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-16T05:02:27.915Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T05:02:27.938Z] > git checkout -f 3ebbb05d354b9cd2b4a54aa868562ed756c2fb74 # timeout=10 [2023-05-16T05:02:28.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T05:02:28.505Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-05-16T05:02:28.560Z] > git --version # timeout=10 [2023-05-16T05:02:28.572Z] > git --version # 'git version 2.25.1' [2023-05-16T05:02:28.593Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T05:02:28.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T05:02:28.908Z] OK: 265 MiB in 53 packages [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2023-05-16T05:02:29.167Z] Removing intermediate container 3913f9c54f2e [2023-05-16T05:02:29.167Z] ---> 978eb3bae36f [2023-05-16T05:02:29.167Z] Step 7/23 : COPY go.mod vendor* ./ [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T05:02:29.425Z] ---> 89a5ca307a52 [2023-05-16T05:02:29.425Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T05:02:29.425Z] ---> Running in f8d67bdbd9f4 [2023-05-16T05:02:29.858Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-16T05:02:29.858Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T05:02:29.858Z] Dload Upload Total Spent Left Speed [2023-05-16T05:02:29.858Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 77750 0 --:--:-- --:--:-- --:--:-- 77750 [2023-05-16T05:02:29.992Z] Removing intermediate container f8d67bdbd9f4 [2023-05-16T05:02:29.992Z] ---> e57e393abb51 [2023-05-16T05:02:29.992Z] Step 9/23 : COPY . . [Pipeline] sh [2023-05-16T05:02:30.521Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-16T05:02:30.561Z] ---> 81835700fade [2023-05-16T05:02:30.561Z] Step 10/23 : RUN ${MAKE} [2023-05-16T05:02:30.821Z] ---> Running in 973481ae037e [2023-05-16T05:02:30.870Z] + sudo tee /etc/docker/daemon.new [2023-05-16T05:02:30.870Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-16T05:02:30.870Z] { [2023-05-16T05:02:30.870Z] "registry-mirrors": [ [2023-05-16T05:02:30.870Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-16T05:02:30.870Z] ], [2023-05-16T05:02:30.870Z] "bip": "10.250.0.254/24", [2023-05-16T05:02:30.870Z] "hosts": [ [2023-05-16T05:02:30.870Z] "tcp://0.0.0.0:5555", [2023-05-16T05:02:30.870Z] "unix:///var/run/docker.sock" [2023-05-16T05:02:30.870Z] ], [2023-05-16T05:02:30.870Z] "mtu": 1458, [2023-05-16T05:02:30.870Z] "selinux-enabled": true, [2023-05-16T05:02:30.870Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-16T05:02:30.870Z] } [Pipeline] sh [2023-05-16T05:02:31.081Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-05-16T05:02:31.222Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-16T05:02:31.589Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T05:02:49.919Z] provisioning config files... [2023-05-16T05:02:49.952Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7551757661444548148tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T05:02:50.346Z] ---> docker-login.sh [2023-05-16T05:02:50.346Z] nexus3.edgexfoundry.org:10001 [2023-05-16T05:02:50.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T05:02:50.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T05:02:50.888Z] Configure a credential helper to remove this warning. See [2023-05-16T05:02:50.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T05:02:50.888Z] [2023-05-16T05:02:50.888Z] Login Succeeded [2023-05-16T05:02:50.888Z] nexus3.edgexfoundry.org:10002 [2023-05-16T05:02:51.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T05:02:51.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T05:02:51.429Z] Configure a credential helper to remove this warning. See [2023-05-16T05:02:51.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T05:02:51.429Z] [2023-05-16T05:02:51.429Z] Login Succeeded [2023-05-16T05:02:51.429Z] nexus3.edgexfoundry.org:10003 [2023-05-16T05:02:51.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T05:02:51.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T05:02:51.703Z] Configure a credential helper to remove this warning. See [2023-05-16T05:02:51.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T05:02:51.703Z] [2023-05-16T05:02:51.703Z] Login Succeeded [2023-05-16T05:02:51.703Z] nexus3.edgexfoundry.org:10004 [2023-05-16T05:02:51.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T05:02:51.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T05:02:51.976Z] Configure a credential helper to remove this warning. See [2023-05-16T05:02:51.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T05:02:51.976Z] [2023-05-16T05:02:51.976Z] Login Succeeded [2023-05-16T05:02:51.976Z] docker.io [2023-05-16T05:02:52.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T05:02:52.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T05:02:52.517Z] Configure a credential helper to remove this warning. See [2023-05-16T05:02:52.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T05:02:52.517Z] [2023-05-16T05:02:52.517Z] Login Succeeded [2023-05-16T05:02:52.517Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T05:02:52.547Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T05:02:52.909Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T05:02:52.951Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T05:02:52.984Z] ========================================================= [2023-05-16T05:02:52.984Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-16T05:02:52.984Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T05:02:53.228Z] Removing intermediate container 973481ae037e [2023-05-16T05:02:53.228Z] ---> a17eb8aa3227 [2023-05-16T05:02:53.228Z] Step 11/23 : FROM alpine:3.17 [2023-05-16T05:02:53.228Z] 3.17: Pulling from library/alpine [2023-05-16T05:02:53.228Z] f56be85fc22e: Already exists [2023-05-16T05:02:53.228Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T05:02:53.228Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T05:02:53.228Z] ---> 9ed4aefc74f6 [2023-05-16T05:02:53.228Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-16T05:02:53.228Z] ---> Running in 23e1e7fa13c1 [2023-05-16T05:02:53.228Z] Removing intermediate container 23e1e7fa13c1 [2023-05-16T05:02:53.228Z] ---> 1b659ab8e02c [2023-05-16T05:02:53.228Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-16T05:02:53.228Z] ---> Running in ebbfd72e1739 [2023-05-16T05:02:53.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T05:02:53.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T05:02:53.228Z] OK: 7 MiB in 15 packages [2023-05-16T05:02:53.228Z] Removing intermediate container ebbfd72e1739 [2023-05-16T05:02:53.228Z] ---> 2191081e81ab [2023-05-16T05:02:53.228Z] Step 14/23 : WORKDIR / [2023-05-16T05:02:53.228Z] ---> Running in 70e1d12465f3 [2023-05-16T05:02:53.228Z] Removing intermediate container 70e1d12465f3 [2023-05-16T05:02:53.228Z] ---> ff626c32f90b [2023-05-16T05:02:53.228Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-16T05:02:53.228Z] ---> 93379fa64256 [2023-05-16T05:02:53.228Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-16T05:02:53.488Z] ---> 8e9894a70e67 [2023-05-16T05:02:53.488Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-16T05:02:53.488Z] ---> 0e2818c7e037 [2023-05-16T05:02:53.488Z] Step 18/23 : EXPOSE 59999 [2023-05-16T05:02:53.488Z] ---> Running in a1aac60dd676 [2023-05-16T05:02:53.488Z] Removing intermediate container a1aac60dd676 [2023-05-16T05:02:53.488Z] ---> 088e7b3e9140 [2023-05-16T05:02:53.488Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-16T05:02:53.497Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-16T05:02:53.750Z] ---> Running in 3e294d618890 [2023-05-16T05:02:53.751Z] Removing intermediate container 3e294d618890 [2023-05-16T05:02:53.751Z] ---> cb5837afc8a1 [2023-05-16T05:02:53.751Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-16T05:02:53.751Z] ---> Running in 6896fbd58388 [2023-05-16T05:02:53.751Z] Removing intermediate container 6896fbd58388 [2023-05-16T05:02:53.751Z] ---> 3da9036efbc1 [2023-05-16T05:02:53.751Z] Step 21/23 : LABEL arch=amd64 [2023-05-16T05:02:53.751Z] ---> Running in fa8877aaefea [2023-05-16T05:02:53.751Z] Removing intermediate container fa8877aaefea [2023-05-16T05:02:53.751Z] ---> d952997c8226 [2023-05-16T05:02:53.751Z] Step 22/23 : LABEL git_sha=3ebbb05d354b9cd2b4a54aa868562ed756c2fb74 [2023-05-16T05:02:53.766Z] Sending build context to Docker daemon 5.998MB [2023-05-16T05:02:54.009Z] ---> Running in 98c73f772ef7 [2023-05-16T05:02:54.009Z] Removing intermediate container 98c73f772ef7 [2023-05-16T05:02:54.009Z] ---> 8f377c8dda5a [2023-05-16T05:02:54.009Z] Step 23/23 : LABEL version=0.0.0 [2023-05-16T05:02:54.009Z] ---> Running in 2853e8481a9f [2023-05-16T05:02:54.009Z] Removing intermediate container 2853e8481a9f [2023-05-16T05:02:54.009Z] ---> 18f4c9ac043f [2023-05-16T05:02:54.009Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T05:02:54.009Z] Successfully built 18f4c9ac043f [2023-05-16T05:02:54.009Z] Successfully tagged device-sdk-simple:latest [2023-05-16T05:02:54.034Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T05:02:54.034Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-16T05:02:54.034Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-16T05:02:54.034Z] c41833b44d91: Pulling fs layer [2023-05-16T05:02:54.034Z] ed15518f5707: Pulling fs layer [2023-05-16T05:02:54.034Z] feae8fd75edb: Pulling fs layer [2023-05-16T05:02:54.034Z] 242c74f7c9fa: Pulling fs layer [2023-05-16T05:02:54.034Z] 3cdef696dda3: Pulling fs layer [2023-05-16T05:02:54.034Z] 2ced38df9373: Pulling fs layer [2023-05-16T05:02:54.034Z] 58f1dce35555: Pulling fs layer [2023-05-16T05:02:54.034Z] 242c74f7c9fa: Waiting [2023-05-16T05:02:54.034Z] 3cdef696dda3: Waiting [2023-05-16T05:02:54.034Z] 2ced38df9373: Waiting [2023-05-16T05:02:54.034Z] 58f1dce35555: Waiting [2023-05-16T05:02:54.034Z] ed15518f5707: Verifying Checksum [2023-05-16T05:02:54.034Z] ed15518f5707: Download complete [2023-05-16T05:02:54.034Z] 242c74f7c9fa: Verifying Checksum [2023-05-16T05:02:54.034Z] 242c74f7c9fa: Download complete [2023-05-16T05:02:54.034Z] 3cdef696dda3: Verifying Checksum [2023-05-16T05:02:54.034Z] 3cdef696dda3: Download complete [2023-05-16T05:02:54.034Z] c41833b44d91: Verifying Checksum [2023-05-16T05:02:54.034Z] c41833b44d91: Download complete [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-05-16T05:02:54.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T05:02:54.960Z] [2023-05-16T05:02:54.960Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2023-05-16T05:02:55.024Z] c41833b44d91: Pull complete [Pipeline] sh [2023-05-16T05:02:55.368Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T05:02:55.369Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-16T05:02:55.369Z] 5eb5b503b376: Pulling fs layer [2023-05-16T05:02:55.369Z] 5c69ac0246d0: Pulling fs layer [2023-05-16T05:02:55.369Z] ec43610c2a17: Pulling fs layer [2023-05-16T05:02:55.369Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-16T05:02:55.369Z] 33b1e0a273af: Pulling fs layer [2023-05-16T05:02:55.369Z] 5d3b04190fa2: Pulling fs layer [2023-05-16T05:02:55.369Z] 2f39f015ded8: Pulling fs layer [2023-05-16T05:02:55.369Z] 33b1e0a273af: Waiting [2023-05-16T05:02:55.369Z] 5d3b04190fa2: Waiting [2023-05-16T05:02:55.369Z] 2f39f015ded8: Waiting [2023-05-16T05:02:55.369Z] 3a2ae6a8a46f: Waiting [2023-05-16T05:02:55.369Z] 5c69ac0246d0: Verifying Checksum [2023-05-16T05:02:55.369Z] 5c69ac0246d0: Download complete [2023-05-16T05:02:55.369Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-16T05:02:55.369Z] 3a2ae6a8a46f: Download complete [2023-05-16T05:02:55.369Z] 33b1e0a273af: Verifying Checksum [2023-05-16T05:02:55.369Z] 33b1e0a273af: Download complete [2023-05-16T05:02:55.369Z] 5d3b04190fa2: Verifying Checksum [2023-05-16T05:02:55.369Z] 5d3b04190fa2: Download complete [2023-05-16T05:02:55.369Z] ec43610c2a17: Verifying Checksum [2023-05-16T05:02:55.369Z] ec43610c2a17: Download complete [2023-05-16T05:02:55.627Z] 5eb5b503b376: Verifying Checksum [2023-05-16T05:02:55.627Z] 5eb5b503b376: Download complete [2023-05-16T05:02:55.639Z] 58f1dce35555: Verifying Checksum [2023-05-16T05:02:55.640Z] 58f1dce35555: Download complete [2023-05-16T05:02:55.932Z] ed15518f5707: Pull complete [2023-05-16T05:02:56.191Z] 2f39f015ded8: Verifying Checksum [2023-05-16T05:02:56.192Z] 2f39f015ded8: Download complete [2023-05-16T05:02:56.759Z] 5eb5b503b376: Pull complete [2023-05-16T05:02:57.018Z] 5c69ac0246d0: Pull complete [2023-05-16T05:02:57.374Z] feae8fd75edb: Verifying Checksum [2023-05-16T05:02:57.374Z] feae8fd75edb: Download complete [2023-05-16T05:02:57.584Z] ec43610c2a17: Pull complete [2023-05-16T05:02:57.585Z] 3a2ae6a8a46f: Pull complete [2023-05-16T05:02:57.648Z] 2ced38df9373: Verifying Checksum [2023-05-16T05:02:57.648Z] 2ced38df9373: Download complete [2023-05-16T05:02:57.844Z] 33b1e0a273af: Pull complete [2023-05-16T05:02:57.844Z] 5d3b04190fa2: Pull complete [2023-05-16T05:03:03.117Z] 2f39f015ded8: Pull complete [2023-05-16T05:03:03.117Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-16T05:03:03.117Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T05:03:03.117Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T05:03:03.373Z] prd-ubuntu20.04-docker-8c-8g-15499 does not seem to be running inside a container [2023-05-16T05:03:03.405Z] $ 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-1458 -v /w/workspace/gexfoundry_device-sdk-go_PR-1458:/w/workspace/gexfoundry_device-sdk-go_PR-1458:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1458@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1458@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-16T05:03:07.803Z] $ docker top ba49ebbf463e7f37c5de5e08ae11d07efea0959373c40ec4556fdc37864a06d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T05:03:08.251Z] ---> job-cost.sh [2023-05-16T05:03:08.251Z] lf-activate-venv: SKIPPING [2023-05-16T05:03:08.251Z] INFO: No Stack... [2023-05-16T05:03:08.511Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T05:03:08.770Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T05:03:09.091Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1458/archives/cost.csv [2023-05-16T05:03:09.092Z] + cut -d, -f6 [Pipeline] lock [2023-05-16T05:03:09.135Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1458-1-stack-cost] [2023-05-16T05:03:09.140Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1458-1-stack-cost] did not exist. Created. [2023-05-16T05:03:09.140Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1458-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T05:03:09.539Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-16T05:03:09.592Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T05:03:09.621Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1458-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T05:03:09.697Z] $ docker stop --time=1 ba49ebbf463e7f37c5de5e08ae11d07efea0959373c40ec4556fdc37864a06d1 [2023-05-16T05:03:10.053Z] feae8fd75edb: Pull complete [2023-05-16T05:03:10.053Z] 242c74f7c9fa: Pull complete [2023-05-16T05:03:10.053Z] 3cdef696dda3: Pull complete [2023-05-16T05:03:10.879Z] $ docker rm -f --volumes ba49ebbf463e7f37c5de5e08ae11d07efea0959373c40ec4556fdc37864a06d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-16T05:03:14.323Z] 2ced38df9373: Pull complete [2023-05-16T05:03:16.913Z] 58f1dce35555: Pull complete [2023-05-16T05:03:16.913Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-16T05:03:16.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-16T05:03:16.913Z] ---> fadd8f120f05 [2023-05-16T05:03:16.913Z] Step 3/10 : ARG MAKE=make build [2023-05-16T05:03:18.868Z] ---> Running in b21da0e3e7f6 [2023-05-16T05:03:18.868Z] Removing intermediate container b21da0e3e7f6 [2023-05-16T05:03:18.868Z] ---> 2ba70dd5ed47 [2023-05-16T05:03:18.868Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-16T05:03:19.137Z] ---> Running in c2aca29102bd [2023-05-16T05:03:19.407Z] Removing intermediate container c2aca29102bd [2023-05-16T05:03:19.407Z] ---> cb957caebc3d [2023-05-16T05:03:19.407Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-16T05:03:19.407Z] ---> Running in a9c3c4d4bed1 [2023-05-16T05:03:19.676Z] Removing intermediate container a9c3c4d4bed1 [2023-05-16T05:03:19.676Z] ---> 9f38f115ed3e [2023-05-16T05:03:19.676Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-16T05:03:19.944Z] ---> Running in 392d7388ab0f [2023-05-16T05:03:20.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T05:03:21.493Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T05:03:22.904Z] OK: 263 MiB in 53 packages [2023-05-16T05:03:23.498Z] Removing intermediate container 392d7388ab0f [2023-05-16T05:03:23.498Z] ---> 20c85b8f284b [2023-05-16T05:03:23.498Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-16T05:03:24.088Z] ---> 16addf98388a [2023-05-16T05:03:24.088Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T05:03:24.088Z] ---> Running in 548e95e17ede [2023-05-16T05:04:45.735Z] Removing intermediate container 548e95e17ede [2023-05-16T05:04:45.735Z] ---> b26782d9a585 [2023-05-16T05:04:45.735Z] Step 9/10 : COPY . . [2023-05-16T05:04:45.735Z] ---> f2b48b34b30b [2023-05-16T05:04:45.735Z] Step 10/10 : RUN ${MAKE} [2023-05-16T05:04:45.735Z] ---> Running in 17b1f4af5f56 [2023-05-16T05:04:45.735Z] noop [2023-05-16T05:04:45.735Z] Removing intermediate container 17b1f4af5f56 [2023-05-16T05:04:45.735Z] ---> b9dfba398afa [2023-05-16T05:04:45.735Z] Successfully built b9dfba398afa [2023-05-16T05:04:45.735Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T05:04:46.225Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T05:04:46.225Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T05:04:46.509Z] prd-ubuntu20.04-docker-arm64-4c-16g-15501 does not seem to be running inside a container [2023-05-16T05:04:46.581Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-16T05:04:47.845Z] $ docker top dc019b6615c5d05e512f582a889617c6892455e909279381adba10fae045c121 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T05:04:48.752Z] + go version [2023-05-16T05:04:48.752Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-16T05:04:48.787Z] $ docker stop --time=1 dc019b6615c5d05e512f582a889617c6892455e909279381adba10fae045c121 [2023-05-16T05:04:52.569Z] $ docker rm -f --volumes dc019b6615c5d05e512f582a889617c6892455e909279381adba10fae045c121 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T05:04:53.412Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T05:04:53.412Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T05:04:53.667Z] prd-ubuntu20.04-docker-arm64-4c-16g-15501 does not seem to be running inside a container [2023-05-16T05:04:53.733Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-16T05:04:54.942Z] $ docker top 17f1bdd3d0fb0a8da935cb94dd238cbf66c1f41c67067f565ff4c43138ec14bd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T05:04:55.506Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-16T05:04:56.166Z] + make test [2023-05-16T05:04:56.432Z] go test -race -coverprofile=coverage.out ./... [2023-05-16T05:05:43.307Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-16T05:08:07.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-16T05:08:07.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-16T05:08:07.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-16T05:08:07.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-16T05:08:07.691Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-16T05:08:07.691Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.231s coverage: 27.6% of statements [2023-05-16T05:08:11.044Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.272s coverage: 80.2% of statements [2023-05-16T05:08:26.060Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-16T05:08:26.060Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-16T05:08:26.060Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.338s coverage: 86.0% of statements [2023-05-16T05:08:32.718Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-16T05:08:32.718Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.463s coverage: 77.5% of statements [2023-05-16T05:08:36.996Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-16T05:08:37.961Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-16T05:08:37.961Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-16T05:08:40.556Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.412s coverage: 14.3% of statements [2023-05-16T05:08:40.556Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.436s coverage: 68.5% of statements [2023-05-16T05:08:43.154Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.479s coverage: 89.2% of statements [2023-05-16T05:08:44.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-16T05:08:44.386Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.264s coverage: 5.7% of statements [2023-05-16T05:08:44.973Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-16T05:08:44.974Z] GO111MODULE=on go vet ./... [2023-05-16T05:11:21.765Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T05:11:21.765Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T05:11:21.765Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T05:11:21.805Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T05:11:21.838Z] $ docker stop --time=1 17f1bdd3d0fb0a8da935cb94dd238cbf66c1f41c67067f565ff4c43138ec14bd [2023-05-16T05:11:23.669Z] $ docker rm -f --volumes 17f1bdd3d0fb0a8da935cb94dd238cbf66c1f41c67067f565ff4c43138ec14bd [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T05:11:25.374Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T05:11:25.408Z] Warning: overwriting stash ‘coverage-report’ [2023-05-16T05:11:26.052Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T05:11:26.644Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T05:11:26.988Z] + ls -al . [2023-05-16T05:11:26.988Z] total 268 [2023-05-16T05:11:26.988Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 05:04 . [2023-05-16T05:11:26.988Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 05:02 .. [2023-05-16T05:11:26.988Z] -rw-rw-r-- 1 jenkins jenkins 140 May 16 05:02 .dockerignore [2023-05-16T05:11:26.988Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 05:02 .git [2023-05-16T05:11:26.988Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 05:02 .github [2023-05-16T05:11:26.988Z] -rw-rw-r-- 1 jenkins jenkins 137 May 16 05:02 .gitignore [2023-05-16T05:11:26.988Z] -rw-rw-r-- 1 jenkins jenkins 42 May 16 05:02 .golangci.yml [2023-05-16T05:11:26.988Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 16 05:02 CHANGELOG.md [2023-05-16T05:11:26.988Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 05:02 GOVERNANCE.md [2023-05-16T05:11:26.988Z] -rw-rw-r-- 1 jenkins jenkins 885 May 16 05:02 Jenkinsfile [2023-05-16T05:11:26.988Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 16 05:02 LICENSE [2023-05-16T05:11:26.988Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 16 05:02 Makefile [2023-05-16T05:11:26.988Z] -rw-rw-r-- 1 jenkins jenkins 619 May 16 05:02 OWNERS.md [2023-05-16T05:11:26.988Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 16 05:02 README.md [2023-05-16T05:11:26.988Z] -rw-rw-r-- 1 jenkins jenkins 5 May 16 05:00 VERSION [2023-05-16T05:11:26.988Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 05:02 bin [2023-05-16T05:11:26.988Z] -rw-r--r-- 1 jenkins jenkins 106150 May 16 05:08 coverage.out [2023-05-16T05:11:26.988Z] drwxrwxr-x 5 jenkins jenkins 4096 May 16 05:02 example [2023-05-16T05:11:26.988Z] -rw-rw-r-- 1 jenkins jenkins 3234 May 16 05:02 go.mod [2023-05-16T05:11:26.988Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 16 05:02 go.sum [2023-05-16T05:11:26.988Z] drwxrwxr-x 12 jenkins jenkins 4096 May 16 05:02 internal [2023-05-16T05:11:26.988Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 05:02 openapi [2023-05-16T05:11:26.988Z] drwxrwxr-x 6 jenkins jenkins 4096 May 16 05:02 pkg [2023-05-16T05:11:26.988Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 05:02 snap [2023-05-16T05:11:26.988Z] -rw-rw-r-- 1 jenkins jenkins 222 May 16 05:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T05:11:27.407Z] + 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=3ebbb05d354b9cd2b4a54aa868562ed756c2fb74 --label arch=arm64 --label version=0.0.0 . [2023-05-16T05:11:27.992Z] Sending build context to Docker daemon 6.105MB [2023-05-16T05:11:27.992Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T05:11:27.992Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-16T05:11:27.992Z] ---> b9dfba398afa [2023-05-16T05:11:27.992Z] Step 3/23 : ARG MAKE=make build [2023-05-16T05:11:28.260Z] ---> Running in 1bf4659f3f90 [2023-05-16T05:11:28.528Z] Removing intermediate container 1bf4659f3f90 [2023-05-16T05:11:28.528Z] ---> c95e0a2b63af [2023-05-16T05:11:28.528Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-16T05:11:28.528Z] ---> Running in 87699d0ff936 [2023-05-16T05:11:28.796Z] Removing intermediate container 87699d0ff936 [2023-05-16T05:11:28.796Z] ---> 25e35eee0a18 [2023-05-16T05:11:28.796Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-16T05:11:28.796Z] ---> Running in 8a95bd04faeb [2023-05-16T05:11:29.065Z] Removing intermediate container 8a95bd04faeb [2023-05-16T05:11:29.065Z] ---> 7e7185b6c571 [2023-05-16T05:11:29.065Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-16T05:11:29.338Z] ---> Running in c97d4a505e1a [2023-05-16T05:11:30.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T05:11:30.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T05:11:31.842Z] OK: 263 MiB in 53 packages [2023-05-16T05:11:32.808Z] Removing intermediate container c97d4a505e1a [2023-05-16T05:11:32.808Z] ---> b3e98d27c4da [2023-05-16T05:11:32.808Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-16T05:11:33.076Z] ---> 909bac51fda0 [2023-05-16T05:11:33.076Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T05:11:33.076Z] ---> Running in a614c67141b2 [2023-05-16T05:11:35.662Z] Removing intermediate container a614c67141b2 [2023-05-16T05:11:35.663Z] ---> c0117ccd23a5 [2023-05-16T05:11:35.663Z] Step 9/23 : COPY . . [2023-05-16T05:11:37.069Z] ---> d847e820d898 [2023-05-16T05:11:37.069Z] Step 10/23 : RUN ${MAKE} [2023-05-16T05:11:37.069Z] ---> Running in 0a9495251d4c [2023-05-16T05:11:38.027Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-05-16T05:13:59.732Z] Removing intermediate container 0a9495251d4c [2023-05-16T05:13:59.732Z] ---> e86cc43e8e04 [2023-05-16T05:13:59.732Z] Step 11/23 : FROM alpine:3.17 [2023-05-16T05:13:59.732Z] 3.17: Pulling from library/alpine [2023-05-16T05:13:59.732Z] c41833b44d91: Already exists [2023-05-16T05:13:59.732Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T05:13:59.732Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T05:13:59.732Z] ---> 51e60588ff2c [2023-05-16T05:13:59.732Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-16T05:13:59.732Z] ---> Running in fba2339e8d69 [2023-05-16T05:13:59.732Z] Removing intermediate container fba2339e8d69 [2023-05-16T05:13:59.732Z] ---> 0eafdfb70b25 [2023-05-16T05:13:59.732Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-16T05:13:59.732Z] ---> Running in c77b2d29d5c8 [2023-05-16T05:13:59.732Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T05:13:59.732Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T05:13:59.732Z] OK: 7 MiB in 15 packages [2023-05-16T05:13:59.732Z] Removing intermediate container c77b2d29d5c8 [2023-05-16T05:13:59.732Z] ---> 53af74685955 [2023-05-16T05:13:59.732Z] Step 14/23 : WORKDIR / [2023-05-16T05:13:59.732Z] ---> Running in 7c29259f230c [2023-05-16T05:13:59.732Z] Removing intermediate container 7c29259f230c [2023-05-16T05:13:59.732Z] ---> d3fd1ee16c09 [2023-05-16T05:13:59.732Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-16T05:13:59.732Z] ---> fd44afd39cea [2023-05-16T05:13:59.732Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-16T05:13:59.732Z] ---> f58ea82cae0a [2023-05-16T05:13:59.732Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-16T05:13:59.732Z] ---> 42f5d945087e [2023-05-16T05:13:59.732Z] Step 18/23 : EXPOSE 59999 [2023-05-16T05:13:59.732Z] ---> Running in 1cba82a38c09 [2023-05-16T05:13:59.732Z] Removing intermediate container 1cba82a38c09 [2023-05-16T05:13:59.732Z] ---> 3ff98ea1cdda [2023-05-16T05:13:59.732Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-16T05:13:59.732Z] ---> Running in d4ecd6108c2c [2023-05-16T05:13:59.732Z] Removing intermediate container d4ecd6108c2c [2023-05-16T05:13:59.732Z] ---> ed7834a8e663 [2023-05-16T05:13:59.732Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-16T05:13:59.732Z] ---> Running in 58a3fa3267ed [2023-05-16T05:13:59.732Z] Removing intermediate container 58a3fa3267ed [2023-05-16T05:13:59.732Z] ---> 1263ead25a58 [2023-05-16T05:13:59.732Z] Step 21/23 : LABEL arch=arm64 [2023-05-16T05:13:59.732Z] ---> Running in 44ba6066fa86 [2023-05-16T05:13:59.732Z] Removing intermediate container 44ba6066fa86 [2023-05-16T05:13:59.732Z] ---> c65d9a0cac3f [2023-05-16T05:13:59.732Z] Step 22/23 : LABEL git_sha=3ebbb05d354b9cd2b4a54aa868562ed756c2fb74 [2023-05-16T05:13:59.732Z] ---> Running in 8d536a636450 [2023-05-16T05:13:59.732Z] Removing intermediate container 8d536a636450 [2023-05-16T05:13:59.732Z] ---> 739605065aaa [2023-05-16T05:13:59.732Z] Step 23/23 : LABEL version=0.0.0 [2023-05-16T05:13:59.732Z] ---> Running in 010c65040b76 [2023-05-16T05:13:59.732Z] Removing intermediate container 010c65040b76 [2023-05-16T05:13:59.732Z] ---> 18d832414c2e [2023-05-16T05:13:59.732Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T05:13:59.732Z] Successfully built 18d832414c2e [2023-05-16T05:13:59.732Z] 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-05-16T05:14:00.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T05:14:00.547Z] [2023-05-16T05:14:00.547Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T05:14:00.943Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T05:14:00.943Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-16T05:14:00.943Z] 8998bd30e6a1: Pulling fs layer [2023-05-16T05:14:00.943Z] 04944245beec: Pulling fs layer [2023-05-16T05:14:00.943Z] 699f458cf7ca: Pulling fs layer [2023-05-16T05:14:00.943Z] 765212b225bb: Pulling fs layer [2023-05-16T05:14:00.943Z] f23df028b6ca: Pulling fs layer [2023-05-16T05:14:00.943Z] d65c8cfc05b1: Pulling fs layer [2023-05-16T05:14:00.943Z] 2437ff75d9bd: Pulling fs layer [2023-05-16T05:14:00.943Z] f23df028b6ca: Waiting [2023-05-16T05:14:00.943Z] d65c8cfc05b1: Waiting [2023-05-16T05:14:00.943Z] 765212b225bb: Waiting [2023-05-16T05:14:00.943Z] 2437ff75d9bd: Waiting [2023-05-16T05:14:01.211Z] 04944245beec: Verifying Checksum [2023-05-16T05:14:01.211Z] 04944245beec: Download complete [2023-05-16T05:14:01.211Z] 765212b225bb: Verifying Checksum [2023-05-16T05:14:01.211Z] 765212b225bb: Download complete [2023-05-16T05:14:01.211Z] f23df028b6ca: Verifying Checksum [2023-05-16T05:14:01.211Z] f23df028b6ca: Download complete [2023-05-16T05:14:01.211Z] d65c8cfc05b1: Download complete [2023-05-16T05:14:01.483Z] 699f458cf7ca: Verifying Checksum [2023-05-16T05:14:01.752Z] 8998bd30e6a1: Verifying Checksum [2023-05-16T05:14:01.752Z] 8998bd30e6a1: Download complete [2023-05-16T05:14:04.339Z] 2437ff75d9bd: Verifying Checksum [2023-05-16T05:14:04.339Z] 2437ff75d9bd: Download complete [2023-05-16T05:14:06.292Z] 8998bd30e6a1: Pull complete [2023-05-16T05:14:06.292Z] 04944245beec: Pull complete [2023-05-16T05:14:07.704Z] 699f458cf7ca: Pull complete [2023-05-16T05:14:07.972Z] 765212b225bb: Pull complete [2023-05-16T05:14:08.558Z] f23df028b6ca: Pull complete [2023-05-16T05:14:08.827Z] d65c8cfc05b1: Pull complete [2023-05-16T05:14:23.829Z] 2437ff75d9bd: Pull complete [2023-05-16T05:14:23.829Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-16T05:14:23.829Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T05:14:23.829Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T05:14:24.157Z] prd-ubuntu20.04-docker-arm64-4c-16g-15501 does not seem to be running inside a container [2023-05-16T05:14:24.216Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-16T05:14:26.887Z] $ docker top 48bfce719e2596d1e7dcceeeaf47aa36d04bbfe6404d2e06314bf140b629d87b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T05:14:27.791Z] ---> job-cost.sh [2023-05-16T05:14:27.791Z] lf-activate-venv: SKIPPING [2023-05-16T05:14:27.791Z] INFO: No Stack... [2023-05-16T05:14:28.057Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-16T05:14:29.020Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T05:14:29.699Z] + + cutcat -d, /w/workspace/device-sdk-go/1/archives/cost.csv -f6 [2023-05-16T05:14:29.699Z] [Pipeline] lock [2023-05-16T05:14:29.763Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1458-1-stack-cost] [2023-05-16T05:14:29.768Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1458-1-stack-cost] did not exist. Created. [2023-05-16T05:14:29.768Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1458-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T05:14:30.188Z] /w/workspace/device-sdk-go/1@tmp/durable-7ceceaf0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-16T05:14:30.546Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-16T05:14:30.584Z] Warning: overwriting stash ‘stack-cost’ [2023-05-16T05:14:30.640Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T05:14:30.654Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1458-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T05:14:30.730Z] $ docker stop --time=1 48bfce719e2596d1e7dcceeeaf47aa36d04bbfe6404d2e06314bf140b629d87b [2023-05-16T05:14:32.238Z] $ docker rm -f --volumes 48bfce719e2596d1e7dcceeeaf47aa36d04bbfe6404d2e06314bf140b629d87b [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-05-16T05:14:33.222Z] provisioning config files... [2023-05-16T05:14:33.232Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1458@tmp/config6985238152351948742tmp [Pipeline] { [Pipeline] sh [2023-05-16T05:14:33.571Z] + set +x [2023-05-16T05:14:33.571Z] + + curl -s https://codecov.io/bash [2023-05-16T05:14:33.571Z] bash -s -- [2023-05-16T05:14:33.571Z] [2023-05-16T05:14:33.571Z] _____ _ [2023-05-16T05:14:33.571Z] / ____| | | [2023-05-16T05:14:33.571Z] | | ___ __| | ___ ___ _____ __ [2023-05-16T05:14:33.571Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-16T05:14:33.571Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-16T05:14:33.571Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-16T05:14:33.571Z] Bash-1.0.6 [2023-05-16T05:14:33.571Z] [2023-05-16T05:14:33.571Z] [2023-05-16T05:14:33.571Z] ==> git version 2.25.1 found [2023-05-16T05:14:33.571Z] ==> 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-05-16T05:14:33.571Z] Release-Date: 2020-01-08 [2023-05-16T05:14:33.571Z] 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-05-16T05:14:33.571Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-16T05:14:33.571Z] ==> Jenkins CI detected. [2023-05-16T05:14:33.571Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1458 [2023-05-16T05:14:33.571Z] project root: . [2023-05-16T05:14:33.571Z] --> token set from env [2023-05-16T05:14:33.571Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-16T05:14:33.571Z] ==> Running gcov in . (disable via -X gcov) [2023-05-16T05:14:33.571Z] ==> Python coveragepy not found [2023-05-16T05:14:33.571Z] ==> Searching for coverage reports in: [2023-05-16T05:14:33.571Z] + . [2023-05-16T05:14:33.571Z] -> Found 1 reports [2023-05-16T05:14:33.571Z] ==> Detecting git/mercurial file structure [2023-05-16T05:14:33.571Z] ==> Reading reports [2023-05-16T05:14:33.571Z] + ./coverage.out bytes=106150 [2023-05-16T05:14:33.830Z] ==> Appending adjustments [2023-05-16T05:14:33.830Z] https://docs.codecov.io/docs/fixing-reports [2023-05-16T05:14:34.089Z] + Found adjustments [2023-05-16T05:14:34.089Z] ==> Gzipping contents [2023-05-16T05:14:34.089Z] 16K /tmp/codecov.iKIe4Z.gz [2023-05-16T05:14:34.089Z] ==> Uploading reports [2023-05-16T05:14:34.089Z] url: https://codecov.io [2023-05-16T05:14:34.089Z] query: branch=PR-1458&commit=3ebbb05d354b9cd2b4a54aa868562ed756c2fb74&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1458%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1458&job=&cmd_args= [2023-05-16T05:14:34.089Z] -> Pinging Codecov [2023-05-16T05:14:34.089Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1458&commit=3ebbb05d354b9cd2b4a54aa868562ed756c2fb74&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1458%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1458&job=&cmd_args= [2023-05-16T05:14:34.089Z] -> Uploading to [2023-05-16T05:14:34.089Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-16/7E55EF52A471D76F132DFD9A03CDDE97/3ebbb05d354b9cd2b4a54aa868562ed756c2fb74/536dfee1-bf93-4fa9-9f06-01ae71ae3a33.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T051433Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=714e27ad46efaee579d189e065a5be59235cf8fdf407e2042e62901d40f3ca0d [2023-05-16T05:14:34.089Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T05:14:34.089Z] Dload Upload Total Spent Left Speed [2023-05-16T05:14:34.348Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15152 0 0 100 15152 0 72497 --:--:-- --:--:-- --:--:-- 72497 [2023-05-16T05:14:34.348Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/3ebbb05d354b9cd2b4a54aa868562ed756c2fb74 [Pipeline] } [2023-05-16T05:14:34.382Z] 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-05-16T05:14:36.280Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1458/archives ] [2023-05-16T05:14:36.280Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1458/archives [2023-05-16T05:14:36.280Z] total 16 [2023-05-16T05:14:36.280Z] drwxr-xr-x 3 root root 4096 May 16 05:03 . [2023-05-16T05:14:36.280Z] drwxrwxr-x 12 jenkins jenkins 4096 May 16 05:03 .. [2023-05-16T05:14:36.280Z] drwxr-xr-x 2 root root 4096 May 16 05:03 cost [2023-05-16T05:14:36.280Z] -rw-r--r-- 1 root root 86 May 16 05:03 cost.csv [2023-05-16T05:14:36.280Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1458/archives [2023-05-16T05:14:36.280Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1458/archives [2023-05-16T05:14:36.280Z] total 16 [2023-05-16T05:14:36.280Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 05:03 . [2023-05-16T05:14:36.280Z] drwxrwxr-x 12 jenkins jenkins 4096 May 16 05:03 .. [2023-05-16T05:14:36.280Z] drwxr-xr-x 2 jenkins jenkins 4096 May 16 05:03 cost [2023-05-16T05:14:36.280Z] -rw-r--r-- 1 jenkins jenkins 86 May 16 05:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-16T05:14:36.620Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T05:14:37.510Z] ---> package-listing.sh [2023-05-16T05:14:37.510Z] ++ facter osfamily [2023-05-16T05:14:37.510Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-16T05:14:37.768Z] + OS_FAMILY=debian [2023-05-16T05:14:37.768Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1458 [2023-05-16T05:14:37.768Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-16T05:14:37.768Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-16T05:14:37.768Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-16T05:14:37.768Z] + PACKAGES=/tmp/packages_start.txt [2023-05-16T05:14:37.768Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1458 ']' [2023-05-16T05:14:37.768Z] + PACKAGES=/tmp/packages_end.txt [2023-05-16T05:14:37.768Z] + case "${OS_FAMILY}" in [2023-05-16T05:14:37.768Z] + dpkg -l [2023-05-16T05:14:37.768Z] + grep '^ii' [2023-05-16T05:14:37.768Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-16T05:14:37.768Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-16T05:14:37.768Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-16T05:14:37.768Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1458 ']' [2023-05-16T05:14:37.768Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1458/archives/ [2023-05-16T05:14:37.768Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1458/archives/ [Pipeline] echo [2023-05-16T05:14:37.797Z] 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-1458/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-16T05:14:38.095Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T05:14:38.728Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T05:14:38.729Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T05:14:38.926Z] prd-ubuntu20.04-docker-8c-8g-15499 does not seem to be running inside a container [2023-05-16T05:14:38.951Z] $ 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-1458/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-1458 -v /w/workspace/gexfoundry_device-sdk-go_PR-1458:/w/workspace/gexfoundry_device-sdk-go_PR-1458:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1458@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1458@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-16T05:14:39.150Z] $ docker top e8a2acc958a48a2ba0e7a90e14955d17c1175c4588a9d20e53408528c611293d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T05:14:39.547Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-16T05:14:39.857Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-16T05:14:40.165Z] + ls /var/log/sa-host [2023-05-16T05:14:40.165Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T05:14:40.301Z] provisioning config files... [2023-05-16T05:14:40.311Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1458@tmp/config8015156168146865268tmp [Pipeline] { [Pipeline] echo [2023-05-16T05:14:40.358Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T05:14:40.675Z] ---> create-netrc.sh [Pipeline] } [2023-05-16T05:14:40.708Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-16T05:14:41.108Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-16T05:14:41.143Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T05:14:41.458Z] ---> sudo-logs.sh [2023-05-16T05:14:41.458Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-16T05:14:41.545Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T05:14:41.863Z] ---> job-cost.sh [2023-05-16T05:14:41.863Z] lf-activate-venv: SKIPPING [2023-05-16T05:14:41.863Z] DEBUG: total: 0.2199999988079071 [2023-05-16T05:14:41.863Z] INFO: Retrieving Stack Cost... [2023-05-16T05:14:42.432Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T05:14:42.695Z] INFO: Archiving Costs [Pipeline] echo [2023-05-16T05:14:42.729Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T05:14:43.059Z] ---> logs-deploy.sh [2023-05-16T05:14:43.059Z] lf-activate-venv: SKIPPING [2023-05-16T05:14:43.059Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1458/1 [2023-05-16T05:14:43.059Z] INFO: archiving workspace using pattern(s): [2023-05-16T05:14:44.010Z] Archives upload complete. [2023-05-16T05:14:44.010Z] INFO: archiving logs to Nexus