Branch indexing 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 jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 rather than fad7a1e2c560019197ab19bbba7a11372a68c49b Obtained Jenkinsfile from acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 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-ssh4018076853926363950.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13301477003080743959.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1348/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-1348/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3302472739554281027.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9859671112194048045.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-1348/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-1348/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18281779366835166600.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-7777 in /w/workspace/gexfoundry_device-sdk-go_PR-1348 [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-1348 # 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/1348/head:refs/remotes/origin/PR-1348 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 into PR head commit fad7a1e2c560019197ab19bbba7a11372a68c49b Merge succeeded, producing 4cdd51b4a14ed7d86739b96caadc5ffea091babb Checking out Revision 4cdd51b4a14ed7d86739b96caadc5ffea091babb (PR-1348) > git config core.sparsecheckout # timeout=10 > git checkout -f fad7a1e2c560019197ab19bbba7a11372a68c49b # 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 acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4cdd51b4a14ed7d86739b96caadc5ffea091babb # timeout=10 Commit message: "Merge commit 'acdf2d5cdad6fc08cdfb18917d876b8970fb9c96' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 5c627c7e2c73b362ee0fd16ab0e7d71309dd5cd3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-28T18:40:30.043Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-28T18:40:30.122Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-28T18:40:30.141Z] ========================================================= [2023-02-28T18:40:30.141Z] EdgeX Global Pipelines Version Info [2023-02-28T18:40:30.141Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-28T18:40:30.843Z] ------------------- [2023-02-28T18:40:30.844Z] stable info: [2023-02-28T18:40:30.844Z] ------------------- [2023-02-28T18:40:30.844Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-28T18:40:30.844Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-28T18:40:30.844Z] Message: update stable to v1.0.244 [2023-02-28T18:40:31.414Z] ------------------- [2023-02-28T18:40:31.414Z] experimental info: [2023-02-28T18:40:31.414Z] ------------------- [2023-02-28T18:40:31.414Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-28T18:40:31.414Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-28T18:40:31.414Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-28T18:40:31.566Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-28T18:40:31.575Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-28T18:40:31.583Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-28T18:40:31.592Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-28T18:40:31.601Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-28T18:40:31.611Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-28T18:40:31.631Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-28T18:40:31.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-28T18:40:31.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-28T18:40:31.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-28T18:40:31.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-28T18:40:31.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-28T18:40:31.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-28T18:40:31.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-28T18:40:31.747Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-28T18:40:31.757Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-28T18:40:31.769Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-28T18:40:31.781Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-28T18:40:31.796Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-28T18:40:31.819Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-28T18:40:31.834Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-28T18:40:31.849Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-28T18:40:31.866Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-28T18:40:31.877Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-28T18:40:31.892Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-28T18:40:31.902Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-28T18:40:31.915Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-28T18:40:31.930Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1348 [Pipeline] echo [2023-02-28T18:40:31.941Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1348 [Pipeline] echo [2023-02-28T18:40:31.957Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1348 [Pipeline] echo [2023-02-28T18:40:31.967Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4cdd51b4a14ed7d86739b96caadc5ffea091babb [Pipeline] echo [2023-02-28T18:40:31.981Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4cdd51b [Pipeline] echo [2023-02-28T18:40:31.995Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T18:40:32.058Z] provisioning config files... [2023-02-28T18:40:32.091Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/config6682670162871466227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T18:40:32.431Z] ---> docker-login.sh [2023-02-28T18:40:32.431Z] nexus3.edgexfoundry.org:10001 [2023-02-28T18:40:32.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T18:40:32.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T18:40:32.692Z] Configure a credential helper to remove this warning. See [2023-02-28T18:40:32.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T18:40:32.692Z] [2023-02-28T18:40:32.692Z] Login Succeeded [2023-02-28T18:40:32.692Z] nexus3.edgexfoundry.org:10002 [2023-02-28T18:40:32.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T18:40:32.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T18:40:32.951Z] Configure a credential helper to remove this warning. See [2023-02-28T18:40:32.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T18:40:32.951Z] [2023-02-28T18:40:32.951Z] Login Succeeded [2023-02-28T18:40:32.951Z] nexus3.edgexfoundry.org:10003 [2023-02-28T18:40:32.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T18:40:32.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T18:40:32.951Z] Configure a credential helper to remove this warning. See [2023-02-28T18:40:32.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T18:40:32.951Z] [2023-02-28T18:40:32.951Z] Login Succeeded [2023-02-28T18:40:32.951Z] nexus3.edgexfoundry.org:10004 [2023-02-28T18:40:32.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T18:40:32.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T18:40:32.952Z] Configure a credential helper to remove this warning. See [2023-02-28T18:40:32.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T18:40:32.952Z] [2023-02-28T18:40:32.952Z] Login Succeeded [2023-02-28T18:40:32.952Z] docker.io [2023-02-28T18:40:33.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T18:40:33.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T18:40:33.213Z] Configure a credential helper to remove this warning. See [2023-02-28T18:40:33.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T18:40:33.213Z] [2023-02-28T18:40:33.213Z] Login Succeeded [2023-02-28T18:40:33.213Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T18:40:33.222Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-28T18:40:33.615Z] + git rev-list -1 --merges 4cdd51b4a14ed7d86739b96caadc5ffea091babb~1..4cdd51b4a14ed7d86739b96caadc5ffea091babb [Pipeline] echo [2023-02-28T18:40:33.663Z] -----------> git rev-list -1 --merges 4cdd51b4a14ed7d86739b96caadc5ffea091babb~1..4cdd51b4a14ed7d86739b96caadc5ffea091babb 4cdd51b4a14ed7d86739b96caadc5ffea091babb [2023-02-28T18:40:33.663Z] 4cdd51b4a14ed7d86739b96caadc5ffea091babb [false] [Pipeline] sh [2023-02-28T18:40:33.949Z] + git log --format=format:%s -1 4cdd51b4a14ed7d86739b96caadc5ffea091babb [Pipeline] echo [2023-02-28T18:40:33.968Z] ========================================================= [2023-02-28T18:40:33.968Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-28T18:40:33.968Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T18:40:34.297Z] + git log --format=format:%s -1 4cdd51b4a14ed7d86739b96caadc5ffea091babb [Pipeline] echo [2023-02-28T18:40:34.311Z] [semverPrep] GIT_COMMIT: 4cdd51b4a14ed7d86739b96caadc5ffea091babb, Commit Message: Merge commit 'acdf2d5cdad6fc08cdfb18917d876b8970fb9c96' into HEAD [Pipeline] echo [2023-02-28T18:40:34.321Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-28T18:40:34.695Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-28T18:40:34.695Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-28T18:40:34.695Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-28T18:40:34.695Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-28T18:40:34.695Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-28T18:40:34.695Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-28T18:40:34.695Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T18:40:35.122Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T18:40:35.122Z] [2023-02-28T18:40:35.122Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T18:40:35.422Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T18:40:35.422Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-28T18:40:35.422Z] b85a868b505f: Pulling fs layer [2023-02-28T18:40:35.422Z] e2be974225ed: Pulling fs layer [2023-02-28T18:40:35.422Z] 339a4e72a1f5: Pulling fs layer [2023-02-28T18:40:35.422Z] 988bab9f4d93: Pulling fs layer [2023-02-28T18:40:35.422Z] 1469e6f7b9e6: Pulling fs layer [2023-02-28T18:40:35.422Z] eaf3925da568: Pulling fs layer [2023-02-28T18:40:35.422Z] bab4dde63d76: Pulling fs layer [2023-02-28T18:40:35.422Z] bde34c3a00c8: Pulling fs layer [2023-02-28T18:40:35.422Z] b352a97aabf1: Pulling fs layer [2023-02-28T18:40:35.422Z] 4872d77fe225: Pulling fs layer [2023-02-28T18:40:35.422Z] 5851b861e8e6: Pulling fs layer [2023-02-28T18:40:35.422Z] bab4dde63d76: Waiting [2023-02-28T18:40:35.422Z] 1469e6f7b9e6: Waiting [2023-02-28T18:40:35.422Z] 988bab9f4d93: Waiting [2023-02-28T18:40:35.422Z] bde34c3a00c8: Waiting [2023-02-28T18:40:35.422Z] 4872d77fe225: Waiting [2023-02-28T18:40:35.422Z] eaf3925da568: Waiting [2023-02-28T18:40:35.422Z] 5851b861e8e6: Waiting [2023-02-28T18:40:35.422Z] b352a97aabf1: Waiting [2023-02-28T18:40:35.422Z] e2be974225ed: Download complete [2023-02-28T18:40:35.422Z] 988bab9f4d93: Verifying Checksum [2023-02-28T18:40:35.683Z] 1469e6f7b9e6: Verifying Checksum [2023-02-28T18:40:35.683Z] 1469e6f7b9e6: Download complete [2023-02-28T18:40:35.683Z] eaf3925da568: Verifying Checksum [2023-02-28T18:40:35.683Z] eaf3925da568: Download complete [2023-02-28T18:40:35.683Z] 339a4e72a1f5: Verifying Checksum [2023-02-28T18:40:35.683Z] 339a4e72a1f5: Download complete [2023-02-28T18:40:35.683Z] bde34c3a00c8: Verifying Checksum [2023-02-28T18:40:35.683Z] bde34c3a00c8: Download complete [2023-02-28T18:40:35.683Z] b352a97aabf1: Verifying Checksum [2023-02-28T18:40:35.683Z] b352a97aabf1: Download complete [2023-02-28T18:40:35.683Z] 4872d77fe225: Download complete [2023-02-28T18:40:35.683Z] 5851b861e8e6: Download complete [2023-02-28T18:40:35.683Z] b85a868b505f: Verifying Checksum [2023-02-28T18:40:35.683Z] b85a868b505f: Download complete [2023-02-28T18:40:35.942Z] bab4dde63d76: Verifying Checksum [2023-02-28T18:40:35.942Z] bab4dde63d76: Download complete [2023-02-28T18:40:36.876Z] b85a868b505f: Pull complete [2023-02-28T18:40:36.876Z] e2be974225ed: Pull complete [2023-02-28T18:40:37.444Z] 339a4e72a1f5: Pull complete [2023-02-28T18:40:37.444Z] 988bab9f4d93: Pull complete [2023-02-28T18:40:37.702Z] 1469e6f7b9e6: Pull complete [2023-02-28T18:40:37.702Z] eaf3925da568: Pull complete [2023-02-28T18:40:39.081Z] bab4dde63d76: Pull complete [2023-02-28T18:40:39.081Z] bde34c3a00c8: Pull complete [2023-02-28T18:40:39.340Z] b352a97aabf1: Pull complete [2023-02-28T18:40:39.340Z] 4872d77fe225: Pull complete [2023-02-28T18:40:39.340Z] 5851b861e8e6: Pull complete [2023-02-28T18:40:39.340Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-28T18:40:39.340Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T18:40:39.600Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T18:40:39.678Z] prd-ubuntu20.04-docker-8c-8g-7777 does not seem to be running inside a container [2023-02-28T18:40:39.704Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1348 -v /w/workspace/gexfoundry_device-sdk-go_PR-1348:/w/workspace/gexfoundry_device-sdk-go_PR-1348:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-28T18:40:41.892Z] $ docker top 6040164c8c6096e43acbf901d1abe59fa7e725fa6f59394560426da37b778c68 -eo pid,comm [2023-02-28T18:40:41.948Z] 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-02-28T18:40:41.948Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-28T18:40:41.979Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-28T18:40:41.979Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-28T18:40:42.104Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-28T18:40:42.106Z] $ docker exec 6040164c8c6096e43acbf901d1abe59fa7e725fa6f59394560426da37b778c68 ssh-agent [2023-02-28T18:40:42.212Z] SSH_AUTH_SOCK=/tmp/ssh-TfcSkODbD8Un/agent.34 [2023-02-28T18:40:42.212Z] SSH_AGENT_PID=40 [2023-02-28T18:40:42.219Z] Running ssh-add (command line suppressed) [2023-02-28T18:40:42.313Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/private_key_12694674210069498469.key (/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/private_key_12694674210069498469.key) [2023-02-28T18:40:42.328Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-28T18:40:42.616Z] + git tag --points-at HEAD [Pipeline] } [2023-02-28T18:40:42.640Z] $ docker exec --env ******** --env ******** 6040164c8c6096e43acbf901d1abe59fa7e725fa6f59394560426da37b778c68 ssh-agent -k [2023-02-28T18:40:42.736Z] unset SSH_AUTH_SOCK; [2023-02-28T18:40:42.737Z] unset SSH_AGENT_PID; [2023-02-28T18:40:42.737Z] echo Agent pid 40 killed; [2023-02-28T18:40:42.747Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-28T18:40:42.770Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-28T18:40:42.770Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-28T18:40:42.886Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-28T18:40:42.888Z] $ docker exec 6040164c8c6096e43acbf901d1abe59fa7e725fa6f59394560426da37b778c68 ssh-agent [2023-02-28T18:40:42.990Z] SSH_AUTH_SOCK=/tmp/ssh-WwljkwGdutQU/agent.72 [2023-02-28T18:40:42.990Z] SSH_AGENT_PID=78 [2023-02-28T18:40:42.994Z] Running ssh-add (command line suppressed) [2023-02-28T18:40:43.098Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/private_key_15002826268169020266.key (/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/private_key_15002826268169020266.key) [2023-02-28T18:40:43.110Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-28T18:40:43.397Z] + git semver init [2023-02-28T18:40:43.656Z] 2023-02-28 18:40:43,585 [run_init] DEBUG init version:0.0.0 force:False [2023-02-28T18:40:43.656Z] 2023-02-28 18:40:43,586 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver [2023-02-28T18:40:43.656Z] 2023-02-28 18:40:43,586 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver [2023-02-28T18:40:43.656Z] 2023-02-28 18:40:43,587 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1348, universal_newlines=False, shell=None, istream=None) [2023-02-28T18:40:44.597Z] 2023-02-28 18:40:44,542 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1348/.git/info/exclude [2023-02-28T18:40:44.597Z] 2023-02-28 18:40:44,542 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver/PR-1348 with force:False [2023-02-28T18:40:44.597Z] 2023-02-28 18:40:44,543 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver/PR-1348 [2023-02-28T18:40:44.597Z] 2023-02-28 18:40:44,548 [execute] INFO git cat-file --batch-check [2023-02-28T18:40:44.597Z] 2023-02-28 18:40:44,548 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver, universal_newlines=False, shell=None, istream=) [2023-02-28T18:40:44.597Z] 2023-02-28 18:40:44,554 [execute] INFO git cat-file --batch [2023-02-28T18:40:44.597Z] 2023-02-28 18:40:44,554 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver, universal_newlines=False, shell=None, istream=) [2023-02-28T18:40:44.597Z] 2023-02-28 18:40:44,560 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver/PR-1348 [2023-02-28T18:40:44.597Z] 0.0.0 [Pipeline] } [2023-02-28T18:40:44.606Z] $ docker exec --env ******** --env ******** 6040164c8c6096e43acbf901d1abe59fa7e725fa6f59394560426da37b778c68 ssh-agent -k [2023-02-28T18:40:44.699Z] unset SSH_AUTH_SOCK; [2023-02-28T18:40:44.700Z] unset SSH_AGENT_PID; [2023-02-28T18:40:44.700Z] echo Agent pid 78 killed; [2023-02-28T18:40:44.709Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-28T18:40:45.010Z] + git semver [Pipeline] } [2023-02-28T18:40:45.284Z] $ docker stop --time=1 6040164c8c6096e43acbf901d1abe59fa7e725fa6f59394560426da37b778c68 [2023-02-28T18:40:46.570Z] $ docker rm -f --volumes 6040164c8c6096e43acbf901d1abe59fa7e725fa6f59394560426da37b778c68 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T18:40:46.910Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-28T18:40:47.092Z] Stashed 1 file(s) [Pipeline] echo [2023-02-28T18:40:47.096Z] [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-02-28T18:40:47.208Z] provisioning config files... [2023-02-28T18:40:47.217Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/config10691539168597678674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T18:40:47.443Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7782 in /w/workspace/gexfoundry_device-sdk-go_PR-1348 [Pipeline] { [Pipeline] ws [2023-02-28T18:40:47.456Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-02-28T18:40:47.482Z] The recommended git tool is: git [2023-02-28T18:40:47.513Z] ---> docker-login.sh [2023-02-28T18:40:47.513Z] nexus3.edgexfoundry.org:10001 [2023-02-28T18:40:47.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T18:40:47.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T18:40:47.513Z] Configure a credential helper to remove this warning. See [2023-02-28T18:40:47.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T18:40:47.513Z] [2023-02-28T18:40:47.513Z] Login Succeeded [2023-02-28T18:40:47.513Z] nexus3.edgexfoundry.org:10002 [2023-02-28T18:40:47.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T18:40:47.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T18:40:47.513Z] Configure a credential helper to remove this warning. See [2023-02-28T18:40:47.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T18:40:47.513Z] [2023-02-28T18:40:47.513Z] Login Succeeded [2023-02-28T18:40:47.513Z] nexus3.edgexfoundry.org:10003 [2023-02-28T18:40:47.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T18:40:47.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T18:40:47.771Z] Configure a credential helper to remove this warning. See [2023-02-28T18:40:47.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T18:40:47.771Z] [2023-02-28T18:40:47.771Z] Login Succeeded [2023-02-28T18:40:47.771Z] nexus3.edgexfoundry.org:10004 [2023-02-28T18:40:47.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T18:40:47.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T18:40:47.771Z] Configure a credential helper to remove this warning. See [2023-02-28T18:40:47.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T18:40:47.771Z] [2023-02-28T18:40:47.771Z] Login Succeeded [2023-02-28T18:40:47.771Z] docker.io [2023-02-28T18:40:48.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T18:40:48.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T18:40:48.038Z] Configure a credential helper to remove this warning. See [2023-02-28T18:40:48.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T18:40:48.038Z] [2023-02-28T18:40:48.038Z] Login Succeeded [2023-02-28T18:40:48.038Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T18:40:48.045Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-28T18:40:48.104Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T18:40:48.115Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T18:40:48.124Z] ========================================================= [2023-02-28T18:40:48.124Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-28T18:40:48.124Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T18:40:48.432Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-28T18:40:48.432Z] Sending build context to Docker daemon 10.59MB [2023-02-28T18:40:48.432Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T18:40:48.432Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-28T18:40:48.432Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-28T18:40:48.432Z] 213ec9aee27d: Pulling fs layer [2023-02-28T18:40:48.432Z] 4583459ba037: Pulling fs layer [2023-02-28T18:40:48.432Z] 93c1e223e6f2: Pulling fs layer [2023-02-28T18:40:48.432Z] 53926ce57604: Pulling fs layer [2023-02-28T18:40:48.432Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-28T18:40:48.432Z] 22ff95d597cd: Pulling fs layer [2023-02-28T18:40:48.432Z] 12d6caf4c0d1: Pulling fs layer [2023-02-28T18:40:48.432Z] 96b7cbca73a9: Pulling fs layer [2023-02-28T18:40:48.432Z] a7acece74701: Pulling fs layer [2023-02-28T18:40:48.432Z] 53926ce57604: Waiting [2023-02-28T18:40:48.432Z] 21b2b0c7a3f4: Waiting [2023-02-28T18:40:48.432Z] 22ff95d597cd: Waiting [2023-02-28T18:40:48.432Z] 12d6caf4c0d1: Waiting [2023-02-28T18:40:48.432Z] 96b7cbca73a9: Waiting [2023-02-28T18:40:48.432Z] a7acece74701: Waiting [2023-02-28T18:40:48.691Z] 93c1e223e6f2: Download complete [2023-02-28T18:40:48.691Z] 4583459ba037: Download complete [2023-02-28T18:40:48.691Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-28T18:40:48.691Z] 21b2b0c7a3f4: Download complete [2023-02-28T18:40:48.691Z] 22ff95d597cd: Verifying Checksum [2023-02-28T18:40:48.691Z] 22ff95d597cd: Download complete [2023-02-28T18:40:48.691Z] 213ec9aee27d: Verifying Checksum [2023-02-28T18:40:48.691Z] 213ec9aee27d: Download complete [2023-02-28T18:40:48.691Z] 12d6caf4c0d1: Verifying Checksum [2023-02-28T18:40:48.691Z] 12d6caf4c0d1: Download complete [2023-02-28T18:40:48.691Z] 213ec9aee27d: Pull complete [2023-02-28T18:40:48.953Z] 4583459ba037: Pull complete [2023-02-28T18:40:48.953Z] 93c1e223e6f2: Pull complete [2023-02-28T18:40:48.953Z] a7acece74701: Verifying Checksum [2023-02-28T18:40:48.953Z] a7acece74701: Download complete [2023-02-28T18:40:49.211Z] 96b7cbca73a9: Verifying Checksum [2023-02-28T18:40:49.211Z] 96b7cbca73a9: Download complete [2023-02-28T18:40:49.468Z] 53926ce57604: Verifying Checksum [2023-02-28T18:40:49.468Z] 53926ce57604: Download complete [2023-02-28T18:40:52.376Z] using credential edgex-jenkins-ssh [2023-02-28T18:40:52.391Z] Cloning the remote Git repository [2023-02-28T18:40:52.448Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-28T18:40:52.521Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-02-28T18:40:52.694Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-28T18:40:52.695Z] > git --version # timeout=10 [2023-02-28T18:40:52.717Z] > git --version # 'git version 2.25.1' [2023-02-28T18:40:52.720Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-28T18:40:52.784Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-28T18:40:53.652Z] 53926ce57604: Pull complete [2023-02-28T18:40:53.652Z] 21b2b0c7a3f4: Pull complete [2023-02-28T18:40:53.652Z] 22ff95d597cd: Pull complete [2023-02-28T18:40:53.652Z] 12d6caf4c0d1: Pull complete [2023-02-28T18:40:54.491Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-28T18:40:54.515Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-28T18:40:55.558Z] 96b7cbca73a9: Pull complete [2023-02-28T18:40:56.117Z] Merging remotes/origin/main commit acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 into PR head commit fad7a1e2c560019197ab19bbba7a11372a68c49b [2023-02-28T18:40:56.132Z] a7acece74701: Pull complete [2023-02-28T18:40:56.132Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-28T18:40:56.132Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-28T18:40:56.132Z] ---> db6d94c90886 [2023-02-28T18:40:56.132Z] Step 3/10 : ARG MAKE=make build [2023-02-28T18:40:55.357Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-28T18:40:55.401Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-28T18:40:55.402Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-28T18:40:55.422Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1348/head:refs/remotes/origin/PR-1348 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-28T18:40:56.150Z] > git config core.sparsecheckout # timeout=10 [2023-02-28T18:40:56.168Z] > git checkout -f fad7a1e2c560019197ab19bbba7a11372a68c49b # timeout=10 [2023-02-28T18:40:56.421Z] Merge succeeded, producing f35a1aff7512461053a708065a9057b6463edcaa [2023-02-28T18:40:56.422Z] Checking out Revision f35a1aff7512461053a708065a9057b6463edcaa (PR-1348) [2023-02-28T18:40:56.282Z] > git remote # timeout=10 [2023-02-28T18:40:56.300Z] > git config --get remote.origin.url # timeout=10 [2023-02-28T18:40:56.320Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-28T18:40:56.332Z] > git merge acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 # timeout=10 [2023-02-28T18:40:56.414Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-28T18:40:56.440Z] > git config core.sparsecheckout # timeout=10 [2023-02-28T18:40:56.452Z] > git checkout -f f35a1aff7512461053a708065a9057b6463edcaa # timeout=10 [2023-02-28T18:40:59.902Z] Commit message: "Merge commit 'acdf2d5cdad6fc08cdfb18917d876b8970fb9c96' into HEAD" [2023-02-28T18:40:59.929Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T18:41:00.335Z] ---> Running in d028e08159b5 [2023-02-28T18:41:00.605Z] Removing intermediate container d028e08159b5 [2023-02-28T18:41:00.605Z] ---> e9ed1bce25c0 [2023-02-28T18:41:00.605Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-28T18:41:00.605Z] ---> Running in d1ca5659b3a9 [2023-02-28T18:41:00.605Z] Removing intermediate container d1ca5659b3a9 [2023-02-28T18:41:00.605Z] ---> 635fadbf9543 [2023-02-28T18:41:00.605Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-28T18:41:00.605Z] ---> Running in d0417c30a43a [2023-02-28T18:41:00.605Z] Removing intermediate container d0417c30a43a [2023-02-28T18:41:00.605Z] ---> 8a6eda299edc [2023-02-28T18:41:00.605Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-28T18:41:00.605Z] ---> Running in f9fbdaf60243 [2023-02-28T18:40:59.924Z] > git rev-list --no-walk 5c627c7e2c73b362ee0fd16ab0e7d71309dd5cd3 # timeout=10 [2023-02-28T18:41:00.742Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-28T18:41:00.742Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T18:41:00.742Z] Dload Upload Total Spent Left Speed [2023-02-28T18:41:00.742Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2023-02-28T18:41:01.172Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-28T18:41:01.172Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-28T18:41:01.172Z] OK: 211 MiB in 51 packages [2023-02-28T18:41:01.350Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-28T18:41:01.678Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2023-02-28T18:41:01.679Z] sudo tee /etc/docker/daemon.new [2023-02-28T18:41:01.679Z] { [2023-02-28T18:41:01.679Z] "registry-mirrors": [ [2023-02-28T18:41:01.679Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-28T18:41:01.679Z] ], [2023-02-28T18:41:01.679Z] "bip": "10.250.0.254/24", [2023-02-28T18:41:01.679Z] "hosts": [ [2023-02-28T18:41:01.679Z] "tcp://0.0.0.0:5555", [2023-02-28T18:41:01.679Z] "unix:///var/run/docker.sock" [2023-02-28T18:41:01.679Z] ], [2023-02-28T18:41:01.679Z] "mtu": 1458, [2023-02-28T18:41:01.679Z] "selinux-enabled": true, [2023-02-28T18:41:01.679Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-28T18:41:01.679Z] } [Pipeline] sh [2023-02-28T18:41:01.738Z] Removing intermediate container f9fbdaf60243 [2023-02-28T18:41:01.739Z] ---> 29534442f339 [2023-02-28T18:41:01.739Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-28T18:41:01.739Z] ---> 59abd83b5ac1 [2023-02-28T18:41:01.739Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T18:41:01.739Z] ---> Running in 385491de4904 [2023-02-28T18:41:02.000Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-28T18:41:02.324Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T18:41:20.604Z] provisioning config files... [2023-02-28T18:41:20.629Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config10811675747506346845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T18:41:20.975Z] ---> docker-login.sh [2023-02-28T18:41:20.975Z] nexus3.edgexfoundry.org:10001 [2023-02-28T18:41:21.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T18:41:21.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T18:41:21.514Z] Configure a credential helper to remove this warning. See [2023-02-28T18:41:21.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T18:41:21.514Z] [2023-02-28T18:41:21.514Z] Login Succeeded [2023-02-28T18:41:21.514Z] nexus3.edgexfoundry.org:10002 [2023-02-28T18:41:21.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T18:41:22.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T18:41:22.053Z] Configure a credential helper to remove this warning. See [2023-02-28T18:41:22.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T18:41:22.053Z] [2023-02-28T18:41:22.053Z] Login Succeeded [2023-02-28T18:41:22.053Z] nexus3.edgexfoundry.org:10003 [2023-02-28T18:41:22.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T18:41:22.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T18:41:22.324Z] Configure a credential helper to remove this warning. See [2023-02-28T18:41:22.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T18:41:22.324Z] [2023-02-28T18:41:22.324Z] Login Succeeded [2023-02-28T18:41:22.324Z] nexus3.edgexfoundry.org:10004 [2023-02-28T18:41:22.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T18:41:22.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T18:41:22.649Z] Configure a credential helper to remove this warning. See [2023-02-28T18:41:22.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T18:41:22.649Z] [2023-02-28T18:41:22.649Z] Login Succeeded [2023-02-28T18:41:22.649Z] docker.io [2023-02-28T18:41:22.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T18:41:23.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T18:41:23.190Z] Configure a credential helper to remove this warning. See [2023-02-28T18:41:23.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T18:41:23.190Z] [2023-02-28T18:41:23.190Z] Login Succeeded [2023-02-28T18:41:23.190Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T18:41:23.204Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-28T18:41:23.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T18:41:23.451Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T18:41:23.465Z] ========================================================= [2023-02-28T18:41:23.465Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-28T18:41:23.465Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T18:41:23.813Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-28T18:41:24.086Z] Sending build context to Docker daemon 5.691MB [2023-02-28T18:41:24.354Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T18:41:24.354Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-28T18:41:24.354Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-28T18:41:24.354Z] 9b18e9b68314: Pulling fs layer [2023-02-28T18:41:24.354Z] 35d82f9e3411: Pulling fs layer [2023-02-28T18:41:24.354Z] e16973657156: Pulling fs layer [2023-02-28T18:41:24.354Z] fc693d55d65f: Pulling fs layer [2023-02-28T18:41:24.354Z] 7e9fc2657dce: Pulling fs layer [2023-02-28T18:41:24.354Z] dda99020689f: Pulling fs layer [2023-02-28T18:41:24.354Z] db1c61fa0a46: Pulling fs layer [2023-02-28T18:41:24.354Z] 891c053d2c06: Pulling fs layer [2023-02-28T18:41:24.354Z] fc693d55d65f: Waiting [2023-02-28T18:41:24.354Z] 7e9fc2657dce: Waiting [2023-02-28T18:41:24.354Z] dda99020689f: Waiting [2023-02-28T18:41:24.354Z] db1c61fa0a46: Waiting [2023-02-28T18:41:24.354Z] 891c053d2c06: Waiting [2023-02-28T18:41:24.354Z] e16973657156: Verifying Checksum [2023-02-28T18:41:24.354Z] e16973657156: Download complete [2023-02-28T18:41:24.354Z] 35d82f9e3411: Verifying Checksum [2023-02-28T18:41:24.354Z] 35d82f9e3411: Download complete [2023-02-28T18:41:24.354Z] 7e9fc2657dce: Verifying Checksum [2023-02-28T18:41:24.354Z] 7e9fc2657dce: Download complete [2023-02-28T18:41:24.354Z] dda99020689f: Verifying Checksum [2023-02-28T18:41:24.354Z] dda99020689f: Download complete [2023-02-28T18:41:24.354Z] 9b18e9b68314: Verifying Checksum [2023-02-28T18:41:24.354Z] 9b18e9b68314: Download complete [2023-02-28T18:41:25.324Z] 9b18e9b68314: Pull complete [2023-02-28T18:41:25.593Z] 891c053d2c06: Verifying Checksum [2023-02-28T18:41:25.593Z] 891c053d2c06: Download complete [2023-02-28T18:41:25.863Z] 35d82f9e3411: Pull complete [2023-02-28T18:41:26.130Z] e16973657156: Pull complete [2023-02-28T18:41:26.719Z] db1c61fa0a46: Verifying Checksum [2023-02-28T18:41:26.719Z] db1c61fa0a46: Download complete [2023-02-28T18:41:27.307Z] fc693d55d65f: Verifying Checksum [2023-02-28T18:41:27.307Z] fc693d55d65f: Download complete [2023-02-28T18:41:39.628Z] fc693d55d65f: Pull complete [2023-02-28T18:41:39.628Z] 7e9fc2657dce: Pull complete [2023-02-28T18:41:39.628Z] dda99020689f: Pull complete [2023-02-28T18:41:44.973Z] db1c61fa0a46: Pull complete [2023-02-28T18:41:47.570Z] 891c053d2c06: Pull complete [2023-02-28T18:41:47.570Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-28T18:41:47.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-28T18:41:47.839Z] ---> f96f9c87975a [2023-02-28T18:41:47.839Z] Step 3/10 : ARG MAKE=make build [2023-02-28T18:41:49.791Z] ---> Running in 6f482e461b50 [2023-02-28T18:41:49.791Z] Removing intermediate container 6f482e461b50 [2023-02-28T18:41:49.791Z] ---> ab06ef515bcf [2023-02-28T18:41:49.791Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-28T18:41:49.791Z] ---> Running in 5f3f04dc4955 [2023-02-28T18:41:50.061Z] Removing intermediate container 5f3f04dc4955 [2023-02-28T18:41:50.061Z] ---> 315348e0710e [2023-02-28T18:41:50.061Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-28T18:41:50.061Z] ---> Running in dec9de95137d [2023-02-28T18:41:50.333Z] Removing intermediate container dec9de95137d [2023-02-28T18:41:50.333Z] ---> b009392f38b0 [2023-02-28T18:41:50.333Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-28T18:41:50.333Z] ---> Running in 2b3fb3841853 [2023-02-28T18:41:51.740Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-28T18:41:51.740Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-28T18:41:52.700Z] OK: 221 MiB in 51 packages [2023-02-28T18:41:53.659Z] Removing intermediate container 2b3fb3841853 [2023-02-28T18:41:53.659Z] ---> fe23ccd52ef9 [2023-02-28T18:41:53.659Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-28T18:41:53.931Z] ---> 18ffac2677da [2023-02-28T18:41:53.931Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T18:41:53.931Z] ---> Running in 9c7bac6e3e4f [2023-02-28T18:41:58.070Z] Removing intermediate container 385491de4904 [2023-02-28T18:41:58.070Z] ---> ccbd05e0aadc [2023-02-28T18:41:58.070Z] Step 9/10 : COPY . . [2023-02-28T18:41:58.070Z] ---> dd8174a7f00c [2023-02-28T18:41:58.070Z] Step 10/10 : RUN ${MAKE} [2023-02-28T18:41:58.070Z] ---> Running in 292f888e7665 [2023-02-28T18:41:58.070Z] noop [2023-02-28T18:41:58.070Z] Removing intermediate container 292f888e7665 [2023-02-28T18:41:58.070Z] ---> 0a01ccdfa6f2 [2023-02-28T18:41:58.070Z] Successfully built 0a01ccdfa6f2 [2023-02-28T18:41:58.070Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T18:41:58.380Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-28T18:41:58.380Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T18:41:58.458Z] prd-ubuntu20.04-docker-8c-8g-7777 does not seem to be running inside a container [2023-02-28T18:41:58.489Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1348 -v /w/workspace/gexfoundry_device-sdk-go_PR-1348:/w/workspace/gexfoundry_device-sdk-go_PR-1348:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1348@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 ******** ci-base-image-x86_64 cat [2023-02-28T18:41:58.830Z] $ docker top 6ca549ddb7ab6614684cf0b14aad17abf18338f2ef02a920c18f5a8b56430321 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T18:41:59.176Z] + go version [2023-02-28T18:41:59.176Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-28T18:41:59.186Z] $ docker stop --time=1 6ca549ddb7ab6614684cf0b14aad17abf18338f2ef02a920c18f5a8b56430321 [2023-02-28T18:42:00.482Z] $ docker rm -f --volumes 6ca549ddb7ab6614684cf0b14aad17abf18338f2ef02a920c18f5a8b56430321 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T18:42:00.896Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-28T18:42:00.896Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T18:42:00.975Z] prd-ubuntu20.04-docker-8c-8g-7777 does not seem to be running inside a container [2023-02-28T18:42:01.006Z] $ 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-1348 -v /w/workspace/gexfoundry_device-sdk-go_PR-1348:/w/workspace/gexfoundry_device-sdk-go_PR-1348:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1348@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 ******** ci-base-image-x86_64 cat [2023-02-28T18:42:01.349Z] $ docker top 7d5cdd617b56add2d0f88d6228e051ba088693fb401a26cd169844384a09d8c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T18:42:01.695Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1348 [Pipeline] fileExists [Pipeline] sh [2023-02-28T18:42:01.994Z] + make test [2023-02-28T18:42:01.994Z] go test -race -coverprofile=coverage.out ./... [2023-02-28T18:42:08.556Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-28T18:42:23.427Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-28T18:42:23.427Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-28T18:42:23.427Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-28T18:42:23.427Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-28T18:42:23.427Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-28T18:42:23.427Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.055s coverage: 27.6% of statements [2023-02-28T18:42:23.427Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.070s coverage: 78.9% of statements [2023-02-28T18:42:23.427Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-28T18:42:23.427Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.112s coverage: 86.0% of statements [2023-02-28T18:42:23.427Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-28T18:42:23.427Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-28T18:42:23.428Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.098s coverage: 74.7% of statements [2023-02-28T18:42:23.428Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-28T18:42:26.716Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.072s coverage: 15.5% of statements [2023-02-28T18:42:26.716Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-28T18:42:26.716Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.089s coverage: 65.2% of statements [2023-02-28T18:42:26.716Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-28T18:42:26.716Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-28T18:42:26.716Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.784s coverage: 89.2% of statements [2023-02-28T18:42:26.716Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-28T18:42:26.716Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.067s coverage: 4.6% of statements [2023-02-28T18:42:26.716Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-28T18:42:44.809Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-28T18:42:44.809Z] GO111MODULE=on go vet ./... [2023-02-28T18:42:45.751Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-28T18:42:45.751Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-28T18:42:45.751Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-28T18:42:45.763Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-28T18:42:45.776Z] $ docker stop --time=1 7d5cdd617b56add2d0f88d6228e051ba088693fb401a26cd169844384a09d8c7 [2023-02-28T18:42:48.283Z] $ docker rm -f --volumes 7d5cdd617b56add2d0f88d6228e051ba088693fb401a26cd169844384a09d8c7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T18:42:48.811Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-28T18:42:48.873Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-28T18:42:49.361Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-28T18:42:49.644Z] + ls -al . [2023-02-28T18:42:49.645Z] total 280 [2023-02-28T18:42:49.645Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 28 18:42 . [2023-02-28T18:42:49.645Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 18:40 .. [2023-02-28T18:42:49.645Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 28 18:40 .dockerignore [2023-02-28T18:42:49.645Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 28 18:42 .git [2023-02-28T18:42:49.645Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 18:40 .github [2023-02-28T18:42:49.645Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 28 18:40 .gitignore [2023-02-28T18:42:49.645Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 28 18:40 .golangci.yml [2023-02-28T18:42:49.645Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 18:40 .semver [2023-02-28T18:42:49.645Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 28 18:40 CHANGELOG.md [2023-02-28T18:42:49.645Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 28 18:40 GOVERNANCE.md [2023-02-28T18:42:49.645Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 28 18:40 Jenkinsfile [2023-02-28T18:42:49.645Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 28 18:40 LICENSE [2023-02-28T18:42:49.645Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 28 18:40 Makefile [2023-02-28T18:42:49.645Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 28 18:40 OWNERS.md [2023-02-28T18:42:49.645Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 28 18:40 README.md [2023-02-28T18:42:49.645Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 28 18:40 VERSION [2023-02-28T18:42:49.645Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 18:40 bin [2023-02-28T18:42:49.645Z] -rw-r--r-- 1 jenkins jenkins 111045 Feb 28 18:42 coverage.out [2023-02-28T18:42:49.645Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 28 18:40 example [2023-02-28T18:42:49.645Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 28 18:40 go.mod [2023-02-28T18:42:49.645Z] -rw-rw-r-- 1 jenkins jenkins 30840 Feb 28 18:40 go.sum [2023-02-28T18:42:49.645Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 28 18:40 internal [2023-02-28T18:42:49.645Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 18:40 openapi [2023-02-28T18:42:49.645Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 28 18:40 pkg [2023-02-28T18:42:49.645Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 18:40 snap [2023-02-28T18:42:49.645Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 28 18:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T18:42:49.954Z] + 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=4cdd51b4a14ed7d86739b96caadc5ffea091babb --label arch=amd64 --label version=0.0.0 . [2023-02-28T18:42:49.954Z] Sending build context to Docker daemon 10.7MB [2023-02-28T18:42:49.954Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T18:42:49.954Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-28T18:42:49.954Z] ---> 0a01ccdfa6f2 [2023-02-28T18:42:49.954Z] Step 3/23 : ARG MAKE=make build [2023-02-28T18:42:50.213Z] ---> Running in 86733c351256 [2023-02-28T18:42:50.213Z] Removing intermediate container 86733c351256 [2023-02-28T18:42:50.213Z] ---> 7cb2b29dc57d [2023-02-28T18:42:50.213Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-28T18:42:50.213Z] ---> Running in c2bf268a896a [2023-02-28T18:42:50.213Z] Removing intermediate container c2bf268a896a [2023-02-28T18:42:50.213Z] ---> dc0aa2e18130 [2023-02-28T18:42:50.213Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-28T18:42:50.213Z] ---> Running in 6398fa913de3 [2023-02-28T18:42:50.362Z] Removing intermediate container 9c7bac6e3e4f [2023-02-28T18:42:50.362Z] ---> 47d5bedfa961 [2023-02-28T18:42:50.362Z] Step 9/10 : COPY . . [2023-02-28T18:42:50.473Z] Removing intermediate container 6398fa913de3 [2023-02-28T18:42:50.473Z] ---> ebfb62659f54 [2023-02-28T18:42:50.473Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-28T18:42:50.473Z] ---> Running in 612054d2b793 [2023-02-28T18:42:50.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-28T18:42:50.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-28T18:42:50.946Z] ---> ed76ea72bf68 [2023-02-28T18:42:50.946Z] Step 10/10 : RUN ${MAKE} [2023-02-28T18:42:50.946Z] ---> Running in a56d721fb1fe [2023-02-28T18:42:50.991Z] OK: 211 MiB in 51 packages [2023-02-28T18:42:51.556Z] Removing intermediate container 612054d2b793 [2023-02-28T18:42:51.557Z] ---> 2028ced40e53 [2023-02-28T18:42:51.557Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-28T18:42:51.557Z] ---> 6ab6c787fed2 [2023-02-28T18:42:51.557Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T18:42:51.557Z] ---> Running in f0ab804ac2a5 [2023-02-28T18:42:51.909Z] noop [2023-02-28T18:42:52.491Z] Removing intermediate container f0ab804ac2a5 [2023-02-28T18:42:52.491Z] ---> b1f2fbfc4c1e [2023-02-28T18:42:52.491Z] Step 9/23 : COPY . . [2023-02-28T18:42:52.494Z] Removing intermediate container a56d721fb1fe [2023-02-28T18:42:52.494Z] ---> b6cd4b3cc0ce [2023-02-28T18:42:52.749Z] ---> cba727fc285a [2023-02-28T18:42:52.750Z] Step 10/23 : RUN ${MAKE} [2023-02-28T18:42:52.750Z] ---> Running in 5820d126ba09 [2023-02-28T18:42:52.760Z] Successfully built b6cd4b3cc0ce [2023-02-28T18:42:52.760Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T18:42:53.009Z] 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-02-28T18:42:53.103Z] + docker inspect -f . ci-base-image-arm64 [2023-02-28T18:42:53.103Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T18:42:53.282Z] prd-ubuntu20.04-docker-arm64-4c-16g-7782 does not seem to be running inside a container [2023-02-28T18:42:53.354Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-28T18:42:54.576Z] $ docker top 4acd401731deac037ac52d4309992ce6e0e51f236042fc8365cbb1a47e325d54 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T18:42:55.384Z] + go version [2023-02-28T18:42:55.384Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-28T18:42:55.415Z] $ docker stop --time=1 4acd401731deac037ac52d4309992ce6e0e51f236042fc8365cbb1a47e325d54 [2023-02-28T18:42:57.049Z] $ docker rm -f --volumes 4acd401731deac037ac52d4309992ce6e0e51f236042fc8365cbb1a47e325d54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T18:42:57.597Z] + docker inspect -f . ci-base-image-arm64 [2023-02-28T18:42:57.597Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T18:42:57.777Z] prd-ubuntu20.04-docker-arm64-4c-16g-7782 does not seem to be running inside a container [2023-02-28T18:42:57.857Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-28T18:42:59.051Z] $ docker top f148c0cf0cd0544f498c9e082c0ec63dc547bf5f7b6ca8b22412ffe070be1f18 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T18:42:59.525Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-02-28T18:42:59.859Z] + make test [2023-02-28T18:42:59.859Z] go test -race -coverprofile=coverage.out ./... [2023-02-28T18:43:14.923Z] Removing intermediate container 5820d126ba09 [2023-02-28T18:43:14.923Z] ---> 8759058e7ed8 [2023-02-28T18:43:14.923Z] Step 11/23 : FROM alpine:3.16 [2023-02-28T18:43:14.923Z] 3.16: Pulling from library/alpine [2023-02-28T18:43:14.923Z] ef5531b6e74e: Pulling fs layer [2023-02-28T18:43:14.923Z] ef5531b6e74e: Pull complete [2023-02-28T18:43:14.923Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-28T18:43:14.923Z] Status: Downloaded newer image for alpine:3.16 [2023-02-28T18:43:14.923Z] ---> dfd21b5a31f5 [2023-02-28T18:43:14.923Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-28T18:43:14.923Z] ---> Running in 1c81a13e09d5 [2023-02-28T18:43:14.923Z] Removing intermediate container 1c81a13e09d5 [2023-02-28T18:43:14.923Z] ---> 9ce6919b4bec [2023-02-28T18:43:14.923Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-28T18:43:14.923Z] ---> Running in d592faea586a [2023-02-28T18:43:14.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-28T18:43:14.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-28T18:43:14.923Z] OK: 6 MiB in 14 packages [2023-02-28T18:43:14.923Z] Removing intermediate container d592faea586a [2023-02-28T18:43:14.923Z] ---> 079265ea74e4 [2023-02-28T18:43:14.923Z] Step 14/23 : WORKDIR / [2023-02-28T18:43:14.923Z] ---> Running in fb96bc760021 [2023-02-28T18:43:14.923Z] Removing intermediate container fb96bc760021 [2023-02-28T18:43:14.923Z] ---> 2411355f4d19 [2023-02-28T18:43:14.923Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-28T18:43:14.923Z] ---> 9436323bdfeb [2023-02-28T18:43:14.923Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-28T18:43:14.923Z] ---> cfa09e105c2c [2023-02-28T18:43:14.923Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-28T18:43:14.923Z] ---> 66c01bf84d1a [2023-02-28T18:43:14.923Z] Step 18/23 : EXPOSE 59999 [2023-02-28T18:43:14.923Z] ---> Running in edb5761734e6 [2023-02-28T18:43:14.923Z] Removing intermediate container edb5761734e6 [2023-02-28T18:43:14.923Z] ---> a9612db447d3 [2023-02-28T18:43:14.923Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-28T18:43:14.923Z] ---> Running in 187f082fce29 [2023-02-28T18:43:14.923Z] Removing intermediate container 187f082fce29 [2023-02-28T18:43:14.923Z] ---> 09df124fbbdd [2023-02-28T18:43:14.923Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-28T18:43:14.923Z] ---> Running in 454563689ae0 [2023-02-28T18:43:14.923Z] Removing intermediate container 454563689ae0 [2023-02-28T18:43:14.923Z] ---> 75cc46e7703e [2023-02-28T18:43:14.923Z] Step 21/23 : LABEL arch=amd64 [2023-02-28T18:43:14.923Z] ---> Running in 402b6e89d552 [2023-02-28T18:43:15.180Z] Removing intermediate container 402b6e89d552 [2023-02-28T18:43:15.180Z] ---> ad3df1ec080b [2023-02-28T18:43:15.180Z] Step 22/23 : LABEL git_sha=4cdd51b4a14ed7d86739b96caadc5ffea091babb [2023-02-28T18:43:15.180Z] ---> Running in 7474d35ba0d7 [2023-02-28T18:43:15.180Z] Removing intermediate container 7474d35ba0d7 [2023-02-28T18:43:15.180Z] ---> 3708a3d44abe [2023-02-28T18:43:15.180Z] Step 23/23 : LABEL version=0.0.0 [2023-02-28T18:43:15.180Z] ---> Running in a931c7fbb522 [2023-02-28T18:43:15.180Z] Removing intermediate container a931c7fbb522 [2023-02-28T18:43:15.180Z] ---> 76e310099977 [2023-02-28T18:43:15.180Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-28T18:43:15.438Z] Successfully built 76e310099977 [2023-02-28T18:43:15.438Z] 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-02-28T18:43:15.864Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T18:43:15.865Z] [2023-02-28T18:43:15.865Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T18:43:16.165Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T18:43:16.165Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-28T18:43:16.165Z] 5eb5b503b376: Pulling fs layer [2023-02-28T18:43:16.165Z] 5c69ac0246d0: Pulling fs layer [2023-02-28T18:43:16.165Z] ec43610c2a17: Pulling fs layer [2023-02-28T18:43:16.165Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-28T18:43:16.165Z] 33b1e0a273af: Pulling fs layer [2023-02-28T18:43:16.165Z] 5d3b04190fa2: Pulling fs layer [2023-02-28T18:43:16.165Z] 2f39f015ded8: Pulling fs layer [2023-02-28T18:43:16.165Z] 33b1e0a273af: Waiting [2023-02-28T18:43:16.165Z] 5d3b04190fa2: Waiting [2023-02-28T18:43:16.165Z] 2f39f015ded8: Waiting [2023-02-28T18:43:16.165Z] 3a2ae6a8a46f: Waiting [2023-02-28T18:43:16.165Z] 5c69ac0246d0: Download complete [2023-02-28T18:43:16.165Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-28T18:43:16.165Z] 3a2ae6a8a46f: Download complete [2023-02-28T18:43:16.165Z] 33b1e0a273af: Verifying Checksum [2023-02-28T18:43:16.165Z] 33b1e0a273af: Download complete [2023-02-28T18:43:16.423Z] 5d3b04190fa2: Verifying Checksum [2023-02-28T18:43:16.423Z] 5d3b04190fa2: Download complete [2023-02-28T18:43:16.423Z] ec43610c2a17: Verifying Checksum [2023-02-28T18:43:16.423Z] ec43610c2a17: Download complete [2023-02-28T18:43:16.423Z] 5eb5b503b376: Verifying Checksum [2023-02-28T18:43:16.423Z] 5eb5b503b376: Download complete [2023-02-28T18:43:16.989Z] 2f39f015ded8: Download complete [2023-02-28T18:43:17.556Z] 5eb5b503b376: Pull complete [2023-02-28T18:43:17.556Z] 5c69ac0246d0: Pull complete [2023-02-28T18:43:18.130Z] ec43610c2a17: Pull complete [2023-02-28T18:43:18.130Z] 3a2ae6a8a46f: Pull complete [2023-02-28T18:43:18.392Z] 33b1e0a273af: Pull complete [2023-02-28T18:43:18.392Z] 5d3b04190fa2: Pull complete [2023-02-28T18:43:22.581Z] 2f39f015ded8: Pull complete [2023-02-28T18:43:22.581Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-28T18:43:22.581Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T18:43:22.581Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T18:43:22.666Z] prd-ubuntu20.04-docker-8c-8g-7777 does not seem to be running inside a container [2023-02-28T18:43:22.696Z] $ 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-1348 -v /w/workspace/gexfoundry_device-sdk-go_PR-1348:/w/workspace/gexfoundry_device-sdk-go_PR-1348:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-28T18:43:27.203Z] $ docker top 710ad5de262c1df9cb473ec7b40d0b86c2e15f49e6b1780061503261741fc952 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T18:43:27.589Z] ---> job-cost.sh [2023-02-28T18:43:27.589Z] lf-activate-venv: SKIPPING [2023-02-28T18:43:27.589Z] INFO: No Stack... [2023-02-28T18:43:28.156Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-28T18:43:28.414Z] INFO: Archiving Costs [Pipeline] sh [2023-02-28T18:43:28.701Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1348/archives/cost.csv [2023-02-28T18:43:28.701Z] + cut -d, -f6 [Pipeline] lock [2023-02-28T18:43:28.718Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1348-3-stack-cost] [2023-02-28T18:43:28.725Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1348-3-stack-cost] did not exist. Created. [2023-02-28T18:43:28.725Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1348-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-28T18:43:29.024Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-28T18:43:29.058Z] Stashed 1 file(s) [Pipeline] } [2023-02-28T18:43:29.065Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1348-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-28T18:43:29.086Z] $ docker stop --time=1 710ad5de262c1df9cb473ec7b40d0b86c2e15f49e6b1780061503261741fc952 [2023-02-28T18:43:30.249Z] $ docker rm -f --volumes 710ad5de262c1df9cb473ec7b40d0b86c2e15f49e6b1780061503261741fc952 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-28T18:43:32.115Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-28T18:45:09.009Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-28T18:45:09.009Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-28T18:45:09.009Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-28T18:45:09.009Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-28T18:45:09.009Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-28T18:45:09.592Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.260s coverage: 27.6% of statements [2023-02-28T18:45:11.001Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.278s coverage: 78.9% of statements [2023-02-28T18:45:11.001Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-28T18:45:15.444Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.384s coverage: 86.0% of statements [2023-02-28T18:45:15.444Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-28T18:45:15.444Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-28T18:45:16.855Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.465s coverage: 74.7% of statements [2023-02-28T18:45:16.855Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-28T18:45:16.855Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.297s coverage: 15.5% of statements [2023-02-28T18:45:16.855Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-28T18:45:18.794Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.411s coverage: 65.2% of statements [2023-02-28T18:45:18.794Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-28T18:45:18.794Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-28T18:45:20.205Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 2.984s coverage: 89.2% of statements [2023-02-28T18:45:20.205Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-28T18:45:20.205Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.232s coverage: 4.6% of statements [2023-02-28T18:45:20.205Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-28T18:45:20.787Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-28T18:45:20.787Z] GO111MODULE=on go vet ./... [2023-02-28T18:46:42.409Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-28T18:46:42.409Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-28T18:46:42.409Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-28T18:46:42.428Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-28T18:46:42.455Z] $ docker stop --time=1 f148c0cf0cd0544f498c9e082c0ec63dc547bf5f7b6ca8b22412ffe070be1f18 [2023-02-28T18:46:46.508Z] $ docker rm -f --volumes f148c0cf0cd0544f498c9e082c0ec63dc547bf5f7b6ca8b22412ffe070be1f18 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T18:46:47.720Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-28T18:46:47.743Z] Warning: overwriting stash ‘coverage-report’ [2023-02-28T18:46:48.421Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T18:46:48.824Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-28T18:46:49.152Z] + ls -al . [2023-02-28T18:46:49.153Z] total 276 [2023-02-28T18:46:49.153Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 28 18:43 . [2023-02-28T18:46:49.153Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 18:40 .. [2023-02-28T18:46:49.153Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 28 18:40 .dockerignore [2023-02-28T18:46:49.153Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 28 18:40 .git [2023-02-28T18:46:49.153Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 18:40 .github [2023-02-28T18:46:49.153Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 28 18:40 .gitignore [2023-02-28T18:46:49.153Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 28 18:40 .golangci.yml [2023-02-28T18:46:49.153Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 28 18:40 CHANGELOG.md [2023-02-28T18:46:49.153Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 28 18:40 GOVERNANCE.md [2023-02-28T18:46:49.153Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 28 18:40 Jenkinsfile [2023-02-28T18:46:49.153Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 28 18:40 LICENSE [2023-02-28T18:46:49.153Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 28 18:40 Makefile [2023-02-28T18:46:49.153Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 28 18:40 OWNERS.md [2023-02-28T18:46:49.153Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 28 18:40 README.md [2023-02-28T18:46:49.153Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 28 18:40 VERSION [2023-02-28T18:46:49.153Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 18:40 bin [2023-02-28T18:46:49.153Z] -rw-r--r-- 1 jenkins jenkins 111044 Feb 28 18:45 coverage.out [2023-02-28T18:46:49.153Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 28 18:40 example [2023-02-28T18:46:49.153Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 28 18:40 go.mod [2023-02-28T18:46:49.153Z] -rw-rw-r-- 1 jenkins jenkins 30840 Feb 28 18:40 go.sum [2023-02-28T18:46:49.153Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 28 18:40 internal [2023-02-28T18:46:49.153Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 18:40 openapi [2023-02-28T18:46:49.153Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 28 18:40 pkg [2023-02-28T18:46:49.153Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 18:40 snap [2023-02-28T18:46:49.153Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 28 18:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T18:46:49.501Z] + 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=f35a1aff7512461053a708065a9057b6463edcaa --label arch=arm64 --label version=0.0.0 . [2023-02-28T18:46:49.777Z] Sending build context to Docker daemon 5.802MB [2023-02-28T18:46:49.777Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T18:46:49.777Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-28T18:46:50.043Z] ---> b6cd4b3cc0ce [2023-02-28T18:46:50.043Z] Step 3/23 : ARG MAKE=make build [2023-02-28T18:46:50.043Z] ---> Running in 51382f31faac [2023-02-28T18:46:50.311Z] Removing intermediate container 51382f31faac [2023-02-28T18:46:50.311Z] ---> 64e894358a01 [2023-02-28T18:46:50.311Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-28T18:46:50.311Z] ---> Running in 61cdf34fe818 [2023-02-28T18:46:50.587Z] Removing intermediate container 61cdf34fe818 [2023-02-28T18:46:50.587Z] ---> 36a1fba97800 [2023-02-28T18:46:50.587Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-28T18:46:50.863Z] ---> Running in cf428209a2b2 [2023-02-28T18:46:51.130Z] Removing intermediate container cf428209a2b2 [2023-02-28T18:46:51.130Z] ---> a7d33d47a955 [2023-02-28T18:46:51.130Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-28T18:46:51.130Z] ---> Running in c89857e18f99 [2023-02-28T18:46:52.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-28T18:46:52.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-28T18:46:53.311Z] OK: 221 MiB in 51 packages [2023-02-28T18:46:53.900Z] Removing intermediate container c89857e18f99 [2023-02-28T18:46:53.900Z] ---> 3a8b3007c41f [2023-02-28T18:46:53.900Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-28T18:46:54.480Z] ---> acf538eb815b [2023-02-28T18:46:54.480Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T18:46:54.480Z] ---> Running in f228eb4c01a4 [2023-02-28T18:46:57.055Z] Removing intermediate container f228eb4c01a4 [2023-02-28T18:46:57.055Z] ---> e6d1c8dd7a51 [2023-02-28T18:46:57.055Z] Step 9/23 : COPY . . [2023-02-28T18:46:58.997Z] ---> 35764647cbf8 [2023-02-28T18:46:58.997Z] Step 10/23 : RUN ${MAKE} [2023-02-28T18:46:58.997Z] ---> Running in e6c49ee543d2 [2023-02-28T18:46:59.961Z] 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-02-28T18:49:06.619Z] Removing intermediate container e6c49ee543d2 [2023-02-28T18:49:06.619Z] ---> cbf04731eccc [2023-02-28T18:49:06.619Z] Step 11/23 : FROM alpine:3.16 [2023-02-28T18:49:06.619Z] 3.16: Pulling from library/alpine [2023-02-28T18:49:06.619Z] 3760b48202b3: Pulling fs layer [2023-02-28T18:49:06.619Z] 3760b48202b3: Verifying Checksum [2023-02-28T18:49:06.619Z] 3760b48202b3: Download complete [2023-02-28T18:49:06.619Z] 3760b48202b3: Pull complete [2023-02-28T18:49:06.619Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-28T18:49:06.619Z] Status: Downloaded newer image for alpine:3.16 [2023-02-28T18:49:06.619Z] ---> 4c81e5bf8899 [2023-02-28T18:49:06.619Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-28T18:49:06.619Z] ---> Running in d96ddcec8928 [2023-02-28T18:49:06.619Z] Removing intermediate container d96ddcec8928 [2023-02-28T18:49:06.619Z] ---> f202fb9ae320 [2023-02-28T18:49:06.619Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-28T18:49:06.619Z] ---> Running in bb90f9c3fe82 [2023-02-28T18:49:06.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-28T18:49:06.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-28T18:49:06.619Z] OK: 5 MiB in 14 packages [2023-02-28T18:49:06.619Z] Removing intermediate container bb90f9c3fe82 [2023-02-28T18:49:06.619Z] ---> ee29fc340bce [2023-02-28T18:49:06.619Z] Step 14/23 : WORKDIR / [2023-02-28T18:49:06.619Z] ---> Running in 6223bb2ec25f [2023-02-28T18:49:06.619Z] Removing intermediate container 6223bb2ec25f [2023-02-28T18:49:06.619Z] ---> 615e4eee6bdb [2023-02-28T18:49:06.619Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-28T18:49:06.619Z] ---> 780983c2e906 [2023-02-28T18:49:06.619Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-28T18:49:08.030Z] ---> 3bbe1936c7cc [2023-02-28T18:49:08.030Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-28T18:49:08.613Z] ---> c2f85bd32263 [2023-02-28T18:49:08.613Z] Step 18/23 : EXPOSE 59999 [2023-02-28T18:49:08.613Z] ---> Running in 027afaa7c1ca [2023-02-28T18:49:08.880Z] Removing intermediate container 027afaa7c1ca [2023-02-28T18:49:08.880Z] ---> dcdd1001dd82 [2023-02-28T18:49:08.880Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-28T18:49:09.147Z] ---> Running in ab83017c2b40 [2023-02-28T18:49:09.419Z] Removing intermediate container ab83017c2b40 [2023-02-28T18:49:09.419Z] ---> fcea84f7128e [2023-02-28T18:49:09.419Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-28T18:49:09.419Z] ---> Running in a7ee821471fc [2023-02-28T18:49:09.686Z] Removing intermediate container a7ee821471fc [2023-02-28T18:49:09.686Z] ---> a9fd348632b7 [2023-02-28T18:49:09.686Z] Step 21/23 : LABEL arch=arm64 [2023-02-28T18:49:09.686Z] ---> Running in 662b3b2ac97c [2023-02-28T18:49:09.954Z] Removing intermediate container 662b3b2ac97c [2023-02-28T18:49:09.954Z] ---> 36688573bd1c [2023-02-28T18:49:09.954Z] Step 22/23 : LABEL git_sha=f35a1aff7512461053a708065a9057b6463edcaa [2023-02-28T18:49:10.222Z] ---> Running in 89f67644d744 [2023-02-28T18:49:10.491Z] Removing intermediate container 89f67644d744 [2023-02-28T18:49:10.491Z] ---> 6e05970833f0 [2023-02-28T18:49:10.491Z] Step 23/23 : LABEL version=0.0.0 [2023-02-28T18:49:10.491Z] ---> Running in 912f6277e30b [2023-02-28T18:49:10.757Z] Removing intermediate container 912f6277e30b [2023-02-28T18:49:10.757Z] ---> c3a8dc0fd157 [2023-02-28T18:49:10.757Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-28T18:49:10.757Z] Successfully built c3a8dc0fd157 [2023-02-28T18:49:10.757Z] 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-02-28T18:49:11.214Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T18:49:11.214Z] [2023-02-28T18:49:11.214Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T18:49:11.554Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T18:49:11.554Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-28T18:49:11.554Z] 8998bd30e6a1: Pulling fs layer [2023-02-28T18:49:11.554Z] 04944245beec: Pulling fs layer [2023-02-28T18:49:11.554Z] 699f458cf7ca: Pulling fs layer [2023-02-28T18:49:11.554Z] 765212b225bb: Pulling fs layer [2023-02-28T18:49:11.554Z] f23df028b6ca: Pulling fs layer [2023-02-28T18:49:11.554Z] d65c8cfc05b1: Pulling fs layer [2023-02-28T18:49:11.554Z] 2437ff75d9bd: Pulling fs layer [2023-02-28T18:49:11.554Z] 765212b225bb: Waiting [2023-02-28T18:49:11.554Z] f23df028b6ca: Waiting [2023-02-28T18:49:11.554Z] 2437ff75d9bd: Waiting [2023-02-28T18:49:11.554Z] d65c8cfc05b1: Waiting [2023-02-28T18:49:11.823Z] 04944245beec: Verifying Checksum [2023-02-28T18:49:11.823Z] 04944245beec: Download complete [2023-02-28T18:49:11.823Z] 765212b225bb: Verifying Checksum [2023-02-28T18:49:11.823Z] 765212b225bb: Download complete [2023-02-28T18:49:11.823Z] f23df028b6ca: Verifying Checksum [2023-02-28T18:49:11.823Z] f23df028b6ca: Download complete [2023-02-28T18:49:11.823Z] d65c8cfc05b1: Verifying Checksum [2023-02-28T18:49:11.823Z] d65c8cfc05b1: Download complete [2023-02-28T18:49:12.098Z] 699f458cf7ca: Verifying Checksum [2023-02-28T18:49:12.098Z] 699f458cf7ca: Download complete [2023-02-28T18:49:12.366Z] 8998bd30e6a1: Verifying Checksum [2023-02-28T18:49:12.366Z] 8998bd30e6a1: Download complete [2023-02-28T18:49:14.947Z] 2437ff75d9bd: Verifying Checksum [2023-02-28T18:49:14.947Z] 2437ff75d9bd: Download complete [2023-02-28T18:49:16.354Z] 8998bd30e6a1: Pull complete [2023-02-28T18:49:16.940Z] 04944245beec: Pull complete [2023-02-28T18:49:18.348Z] 699f458cf7ca: Pull complete [2023-02-28T18:49:18.348Z] 765212b225bb: Pull complete [2023-02-28T18:49:19.311Z] f23df028b6ca: Pull complete [2023-02-28T18:49:19.311Z] d65c8cfc05b1: Pull complete [2023-02-28T18:49:34.306Z] 2437ff75d9bd: Pull complete [2023-02-28T18:49:34.306Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-28T18:49:34.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T18:49:34.306Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T18:49:34.499Z] prd-ubuntu20.04-docker-arm64-4c-16g-7782 does not seem to be running inside a container [2023-02-28T18:49:34.580Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-28T18:49:37.013Z] $ docker top 53cc1596994873d9eb72b4a841248001bcc89aedfb938dc520cc8f775b70c456 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T18:49:37.832Z] ---> job-cost.sh [2023-02-28T18:49:37.832Z] lf-activate-venv: SKIPPING [2023-02-28T18:49:37.832Z] INFO: No Stack... [2023-02-28T18:49:38.098Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-28T18:49:39.064Z] INFO: Archiving Costs [Pipeline] sh [2023-02-28T18:49:39.702Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2023-02-28T18:49:39.702Z] + cut -d, -f6 [Pipeline] lock [2023-02-28T18:49:39.762Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1348-3-stack-cost] [2023-02-28T18:49:39.768Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1348-3-stack-cost] did not exist. Created. [2023-02-28T18:49:39.768Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1348-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-28T18:49:40.411Z] /w/workspace/device-sdk-go/3@tmp/durable-4115e63e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-28T18:49:41.055Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-28T18:49:41.079Z] Warning: overwriting stash ‘stack-cost’ [2023-02-28T18:49:41.138Z] Stashed 1 file(s) [Pipeline] } [2023-02-28T18:49:41.148Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1348-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-28T18:49:41.181Z] $ docker stop --time=1 53cc1596994873d9eb72b4a841248001bcc89aedfb938dc520cc8f775b70c456 [2023-02-28T18:49:42.691Z] $ docker rm -f --volumes 53cc1596994873d9eb72b4a841248001bcc89aedfb938dc520cc8f775b70c456 [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-02-28T18:49:43.049Z] provisioning config files... [2023-02-28T18:49:43.055Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/config6216473390535745557tmp [Pipeline] { [Pipeline] sh [2023-02-28T18:49:43.342Z] + set +x [2023-02-28T18:49:43.342Z] + curl -s https://codecov.io/bash [2023-02-28T18:49:43.342Z] + bash -s -- [2023-02-28T18:49:43.342Z] [2023-02-28T18:49:43.342Z] _____ _ [2023-02-28T18:49:43.342Z] / ____| | | [2023-02-28T18:49:43.342Z] | | ___ __| | ___ ___ _____ __ [2023-02-28T18:49:43.342Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-28T18:49:43.342Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-28T18:49:43.342Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-28T18:49:43.342Z] Bash-1.0.6 [2023-02-28T18:49:43.342Z] [2023-02-28T18:49:43.342Z] [2023-02-28T18:49:43.342Z] ==> git version 2.25.1 found [2023-02-28T18:49:43.342Z] ==> 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-02-28T18:49:43.342Z] Release-Date: 2020-01-08 [2023-02-28T18:49:43.342Z] 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-02-28T18:49:43.342Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-28T18:49:43.342Z] ==> Jenkins CI detected. [2023-02-28T18:49:43.342Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1348 [2023-02-28T18:49:43.342Z] project root: . [2023-02-28T18:49:43.342Z] --> token set from env [2023-02-28T18:49:43.342Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-28T18:49:43.342Z] ==> Running gcov in . (disable via -X gcov) [2023-02-28T18:49:43.342Z] ==> Python coveragepy not found [2023-02-28T18:49:43.342Z] ==> Searching for coverage reports in: [2023-02-28T18:49:43.342Z] + . [2023-02-28T18:49:43.342Z] -> Found 1 reports [2023-02-28T18:49:43.342Z] ==> Detecting git/mercurial file structure [2023-02-28T18:49:43.342Z] ==> Reading reports [2023-02-28T18:49:43.600Z] + ./coverage.out bytes=111044 [2023-02-28T18:49:43.601Z] ==> Appending adjustments [2023-02-28T18:49:43.601Z] https://docs.codecov.io/docs/fixing-reports [2023-02-28T18:49:43.859Z] + Found adjustments [2023-02-28T18:49:43.859Z] ==> Gzipping contents [2023-02-28T18:49:43.859Z] 16K /tmp/codecov.hcapMb.gz [2023-02-28T18:49:43.859Z] ==> Uploading reports [2023-02-28T18:49:43.859Z] url: https://codecov.io [2023-02-28T18:49:43.859Z] query: branch=PR-1348&commit=4cdd51b4a14ed7d86739b96caadc5ffea091babb&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1348%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1348&job=&cmd_args= [2023-02-28T18:49:43.859Z] -> Pinging Codecov [2023-02-28T18:49:43.859Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1348&commit=4cdd51b4a14ed7d86739b96caadc5ffea091babb&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1348%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1348&job=&cmd_args= [2023-02-28T18:49:44.118Z] -> Uploading to [2023-02-28T18:49:44.118Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-28/7E55EF52A471D76F132DFD9A03CDDE97/4cdd51b4a14ed7d86739b96caadc5ffea091babb/8abd2b5e-4ced-42cd-a5b8-162e3c70022f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230228%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230228T184943Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8e05d79c4f7421413f4f9398c6721007e73f3e5903aa548ec416cad0f5508f54 [2023-02-28T18:49:44.118Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T18:49:44.118Z] Dload Upload Total Spent Left Speed [2023-02-28T18:49:44.377Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15393 0 0 100 15393 0 116k --:--:-- --:--:-- --:--:-- 115k 100 15393 0 0 100 15393 0 44232 --:--:-- --:--:-- --:--:-- 44106 [2023-02-28T18:49:44.377Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4cdd51b4a14ed7d86739b96caadc5ffea091babb [Pipeline] } [2023-02-28T18:49:44.385Z] 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-02-28T18:49:45.078Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1348/archives ] [2023-02-28T18:49:45.078Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1348/archives [2023-02-28T18:49:45.078Z] total 16 [2023-02-28T18:49:45.078Z] drwxr-xr-x 3 root root 4096 Feb 28 18:43 . [2023-02-28T18:49:45.078Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 28 18:43 .. [2023-02-28T18:49:45.078Z] drwxr-xr-x 2 root root 4096 Feb 28 18:43 cost [2023-02-28T18:49:45.078Z] -rw-r--r-- 1 root root 87 Feb 28 18:43 cost.csv [2023-02-28T18:49:45.078Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1348/archives [2023-02-28T18:49:45.078Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1348/archives [2023-02-28T18:49:45.078Z] total 16 [2023-02-28T18:49:45.078Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 18:43 . [2023-02-28T18:49:45.078Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 28 18:43 .. [2023-02-28T18:49:45.078Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 28 18:43 cost [2023-02-28T18:49:45.078Z] -rw-r--r-- 1 jenkins jenkins 87 Feb 28 18:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-28T18:49:45.366Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T18:49:46.223Z] ---> package-listing.sh [2023-02-28T18:49:46.223Z] ++ facter osfamily [2023-02-28T18:49:46.223Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-28T18:49:46.481Z] + OS_FAMILY=debian [2023-02-28T18:49:46.481Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1348 [2023-02-28T18:49:46.481Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-28T18:49:46.481Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-28T18:49:46.481Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-28T18:49:46.481Z] + PACKAGES=/tmp/packages_start.txt [2023-02-28T18:49:46.481Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1348 ']' [2023-02-28T18:49:46.481Z] + PACKAGES=/tmp/packages_end.txt [2023-02-28T18:49:46.481Z] + case "${OS_FAMILY}" in [2023-02-28T18:49:46.481Z] + dpkg -l [2023-02-28T18:49:46.481Z] + grep '^ii' [2023-02-28T18:49:46.481Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-28T18:49:46.481Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-28T18:49:46.481Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-28T18:49:46.481Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1348 ']' [2023-02-28T18:49:46.481Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1348/archives/ [2023-02-28T18:49:46.481Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1348/archives/ [Pipeline] echo [2023-02-28T18:49:46.489Z] 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-1348/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-28T18:49:46.760Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T18:49:47.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T18:49:47.315Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T18:49:47.388Z] prd-ubuntu20.04-docker-8c-8g-7777 does not seem to be running inside a container [2023-02-28T18:49:47.416Z] $ 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-1348/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-1348 -v /w/workspace/gexfoundry_device-sdk-go_PR-1348:/w/workspace/gexfoundry_device-sdk-go_PR-1348:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-28T18:49:47.614Z] $ docker top 193dd939382a96cfa127efef0f4c394562e071e4ed1a858221b90917f3b3eb5b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T18:49:47.975Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-28T18:49:48.264Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-28T18:49:48.551Z] + ls /var/log/sa-host [2023-02-28T18:49:48.551Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T18:49:48.713Z] provisioning config files... [2023-02-28T18:49:48.722Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/config15513065887403560958tmp [Pipeline] { [Pipeline] echo [2023-02-28T18:49:48.736Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T18:49:49.019Z] ---> create-netrc.sh [Pipeline] } [2023-02-28T18:49:49.026Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-28T18:49:49.373Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-28T18:49:49.383Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T18:49:49.668Z] ---> sudo-logs.sh [2023-02-28T18:49:49.668Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-28T18:49:49.696Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T18:49:49.978Z] ---> job-cost.sh [2023-02-28T18:49:49.978Z] lf-activate-venv: SKIPPING [2023-02-28T18:49:49.978Z] DEBUG: total: 0.2199999988079071 [2023-02-28T18:49:49.978Z] INFO: Retrieving Stack Cost... [2023-02-28T18:49:50.239Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-28T18:49:50.499Z] INFO: Archiving Costs [Pipeline] echo [2023-02-28T18:49:50.512Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T18:49:50.797Z] ---> logs-deploy.sh [2023-02-28T18:49:50.797Z] lf-activate-venv: SKIPPING [2023-02-28T18:49:50.797Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1348/3 [2023-02-28T18:49:50.797Z] INFO: archiving workspace using pattern(s): [2023-02-28T18:49:51.735Z] Archives upload complete. [2023-02-28T18:49:51.735Z] INFO: archiving logs to Nexus