Pull request #1391 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 4c78050fc70b733cd627e11bc3f887100bb2ef6f rather than 8f5fed348107c326f39d28688835643cfeecd7b7 Obtained Jenkinsfile from 4c78050fc70b733cd627e11bc3f887100bb2ef6f 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-ssh10098466730977937307.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-ssh13968571457324714890.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-1391/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-1391/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12494838207406353939.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-ssh14062971021515475116.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-1391/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-1391/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5778580336054993094.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4592 in /w/workspace/gexfoundry_device-sdk-go_PR-1391 [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-1391 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1391/head:refs/remotes/origin/PR-1391 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4c78050fc70b733cd627e11bc3f887100bb2ef6f into PR head commit 8f5fed348107c326f39d28688835643cfeecd7b7 Merge succeeded, producing 8f5fed348107c326f39d28688835643cfeecd7b7 Checking out Revision 8f5fed348107c326f39d28688835643cfeecd7b7 (PR-1391) > git config core.sparsecheckout # timeout=10 > git checkout -f 8f5fed348107c326f39d28688835643cfeecd7b7 # 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 4c78050fc70b733cd627e11bc3f887100bb2ef6f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f5fed348107c326f39d28688835643cfeecd7b7 # timeout=10 Commit message: "feat!: Make All ProtocolDriver interface API implementations required" First time build. Skipping changelog. > git rev-list --no-walk 430d3b2d03611e3785da92dbca5632bee775ca1c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-20T15:51:17.088Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-20T15:51:17.152Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-20T15:51:17.172Z] ========================================================= [2023-03-20T15:51:17.172Z] EdgeX Global Pipelines Version Info [2023-03-20T15:51:17.172Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-20T15:51:18.256Z] ------------------- [2023-03-20T15:51:18.257Z] stable info: [2023-03-20T15:51:18.257Z] ------------------- [2023-03-20T15:51:18.257Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-20T15:51:18.257Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-20T15:51:18.257Z] Message: update stable to v1.0.245 [2023-03-20T15:51:18.518Z] ------------------- [2023-03-20T15:51:18.518Z] experimental info: [2023-03-20T15:51:18.518Z] ------------------- [2023-03-20T15:51:18.518Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-20T15:51:18.518Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-20T15:51:18.518Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-20T15:51:18.697Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-20T15:51:18.706Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-20T15:51:18.713Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-20T15:51:18.721Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-20T15:51:18.730Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-20T15:51:18.738Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-20T15:51:18.749Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-20T15:51:18.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-20T15:51:18.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-20T15:51:18.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-20T15:51:18.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-20T15:51:18.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-20T15:51:18.810Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-20T15:51:18.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-20T15:51:18.833Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-20T15:51:18.844Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-20T15:51:18.856Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-20T15:51:18.869Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-20T15:51:18.884Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-20T15:51:18.898Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-20T15:51:18.909Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-20T15:51:18.919Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-20T15:51:18.929Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-20T15:51:18.939Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-20T15:51:18.948Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-20T15:51:18.958Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-20T15:51:18.968Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-20T15:51:18.986Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1391 [Pipeline] echo [2023-03-20T15:51:19.004Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1391 [Pipeline] echo [2023-03-20T15:51:19.020Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1391 [Pipeline] echo [2023-03-20T15:51:19.034Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f5fed348107c326f39d28688835643cfeecd7b7 [Pipeline] echo [2023-03-20T15:51:19.043Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f5fed3 [Pipeline] echo [2023-03-20T15:51:19.051Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-20T15:51:19.090Z] provisioning config files... [2023-03-20T15:51:19.105Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config5515541381389550589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T15:51:19.407Z] ---> docker-login.sh [2023-03-20T15:51:19.407Z] nexus3.edgexfoundry.org:10001 [2023-03-20T15:51:19.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T15:51:19.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T15:51:19.689Z] Configure a credential helper to remove this warning. See [2023-03-20T15:51:19.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T15:51:19.689Z] [2023-03-20T15:51:19.689Z] Login Succeeded [2023-03-20T15:51:19.689Z] nexus3.edgexfoundry.org:10002 [2023-03-20T15:51:19.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T15:51:19.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T15:51:19.951Z] Configure a credential helper to remove this warning. See [2023-03-20T15:51:19.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T15:51:19.951Z] [2023-03-20T15:51:19.951Z] Login Succeeded [2023-03-20T15:51:19.951Z] nexus3.edgexfoundry.org:10003 [2023-03-20T15:51:19.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T15:51:19.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T15:51:19.951Z] Configure a credential helper to remove this warning. See [2023-03-20T15:51:19.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T15:51:19.951Z] [2023-03-20T15:51:19.951Z] Login Succeeded [2023-03-20T15:51:19.951Z] nexus3.edgexfoundry.org:10004 [2023-03-20T15:51:20.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T15:51:20.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T15:51:20.221Z] Configure a credential helper to remove this warning. See [2023-03-20T15:51:20.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T15:51:20.221Z] [2023-03-20T15:51:20.221Z] Login Succeeded [2023-03-20T15:51:20.221Z] docker.io [2023-03-20T15:51:20.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T15:51:20.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T15:51:20.482Z] Configure a credential helper to remove this warning. See [2023-03-20T15:51:20.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T15:51:20.482Z] [2023-03-20T15:51:20.482Z] Login Succeeded [2023-03-20T15:51:20.482Z] ---> docker-login.sh ends [Pipeline] } [2023-03-20T15:51:20.489Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-20T15:51:20.871Z] + git rev-list -1 --merges 8f5fed348107c326f39d28688835643cfeecd7b7~1..8f5fed348107c326f39d28688835643cfeecd7b7 [Pipeline] echo [2023-03-20T15:51:20.923Z] -----------> git rev-list -1 --merges 8f5fed348107c326f39d28688835643cfeecd7b7~1..8f5fed348107c326f39d28688835643cfeecd7b7 8f5fed348107c326f39d28688835643cfeecd7b7 [false] [Pipeline] sh [2023-03-20T15:51:21.216Z] + git log --format=format:%s -1 8f5fed348107c326f39d28688835643cfeecd7b7 [Pipeline] echo [2023-03-20T15:51:21.236Z] ========================================================= [2023-03-20T15:51:21.236Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-20T15:51:21.236Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-20T15:51:21.564Z] + git log --format=format:%s -1 8f5fed348107c326f39d28688835643cfeecd7b7 [Pipeline] echo [2023-03-20T15:51:21.575Z] [semverPrep] GIT_COMMIT: 8f5fed348107c326f39d28688835643cfeecd7b7, Commit Message: feat!: Make All ProtocolDriver interface API implementations required [Pipeline] echo [2023-03-20T15:51:21.585Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-20T15:51:21.957Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-20T15:51:21.957Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-20T15:51:21.957Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-20T15:51:21.957Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-20T15:51:21.957Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-20T15:51:21.957Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-20T15:51:21.957Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T15:51:22.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-20T15:51:22.420Z] [2023-03-20T15:51:22.420Z] 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-20T15:51:22.721Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-20T15:51:22.721Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-20T15:51:22.721Z] b85a868b505f: Pulling fs layer [2023-03-20T15:51:22.721Z] e2be974225ed: Pulling fs layer [2023-03-20T15:51:22.721Z] 339a4e72a1f5: Pulling fs layer [2023-03-20T15:51:22.721Z] 988bab9f4d93: Pulling fs layer [2023-03-20T15:51:22.721Z] 1469e6f7b9e6: Pulling fs layer [2023-03-20T15:51:22.721Z] eaf3925da568: Pulling fs layer [2023-03-20T15:51:22.721Z] bab4dde63d76: Pulling fs layer [2023-03-20T15:51:22.721Z] bde34c3a00c8: Pulling fs layer [2023-03-20T15:51:22.721Z] b352a97aabf1: Pulling fs layer [2023-03-20T15:51:22.721Z] 4872d77fe225: Pulling fs layer [2023-03-20T15:51:22.721Z] 5851b861e8e6: Pulling fs layer [2023-03-20T15:51:22.721Z] 1469e6f7b9e6: Waiting [2023-03-20T15:51:22.721Z] bab4dde63d76: Waiting [2023-03-20T15:51:22.721Z] eaf3925da568: Waiting [2023-03-20T15:51:22.721Z] 4872d77fe225: Waiting [2023-03-20T15:51:22.721Z] bde34c3a00c8: Waiting [2023-03-20T15:51:22.721Z] 5851b861e8e6: Waiting [2023-03-20T15:51:22.721Z] 988bab9f4d93: Waiting [2023-03-20T15:51:22.721Z] b352a97aabf1: Waiting [2023-03-20T15:51:22.721Z] e2be974225ed: Verifying Checksum [2023-03-20T15:51:22.721Z] e2be974225ed: Download complete [2023-03-20T15:51:22.721Z] 988bab9f4d93: Download complete [2023-03-20T15:51:22.981Z] 339a4e72a1f5: Verifying Checksum [2023-03-20T15:51:22.981Z] 339a4e72a1f5: Download complete [2023-03-20T15:51:22.981Z] 1469e6f7b9e6: Verifying Checksum [2023-03-20T15:51:22.981Z] 1469e6f7b9e6: Download complete [2023-03-20T15:51:22.981Z] eaf3925da568: Verifying Checksum [2023-03-20T15:51:22.981Z] eaf3925da568: Download complete [2023-03-20T15:51:22.981Z] bde34c3a00c8: Verifying Checksum [2023-03-20T15:51:22.981Z] bde34c3a00c8: Download complete [2023-03-20T15:51:22.981Z] b352a97aabf1: Download complete [2023-03-20T15:51:22.981Z] 4872d77fe225: Verifying Checksum [2023-03-20T15:51:22.981Z] 4872d77fe225: Download complete [2023-03-20T15:51:22.981Z] 5851b861e8e6: Verifying Checksum [2023-03-20T15:51:22.981Z] 5851b861e8e6: Download complete [2023-03-20T15:51:22.981Z] b85a868b505f: Verifying Checksum [2023-03-20T15:51:22.981Z] b85a868b505f: Download complete [2023-03-20T15:51:23.239Z] bab4dde63d76: Verifying Checksum [2023-03-20T15:51:23.239Z] bab4dde63d76: Download complete [2023-03-20T15:51:24.620Z] b85a868b505f: Pull complete [2023-03-20T15:51:24.620Z] e2be974225ed: Pull complete [2023-03-20T15:51:25.187Z] 339a4e72a1f5: Pull complete [2023-03-20T15:51:25.187Z] 988bab9f4d93: Pull complete [2023-03-20T15:51:25.447Z] 1469e6f7b9e6: Pull complete [2023-03-20T15:51:25.447Z] eaf3925da568: Pull complete [2023-03-20T15:51:27.372Z] bab4dde63d76: Pull complete [2023-03-20T15:51:27.372Z] bde34c3a00c8: Pull complete [2023-03-20T15:51:27.644Z] b352a97aabf1: Pull complete [2023-03-20T15:51:27.644Z] 4872d77fe225: Pull complete [2023-03-20T15:51:27.644Z] 5851b861e8e6: Pull complete [2023-03-20T15:51:27.905Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-20T15:51:27.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-20T15:51:27.905Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T15:51:28.008Z] prd-ubuntu20.04-docker-8c-8g-4592 does not seem to be running inside a container [2023-03-20T15:51:28.051Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@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-devops/py-git-semver:0.1.4 cat [2023-03-20T15:51:30.700Z] $ docker top 296932ab9ca11f499f8e8dd131c31cafa7c6523e6ff140f02e38eea5e5498059 -eo pid,comm [2023-03-20T15:51:30.754Z] 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-20T15:51:30.754Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-20T15:51:30.788Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-20T15:51:30.788Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-20T15:51:30.915Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-20T15:51:30.922Z] $ docker exec 296932ab9ca11f499f8e8dd131c31cafa7c6523e6ff140f02e38eea5e5498059 ssh-agent [2023-03-20T15:51:31.042Z] SSH_AUTH_SOCK=/tmp/ssh-ceXUZT95OneQ/agent.32 [2023-03-20T15:51:31.042Z] SSH_AGENT_PID=38 [2023-03-20T15:51:31.049Z] Running ssh-add (command line suppressed) [2023-03-20T15:51:31.165Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_6375852432273317901.key (/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_6375852432273317901.key) [2023-03-20T15:51:31.175Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-20T15:51:31.464Z] + git tag --points-at HEAD [Pipeline] } [2023-03-20T15:51:31.479Z] $ docker exec --env ******** --env ******** 296932ab9ca11f499f8e8dd131c31cafa7c6523e6ff140f02e38eea5e5498059 ssh-agent -k [2023-03-20T15:51:31.575Z] unset SSH_AUTH_SOCK; [2023-03-20T15:51:31.576Z] unset SSH_AGENT_PID; [2023-03-20T15:51:31.576Z] echo Agent pid 38 killed; [2023-03-20T15:51:31.583Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-20T15:51:31.608Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-20T15:51:31.608Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-20T15:51:31.726Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-20T15:51:31.733Z] $ docker exec 296932ab9ca11f499f8e8dd131c31cafa7c6523e6ff140f02e38eea5e5498059 ssh-agent [2023-03-20T15:51:31.838Z] SSH_AUTH_SOCK=/tmp/ssh-UGTEW4rB7l6m/agent.70 [2023-03-20T15:51:31.838Z] SSH_AGENT_PID=77 [2023-03-20T15:51:31.842Z] Running ssh-add (command line suppressed) [2023-03-20T15:51:31.954Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_17903709726759141258.key (/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_17903709726759141258.key) [2023-03-20T15:51:31.966Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-20T15:51:32.255Z] + git semver init [2023-03-20T15:51:32.515Z] 2023-03-20 15:51:32,436 [run_init] DEBUG init version:0.0.0 force:False [2023-03-20T15:51:32.515Z] 2023-03-20 15:51:32,437 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver [2023-03-20T15:51:32.515Z] 2023-03-20 15:51:32,437 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver [2023-03-20T15:51:32.515Z] 2023-03-20 15:51:32,438 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1391, universal_newlines=False, shell=None, istream=None) [2023-03-20T15:51:33.560Z] 2023-03-20 15:51:33,495 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.git/info/exclude [2023-03-20T15:51:33.560Z] 2023-03-20 15:51:33,496 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver/PR-1391 with force:False [2023-03-20T15:51:33.560Z] 2023-03-20 15:51:33,496 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver/PR-1391 [2023-03-20T15:51:33.560Z] 2023-03-20 15:51:33,501 [execute] INFO git cat-file --batch-check [2023-03-20T15:51:33.560Z] 2023-03-20 15:51:33,501 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver, universal_newlines=False, shell=None, istream=) [2023-03-20T15:51:33.560Z] 2023-03-20 15:51:33,507 [execute] INFO git cat-file --batch [2023-03-20T15:51:33.560Z] 2023-03-20 15:51:33,507 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver, universal_newlines=False, shell=None, istream=) [2023-03-20T15:51:33.560Z] 2023-03-20 15:51:33,513 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver/PR-1391 [2023-03-20T15:51:33.560Z] 0.0.0 [Pipeline] } [2023-03-20T15:51:33.573Z] $ docker exec --env ******** --env ******** 296932ab9ca11f499f8e8dd131c31cafa7c6523e6ff140f02e38eea5e5498059 ssh-agent -k [2023-03-20T15:51:33.671Z] unset SSH_AUTH_SOCK; [2023-03-20T15:51:33.672Z] unset SSH_AGENT_PID; [2023-03-20T15:51:33.672Z] echo Agent pid 77 killed; [2023-03-20T15:51:33.684Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-20T15:51:33.997Z] + git semver [Pipeline] } [2023-03-20T15:51:34.274Z] $ docker stop --time=1 296932ab9ca11f499f8e8dd131c31cafa7c6523e6ff140f02e38eea5e5498059 [2023-03-20T15:51:35.608Z] $ docker rm -f --volumes 296932ab9ca11f499f8e8dd131c31cafa7c6523e6ff140f02e38eea5e5498059 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-20T15:51:35.946Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-20T15:51:36.149Z] Stashed 1 file(s) [Pipeline] echo [2023-03-20T15:51:36.151Z] [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-20T15:51:36.293Z] provisioning config files... [2023-03-20T15:51:36.302Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config16950996437299591642tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T15:51:36.603Z] ---> docker-login.sh [2023-03-20T15:51:36.603Z] nexus3.edgexfoundry.org:10001 [2023-03-20T15:51:36.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T15:51:36.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T15:51:36.603Z] Configure a credential helper to remove this warning. See [2023-03-20T15:51:36.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T15:51:36.603Z] [2023-03-20T15:51:36.603Z] Login Succeeded [2023-03-20T15:51:36.603Z] nexus3.edgexfoundry.org:10002 [2023-03-20T15:51:36.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T15:51:36.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T15:51:36.603Z] Configure a credential helper to remove this warning. See [2023-03-20T15:51:36.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T15:51:36.603Z] [2023-03-20T15:51:36.603Z] Login Succeeded [2023-03-20T15:51:36.603Z] nexus3.edgexfoundry.org:10003 [2023-03-20T15:51:36.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T15:51:36.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T15:51:36.862Z] Configure a credential helper to remove this warning. See [2023-03-20T15:51:36.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T15:51:36.862Z] [2023-03-20T15:51:36.862Z] Login Succeeded [2023-03-20T15:51:36.862Z] nexus3.edgexfoundry.org:10004 [2023-03-20T15:51:36.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T15:51:36.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T15:51:36.862Z] Configure a credential helper to remove this warning. See [2023-03-20T15:51:36.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T15:51:36.862Z] [2023-03-20T15:51:36.862Z] Login Succeeded [2023-03-20T15:51:36.862Z] docker.io [2023-03-20T15:51:37.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T15:51:37.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T15:51:37.121Z] Configure a credential helper to remove this warning. See [2023-03-20T15:51:37.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T15:51:37.121Z] [2023-03-20T15:51:37.121Z] Login Succeeded [2023-03-20T15:51:37.121Z] ---> docker-login.sh ends [Pipeline] } [2023-03-20T15:51:37.128Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-20T15:51:37.183Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T15:51:37.199Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T15:51:37.208Z] ========================================================= [2023-03-20T15:51:37.208Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-20T15:51:37.208Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T15:51:37.521Z] + 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-20T15:51:37.521Z] Sending build context to Docker daemon 10.77MB [2023-03-20T15:51:37.521Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-20T15:51:37.521Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-20T15:51:37.521Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-20T15:51:37.521Z] 63b65145d645: Pulling fs layer [2023-03-20T15:51:37.521Z] a2d21d5440eb: Pulling fs layer [2023-03-20T15:51:37.521Z] 935e6c44a52c: Pulling fs layer [2023-03-20T15:51:37.521Z] 94cc34f8dd06: Pulling fs layer [2023-03-20T15:51:37.521Z] 30dea6a524f1: Pulling fs layer [2023-03-20T15:51:37.521Z] a2aff8979fd8: Pulling fs layer [2023-03-20T15:51:37.521Z] 6808be2612f2: Pulling fs layer [2023-03-20T15:51:37.521Z] f25807f1079a: Pulling fs layer [2023-03-20T15:51:37.521Z] 30dea6a524f1: Waiting [2023-03-20T15:51:37.521Z] a2aff8979fd8: Waiting [2023-03-20T15:51:37.521Z] 6808be2612f2: Waiting [2023-03-20T15:51:37.521Z] f25807f1079a: Waiting [2023-03-20T15:51:37.521Z] 94cc34f8dd06: Waiting [2023-03-20T15:51:37.782Z] a2d21d5440eb: Verifying Checksum [2023-03-20T15:51:37.782Z] a2d21d5440eb: Download complete [2023-03-20T15:51:37.782Z] 94cc34f8dd06: Verifying Checksum [2023-03-20T15:51:37.782Z] 94cc34f8dd06: Download complete [2023-03-20T15:51:37.782Z] 30dea6a524f1: Verifying Checksum [2023-03-20T15:51:37.782Z] 30dea6a524f1: Download complete [2023-03-20T15:51:37.782Z] 63b65145d645: Verifying Checksum [2023-03-20T15:51:37.782Z] 63b65145d645: Download complete [2023-03-20T15:51:37.782Z] a2aff8979fd8: Verifying Checksum [2023-03-20T15:51:37.782Z] a2aff8979fd8: Download complete [2023-03-20T15:51:38.047Z] 63b65145d645: Pull complete [2023-03-20T15:51:38.047Z] a2d21d5440eb: Pull complete [2023-03-20T15:51:38.308Z] f25807f1079a: Verifying Checksum [2023-03-20T15:51:38.308Z] 935e6c44a52c: Verifying Checksum [2023-03-20T15:51:38.308Z] 935e6c44a52c: Download complete [2023-03-20T15:51:38.566Z] 6808be2612f2: Verifying Checksum [2023-03-20T15:51:38.566Z] 6808be2612f2: Download complete [2023-03-20T15:51:41.849Z] 935e6c44a52c: Pull complete [2023-03-20T15:51:42.109Z] 94cc34f8dd06: Pull complete [2023-03-20T15:51:42.109Z] 30dea6a524f1: Pull complete [2023-03-20T15:51:42.109Z] a2aff8979fd8: Pull complete [2023-03-20T15:51:44.667Z] 6808be2612f2: Pull complete [2023-03-20T15:51:45.237Z] f25807f1079a: Pull complete [2023-03-20T15:51:45.237Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-20T15:51:45.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-20T15:51:45.237Z] ---> 3b553350e43f [2023-03-20T15:51:45.237Z] Step 3/10 : ARG MAKE=make build [2023-03-20T15:51:49.436Z] ---> Running in c0eec962dc42 [2023-03-20T15:51:49.436Z] Removing intermediate container c0eec962dc42 [2023-03-20T15:51:49.436Z] ---> 22359a0403b7 [2023-03-20T15:51:49.436Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-20T15:51:49.436Z] ---> Running in 28799cbfd696 [2023-03-20T15:51:49.436Z] Removing intermediate container 28799cbfd696 [2023-03-20T15:51:49.436Z] ---> 19c1aafa7010 [2023-03-20T15:51:49.436Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-20T15:51:49.436Z] ---> Running in 6ed51a2c2023 [2023-03-20T15:51:49.436Z] Removing intermediate container 6ed51a2c2023 [2023-03-20T15:51:49.436Z] ---> b61aee7d901e [2023-03-20T15:51:49.436Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-20T15:51:49.436Z] ---> Running in f365977ff788 [2023-03-20T15:51:49.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-20T15:51:49.953Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-20T15:51:50.212Z] OK: 265 MiB in 53 packages [2023-03-20T15:51:50.470Z] Removing intermediate container f365977ff788 [2023-03-20T15:51:50.470Z] ---> 60c0958aabe0 [2023-03-20T15:51:50.470Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-20T15:51:50.470Z] ---> b7f0c86d262b [2023-03-20T15:51:50.470Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T15:51:50.470Z] ---> Running in 66e3dec94d04 [2023-03-20T15:51:51.256Z] Still waiting to schedule task [2023-03-20T15:51:51.256Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-20T15:52:30.484Z] Removing intermediate container 66e3dec94d04 [2023-03-20T15:52:30.484Z] ---> 06e890a19a06 [2023-03-20T15:52:30.484Z] Step 9/10 : COPY . . [2023-03-20T15:52:30.484Z] ---> 09d6eb8e221e [2023-03-20T15:52:30.484Z] Step 10/10 : RUN ${MAKE} [2023-03-20T15:52:30.484Z] ---> Running in ed1ac5dd367e [2023-03-20T15:52:30.484Z] noop [2023-03-20T15:52:30.484Z] Removing intermediate container ed1ac5dd367e [2023-03-20T15:52:30.484Z] ---> 996b0395ea7f [2023-03-20T15:52:30.484Z] Successfully built 996b0395ea7f [2023-03-20T15:52:30.484Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T15:52:30.789Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-20T15:52:30.789Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T15:52:30.850Z] prd-ubuntu20.04-docker-8c-8g-4592 does not seem to be running inside a container [2023-03-20T15:52:30.882Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-20T15:52:31.223Z] $ docker top 05c853231a22b87e4124c73ab53a8a474691f811ec444ed71d7f766eb506e333 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T15:52:31.548Z] + go version [2023-03-20T15:52:31.548Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-20T15:52:31.564Z] $ docker stop --time=1 05c853231a22b87e4124c73ab53a8a474691f811ec444ed71d7f766eb506e333 [2023-03-20T15:52:32.830Z] $ docker rm -f --volumes 05c853231a22b87e4124c73ab53a8a474691f811ec444ed71d7f766eb506e333 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T15:52:33.219Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-20T15:52:33.219Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T15:52:33.278Z] prd-ubuntu20.04-docker-8c-8g-4592 does not seem to be running inside a container [2023-03-20T15:52:33.311Z] $ 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-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-20T15:52:33.647Z] $ docker top 40537e2d1356027e80401804ef4ad03f5aa4427ea6593dd32cd64bc0954e8e38 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T15:52:33.980Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1391 [Pipeline] fileExists [Pipeline] sh [2023-03-20T15:52:34.276Z] + make test [2023-03-20T15:52:34.276Z] go test -race -coverprofile=coverage.out ./... [2023-03-20T15:52:40.842Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-20T15:52:55.709Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-20T15:52:55.709Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-20T15:52:55.709Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-20T15:52:55.709Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-20T15:52:55.709Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-20T15:52:55.709Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.069s coverage: 27.6% of statements [2023-03-20T15:52:55.709Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-20T15:52:55.709Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-20T15:52:55.709Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.059s coverage: 78.9% of statements [2023-03-20T15:52:55.709Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.082s coverage: 86.0% of statements [2023-03-20T15:52:55.709Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-20T15:52:55.709Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.123s coverage: 77.6% of statements [2023-03-20T15:52:55.709Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-20T15:52:55.709Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-20T15:52:55.709Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-20T15:52:56.276Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-20T15:52:58.812Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.070s coverage: 14.9% of statements [2023-03-20T15:52:58.812Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.066s coverage: 65.7% of statements [2023-03-20T15:52:58.812Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.116s coverage: 89.2% of statements [2023-03-20T15:52:58.812Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.6% of statements [2023-03-20T15:53:16.893Z] GO111MODULE=on go vet ./... [2023-03-20T15:53:20.189Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-20T15:53:20.189Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-20T15:53:20.189Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-20T15:53:20.202Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-20T15:53:20.219Z] $ docker stop --time=1 40537e2d1356027e80401804ef4ad03f5aa4427ea6593dd32cd64bc0954e8e38 [2023-03-20T15:53:24.977Z] $ docker rm -f --volumes 40537e2d1356027e80401804ef4ad03f5aa4427ea6593dd32cd64bc0954e8e38 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-20T15:53:25.465Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-20T15:53:25.525Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-20T15:53:26.021Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-20T15:53:26.304Z] + ls -al . [2023-03-20T15:53:26.304Z] total 276 [2023-03-20T15:53:26.304Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 20 15:52 . [2023-03-20T15:53:26.304Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 15:51 .. [2023-03-20T15:53:26.304Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 20 15:51 .dockerignore [2023-03-20T15:53:26.304Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 15:51 .git [2023-03-20T15:53:26.304Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 15:51 .github [2023-03-20T15:53:26.304Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 20 15:51 .gitignore [2023-03-20T15:53:26.304Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 15:51 .golangci.yml [2023-03-20T15:53:26.304Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 15:51 .semver [2023-03-20T15:53:26.304Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 20 15:51 CHANGELOG.md [2023-03-20T15:53:26.304Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 15:51 GOVERNANCE.md [2023-03-20T15:53:26.304Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 20 15:51 Jenkinsfile [2023-03-20T15:53:26.304Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 20 15:51 LICENSE [2023-03-20T15:53:26.304Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 20 15:51 Makefile [2023-03-20T15:53:26.304Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 20 15:51 OWNERS.md [2023-03-20T15:53:26.304Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 20 15:51 README.md [2023-03-20T15:53:26.304Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 15:51 VERSION [2023-03-20T15:53:26.304Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 15:51 bin [2023-03-20T15:53:26.304Z] -rw-r--r-- 1 jenkins jenkins 108765 Mar 20 15:52 coverage.out [2023-03-20T15:53:26.304Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 20 15:51 example [2023-03-20T15:53:26.304Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 20 15:51 go.mod [2023-03-20T15:53:26.304Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 20 15:51 go.sum [2023-03-20T15:53:26.304Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 20 15:51 internal [2023-03-20T15:53:26.304Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 15:51 openapi [2023-03-20T15:53:26.304Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 15:51 pkg [2023-03-20T15:53:26.304Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 15:51 snap [2023-03-20T15:53:26.304Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 20 15:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T15:53:26.607Z] + 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=8f5fed348107c326f39d28688835643cfeecd7b7 --label arch=amd64 --label version=0.0.0 . [2023-03-20T15:53:26.607Z] Sending build context to Docker daemon 10.88MB [2023-03-20T15:53:26.607Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-20T15:53:26.607Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-20T15:53:26.608Z] ---> 996b0395ea7f [2023-03-20T15:53:26.608Z] Step 3/23 : ARG MAKE=make build [2023-03-20T15:53:26.866Z] ---> Running in 2b42c0206318 [2023-03-20T15:53:26.866Z] Removing intermediate container 2b42c0206318 [2023-03-20T15:53:26.866Z] ---> 50fe84686308 [2023-03-20T15:53:26.866Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-20T15:53:26.866Z] ---> Running in 5eca41a4e213 [2023-03-20T15:53:26.866Z] Removing intermediate container 5eca41a4e213 [2023-03-20T15:53:26.866Z] ---> 3a04ea1ddee1 [2023-03-20T15:53:26.866Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-20T15:53:26.866Z] ---> Running in 714029fb3452 [2023-03-20T15:53:27.125Z] Removing intermediate container 714029fb3452 [2023-03-20T15:53:27.125Z] ---> 392e208cb2b2 [2023-03-20T15:53:27.125Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-20T15:53:27.125Z] ---> Running in bbdf4f97c488 [2023-03-20T15:53:27.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-20T15:53:27.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-20T15:53:27.641Z] OK: 265 MiB in 53 packages [2023-03-20T15:53:27.899Z] Removing intermediate container bbdf4f97c488 [2023-03-20T15:53:27.899Z] ---> 594b0ae45bfd [2023-03-20T15:53:27.899Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-20T15:53:27.899Z] ---> 15214f094dfd [2023-03-20T15:53:27.899Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T15:53:28.158Z] ---> Running in 7d2ee3c2fc4d [2023-03-20T15:53:28.724Z] Removing intermediate container 7d2ee3c2fc4d [2023-03-20T15:53:28.724Z] ---> a7a9512a208a [2023-03-20T15:53:28.724Z] Step 9/23 : COPY . . [2023-03-20T15:53:29.291Z] ---> f26837adb5d0 [2023-03-20T15:53:29.291Z] Step 10/23 : RUN ${MAKE} [2023-03-20T15:53:29.291Z] ---> Running in e96acdfe7a8e [2023-03-20T15:53:29.548Z] 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-20T15:53:51.709Z] Removing intermediate container e96acdfe7a8e [2023-03-20T15:53:51.709Z] ---> 2648aef24769 [2023-03-20T15:53:51.709Z] Step 11/23 : FROM alpine:3.17 [2023-03-20T15:53:51.709Z] 3.17: Pulling from library/alpine [2023-03-20T15:53:51.709Z] 63b65145d645: Already exists [2023-03-20T15:53:51.709Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-20T15:53:51.709Z] Status: Downloaded newer image for alpine:3.17 [2023-03-20T15:53:51.709Z] ---> b2aa39c304c2 [2023-03-20T15:53:51.709Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-20T15:53:51.709Z] ---> Running in 974e1300e33e [2023-03-20T15:53:51.709Z] Removing intermediate container 974e1300e33e [2023-03-20T15:53:51.709Z] ---> dc37603de7a1 [2023-03-20T15:53:51.709Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-20T15:53:51.709Z] ---> Running in e15890d1c038 [2023-03-20T15:53:51.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-20T15:53:51.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-20T15:53:51.709Z] OK: 7 MiB in 15 packages [2023-03-20T15:53:51.709Z] Removing intermediate container e15890d1c038 [2023-03-20T15:53:51.709Z] ---> f45b951e00b1 [2023-03-20T15:53:51.709Z] Step 14/23 : WORKDIR / [2023-03-20T15:53:51.709Z] ---> Running in 115842cc7c61 [2023-03-20T15:53:51.709Z] Removing intermediate container 115842cc7c61 [2023-03-20T15:53:51.709Z] ---> b7e1cd260552 [2023-03-20T15:53:51.709Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-20T15:53:51.709Z] ---> f41d6c20a0dc [2023-03-20T15:53:51.709Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-20T15:53:51.709Z] ---> a0c44074b253 [2023-03-20T15:53:51.709Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-20T15:53:51.969Z] ---> 32f377b5ec93 [2023-03-20T15:53:51.969Z] Step 18/23 : EXPOSE 59999 [2023-03-20T15:53:51.969Z] ---> Running in 0ee9cf61ac31 [2023-03-20T15:53:51.969Z] Removing intermediate container 0ee9cf61ac31 [2023-03-20T15:53:51.969Z] ---> 6eba13abaa17 [2023-03-20T15:53:51.969Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-20T15:53:51.969Z] ---> Running in 3e20f3a339b8 [2023-03-20T15:53:51.969Z] Removing intermediate container 3e20f3a339b8 [2023-03-20T15:53:51.969Z] ---> 236acd3d42f8 [2023-03-20T15:53:51.969Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-20T15:53:51.969Z] ---> Running in 73c484f10285 [2023-03-20T15:53:52.228Z] Removing intermediate container 73c484f10285 [2023-03-20T15:53:52.228Z] ---> 357f1499eb9a [2023-03-20T15:53:52.228Z] Step 21/23 : LABEL arch=amd64 [2023-03-20T15:53:52.228Z] ---> Running in 927d377359aa [2023-03-20T15:53:52.228Z] Removing intermediate container 927d377359aa [2023-03-20T15:53:52.228Z] ---> 10baca217abe [2023-03-20T15:53:52.228Z] Step 22/23 : LABEL git_sha=8f5fed348107c326f39d28688835643cfeecd7b7 [2023-03-20T15:53:52.228Z] ---> Running in 51e42efdc8a2 [2023-03-20T15:53:52.228Z] Removing intermediate container 51e42efdc8a2 [2023-03-20T15:53:52.228Z] ---> b7b9de4d93b6 [2023-03-20T15:53:52.228Z] Step 23/23 : LABEL version=0.0.0 [2023-03-20T15:53:52.228Z] ---> Running in 3d5275f9fe3d [2023-03-20T15:53:52.487Z] Removing intermediate container 3d5275f9fe3d [2023-03-20T15:53:52.487Z] ---> b786e240d198 [2023-03-20T15:53:52.487Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-20T15:53:52.487Z] Successfully built b786e240d198 [2023-03-20T15:53:52.487Z] 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-20T15:53:52.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T15:53:52.947Z] [2023-03-20T15:53:52.947Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T15:53:53.257Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T15:53:53.257Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-20T15:53:53.257Z] 5eb5b503b376: Pulling fs layer [2023-03-20T15:53:53.257Z] 5c69ac0246d0: Pulling fs layer [2023-03-20T15:53:53.257Z] ec43610c2a17: Pulling fs layer [2023-03-20T15:53:53.257Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-20T15:53:53.257Z] 33b1e0a273af: Pulling fs layer [2023-03-20T15:53:53.257Z] 5d3b04190fa2: Pulling fs layer [2023-03-20T15:53:53.257Z] 2f39f015ded8: Pulling fs layer [2023-03-20T15:53:53.257Z] 33b1e0a273af: Waiting [2023-03-20T15:53:53.257Z] 3a2ae6a8a46f: Waiting [2023-03-20T15:53:53.257Z] 5d3b04190fa2: Waiting [2023-03-20T15:53:53.257Z] 2f39f015ded8: Waiting [2023-03-20T15:53:53.257Z] 5c69ac0246d0: Verifying Checksum [2023-03-20T15:53:53.257Z] 5c69ac0246d0: Download complete [2023-03-20T15:53:53.257Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-20T15:53:53.257Z] 3a2ae6a8a46f: Download complete [2023-03-20T15:53:53.517Z] 33b1e0a273af: Verifying Checksum [2023-03-20T15:53:53.517Z] 33b1e0a273af: Download complete [2023-03-20T15:53:53.517Z] 5d3b04190fa2: Verifying Checksum [2023-03-20T15:53:53.517Z] 5d3b04190fa2: Download complete [2023-03-20T15:53:53.517Z] ec43610c2a17: Verifying Checksum [2023-03-20T15:53:53.517Z] ec43610c2a17: Download complete [2023-03-20T15:53:53.517Z] 5eb5b503b376: Verifying Checksum [2023-03-20T15:53:53.517Z] 5eb5b503b376: Download complete [2023-03-20T15:53:54.081Z] 2f39f015ded8: Download complete [2023-03-20T15:53:54.646Z] 5eb5b503b376: Pull complete [2023-03-20T15:53:54.903Z] 5c69ac0246d0: Pull complete [2023-03-20T15:53:55.162Z] ec43610c2a17: Pull complete [2023-03-20T15:53:55.418Z] 3a2ae6a8a46f: Pull complete [2023-03-20T15:53:55.419Z] 33b1e0a273af: Pull complete [2023-03-20T15:53:55.619Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4593 in /w/workspace/gexfoundry_device-sdk-go_PR-1391 [Pipeline] { [Pipeline] ws [2023-03-20T15:53:55.630Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2023-03-20T15:53:55.668Z] The recommended git tool is: git [2023-03-20T15:53:55.675Z] 5d3b04190fa2: Pull complete [2023-03-20T15:53:59.870Z] 2f39f015ded8: Pull complete [2023-03-20T15:53:59.870Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-20T15:53:59.870Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T15:53:59.870Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T15:53:59.953Z] prd-ubuntu20.04-docker-8c-8g-4592 does not seem to be running inside a container [2023-03-20T15:53:59.995Z] $ 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-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-20T15:54:04.452Z] $ docker top 7e99e069409d4629fdace679f83255ca316dd2216cdc47aee5488f443ef5fdc5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T15:54:04.835Z] ---> job-cost.sh [2023-03-20T15:54:04.835Z] lf-activate-venv: SKIPPING [2023-03-20T15:54:04.835Z] INFO: No Stack... [2023-03-20T15:54:05.094Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-20T15:54:05.353Z] INFO: Archiving Costs [Pipeline] sh [2023-03-20T15:54:05.641Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives/cost.csv [2023-03-20T15:54:05.641Z] + cut -d, -f6 [Pipeline] lock [2023-03-20T15:54:05.654Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1391-7-stack-cost] [2023-03-20T15:54:05.664Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-7-stack-cost] did not exist. Created. [2023-03-20T15:54:05.664Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1391-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-20T15:54:05.808Z] using credential edgex-jenkins-ssh [2023-03-20T15:54:05.826Z] Cloning the remote Git repository [2023-03-20T15:54:05.967Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-20T15:54:05.993Z] Stashed 1 file(s) [Pipeline] } [2023-03-20T15:54:06.000Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-20T15:54:06.020Z] $ docker stop --time=1 7e99e069409d4629fdace679f83255ca316dd2216cdc47aee5488f443ef5fdc5 [2023-03-20T15:54:05.886Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-20T15:54:06.075Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2023-03-20T15:54:06.304Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-20T15:54:06.306Z] > git --version # timeout=10 [2023-03-20T15:54:06.361Z] > git --version # 'git version 2.25.1' [2023-03-20T15:54:06.364Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-20T15:54:06.562Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-20T15:54:07.166Z] $ docker rm -f --volumes 7e99e069409d4629fdace679f83255ca316dd2216cdc47aee5488f443ef5fdc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-20T15:54:08.883Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-20T15:54:08.910Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-20T15:54:09.761Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-20T15:54:09.807Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-20T15:54:09.808Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-20T15:54:09.824Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1391/head:refs/remotes/origin/PR-1391 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-20T15:54:12.501Z] Merging remotes/origin/main commit 4c78050fc70b733cd627e11bc3f887100bb2ef6f into PR head commit 8f5fed348107c326f39d28688835643cfeecd7b7 [2023-03-20T15:54:12.811Z] Merge succeeded, producing 8f5fed348107c326f39d28688835643cfeecd7b7 [2023-03-20T15:54:12.811Z] Checking out Revision 8f5fed348107c326f39d28688835643cfeecd7b7 (PR-1391) [2023-03-20T15:54:12.524Z] > git config core.sparsecheckout # timeout=10 [2023-03-20T15:54:12.599Z] > git checkout -f 8f5fed348107c326f39d28688835643cfeecd7b7 # timeout=10 [2023-03-20T15:54:12.705Z] > git remote # timeout=10 [2023-03-20T15:54:12.726Z] > git config --get remote.origin.url # timeout=10 [2023-03-20T15:54:12.745Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-20T15:54:12.762Z] > git merge 4c78050fc70b733cd627e11bc3f887100bb2ef6f # timeout=10 [2023-03-20T15:54:12.792Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-20T15:54:12.821Z] > git config core.sparsecheckout # timeout=10 [2023-03-20T15:54:12.837Z] > git checkout -f 8f5fed348107c326f39d28688835643cfeecd7b7 # timeout=10 [2023-03-20T15:54:16.415Z] Commit message: "feat!: Make All ProtocolDriver interface API implementations required" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-20T15:54:17.365Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-20T15:54:17.365Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-20T15:54:17.365Z] Dload Upload Total Spent Left Speed [2023-03-20T15:54:17.365Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 72862 0 --:--:-- --:--:-- --:--:-- 73281 [Pipeline] sh [2023-03-20T15:54:18.049Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-20T15:54:18.379Z] + sudo tee /etc/docker/daemon.new [2023-03-20T15:54:18.379Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-20T15:54:18.379Z] { [2023-03-20T15:54:18.379Z] "registry-mirrors": [ [2023-03-20T15:54:18.379Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-20T15:54:18.379Z] ], [2023-03-20T15:54:18.379Z] "bip": "10.250.0.254/24", [2023-03-20T15:54:18.379Z] "hosts": [ [2023-03-20T15:54:18.379Z] "tcp://0.0.0.0:5555", [2023-03-20T15:54:18.379Z] "unix:///var/run/docker.sock" [2023-03-20T15:54:18.379Z] ], [2023-03-20T15:54:18.379Z] "mtu": 1458, [2023-03-20T15:54:18.379Z] "selinux-enabled": true, [2023-03-20T15:54:18.379Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-20T15:54:18.379Z] } [Pipeline] sh [2023-03-20T15:54:18.715Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-20T15:54:19.045Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-20T15:54:37.305Z] provisioning config files... [2023-03-20T15:54:37.332Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config2974600195123430156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T15:54:37.678Z] ---> docker-login.sh [2023-03-20T15:54:37.679Z] nexus3.edgexfoundry.org:10001 [2023-03-20T15:54:37.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T15:54:38.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T15:54:38.219Z] Configure a credential helper to remove this warning. See [2023-03-20T15:54:38.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T15:54:38.219Z] [2023-03-20T15:54:38.219Z] Login Succeeded [2023-03-20T15:54:38.219Z] nexus3.edgexfoundry.org:10002 [2023-03-20T15:54:38.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T15:54:38.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T15:54:38.491Z] Configure a credential helper to remove this warning. See [2023-03-20T15:54:38.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T15:54:38.491Z] [2023-03-20T15:54:38.491Z] Login Succeeded [2023-03-20T15:54:38.491Z] nexus3.edgexfoundry.org:10003 [2023-03-20T15:54:38.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T15:54:39.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T15:54:39.034Z] Configure a credential helper to remove this warning. See [2023-03-20T15:54:39.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T15:54:39.034Z] [2023-03-20T15:54:39.034Z] Login Succeeded [2023-03-20T15:54:39.034Z] nexus3.edgexfoundry.org:10004 [2023-03-20T15:54:39.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T15:54:39.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T15:54:39.302Z] Configure a credential helper to remove this warning. See [2023-03-20T15:54:39.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T15:54:39.302Z] [2023-03-20T15:54:39.302Z] Login Succeeded [2023-03-20T15:54:39.302Z] docker.io [2023-03-20T15:54:39.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-20T15:54:39.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-20T15:54:39.838Z] Configure a credential helper to remove this warning. See [2023-03-20T15:54:39.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-20T15:54:39.838Z] [2023-03-20T15:54:39.838Z] Login Succeeded [2023-03-20T15:54:39.838Z] ---> docker-login.sh ends [Pipeline] } [2023-03-20T15:54:39.851Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-20T15:54:40.077Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T15:54:40.094Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-20T15:54:40.103Z] ========================================================= [2023-03-20T15:54:40.103Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-20T15:54:40.103Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T15:54:40.436Z] + 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-20T15:54:40.704Z] Sending build context to Docker daemon 5.809MB [2023-03-20T15:54:40.704Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-20T15:54:40.704Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-20T15:54:40.977Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-20T15:54:40.977Z] af6eaf76a39c: Pulling fs layer [2023-03-20T15:54:40.977Z] 55522c791124: Pulling fs layer [2023-03-20T15:54:40.977Z] ce5c4a1c91eb: Pulling fs layer [2023-03-20T15:54:40.977Z] 169dfbe0d373: Pulling fs layer [2023-03-20T15:54:40.977Z] e1ff8fa3b103: Pulling fs layer [2023-03-20T15:54:40.977Z] 52ebb69f0ebf: Pulling fs layer [2023-03-20T15:54:40.977Z] 5abe8eddf0d5: Pulling fs layer [2023-03-20T15:54:40.977Z] 169dfbe0d373: Waiting [2023-03-20T15:54:40.977Z] e1ff8fa3b103: Waiting [2023-03-20T15:54:40.977Z] 52ebb69f0ebf: Waiting [2023-03-20T15:54:40.977Z] 5abe8eddf0d5: Waiting [2023-03-20T15:54:40.977Z] 55522c791124: Download complete [2023-03-20T15:54:40.977Z] 169dfbe0d373: Verifying Checksum [2023-03-20T15:54:40.977Z] 169dfbe0d373: Download complete [2023-03-20T15:54:40.977Z] e1ff8fa3b103: Verifying Checksum [2023-03-20T15:54:40.977Z] e1ff8fa3b103: Download complete [2023-03-20T15:54:41.248Z] af6eaf76a39c: Verifying Checksum [2023-03-20T15:54:41.248Z] af6eaf76a39c: Download complete [2023-03-20T15:54:42.217Z] 5abe8eddf0d5: Verifying Checksum [2023-03-20T15:54:42.217Z] 5abe8eddf0d5: Download complete [2023-03-20T15:54:43.201Z] af6eaf76a39c: Pull complete [2023-03-20T15:54:43.791Z] ce5c4a1c91eb: Verifying Checksum [2023-03-20T15:54:43.791Z] ce5c4a1c91eb: Download complete [2023-03-20T15:54:43.791Z] 55522c791124: Pull complete [2023-03-20T15:54:44.062Z] 52ebb69f0ebf: Verifying Checksum [2023-03-20T15:54:44.062Z] 52ebb69f0ebf: Download complete [2023-03-20T15:54:56.430Z] ce5c4a1c91eb: Pull complete [2023-03-20T15:54:56.430Z] 169dfbe0d373: Pull complete [2023-03-20T15:54:56.430Z] e1ff8fa3b103: Pull complete [2023-03-20T15:55:03.107Z] 52ebb69f0ebf: Pull complete [2023-03-20T15:55:05.064Z] 5abe8eddf0d5: Pull complete [2023-03-20T15:55:05.064Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-20T15:55:05.064Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-20T15:55:05.064Z] ---> 6cb57ee374ae [2023-03-20T15:55:05.064Z] Step 3/10 : ARG MAKE=make build [2023-03-20T15:55:07.024Z] ---> Running in e50ff5e02c65 [2023-03-20T15:55:07.296Z] Removing intermediate container e50ff5e02c65 [2023-03-20T15:55:07.296Z] ---> 3fe6b70f662e [2023-03-20T15:55:07.296Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-20T15:55:07.296Z] ---> Running in f6496e7b95d8 [2023-03-20T15:55:07.886Z] Removing intermediate container f6496e7b95d8 [2023-03-20T15:55:07.886Z] ---> d2da43a6c1fb [2023-03-20T15:55:07.886Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-20T15:55:07.886Z] ---> Running in a3159bd61d55 [2023-03-20T15:55:08.157Z] Removing intermediate container a3159bd61d55 [2023-03-20T15:55:08.157Z] ---> b478c59a2c1e [2023-03-20T15:55:08.157Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-20T15:55:08.424Z] ---> Running in a4aae73ad339 [2023-03-20T15:55:10.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-20T15:55:11.346Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-20T15:55:12.320Z] OK: 263 MiB in 53 packages [2023-03-20T15:55:13.290Z] Removing intermediate container a4aae73ad339 [2023-03-20T15:55:13.290Z] ---> 01e11536618e [2023-03-20T15:55:13.290Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-20T15:55:13.891Z] ---> 2d48a7e67243 [2023-03-20T15:55:13.891Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T15:55:13.891Z] ---> Running in 2b01c5148e96 [2023-03-20T15:56:21.833Z] Removing intermediate container 2b01c5148e96 [2023-03-20T15:56:21.833Z] ---> dcec784c41bc [2023-03-20T15:56:21.833Z] Step 9/10 : COPY . . [2023-03-20T15:56:21.833Z] ---> 9481de6cbc77 [2023-03-20T15:56:21.833Z] Step 10/10 : RUN ${MAKE} [2023-03-20T15:56:21.833Z] ---> Running in 89b502b84c2f [2023-03-20T15:56:21.833Z] noop [2023-03-20T15:56:21.833Z] Removing intermediate container 89b502b84c2f [2023-03-20T15:56:21.833Z] ---> ff71d0054181 [2023-03-20T15:56:21.833Z] Successfully built ff71d0054181 [2023-03-20T15:56:21.833Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T15:56:22.189Z] + docker inspect -f . ci-base-image-arm64 [2023-03-20T15:56:22.189Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T15:56:22.405Z] prd-ubuntu20.04-docker-arm64-4c-16g-4593 does not seem to be running inside a container [2023-03-20T15:56:22.477Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-20T15:56:23.640Z] $ docker top 8cc9d478c230ad60d486bc34061b54d5f57969f2c8e4018a009b68ee60718866 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T15:56:24.461Z] + go version [2023-03-20T15:56:24.461Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-20T15:56:24.485Z] $ docker stop --time=1 8cc9d478c230ad60d486bc34061b54d5f57969f2c8e4018a009b68ee60718866 [2023-03-20T15:56:26.072Z] $ docker rm -f --volumes 8cc9d478c230ad60d486bc34061b54d5f57969f2c8e4018a009b68ee60718866 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T15:56:26.590Z] + docker inspect -f . ci-base-image-arm64 [2023-03-20T15:56:26.590Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T15:56:26.781Z] prd-ubuntu20.04-docker-arm64-4c-16g-4593 does not seem to be running inside a container [2023-03-20T15:56:26.850Z] $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-20T15:56:28.048Z] $ docker top 7df784eb24d5498b954fca8997dd8e5a63de4a48f34fe18ea0ad982a385d389c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T15:56:28.547Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/7 [Pipeline] fileExists [Pipeline] sh [2023-03-20T15:56:29.200Z] + make test [2023-03-20T15:56:29.200Z] go test -race -coverprofile=coverage.out ./... [2023-03-20T15:57:16.051Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-20T15:59:07.733Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-20T15:59:07.733Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-20T15:59:07.733Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-20T15:59:07.733Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-20T15:59:07.733Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-20T15:59:22.773Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.250s coverage: 27.6% of statements [2023-03-20T15:59:22.773Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.281s coverage: 78.9% of statements [2023-03-20T15:59:35.086Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-20T15:59:35.086Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-20T15:59:35.086Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.321s coverage: 86.0% of statements [2023-03-20T15:59:41.724Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-20T15:59:41.724Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.444s coverage: 77.6% of statements [2023-03-20T15:59:45.065Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-20T15:59:47.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-20T15:59:47.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-20T15:59:48.419Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.249s coverage: 14.9% of statements [2023-03-20T15:59:48.419Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.426s coverage: 65.7% of statements [2023-03-20T15:59:51.018Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.435s coverage: 89.2% of statements [2023-03-20T15:59:52.426Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-20T15:59:52.693Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.249s coverage: 5.6% of statements [2023-03-20T15:59:53.272Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-20T15:59:53.272Z] GO111MODULE=on go vet ./... [2023-03-20T16:02:14.998Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-20T16:02:14.998Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-20T16:02:14.998Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-20T16:02:15.016Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-20T16:02:15.031Z] $ docker stop --time=1 7df784eb24d5498b954fca8997dd8e5a63de4a48f34fe18ea0ad982a385d389c [2023-03-20T16:02:16.884Z] $ docker rm -f --volumes 7df784eb24d5498b954fca8997dd8e5a63de4a48f34fe18ea0ad982a385d389c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-20T16:02:18.542Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-20T16:02:18.558Z] Warning: overwriting stash ‘coverage-report’ [2023-03-20T16:02:19.144Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-20T16:02:19.526Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-20T16:02:19.854Z] + ls -al . [2023-03-20T16:02:19.854Z] total 272 [2023-03-20T16:02:19.854Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 20 15:56 . [2023-03-20T16:02:19.854Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 15:54 .. [2023-03-20T16:02:19.854Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 20 15:54 .dockerignore [2023-03-20T16:02:19.854Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 20 15:54 .git [2023-03-20T16:02:19.854Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 15:54 .github [2023-03-20T16:02:19.854Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 20 15:54 .gitignore [2023-03-20T16:02:19.854Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 20 15:54 .golangci.yml [2023-03-20T16:02:19.854Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 20 15:54 CHANGELOG.md [2023-03-20T16:02:19.854Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 20 15:54 GOVERNANCE.md [2023-03-20T16:02:19.854Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 20 15:54 Jenkinsfile [2023-03-20T16:02:19.854Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 20 15:54 LICENSE [2023-03-20T16:02:19.854Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 20 15:54 Makefile [2023-03-20T16:02:19.854Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 20 15:54 OWNERS.md [2023-03-20T16:02:19.854Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 20 15:54 README.md [2023-03-20T16:02:19.854Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 20 15:51 VERSION [2023-03-20T16:02:19.854Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 20 15:54 bin [2023-03-20T16:02:19.854Z] -rw-r--r-- 1 jenkins jenkins 108765 Mar 20 15:59 coverage.out [2023-03-20T16:02:19.854Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 20 15:54 example [2023-03-20T16:02:19.854Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 20 15:54 go.mod [2023-03-20T16:02:19.854Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 20 15:54 go.sum [2023-03-20T16:02:19.854Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 20 15:54 internal [2023-03-20T16:02:19.854Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 20 15:54 openapi [2023-03-20T16:02:19.854Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 20 15:54 pkg [2023-03-20T16:02:19.854Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 20 15:54 snap [2023-03-20T16:02:19.854Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 20 15:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T16:02:20.192Z] + 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=8f5fed348107c326f39d28688835643cfeecd7b7 --label arch=arm64 --label version=0.0.0 . [2023-03-20T16:02:20.776Z] Sending build context to Docker daemon 5.919MB [2023-03-20T16:02:20.776Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-20T16:02:20.776Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-20T16:02:20.776Z] ---> ff71d0054181 [2023-03-20T16:02:20.776Z] Step 3/23 : ARG MAKE=make build [2023-03-20T16:02:20.776Z] ---> Running in d42027bdb1c4 [2023-03-20T16:02:21.063Z] Removing intermediate container d42027bdb1c4 [2023-03-20T16:02:21.063Z] ---> 26c82ebb53a2 [2023-03-20T16:02:21.063Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-20T16:02:21.330Z] ---> Running in 2397963bb535 [2023-03-20T16:02:21.598Z] Removing intermediate container 2397963bb535 [2023-03-20T16:02:21.598Z] ---> d4edd04a6a07 [2023-03-20T16:02:21.598Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-20T16:02:21.598Z] ---> Running in b8ed4272ff9a [2023-03-20T16:02:21.865Z] Removing intermediate container b8ed4272ff9a [2023-03-20T16:02:21.865Z] ---> a509d38e70ff [2023-03-20T16:02:21.865Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-20T16:02:22.145Z] ---> Running in fc6ee47911c6 [2023-03-20T16:02:23.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-20T16:02:24.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-20T16:02:25.028Z] OK: 263 MiB in 53 packages [2023-03-20T16:02:26.436Z] Removing intermediate container fc6ee47911c6 [2023-03-20T16:02:26.436Z] ---> 9e7084595a83 [2023-03-20T16:02:26.436Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-20T16:02:27.106Z] ---> 14e24296bf2f [2023-03-20T16:02:27.106Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-20T16:02:27.106Z] ---> Running in 4ad1cd60b7ef [2023-03-20T16:02:29.742Z] Removing intermediate container 4ad1cd60b7ef [2023-03-20T16:02:29.742Z] ---> 41b59cee6483 [2023-03-20T16:02:29.742Z] Step 9/23 : COPY . . [2023-03-20T16:02:31.198Z] ---> 4591a3b724c5 [2023-03-20T16:02:31.198Z] Step 10/23 : RUN ${MAKE} [2023-03-20T16:02:31.198Z] ---> Running in c720510b12a1 [2023-03-20T16:02:32.167Z] 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-20T16:04:53.843Z] Removing intermediate container c720510b12a1 [2023-03-20T16:04:53.843Z] ---> 3e82101f1cd5 [2023-03-20T16:04:53.843Z] Step 11/23 : FROM alpine:3.17 [2023-03-20T16:04:53.843Z] 3.17: Pulling from library/alpine [2023-03-20T16:04:53.843Z] af6eaf76a39c: Already exists [2023-03-20T16:04:53.843Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-20T16:04:53.843Z] Status: Downloaded newer image for alpine:3.17 [2023-03-20T16:04:53.843Z] ---> d74e625d9115 [2023-03-20T16:04:53.843Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-20T16:04:53.844Z] ---> Running in 38df6ee34162 [2023-03-20T16:04:53.844Z] Removing intermediate container 38df6ee34162 [2023-03-20T16:04:53.844Z] ---> 0d40bda19d6b [2023-03-20T16:04:53.844Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-20T16:04:53.844Z] ---> Running in 9319b1839ae0 [2023-03-20T16:04:54.426Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-20T16:04:55.008Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-20T16:04:56.414Z] OK: 7 MiB in 15 packages [2023-03-20T16:04:57.372Z] Removing intermediate container 9319b1839ae0 [2023-03-20T16:04:57.372Z] ---> 6529ec6fdd1a [2023-03-20T16:04:57.372Z] Step 14/23 : WORKDIR / [2023-03-20T16:04:57.372Z] ---> Running in 3129d931d7cb [2023-03-20T16:04:57.956Z] Removing intermediate container 3129d931d7cb [2023-03-20T16:04:57.956Z] ---> 30867e734f77 [2023-03-20T16:04:57.956Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-20T16:04:58.543Z] ---> 8e74cea1441c [2023-03-20T16:04:58.543Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-20T16:04:59.966Z] ---> 5f4c251f8cf2 [2023-03-20T16:04:59.966Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-20T16:05:00.559Z] ---> a82249455d63 [2023-03-20T16:05:00.559Z] Step 18/23 : EXPOSE 59999 [2023-03-20T16:05:00.559Z] ---> Running in 6e50130465e1 [2023-03-20T16:05:00.827Z] Removing intermediate container 6e50130465e1 [2023-03-20T16:05:00.827Z] ---> 2b53038a8b83 [2023-03-20T16:05:00.827Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-20T16:05:00.827Z] ---> Running in 874035a44abb [2023-03-20T16:05:01.096Z] Removing intermediate container 874035a44abb [2023-03-20T16:05:01.097Z] ---> adc594f660dd [2023-03-20T16:05:01.097Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-20T16:05:01.366Z] ---> Running in 85c9c563b695 [2023-03-20T16:05:01.637Z] Removing intermediate container 85c9c563b695 [2023-03-20T16:05:01.637Z] ---> 39bfc209fc01 [2023-03-20T16:05:01.637Z] Step 21/23 : LABEL arch=arm64 [2023-03-20T16:05:01.637Z] ---> Running in 5e72b68cb9e3 [2023-03-20T16:05:01.906Z] Removing intermediate container 5e72b68cb9e3 [2023-03-20T16:05:01.906Z] ---> 5ccebf6f0b1f [2023-03-20T16:05:01.906Z] Step 22/23 : LABEL git_sha=8f5fed348107c326f39d28688835643cfeecd7b7 [2023-03-20T16:05:01.906Z] ---> Running in f5b956bebf33 [2023-03-20T16:05:02.175Z] Removing intermediate container f5b956bebf33 [2023-03-20T16:05:02.175Z] ---> 46a3f3cbc8e7 [2023-03-20T16:05:02.175Z] Step 23/23 : LABEL version=0.0.0 [2023-03-20T16:05:02.447Z] ---> Running in a558b59f15a5 [2023-03-20T16:05:02.717Z] Removing intermediate container a558b59f15a5 [2023-03-20T16:05:02.717Z] ---> 8e7c52483718 [2023-03-20T16:05:02.717Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-20T16:05:02.717Z] Successfully built 8e7c52483718 [2023-03-20T16:05:02.717Z] 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-20T16:05:03.162Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-20T16:05:03.163Z] [2023-03-20T16:05:03.163Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T16:05:03.505Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-20T16:05:06.099Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-20T16:05:06.099Z] 8998bd30e6a1: Pulling fs layer [2023-03-20T16:05:06.099Z] 04944245beec: Pulling fs layer [2023-03-20T16:05:06.099Z] 699f458cf7ca: Pulling fs layer [2023-03-20T16:05:06.099Z] 765212b225bb: Pulling fs layer [2023-03-20T16:05:06.099Z] f23df028b6ca: Pulling fs layer [2023-03-20T16:05:06.099Z] d65c8cfc05b1: Pulling fs layer [2023-03-20T16:05:06.099Z] 2437ff75d9bd: Pulling fs layer [2023-03-20T16:05:06.099Z] 765212b225bb: Waiting [2023-03-20T16:05:06.099Z] f23df028b6ca: Waiting [2023-03-20T16:05:06.099Z] d65c8cfc05b1: Waiting [2023-03-20T16:05:06.099Z] 2437ff75d9bd: Waiting [2023-03-20T16:05:06.099Z] 04944245beec: Verifying Checksum [2023-03-20T16:05:06.099Z] 04944245beec: Download complete [2023-03-20T16:05:06.099Z] 765212b225bb: Verifying Checksum [2023-03-20T16:05:06.099Z] 765212b225bb: Download complete [2023-03-20T16:05:06.099Z] f23df028b6ca: Verifying Checksum [2023-03-20T16:05:06.099Z] f23df028b6ca: Download complete [2023-03-20T16:05:06.099Z] d65c8cfc05b1: Download complete [2023-03-20T16:05:06.377Z] 699f458cf7ca: Verifying Checksum [2023-03-20T16:05:06.377Z] 699f458cf7ca: Download complete [2023-03-20T16:05:06.647Z] 8998bd30e6a1: Verifying Checksum [2023-03-20T16:05:06.647Z] 8998bd30e6a1: Download complete [2023-03-20T16:05:09.226Z] 2437ff75d9bd: Verifying Checksum [2023-03-20T16:05:09.226Z] 2437ff75d9bd: Download complete [2023-03-20T16:05:10.637Z] 8998bd30e6a1: Pull complete [2023-03-20T16:05:11.222Z] 04944245beec: Pull complete [2023-03-20T16:05:12.637Z] 699f458cf7ca: Pull complete [2023-03-20T16:05:12.905Z] 765212b225bb: Pull complete [2023-03-20T16:05:13.869Z] f23df028b6ca: Pull complete [2023-03-20T16:05:13.869Z] d65c8cfc05b1: Pull complete [2023-03-20T16:05:28.884Z] 2437ff75d9bd: Pull complete [2023-03-20T16:05:28.884Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-20T16:05:28.884Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-20T16:05:28.884Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T16:05:29.088Z] prd-ubuntu20.04-docker-arm64-4c-16g-4593 does not seem to be running inside a container [2023-03-20T16:05:29.165Z] $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-20T16:05:32.398Z] $ docker top 93dfa3aca22de43abbaa1ce2c906fda2ddaccd74dadda8a530439df09f4633a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-20T16:05:33.257Z] ---> job-cost.sh [2023-03-20T16:05:33.257Z] lf-activate-venv: SKIPPING [2023-03-20T16:05:33.257Z] INFO: No Stack... [2023-03-20T16:05:33.844Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-20T16:05:34.430Z] INFO: Archiving Costs [Pipeline] sh [2023-03-20T16:05:35.083Z] + cut -d, -f6 [2023-03-20T16:05:35.083Z] + cat /w/workspace/device-sdk-go/7/archives/cost.csv [Pipeline] lock [2023-03-20T16:05:35.159Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1391-7-stack-cost] [2023-03-20T16:05:35.172Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-7-stack-cost] did not exist. Created. [2023-03-20T16:05:35.173Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1391-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-20T16:05:35.843Z] /w/workspace/device-sdk-go/7@tmp/durable-449976b1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-20T16:05:36.503Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-20T16:05:36.527Z] Warning: overwriting stash ‘stack-cost’ [2023-03-20T16:05:36.592Z] Stashed 1 file(s) [Pipeline] } [2023-03-20T16:05:36.598Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-20T16:05:36.618Z] $ docker stop --time=1 93dfa3aca22de43abbaa1ce2c906fda2ddaccd74dadda8a530439df09f4633a9 [2023-03-20T16:05:38.159Z] $ docker rm -f --volumes 93dfa3aca22de43abbaa1ce2c906fda2ddaccd74dadda8a530439df09f4633a9 [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-20T16:05:38.596Z] provisioning config files... [2023-03-20T16:05:38.603Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config5916758346833362852tmp [Pipeline] { [Pipeline] sh [2023-03-20T16:05:38.898Z] + set +x [2023-03-20T16:05:38.898Z] + curl -s https://codecov.io/bash [2023-03-20T16:05:38.898Z] + bash -s -- [2023-03-20T16:05:38.898Z] [2023-03-20T16:05:38.898Z] _____ _ [2023-03-20T16:05:38.898Z] / ____| | | [2023-03-20T16:05:38.898Z] | | ___ __| | ___ ___ _____ __ [2023-03-20T16:05:38.898Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-20T16:05:38.898Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-20T16:05:38.898Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-20T16:05:38.898Z] Bash-1.0.6 [2023-03-20T16:05:38.898Z] [2023-03-20T16:05:38.898Z] [2023-03-20T16:05:38.898Z] ==> git version 2.25.1 found [2023-03-20T16:05:38.898Z] ==> 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-20T16:05:38.898Z] Release-Date: 2020-01-08 [2023-03-20T16:05:38.898Z] 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-20T16:05:38.898Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-20T16:05:38.898Z] ==> Jenkins CI detected. [2023-03-20T16:05:38.898Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1391 [2023-03-20T16:05:38.898Z] project root: . [2023-03-20T16:05:38.898Z] --> token set from env [2023-03-20T16:05:38.898Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-20T16:05:38.898Z] ==> Running gcov in . (disable via -X gcov) [2023-03-20T16:05:38.898Z] ==> Python coveragepy not found [2023-03-20T16:05:38.898Z] ==> Searching for coverage reports in: [2023-03-20T16:05:38.899Z] + . [2023-03-20T16:05:38.899Z] -> Found 1 reports [2023-03-20T16:05:38.899Z] ==> Detecting git/mercurial file structure [2023-03-20T16:05:38.899Z] ==> Reading reports [2023-03-20T16:05:38.899Z] + ./coverage.out bytes=108765 [2023-03-20T16:05:38.899Z] ==> Appending adjustments [2023-03-20T16:05:38.899Z] https://docs.codecov.io/docs/fixing-reports [2023-03-20T16:05:39.158Z] + Found adjustments [2023-03-20T16:05:39.158Z] ==> Gzipping contents [2023-03-20T16:05:39.158Z] 16K /tmp/codecov.Z9104r.gz [2023-03-20T16:05:39.158Z] ==> Uploading reports [2023-03-20T16:05:39.158Z] url: https://codecov.io [2023-03-20T16:05:39.158Z] query: branch=PR-1391&commit=8f5fed348107c326f39d28688835643cfeecd7b7&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1391%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1391&job=&cmd_args= [2023-03-20T16:05:39.158Z] -> Pinging Codecov [2023-03-20T16:05:39.158Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1391&commit=8f5fed348107c326f39d28688835643cfeecd7b7&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1391%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1391&job=&cmd_args= [2023-03-20T16:05:39.416Z] -> Uploading to [2023-03-20T16:05:39.416Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-20/7E55EF52A471D76F132DFD9A03CDDE97/8f5fed348107c326f39d28688835643cfeecd7b7/41e08b3d-b501-4b8d-865f-e5fd740bdb0e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230320%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230320T160539Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3e12d214c5742edfe6cece4ed80d8c8d7e4571f73c01544c2a5cd70a8b573782 [2023-03-20T16:05:39.416Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-20T16:05:39.416Z] Dload Upload Total Spent Left Speed [2023-03-20T16:05:39.675Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15124 0 0 100 15124 0 74502 --:--:-- --:--:-- --:--:-- 74137 100 15124 0 0 100 15124 0 63814 --:--:-- --:--:-- --:--:-- 63546 [2023-03-20T16:05:39.675Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8f5fed348107c326f39d28688835643cfeecd7b7 [Pipeline] } [2023-03-20T16:05:39.683Z] 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-20T16:05:40.384Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives ] [2023-03-20T16:05:40.384Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives [2023-03-20T16:05:40.384Z] total 16 [2023-03-20T16:05:40.384Z] drwxr-xr-x 3 root root 4096 Mar 20 15:54 . [2023-03-20T16:05:40.384Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 20 15:54 .. [2023-03-20T16:05:40.384Z] drwxr-xr-x 2 root root 4096 Mar 20 15:54 cost [2023-03-20T16:05:40.384Z] -rw-r--r-- 1 root root 86 Mar 20 15:54 cost.csv [2023-03-20T16:05:40.384Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives [2023-03-20T16:05:40.384Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives [2023-03-20T16:05:40.384Z] total 16 [2023-03-20T16:05:40.384Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 20 15:54 . [2023-03-20T16:05:40.384Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 20 15:54 .. [2023-03-20T16:05:40.384Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 20 15:54 cost [2023-03-20T16:05:40.384Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 20 15:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-20T16:05:40.674Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T16:05:41.528Z] ---> package-listing.sh [2023-03-20T16:05:41.528Z] ++ facter osfamily [2023-03-20T16:05:41.528Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-20T16:05:41.786Z] + OS_FAMILY=debian [2023-03-20T16:05:41.786Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1391 [2023-03-20T16:05:41.786Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-20T16:05:41.786Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-20T16:05:41.786Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-20T16:05:41.786Z] + PACKAGES=/tmp/packages_start.txt [2023-03-20T16:05:41.786Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1391 ']' [2023-03-20T16:05:41.786Z] + PACKAGES=/tmp/packages_end.txt [2023-03-20T16:05:41.786Z] + case "${OS_FAMILY}" in [2023-03-20T16:05:41.786Z] + dpkg -l [2023-03-20T16:05:41.786Z] + grep '^ii' [2023-03-20T16:05:41.786Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-20T16:05:41.786Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-20T16:05:41.786Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-20T16:05:41.786Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1391 ']' [2023-03-20T16:05:41.786Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives/ [2023-03-20T16:05:41.786Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives/ [Pipeline] echo [2023-03-20T16:05:41.796Z] 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-1391/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-20T16:05:42.078Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-20T16:05:42.761Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-20T16:05:42.761Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-20T16:05:43.492Z] prd-ubuntu20.04-docker-8c-8g-4592 does not seem to be running inside a container [2023-03-20T16:05:43.535Z] $ 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-1391/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-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-20T16:05:44.406Z] $ docker top 35fc6fc8973777afdf1aa1672cf382061fccc6a18712e92208b3b1f340f5166f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-20T16:05:44.825Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-20T16:05:45.106Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-20T16:05:45.389Z] + ls /var/log/sa-host [2023-03-20T16:05:45.389Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-20T16:05:45.535Z] provisioning config files... [2023-03-20T16:05:45.543Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config16776664977765959494tmp [Pipeline] { [Pipeline] echo [2023-03-20T16:05:45.552Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T16:05:45.832Z] ---> create-netrc.sh [Pipeline] } [2023-03-20T16:05:45.839Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-20T16:05:46.175Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-20T16:05:46.183Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T16:05:46.464Z] ---> sudo-logs.sh [2023-03-20T16:05:46.464Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-20T16:05:46.495Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T16:05:46.777Z] ---> job-cost.sh [2023-03-20T16:05:46.777Z] lf-activate-venv: SKIPPING [2023-03-20T16:05:46.777Z] DEBUG: total: 0.2199999988079071 [2023-03-20T16:05:46.777Z] INFO: Retrieving Stack Cost... [2023-03-20T16:05:47.036Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-20T16:05:47.602Z] INFO: Archiving Costs [Pipeline] echo [2023-03-20T16:05:47.613Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-20T16:05:47.895Z] ---> logs-deploy.sh [2023-03-20T16:05:47.895Z] lf-activate-venv: SKIPPING [2023-03-20T16:05:47.895Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1391/7 [2023-03-20T16:05:47.895Z] INFO: archiving workspace using pattern(s): [2023-03-20T16:05:48.845Z] Archives upload complete. [2023-03-20T16:05:48.846Z] INFO: archiving logs to Nexus