Pull request #1345 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 1066856259239db1f5b18b8cd1860e9b4d9d0dff+b4dcd90c517d60267da088e4e26fcccd6a523ed6 (644c5eb407337f9096c3beff265e856025fef7ea) 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-ssh9293599940908958276.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh17518185916209257030.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1345/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1345/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1657549254004351444.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 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-ssh6718110225976604424.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1345/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1345/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1304619459289871152.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.18 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-8051 in /w/workspace/gexfoundry_device-sdk-go_PR-1345 [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-1345 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1345/head:refs/remotes/origin/PR-1345 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit 1066856259239db1f5b18b8cd1860e9b4d9d0dff Merge succeeded, producing 1066856259239db1f5b18b8cd1860e9b4d9d0dff Checking out Revision 1066856259239db1f5b18b8cd1860e9b4d9d0dff (PR-1345) > git config core.sparsecheckout # timeout=10 > git checkout -f 1066856259239db1f5b18b8cd1860e9b4d9d0dff # 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 b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1066856259239db1f5b18b8cd1860e9b4d9d0dff # timeout=10 Commit message: "refactor!: address PR requested changes" First time build. Skipping changelog. > git rev-list --no-walk 915ebad1e9b02ad812ee33781662f71824c92794 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-02T03:59:20.607Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-02T03:59:20.669Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-02T03:59:20.688Z] ========================================================= [2023-03-02T03:59:20.688Z] EdgeX Global Pipelines Version Info [2023-03-02T03:59:20.688Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-02T03:59:21.794Z] ------------------- [2023-03-02T03:59:21.794Z] stable info: [2023-03-02T03:59:21.794Z] ------------------- [2023-03-02T03:59:21.794Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-02T03:59:21.794Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-02T03:59:21.794Z] Message: update stable to v1.0.244 [2023-03-02T03:59:22.055Z] ------------------- [2023-03-02T03:59:22.055Z] experimental info: [2023-03-02T03:59:22.055Z] ------------------- [2023-03-02T03:59:22.055Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-02T03:59:22.055Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-02T03:59:22.055Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-02T03:59:22.217Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-02T03:59:22.232Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-02T03:59:22.242Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-02T03:59:22.254Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-02T03:59:22.265Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-02T03:59:22.278Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-02T03:59:22.292Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-02T03:59:22.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-02T03:59:22.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-02T03:59:22.332Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-02T03:59:22.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-02T03:59:22.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-02T03:59:22.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-02T03:59:22.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-02T03:59:22.391Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-02T03:59:22.403Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-02T03:59:22.413Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-02T03:59:22.424Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-02T03:59:22.436Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-02T03:59:22.450Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-02T03:59:22.461Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-02T03:59:22.473Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-02T03:59:22.484Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-02T03:59:22.498Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-02T03:59:22.507Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-02T03:59:22.520Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-02T03:59:22.532Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-02T03:59:22.543Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1345 [Pipeline] echo [2023-03-02T03:59:22.555Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1345 [Pipeline] echo [2023-03-02T03:59:22.569Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1345 [Pipeline] echo [2023-03-02T03:59:22.584Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1066856259239db1f5b18b8cd1860e9b4d9d0dff [Pipeline] echo [2023-03-02T03:59:22.598Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1066856 [Pipeline] echo [2023-03-02T03:59:22.610Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T03:59:22.656Z] provisioning config files... [2023-03-02T03:59:22.673Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config15863736508180235515tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T03:59:22.977Z] ---> docker-login.sh [2023-03-02T03:59:22.977Z] nexus3.edgexfoundry.org:10001 [2023-03-02T03:59:23.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T03:59:23.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T03:59:23.237Z] Configure a credential helper to remove this warning. See [2023-03-02T03:59:23.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T03:59:23.237Z] [2023-03-02T03:59:23.237Z] Login Succeeded [2023-03-02T03:59:23.237Z] nexus3.edgexfoundry.org:10002 [2023-03-02T03:59:23.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T03:59:23.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T03:59:23.497Z] Configure a credential helper to remove this warning. See [2023-03-02T03:59:23.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T03:59:23.498Z] [2023-03-02T03:59:23.498Z] Login Succeeded [2023-03-02T03:59:23.498Z] nexus3.edgexfoundry.org:10003 [2023-03-02T03:59:23.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T03:59:23.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T03:59:23.498Z] Configure a credential helper to remove this warning. See [2023-03-02T03:59:23.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T03:59:23.498Z] [2023-03-02T03:59:23.498Z] Login Succeeded [2023-03-02T03:59:23.498Z] nexus3.edgexfoundry.org:10004 [2023-03-02T03:59:23.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T03:59:23.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T03:59:23.758Z] Configure a credential helper to remove this warning. See [2023-03-02T03:59:23.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T03:59:23.758Z] [2023-03-02T03:59:23.758Z] Login Succeeded [2023-03-02T03:59:23.758Z] docker.io [2023-03-02T03:59:23.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T03:59:24.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T03:59:24.018Z] Configure a credential helper to remove this warning. See [2023-03-02T03:59:24.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T03:59:24.018Z] [2023-03-02T03:59:24.018Z] Login Succeeded [2023-03-02T03:59:24.018Z] ---> docker-login.sh ends [Pipeline] } [2023-03-02T03:59:24.025Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-02T03:59:24.406Z] + git rev-list -1 --merges 1066856259239db1f5b18b8cd1860e9b4d9d0dff~1..1066856259239db1f5b18b8cd1860e9b4d9d0dff [Pipeline] echo [2023-03-02T03:59:24.457Z] -----------> git rev-list -1 --merges 1066856259239db1f5b18b8cd1860e9b4d9d0dff~1..1066856259239db1f5b18b8cd1860e9b4d9d0dff 1066856259239db1f5b18b8cd1860e9b4d9d0dff [false] [Pipeline] sh [2023-03-02T03:59:24.746Z] + git log --format=format:%s -1 1066856259239db1f5b18b8cd1860e9b4d9d0dff [Pipeline] echo [2023-03-02T03:59:24.762Z] ========================================================= [2023-03-02T03:59:24.762Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-02T03:59:24.762Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-02T03:59:25.101Z] + git log --format=format:%s -1 1066856259239db1f5b18b8cd1860e9b4d9d0dff [Pipeline] echo [2023-03-02T03:59:25.113Z] [semverPrep] GIT_COMMIT: 1066856259239db1f5b18b8cd1860e9b4d9d0dff, Commit Message: refactor!: address PR requested changes [Pipeline] echo [2023-03-02T03:59:25.124Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-02T03:59:25.496Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-02T03:59:25.496Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-02T03:59:25.496Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-02T03:59:25.496Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-02T03:59:25.496Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2023-03-02T03:59:25.496Z] tee -a /etc/ssh/ssh_known_hosts [2023-03-02T03:59:25.496Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T03:59:25.908Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T03:59:25.908Z] [2023-03-02T03:59:25.908Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T03:59:26.213Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T03:59:26.213Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-02T03:59:26.213Z] b85a868b505f: Pulling fs layer [2023-03-02T03:59:26.213Z] e2be974225ed: Pulling fs layer [2023-03-02T03:59:26.213Z] 339a4e72a1f5: Pulling fs layer [2023-03-02T03:59:26.213Z] 988bab9f4d93: Pulling fs layer [2023-03-02T03:59:26.213Z] 1469e6f7b9e6: Pulling fs layer [2023-03-02T03:59:26.213Z] eaf3925da568: Pulling fs layer [2023-03-02T03:59:26.213Z] 988bab9f4d93: Waiting [2023-03-02T03:59:26.213Z] 1469e6f7b9e6: Waiting [2023-03-02T03:59:26.213Z] bab4dde63d76: Pulling fs layer [2023-03-02T03:59:26.213Z] bde34c3a00c8: Pulling fs layer [2023-03-02T03:59:26.213Z] b352a97aabf1: Pulling fs layer [2023-03-02T03:59:26.213Z] 4872d77fe225: Pulling fs layer [2023-03-02T03:59:26.213Z] eaf3925da568: Waiting [2023-03-02T03:59:26.213Z] bab4dde63d76: Waiting [2023-03-02T03:59:26.213Z] b352a97aabf1: Waiting [2023-03-02T03:59:26.213Z] bde34c3a00c8: Waiting [2023-03-02T03:59:26.213Z] 5851b861e8e6: Pulling fs layer [2023-03-02T03:59:26.213Z] 5851b861e8e6: Waiting [2023-03-02T03:59:26.213Z] 4872d77fe225: Waiting [2023-03-02T03:59:26.213Z] e2be974225ed: Download complete [2023-03-02T03:59:26.213Z] 988bab9f4d93: Verifying Checksum [2023-03-02T03:59:26.213Z] 988bab9f4d93: Download complete [2023-03-02T03:59:26.474Z] 1469e6f7b9e6: Verifying Checksum [2023-03-02T03:59:26.475Z] 1469e6f7b9e6: Download complete [2023-03-02T03:59:26.475Z] 339a4e72a1f5: Verifying Checksum [2023-03-02T03:59:26.475Z] 339a4e72a1f5: Download complete [2023-03-02T03:59:26.475Z] eaf3925da568: Verifying Checksum [2023-03-02T03:59:26.475Z] eaf3925da568: Download complete [2023-03-02T03:59:26.475Z] bde34c3a00c8: Verifying Checksum [2023-03-02T03:59:26.475Z] bde34c3a00c8: Download complete [2023-03-02T03:59:26.475Z] b352a97aabf1: Verifying Checksum [2023-03-02T03:59:26.475Z] b352a97aabf1: Download complete [2023-03-02T03:59:26.475Z] 4872d77fe225: Download complete [2023-03-02T03:59:26.475Z] 5851b861e8e6: Verifying Checksum [2023-03-02T03:59:26.475Z] 5851b861e8e6: Download complete [2023-03-02T03:59:26.475Z] b85a868b505f: Verifying Checksum [2023-03-02T03:59:26.475Z] b85a868b505f: Download complete [2023-03-02T03:59:26.734Z] bab4dde63d76: Verifying Checksum [2023-03-02T03:59:26.734Z] bab4dde63d76: Download complete [2023-03-02T03:59:28.125Z] b85a868b505f: Pull complete [2023-03-02T03:59:28.125Z] e2be974225ed: Pull complete [2023-03-02T03:59:28.692Z] 339a4e72a1f5: Pull complete [2023-03-02T03:59:28.692Z] 988bab9f4d93: Pull complete [2023-03-02T03:59:28.956Z] 1469e6f7b9e6: Pull complete [2023-03-02T03:59:29.213Z] eaf3925da568: Pull complete [2023-03-02T03:59:31.117Z] bab4dde63d76: Pull complete [2023-03-02T03:59:31.117Z] bde34c3a00c8: Pull complete [2023-03-02T03:59:31.117Z] b352a97aabf1: Pull complete [2023-03-02T03:59:31.117Z] 4872d77fe225: Pull complete [2023-03-02T03:59:31.117Z] 5851b861e8e6: Pull complete [2023-03-02T03:59:31.117Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-02T03:59:31.117Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-02T03:59:31.117Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T03:59:31.201Z] prd-ubuntu20.04-docker-8c-8g-8051 does not seem to be running inside a container [2023-03-02T03:59:31.296Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-02T03:59:34.254Z] $ docker top 71beb71114e0e9067362bd144242b9c6af13532770a13eea49921ddbc987e41e -eo pid,comm [2023-03-02T03:59:34.308Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-02T03:59:34.308Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-02T03:59:34.345Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-02T03:59:34.345Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-02T03:59:34.469Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-02T03:59:34.474Z] $ docker exec 71beb71114e0e9067362bd144242b9c6af13532770a13eea49921ddbc987e41e ssh-agent [2023-03-02T03:59:34.577Z] SSH_AUTH_SOCK=/tmp/ssh-95tUxmu8tdHX/agent.32 [2023-03-02T03:59:34.577Z] SSH_AGENT_PID=38 [2023-03-02T03:59:34.583Z] Running ssh-add (command line suppressed) [2023-03-02T03:59:34.674Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_15822551916216022709.key (/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_15822551916216022709.key) [2023-03-02T03:59:34.684Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-02T03:59:34.972Z] + git tag --points-at HEAD [Pipeline] } [2023-03-02T03:59:34.984Z] $ docker exec --env ******** --env ******** 71beb71114e0e9067362bd144242b9c6af13532770a13eea49921ddbc987e41e ssh-agent -k [2023-03-02T03:59:35.094Z] unset SSH_AUTH_SOCK; [2023-03-02T03:59:35.094Z] unset SSH_AGENT_PID; [2023-03-02T03:59:35.094Z] echo Agent pid 38 killed; [2023-03-02T03:59:35.101Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-02T03:59:35.122Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-02T03:59:35.122Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-02T03:59:35.231Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-02T03:59:35.235Z] $ docker exec 71beb71114e0e9067362bd144242b9c6af13532770a13eea49921ddbc987e41e ssh-agent [2023-03-02T03:59:35.359Z] SSH_AUTH_SOCK=/tmp/ssh-T6tJmEsDDa1b/agent.70 [2023-03-02T03:59:35.359Z] SSH_AGENT_PID=76 [2023-03-02T03:59:35.365Z] Running ssh-add (command line suppressed) [2023-03-02T03:59:35.472Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_8239356438130356294.key (/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/private_key_8239356438130356294.key) [2023-03-02T03:59:35.487Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-02T03:59:35.774Z] + git semver init [2023-03-02T03:59:36.036Z] 2023-03-02 03:59:35,941 [run_init] DEBUG init version:0.0.0 force:False [2023-03-02T03:59:36.036Z] 2023-03-02 03:59:35,942 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver [2023-03-02T03:59:36.036Z] 2023-03-02 03:59:35,943 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver [2023-03-02T03:59:36.036Z] 2023-03-02 03:59:35,943 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1345, universal_newlines=False, shell=None, istream=None) [2023-03-02T03:59:36.976Z] 2023-03-02 03:59:36,910 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.git/info/exclude [2023-03-02T03:59:36.976Z] 2023-03-02 03:59:36,911 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver/PR-1345 with force:False [2023-03-02T03:59:36.976Z] 2023-03-02 03:59:36,911 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver/PR-1345 [2023-03-02T03:59:36.976Z] 2023-03-02 03:59:36,915 [execute] INFO git cat-file --batch-check [2023-03-02T03:59:36.976Z] 2023-03-02 03:59:36,915 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver, universal_newlines=False, shell=None, istream=) [2023-03-02T03:59:36.976Z] 2023-03-02 03:59:36,922 [execute] INFO git cat-file --batch [2023-03-02T03:59:36.976Z] 2023-03-02 03:59:36,922 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver, universal_newlines=False, shell=None, istream=) [2023-03-02T03:59:36.976Z] 2023-03-02 03:59:36,927 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1345/.semver/PR-1345 [2023-03-02T03:59:36.976Z] 0.0.0 [Pipeline] } [2023-03-02T03:59:36.992Z] $ docker exec --env ******** --env ******** 71beb71114e0e9067362bd144242b9c6af13532770a13eea49921ddbc987e41e ssh-agent -k [2023-03-02T03:59:37.087Z] unset SSH_AUTH_SOCK; [2023-03-02T03:59:37.088Z] unset SSH_AGENT_PID; [2023-03-02T03:59:37.088Z] echo Agent pid 76 killed; [2023-03-02T03:59:37.095Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-02T03:59:37.396Z] + git semver [Pipeline] } [2023-03-02T03:59:37.673Z] $ docker stop --time=1 71beb71114e0e9067362bd144242b9c6af13532770a13eea49921ddbc987e41e [2023-03-02T03:59:38.988Z] $ docker rm -f --volumes 71beb71114e0e9067362bd144242b9c6af13532770a13eea49921ddbc987e41e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-02T03:59:39.320Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-02T03:59:39.511Z] Stashed 1 file(s) [Pipeline] echo [2023-03-02T03:59:39.514Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T03:59:39.631Z] provisioning config files... [2023-03-02T03:59:39.638Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config8903388087902499745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T03:59:39.932Z] ---> docker-login.sh [2023-03-02T03:59:39.932Z] nexus3.edgexfoundry.org:10001 [2023-03-02T03:59:39.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T03:59:39.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T03:59:39.932Z] Configure a credential helper to remove this warning. See [2023-03-02T03:59:39.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T03:59:39.932Z] [2023-03-02T03:59:39.932Z] Login Succeeded [2023-03-02T03:59:39.932Z] nexus3.edgexfoundry.org:10002 [2023-03-02T03:59:39.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T03:59:39.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T03:59:39.932Z] Configure a credential helper to remove this warning. See [2023-03-02T03:59:39.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T03:59:39.932Z] [2023-03-02T03:59:39.932Z] Login Succeeded [2023-03-02T03:59:39.932Z] nexus3.edgexfoundry.org:10003 [2023-03-02T03:59:40.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T03:59:40.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T03:59:40.192Z] Configure a credential helper to remove this warning. See [2023-03-02T03:59:40.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T03:59:40.192Z] [2023-03-02T03:59:40.192Z] Login Succeeded [2023-03-02T03:59:40.192Z] nexus3.edgexfoundry.org:10004 [2023-03-02T03:59:40.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T03:59:40.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T03:59:40.192Z] Configure a credential helper to remove this warning. See [2023-03-02T03:59:40.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T03:59:40.192Z] [2023-03-02T03:59:40.192Z] Login Succeeded [2023-03-02T03:59:40.192Z] docker.io [2023-03-02T03:59:40.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T03:59:40.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T03:59:40.451Z] Configure a credential helper to remove this warning. See [2023-03-02T03:59:40.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T03:59:40.451Z] [2023-03-02T03:59:40.452Z] Login Succeeded [2023-03-02T03:59:40.452Z] ---> docker-login.sh ends [Pipeline] } [2023-03-02T03:59:40.461Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-02T03:59:40.527Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T03:59:40.543Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T03:59:40.551Z] ========================================================= [2023-03-02T03:59:40.551Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-02T03:59:40.551Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T03:59:40.858Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-02T03:59:40.858Z] Sending build context to Docker daemon 10.79MB [2023-03-02T03:59:40.858Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-02T03:59:40.858Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-02T03:59:40.858Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-02T03:59:40.858Z] 213ec9aee27d: Pulling fs layer [2023-03-02T03:59:40.858Z] 4583459ba037: Pulling fs layer [2023-03-02T03:59:40.858Z] 93c1e223e6f2: Pulling fs layer [2023-03-02T03:59:40.858Z] 53926ce57604: Pulling fs layer [2023-03-02T03:59:40.858Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-02T03:59:40.858Z] 22ff95d597cd: Pulling fs layer [2023-03-02T03:59:40.858Z] 12d6caf4c0d1: Pulling fs layer [2023-03-02T03:59:40.858Z] 96b7cbca73a9: Pulling fs layer [2023-03-02T03:59:40.858Z] a7acece74701: Pulling fs layer [2023-03-02T03:59:40.858Z] 53926ce57604: Waiting [2023-03-02T03:59:40.858Z] 21b2b0c7a3f4: Waiting [2023-03-02T03:59:40.858Z] a7acece74701: Waiting [2023-03-02T03:59:40.858Z] 22ff95d597cd: Waiting [2023-03-02T03:59:40.858Z] 96b7cbca73a9: Waiting [2023-03-02T03:59:40.858Z] 93c1e223e6f2: Verifying Checksum [2023-03-02T03:59:40.858Z] 93c1e223e6f2: Download complete [2023-03-02T03:59:40.858Z] 4583459ba037: Download complete [2023-03-02T03:59:41.118Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-02T03:59:41.118Z] 21b2b0c7a3f4: Download complete [2023-03-02T03:59:41.118Z] 22ff95d597cd: Verifying Checksum [2023-03-02T03:59:41.118Z] 22ff95d597cd: Download complete [2023-03-02T03:59:41.118Z] 213ec9aee27d: Verifying Checksum [2023-03-02T03:59:41.118Z] 213ec9aee27d: Download complete [2023-03-02T03:59:41.118Z] 12d6caf4c0d1: Download complete [2023-03-02T03:59:41.118Z] 213ec9aee27d: Pull complete [2023-03-02T03:59:41.385Z] 4583459ba037: Pull complete [2023-03-02T03:59:41.385Z] 93c1e223e6f2: Pull complete [2023-03-02T03:59:41.646Z] a7acece74701: Verifying Checksum [2023-03-02T03:59:41.646Z] a7acece74701: Download complete [2023-03-02T03:59:41.905Z] 96b7cbca73a9: Verifying Checksum [2023-03-02T03:59:41.905Z] 96b7cbca73a9: Download complete [2023-03-02T03:59:41.905Z] 53926ce57604: Verifying Checksum [2023-03-02T03:59:41.905Z] 53926ce57604: Download complete [2023-03-02T03:59:46.086Z] 53926ce57604: Pull complete [2023-03-02T03:59:46.086Z] 21b2b0c7a3f4: Pull complete [2023-03-02T03:59:46.086Z] 22ff95d597cd: Pull complete [2023-03-02T03:59:46.086Z] 12d6caf4c0d1: Pull complete [2023-03-02T03:59:47.461Z] 96b7cbca73a9: Pull complete [2023-03-02T03:59:48.407Z] a7acece74701: Pull complete [2023-03-02T03:59:48.407Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-02T03:59:48.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-02T03:59:48.407Z] ---> db6d94c90886 [2023-03-02T03:59:48.407Z] Step 3/10 : ARG MAKE=make build [2023-03-02T03:59:51.695Z] ---> Running in 854ffff467e2 [2023-03-02T03:59:51.695Z] Removing intermediate container 854ffff467e2 [2023-03-02T03:59:51.695Z] ---> b7b07e437ad3 [2023-03-02T03:59:51.695Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-02T03:59:51.695Z] ---> Running in 3a979b54dd05 [2023-03-02T03:59:51.954Z] Removing intermediate container 3a979b54dd05 [2023-03-02T03:59:51.954Z] ---> 11e222beb4ce [2023-03-02T03:59:51.954Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-02T03:59:51.954Z] ---> Running in 8fe0a4014e00 [2023-03-02T03:59:51.954Z] Removing intermediate container 8fe0a4014e00 [2023-03-02T03:59:51.954Z] ---> 55f2f7942aad [2023-03-02T03:59:51.954Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-02T03:59:51.954Z] ---> Running in a9d28e395927 [2023-03-02T03:59:52.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T03:59:52.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-02T03:59:52.733Z] OK: 211 MiB in 51 packages [2023-03-02T03:59:52.992Z] Removing intermediate container a9d28e395927 [2023-03-02T03:59:52.992Z] ---> a53bb179160e [2023-03-02T03:59:52.992Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-02T03:59:52.992Z] ---> 5309bc0f69c2 [2023-03-02T03:59:52.992Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-02T03:59:52.992Z] ---> Running in d6a37bf18da2 [2023-03-02T03:59:54.596Z] Still waiting to schedule task [2023-03-02T03:59:54.596Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-02T04:00:32.149Z] Removing intermediate container d6a37bf18da2 [2023-03-02T04:00:32.149Z] ---> 7656fa3461d3 [2023-03-02T04:00:32.149Z] Step 9/10 : COPY . . [2023-03-02T04:00:32.149Z] ---> 8a2bc58a7b62 [2023-03-02T04:00:32.149Z] Step 10/10 : RUN ${MAKE} [2023-03-02T04:00:32.149Z] ---> Running in dfba99c5ce18 [2023-03-02T04:00:32.149Z] noop [2023-03-02T04:00:32.149Z] Removing intermediate container dfba99c5ce18 [2023-03-02T04:00:32.149Z] ---> 3dfb20f07885 [2023-03-02T04:00:32.149Z] Successfully built 3dfb20f07885 [2023-03-02T04:00:32.149Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T04:00:32.462Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-02T04:00:32.462Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T04:00:32.529Z] prd-ubuntu20.04-docker-8c-8g-8051 does not seem to be running inside a container [2023-03-02T04:00:32.560Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-02T04:00:32.890Z] $ docker top 94f790b8c938a3c5a5773bc28d5fdf45edb28fe868cf1747e4702bbadfdb6ab3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T04:00:33.228Z] + go version [2023-03-02T04:00:33.228Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-02T04:00:33.241Z] $ docker stop --time=1 94f790b8c938a3c5a5773bc28d5fdf45edb28fe868cf1747e4702bbadfdb6ab3 [2023-03-02T04:00:34.516Z] $ docker rm -f --volumes 94f790b8c938a3c5a5773bc28d5fdf45edb28fe868cf1747e4702bbadfdb6ab3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T04:00:34.947Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-02T04:00:34.947Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T04:00:35.019Z] prd-ubuntu20.04-docker-8c-8g-8051 does not seem to be running inside a container [2023-03-02T04:00:35.054Z] $ 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-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-02T04:00:35.366Z] $ docker top a9d864d7cbd9f7a07351b2acb6ed4db3fcad156cbfd1b2bac0b8ea562881c938 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T04:00:35.703Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1345 [Pipeline] fileExists [Pipeline] sh [2023-03-02T04:00:36.002Z] + make test [2023-03-02T04:00:36.002Z] go test -race -coverprofile=coverage.out ./... [2023-03-02T04:00:41.271Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-02T04:00:56.138Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-02T04:00:56.138Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-02T04:00:56.138Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-02T04:00:56.138Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-02T04:00:56.138Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-02T04:00:56.138Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.067s coverage: 27.6% of statements [2023-03-02T04:00:56.138Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.056s coverage: 78.9% of statements [2023-03-02T04:00:56.138Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.102s coverage: 86.0% of statements [2023-03-02T04:00:56.138Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-02T04:00:56.138Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-02T04:00:56.138Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.125s coverage: 75.0% of statements [2023-03-02T04:00:56.138Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-02T04:00:58.670Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.079s coverage: 15.3% of statements [2023-03-02T04:00:58.670Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-02T04:00:58.670Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.078s coverage: 65.2% of statements [2023-03-02T04:00:58.670Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-02T04:00:58.670Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-02T04:00:58.670Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.754s coverage: 89.2% of statements [2023-03-02T04:00:58.671Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.054s coverage: 4.7% of statements [2023-03-02T04:00:58.671Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-02T04:01:16.742Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-02T04:01:16.742Z] GO111MODULE=on go vet ./... [2023-03-02T04:01:17.312Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-02T04:01:17.312Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-02T04:01:17.571Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-02T04:01:17.582Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-02T04:01:17.595Z] $ docker stop --time=1 a9d864d7cbd9f7a07351b2acb6ed4db3fcad156cbfd1b2bac0b8ea562881c938 [2023-03-02T04:01:20.323Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8052 in /w/workspace/gexfoundry_device-sdk-go_PR-1345 [2023-03-02T04:01:20.361Z] $ docker rm -f --volumes a9d864d7cbd9f7a07351b2acb6ed4db3fcad156cbfd1b2bac0b8ea562881c938 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2023-03-02T04:01:20.597Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-03-02T04:01:20.630Z] The recommended git tool is: git [2023-03-02T04:01:20.843Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-02T04:01:20.933Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-02T04:01:21.442Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-02T04:01:21.723Z] + ls -al . [2023-03-02T04:01:21.723Z] total 280 [2023-03-02T04:01:21.723Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 2 04:00 . [2023-03-02T04:01:21.723Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 03:59 .. [2023-03-02T04:01:21.723Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 2 03:59 .dockerignore [2023-03-02T04:01:21.723Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 2 04:00 .git [2023-03-02T04:01:21.723Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 03:59 .github [2023-03-02T04:01:21.723Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 2 03:59 .gitignore [2023-03-02T04:01:21.723Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 2 03:59 .golangci.yml [2023-03-02T04:01:21.723Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 2 03:59 .semver [2023-03-02T04:01:21.723Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 2 03:59 CHANGELOG.md [2023-03-02T04:01:21.723Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 2 03:59 GOVERNANCE.md [2023-03-02T04:01:21.723Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 2 03:59 Jenkinsfile [2023-03-02T04:01:21.723Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 2 03:59 LICENSE [2023-03-02T04:01:21.723Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 2 03:59 Makefile [2023-03-02T04:01:21.723Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 2 03:59 OWNERS.md [2023-03-02T04:01:21.723Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 2 03:59 README.md [2023-03-02T04:01:21.723Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 2 03:59 VERSION [2023-03-02T04:01:21.723Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 03:59 bin [2023-03-02T04:01:21.723Z] -rw-r--r-- 1 jenkins jenkins 110996 Mar 2 04:00 coverage.out [2023-03-02T04:01:21.723Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 2 03:59 example [2023-03-02T04:01:21.723Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 2 03:59 go.mod [2023-03-02T04:01:21.723Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 2 03:59 go.sum [2023-03-02T04:01:21.723Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 2 03:59 internal [2023-03-02T04:01:21.723Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 2 03:59 openapi [2023-03-02T04:01:21.723Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 2 03:59 pkg [2023-03-02T04:01:21.723Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 03:59 snap [2023-03-02T04:01:21.723Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 2 03:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T04:01:22.027Z] + 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=1066856259239db1f5b18b8cd1860e9b4d9d0dff --label arch=amd64 --label version=0.0.0 . [2023-03-02T04:01:22.027Z] Sending build context to Docker daemon 10.9MB [2023-03-02T04:01:22.027Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-02T04:01:22.027Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-02T04:01:22.027Z] ---> 3dfb20f07885 [2023-03-02T04:01:22.027Z] Step 3/23 : ARG MAKE=make build [2023-03-02T04:01:22.287Z] ---> Running in 184f392b48c4 [2023-03-02T04:01:22.287Z] Removing intermediate container 184f392b48c4 [2023-03-02T04:01:22.287Z] ---> e2c5357a9fdf [2023-03-02T04:01:22.287Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-02T04:01:22.287Z] ---> Running in 29975e9de5c6 [2023-03-02T04:01:22.287Z] Removing intermediate container 29975e9de5c6 [2023-03-02T04:01:22.287Z] ---> 7bb336fb7424 [2023-03-02T04:01:22.287Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-02T04:01:22.545Z] ---> Running in 00d07d7bb03b [2023-03-02T04:01:22.545Z] Removing intermediate container 00d07d7bb03b [2023-03-02T04:01:22.545Z] ---> 6e0cefa7bc76 [2023-03-02T04:01:22.545Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-02T04:01:22.545Z] ---> Running in ed3d230b5e5a [2023-03-02T04:01:22.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T04:01:22.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-02T04:01:23.370Z] OK: 211 MiB in 51 packages [2023-03-02T04:01:23.628Z] Removing intermediate container ed3d230b5e5a [2023-03-02T04:01:23.628Z] ---> af18a87ba36e [2023-03-02T04:01:23.628Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-02T04:01:23.628Z] ---> a8ecdf0d74c9 [2023-03-02T04:01:23.628Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-02T04:01:23.628Z] ---> Running in c756342f874c [2023-03-02T04:01:24.563Z] Removing intermediate container c756342f874c [2023-03-02T04:01:24.563Z] ---> f2acd4ef1008 [2023-03-02T04:01:24.563Z] Step 9/23 : COPY . . [2023-03-02T04:01:25.129Z] ---> 22bdfc4ee230 [2023-03-02T04:01:25.129Z] Step 10/23 : RUN ${MAKE} [2023-03-02T04:01:25.129Z] ---> Running in c4da02581ffe [2023-03-02T04:01:25.304Z] using credential edgex-jenkins-ssh [2023-03-02T04:01:25.319Z] Cloning the remote Git repository [2023-03-02T04:01:25.387Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-02T04:01:25.357Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-02T04:01:25.427Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-03-02T04:01:25.557Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-02T04:01:25.558Z] > git --version # timeout=10 [2023-03-02T04:01:25.581Z] > git --version # 'git version 2.25.1' [2023-03-02T04:01:25.582Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T04:01:25.637Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-02T04:01:27.253Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-02T04:01:27.274Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-02T04:01:28.844Z] Merging remotes/origin/main commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit 1066856259239db1f5b18b8cd1860e9b4d9d0dff [2023-03-02T04:01:29.046Z] Merge succeeded, producing 1066856259239db1f5b18b8cd1860e9b4d9d0dff [2023-03-02T04:01:29.046Z] Checking out Revision 1066856259239db1f5b18b8cd1860e9b4d9d0dff (PR-1345) [2023-03-02T04:01:28.048Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-02T04:01:28.090Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-02T04:01:28.091Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T04:01:28.105Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1345/head:refs/remotes/origin/PR-1345 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-02T04:01:28.853Z] > git config core.sparsecheckout # timeout=10 [2023-03-02T04:01:28.877Z] > git checkout -f 1066856259239db1f5b18b8cd1860e9b4d9d0dff # timeout=10 [2023-03-02T04:01:28.970Z] > git remote # timeout=10 [2023-03-02T04:01:28.985Z] > git config --get remote.origin.url # timeout=10 [2023-03-02T04:01:28.996Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-02T04:01:29.007Z] > git merge b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 [2023-03-02T04:01:29.027Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-02T04:01:29.046Z] > git config core.sparsecheckout # timeout=10 [2023-03-02T04:01:29.056Z] > git checkout -f 1066856259239db1f5b18b8cd1860e9b4d9d0dff # timeout=10 [2023-03-02T04:01:32.517Z] Commit message: "refactor!: address PR requested changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-02T04:01:33.380Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-02T04:01:33.380Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-02T04:01:33.380Z] Dload Upload Total Spent Left Speed [2023-03-02T04:01:33.381Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh [2023-03-02T04:01:34.050Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-02T04:01:34.372Z] + sudo tee /etc/docker/daemon.new [2023-03-02T04:01:34.372Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-02T04:01:34.372Z] { [2023-03-02T04:01:34.372Z] "registry-mirrors": [ [2023-03-02T04:01:34.372Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-02T04:01:34.372Z] ], [2023-03-02T04:01:34.372Z] "bip": "10.250.0.254/24", [2023-03-02T04:01:34.372Z] "hosts": [ [2023-03-02T04:01:34.372Z] "tcp://0.0.0.0:5555", [2023-03-02T04:01:34.372Z] "unix:///var/run/docker.sock" [2023-03-02T04:01:34.372Z] ], [2023-03-02T04:01:34.372Z] "mtu": 1458, [2023-03-02T04:01:34.372Z] "selinux-enabled": true, [2023-03-02T04:01:34.372Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-02T04:01:34.372Z] } [Pipeline] sh [2023-03-02T04:01:34.693Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-02T04:01:35.021Z] + sudo service docker restart [2023-03-02T04:01:43.491Z] Removing intermediate container c4da02581ffe [2023-03-02T04:01:43.491Z] ---> 8e4efeaf2803 [2023-03-02T04:01:43.492Z] Step 11/23 : FROM alpine:3.16 [2023-03-02T04:01:44.060Z] 3.16: Pulling from library/alpine [2023-03-02T04:01:44.060Z] ef5531b6e74e: Pulling fs layer [2023-03-02T04:01:44.060Z] ef5531b6e74e: Verifying Checksum [2023-03-02T04:01:44.060Z] ef5531b6e74e: Download complete [2023-03-02T04:01:44.319Z] ef5531b6e74e: Pull complete [2023-03-02T04:01:44.319Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-02T04:01:44.319Z] Status: Downloaded newer image for alpine:3.16 [2023-03-02T04:01:44.319Z] ---> dfd21b5a31f5 [2023-03-02T04:01:44.319Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-02T04:01:44.319Z] ---> Running in 8c905cddfd53 [2023-03-02T04:01:44.319Z] Removing intermediate container 8c905cddfd53 [2023-03-02T04:01:44.319Z] ---> 9f8a37e02269 [2023-03-02T04:01:44.319Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-02T04:01:44.319Z] ---> Running in 9c41077ddfd6 [2023-03-02T04:01:44.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-02T04:01:44.837Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-02T04:01:44.837Z] OK: 6 MiB in 14 packages [2023-03-02T04:01:45.097Z] Removing intermediate container 9c41077ddfd6 [2023-03-02T04:01:45.097Z] ---> 67ce8e617697 [2023-03-02T04:01:45.097Z] Step 14/23 : WORKDIR / [2023-03-02T04:01:45.097Z] ---> Running in ec1b75afd156 [2023-03-02T04:01:45.357Z] Removing intermediate container ec1b75afd156 [2023-03-02T04:01:45.357Z] ---> 66dd8667195e [2023-03-02T04:01:45.357Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-02T04:01:45.357Z] ---> ef2e413e3d27 [2023-03-02T04:01:45.357Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-02T04:01:46.351Z] ---> c2a54b0b47aa [2023-03-02T04:01:46.351Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-02T04:01:46.351Z] ---> 18ed16248ab2 [2023-03-02T04:01:46.351Z] Step 18/23 : EXPOSE 59999 [2023-03-02T04:01:46.351Z] ---> Running in f95222c8ac99 [2023-03-02T04:01:46.351Z] Removing intermediate container f95222c8ac99 [2023-03-02T04:01:46.351Z] ---> c9113cc72cc9 [2023-03-02T04:01:46.351Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-02T04:01:46.351Z] ---> Running in 109c5a6c8547 [2023-03-02T04:01:46.351Z] Removing intermediate container 109c5a6c8547 [2023-03-02T04:01:46.351Z] ---> 2eb0fb00df77 [2023-03-02T04:01:46.351Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-02T04:01:46.351Z] ---> Running in a514a98b5f42 [2023-03-02T04:01:46.609Z] Removing intermediate container a514a98b5f42 [2023-03-02T04:01:46.609Z] ---> 6c94d6f27ea0 [2023-03-02T04:01:46.609Z] Step 21/23 : LABEL arch=amd64 [2023-03-02T04:01:46.609Z] ---> Running in 7d0fdd7090ec [2023-03-02T04:01:46.609Z] Removing intermediate container 7d0fdd7090ec [2023-03-02T04:01:46.609Z] ---> 66c5b60691b2 [2023-03-02T04:01:46.609Z] Step 22/23 : LABEL git_sha=1066856259239db1f5b18b8cd1860e9b4d9d0dff [2023-03-02T04:01:46.609Z] ---> Running in 257b0483e674 [2023-03-02T04:01:46.609Z] Removing intermediate container 257b0483e674 [2023-03-02T04:01:46.609Z] ---> 4d9ee07cf407 [2023-03-02T04:01:46.609Z] Step 23/23 : LABEL version=0.0.0 [2023-03-02T04:01:46.609Z] ---> Running in 7bbaee5313f8 [2023-03-02T04:01:46.869Z] Removing intermediate container 7bbaee5313f8 [2023-03-02T04:01:46.869Z] ---> b3094a673a25 [2023-03-02T04:01:46.869Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-02T04:01:46.869Z] Successfully built b3094a673a25 [2023-03-02T04:01:46.869Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T04:01:47.299Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T04:01:47.300Z] [2023-03-02T04:01:47.300Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T04:01:47.603Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T04:01:47.603Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-02T04:01:47.603Z] 5eb5b503b376: Pulling fs layer [2023-03-02T04:01:47.603Z] 5c69ac0246d0: Pulling fs layer [2023-03-02T04:01:47.603Z] ec43610c2a17: Pulling fs layer [2023-03-02T04:01:47.603Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-02T04:01:47.603Z] 33b1e0a273af: Pulling fs layer [2023-03-02T04:01:47.603Z] 5d3b04190fa2: Pulling fs layer [2023-03-02T04:01:47.603Z] 2f39f015ded8: Pulling fs layer [2023-03-02T04:01:47.603Z] 33b1e0a273af: Waiting [2023-03-02T04:01:47.603Z] 5d3b04190fa2: Waiting [2023-03-02T04:01:47.603Z] 2f39f015ded8: Waiting [2023-03-02T04:01:47.603Z] 3a2ae6a8a46f: Waiting [2023-03-02T04:01:47.603Z] 5c69ac0246d0: Download complete [2023-03-02T04:01:47.603Z] 3a2ae6a8a46f: Download complete [2023-03-02T04:01:47.862Z] 33b1e0a273af: Verifying Checksum [2023-03-02T04:01:47.862Z] 33b1e0a273af: Download complete [2023-03-02T04:01:47.862Z] 5d3b04190fa2: Download complete [2023-03-02T04:01:47.862Z] ec43610c2a17: Verifying Checksum [2023-03-02T04:01:47.862Z] ec43610c2a17: Download complete [2023-03-02T04:01:47.862Z] 5eb5b503b376: Verifying Checksum [2023-03-02T04:01:47.862Z] 5eb5b503b376: Download complete [2023-03-02T04:01:48.429Z] 2f39f015ded8: Download complete [2023-03-02T04:01:48.994Z] 5eb5b503b376: Pull complete [2023-03-02T04:01:48.994Z] 5c69ac0246d0: Pull complete [2023-03-02T04:01:49.560Z] ec43610c2a17: Pull complete [2023-03-02T04:01:49.560Z] 3a2ae6a8a46f: Pull complete [2023-03-02T04:01:49.560Z] 33b1e0a273af: Pull complete [2023-03-02T04:01:49.819Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T04:01:53.268Z] provisioning config files... [2023-03-02T04:01:53.292Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config15247848284492683337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T04:01:53.637Z] ---> docker-login.sh [2023-03-02T04:01:53.638Z] nexus3.edgexfoundry.org:10001 [2023-03-02T04:01:53.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T04:01:54.045Z] 2f39f015ded8: Pull complete [2023-03-02T04:01:54.045Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-02T04:01:54.045Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T04:01:54.045Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T04:01:54.132Z] prd-ubuntu20.04-docker-8c-8g-8051 does not seem to be running inside a container [2023-03-02T04:01:54.164Z] $ 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-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-02T04:01:54.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T04:01:54.177Z] Configure a credential helper to remove this warning. See [2023-03-02T04:01:54.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T04:01:54.177Z] [2023-03-02T04:01:54.177Z] Login Succeeded [2023-03-02T04:01:54.177Z] nexus3.edgexfoundry.org:10002 [2023-03-02T04:01:54.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T04:01:54.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T04:01:54.449Z] Configure a credential helper to remove this warning. See [2023-03-02T04:01:54.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T04:01:54.449Z] [2023-03-02T04:01:54.449Z] Login Succeeded [2023-03-02T04:01:54.449Z] nexus3.edgexfoundry.org:10003 [2023-03-02T04:01:54.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T04:01:54.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T04:01:54.990Z] Configure a credential helper to remove this warning. See [2023-03-02T04:01:54.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T04:01:54.990Z] [2023-03-02T04:01:54.990Z] Login Succeeded [2023-03-02T04:01:54.990Z] nexus3.edgexfoundry.org:10004 [2023-03-02T04:01:55.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T04:01:55.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T04:01:55.260Z] Configure a credential helper to remove this warning. See [2023-03-02T04:01:55.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T04:01:55.260Z] [2023-03-02T04:01:55.260Z] Login Succeeded [2023-03-02T04:01:55.260Z] docker.io [2023-03-02T04:01:55.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-02T04:01:55.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-02T04:01:55.797Z] Configure a credential helper to remove this warning. See [2023-03-02T04:01:55.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-02T04:01:55.797Z] [2023-03-02T04:01:55.797Z] Login Succeeded [2023-03-02T04:01:55.797Z] ---> docker-login.sh ends [2023-03-02T04:01:58.060Z] $ docker top a230f04d7b733cee12ec84598d1f0c4b02127b35ce6b114a3537177d1b9a3fc0 -eo pid,comm [Pipeline] { [Pipeline] } [2023-03-02T04:01:58.119Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-02T04:01:58.443Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [2023-03-02T04:01:58.459Z] ---> job-cost.sh [2023-03-02T04:01:58.459Z] lf-activate-venv: SKIPPING [2023-03-02T04:01:58.459Z] INFO: No Stack... [Pipeline] echo [2023-03-02T04:01:58.461Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-02T04:01:58.471Z] ========================================================= [2023-03-02T04:01:58.471Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-02T04:01:58.471Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T04:01:58.717Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-02T04:01:58.831Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-02T04:01:58.975Z] INFO: Archiving Costs [Pipeline] sh [2023-03-02T04:01:59.424Z] Sending build context to Docker daemon 5.882MB [2023-03-02T04:01:59.424Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-02T04:01:59.424Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-02T04:01:59.424Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-02T04:01:59.424Z] 9b18e9b68314: Pulling fs layer [2023-03-02T04:01:59.424Z] 35d82f9e3411: Pulling fs layer [2023-03-02T04:01:59.424Z] e16973657156: Pulling fs layer [2023-03-02T04:01:59.424Z] fc693d55d65f: Pulling fs layer [2023-03-02T04:01:59.424Z] 7e9fc2657dce: Pulling fs layer [2023-03-02T04:01:59.424Z] dda99020689f: Pulling fs layer [2023-03-02T04:01:59.424Z] db1c61fa0a46: Pulling fs layer [2023-03-02T04:01:59.424Z] 891c053d2c06: Pulling fs layer [2023-03-02T04:01:59.424Z] fc693d55d65f: Waiting [2023-03-02T04:01:59.424Z] 7e9fc2657dce: Waiting [2023-03-02T04:01:59.424Z] dda99020689f: Waiting [2023-03-02T04:01:59.424Z] db1c61fa0a46: Waiting [2023-03-02T04:01:59.424Z] 891c053d2c06: Waiting [2023-03-02T04:01:59.520Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives/cost.csv [2023-03-02T04:01:59.520Z] + cut -d, -f6 [Pipeline] lock [2023-03-02T04:01:59.537Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1345-3-stack-cost] [2023-03-02T04:01:59.543Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-3-stack-cost] did not exist. Created. [2023-03-02T04:01:59.543Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1345-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-02T04:01:59.694Z] e16973657156: Verifying Checksum [2023-03-02T04:01:59.694Z] e16973657156: Download complete [2023-03-02T04:01:59.694Z] 35d82f9e3411: Download complete [2023-03-02T04:01:59.694Z] 7e9fc2657dce: Verifying Checksum [2023-03-02T04:01:59.694Z] 7e9fc2657dce: Download complete [2023-03-02T04:01:59.694Z] dda99020689f: Verifying Checksum [2023-03-02T04:01:59.694Z] dda99020689f: Download complete [2023-03-02T04:01:59.694Z] 9b18e9b68314: Verifying Checksum [2023-03-02T04:01:59.694Z] 9b18e9b68314: Download complete [2023-03-02T04:01:59.847Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-02T04:01:59.881Z] Stashed 1 file(s) [Pipeline] } [2023-03-02T04:01:59.887Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-02T04:01:59.909Z] $ docker stop --time=1 a230f04d7b733cee12ec84598d1f0c4b02127b35ce6b114a3537177d1b9a3fc0 [2023-03-02T04:02:00.670Z] 891c053d2c06: Verifying Checksum [2023-03-02T04:02:00.670Z] 891c053d2c06: Download complete [2023-03-02T04:02:00.671Z] 9b18e9b68314: Pull complete [2023-03-02T04:02:01.067Z] $ docker rm -f --volumes a230f04d7b733cee12ec84598d1f0c4b02127b35ce6b114a3537177d1b9a3fc0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-02T04:02:01.266Z] 35d82f9e3411: Pull complete [2023-03-02T04:02:01.540Z] e16973657156: Pull complete [2023-03-02T04:02:02.132Z] db1c61fa0a46: Verifying Checksum [2023-03-02T04:02:02.132Z] db1c61fa0a46: Download complete [2023-03-02T04:02:02.403Z] fc693d55d65f: Verifying Checksum [2023-03-02T04:02:02.403Z] fc693d55d65f: Download complete [2023-03-02T04:02:14.740Z] fc693d55d65f: Pull complete [2023-03-02T04:02:14.740Z] 7e9fc2657dce: Pull complete [2023-03-02T04:02:14.740Z] dda99020689f: Pull complete [2023-03-02T04:02:21.427Z] db1c61fa0a46: Pull complete [2023-03-02T04:02:22.843Z] 891c053d2c06: Pull complete [2023-03-02T04:02:22.843Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-02T04:02:22.843Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-02T04:02:22.843Z] ---> f96f9c87975a [2023-03-02T04:02:22.843Z] Step 3/10 : ARG MAKE=make build [2023-03-02T04:02:24.915Z] ---> Running in 2f10931365cb [2023-03-02T04:02:24.915Z] Removing intermediate container 2f10931365cb [2023-03-02T04:02:24.915Z] ---> c10e8db345b1 [2023-03-02T04:02:24.915Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-02T04:02:25.183Z] ---> Running in 9f48a7f76cc7 [2023-03-02T04:02:25.453Z] Removing intermediate container 9f48a7f76cc7 [2023-03-02T04:02:25.453Z] ---> 486979112e38 [2023-03-02T04:02:25.453Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-02T04:02:25.453Z] ---> Running in c0be7c75795f [2023-03-02T04:02:25.721Z] Removing intermediate container c0be7c75795f [2023-03-02T04:02:25.721Z] ---> 0dab01c47b0a [2023-03-02T04:02:25.721Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-02T04:02:25.721Z] ---> Running in 3f0866337203 [2023-03-02T04:02:27.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T04:02:27.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-02T04:02:28.092Z] OK: 221 MiB in 51 packages [2023-03-02T04:02:29.055Z] Removing intermediate container 3f0866337203 [2023-03-02T04:02:29.055Z] ---> 59fac34c854e [2023-03-02T04:02:29.055Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-02T04:02:29.323Z] ---> 8792e13dda2a [2023-03-02T04:02:29.323Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-02T04:02:29.592Z] ---> Running in e80774a11e7f [2023-03-02T04:03:37.483Z] Removing intermediate container e80774a11e7f [2023-03-02T04:03:37.483Z] ---> c93dc731bf9f [2023-03-02T04:03:37.483Z] Step 9/10 : COPY . . [2023-03-02T04:03:37.483Z] ---> 55c9d7d4006d [2023-03-02T04:03:37.483Z] Step 10/10 : RUN ${MAKE} [2023-03-02T04:03:37.483Z] ---> Running in 648c7a4b758f [2023-03-02T04:03:37.483Z] noop [2023-03-02T04:03:37.483Z] Removing intermediate container 648c7a4b758f [2023-03-02T04:03:37.483Z] ---> 4c6398534bdb [2023-03-02T04:03:37.483Z] Successfully built 4c6398534bdb [2023-03-02T04:03:37.483Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T04:03:37.838Z] + docker inspect -f . ci-base-image-arm64 [2023-03-02T04:03:37.838Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T04:03:38.027Z] prd-ubuntu20.04-docker-arm64-4c-16g-8052 does not seem to be running inside a container [2023-03-02T04:03:38.091Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-02T04:03:39.219Z] $ docker top c476a79b959a860b140d14b85c3779c5cc394c63f46240aff5f84202091c6d74 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T04:03:40.049Z] + go version [2023-03-02T04:03:40.049Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-02T04:03:40.069Z] $ docker stop --time=1 c476a79b959a860b140d14b85c3779c5cc394c63f46240aff5f84202091c6d74 [2023-03-02T04:03:42.745Z] $ docker rm -f --volumes c476a79b959a860b140d14b85c3779c5cc394c63f46240aff5f84202091c6d74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T04:03:43.301Z] + docker inspect -f . ci-base-image-arm64 [2023-03-02T04:03:43.301Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T04:03:43.482Z] prd-ubuntu20.04-docker-arm64-4c-16g-8052 does not seem to be running inside a container [2023-03-02T04:03:43.550Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-02T04:03:44.696Z] $ docker top 160df88346d70b8c3bc23aa733a22f96689072f83f668e6e2edac6b8f3799f28 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T04:03:45.197Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-03-02T04:03:45.525Z] + make test [2023-03-02T04:03:45.525Z] go test -race -coverprofile=coverage.out ./... [2023-03-02T04:04:17.742Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-02T04:06:09.397Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-02T04:06:09.397Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-02T04:06:09.397Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-02T04:06:09.397Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-02T04:06:09.397Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-02T04:06:09.397Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.362s coverage: 27.6% of statements [2023-03-02T04:06:09.397Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.306s coverage: 78.9% of statements [2023-03-02T04:06:11.976Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.364s coverage: 86.0% of statements [2023-03-02T04:06:11.976Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-02T04:06:11.976Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-02T04:06:14.566Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.487s coverage: 75.0% of statements [2023-03-02T04:06:14.566Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-02T04:06:14.566Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.466s coverage: 15.3% of statements [2023-03-02T04:06:14.566Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-02T04:06:15.534Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.429s coverage: 65.2% of statements [2023-03-02T04:06:15.534Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-02T04:06:15.534Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-02T04:06:18.131Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.347s coverage: 89.2% of statements [2023-03-02T04:06:18.131Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.297s coverage: 4.7% of statements [2023-03-02T04:06:18.131Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-02T04:06:18.721Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-02T04:06:18.721Z] GO111MODULE=on go vet ./... [2023-03-02T04:07:55.356Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-02T04:07:55.356Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-02T04:07:55.356Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-02T04:07:55.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-02T04:07:55.393Z] $ docker stop --time=1 160df88346d70b8c3bc23aa733a22f96689072f83f668e6e2edac6b8f3799f28 [2023-03-02T04:07:57.184Z] $ docker rm -f --volumes 160df88346d70b8c3bc23aa733a22f96689072f83f668e6e2edac6b8f3799f28 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-02T04:07:58.692Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-02T04:07:58.719Z] Warning: overwriting stash ‘coverage-report’ [2023-03-02T04:07:59.504Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-02T04:07:59.889Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-02T04:08:00.223Z] + ls -al . [2023-03-02T04:08:00.224Z] total 276 [2023-03-02T04:08:00.224Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 2 04:03 . [2023-03-02T04:08:00.224Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 04:01 .. [2023-03-02T04:08:00.224Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 2 04:01 .dockerignore [2023-03-02T04:08:00.224Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 2 04:01 .git [2023-03-02T04:08:00.224Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 04:01 .github [2023-03-02T04:08:00.224Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 2 04:01 .gitignore [2023-03-02T04:08:00.224Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 2 04:01 .golangci.yml [2023-03-02T04:08:00.224Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 2 04:01 CHANGELOG.md [2023-03-02T04:08:00.224Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 2 04:01 GOVERNANCE.md [2023-03-02T04:08:00.224Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 2 04:01 Jenkinsfile [2023-03-02T04:08:00.224Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 2 04:01 LICENSE [2023-03-02T04:08:00.224Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 2 04:01 Makefile [2023-03-02T04:08:00.224Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 2 04:01 OWNERS.md [2023-03-02T04:08:00.224Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 2 04:01 README.md [2023-03-02T04:08:00.224Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 2 03:59 VERSION [2023-03-02T04:08:00.224Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 04:01 bin [2023-03-02T04:08:00.224Z] -rw-r--r-- 1 jenkins jenkins 110996 Mar 2 04:06 coverage.out [2023-03-02T04:08:00.224Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 2 04:01 example [2023-03-02T04:08:00.224Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 2 04:01 go.mod [2023-03-02T04:08:00.224Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 2 04:01 go.sum [2023-03-02T04:08:00.224Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 2 04:01 internal [2023-03-02T04:08:00.224Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 2 04:01 openapi [2023-03-02T04:08:00.224Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 2 04:01 pkg [2023-03-02T04:08:00.224Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 04:01 snap [2023-03-02T04:08:00.224Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 2 04:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T04:08:00.595Z] + 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=1066856259239db1f5b18b8cd1860e9b4d9d0dff --label arch=arm64 --label version=0.0.0 . [2023-03-02T04:08:01.196Z] Sending build context to Docker daemon 5.993MB [2023-03-02T04:08:01.196Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-02T04:08:01.196Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-02T04:08:01.196Z] ---> 4c6398534bdb [2023-03-02T04:08:01.196Z] Step 3/23 : ARG MAKE=make build [2023-03-02T04:08:01.792Z] ---> Running in 918335e94551 [2023-03-02T04:08:02.064Z] Removing intermediate container 918335e94551 [2023-03-02T04:08:02.064Z] ---> c548df621df5 [2023-03-02T04:08:02.064Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-02T04:08:02.064Z] ---> Running in e926b7830ae1 [2023-03-02T04:08:02.334Z] Removing intermediate container e926b7830ae1 [2023-03-02T04:08:02.334Z] ---> 107b8694d095 [2023-03-02T04:08:02.334Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-02T04:08:02.334Z] ---> Running in 73b0bb39fef4 [2023-03-02T04:08:02.931Z] Removing intermediate container 73b0bb39fef4 [2023-03-02T04:08:02.931Z] ---> 3ee39aba31e2 [2023-03-02T04:08:02.931Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-02T04:08:02.931Z] ---> Running in a69097247a17 [2023-03-02T04:08:03.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T04:08:04.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-02T04:08:05.141Z] OK: 221 MiB in 51 packages [2023-03-02T04:08:05.727Z] Removing intermediate container a69097247a17 [2023-03-02T04:08:05.727Z] ---> 07e075a815ff [2023-03-02T04:08:05.727Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-02T04:08:06.314Z] ---> 873803ebcea6 [2023-03-02T04:08:06.314Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-02T04:08:06.314Z] ---> Running in 557bcca04336 [2023-03-02T04:08:08.910Z] Removing intermediate container 557bcca04336 [2023-03-02T04:08:08.910Z] ---> a0f8e48a8d3d [2023-03-02T04:08:08.910Z] Step 9/23 : COPY . . [2023-03-02T04:08:10.320Z] ---> 1a5fdee0e5d0 [2023-03-02T04:08:10.320Z] Step 10/23 : RUN ${MAKE} [2023-03-02T04:08:10.320Z] ---> Running in 2b49b2813f1b [2023-03-02T04:08:11.283Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-02T04:10:17.973Z] Removing intermediate container 2b49b2813f1b [2023-03-02T04:10:17.973Z] ---> 121ce0a9a0a9 [2023-03-02T04:10:17.973Z] Step 11/23 : FROM alpine:3.16 [2023-03-02T04:10:17.973Z] 3.16: Pulling from library/alpine [2023-03-02T04:10:17.973Z] 3760b48202b3: Pulling fs layer [2023-03-02T04:10:17.973Z] 3760b48202b3: Verifying Checksum [2023-03-02T04:10:17.973Z] 3760b48202b3: Download complete [2023-03-02T04:10:17.973Z] 3760b48202b3: Pull complete [2023-03-02T04:10:17.973Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-02T04:10:17.973Z] Status: Downloaded newer image for alpine:3.16 [2023-03-02T04:10:17.973Z] ---> 4c81e5bf8899 [2023-03-02T04:10:17.973Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-02T04:10:17.973Z] ---> Running in cb44d8db2c73 [2023-03-02T04:10:17.973Z] Removing intermediate container cb44d8db2c73 [2023-03-02T04:10:17.973Z] ---> c0e66723d000 [2023-03-02T04:10:17.973Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-02T04:10:17.973Z] ---> Running in 3bd3b36113e0 [2023-03-02T04:10:17.973Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-02T04:10:17.973Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-02T04:10:17.973Z] OK: 5 MiB in 14 packages [2023-03-02T04:10:17.973Z] Removing intermediate container 3bd3b36113e0 [2023-03-02T04:10:17.973Z] ---> b027b74a2d4d [2023-03-02T04:10:17.973Z] Step 14/23 : WORKDIR / [2023-03-02T04:10:17.973Z] ---> Running in 5d62526a2cfa [2023-03-02T04:10:17.973Z] Removing intermediate container 5d62526a2cfa [2023-03-02T04:10:17.973Z] ---> 956229bc83fb [2023-03-02T04:10:17.973Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-02T04:10:17.973Z] ---> 0b02022603a5 [2023-03-02T04:10:17.973Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-02T04:10:17.973Z] ---> ab9c3cdff6d6 [2023-03-02T04:10:17.973Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-02T04:10:17.973Z] ---> a6de8fc5bf6e [2023-03-02T04:10:17.973Z] Step 18/23 : EXPOSE 59999 [2023-03-02T04:10:17.973Z] ---> Running in 3f9b70d80d46 [2023-03-02T04:10:17.973Z] Removing intermediate container 3f9b70d80d46 [2023-03-02T04:10:17.973Z] ---> 44ee45145b90 [2023-03-02T04:10:17.973Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-02T04:10:17.973Z] ---> Running in 7f39b97c2573 [2023-03-02T04:10:17.973Z] Removing intermediate container 7f39b97c2573 [2023-03-02T04:10:17.973Z] ---> 7a64af6bf533 [2023-03-02T04:10:17.973Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-02T04:10:17.973Z] ---> Running in 6f44ac2b6360 [2023-03-02T04:10:17.973Z] Removing intermediate container 6f44ac2b6360 [2023-03-02T04:10:17.973Z] ---> b77f5620bb6e [2023-03-02T04:10:17.973Z] Step 21/23 : LABEL arch=arm64 [2023-03-02T04:10:17.973Z] ---> Running in 434aee9ecc98 [2023-03-02T04:10:17.973Z] Removing intermediate container 434aee9ecc98 [2023-03-02T04:10:17.973Z] ---> c3f9935b7a99 [2023-03-02T04:10:17.973Z] Step 22/23 : LABEL git_sha=1066856259239db1f5b18b8cd1860e9b4d9d0dff [2023-03-02T04:10:17.973Z] ---> Running in 3a455d68ef81 [2023-03-02T04:10:17.973Z] Removing intermediate container 3a455d68ef81 [2023-03-02T04:10:17.973Z] ---> b111a0bfa178 [2023-03-02T04:10:17.973Z] Step 23/23 : LABEL version=0.0.0 [2023-03-02T04:10:17.973Z] ---> Running in d7927acc52d2 [2023-03-02T04:10:17.973Z] Removing intermediate container d7927acc52d2 [2023-03-02T04:10:17.973Z] ---> f90b3029c9f1 [2023-03-02T04:10:17.973Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-02T04:10:17.973Z] Successfully built f90b3029c9f1 [2023-03-02T04:10:17.973Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T04:10:18.379Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T04:10:18.379Z] [2023-03-02T04:10:18.379Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T04:10:18.705Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T04:10:18.705Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-02T04:10:18.705Z] 8998bd30e6a1: Pulling fs layer [2023-03-02T04:10:18.705Z] 04944245beec: Pulling fs layer [2023-03-02T04:10:18.705Z] 699f458cf7ca: Pulling fs layer [2023-03-02T04:10:18.705Z] 765212b225bb: Pulling fs layer [2023-03-02T04:10:18.705Z] f23df028b6ca: Pulling fs layer [2023-03-02T04:10:18.705Z] d65c8cfc05b1: Pulling fs layer [2023-03-02T04:10:18.705Z] 2437ff75d9bd: Pulling fs layer [2023-03-02T04:10:18.706Z] 765212b225bb: Waiting [2023-03-02T04:10:18.706Z] d65c8cfc05b1: Waiting [2023-03-02T04:10:18.706Z] f23df028b6ca: Waiting [2023-03-02T04:10:18.706Z] 2437ff75d9bd: Waiting [2023-03-02T04:10:18.972Z] 04944245beec: Verifying Checksum [2023-03-02T04:10:18.972Z] 04944245beec: Download complete [2023-03-02T04:10:18.972Z] 765212b225bb: Verifying Checksum [2023-03-02T04:10:18.972Z] 765212b225bb: Download complete [2023-03-02T04:10:18.972Z] f23df028b6ca: Verifying Checksum [2023-03-02T04:10:18.972Z] f23df028b6ca: Download complete [2023-03-02T04:10:18.972Z] d65c8cfc05b1: Verifying Checksum [2023-03-02T04:10:18.972Z] d65c8cfc05b1: Download complete [2023-03-02T04:10:19.239Z] 699f458cf7ca: Verifying Checksum [2023-03-02T04:10:19.239Z] 699f458cf7ca: Download complete [2023-03-02T04:10:19.507Z] 8998bd30e6a1: Verifying Checksum [2023-03-02T04:10:19.507Z] 8998bd30e6a1: Download complete [2023-03-02T04:10:21.468Z] 2437ff75d9bd: Verifying Checksum [2023-03-02T04:10:21.468Z] 2437ff75d9bd: Download complete [2023-03-02T04:10:23.409Z] 8998bd30e6a1: Pull complete [2023-03-02T04:10:23.674Z] 04944245beec: Pull complete [2023-03-02T04:10:25.077Z] 699f458cf7ca: Pull complete [2023-03-02T04:10:25.343Z] 765212b225bb: Pull complete [2023-03-02T04:10:25.937Z] f23df028b6ca: Pull complete [2023-03-02T04:10:26.203Z] d65c8cfc05b1: Pull complete [2023-03-02T04:10:41.189Z] 2437ff75d9bd: Pull complete [2023-03-02T04:10:41.189Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-02T04:10:41.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-02T04:10:41.189Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T04:10:41.362Z] prd-ubuntu20.04-docker-arm64-4c-16g-8052 does not seem to be running inside a container [2023-03-02T04:10:41.422Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-02T04:10:44.009Z] $ docker top b0b6e1ef357ebb81ab3153c553e73139ab4a9802aa4b0312652c8493cd263b0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-02T04:10:44.826Z] ---> job-cost.sh [2023-03-02T04:10:44.826Z] lf-activate-venv: SKIPPING [2023-03-02T04:10:44.826Z] INFO: No Stack... [2023-03-02T04:10:45.091Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-02T04:10:46.047Z] INFO: Archiving Costs [Pipeline] sh [2023-03-02T04:10:46.366Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2023-03-02T04:10:46.366Z] + cut -d, -f6 [Pipeline] lock [2023-03-02T04:10:46.428Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1345-3-stack-cost] [2023-03-02T04:10:46.437Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-3-stack-cost] did not exist. Created. [2023-03-02T04:10:46.437Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1345-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-02T04:10:46.778Z] /w/workspace/device-sdk-go/3@tmp/durable-5d6f19ef/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-02T04:10:47.432Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-02T04:10:47.455Z] Warning: overwriting stash ‘stack-cost’ [2023-03-02T04:10:47.520Z] Stashed 1 file(s) [Pipeline] } [2023-03-02T04:10:47.528Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1345-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-02T04:10:47.547Z] $ docker stop --time=1 b0b6e1ef357ebb81ab3153c553e73139ab4a9802aa4b0312652c8493cd263b0c [2023-03-02T04:10:49.035Z] $ docker rm -f --volumes b0b6e1ef357ebb81ab3153c553e73139ab4a9802aa4b0312652c8493cd263b0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-02T04:10:49.409Z] provisioning config files... [2023-03-02T04:10:49.414Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config32151768840182637tmp [Pipeline] { [Pipeline] sh [2023-03-02T04:10:49.706Z] + set +x [2023-03-02T04:10:49.706Z] + curl -s https://codecov.io/bash [2023-03-02T04:10:49.706Z] + bash -s -- [2023-03-02T04:10:49.706Z] [2023-03-02T04:10:49.706Z] _____ _ [2023-03-02T04:10:49.706Z] / ____| | | [2023-03-02T04:10:49.706Z] | | ___ __| | ___ ___ _____ __ [2023-03-02T04:10:49.706Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-02T04:10:49.706Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-02T04:10:49.706Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-02T04:10:49.706Z] Bash-1.0.6 [2023-03-02T04:10:49.706Z] [2023-03-02T04:10:49.706Z] [2023-03-02T04:10:49.706Z] ==> git version 2.25.1 found [2023-03-02T04:10:49.706Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-02T04:10:49.706Z] Release-Date: 2020-01-08 [2023-03-02T04:10:49.706Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-02T04:10:49.706Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-02T04:10:49.706Z] ==> Jenkins CI detected. [2023-03-02T04:10:49.706Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1345 [2023-03-02T04:10:49.706Z] project root: . [2023-03-02T04:10:49.706Z] --> token set from env [2023-03-02T04:10:49.706Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-02T04:10:49.706Z] ==> Running gcov in . (disable via -X gcov) [2023-03-02T04:10:49.706Z] ==> Python coveragepy not found [2023-03-02T04:10:49.706Z] ==> Searching for coverage reports in: [2023-03-02T04:10:49.706Z] + . [2023-03-02T04:10:49.706Z] -> Found 1 reports [2023-03-02T04:10:49.706Z] ==> Detecting git/mercurial file structure [2023-03-02T04:10:49.706Z] ==> Reading reports [2023-03-02T04:10:49.706Z] + ./coverage.out bytes=110996 [2023-03-02T04:10:49.706Z] ==> Appending adjustments [2023-03-02T04:10:49.706Z] https://docs.codecov.io/docs/fixing-reports [2023-03-02T04:10:50.279Z] + Found adjustments [2023-03-02T04:10:50.279Z] ==> Gzipping contents [2023-03-02T04:10:50.279Z] 16K /tmp/codecov.tsGxGJ.gz [2023-03-02T04:10:50.279Z] ==> Uploading reports [2023-03-02T04:10:50.279Z] url: https://codecov.io [2023-03-02T04:10:50.279Z] query: branch=PR-1345&commit=1066856259239db1f5b18b8cd1860e9b4d9d0dff&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1345%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1345&job=&cmd_args= [2023-03-02T04:10:50.279Z] -> Pinging Codecov [2023-03-02T04:10:50.279Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1345&commit=1066856259239db1f5b18b8cd1860e9b4d9d0dff&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1345%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1345&job=&cmd_args= [2023-03-02T04:10:50.279Z] -> Uploading to [2023-03-02T04:10:50.279Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-02/7E55EF52A471D76F132DFD9A03CDDE97/1066856259239db1f5b18b8cd1860e9b4d9d0dff/6ef084f4-33a3-49b6-a970-01d67b82fffd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230302%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230302T041050Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c8f62caac1af7b404c2b6f1cd5a70741793c31f9c9bf9b7b0bae11de221cc944 [2023-03-02T04:10:50.279Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-02T04:10:50.279Z] Dload Upload Total Spent Left Speed [2023-03-02T04:10:50.538Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15476 0 0 100 15476 0 70027 --:--:-- --:--:-- --:--:-- 70027 100 15476 0 0 100 15476 0 46197 --:--:-- --:--:-- --:--:-- 46059 [2023-03-02T04:10:50.538Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/1066856259239db1f5b18b8cd1860e9b4d9d0dff [Pipeline] } [2023-03-02T04:10:50.546Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-02T04:10:51.152Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives ] [2023-03-02T04:10:51.152Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives [2023-03-02T04:10:51.152Z] total 16 [2023-03-02T04:10:51.152Z] drwxr-xr-x 3 root root 4096 Mar 2 04:01 . [2023-03-02T04:10:51.152Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 2 04:01 .. [2023-03-02T04:10:51.152Z] drwxr-xr-x 2 root root 4096 Mar 2 04:01 cost [2023-03-02T04:10:51.152Z] -rw-r--r-- 1 root root 86 Mar 2 04:01 cost.csv [2023-03-02T04:10:51.152Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives [2023-03-02T04:10:51.152Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives [2023-03-02T04:10:51.152Z] total 16 [2023-03-02T04:10:51.152Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 2 04:01 . [2023-03-02T04:10:51.152Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 2 04:01 .. [2023-03-02T04:10:51.152Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 2 04:01 cost [2023-03-02T04:10:51.152Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 2 04:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-02T04:10:51.442Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T04:10:52.309Z] ---> package-listing.sh [2023-03-02T04:10:52.309Z] ++ facter osfamily [2023-03-02T04:10:52.309Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-02T04:10:52.568Z] + OS_FAMILY=debian [2023-03-02T04:10:52.568Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1345 [2023-03-02T04:10:52.568Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-02T04:10:52.568Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-02T04:10:52.568Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-02T04:10:52.568Z] + PACKAGES=/tmp/packages_start.txt [2023-03-02T04:10:52.568Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1345 ']' [2023-03-02T04:10:52.568Z] + PACKAGES=/tmp/packages_end.txt [2023-03-02T04:10:52.568Z] + case "${OS_FAMILY}" in [2023-03-02T04:10:52.568Z] + dpkg -l [2023-03-02T04:10:52.568Z] + grep '^ii' [2023-03-02T04:10:52.568Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-02T04:10:52.568Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-02T04:10:52.568Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-02T04:10:52.568Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1345 ']' [2023-03-02T04:10:52.568Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives/ [2023-03-02T04:10:52.568Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1345/archives/ [Pipeline] echo [2023-03-02T04:10:52.580Z] 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-1345/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-02T04:10:52.855Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-02T04:10:53.413Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-02T04:10:53.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-02T04:10:53.488Z] prd-ubuntu20.04-docker-8c-8g-8051 does not seem to be running inside a container [2023-03-02T04:10:53.513Z] $ 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-1345/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-1345 -v /w/workspace/gexfoundry_device-sdk-go_PR-1345:/w/workspace/gexfoundry_device-sdk-go_PR-1345:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-02T04:10:53.673Z] $ docker top e15c9ccf967ff2e19b5c3c346ee222232c9a18731928ac0d0615ce335bf6537c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-02T04:10:54.007Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-02T04:10:54.292Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-02T04:10:54.583Z] + ls /var/log/sa-host [2023-03-02T04:10:54.583Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-02T04:10:54.729Z] provisioning config files... [2023-03-02T04:10:54.737Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1345@tmp/config8331307323859170079tmp [Pipeline] { [Pipeline] echo [2023-03-02T04:10:54.747Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T04:10:55.033Z] ---> create-netrc.sh [Pipeline] } [2023-03-02T04:10:55.040Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-02T04:10:55.359Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-02T04:10:55.368Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T04:10:55.656Z] ---> sudo-logs.sh [2023-03-02T04:10:55.656Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-02T04:10:55.683Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T04:10:55.966Z] ---> job-cost.sh [2023-03-02T04:10:55.966Z] lf-activate-venv: SKIPPING [2023-03-02T04:10:55.966Z] DEBUG: total: 0.2199999988079071 [2023-03-02T04:10:55.966Z] INFO: Retrieving Stack Cost... [2023-03-02T04:10:56.225Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-02T04:10:56.791Z] INFO: Archiving Costs [Pipeline] echo [2023-03-02T04:10:56.801Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-02T04:10:57.084Z] ---> logs-deploy.sh [2023-03-02T04:10:57.084Z] lf-activate-venv: SKIPPING [2023-03-02T04:10:57.084Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1345/3 [2023-03-02T04:10:57.084Z] INFO: archiving workspace using pattern(s): [2023-03-02T04:10:58.019Z] Archives upload complete. [2023-03-02T04:10:58.019Z] INFO: archiving logs to Nexus