Pull request #1395 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c0547ce26adfd38f73c3deaa266ae8ca76fe60d0+ba03d3229d39ccd3d083a66246eea2ffd8e01960 (d1bc8f0d8c673f776a91c55d0b6853a558bfbeba) 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-ssh1000421697895534837.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh13364841897163351586.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-1395/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-1395/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13339628504733153331.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh11870985176938444510.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-1395/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-1395/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15834523494746127356.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.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-4488’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-5448’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-5450’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5451’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5453’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-5452’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5454 in /w/workspace/gexfoundry_device-sdk-go_PR-1395 [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-1395 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ba03d3229d39ccd3d083a66246eea2ffd8e01960 into PR head commit c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 Merge succeeded, producing c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 Checking out Revision c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 (PR-1395) > 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/1395/head:refs/remotes/origin/PR-1395 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 # 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 ba03d3229d39ccd3d083a66246eea2ffd8e01960 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-23T12:10:41.452Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-23T12:10:41.519Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-23T12:10:41.537Z] ========================================================= [2023-03-23T12:10:41.537Z] EdgeX Global Pipelines Version Info [2023-03-23T12:10:41.537Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b79095e6787c19f6d4298e7c908c36c08a20ad6a # timeout=10 [2023-03-23T12:10:42.268Z] ------------------- [2023-03-23T12:10:42.268Z] stable info: [2023-03-23T12:10:42.268Z] ------------------- [2023-03-23T12:10:42.268Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-23T12:10:42.268Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-23T12:10:42.268Z] Message: update stable to v1.0.245 [2023-03-23T12:10:42.840Z] ------------------- [2023-03-23T12:10:42.840Z] experimental info: [2023-03-23T12:10:42.840Z] ------------------- [2023-03-23T12:10:42.840Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-23T12:10:42.840Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-23T12:10:42.840Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-23T12:10:43.020Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-23T12:10:43.036Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-23T12:10:43.056Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-23T12:10:43.075Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-23T12:10:43.094Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-23T12:10:43.113Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-23T12:10:43.132Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-23T12:10:43.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-23T12:10:43.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-23T12:10:43.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-23T12:10:43.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-23T12:10:43.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-23T12:10:43.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-23T12:10:43.252Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-23T12:10:43.264Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-23T12:10:43.275Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-23T12:10:43.287Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-23T12:10:43.299Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-23T12:10:43.311Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-23T12:10:43.322Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-23T12:10:43.333Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-23T12:10:43.342Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-23T12:10:43.357Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-23T12:10:43.373Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-23T12:10:43.387Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-23T12:10:43.406Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-23T12:10:43.418Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-23T12:10:43.429Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1395 [Pipeline] echo [2023-03-23T12:10:43.448Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1395 [Pipeline] echo [2023-03-23T12:10:43.467Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1395 [Pipeline] echo [2023-03-23T12:10:43.495Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 [Pipeline] echo [2023-03-23T12:10:43.513Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c0547ce [Pipeline] echo [2023-03-23T12:10:43.529Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-23T12:10:43.574Z] provisioning config files... [2023-03-23T12:10:43.590Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/config3248566691431948078tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T12:10:43.902Z] ---> docker-login.sh [2023-03-23T12:10:43.902Z] nexus3.edgexfoundry.org:10001 [2023-03-23T12:10:44.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T12:10:44.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T12:10:44.163Z] Configure a credential helper to remove this warning. See [2023-03-23T12:10:44.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T12:10:44.163Z] [2023-03-23T12:10:44.163Z] Login Succeeded [2023-03-23T12:10:44.163Z] nexus3.edgexfoundry.org:10002 [2023-03-23T12:10:44.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T12:10:44.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T12:10:44.431Z] Configure a credential helper to remove this warning. See [2023-03-23T12:10:44.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T12:10:44.431Z] [2023-03-23T12:10:44.431Z] Login Succeeded [2023-03-23T12:10:44.431Z] nexus3.edgexfoundry.org:10003 [2023-03-23T12:10:44.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T12:10:44.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T12:10:44.431Z] Configure a credential helper to remove this warning. See [2023-03-23T12:10:44.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T12:10:44.431Z] [2023-03-23T12:10:44.431Z] Login Succeeded [2023-03-23T12:10:44.431Z] nexus3.edgexfoundry.org:10004 [2023-03-23T12:10:44.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T12:10:44.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T12:10:44.691Z] Configure a credential helper to remove this warning. See [2023-03-23T12:10:44.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T12:10:44.691Z] [2023-03-23T12:10:44.691Z] Login Succeeded [2023-03-23T12:10:44.691Z] docker.io [2023-03-23T12:10:44.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T12:10:44.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T12:10:44.956Z] Configure a credential helper to remove this warning. See [2023-03-23T12:10:44.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T12:10:44.956Z] [2023-03-23T12:10:44.956Z] Login Succeeded [2023-03-23T12:10:44.956Z] ---> docker-login.sh ends [Pipeline] } [2023-03-23T12:10:44.981Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-23T12:10:45.359Z] + git rev-list -1 --merges c0547ce26adfd38f73c3deaa266ae8ca76fe60d0~1..c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 [Pipeline] echo [2023-03-23T12:10:45.424Z] -----------> git rev-list -1 --merges c0547ce26adfd38f73c3deaa266ae8ca76fe60d0~1..c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 [false] [Pipeline] sh [2023-03-23T12:10:45.711Z] + git log --format=format:%s -1 c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 [Pipeline] echo [2023-03-23T12:10:45.724Z] ========================================================= [2023-03-23T12:10:45.724Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-23T12:10:45.724Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-23T12:10:46.042Z] + git log --format=format:%s -1 c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 [Pipeline] echo [2023-03-23T12:10:46.051Z] [semverPrep] GIT_COMMIT: c0547ce26adfd38f73c3deaa266ae8ca76fe60d0, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3 [Pipeline] echo [2023-03-23T12:10:46.059Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-23T12:10:46.395Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-23T12:10:46.395Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-23T12:10:46.395Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-23T12:10:46.395Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-23T12:10:46.395Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-23T12:10:46.395Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-23T12:10:46.395Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T12:10:46.736Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-23T12:10:46.737Z] [2023-03-23T12:10:46.737Z] 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-23T12:10:47.039Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-23T12:10:47.039Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-23T12:10:47.039Z] b85a868b505f: Pulling fs layer [2023-03-23T12:10:47.039Z] e2be974225ed: Pulling fs layer [2023-03-23T12:10:47.039Z] 339a4e72a1f5: Pulling fs layer [2023-03-23T12:10:47.039Z] 988bab9f4d93: Pulling fs layer [2023-03-23T12:10:47.039Z] 1469e6f7b9e6: Pulling fs layer [2023-03-23T12:10:47.039Z] eaf3925da568: Pulling fs layer [2023-03-23T12:10:47.039Z] bab4dde63d76: Pulling fs layer [2023-03-23T12:10:47.039Z] bde34c3a00c8: Pulling fs layer [2023-03-23T12:10:47.039Z] b352a97aabf1: Pulling fs layer [2023-03-23T12:10:47.039Z] 4872d77fe225: Pulling fs layer [2023-03-23T12:10:47.039Z] 5851b861e8e6: Pulling fs layer [2023-03-23T12:10:47.039Z] b352a97aabf1: Waiting [2023-03-23T12:10:47.039Z] 988bab9f4d93: Waiting [2023-03-23T12:10:47.039Z] bde34c3a00c8: Waiting [2023-03-23T12:10:47.039Z] eaf3925da568: Waiting [2023-03-23T12:10:47.039Z] 1469e6f7b9e6: Waiting [2023-03-23T12:10:47.039Z] bab4dde63d76: Waiting [2023-03-23T12:10:47.302Z] e2be974225ed: Download complete [2023-03-23T12:10:47.302Z] 988bab9f4d93: Verifying Checksum [2023-03-23T12:10:47.302Z] 988bab9f4d93: Download complete [2023-03-23T12:10:47.302Z] 339a4e72a1f5: Verifying Checksum [2023-03-23T12:10:47.302Z] 339a4e72a1f5: Download complete [2023-03-23T12:10:47.302Z] 1469e6f7b9e6: Verifying Checksum [2023-03-23T12:10:47.302Z] 1469e6f7b9e6: Download complete [2023-03-23T12:10:47.302Z] eaf3925da568: Download complete [2023-03-23T12:10:47.302Z] bde34c3a00c8: Verifying Checksum [2023-03-23T12:10:47.302Z] bde34c3a00c8: Download complete [2023-03-23T12:10:47.302Z] b352a97aabf1: Download complete [2023-03-23T12:10:47.302Z] 4872d77fe225: Verifying Checksum [2023-03-23T12:10:47.302Z] 4872d77fe225: Download complete [2023-03-23T12:10:47.562Z] 5851b861e8e6: Verifying Checksum [2023-03-23T12:10:47.562Z] 5851b861e8e6: Download complete [2023-03-23T12:10:47.562Z] b85a868b505f: Verifying Checksum [2023-03-23T12:10:47.562Z] b85a868b505f: Download complete [2023-03-23T12:10:47.821Z] bab4dde63d76: Verifying Checksum [2023-03-23T12:10:48.756Z] b85a868b505f: Pull complete [2023-03-23T12:10:48.756Z] e2be974225ed: Pull complete [2023-03-23T12:10:49.323Z] 339a4e72a1f5: Pull complete [2023-03-23T12:10:49.323Z] 988bab9f4d93: Pull complete [2023-03-23T12:10:49.582Z] 1469e6f7b9e6: Pull complete [2023-03-23T12:10:49.582Z] eaf3925da568: Pull complete [2023-03-23T12:10:51.482Z] bab4dde63d76: Pull complete [2023-03-23T12:10:51.482Z] bde34c3a00c8: Pull complete [2023-03-23T12:10:51.482Z] b352a97aabf1: Pull complete [2023-03-23T12:10:51.741Z] 4872d77fe225: Pull complete [2023-03-23T12:10:51.741Z] 5851b861e8e6: Pull complete [2023-03-23T12:10:51.741Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-23T12:10:51.741Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-23T12:10:51.741Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T12:10:51.832Z] prd-ubuntu20.04-docker-8c-8g-5454 does not seem to be running inside a container [2023-03-23T12:10:51.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1395 -v /w/workspace/gexfoundry_device-sdk-go_PR-1395:/w/workspace/gexfoundry_device-sdk-go_PR-1395:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-23T12:10:53.580Z] $ docker top d7ca14a32a1f46ea1b616e7ed01e6ee7005e7bb43a9de07beef6ed556b66a0bc -eo pid,comm [2023-03-23T12:10:53.657Z] 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-23T12:10:53.657Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-23T12:10:53.688Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-23T12:10:53.688Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-23T12:10:53.797Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-23T12:10:53.793Z] $ docker exec d7ca14a32a1f46ea1b616e7ed01e6ee7005e7bb43a9de07beef6ed556b66a0bc ssh-agent [2023-03-23T12:10:53.896Z] SSH_AUTH_SOCK=/tmp/ssh-uKW96S6ZCVbW/agent.32 [2023-03-23T12:10:53.897Z] SSH_AGENT_PID=38 [2023-03-23T12:10:53.905Z] Running ssh-add (command line suppressed) [2023-03-23T12:10:54.001Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/private_key_14512389487619750251.key (/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/private_key_14512389487619750251.key) [2023-03-23T12:10:54.023Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-23T12:10:54.310Z] + git tag --points-at HEAD [Pipeline] } [2023-03-23T12:10:54.316Z] $ docker exec --env ******** --env ******** d7ca14a32a1f46ea1b616e7ed01e6ee7005e7bb43a9de07beef6ed556b66a0bc ssh-agent -k [2023-03-23T12:10:54.411Z] unset SSH_AUTH_SOCK; [2023-03-23T12:10:54.411Z] unset SSH_AGENT_PID; [2023-03-23T12:10:54.411Z] echo Agent pid 38 killed; [2023-03-23T12:10:54.428Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-23T12:10:54.453Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-23T12:10:54.453Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-23T12:10:54.561Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-23T12:10:54.558Z] $ docker exec d7ca14a32a1f46ea1b616e7ed01e6ee7005e7bb43a9de07beef6ed556b66a0bc ssh-agent [2023-03-23T12:10:54.679Z] SSH_AUTH_SOCK=/tmp/ssh-37gqSRKAbjjm/agent.70 [2023-03-23T12:10:54.679Z] SSH_AGENT_PID=76 [2023-03-23T12:10:54.684Z] Running ssh-add (command line suppressed) [2023-03-23T12:10:54.793Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/private_key_3718376667250095905.key (/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/private_key_3718376667250095905.key) [2023-03-23T12:10:54.810Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-23T12:10:55.097Z] + git semver init [2023-03-23T12:10:55.355Z] 2023-03-23 12:10:55,298 [run_init] DEBUG init version:0.0.0 force:False [2023-03-23T12:10:55.355Z] 2023-03-23 12:10:55,301 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver [2023-03-23T12:10:55.355Z] 2023-03-23 12:10:55,301 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver [2023-03-23T12:10:55.355Z] 2023-03-23 12:10:55,301 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1395, universal_newlines=False, shell=None, istream=None) [2023-03-23T12:10:56.296Z] 2023-03-23 12:10:56,200 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395/.git/info/exclude [2023-03-23T12:10:56.297Z] 2023-03-23 12:10:56,200 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver/PR-1395 with force:False [2023-03-23T12:10:56.297Z] 2023-03-23 12:10:56,200 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver/PR-1395 [2023-03-23T12:10:56.297Z] 2023-03-23 12:10:56,203 [execute] INFO git cat-file --batch-check [2023-03-23T12:10:56.297Z] 2023-03-23 12:10:56,203 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver, universal_newlines=False, shell=None, istream=) [2023-03-23T12:10:56.297Z] 2023-03-23 12:10:56,209 [execute] INFO git cat-file --batch [2023-03-23T12:10:56.297Z] 2023-03-23 12:10:56,209 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver, universal_newlines=False, shell=None, istream=) [2023-03-23T12:10:56.297Z] 2023-03-23 12:10:56,214 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver/PR-1395 [2023-03-23T12:10:56.297Z] 0.0.0 [Pipeline] } [2023-03-23T12:10:56.301Z] $ docker exec --env ******** --env ******** d7ca14a32a1f46ea1b616e7ed01e6ee7005e7bb43a9de07beef6ed556b66a0bc ssh-agent -k [2023-03-23T12:10:56.403Z] unset SSH_AUTH_SOCK; [2023-03-23T12:10:56.404Z] unset SSH_AGENT_PID; [2023-03-23T12:10:56.405Z] echo Agent pid 76 killed; [2023-03-23T12:10:56.416Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-23T12:10:56.725Z] + git semver [Pipeline] } [2023-03-23T12:10:56.997Z] $ docker stop --time=1 d7ca14a32a1f46ea1b616e7ed01e6ee7005e7bb43a9de07beef6ed556b66a0bc [2023-03-23T12:10:58.307Z] $ docker rm -f --volumes d7ca14a32a1f46ea1b616e7ed01e6ee7005e7bb43a9de07beef6ed556b66a0bc [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-23T12:10:58.652Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-23T12:10:58.873Z] Stashed 1 file(s) [Pipeline] echo [2023-03-23T12:10:58.876Z] [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-23T12:10:58.982Z] provisioning config files... [2023-03-23T12:10:58.991Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/config9560008837152402523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T12:10:59.303Z] ---> docker-login.sh [2023-03-23T12:10:59.303Z] nexus3.edgexfoundry.org:10001 [2023-03-23T12:10:59.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T12:10:59.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T12:10:59.303Z] Configure a credential helper to remove this warning. See [2023-03-23T12:10:59.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T12:10:59.303Z] [2023-03-23T12:10:59.303Z] Login Succeeded [2023-03-23T12:10:59.303Z] nexus3.edgexfoundry.org:10002 [2023-03-23T12:10:59.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T12:10:59.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T12:10:59.303Z] Configure a credential helper to remove this warning. See [2023-03-23T12:10:59.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T12:10:59.303Z] [2023-03-23T12:10:59.303Z] Login Succeeded [2023-03-23T12:10:59.303Z] nexus3.edgexfoundry.org:10003 [2023-03-23T12:10:59.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T12:10:59.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T12:10:59.562Z] Configure a credential helper to remove this warning. See [2023-03-23T12:10:59.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T12:10:59.562Z] [2023-03-23T12:10:59.562Z] Login Succeeded [2023-03-23T12:10:59.562Z] nexus3.edgexfoundry.org:10004 [2023-03-23T12:10:59.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T12:10:59.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T12:10:59.562Z] Configure a credential helper to remove this warning. See [2023-03-23T12:10:59.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T12:10:59.562Z] [2023-03-23T12:10:59.562Z] Login Succeeded [2023-03-23T12:10:59.562Z] docker.io [2023-03-23T12:10:59.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T12:11:00.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T12:11:00.079Z] Configure a credential helper to remove this warning. See [2023-03-23T12:11:00.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T12:11:00.079Z] [2023-03-23T12:11:00.079Z] Login Succeeded [2023-03-23T12:11:00.079Z] ---> docker-login.sh ends [Pipeline] } [2023-03-23T12:11:00.086Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-23T12:11:00.137Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T12:11:00.150Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T12:11:00.157Z] ========================================================= [2023-03-23T12:11:00.158Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-23T12:11:00.158Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T12:11:00.461Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-23T12:11:00.461Z] Sending build context to Docker daemon 10.82MB [2023-03-23T12:11:00.461Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-23T12:11:00.461Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-23T12:11:00.461Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-23T12:11:00.461Z] 63b65145d645: Pulling fs layer [2023-03-23T12:11:00.461Z] a2d21d5440eb: Pulling fs layer [2023-03-23T12:11:00.461Z] 935e6c44a52c: Pulling fs layer [2023-03-23T12:11:00.461Z] 94cc34f8dd06: Pulling fs layer [2023-03-23T12:11:00.461Z] 30dea6a524f1: Pulling fs layer [2023-03-23T12:11:00.461Z] a2aff8979fd8: Pulling fs layer [2023-03-23T12:11:00.461Z] 6808be2612f2: Pulling fs layer [2023-03-23T12:11:00.461Z] f25807f1079a: Pulling fs layer [2023-03-23T12:11:00.461Z] 94cc34f8dd06: Waiting [2023-03-23T12:11:00.461Z] 30dea6a524f1: Waiting [2023-03-23T12:11:00.461Z] a2aff8979fd8: Waiting [2023-03-23T12:11:00.461Z] 6808be2612f2: Waiting [2023-03-23T12:11:00.461Z] f25807f1079a: Waiting [2023-03-23T12:11:00.720Z] a2d21d5440eb: Download complete [2023-03-23T12:11:00.720Z] 94cc34f8dd06: Download complete [2023-03-23T12:11:00.720Z] 30dea6a524f1: Verifying Checksum [2023-03-23T12:11:00.720Z] 30dea6a524f1: Download complete [2023-03-23T12:11:00.720Z] 63b65145d645: Verifying Checksum [2023-03-23T12:11:00.720Z] 63b65145d645: Download complete [2023-03-23T12:11:00.720Z] a2aff8979fd8: Verifying Checksum [2023-03-23T12:11:00.720Z] a2aff8979fd8: Download complete [2023-03-23T12:11:00.720Z] 63b65145d645: Pull complete [2023-03-23T12:11:00.981Z] a2d21d5440eb: Pull complete [2023-03-23T12:11:01.240Z] f25807f1079a: Verifying Checksum [2023-03-23T12:11:01.240Z] f25807f1079a: Download complete [2023-03-23T12:11:01.240Z] 935e6c44a52c: Verifying Checksum [2023-03-23T12:11:01.240Z] 935e6c44a52c: Download complete [2023-03-23T12:11:01.499Z] 6808be2612f2: Verifying Checksum [2023-03-23T12:11:01.499Z] 6808be2612f2: Download complete [2023-03-23T12:11:04.787Z] 935e6c44a52c: Pull complete [2023-03-23T12:11:04.787Z] 94cc34f8dd06: Pull complete [2023-03-23T12:11:04.787Z] 30dea6a524f1: Pull complete [2023-03-23T12:11:04.787Z] a2aff8979fd8: Pull complete [2023-03-23T12:11:07.316Z] 6808be2612f2: Pull complete [2023-03-23T12:11:07.881Z] f25807f1079a: Pull complete [2023-03-23T12:11:07.881Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-23T12:11:07.881Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-23T12:11:07.881Z] ---> 3b553350e43f [2023-03-23T12:11:07.881Z] Step 3/10 : ARG MAKE=make build [2023-03-23T12:11:10.415Z] ---> Running in 2de321a9c3de [2023-03-23T12:11:10.415Z] Removing intermediate container 2de321a9c3de [2023-03-23T12:11:10.415Z] ---> 690d00818871 [2023-03-23T12:11:10.415Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-23T12:11:10.673Z] ---> Running in a25cbec034b2 [2023-03-23T12:11:10.673Z] Removing intermediate container a25cbec034b2 [2023-03-23T12:11:10.673Z] ---> 1953a95e2b1f [2023-03-23T12:11:10.673Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-23T12:11:10.673Z] ---> Running in 7c678ec52e8c [2023-03-23T12:11:10.931Z] Removing intermediate container 7c678ec52e8c [2023-03-23T12:11:10.931Z] ---> ab0baf4501c2 [2023-03-23T12:11:10.931Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-23T12:11:10.931Z] ---> Running in 46481f5cd54b [2023-03-23T12:11:11.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-23T12:11:11.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-23T12:11:11.706Z] OK: 265 MiB in 53 packages [2023-03-23T12:11:12.272Z] Removing intermediate container 46481f5cd54b [2023-03-23T12:11:12.272Z] ---> 761a4aa5a239 [2023-03-23T12:11:12.272Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-23T12:11:12.272Z] ---> db87eec32a7f [2023-03-23T12:11:12.272Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-23T12:11:12.272Z] ---> Running in 627d7a028c36 [2023-03-23T12:11:13.951Z] Still waiting to schedule task [2023-03-23T12:11:13.951Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5452’ [2023-03-23T12:11:34.251Z] Removing intermediate container 627d7a028c36 [2023-03-23T12:11:34.251Z] ---> fd889e74b761 [2023-03-23T12:11:34.251Z] Step 9/10 : COPY . . [2023-03-23T12:11:34.251Z] ---> 06397e1c5dd4 [2023-03-23T12:11:34.251Z] Step 10/10 : RUN ${MAKE} [2023-03-23T12:11:34.251Z] ---> Running in d4883a4cbb16 [2023-03-23T12:11:34.251Z] noop [2023-03-23T12:11:34.251Z] Removing intermediate container d4883a4cbb16 [2023-03-23T12:11:34.251Z] ---> 3f83f7530e44 [2023-03-23T12:11:34.251Z] Successfully built 3f83f7530e44 [2023-03-23T12:11:34.251Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T12:11:34.562Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-23T12:11:34.562Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T12:11:34.627Z] prd-ubuntu20.04-docker-8c-8g-5454 does not seem to be running inside a container [2023-03-23T12:11:34.659Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1395 -v /w/workspace/gexfoundry_device-sdk-go_PR-1395:/w/workspace/gexfoundry_device-sdk-go_PR-1395:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1395@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 ******** ci-base-image-x86_64 cat [2023-03-23T12:11:35.163Z] $ docker top 4069e1829f3b53fa98b7fb29df9496788fc9bb07ab1080badbc79899871c50f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T12:11:35.493Z] + go version [2023-03-23T12:11:35.493Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-23T12:11:35.508Z] $ docker stop --time=1 4069e1829f3b53fa98b7fb29df9496788fc9bb07ab1080badbc79899871c50f2 [2023-03-23T12:11:36.809Z] $ docker rm -f --volumes 4069e1829f3b53fa98b7fb29df9496788fc9bb07ab1080badbc79899871c50f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T12:11:37.225Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-23T12:11:37.226Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T12:11:37.297Z] prd-ubuntu20.04-docker-8c-8g-5454 does not seem to be running inside a container [2023-03-23T12:11:37.337Z] $ 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-1395 -v /w/workspace/gexfoundry_device-sdk-go_PR-1395:/w/workspace/gexfoundry_device-sdk-go_PR-1395:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1395@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 ******** ci-base-image-x86_64 cat [2023-03-23T12:11:37.783Z] $ docker top 64de3e4edd0d62f1af0c24bdde58ee8b03cfa6370fdd1af4a0d17f3c8204f1a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T12:11:38.114Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1395 [Pipeline] fileExists [Pipeline] sh [2023-03-23T12:11:38.412Z] + make test [2023-03-23T12:11:38.412Z] go test -race -coverprofile=coverage.out ./... [2023-03-23T12:11:44.978Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-23T12:11:59.850Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-23T12:11:59.850Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-23T12:11:59.850Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-23T12:11:59.850Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-23T12:11:59.850Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-23T12:11:59.850Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.062s coverage: 27.6% of statements [2023-03-23T12:11:59.850Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-23T12:11:59.850Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-23T12:11:59.850Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.059s coverage: 78.9% of statements [2023-03-23T12:11:59.850Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.078s coverage: 86.0% of statements [2023-03-23T12:11:59.850Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-23T12:11:59.850Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-23T12:11:59.850Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.109s coverage: 75.9% of statements [2023-03-23T12:11:59.850Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-23T12:11:59.850Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-23T12:12:00.788Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-23T12:12:02.690Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.072s coverage: 15.2% of statements [2023-03-23T12:12:02.690Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.086s coverage: 68.5% of statements [2023-03-23T12:12:02.690Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.118s coverage: 89.2% of statements [2023-03-23T12:12:02.690Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.050s coverage: 5.5% of statements [2023-03-23T12:12:20.756Z] GO111MODULE=on go vet ./... [2023-03-23T12:12:24.938Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-23T12:12:24.938Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-23T12:12:24.938Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-23T12:12:24.949Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-23T12:12:24.966Z] $ docker stop --time=1 64de3e4edd0d62f1af0c24bdde58ee8b03cfa6370fdd1af4a0d17f3c8204f1a3 [2023-03-23T12:12:27.269Z] $ docker rm -f --volumes 64de3e4edd0d62f1af0c24bdde58ee8b03cfa6370fdd1af4a0d17f3c8204f1a3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-23T12:12:27.772Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-23T12:12:27.832Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-23T12:12:28.256Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-23T12:12:28.618Z] + ls -al . [2023-03-23T12:12:28.618Z] total 272 [2023-03-23T12:12:28.618Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 23 12:11 . [2023-03-23T12:12:28.618Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 12:10 .. [2023-03-23T12:12:28.618Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 23 12:10 .dockerignore [2023-03-23T12:12:28.618Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 12:10 .git [2023-03-23T12:12:28.618Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 12:10 .github [2023-03-23T12:12:28.618Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 23 12:10 .gitignore [2023-03-23T12:12:28.618Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 23 12:10 .golangci.yml [2023-03-23T12:12:28.618Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 12:10 .semver [2023-03-23T12:12:28.618Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 23 12:10 CHANGELOG.md [2023-03-23T12:12:28.618Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 12:10 GOVERNANCE.md [2023-03-23T12:12:28.618Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 23 12:10 Jenkinsfile [2023-03-23T12:12:28.618Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 23 12:10 LICENSE [2023-03-23T12:12:28.618Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 23 12:10 Makefile [2023-03-23T12:12:28.618Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 23 12:10 OWNERS.md [2023-03-23T12:12:28.618Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 23 12:10 README.md [2023-03-23T12:12:28.618Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 12:10 VERSION [2023-03-23T12:12:28.618Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 12:10 bin [2023-03-23T12:12:28.618Z] -rw-r--r-- 1 jenkins jenkins 105656 Mar 23 12:12 coverage.out [2023-03-23T12:12:28.618Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 23 12:10 example [2023-03-23T12:12:28.618Z] -rw-rw-r-- 1 jenkins jenkins 3243 Mar 23 12:10 go.mod [2023-03-23T12:12:28.618Z] -rw-rw-r-- 1 jenkins jenkins 30606 Mar 23 12:10 go.sum [2023-03-23T12:12:28.618Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 23 12:10 internal [2023-03-23T12:12:28.618Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 12:10 openapi [2023-03-23T12:12:28.618Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 23 12:10 pkg [2023-03-23T12:12:28.618Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 12:10 snap [2023-03-23T12:12:28.618Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 23 12:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T12:12:28.973Z] + 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=c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 --label arch=amd64 --label version=0.0.0 . [2023-03-23T12:12:28.973Z] Sending build context to Docker daemon 10.92MB [2023-03-23T12:12:28.973Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-23T12:12:28.973Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-23T12:12:28.973Z] ---> 3f83f7530e44 [2023-03-23T12:12:28.973Z] Step 3/23 : ARG MAKE=make build [2023-03-23T12:12:29.241Z] ---> Running in 7436c5d7aff2 [2023-03-23T12:12:29.241Z] Removing intermediate container 7436c5d7aff2 [2023-03-23T12:12:29.241Z] ---> c055c51155a9 [2023-03-23T12:12:29.241Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-23T12:12:29.241Z] ---> Running in 9ccc6327b87e [2023-03-23T12:12:29.241Z] Removing intermediate container 9ccc6327b87e [2023-03-23T12:12:29.242Z] ---> 7dea5e9e25d2 [2023-03-23T12:12:29.242Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-23T12:12:29.242Z] ---> Running in 569371d9d850 [2023-03-23T12:12:29.503Z] Removing intermediate container 569371d9d850 [2023-03-23T12:12:29.503Z] ---> 9a9efe73771e [2023-03-23T12:12:29.503Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-23T12:12:29.503Z] ---> Running in dbf84e7f20f1 [2023-03-23T12:12:29.762Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-23T12:12:30.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-23T12:12:30.281Z] OK: 265 MiB in 53 packages [2023-03-23T12:12:30.540Z] Removing intermediate container dbf84e7f20f1 [2023-03-23T12:12:30.540Z] ---> ea38995015f1 [2023-03-23T12:12:30.540Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-23T12:12:30.799Z] ---> 7e048a43c0cc [2023-03-23T12:12:30.799Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-23T12:12:30.799Z] ---> Running in 2c19b3463d29 [2023-03-23T12:12:31.736Z] Removing intermediate container 2c19b3463d29 [2023-03-23T12:12:31.736Z] ---> d087a609e941 [2023-03-23T12:12:31.736Z] Step 9/23 : COPY . . [2023-03-23T12:12:32.304Z] ---> e91ca2b2e0ac [2023-03-23T12:12:32.304Z] Step 10/23 : RUN ${MAKE} [2023-03-23T12:12:32.304Z] ---> Running in 62e91831bc2a [2023-03-23T12:12:32.563Z] 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-23T12:12:50.648Z] Removing intermediate container 62e91831bc2a [2023-03-23T12:12:50.648Z] ---> c4b52c17ea63 [2023-03-23T12:12:50.648Z] Step 11/23 : FROM alpine:3.17 [2023-03-23T12:12:50.648Z] 3.17: Pulling from library/alpine [2023-03-23T12:12:50.648Z] 63b65145d645: Already exists [2023-03-23T12:12:50.648Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-23T12:12:50.648Z] Status: Downloaded newer image for alpine:3.17 [2023-03-23T12:12:50.648Z] ---> b2aa39c304c2 [2023-03-23T12:12:50.648Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-23T12:12:50.648Z] ---> Running in e650311d3000 [2023-03-23T12:12:50.648Z] Removing intermediate container e650311d3000 [2023-03-23T12:12:50.648Z] ---> 471a5f8650d5 [2023-03-23T12:12:50.648Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-23T12:12:50.648Z] ---> Running in 5793306e8c38 [2023-03-23T12:12:50.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-23T12:12:50.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-23T12:12:50.648Z] OK: 7 MiB in 15 packages [2023-03-23T12:12:50.648Z] Removing intermediate container 5793306e8c38 [2023-03-23T12:12:50.648Z] ---> 8c9af424c173 [2023-03-23T12:12:50.648Z] Step 14/23 : WORKDIR / [2023-03-23T12:12:50.648Z] ---> Running in c5e36fe05579 [2023-03-23T12:12:50.648Z] Removing intermediate container c5e36fe05579 [2023-03-23T12:12:50.648Z] ---> a9f403f80ceb [2023-03-23T12:12:50.648Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-23T12:12:50.905Z] ---> dae71099de5b [2023-03-23T12:12:50.905Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-23T12:12:51.474Z] ---> 2edd92cb7162 [2023-03-23T12:12:51.474Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-23T12:12:51.474Z] ---> 71d615c581c1 [2023-03-23T12:12:51.474Z] Step 18/23 : EXPOSE 59999 [2023-03-23T12:12:51.474Z] ---> Running in 3a8adaf57893 [2023-03-23T12:12:51.732Z] Removing intermediate container 3a8adaf57893 [2023-03-23T12:12:51.732Z] ---> b73bed3e7f29 [2023-03-23T12:12:51.732Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-23T12:12:51.732Z] ---> Running in e0d1ba24b208 [2023-03-23T12:12:51.732Z] Removing intermediate container e0d1ba24b208 [2023-03-23T12:12:51.732Z] ---> d2ee7ed46688 [2023-03-23T12:12:51.732Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-23T12:12:51.732Z] ---> Running in 4d3190811558 [2023-03-23T12:12:51.732Z] Removing intermediate container 4d3190811558 [2023-03-23T12:12:51.732Z] ---> 9a2e34a99bca [2023-03-23T12:12:51.732Z] Step 21/23 : LABEL arch=amd64 [2023-03-23T12:12:51.990Z] ---> Running in 83b09522a6fd [2023-03-23T12:12:51.990Z] Removing intermediate container 83b09522a6fd [2023-03-23T12:12:51.990Z] ---> 988e1e4ac23f [2023-03-23T12:12:51.990Z] Step 22/23 : LABEL git_sha=c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 [2023-03-23T12:12:51.990Z] ---> Running in 9656dd4b7404 [2023-03-23T12:12:51.990Z] Removing intermediate container 9656dd4b7404 [2023-03-23T12:12:51.990Z] ---> b644764b26b9 [2023-03-23T12:12:51.990Z] Step 23/23 : LABEL version=0.0.0 [2023-03-23T12:12:51.990Z] ---> Running in d194c825639d [2023-03-23T12:12:52.249Z] Removing intermediate container d194c825639d [2023-03-23T12:12:52.249Z] ---> 64135ff19b64 [2023-03-23T12:12:52.249Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-23T12:12:52.249Z] Successfully built 64135ff19b64 [2023-03-23T12:12:52.249Z] 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-23T12:12:52.655Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T12:12:52.655Z] [2023-03-23T12:12:52.655Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T12:12:52.952Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T12:12:52.952Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-23T12:12:52.952Z] 5eb5b503b376: Pulling fs layer [2023-03-23T12:12:52.952Z] 5c69ac0246d0: Pulling fs layer [2023-03-23T12:12:52.952Z] ec43610c2a17: Pulling fs layer [2023-03-23T12:12:52.952Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-23T12:12:52.952Z] 33b1e0a273af: Pulling fs layer [2023-03-23T12:12:52.952Z] 5d3b04190fa2: Pulling fs layer [2023-03-23T12:12:52.952Z] 2f39f015ded8: Pulling fs layer [2023-03-23T12:12:52.952Z] 5d3b04190fa2: Waiting [2023-03-23T12:12:52.952Z] 2f39f015ded8: Waiting [2023-03-23T12:12:52.952Z] 3a2ae6a8a46f: Waiting [2023-03-23T12:12:52.952Z] 33b1e0a273af: Waiting [2023-03-23T12:12:52.952Z] 5c69ac0246d0: Verifying Checksum [2023-03-23T12:12:52.952Z] 5c69ac0246d0: Download complete [2023-03-23T12:12:52.952Z] 3a2ae6a8a46f: Download complete [2023-03-23T12:12:53.210Z] 33b1e0a273af: Verifying Checksum [2023-03-23T12:12:53.210Z] 33b1e0a273af: Download complete [2023-03-23T12:12:53.210Z] 5d3b04190fa2: Verifying Checksum [2023-03-23T12:12:53.211Z] 5d3b04190fa2: Download complete [2023-03-23T12:12:53.211Z] ec43610c2a17: Verifying Checksum [2023-03-23T12:12:53.211Z] ec43610c2a17: Download complete [2023-03-23T12:12:53.211Z] 5eb5b503b376: Verifying Checksum [2023-03-23T12:12:53.211Z] 5eb5b503b376: Download complete [2023-03-23T12:12:53.773Z] 2f39f015ded8: Download complete [2023-03-23T12:12:54.339Z] 5eb5b503b376: Pull complete [2023-03-23T12:12:54.339Z] 5c69ac0246d0: Pull complete [2023-03-23T12:12:54.909Z] ec43610c2a17: Pull complete [2023-03-23T12:12:54.909Z] 3a2ae6a8a46f: Pull complete [2023-03-23T12:12:55.170Z] 33b1e0a273af: Pull complete [2023-03-23T12:12:55.171Z] 5d3b04190fa2: Pull complete [2023-03-23T12:12:59.355Z] 2f39f015ded8: Pull complete [2023-03-23T12:12:59.355Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-23T12:12:59.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T12:12:59.355Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T12:12:59.453Z] prd-ubuntu20.04-docker-8c-8g-5454 does not seem to be running inside a container [2023-03-23T12:12:59.494Z] $ 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-1395 -v /w/workspace/gexfoundry_device-sdk-go_PR-1395:/w/workspace/gexfoundry_device-sdk-go_PR-1395:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-23T12:13:01.615Z] $ docker top 778424c136965a898bae0e82457d5468a3733630509fbb9309a1bd14f166f540 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T12:13:01.991Z] ---> job-cost.sh [2023-03-23T12:13:01.991Z] lf-activate-venv: SKIPPING [2023-03-23T12:13:01.991Z] INFO: No Stack... [2023-03-23T12:13:02.252Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-23T12:13:02.819Z] INFO: Archiving Costs [Pipeline] sh [2023-03-23T12:13:03.114Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives/cost.csv [2023-03-23T12:13:03.114Z] + cut -d, -f6 [Pipeline] lock [2023-03-23T12:13:03.127Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1395-4-stack-cost] [2023-03-23T12:13:03.136Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1395-4-stack-cost] did not exist. Created. [2023-03-23T12:13:03.136Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1395-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-23T12:13:03.435Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-23T12:13:03.464Z] Stashed 1 file(s) [Pipeline] } [2023-03-23T12:13:03.470Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1395-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-23T12:13:03.492Z] $ docker stop --time=1 778424c136965a898bae0e82457d5468a3733630509fbb9309a1bd14f166f540 [2023-03-23T12:13:04.668Z] $ docker rm -f --volumes 778424c136965a898bae0e82457d5468a3733630509fbb9309a1bd14f166f540 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-23T12:13:56.986Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5456 in /w/workspace/gexfoundry_device-sdk-go_PR-1395 [Pipeline] { [Pipeline] ws [2023-03-23T12:13:56.998Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2023-03-23T12:13:57.040Z] The recommended git tool is: git [2023-03-23T12:14:03.052Z] using credential edgex-jenkins-ssh [2023-03-23T12:14:03.079Z] Cloning the remote Git repository [2023-03-23T12:14:03.141Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-23T12:14:03.255Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2023-03-23T12:14:03.442Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-23T12:14:03.443Z] > git --version # timeout=10 [2023-03-23T12:14:03.471Z] > git --version # 'git version 2.25.1' [2023-03-23T12:14:03.474Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-23T12:14:03.655Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-23T12:14:05.313Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-23T12:14:05.335Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-23T12:14:06.954Z] Merging remotes/origin/main commit ba03d3229d39ccd3d083a66246eea2ffd8e01960 into PR head commit c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 [2023-03-23T12:14:07.292Z] Merge succeeded, producing c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 [2023-03-23T12:14:07.293Z] Checking out Revision c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 (PR-1395) [2023-03-23T12:14:06.283Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-23T12:14:06.322Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-23T12:14:06.323Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-23T12:14:06.339Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1395/head:refs/remotes/origin/PR-1395 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-23T12:14:06.975Z] > git config core.sparsecheckout # timeout=10 [2023-03-23T12:14:07.059Z] > git checkout -f c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 # timeout=10 [2023-03-23T12:14:07.180Z] > git remote # timeout=10 [2023-03-23T12:14:07.203Z] > git config --get remote.origin.url # timeout=10 [2023-03-23T12:14:07.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-23T12:14:07.245Z] > git merge ba03d3229d39ccd3d083a66246eea2ffd8e01960 # timeout=10 [2023-03-23T12:14:07.272Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-23T12:14:07.301Z] > git config core.sparsecheckout # timeout=10 [2023-03-23T12:14:07.317Z] > git checkout -f c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 # timeout=10 [2023-03-23T12:14:07.879Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-23T12:14:08.755Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-23T12:14:08.755Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-23T12:14:08.755Z] Dload Upload Total Spent Left Speed [2023-03-23T12:14:08.755Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 159k 0 --:--:-- --:--:-- --:--:-- 159k [Pipeline] sh [2023-03-23T12:14:09.421Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-23T12:14:09.769Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-23T12:14:09.769Z] + sudo tee /etc/docker/daemon.new [2023-03-23T12:14:09.769Z] { [2023-03-23T12:14:09.769Z] "registry-mirrors": [ [2023-03-23T12:14:09.769Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-23T12:14:09.769Z] ], [2023-03-23T12:14:09.769Z] "bip": "10.250.0.254/24", [2023-03-23T12:14:09.769Z] "hosts": [ [2023-03-23T12:14:09.769Z] "tcp://0.0.0.0:5555", [2023-03-23T12:14:09.769Z] "unix:///var/run/docker.sock" [2023-03-23T12:14:09.769Z] ], [2023-03-23T12:14:09.769Z] "mtu": 1458, [2023-03-23T12:14:09.769Z] "selinux-enabled": true, [2023-03-23T12:14:09.769Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-23T12:14:09.769Z] } [Pipeline] sh [2023-03-23T12:14:10.113Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-23T12:14:10.453Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-23T12:14:28.982Z] provisioning config files... [2023-03-23T12:14:29.010Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3387449031045748196tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T12:14:29.374Z] ---> docker-login.sh [2023-03-23T12:14:29.374Z] nexus3.edgexfoundry.org:10001 [2023-03-23T12:14:29.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T12:14:29.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T12:14:29.970Z] Configure a credential helper to remove this warning. See [2023-03-23T12:14:29.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T12:14:29.970Z] [2023-03-23T12:14:29.970Z] Login Succeeded [2023-03-23T12:14:29.970Z] nexus3.edgexfoundry.org:10002 [2023-03-23T12:14:30.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T12:14:30.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T12:14:30.517Z] Configure a credential helper to remove this warning. See [2023-03-23T12:14:30.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T12:14:30.517Z] [2023-03-23T12:14:30.517Z] Login Succeeded [2023-03-23T12:14:30.517Z] nexus3.edgexfoundry.org:10003 [2023-03-23T12:14:30.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T12:14:30.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T12:14:30.791Z] Configure a credential helper to remove this warning. See [2023-03-23T12:14:30.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T12:14:30.791Z] [2023-03-23T12:14:30.791Z] Login Succeeded [2023-03-23T12:14:30.791Z] nexus3.edgexfoundry.org:10004 [2023-03-23T12:14:31.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T12:14:31.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T12:14:31.339Z] Configure a credential helper to remove this warning. See [2023-03-23T12:14:31.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T12:14:31.339Z] [2023-03-23T12:14:31.339Z] Login Succeeded [2023-03-23T12:14:31.339Z] docker.io [2023-03-23T12:14:31.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T12:14:31.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T12:14:31.883Z] Configure a credential helper to remove this warning. See [2023-03-23T12:14:31.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T12:14:31.883Z] [2023-03-23T12:14:31.883Z] Login Succeeded [2023-03-23T12:14:31.883Z] ---> docker-login.sh ends [Pipeline] } [2023-03-23T12:14:31.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-23T12:14:32.212Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T12:14:32.229Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T12:14:32.241Z] ========================================================= [2023-03-23T12:14:32.241Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-23T12:14:32.241Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T12:14:32.599Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-23T12:14:32.871Z] Sending build context to Docker daemon 5.809MB [2023-03-23T12:14:32.871Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-23T12:14:32.871Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-23T12:14:33.142Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-23T12:14:33.142Z] af6eaf76a39c: Pulling fs layer [2023-03-23T12:14:33.142Z] 55522c791124: Pulling fs layer [2023-03-23T12:14:33.142Z] ce5c4a1c91eb: Pulling fs layer [2023-03-23T12:14:33.142Z] 169dfbe0d373: Pulling fs layer [2023-03-23T12:14:33.142Z] e1ff8fa3b103: Pulling fs layer [2023-03-23T12:14:33.142Z] 52ebb69f0ebf: Pulling fs layer [2023-03-23T12:14:33.142Z] 5abe8eddf0d5: Pulling fs layer [2023-03-23T12:14:33.142Z] 169dfbe0d373: Waiting [2023-03-23T12:14:33.142Z] e1ff8fa3b103: Waiting [2023-03-23T12:14:33.142Z] 52ebb69f0ebf: Waiting [2023-03-23T12:14:33.142Z] 5abe8eddf0d5: Waiting [2023-03-23T12:14:33.142Z] 55522c791124: Download complete [2023-03-23T12:14:33.142Z] 169dfbe0d373: Verifying Checksum [2023-03-23T12:14:33.142Z] 169dfbe0d373: Download complete [2023-03-23T12:14:33.421Z] e1ff8fa3b103: Verifying Checksum [2023-03-23T12:14:33.421Z] e1ff8fa3b103: Download complete [2023-03-23T12:14:33.421Z] af6eaf76a39c: Verifying Checksum [2023-03-23T12:14:33.421Z] af6eaf76a39c: Download complete [2023-03-23T12:14:34.845Z] af6eaf76a39c: Pull complete [2023-03-23T12:14:34.845Z] 5abe8eddf0d5: Verifying Checksum [2023-03-23T12:14:34.845Z] 5abe8eddf0d5: Download complete [2023-03-23T12:14:35.116Z] 55522c791124: Pull complete [2023-03-23T12:14:36.086Z] 52ebb69f0ebf: Verifying Checksum [2023-03-23T12:14:36.086Z] 52ebb69f0ebf: Download complete [2023-03-23T12:14:36.086Z] ce5c4a1c91eb: Verifying Checksum [2023-03-23T12:14:36.086Z] ce5c4a1c91eb: Download complete [2023-03-23T12:14:46.176Z] ce5c4a1c91eb: Pull complete [2023-03-23T12:14:46.176Z] 169dfbe0d373: Pull complete [2023-03-23T12:14:46.518Z] e1ff8fa3b103: Pull complete [2023-03-23T12:14:53.208Z] 52ebb69f0ebf: Pull complete [2023-03-23T12:14:54.171Z] 5abe8eddf0d5: Pull complete [2023-03-23T12:14:54.171Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-23T12:14:54.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-23T12:14:54.441Z] ---> 6cb57ee374ae [2023-03-23T12:14:54.441Z] Step 3/10 : ARG MAKE=make build [2023-03-23T12:14:56.419Z] ---> Running in 91a57a486a54 [2023-03-23T12:14:56.419Z] Removing intermediate container 91a57a486a54 [2023-03-23T12:14:56.419Z] ---> 2012f4c09b56 [2023-03-23T12:14:56.419Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-23T12:14:56.688Z] ---> Running in e9061869f474 [2023-03-23T12:14:56.961Z] Removing intermediate container e9061869f474 [2023-03-23T12:14:56.961Z] ---> b0fc3e3a5848 [2023-03-23T12:14:56.961Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-23T12:14:56.961Z] ---> Running in f526fff03867 [2023-03-23T12:14:57.233Z] Removing intermediate container f526fff03867 [2023-03-23T12:14:57.233Z] ---> 9ef6ae6217b2 [2023-03-23T12:14:57.233Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-23T12:14:57.503Z] ---> Running in e8e8699fcafc [2023-03-23T12:14:58.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-23T12:14:59.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-23T12:15:00.471Z] OK: 263 MiB in 53 packages [2023-03-23T12:15:01.054Z] Removing intermediate container e8e8699fcafc [2023-03-23T12:15:01.054Z] ---> 258dc4cf4baa [2023-03-23T12:15:01.054Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-23T12:15:01.639Z] ---> 9a07812ba0f1 [2023-03-23T12:15:01.639Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-23T12:15:01.639Z] ---> Running in ddb077896b99 [2023-03-23T12:16:09.594Z] Removing intermediate container ddb077896b99 [2023-03-23T12:16:09.594Z] ---> 86eba3ba950c [2023-03-23T12:16:09.594Z] Step 9/10 : COPY . . [2023-03-23T12:16:09.594Z] ---> 84b140e0c8cc [2023-03-23T12:16:09.594Z] Step 10/10 : RUN ${MAKE} [2023-03-23T12:16:09.594Z] ---> Running in d68fd45b42b5 [2023-03-23T12:16:09.594Z] noop [2023-03-23T12:16:09.594Z] Removing intermediate container d68fd45b42b5 [2023-03-23T12:16:09.594Z] ---> bf6f7f2a1068 [2023-03-23T12:16:09.594Z] Successfully built bf6f7f2a1068 [2023-03-23T12:16:09.594Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T12:16:09.948Z] + docker inspect -f . ci-base-image-arm64 [2023-03-23T12:16:09.948Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T12:16:10.168Z] prd-ubuntu20.04-docker-arm64-4c-16g-5456 does not seem to be running inside a container [2023-03-23T12:16:10.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-23T12:16:11.544Z] $ docker top 563ab69cc42c850af2fd8050863700f74820efc45ec02aa03e8e0ef89661effe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T12:16:12.409Z] + go version [2023-03-23T12:16:12.409Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-23T12:16:12.429Z] $ docker stop --time=1 563ab69cc42c850af2fd8050863700f74820efc45ec02aa03e8e0ef89661effe [2023-03-23T12:16:14.933Z] $ docker rm -f --volumes 563ab69cc42c850af2fd8050863700f74820efc45ec02aa03e8e0ef89661effe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T12:16:15.534Z] + docker inspect -f . ci-base-image-arm64 [2023-03-23T12:16:15.534Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T12:16:15.736Z] prd-ubuntu20.04-docker-arm64-4c-16g-5456 does not seem to be running inside a container [2023-03-23T12:16:15.819Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-23T12:16:17.067Z] $ docker top d8d2956c83eb4f27d729676c8d9eeef76d5b78ac59a0a3838858e4a1dda0bd4c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T12:16:17.583Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2023-03-23T12:16:18.180Z] + make test [2023-03-23T12:16:18.180Z] go test -race -coverprofile=coverage.out ./... [2023-03-23T12:17:05.028Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-23T12:19:26.718Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-23T12:19:26.718Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-23T12:19:26.718Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-23T12:19:26.718Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-23T12:19:26.718Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-23T12:19:28.675Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.242s coverage: 27.6% of statements [2023-03-23T12:19:30.092Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.281s coverage: 78.9% of statements [2023-03-23T12:19:42.426Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-23T12:19:42.426Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-23T12:19:42.426Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.413s coverage: 86.0% of statements [2023-03-23T12:19:46.689Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-23T12:19:46.689Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-23T12:19:47.273Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.480s coverage: 75.9% of statements [2023-03-23T12:19:49.862Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.301s coverage: 15.2% of statements [2023-03-23T12:19:52.453Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-23T12:19:52.453Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-23T12:19:53.053Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.488s coverage: 68.5% of statements [2023-03-23T12:19:55.014Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.484s coverage: 89.2% of statements [2023-03-23T12:19:58.372Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-23T12:19:58.372Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.273s coverage: 5.5% of statements [2023-03-23T12:19:59.337Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-23T12:19:59.337Z] GO111MODULE=on go vet ./... [2023-03-23T12:22:36.151Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-23T12:22:36.151Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-23T12:22:36.151Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-23T12:22:36.169Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-23T12:22:36.183Z] $ docker stop --time=1 d8d2956c83eb4f27d729676c8d9eeef76d5b78ac59a0a3838858e4a1dda0bd4c [2023-03-23T12:22:38.160Z] $ docker rm -f --volumes d8d2956c83eb4f27d729676c8d9eeef76d5b78ac59a0a3838858e4a1dda0bd4c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-23T12:22:39.822Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-23T12:22:39.837Z] Warning: overwriting stash ‘coverage-report’ [2023-03-23T12:22:40.420Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-23T12:22:40.785Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-23T12:22:41.109Z] + ls -al . [2023-03-23T12:22:41.110Z] total 268 [2023-03-23T12:22:41.110Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 12:16 . [2023-03-23T12:22:41.110Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 12:14 .. [2023-03-23T12:22:41.110Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 23 12:14 .dockerignore [2023-03-23T12:22:41.110Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 12:14 .git [2023-03-23T12:22:41.110Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 12:14 .github [2023-03-23T12:22:41.110Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 23 12:14 .gitignore [2023-03-23T12:22:41.110Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 23 12:14 .golangci.yml [2023-03-23T12:22:41.110Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 23 12:14 CHANGELOG.md [2023-03-23T12:22:41.110Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 23 12:14 GOVERNANCE.md [2023-03-23T12:22:41.110Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 23 12:14 Jenkinsfile [2023-03-23T12:22:41.110Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 23 12:14 LICENSE [2023-03-23T12:22:41.110Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 23 12:14 Makefile [2023-03-23T12:22:41.110Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 23 12:14 OWNERS.md [2023-03-23T12:22:41.110Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 23 12:14 README.md [2023-03-23T12:22:41.110Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 12:10 VERSION [2023-03-23T12:22:41.110Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 12:14 bin [2023-03-23T12:22:41.110Z] -rw-r--r-- 1 jenkins jenkins 105658 Mar 23 12:19 coverage.out [2023-03-23T12:22:41.110Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 23 12:14 example [2023-03-23T12:22:41.110Z] -rw-rw-r-- 1 jenkins jenkins 3243 Mar 23 12:14 go.mod [2023-03-23T12:22:41.110Z] -rw-rw-r-- 1 jenkins jenkins 30606 Mar 23 12:14 go.sum [2023-03-23T12:22:41.110Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 23 12:14 internal [2023-03-23T12:22:41.110Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 23 12:14 openapi [2023-03-23T12:22:41.110Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 23 12:14 pkg [2023-03-23T12:22:41.110Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 12:14 snap [2023-03-23T12:22:41.110Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 23 12:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T12:22:41.453Z] + 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=c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 --label arch=arm64 --label version=0.0.0 . [2023-03-23T12:22:41.723Z] Sending build context to Docker daemon 5.915MB [2023-03-23T12:22:41.990Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-23T12:22:41.990Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-23T12:22:41.990Z] ---> bf6f7f2a1068 [2023-03-23T12:22:41.990Z] Step 3/23 : ARG MAKE=make build [2023-03-23T12:22:41.990Z] ---> Running in f7bf2a38e632 [2023-03-23T12:22:42.267Z] Removing intermediate container f7bf2a38e632 [2023-03-23T12:22:42.267Z] ---> 9fe5f0301968 [2023-03-23T12:22:42.267Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-23T12:22:42.536Z] ---> Running in aba415450046 [2023-03-23T12:22:42.804Z] Removing intermediate container aba415450046 [2023-03-23T12:22:42.804Z] ---> e6688f4fbfc9 [2023-03-23T12:22:42.804Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-23T12:22:42.804Z] ---> Running in 9f9eca5db492 [2023-03-23T12:22:43.084Z] Removing intermediate container 9f9eca5db492 [2023-03-23T12:22:43.084Z] ---> bf1b8a2e784f [2023-03-23T12:22:43.084Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-23T12:22:43.352Z] ---> Running in fe3ab2825afa [2023-03-23T12:22:44.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-23T12:22:44.904Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-23T12:22:46.318Z] OK: 263 MiB in 53 packages [2023-03-23T12:22:47.289Z] Removing intermediate container fe3ab2825afa [2023-03-23T12:22:47.289Z] ---> 1da5e8b61200 [2023-03-23T12:22:47.289Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-23T12:22:47.556Z] ---> 873378e0b65d [2023-03-23T12:22:47.556Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-23T12:22:47.556Z] ---> Running in ae43f30139a4 [2023-03-23T12:22:51.011Z] Removing intermediate container ae43f30139a4 [2023-03-23T12:22:51.011Z] ---> 10b3719668c6 [2023-03-23T12:22:51.011Z] Step 9/23 : COPY . . [2023-03-23T12:22:52.037Z] ---> 5c5a475445dd [2023-03-23T12:22:52.037Z] Step 10/23 : RUN ${MAKE} [2023-03-23T12:22:52.037Z] ---> Running in 252c410ea31a [2023-03-23T12:22:53.058Z] 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-23T12:25:14.791Z] Removing intermediate container 252c410ea31a [2023-03-23T12:25:14.791Z] ---> 8d933b34ed68 [2023-03-23T12:25:14.791Z] Step 11/23 : FROM alpine:3.17 [2023-03-23T12:25:14.791Z] 3.17: Pulling from library/alpine [2023-03-23T12:25:14.791Z] af6eaf76a39c: Already exists [2023-03-23T12:25:14.791Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-23T12:25:14.791Z] Status: Downloaded newer image for alpine:3.17 [2023-03-23T12:25:14.791Z] ---> d74e625d9115 [2023-03-23T12:25:14.791Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-23T12:25:14.791Z] ---> Running in b48e1f9aa4ff [2023-03-23T12:25:15.060Z] Removing intermediate container b48e1f9aa4ff [2023-03-23T12:25:15.060Z] ---> 04c7f44f4bcc [2023-03-23T12:25:15.060Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-23T12:25:15.060Z] ---> Running in 2dba22226024 [2023-03-23T12:25:16.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-23T12:25:16.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-23T12:25:17.709Z] OK: 7 MiB in 15 packages [2023-03-23T12:25:18.669Z] Removing intermediate container 2dba22226024 [2023-03-23T12:25:18.669Z] ---> 3830665efefb [2023-03-23T12:25:18.669Z] Step 14/23 : WORKDIR / [2023-03-23T12:25:18.669Z] ---> Running in 8ea446effd9f [2023-03-23T12:25:18.935Z] Removing intermediate container 8ea446effd9f [2023-03-23T12:25:18.935Z] ---> 5ba3dc636825 [2023-03-23T12:25:18.935Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-23T12:25:19.521Z] ---> 184443e128e0 [2023-03-23T12:25:19.521Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-23T12:25:20.925Z] ---> ce8d22a2967b [2023-03-23T12:25:20.926Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-23T12:25:21.193Z] ---> aff0b88e0fd2 [2023-03-23T12:25:21.193Z] Step 18/23 : EXPOSE 59999 [2023-03-23T12:25:21.460Z] ---> Running in 1bc22f6a10f2 [2023-03-23T12:25:21.728Z] Removing intermediate container 1bc22f6a10f2 [2023-03-23T12:25:21.728Z] ---> fa58bd16bd0b [2023-03-23T12:25:21.728Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-23T12:25:21.728Z] ---> Running in ce2ccb134762 [2023-03-23T12:25:21.994Z] Removing intermediate container ce2ccb134762 [2023-03-23T12:25:21.994Z] ---> 1cf255110b82 [2023-03-23T12:25:21.994Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-23T12:25:21.994Z] ---> Running in 8747fe48cf3e [2023-03-23T12:25:22.271Z] Removing intermediate container 8747fe48cf3e [2023-03-23T12:25:22.271Z] ---> ba162d42296b [2023-03-23T12:25:22.271Z] Step 21/23 : LABEL arch=arm64 [2023-03-23T12:25:22.271Z] ---> Running in ba944e16e2a9 [2023-03-23T12:25:22.547Z] Removing intermediate container ba944e16e2a9 [2023-03-23T12:25:22.547Z] ---> f8aedbca7bc3 [2023-03-23T12:25:22.547Z] Step 22/23 : LABEL git_sha=c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 [2023-03-23T12:25:22.817Z] ---> Running in d8685888848d [2023-03-23T12:25:23.086Z] Removing intermediate container d8685888848d [2023-03-23T12:25:23.086Z] ---> 66b942ecc104 [2023-03-23T12:25:23.086Z] Step 23/23 : LABEL version=0.0.0 [2023-03-23T12:25:23.086Z] ---> Running in 840c6a45f3ee [2023-03-23T12:25:23.354Z] Removing intermediate container 840c6a45f3ee [2023-03-23T12:25:23.354Z] ---> 01db4086936d [2023-03-23T12:25:23.354Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-23T12:25:23.354Z] Successfully built 01db4086936d [2023-03-23T12:25:23.354Z] 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-23T12:25:23.783Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-23T12:25:23.783Z] [2023-03-23T12:25:23.783Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T12:25:24.121Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-23T12:25:24.389Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-23T12:25:24.389Z] 8998bd30e6a1: Pulling fs layer [2023-03-23T12:25:24.389Z] 04944245beec: Pulling fs layer [2023-03-23T12:25:24.389Z] 699f458cf7ca: Pulling fs layer [2023-03-23T12:25:24.389Z] 765212b225bb: Pulling fs layer [2023-03-23T12:25:24.389Z] f23df028b6ca: Pulling fs layer [2023-03-23T12:25:24.389Z] d65c8cfc05b1: Pulling fs layer [2023-03-23T12:25:24.389Z] 2437ff75d9bd: Pulling fs layer [2023-03-23T12:25:24.389Z] 765212b225bb: Waiting [2023-03-23T12:25:24.389Z] d65c8cfc05b1: Waiting [2023-03-23T12:25:24.389Z] 2437ff75d9bd: Waiting [2023-03-23T12:25:24.389Z] f23df028b6ca: Waiting [2023-03-23T12:25:24.389Z] 04944245beec: Verifying Checksum [2023-03-23T12:25:24.389Z] 04944245beec: Download complete [2023-03-23T12:25:24.389Z] 765212b225bb: Verifying Checksum [2023-03-23T12:25:24.389Z] 765212b225bb: Download complete [2023-03-23T12:25:24.389Z] f23df028b6ca: Verifying Checksum [2023-03-23T12:25:24.389Z] f23df028b6ca: Download complete [2023-03-23T12:25:24.659Z] d65c8cfc05b1: Verifying Checksum [2023-03-23T12:25:24.659Z] d65c8cfc05b1: Download complete [2023-03-23T12:25:24.659Z] 699f458cf7ca: Verifying Checksum [2023-03-23T12:25:24.659Z] 699f458cf7ca: Download complete [2023-03-23T12:25:24.927Z] 8998bd30e6a1: Download complete [2023-03-23T12:25:27.508Z] 2437ff75d9bd: Verifying Checksum [2023-03-23T12:25:27.508Z] 2437ff75d9bd: Download complete [2023-03-23T12:25:28.922Z] 8998bd30e6a1: Pull complete [2023-03-23T12:25:29.509Z] 04944245beec: Pull complete [2023-03-23T12:25:30.470Z] 699f458cf7ca: Pull complete [2023-03-23T12:25:30.737Z] 765212b225bb: Pull complete [2023-03-23T12:25:31.703Z] f23df028b6ca: Pull complete [2023-03-23T12:25:31.703Z] d65c8cfc05b1: Pull complete [2023-03-23T12:25:46.694Z] 2437ff75d9bd: Pull complete [2023-03-23T12:25:46.694Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-23T12:25:46.694Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-23T12:25:46.694Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T12:25:46.890Z] prd-ubuntu20.04-docker-arm64-4c-16g-5456 does not seem to be running inside a container [2023-03-23T12:25:46.960Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-23T12:25:49.701Z] $ docker top 57afe944015e4605711b6f14fe38d9f8fcdff7d24c12744a37298dd7bb9b385c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T12:25:50.219Z] ---> job-cost.sh [2023-03-23T12:25:50.489Z] lf-activate-venv: SKIPPING [2023-03-23T12:25:50.489Z] INFO: No Stack... [2023-03-23T12:25:50.757Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-23T12:25:51.714Z] INFO: Archiving Costs [Pipeline] sh [2023-03-23T12:25:52.032Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2023-03-23T12:25:52.032Z] + cut -d, -f6 [Pipeline] lock [2023-03-23T12:25:52.361Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1395-4-stack-cost] [2023-03-23T12:25:52.367Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1395-4-stack-cost] did not exist. Created. [2023-03-23T12:25:52.367Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1395-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-23T12:25:52.699Z] /w/workspace/device-sdk-go/4@tmp/durable-2f56d105/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-23T12:25:53.032Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-23T12:25:53.053Z] Warning: overwriting stash ‘stack-cost’ [2023-03-23T12:25:53.120Z] Stashed 1 file(s) [Pipeline] } [2023-03-23T12:25:53.126Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1395-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-23T12:25:53.139Z] $ docker stop --time=1 57afe944015e4605711b6f14fe38d9f8fcdff7d24c12744a37298dd7bb9b385c [2023-03-23T12:25:54.949Z] $ docker rm -f --volumes 57afe944015e4605711b6f14fe38d9f8fcdff7d24c12744a37298dd7bb9b385c [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-23T12:25:55.334Z] provisioning config files... [2023-03-23T12:25:55.340Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/config652092550596697080tmp [Pipeline] { [Pipeline] sh [2023-03-23T12:25:55.633Z] + set +x [2023-03-23T12:25:55.633Z] + curl -s https://codecov.io/bash [2023-03-23T12:25:55.633Z] + bash -s -- [2023-03-23T12:25:55.633Z] [2023-03-23T12:25:55.633Z] _____ _ [2023-03-23T12:25:55.633Z] / ____| | | [2023-03-23T12:25:55.633Z] | | ___ __| | ___ ___ _____ __ [2023-03-23T12:25:55.633Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-23T12:25:55.633Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-23T12:25:55.633Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-23T12:25:55.633Z] Bash-1.0.6 [2023-03-23T12:25:55.633Z] [2023-03-23T12:25:55.633Z] [2023-03-23T12:25:55.633Z] ==> git version 2.25.1 found [2023-03-23T12:25:55.633Z] ==> 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-23T12:25:55.633Z] Release-Date: 2020-01-08 [2023-03-23T12:25:55.633Z] 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-23T12:25:55.633Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-23T12:25:55.633Z] ==> Jenkins CI detected. [2023-03-23T12:25:55.633Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1395 [2023-03-23T12:25:55.633Z] project root: . [2023-03-23T12:25:55.633Z] --> token set from env [2023-03-23T12:25:55.633Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-23T12:25:55.633Z] ==> Running gcov in . (disable via -X gcov) [2023-03-23T12:25:55.633Z] ==> Python coveragepy not found [2023-03-23T12:25:55.633Z] ==> Searching for coverage reports in: [2023-03-23T12:25:55.633Z] + . [2023-03-23T12:25:55.633Z] -> Found 1 reports [2023-03-23T12:25:55.633Z] ==> Detecting git/mercurial file structure [2023-03-23T12:25:55.633Z] ==> Reading reports [2023-03-23T12:25:55.633Z] + ./coverage.out bytes=105658 [2023-03-23T12:25:55.633Z] ==> Appending adjustments [2023-03-23T12:25:55.633Z] https://docs.codecov.io/docs/fixing-reports [2023-03-23T12:25:55.891Z] + Found adjustments [2023-03-23T12:25:55.891Z] ==> Gzipping contents [2023-03-23T12:25:55.891Z] 16K /tmp/codecov.RkuS3U.gz [2023-03-23T12:25:55.891Z] ==> Uploading reports [2023-03-23T12:25:55.891Z] url: https://codecov.io [2023-03-23T12:25:55.891Z] query: branch=PR-1395&commit=c0547ce26adfd38f73c3deaa266ae8ca76fe60d0&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1395%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1395&job=&cmd_args= [2023-03-23T12:25:55.891Z] -> Pinging Codecov [2023-03-23T12:25:55.891Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1395&commit=c0547ce26adfd38f73c3deaa266ae8ca76fe60d0&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1395%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1395&job=&cmd_args= [2023-03-23T12:25:56.151Z] -> Uploading to [2023-03-23T12:25:56.151Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-23/7E55EF52A471D76F132DFD9A03CDDE97/c0547ce26adfd38f73c3deaa266ae8ca76fe60d0/5c592fcb-a6ba-4c08-bf53-8115d826c602.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230323%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230323T122555Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d41f46da60989a265c4587e50fcf3ca4598e21781e19bbcd499aa6aa7af67703 [2023-03-23T12:25:56.151Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-23T12:25:56.151Z] Dload Upload Total Spent Left Speed [2023-03-23T12:25:56.411Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14957 0 0 100 14957 0 54587 --:--:-- --:--:-- --:--:-- 54587 [2023-03-23T12:25:56.411Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c0547ce26adfd38f73c3deaa266ae8ca76fe60d0 [Pipeline] } [2023-03-23T12:25:56.418Z] 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-23T12:25:57.100Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives ] [2023-03-23T12:25:57.101Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives [2023-03-23T12:25:57.101Z] total 16 [2023-03-23T12:25:57.101Z] drwxr-xr-x 3 root root 4096 Mar 23 12:13 . [2023-03-23T12:25:57.101Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 23 12:13 .. [2023-03-23T12:25:57.101Z] drwxr-xr-x 2 root root 4096 Mar 23 12:13 cost [2023-03-23T12:25:57.101Z] -rw-r--r-- 1 root root 86 Mar 23 12:13 cost.csv [2023-03-23T12:25:57.101Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives [2023-03-23T12:25:57.101Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives [2023-03-23T12:25:57.101Z] total 16 [2023-03-23T12:25:57.101Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 12:13 . [2023-03-23T12:25:57.101Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 23 12:13 .. [2023-03-23T12:25:57.101Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 23 12:13 cost [2023-03-23T12:25:57.101Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 23 12:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-23T12:25:57.387Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T12:25:58.243Z] ---> package-listing.sh [2023-03-23T12:25:58.243Z] ++ facter osfamily [2023-03-23T12:25:58.243Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-23T12:25:58.502Z] + OS_FAMILY=debian [2023-03-23T12:25:58.502Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1395 [2023-03-23T12:25:58.502Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-23T12:25:58.502Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-23T12:25:58.502Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-23T12:25:58.502Z] + PACKAGES=/tmp/packages_start.txt [2023-03-23T12:25:58.502Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1395 ']' [2023-03-23T12:25:58.502Z] + PACKAGES=/tmp/packages_end.txt [2023-03-23T12:25:58.502Z] + case "${OS_FAMILY}" in [2023-03-23T12:25:58.502Z] + dpkg -l [2023-03-23T12:25:58.502Z] + grep '^ii' [2023-03-23T12:25:58.502Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-23T12:25:58.502Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-23T12:25:58.502Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-23T12:25:58.502Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1395 ']' [2023-03-23T12:25:58.502Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives/ [2023-03-23T12:25:58.502Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives/ [Pipeline] echo [2023-03-23T12:25:58.511Z] 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-1395/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-23T12:25:58.791Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T12:25:59.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T12:25:59.345Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T12:25:59.412Z] prd-ubuntu20.04-docker-8c-8g-5454 does not seem to be running inside a container [2023-03-23T12:25:59.461Z] $ 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-1395/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-1395 -v /w/workspace/gexfoundry_device-sdk-go_PR-1395:/w/workspace/gexfoundry_device-sdk-go_PR-1395:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1395@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-23T12:25:59.682Z] $ docker top 6dc18279e03fcb6208503d404bfcf798968a83ac087a560695e6258cac691a1c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T12:26:00.006Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-23T12:26:00.291Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-23T12:26:00.575Z] + ls /var/log/sa-host [2023-03-23T12:26:00.575Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-23T12:26:00.645Z] provisioning config files... [2023-03-23T12:26:00.654Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/config1315738537792763106tmp [Pipeline] { [Pipeline] echo [2023-03-23T12:26:00.666Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T12:26:00.946Z] ---> create-netrc.sh [Pipeline] } [2023-03-23T12:26:00.953Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-23T12:26:01.294Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-23T12:26:01.302Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T12:26:01.584Z] ---> sudo-logs.sh [2023-03-23T12:26:01.584Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-23T12:26:01.612Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T12:26:01.892Z] ---> job-cost.sh [2023-03-23T12:26:01.892Z] lf-activate-venv: SKIPPING [2023-03-23T12:26:01.892Z] DEBUG: total: 0.2199999988079071 [2023-03-23T12:26:01.892Z] INFO: Retrieving Stack Cost... [2023-03-23T12:26:02.151Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-23T12:26:02.719Z] INFO: Archiving Costs [Pipeline] echo [2023-03-23T12:26:02.730Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T12:26:03.013Z] ---> logs-deploy.sh [2023-03-23T12:26:03.013Z] lf-activate-venv: SKIPPING [2023-03-23T12:26:03.013Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1395/4 [2023-03-23T12:26:03.013Z] INFO: archiving workspace using pattern(s): [2023-03-23T12:26:03.947Z] Archives upload complete. [2023-03-23T12:26:03.947Z] INFO: archiving logs to Nexus