Pull request #1313 event Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 72d5d3134c4876218ecc6c598e3670d2c0cd64d3+ec40eb7b3630c03e357b8f00e941d9d3aac805d2 (fbbaa47912208b426708cfdc7f1c70143bd563f4) 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-ssh17530640641539011515.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-ssh7326085940080087887.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-1313/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-1313/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1311440214428772816.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-ssh10255935067789784257.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-1313/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-1313/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9311273316726484097.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5497 in /w/workspace/gexfoundry_device-sdk-go_PR-1313 [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-1313 # 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/1313/head:refs/remotes/origin/PR-1313 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ec40eb7b3630c03e357b8f00e941d9d3aac805d2 into PR head commit 72d5d3134c4876218ecc6c598e3670d2c0cd64d3 Merge succeeded, producing 418aa215b9eeb55f6b3ceabe931f9e4907273866 Checking out Revision 418aa215b9eeb55f6b3ceabe931f9e4907273866 (PR-1313) > git config core.sparsecheckout # timeout=10 > git checkout -f 72d5d3134c4876218ecc6c598e3670d2c0cd64d3 # 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 ec40eb7b3630c03e357b8f00e941d9d3aac805d2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 418aa215b9eeb55f6b3ceabe931f9e4907273866 # timeout=10 Commit message: "Merge commit 'ec40eb7b3630c03e357b8f00e941d9d3aac805d2' into HEAD" > git rev-list --no-walk 72d5d3134c4876218ecc6c598e3670d2c0cd64d3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-13T07:19:47.558Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-13T07:19:47.620Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-13T07:19:47.641Z] ========================================================= [2023-02-13T07:19:47.641Z] EdgeX Global Pipelines Version Info [2023-02-13T07:19:47.641Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:19:48.344Z] ------------------- [2023-02-13T07:19:48.344Z] stable info: [2023-02-13T07:19:48.344Z] ------------------- [2023-02-13T07:19:48.344Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-13T07:19:48.344Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T07:19:48.344Z] Message: update stable to v1.0.244 [2023-02-13T07:19:48.914Z] ------------------- [2023-02-13T07:19:48.914Z] experimental info: [2023-02-13T07:19:48.914Z] ------------------- [2023-02-13T07:19:48.914Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-13T07:19:48.914Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T07:19:48.914Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-13T07:19:49.075Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-13T07:19:49.083Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-13T07:19:49.092Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-13T07:19:49.100Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-13T07:19:49.108Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-13T07:19:49.117Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-13T07:19:49.125Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-13T07:19:49.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-13T07:19:49.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-13T07:19:49.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-13T07:19:49.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-13T07:19:49.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-13T07:19:49.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-13T07:19:49.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-13T07:19:49.234Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T07:19:49.250Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T07:19:49.264Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T07:19:49.281Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T07:19:49.292Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-13T07:19:49.307Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-13T07:19:49.323Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-13T07:19:49.338Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-13T07:19:49.355Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-13T07:19:49.372Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-13T07:19:49.386Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-13T07:19:49.449Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-13T07:19:49.462Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-13T07:19:49.474Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1313 [Pipeline] echo [2023-02-13T07:19:49.486Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1313 [Pipeline] echo [2023-02-13T07:19:49.498Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1313 [Pipeline] echo [2023-02-13T07:19:49.510Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 418aa215b9eeb55f6b3ceabe931f9e4907273866 [Pipeline] echo [2023-02-13T07:19:49.526Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 418aa21 [Pipeline] echo [2023-02-13T07:19:49.544Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T07:19:49.582Z] provisioning config files... [2023-02-13T07:19:49.594Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp/config9477286559527120490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:19:49.896Z] ---> docker-login.sh [2023-02-13T07:19:49.896Z] nexus3.edgexfoundry.org:10001 [2023-02-13T07:19:50.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:19:50.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:19:50.156Z] Configure a credential helper to remove this warning. See [2023-02-13T07:19:50.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:19:50.156Z] [2023-02-13T07:19:50.156Z] Login Succeeded [2023-02-13T07:19:50.156Z] nexus3.edgexfoundry.org:10002 [2023-02-13T07:19:50.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:19:50.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:19:50.156Z] Configure a credential helper to remove this warning. See [2023-02-13T07:19:50.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:19:50.156Z] [2023-02-13T07:19:50.156Z] Login Succeeded [2023-02-13T07:19:50.156Z] nexus3.edgexfoundry.org:10003 [2023-02-13T07:19:50.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:19:50.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:19:50.416Z] Configure a credential helper to remove this warning. See [2023-02-13T07:19:50.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:19:50.416Z] [2023-02-13T07:19:50.416Z] Login Succeeded [2023-02-13T07:19:50.416Z] nexus3.edgexfoundry.org:10004 [2023-02-13T07:19:50.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:19:50.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:19:50.416Z] Configure a credential helper to remove this warning. See [2023-02-13T07:19:50.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:19:50.416Z] [2023-02-13T07:19:50.416Z] Login Succeeded [2023-02-13T07:19:50.416Z] docker.io [2023-02-13T07:19:50.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:19:50.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:19:50.677Z] Configure a credential helper to remove this warning. See [2023-02-13T07:19:50.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:19:50.677Z] [2023-02-13T07:19:50.677Z] Login Succeeded [2023-02-13T07:19:50.677Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T07:19:50.685Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-13T07:19:51.056Z] + git rev-list -1 --merges 418aa215b9eeb55f6b3ceabe931f9e4907273866~1..418aa215b9eeb55f6b3ceabe931f9e4907273866 [Pipeline] echo [2023-02-13T07:19:51.105Z] -----------> git rev-list -1 --merges 418aa215b9eeb55f6b3ceabe931f9e4907273866~1..418aa215b9eeb55f6b3ceabe931f9e4907273866 418aa215b9eeb55f6b3ceabe931f9e4907273866 [2023-02-13T07:19:51.105Z] 418aa215b9eeb55f6b3ceabe931f9e4907273866 [false] [Pipeline] sh [2023-02-13T07:19:51.394Z] + git log --format=format:%s -1 418aa215b9eeb55f6b3ceabe931f9e4907273866 [Pipeline] echo [2023-02-13T07:19:51.409Z] ========================================================= [2023-02-13T07:19:51.409Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-13T07:19:51.409Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T07:19:51.722Z] + git log --format=format:%s -1 418aa215b9eeb55f6b3ceabe931f9e4907273866 [Pipeline] echo [2023-02-13T07:19:51.733Z] [semverPrep] GIT_COMMIT: 418aa215b9eeb55f6b3ceabe931f9e4907273866, Commit Message: Merge commit 'ec40eb7b3630c03e357b8f00e941d9d3aac805d2' into HEAD [Pipeline] echo [2023-02-13T07:19:51.740Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-13T07:19:52.075Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-13T07:19:52.075Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-13T07:19:52.075Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-13T07:19:52.075Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-13T07:19:52.075Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-13T07:19:52.075Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-13T07:19:52.075Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:19:52.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T07:19:52.418Z] [2023-02-13T07:19:52.418Z] 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-13T07:19:52.724Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T07:19:52.724Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-13T07:19:52.724Z] b85a868b505f: Pulling fs layer [2023-02-13T07:19:52.724Z] e2be974225ed: Pulling fs layer [2023-02-13T07:19:52.724Z] 339a4e72a1f5: Pulling fs layer [2023-02-13T07:19:52.724Z] 988bab9f4d93: Pulling fs layer [2023-02-13T07:19:52.724Z] 1469e6f7b9e6: Pulling fs layer [2023-02-13T07:19:52.725Z] eaf3925da568: Pulling fs layer [2023-02-13T07:19:52.725Z] bab4dde63d76: Pulling fs layer [2023-02-13T07:19:52.725Z] bde34c3a00c8: Pulling fs layer [2023-02-13T07:19:52.725Z] b352a97aabf1: Pulling fs layer [2023-02-13T07:19:52.725Z] 4872d77fe225: Pulling fs layer [2023-02-13T07:19:52.725Z] 5851b861e8e6: Pulling fs layer [2023-02-13T07:19:52.725Z] 1469e6f7b9e6: Waiting [2023-02-13T07:19:52.725Z] 988bab9f4d93: Waiting [2023-02-13T07:19:52.725Z] 4872d77fe225: Waiting [2023-02-13T07:19:52.725Z] b352a97aabf1: Waiting [2023-02-13T07:19:52.725Z] bde34c3a00c8: Waiting [2023-02-13T07:19:52.725Z] eaf3925da568: Waiting [2023-02-13T07:19:52.725Z] bab4dde63d76: Waiting [2023-02-13T07:19:52.725Z] e2be974225ed: Download complete [2023-02-13T07:19:52.725Z] 988bab9f4d93: Verifying Checksum [2023-02-13T07:19:52.725Z] 988bab9f4d93: Download complete [2023-02-13T07:19:53.001Z] 1469e6f7b9e6: Verifying Checksum [2023-02-13T07:19:53.001Z] 1469e6f7b9e6: Download complete [2023-02-13T07:19:53.001Z] 339a4e72a1f5: Verifying Checksum [2023-02-13T07:19:53.001Z] 339a4e72a1f5: Download complete [2023-02-13T07:19:53.001Z] eaf3925da568: Verifying Checksum [2023-02-13T07:19:53.001Z] eaf3925da568: Download complete [2023-02-13T07:19:53.001Z] bde34c3a00c8: Verifying Checksum [2023-02-13T07:19:53.001Z] bde34c3a00c8: Download complete [2023-02-13T07:19:53.264Z] b352a97aabf1: Download complete [2023-02-13T07:19:53.264Z] 4872d77fe225: Download complete [2023-02-13T07:19:53.264Z] 5851b861e8e6: Verifying Checksum [2023-02-13T07:19:53.264Z] 5851b861e8e6: Download complete [2023-02-13T07:19:53.264Z] b85a868b505f: Download complete [2023-02-13T07:19:53.524Z] bab4dde63d76: Verifying Checksum [2023-02-13T07:19:53.524Z] bab4dde63d76: Download complete [2023-02-13T07:19:54.462Z] b85a868b505f: Pull complete [2023-02-13T07:19:54.726Z] e2be974225ed: Pull complete [2023-02-13T07:19:55.296Z] 339a4e72a1f5: Pull complete [2023-02-13T07:19:55.296Z] 988bab9f4d93: Pull complete [2023-02-13T07:19:55.557Z] 1469e6f7b9e6: Pull complete [2023-02-13T07:19:55.557Z] eaf3925da568: Pull complete [2023-02-13T07:19:57.458Z] bab4dde63d76: Pull complete [2023-02-13T07:19:57.458Z] bde34c3a00c8: Pull complete [2023-02-13T07:19:57.458Z] b352a97aabf1: Pull complete [2023-02-13T07:19:57.718Z] 4872d77fe225: Pull complete [2023-02-13T07:19:57.718Z] 5851b861e8e6: Pull complete [2023-02-13T07:19:57.718Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-13T07:19:57.718Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T07:19:57.718Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:19:57.807Z] prd-ubuntu20.04-docker-8c-8g-5497 does not seem to be running inside a container [2023-02-13T07:19:57.839Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1313 -v /w/workspace/gexfoundry_device-sdk-go_PR-1313:/w/workspace/gexfoundry_device-sdk-go_PR-1313:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-13T07:20:00.094Z] $ docker top 700a936d56db3b976ba0807ca19df499321c7a43122ba712fb8541710f88de41 -eo pid,comm [2023-02-13T07:20:00.151Z] 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-13T07:20:00.151Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-13T07:20:00.189Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T07:20:00.189Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T07:20:00.311Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T07:20:00.316Z] $ docker exec 700a936d56db3b976ba0807ca19df499321c7a43122ba712fb8541710f88de41 ssh-agent [2023-02-13T07:20:00.418Z] SSH_AUTH_SOCK=/tmp/ssh-tKDMRfYEwKpg/agent.32 [2023-02-13T07:20:00.418Z] SSH_AGENT_PID=38 [2023-02-13T07:20:00.425Z] Running ssh-add (command line suppressed) [2023-02-13T07:20:00.538Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp/private_key_11847182471924725022.key (/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp/private_key_11847182471924725022.key) [2023-02-13T07:20:00.552Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T07:20:00.838Z] + git tag --points-at HEAD [Pipeline] } [2023-02-13T07:20:00.858Z] $ docker exec --env ******** --env ******** 700a936d56db3b976ba0807ca19df499321c7a43122ba712fb8541710f88de41 ssh-agent -k [2023-02-13T07:20:00.967Z] unset SSH_AUTH_SOCK; [2023-02-13T07:20:00.967Z] unset SSH_AGENT_PID; [2023-02-13T07:20:00.967Z] echo Agent pid 38 killed; [2023-02-13T07:20:00.976Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-13T07:20:01.006Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T07:20:01.006Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T07:20:01.138Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T07:20:01.143Z] $ docker exec 700a936d56db3b976ba0807ca19df499321c7a43122ba712fb8541710f88de41 ssh-agent [2023-02-13T07:20:01.251Z] SSH_AUTH_SOCK=/tmp/ssh-c6jxX8F2mFHN/agent.70 [2023-02-13T07:20:01.251Z] SSH_AGENT_PID=76 [2023-02-13T07:20:01.255Z] Running ssh-add (command line suppressed) [2023-02-13T07:20:01.364Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp/private_key_16918395211586904206.key (/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp/private_key_16918395211586904206.key) [2023-02-13T07:20:01.376Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T07:20:01.664Z] + git semver init [2023-02-13T07:20:01.922Z] 2023-02-13 07:20:01,894 [run_init] DEBUG init version:0.0.0 force:False [2023-02-13T07:20:01.922Z] 2023-02-13 07:20:01,895 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1313/.semver [2023-02-13T07:20:01.922Z] 2023-02-13 07:20:01,895 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1313/.semver [2023-02-13T07:20:01.922Z] 2023-02-13 07:20:01,896 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1313/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1313, universal_newlines=False, shell=None, istream=None) [2023-02-13T07:20:03.304Z] 2023-02-13 07:20:03,080 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1313/.git/info/exclude [2023-02-13T07:20:03.304Z] 2023-02-13 07:20:03,081 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1313/.semver/PR-1313 with force:False [2023-02-13T07:20:03.304Z] 2023-02-13 07:20:03,081 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1313/.semver/PR-1313 [2023-02-13T07:20:03.304Z] 2023-02-13 07:20:03,086 [execute] INFO git cat-file --batch-check [2023-02-13T07:20:03.304Z] 2023-02-13 07:20:03,086 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1313/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T07:20:03.304Z] 2023-02-13 07:20:03,093 [execute] INFO git cat-file --batch [2023-02-13T07:20:03.304Z] 2023-02-13 07:20:03,094 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1313/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T07:20:03.304Z] 2023-02-13 07:20:03,099 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1313/.semver/PR-1313 [2023-02-13T07:20:03.304Z] 0.0.0 [Pipeline] } [2023-02-13T07:20:03.317Z] $ docker exec --env ******** --env ******** 700a936d56db3b976ba0807ca19df499321c7a43122ba712fb8541710f88de41 ssh-agent -k [2023-02-13T07:20:03.420Z] unset SSH_AUTH_SOCK; [2023-02-13T07:20:03.422Z] unset SSH_AGENT_PID; [2023-02-13T07:20:03.423Z] echo Agent pid 76 killed; [2023-02-13T07:20:03.431Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-13T07:20:03.737Z] + git semver [Pipeline] } [2023-02-13T07:20:04.011Z] $ docker stop --time=1 700a936d56db3b976ba0807ca19df499321c7a43122ba712fb8541710f88de41 [2023-02-13T07:20:05.316Z] $ docker rm -f --volumes 700a936d56db3b976ba0807ca19df499321c7a43122ba712fb8541710f88de41 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T07:20:05.663Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-13T07:20:05.871Z] Stashed 1 file(s) [Pipeline] echo [2023-02-13T07:20:05.875Z] [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-13T07:20:06.039Z] provisioning config files... [2023-02-13T07:20:06.048Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp/config8170540049671800809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:20:06.348Z] ---> docker-login.sh [2023-02-13T07:20:06.348Z] nexus3.edgexfoundry.org:10001 [2023-02-13T07:20:06.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:20:06.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:20:06.348Z] Configure a credential helper to remove this warning. See [2023-02-13T07:20:06.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:20:06.348Z] [2023-02-13T07:20:06.348Z] Login Succeeded [2023-02-13T07:20:06.348Z] nexus3.edgexfoundry.org:10002 [2023-02-13T07:20:06.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:20:06.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:20:06.606Z] Configure a credential helper to remove this warning. See [2023-02-13T07:20:06.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:20:06.606Z] [2023-02-13T07:20:06.606Z] Login Succeeded [2023-02-13T07:20:06.606Z] nexus3.edgexfoundry.org:10003 [2023-02-13T07:20:06.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:20:06.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:20:06.606Z] Configure a credential helper to remove this warning. See [2023-02-13T07:20:06.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:20:06.606Z] [2023-02-13T07:20:06.606Z] Login Succeeded [2023-02-13T07:20:06.606Z] nexus3.edgexfoundry.org:10004 [2023-02-13T07:20:06.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:20:06.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:20:06.606Z] Configure a credential helper to remove this warning. See [2023-02-13T07:20:06.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:20:06.606Z] [2023-02-13T07:20:06.606Z] Login Succeeded [2023-02-13T07:20:06.606Z] docker.io [2023-02-13T07:20:06.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:20:07.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:20:07.125Z] Configure a credential helper to remove this warning. See [2023-02-13T07:20:07.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:20:07.125Z] [2023-02-13T07:20:07.125Z] Login Succeeded [2023-02-13T07:20:07.125Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T07:20:07.131Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T07:20:07.184Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T07:20:07.196Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T07:20:07.203Z] ========================================================= [2023-02-13T07:20:07.203Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-13T07:20:07.203Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:20:07.507Z] + 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-13T07:20:07.507Z] Sending build context to Docker daemon 10.4MB [2023-02-13T07:20:07.507Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T07:20:07.507Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-13T07:20:07.774Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-13T07:20:07.774Z] 213ec9aee27d: Pulling fs layer [2023-02-13T07:20:07.774Z] 4583459ba037: Pulling fs layer [2023-02-13T07:20:07.774Z] 93c1e223e6f2: Pulling fs layer [2023-02-13T07:20:07.774Z] 53926ce57604: Pulling fs layer [2023-02-13T07:20:07.774Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-13T07:20:07.774Z] 22ff95d597cd: Pulling fs layer [2023-02-13T07:20:07.774Z] 12d6caf4c0d1: Pulling fs layer [2023-02-13T07:20:07.774Z] 96b7cbca73a9: Pulling fs layer [2023-02-13T07:20:07.774Z] a7acece74701: Pulling fs layer [2023-02-13T07:20:07.774Z] 12d6caf4c0d1: Waiting [2023-02-13T07:20:07.774Z] 96b7cbca73a9: Waiting [2023-02-13T07:20:07.774Z] 53926ce57604: Waiting [2023-02-13T07:20:07.774Z] 22ff95d597cd: Waiting [2023-02-13T07:20:07.774Z] 21b2b0c7a3f4: Waiting [2023-02-13T07:20:07.774Z] a7acece74701: Waiting [2023-02-13T07:20:07.774Z] 93c1e223e6f2: Verifying Checksum [2023-02-13T07:20:07.774Z] 93c1e223e6f2: Download complete [2023-02-13T07:20:07.774Z] 4583459ba037: Download complete [2023-02-13T07:20:07.774Z] 21b2b0c7a3f4: Download complete [2023-02-13T07:20:07.774Z] 22ff95d597cd: Verifying Checksum [2023-02-13T07:20:07.774Z] 22ff95d597cd: Download complete [2023-02-13T07:20:07.774Z] 213ec9aee27d: Verifying Checksum [2023-02-13T07:20:07.774Z] 213ec9aee27d: Download complete [2023-02-13T07:20:07.775Z] 12d6caf4c0d1: Verifying Checksum [2023-02-13T07:20:07.775Z] 12d6caf4c0d1: Download complete [2023-02-13T07:20:08.040Z] 213ec9aee27d: Pull complete [2023-02-13T07:20:08.040Z] 4583459ba037: Pull complete [2023-02-13T07:20:08.318Z] 93c1e223e6f2: Pull complete [2023-02-13T07:20:08.946Z] a7acece74701: Verifying Checksum [2023-02-13T07:20:08.946Z] a7acece74701: Download complete [2023-02-13T07:20:09.215Z] 53926ce57604: Verifying Checksum [2023-02-13T07:20:09.215Z] 53926ce57604: Download complete [2023-02-13T07:20:09.215Z] 96b7cbca73a9: Verifying Checksum [2023-02-13T07:20:09.215Z] 96b7cbca73a9: Download complete [2023-02-13T07:20:13.405Z] 53926ce57604: Pull complete [2023-02-13T07:20:13.405Z] 21b2b0c7a3f4: Pull complete [2023-02-13T07:20:13.405Z] 22ff95d597cd: Pull complete [2023-02-13T07:20:13.405Z] 12d6caf4c0d1: Pull complete [2023-02-13T07:20:15.308Z] 96b7cbca73a9: Pull complete [2023-02-13T07:20:15.874Z] a7acece74701: Pull complete [2023-02-13T07:20:15.874Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-13T07:20:16.133Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-13T07:20:16.133Z] ---> db6d94c90886 [2023-02-13T07:20:16.133Z] Step 3/10 : ARG MAKE=make build [2023-02-13T07:20:19.443Z] ---> Running in 11e38c3dc007 [2023-02-13T07:20:19.443Z] Removing intermediate container 11e38c3dc007 [2023-02-13T07:20:19.443Z] ---> b473be1c3873 [2023-02-13T07:20:19.443Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-13T07:20:19.443Z] ---> Running in 174f72bbc16d [2023-02-13T07:20:19.443Z] Removing intermediate container 174f72bbc16d [2023-02-13T07:20:19.443Z] ---> 69867b8940b2 [2023-02-13T07:20:19.443Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T07:20:19.702Z] ---> Running in 2d3ff316fc0d [2023-02-13T07:20:19.702Z] Removing intermediate container 2d3ff316fc0d [2023-02-13T07:20:19.702Z] ---> 5585b1d79b90 [2023-02-13T07:20:19.702Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-13T07:20:19.702Z] ---> Running in 30d0eb8ed870 [2023-02-13T07:20:19.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T07:20:20.220Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T07:20:20.479Z] OK: 211 MiB in 51 packages [2023-02-13T07:20:20.739Z] Removing intermediate container 30d0eb8ed870 [2023-02-13T07:20:20.739Z] ---> 26c0d7d4d77b [2023-02-13T07:20:20.739Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-13T07:20:20.986Z] Still waiting to schedule task [2023-02-13T07:20:20.986Z] ‘prd-centos7-blackbox-4c-2g-5385’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-13T07:20:20.986Z] ‘prd-ubuntu20.04-docker-8c-8g-5494’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-13T07:20:20.987Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5491’ is offline [2023-02-13T07:20:20.987Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5496’ is offline [2023-02-13T07:20:20.999Z] ---> c75559ee9a4a [2023-02-13T07:20:20.999Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T07:20:20.999Z] ---> Running in 55c73ef46262 [2023-02-13T07:20:47.551Z] Removing intermediate container 55c73ef46262 [2023-02-13T07:20:47.551Z] ---> d2646eaba2d8 [2023-02-13T07:20:47.551Z] Step 9/10 : COPY . . [2023-02-13T07:20:47.551Z] ---> 4bccc3022ec0 [2023-02-13T07:20:47.551Z] Step 10/10 : RUN ${MAKE} [2023-02-13T07:20:47.551Z] ---> Running in 028ef8e9b1c8 [2023-02-13T07:20:47.551Z] noop [2023-02-13T07:20:47.551Z] Removing intermediate container 028ef8e9b1c8 [2023-02-13T07:20:47.551Z] ---> b66385e5658c [2023-02-13T07:20:47.551Z] Successfully built b66385e5658c [2023-02-13T07:20:47.551Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:20:47.868Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T07:20:47.868Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:20:47.947Z] prd-ubuntu20.04-docker-8c-8g-5497 does not seem to be running inside a container [2023-02-13T07:20:47.991Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1313 -v /w/workspace/gexfoundry_device-sdk-go_PR-1313:/w/workspace/gexfoundry_device-sdk-go_PR-1313:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-13T07:20:48.347Z] $ docker top 8a1019174d7ab19485437643b675cf43cb29126ebc5695c7795f322113b2c6d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T07:20:48.695Z] + go version [2023-02-13T07:20:48.695Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-13T07:20:48.711Z] $ docker stop --time=1 8a1019174d7ab19485437643b675cf43cb29126ebc5695c7795f322113b2c6d0 [2023-02-13T07:20:50.002Z] $ docker rm -f --volumes 8a1019174d7ab19485437643b675cf43cb29126ebc5695c7795f322113b2c6d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:20:50.400Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T07:20:50.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:20:50.471Z] prd-ubuntu20.04-docker-8c-8g-5497 does not seem to be running inside a container [2023-02-13T07:20:50.516Z] $ 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-1313 -v /w/workspace/gexfoundry_device-sdk-go_PR-1313:/w/workspace/gexfoundry_device-sdk-go_PR-1313:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-13T07:20:50.879Z] $ docker top 3eaefa4c4958c01c58dbf81309b113c611087f8aac2247041ddaf715c18dbb02 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T07:20:51.230Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1313 [Pipeline] fileExists [Pipeline] sh [2023-02-13T07:20:51.532Z] + make test [2023-02-13T07:20:51.532Z] go test -race -coverprofile=coverage.out ./... [2023-02-13T07:20:58.126Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-13T07:21:13.014Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-13T07:21:13.014Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-13T07:21:13.014Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-13T07:21:13.014Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-13T07:21:13.014Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-13T07:21:13.274Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements [2023-02-13T07:21:13.274Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.121s coverage: 78.9% of statements [2023-02-13T07:21:13.274Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-13T07:21:13.274Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.098s coverage: 78.1% of statements [2023-02-13T07:21:13.274Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-13T07:21:13.274Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-13T07:21:13.841Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.108s coverage: 63.0% of statements [2023-02-13T07:21:13.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-13T07:21:13.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-13T07:21:13.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-13T07:21:13.841Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.101s coverage: 65.2% of statements [2023-02-13T07:21:13.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-13T07:21:13.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-13T07:21:13.841Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.747s coverage: 89.2% of statements [2023-02-13T07:21:13.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-13T07:21:13.841Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.068s coverage: 4.7% of statements [2023-02-13T07:21:13.841Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-13T07:21:31.920Z] 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-13T07:21:31.920Z] GO111MODULE=on go vet ./... [2023-02-13T07:21:35.211Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T07:21:35.211Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T07:21:35.211Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-13T07:21:35.223Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T07:21:35.237Z] $ docker stop --time=1 3eaefa4c4958c01c58dbf81309b113c611087f8aac2247041ddaf715c18dbb02 [2023-02-13T07:21:38.862Z] $ docker rm -f --volumes 3eaefa4c4958c01c58dbf81309b113c611087f8aac2247041ddaf715c18dbb02 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T07:21:39.380Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T07:21:39.445Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-13T07:21:40.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T07:21:40.388Z] + ls -al . [2023-02-13T07:21:40.388Z] total 272 [2023-02-13T07:21:40.388Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 07:20 . [2023-02-13T07:21:40.388Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:19 .. [2023-02-13T07:21:40.388Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 07:19 .dockerignore [2023-02-13T07:21:40.388Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 07:21 .git [2023-02-13T07:21:40.388Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:19 .github [2023-02-13T07:21:40.388Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 13 07:19 .gitignore [2023-02-13T07:21:40.388Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 13 07:19 .golangci.yml [2023-02-13T07:21:40.388Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 07:20 .semver [2023-02-13T07:21:40.388Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 13 07:19 CHANGELOG.md [2023-02-13T07:21:40.388Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 07:19 GOVERNANCE.md [2023-02-13T07:21:40.388Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 13 07:19 Jenkinsfile [2023-02-13T07:21:40.388Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 13 07:19 LICENSE [2023-02-13T07:21:40.388Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 13 07:19 Makefile [2023-02-13T07:21:40.388Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 13 07:19 OWNERS.md [2023-02-13T07:21:40.388Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 13 07:19 README.md [2023-02-13T07:21:40.388Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 07:20 VERSION [2023-02-13T07:21:40.388Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:19 bin [2023-02-13T07:21:40.388Z] -rw-r--r-- 1 jenkins jenkins 100376 Feb 13 07:21 coverage.out [2023-02-13T07:21:40.388Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 13 07:19 example [2023-02-13T07:21:40.388Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 13 07:19 go.mod [2023-02-13T07:21:40.388Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 13 07:19 go.sum [2023-02-13T07:21:40.388Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 13 07:19 internal [2023-02-13T07:21:40.388Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:19 openapi [2023-02-13T07:21:40.388Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 13 07:19 pkg [2023-02-13T07:21:40.388Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:19 snap [2023-02-13T07:21:40.388Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 13 07:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:21:40.692Z] + 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=418aa215b9eeb55f6b3ceabe931f9e4907273866 --label arch=amd64 --label version=0.0.0 . [2023-02-13T07:21:40.692Z] Sending build context to Docker daemon 10.5MB [2023-02-13T07:21:40.692Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T07:21:40.692Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-13T07:21:40.692Z] ---> b66385e5658c [2023-02-13T07:21:40.692Z] Step 3/23 : ARG MAKE=make build [2023-02-13T07:21:40.950Z] ---> Running in 23ec925fc846 [2023-02-13T07:21:40.951Z] Removing intermediate container 23ec925fc846 [2023-02-13T07:21:40.951Z] ---> 6d676cde53cb [2023-02-13T07:21:40.951Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-13T07:21:40.951Z] ---> Running in 8f8384ad3712 [2023-02-13T07:21:41.209Z] Removing intermediate container 8f8384ad3712 [2023-02-13T07:21:41.209Z] ---> 7f7e6d170ff7 [2023-02-13T07:21:41.209Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T07:21:41.209Z] ---> Running in 0cc56243fcdd [2023-02-13T07:21:41.209Z] Removing intermediate container 0cc56243fcdd [2023-02-13T07:21:41.209Z] ---> 52cfe8376ab2 [2023-02-13T07:21:41.209Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-13T07:21:41.209Z] ---> Running in 123247dc0957 [2023-02-13T07:21:41.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T07:21:41.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T07:21:41.986Z] OK: 211 MiB in 51 packages [2023-02-13T07:21:42.267Z] Removing intermediate container 123247dc0957 [2023-02-13T07:21:42.268Z] ---> fab7d56e6145 [2023-02-13T07:21:42.268Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-13T07:21:42.526Z] ---> b6ff58a49454 [2023-02-13T07:21:42.526Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T07:21:42.526Z] ---> Running in 930ca0234a8d [2023-02-13T07:21:43.462Z] Removing intermediate container 930ca0234a8d [2023-02-13T07:21:43.462Z] ---> 9055192958a6 [2023-02-13T07:21:43.462Z] Step 9/23 : COPY . . [2023-02-13T07:21:43.750Z] ---> 5158b60d4350 [2023-02-13T07:21:43.750Z] Step 10/23 : RUN ${MAKE} [2023-02-13T07:21:43.750Z] ---> Running in ec13349b98c1 [2023-02-13T07:21:44.010Z] 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-13T07:22:06.023Z] Removing intermediate container ec13349b98c1 [2023-02-13T07:22:06.023Z] ---> 5382f1e3d010 [2023-02-13T07:22:06.023Z] Step 11/23 : FROM alpine:3.16 [2023-02-13T07:22:06.285Z] 3.16: Pulling from library/alpine [2023-02-13T07:22:06.544Z] ef5531b6e74e: Pulling fs layer [2023-02-13T07:22:06.544Z] ef5531b6e74e: Download complete [2023-02-13T07:22:06.802Z] ef5531b6e74e: Pull complete [2023-02-13T07:22:06.802Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T07:22:06.802Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T07:22:06.802Z] ---> dfd21b5a31f5 [2023-02-13T07:22:06.802Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-13T07:22:06.802Z] ---> Running in 2c7898b6e696 [2023-02-13T07:22:07.061Z] Removing intermediate container 2c7898b6e696 [2023-02-13T07:22:07.061Z] ---> 4738193140af [2023-02-13T07:22:07.061Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-13T07:22:07.061Z] ---> Running in 7cb145046a93 [2023-02-13T07:22:07.321Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T07:22:07.321Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T07:22:07.890Z] OK: 6 MiB in 14 packages [2023-02-13T07:22:08.148Z] Removing intermediate container 7cb145046a93 [2023-02-13T07:22:08.148Z] ---> d0f6d443eed0 [2023-02-13T07:22:08.148Z] Step 14/23 : WORKDIR / [2023-02-13T07:22:08.148Z] ---> Running in 62a83d406e0c [2023-02-13T07:22:08.148Z] Removing intermediate container 62a83d406e0c [2023-02-13T07:22:08.148Z] ---> 42807d67351b [2023-02-13T07:22:08.148Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-13T07:22:08.408Z] ---> a7a5eaea7637 [2023-02-13T07:22:08.408Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-13T07:22:09.363Z] ---> ce65c8ce6ebe [2023-02-13T07:22:09.363Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-13T07:22:09.363Z] ---> 44b6f0493345 [2023-02-13T07:22:09.363Z] Step 18/23 : EXPOSE 59999 [2023-02-13T07:22:09.363Z] ---> Running in ccafbcb7e16d [2023-02-13T07:22:09.623Z] Removing intermediate container ccafbcb7e16d [2023-02-13T07:22:09.623Z] ---> e55a15bbce08 [2023-02-13T07:22:09.623Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-13T07:22:09.623Z] ---> Running in a68ff1964398 [2023-02-13T07:22:09.883Z] Removing intermediate container a68ff1964398 [2023-02-13T07:22:09.883Z] ---> 20feda8f17c8 [2023-02-13T07:22:09.883Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-13T07:22:09.883Z] ---> Running in 7e90dc3ea511 [2023-02-13T07:22:09.883Z] Removing intermediate container 7e90dc3ea511 [2023-02-13T07:22:09.883Z] ---> f9f3ee38917b [2023-02-13T07:22:09.883Z] Step 21/23 : LABEL arch=amd64 [2023-02-13T07:22:09.883Z] ---> Running in c2ac677a9f45 [2023-02-13T07:22:10.142Z] Removing intermediate container c2ac677a9f45 [2023-02-13T07:22:10.142Z] ---> d0882e6613fd [2023-02-13T07:22:10.142Z] Step 22/23 : LABEL git_sha=418aa215b9eeb55f6b3ceabe931f9e4907273866 [2023-02-13T07:22:10.142Z] ---> Running in 13bfd5fad8a4 [2023-02-13T07:22:10.142Z] Removing intermediate container 13bfd5fad8a4 [2023-02-13T07:22:10.142Z] ---> 16c6d7eb6889 [2023-02-13T07:22:10.142Z] Step 23/23 : LABEL version=0.0.0 [2023-02-13T07:22:10.142Z] ---> Running in 7f78ac91dec0 [2023-02-13T07:22:10.142Z] Removing intermediate container 7f78ac91dec0 [2023-02-13T07:22:10.142Z] ---> 03a47e1011ea [2023-02-13T07:22:10.142Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T07:22:10.142Z] Successfully built 03a47e1011ea [2023-02-13T07:22:10.142Z] 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-13T07:22:10.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T07:22:10.857Z] [2023-02-13T07:22:10.857Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:22:11.160Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T07:22:11.160Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-13T07:22:11.160Z] 5eb5b503b376: Pulling fs layer [2023-02-13T07:22:11.160Z] 5c69ac0246d0: Pulling fs layer [2023-02-13T07:22:11.160Z] ec43610c2a17: Pulling fs layer [2023-02-13T07:22:11.160Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-13T07:22:11.160Z] 33b1e0a273af: Pulling fs layer [2023-02-13T07:22:11.160Z] 5d3b04190fa2: Pulling fs layer [2023-02-13T07:22:11.160Z] 3a2ae6a8a46f: Waiting [2023-02-13T07:22:11.160Z] 33b1e0a273af: Waiting [2023-02-13T07:22:11.160Z] 5d3b04190fa2: Waiting [2023-02-13T07:22:11.160Z] 2f39f015ded8: Pulling fs layer [2023-02-13T07:22:11.160Z] 2f39f015ded8: Waiting [2023-02-13T07:22:11.160Z] 5c69ac0246d0: Verifying Checksum [2023-02-13T07:22:11.160Z] 5c69ac0246d0: Download complete [2023-02-13T07:22:11.160Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-13T07:22:11.160Z] 3a2ae6a8a46f: Download complete [2023-02-13T07:22:11.424Z] 33b1e0a273af: Verifying Checksum [2023-02-13T07:22:11.424Z] 33b1e0a273af: Download complete [2023-02-13T07:22:11.424Z] 5d3b04190fa2: Verifying Checksum [2023-02-13T07:22:11.424Z] 5d3b04190fa2: Download complete [2023-02-13T07:22:11.424Z] ec43610c2a17: Verifying Checksum [2023-02-13T07:22:11.424Z] ec43610c2a17: Download complete [2023-02-13T07:22:11.683Z] 5eb5b503b376: Verifying Checksum [2023-02-13T07:22:11.683Z] 5eb5b503b376: Download complete [2023-02-13T07:22:12.255Z] 2f39f015ded8: Download complete [2023-02-13T07:22:12.823Z] 5eb5b503b376: Pull complete [2023-02-13T07:22:13.082Z] 5c69ac0246d0: Pull complete [2023-02-13T07:22:13.648Z] ec43610c2a17: Pull complete [2023-02-13T07:22:13.648Z] 3a2ae6a8a46f: Pull complete [2023-02-13T07:22:13.907Z] 33b1e0a273af: Pull complete [2023-02-13T07:22:13.907Z] 5d3b04190fa2: Pull complete [2023-02-13T07:22:19.170Z] 2f39f015ded8: Pull complete [2023-02-13T07:22:19.170Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-13T07:22:19.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T07:22:19.170Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:22:19.250Z] prd-ubuntu20.04-docker-8c-8g-5497 does not seem to be running inside a container [2023-02-13T07:22:19.295Z] $ 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-1313 -v /w/workspace/gexfoundry_device-sdk-go_PR-1313:/w/workspace/gexfoundry_device-sdk-go_PR-1313:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T07:22:21.762Z] $ docker top 7162229a1e79e3eeea20a8ec2c27484bf3de8d9ca2dc85d12cb0f60b21273a3e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:22:22.132Z] ---> job-cost.sh [2023-02-13T07:22:22.132Z] lf-activate-venv: SKIPPING [2023-02-13T07:22:22.132Z] INFO: No Stack... [2023-02-13T07:22:22.391Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T07:22:22.960Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T07:22:23.253Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1313/archives/cost.csv [2023-02-13T07:22:23.253Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T07:22:23.268Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1313-3-stack-cost] [2023-02-13T07:22:23.273Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1313-3-stack-cost] did not exist. Created. [2023-02-13T07:22:23.273Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1313-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T07:22:23.573Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-13T07:22:23.601Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T07:22:23.610Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1313-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T07:22:23.635Z] $ docker stop --time=1 7162229a1e79e3eeea20a8ec2c27484bf3de8d9ca2dc85d12cb0f60b21273a3e [2023-02-13T07:22:24.791Z] $ docker rm -f --volumes 7162229a1e79e3eeea20a8ec2c27484bf3de8d9ca2dc85d12cb0f60b21273a3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-13T07:22:43.131Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5499 in /w/workspace/gexfoundry_device-sdk-go_PR-1313 [Pipeline] { [Pipeline] ws [2023-02-13T07:22:43.145Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-02-13T07:22:43.180Z] The recommended git tool is: git [2023-02-13T07:22:49.256Z] using credential edgex-jenkins-ssh [2023-02-13T07:22:49.285Z] Cloning the remote Git repository [2023-02-13T07:22:49.337Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-13T07:22:49.430Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-02-13T07:22:49.617Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-13T07:22:49.618Z] > git --version # timeout=10 [2023-02-13T07:22:49.643Z] > git --version # 'git version 2.25.1' [2023-02-13T07:22:49.646Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T07:22:49.717Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T07:22:51.408Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-13T07:22:51.441Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T07:22:52.615Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-13T07:22:52.658Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-13T07:22:52.659Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T07:22:52.678Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1313/head:refs/remotes/origin/PR-1313 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-13T07:22:53.397Z] Merging remotes/origin/main commit ec40eb7b3630c03e357b8f00e941d9d3aac805d2 into PR head commit 72d5d3134c4876218ecc6c598e3670d2c0cd64d3 [2023-02-13T07:22:53.761Z] Merge succeeded, producing cd46b98118ed990172922b8ef0ffc6b1cb52b539 [2023-02-13T07:22:53.762Z] Checking out Revision cd46b98118ed990172922b8ef0ffc6b1cb52b539 (PR-1313) [2023-02-13T07:22:53.418Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T07:22:53.445Z] > git checkout -f 72d5d3134c4876218ecc6c598e3670d2c0cd64d3 # timeout=10 [2023-02-13T07:22:53.570Z] > git remote # timeout=10 [2023-02-13T07:22:53.592Z] > git config --get remote.origin.url # timeout=10 [2023-02-13T07:22:53.610Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T07:22:53.625Z] > git merge ec40eb7b3630c03e357b8f00e941d9d3aac805d2 # timeout=10 [2023-02-13T07:22:53.735Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-13T07:22:53.767Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T07:22:53.783Z] > git checkout -f cd46b98118ed990172922b8ef0ffc6b1cb52b539 # timeout=10 [2023-02-13T07:22:57.361Z] Commit message: "Merge commit 'ec40eb7b3630c03e357b8f00e941d9d3aac805d2' into HEAD" [2023-02-13T07:22:57.369Z] > git rev-list --no-walk 72d5d3134c4876218ecc6c598e3670d2c0cd64d3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T07:22:58.380Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-13T07:22:58.380Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T07:22:58.380Z] Dload Upload Total Spent Left Speed [2023-02-13T07:22:58.380Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-02-13T07:22:59.137Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-13T07:22:59.468Z] + sudo tee /etc/docker/daemon.new [2023-02-13T07:22:59.469Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-13T07:22:59.469Z] { [2023-02-13T07:22:59.469Z] "registry-mirrors": [ [2023-02-13T07:22:59.469Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-13T07:22:59.469Z] ], [2023-02-13T07:22:59.469Z] "bip": "10.250.0.254/24", [2023-02-13T07:22:59.469Z] "hosts": [ [2023-02-13T07:22:59.469Z] "tcp://0.0.0.0:5555", [2023-02-13T07:22:59.469Z] "unix:///var/run/docker.sock" [2023-02-13T07:22:59.469Z] ], [2023-02-13T07:22:59.469Z] "mtu": 1458, [2023-02-13T07:22:59.469Z] "selinux-enabled": true, [2023-02-13T07:22:59.469Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-13T07:22:59.469Z] } [Pipeline] sh [2023-02-13T07:22:59.799Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-13T07:23:00.130Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T07:23:18.422Z] provisioning config files... [2023-02-13T07:23:18.455Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config5356166074893584435tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:23:18.815Z] ---> docker-login.sh [2023-02-13T07:23:18.815Z] nexus3.edgexfoundry.org:10001 [2023-02-13T07:23:19.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:23:19.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:23:19.679Z] Configure a credential helper to remove this warning. See [2023-02-13T07:23:19.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:23:19.679Z] [2023-02-13T07:23:19.679Z] Login Succeeded [2023-02-13T07:23:19.679Z] nexus3.edgexfoundry.org:10002 [2023-02-13T07:23:19.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:23:19.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:23:19.951Z] Configure a credential helper to remove this warning. See [2023-02-13T07:23:19.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:23:19.951Z] [2023-02-13T07:23:19.951Z] Login Succeeded [2023-02-13T07:23:19.951Z] nexus3.edgexfoundry.org:10003 [2023-02-13T07:23:20.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:23:20.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:23:20.490Z] Configure a credential helper to remove this warning. See [2023-02-13T07:23:20.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:23:20.490Z] [2023-02-13T07:23:20.490Z] Login Succeeded [2023-02-13T07:23:20.490Z] nexus3.edgexfoundry.org:10004 [2023-02-13T07:23:20.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:23:20.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:23:20.767Z] Configure a credential helper to remove this warning. See [2023-02-13T07:23:20.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:23:20.767Z] [2023-02-13T07:23:20.767Z] Login Succeeded [2023-02-13T07:23:20.767Z] docker.io [2023-02-13T07:23:21.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T07:23:21.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T07:23:21.306Z] Configure a credential helper to remove this warning. See [2023-02-13T07:23:21.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T07:23:21.306Z] [2023-02-13T07:23:21.306Z] Login Succeeded [2023-02-13T07:23:21.306Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T07:23:21.319Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T07:23:21.584Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T07:23:21.603Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T07:23:21.615Z] ========================================================= [2023-02-13T07:23:21.615Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-13T07:23:21.615Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:23:21.963Z] + 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-13T07:23:22.233Z] Sending build context to Docker daemon 5.602MB [2023-02-13T07:23:22.507Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T07:23:22.507Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-13T07:23:22.507Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-13T07:23:22.507Z] 9b18e9b68314: Pulling fs layer [2023-02-13T07:23:22.507Z] 35d82f9e3411: Pulling fs layer [2023-02-13T07:23:22.507Z] e16973657156: Pulling fs layer [2023-02-13T07:23:22.507Z] fc693d55d65f: Pulling fs layer [2023-02-13T07:23:22.507Z] 7e9fc2657dce: Pulling fs layer [2023-02-13T07:23:22.507Z] dda99020689f: Pulling fs layer [2023-02-13T07:23:22.507Z] db1c61fa0a46: Pulling fs layer [2023-02-13T07:23:22.507Z] 891c053d2c06: Pulling fs layer [2023-02-13T07:23:22.507Z] fc693d55d65f: Waiting [2023-02-13T07:23:22.507Z] dda99020689f: Waiting [2023-02-13T07:23:22.507Z] db1c61fa0a46: Waiting [2023-02-13T07:23:22.507Z] 891c053d2c06: Waiting [2023-02-13T07:23:22.507Z] 7e9fc2657dce: Waiting [2023-02-13T07:23:22.507Z] e16973657156: Verifying Checksum [2023-02-13T07:23:22.507Z] e16973657156: Download complete [2023-02-13T07:23:22.507Z] 35d82f9e3411: Verifying Checksum [2023-02-13T07:23:22.507Z] 35d82f9e3411: Download complete [2023-02-13T07:23:22.507Z] 7e9fc2657dce: Verifying Checksum [2023-02-13T07:23:22.507Z] 7e9fc2657dce: Download complete [2023-02-13T07:23:22.787Z] dda99020689f: Verifying Checksum [2023-02-13T07:23:22.787Z] dda99020689f: Download complete [2023-02-13T07:23:22.787Z] 9b18e9b68314: Verifying Checksum [2023-02-13T07:23:22.787Z] 9b18e9b68314: Download complete [2023-02-13T07:23:23.762Z] 9b18e9b68314: Pull complete [2023-02-13T07:23:23.762Z] 891c053d2c06: Verifying Checksum [2023-02-13T07:23:23.762Z] 891c053d2c06: Download complete [2023-02-13T07:23:24.359Z] 35d82f9e3411: Pull complete [2023-02-13T07:23:24.636Z] e16973657156: Pull complete [2023-02-13T07:23:25.230Z] db1c61fa0a46: Verifying Checksum [2023-02-13T07:23:25.230Z] db1c61fa0a46: Download complete [2023-02-13T07:23:25.819Z] fc693d55d65f: Verifying Checksum [2023-02-13T07:23:25.819Z] fc693d55d65f: Download complete [2023-02-13T07:23:38.161Z] fc693d55d65f: Pull complete [2023-02-13T07:23:38.161Z] 7e9fc2657dce: Pull complete [2023-02-13T07:23:38.433Z] dda99020689f: Pull complete [2023-02-13T07:23:46.683Z] db1c61fa0a46: Pull complete [2023-02-13T07:23:48.660Z] 891c053d2c06: Pull complete [2023-02-13T07:23:48.660Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-13T07:23:48.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-13T07:23:48.660Z] ---> f96f9c87975a [2023-02-13T07:23:48.660Z] Step 3/10 : ARG MAKE=make build [2023-02-13T07:23:50.083Z] ---> Running in 5e92ea8a140f [2023-02-13T07:23:50.671Z] Removing intermediate container 5e92ea8a140f [2023-02-13T07:23:50.671Z] ---> d755dee5933a [2023-02-13T07:23:50.671Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-13T07:23:50.671Z] ---> Running in f1edf8480cb3 [2023-02-13T07:23:50.940Z] Removing intermediate container f1edf8480cb3 [2023-02-13T07:23:50.940Z] ---> d237d235b4a1 [2023-02-13T07:23:50.940Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T07:23:50.940Z] ---> Running in 048a413d9f7b [2023-02-13T07:23:51.212Z] Removing intermediate container 048a413d9f7b [2023-02-13T07:23:51.212Z] ---> dbe3c3ea5f61 [2023-02-13T07:23:51.483Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-13T07:23:51.483Z] ---> Running in 119cd94b9750 [2023-02-13T07:23:52.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T07:23:52.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T07:23:54.327Z] OK: 221 MiB in 51 packages [2023-02-13T07:23:54.916Z] Removing intermediate container 119cd94b9750 [2023-02-13T07:23:54.916Z] ---> b5c57a0199f3 [2023-02-13T07:23:54.916Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-13T07:23:55.504Z] ---> f0ecdae36024 [2023-02-13T07:23:55.504Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T07:23:55.504Z] ---> Running in 890d5138883d [2023-02-13T07:25:03.412Z] Removing intermediate container 890d5138883d [2023-02-13T07:25:03.412Z] ---> 1f229c506f66 [2023-02-13T07:25:03.412Z] Step 9/10 : COPY . . [2023-02-13T07:25:03.412Z] ---> 3fd9952d8b50 [2023-02-13T07:25:03.412Z] Step 10/10 : RUN ${MAKE} [2023-02-13T07:25:03.412Z] ---> Running in dde7994be33a [2023-02-13T07:25:03.412Z] noop [2023-02-13T07:25:03.412Z] Removing intermediate container dde7994be33a [2023-02-13T07:25:03.412Z] ---> 4767f580fa84 [2023-02-13T07:25:03.412Z] Successfully built 4767f580fa84 [2023-02-13T07:25:03.412Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:25:03.755Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T07:25:03.755Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:25:03.954Z] prd-ubuntu20.04-docker-arm64-4c-16g-5499 does not seem to be running inside a container [2023-02-13T07:25:04.018Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-13T07:25:05.291Z] $ docker top 3dbb00f1ff14fa5f1117063ab0e1db365e7344b434f8a5259114ab66e744a210 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T07:25:06.126Z] + go version [2023-02-13T07:25:06.126Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-13T07:25:06.144Z] $ docker stop --time=1 3dbb00f1ff14fa5f1117063ab0e1db365e7344b434f8a5259114ab66e744a210 [2023-02-13T07:25:07.760Z] $ docker rm -f --volumes 3dbb00f1ff14fa5f1117063ab0e1db365e7344b434f8a5259114ab66e744a210 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:25:08.276Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T07:25:08.276Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:25:08.452Z] prd-ubuntu20.04-docker-arm64-4c-16g-5499 does not seem to be running inside a container [2023-02-13T07:25:08.513Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-13T07:25:09.626Z] $ docker top 9fcbfa304b6fde051093f361d871c8dd58b4ab738b8b35efd6c10ef4a0c94fc5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T07:25:10.442Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-02-13T07:25:10.771Z] + make test [2023-02-13T07:25:10.771Z] go test -race -coverprofile=coverage.out ./... [2023-02-13T07:25:49.641Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-13T07:27:56.308Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-13T07:27:56.308Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-13T07:27:56.308Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-13T07:27:56.308Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-13T07:27:56.308Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-13T07:28:06.398Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.418s coverage: 27.6% of statements [2023-02-13T07:28:06.983Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.646s coverage: 78.9% of statements [2023-02-13T07:28:06.983Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-13T07:28:15.211Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.485s coverage: 78.1% of statements [2023-02-13T07:28:15.211Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-13T07:28:15.211Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-13T07:28:16.179Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.633s coverage: 63.0% of statements [2023-02-13T07:28:16.179Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-13T07:28:16.179Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-13T07:28:16.179Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-13T07:28:16.763Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.444s coverage: 65.2% of statements [2023-02-13T07:28:16.763Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-13T07:28:16.763Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-13T07:28:17.031Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.324s coverage: 89.2% of statements [2023-02-13T07:28:17.031Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-13T07:28:17.031Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.281s coverage: 4.7% of statements [2023-02-13T07:28:17.031Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-13T07:28:17.995Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-13T07:28:17.995Z] GO111MODULE=on go vet ./... [2023-02-13T07:29:54.662Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T07:29:54.662Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T07:29:54.662Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-13T07:29:54.681Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T07:29:54.694Z] $ docker stop --time=1 9fcbfa304b6fde051093f361d871c8dd58b4ab738b8b35efd6c10ef4a0c94fc5 [2023-02-13T07:29:56.495Z] $ docker rm -f --volumes 9fcbfa304b6fde051093f361d871c8dd58b4ab738b8b35efd6c10ef4a0c94fc5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T07:29:57.811Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T07:29:57.833Z] Warning: overwriting stash ‘coverage-report’ [2023-02-13T07:29:58.517Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T07:29:58.924Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T07:29:59.267Z] + ls -al . [2023-02-13T07:29:59.268Z] total 268 [2023-02-13T07:29:59.268Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 07:25 . [2023-02-13T07:29:59.268Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:22 .. [2023-02-13T07:29:59.268Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 07:22 .dockerignore [2023-02-13T07:29:59.268Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 07:22 .git [2023-02-13T07:29:59.268Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:22 .github [2023-02-13T07:29:59.268Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 13 07:22 .gitignore [2023-02-13T07:29:59.268Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 13 07:22 .golangci.yml [2023-02-13T07:29:59.268Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 13 07:22 CHANGELOG.md [2023-02-13T07:29:59.268Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 07:22 GOVERNANCE.md [2023-02-13T07:29:59.268Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 13 07:22 Jenkinsfile [2023-02-13T07:29:59.268Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 13 07:22 LICENSE [2023-02-13T07:29:59.268Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 13 07:22 Makefile [2023-02-13T07:29:59.268Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 13 07:22 OWNERS.md [2023-02-13T07:29:59.268Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 13 07:22 README.md [2023-02-13T07:29:59.268Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 07:20 VERSION [2023-02-13T07:29:59.268Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 07:22 bin [2023-02-13T07:29:59.268Z] -rw-r--r-- 1 jenkins jenkins 100376 Feb 13 07:28 coverage.out [2023-02-13T07:29:59.268Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 13 07:22 example [2023-02-13T07:29:59.268Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 13 07:22 go.mod [2023-02-13T07:29:59.268Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 13 07:22 go.sum [2023-02-13T07:29:59.268Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 13 07:22 internal [2023-02-13T07:29:59.268Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 07:22 openapi [2023-02-13T07:29:59.268Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 13 07:22 pkg [2023-02-13T07:29:59.268Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 07:22 snap [2023-02-13T07:29:59.268Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 13 07:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:29:59.647Z] + 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=cd46b98118ed990172922b8ef0ffc6b1cb52b539 --label arch=arm64 --label version=0.0.0 . [2023-02-13T07:29:59.933Z] Sending build context to Docker daemon 5.704MB [2023-02-13T07:30:00.220Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T07:30:00.220Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-13T07:30:00.220Z] ---> 4767f580fa84 [2023-02-13T07:30:00.220Z] Step 3/23 : ARG MAKE=make build [2023-02-13T07:30:02.196Z] ---> Running in 1ff7b699f066 [2023-02-13T07:30:02.196Z] Removing intermediate container 1ff7b699f066 [2023-02-13T07:30:02.196Z] ---> c1a02af6bb9e [2023-02-13T07:30:02.196Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-13T07:30:02.465Z] ---> Running in 49f6e24f043f [2023-02-13T07:30:02.733Z] Removing intermediate container 49f6e24f043f [2023-02-13T07:30:02.733Z] ---> 0d6c33bdee75 [2023-02-13T07:30:02.733Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T07:30:02.733Z] ---> Running in 8a573ed84e4e [2023-02-13T07:30:03.003Z] Removing intermediate container 8a573ed84e4e [2023-02-13T07:30:03.003Z] ---> cc307a98886f [2023-02-13T07:30:03.003Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-13T07:30:03.003Z] ---> Running in 7145212cb608 [2023-02-13T07:30:03.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T07:30:04.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T07:30:05.201Z] OK: 221 MiB in 51 packages [2023-02-13T07:30:06.164Z] Removing intermediate container 7145212cb608 [2023-02-13T07:30:06.164Z] ---> 896eb3030b82 [2023-02-13T07:30:06.164Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-13T07:30:06.747Z] ---> 11c0882c9279 [2023-02-13T07:30:06.747Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T07:30:06.747Z] ---> Running in ead4d3f020ac [2023-02-13T07:30:09.337Z] Removing intermediate container ead4d3f020ac [2023-02-13T07:30:09.337Z] ---> 5e2174b26c7c [2023-02-13T07:30:09.337Z] Step 9/23 : COPY . . [2023-02-13T07:30:10.751Z] ---> d2d88630cfb5 [2023-02-13T07:30:10.751Z] Step 10/23 : RUN ${MAKE} [2023-02-13T07:30:10.751Z] ---> Running in d8259374040f [2023-02-13T07:30:11.720Z] 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-13T07:32:18.414Z] Removing intermediate container d8259374040f [2023-02-13T07:32:18.414Z] ---> f41dbb797754 [2023-02-13T07:32:18.414Z] Step 11/23 : FROM alpine:3.16 [2023-02-13T07:32:18.414Z] 3.16: Pulling from library/alpine [2023-02-13T07:32:18.414Z] 3760b48202b3: Pulling fs layer [2023-02-13T07:32:18.414Z] 3760b48202b3: Verifying Checksum [2023-02-13T07:32:18.414Z] 3760b48202b3: Download complete [2023-02-13T07:32:18.414Z] 3760b48202b3: Pull complete [2023-02-13T07:32:18.414Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T07:32:18.414Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T07:32:18.414Z] ---> 4c81e5bf8899 [2023-02-13T07:32:18.414Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-13T07:32:18.414Z] ---> Running in 9308404cda81 [2023-02-13T07:32:18.414Z] Removing intermediate container 9308404cda81 [2023-02-13T07:32:18.414Z] ---> 92e218f89b00 [2023-02-13T07:32:18.414Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-13T07:32:18.414Z] ---> Running in c5347bae7a91 [2023-02-13T07:32:18.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T07:32:18.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T07:32:18.414Z] OK: 5 MiB in 14 packages [2023-02-13T07:32:19.377Z] Removing intermediate container c5347bae7a91 [2023-02-13T07:32:19.377Z] ---> 638908b57d8d [2023-02-13T07:32:19.377Z] Step 14/23 : WORKDIR / [2023-02-13T07:32:19.377Z] ---> Running in 9a527bae91f6 [2023-02-13T07:32:19.646Z] Removing intermediate container 9a527bae91f6 [2023-02-13T07:32:19.647Z] ---> 443a5dd183e5 [2023-02-13T07:32:19.647Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-13T07:32:20.230Z] ---> a631772cce4b [2023-02-13T07:32:20.230Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-13T07:32:21.639Z] ---> 76c2295cbfe0 [2023-02-13T07:32:21.639Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-13T07:32:22.224Z] ---> 3b409c596360 [2023-02-13T07:32:22.224Z] Step 18/23 : EXPOSE 59999 [2023-02-13T07:32:22.224Z] ---> Running in 3bcf9ea87d6f [2023-02-13T07:32:22.492Z] Removing intermediate container 3bcf9ea87d6f [2023-02-13T07:32:22.492Z] ---> 909b2f4d923e [2023-02-13T07:32:22.492Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-13T07:32:22.492Z] ---> Running in 6ee780911e6a [2023-02-13T07:32:22.761Z] Removing intermediate container 6ee780911e6a [2023-02-13T07:32:22.761Z] ---> 901730779d6d [2023-02-13T07:32:22.761Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-13T07:32:23.030Z] ---> Running in 3ccc16fbb819 [2023-02-13T07:32:23.298Z] Removing intermediate container 3ccc16fbb819 [2023-02-13T07:32:23.298Z] ---> dd0717e80191 [2023-02-13T07:32:23.298Z] Step 21/23 : LABEL arch=arm64 [2023-02-13T07:32:23.298Z] ---> Running in ee63f7d0f98d [2023-02-13T07:32:23.565Z] Removing intermediate container ee63f7d0f98d [2023-02-13T07:32:23.565Z] ---> 890123f61239 [2023-02-13T07:32:23.565Z] Step 22/23 : LABEL git_sha=cd46b98118ed990172922b8ef0ffc6b1cb52b539 [2023-02-13T07:32:23.565Z] ---> Running in 5ce2f99cd16a [2023-02-13T07:32:23.833Z] Removing intermediate container 5ce2f99cd16a [2023-02-13T07:32:23.833Z] ---> 5517192a577b [2023-02-13T07:32:23.833Z] Step 23/23 : LABEL version=0.0.0 [2023-02-13T07:32:24.099Z] ---> Running in 151681730dc9 [2023-02-13T07:32:24.365Z] Removing intermediate container 151681730dc9 [2023-02-13T07:32:24.365Z] ---> 46d375d89f22 [2023-02-13T07:32:24.365Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T07:32:24.365Z] Successfully built 46d375d89f22 [2023-02-13T07:32:24.365Z] 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-13T07:32:24.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T07:32:24.799Z] [2023-02-13T07:32:24.799Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:32:25.129Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T07:32:25.130Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-13T07:32:25.130Z] 8998bd30e6a1: Pulling fs layer [2023-02-13T07:32:25.398Z] 04944245beec: Pulling fs layer [2023-02-13T07:32:25.398Z] 699f458cf7ca: Pulling fs layer [2023-02-13T07:32:25.398Z] 765212b225bb: Pulling fs layer [2023-02-13T07:32:25.398Z] f23df028b6ca: Pulling fs layer [2023-02-13T07:32:25.398Z] d65c8cfc05b1: Pulling fs layer [2023-02-13T07:32:25.398Z] 2437ff75d9bd: Pulling fs layer [2023-02-13T07:32:25.398Z] 765212b225bb: Waiting [2023-02-13T07:32:25.398Z] f23df028b6ca: Waiting [2023-02-13T07:32:25.398Z] 2437ff75d9bd: Waiting [2023-02-13T07:32:25.398Z] d65c8cfc05b1: Waiting [2023-02-13T07:32:25.398Z] 04944245beec: Verifying Checksum [2023-02-13T07:32:25.398Z] 04944245beec: Download complete [2023-02-13T07:32:25.398Z] 765212b225bb: Verifying Checksum [2023-02-13T07:32:25.398Z] 765212b225bb: Download complete [2023-02-13T07:32:25.398Z] f23df028b6ca: Download complete [2023-02-13T07:32:25.666Z] d65c8cfc05b1: Verifying Checksum [2023-02-13T07:32:25.666Z] d65c8cfc05b1: Download complete [2023-02-13T07:32:25.666Z] 699f458cf7ca: Verifying Checksum [2023-02-13T07:32:25.666Z] 699f458cf7ca: Download complete [2023-02-13T07:32:27.425Z] 8998bd30e6a1: Verifying Checksum [2023-02-13T07:32:27.425Z] 8998bd30e6a1: Download complete [2023-02-13T07:32:30.008Z] 2437ff75d9bd: Verifying Checksum [2023-02-13T07:32:30.008Z] 2437ff75d9bd: Download complete [2023-02-13T07:32:31.430Z] 8998bd30e6a1: Pull complete [2023-02-13T07:32:32.015Z] 04944245beec: Pull complete [2023-02-13T07:32:33.423Z] 699f458cf7ca: Pull complete [2023-02-13T07:32:33.423Z] 765212b225bb: Pull complete [2023-02-13T07:32:34.382Z] f23df028b6ca: Pull complete [2023-02-13T07:32:34.382Z] d65c8cfc05b1: Pull complete [2023-02-13T07:32:49.372Z] 2437ff75d9bd: Pull complete [2023-02-13T07:32:49.372Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-13T07:32:49.372Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T07:32:49.372Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:32:49.557Z] prd-ubuntu20.04-docker-arm64-4c-16g-5499 does not seem to be running inside a container [2023-02-13T07:32:49.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-13T07:32:52.237Z] $ docker top 5bd3b5789440920fac177be158b120eb594cf7ec90faa41a2e95832f14db6879 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:32:52.755Z] ---> job-cost.sh [2023-02-13T07:32:53.020Z] lf-activate-venv: SKIPPING [2023-02-13T07:32:53.020Z] INFO: No Stack... [2023-02-13T07:32:53.600Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-13T07:32:54.555Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T07:32:55.193Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2023-02-13T07:32:55.193Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T07:32:55.255Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1313-3-stack-cost] [2023-02-13T07:32:55.262Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1313-3-stack-cost] did not exist. Created. [2023-02-13T07:32:55.262Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1313-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T07:32:55.595Z] /w/workspace/device-sdk-go/3@tmp/durable-18004fa1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-13T07:32:56.244Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-13T07:32:56.267Z] Warning: overwriting stash ‘stack-cost’ [2023-02-13T07:32:56.333Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T07:32:56.343Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1313-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T07:32:56.359Z] $ docker stop --time=1 5bd3b5789440920fac177be158b120eb594cf7ec90faa41a2e95832f14db6879 [2023-02-13T07:32:57.853Z] $ docker rm -f --volumes 5bd3b5789440920fac177be158b120eb594cf7ec90faa41a2e95832f14db6879 [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-13T07:32:58.208Z] provisioning config files... [2023-02-13T07:32:58.214Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp/config15794800640111733703tmp [Pipeline] { [Pipeline] sh [2023-02-13T07:32:58.501Z] + set +x [2023-02-13T07:32:58.501Z] + curl -s https://codecov.io/bash [2023-02-13T07:32:58.501Z] + bash -s -- [2023-02-13T07:32:58.501Z] [2023-02-13T07:32:58.501Z] _____ _ [2023-02-13T07:32:58.501Z] / ____| | | [2023-02-13T07:32:58.501Z] | | ___ __| | ___ ___ _____ __ [2023-02-13T07:32:58.501Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-13T07:32:58.501Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-13T07:32:58.501Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-13T07:32:58.501Z] Bash-1.0.6 [2023-02-13T07:32:58.501Z] [2023-02-13T07:32:58.501Z] [2023-02-13T07:32:58.501Z] ==> git version 2.25.1 found [2023-02-13T07:32:58.501Z] ==> 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-13T07:32:58.501Z] Release-Date: 2020-01-08 [2023-02-13T07:32:58.501Z] 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-13T07:32:58.501Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-13T07:32:58.501Z] ==> Jenkins CI detected. [2023-02-13T07:32:58.501Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1313 [2023-02-13T07:32:58.501Z] project root: . [2023-02-13T07:32:58.501Z] --> token set from env [2023-02-13T07:32:58.501Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-13T07:32:58.501Z] ==> Running gcov in . (disable via -X gcov) [2023-02-13T07:32:58.501Z] ==> Python coveragepy not found [2023-02-13T07:32:58.501Z] ==> Searching for coverage reports in: [2023-02-13T07:32:58.501Z] + . [2023-02-13T07:32:58.501Z] -> Found 1 reports [2023-02-13T07:32:58.501Z] ==> Detecting git/mercurial file structure [2023-02-13T07:32:58.501Z] ==> Reading reports [2023-02-13T07:32:58.501Z] + ./coverage.out bytes=100376 [2023-02-13T07:32:58.501Z] ==> Appending adjustments [2023-02-13T07:32:58.501Z] https://docs.codecov.io/docs/fixing-reports [2023-02-13T07:32:58.760Z] + Found adjustments [2023-02-13T07:32:59.018Z] ==> Gzipping contents [2023-02-13T07:32:59.018Z] 16K /tmp/codecov.K90g3d.gz [2023-02-13T07:32:59.018Z] ==> Uploading reports [2023-02-13T07:32:59.018Z] url: https://codecov.io [2023-02-13T07:32:59.018Z] query: branch=PR-1313&commit=418aa215b9eeb55f6b3ceabe931f9e4907273866&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1313%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1313&job=&cmd_args= [2023-02-13T07:32:59.018Z] -> Pinging Codecov [2023-02-13T07:32:59.018Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1313&commit=418aa215b9eeb55f6b3ceabe931f9e4907273866&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1313%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1313&job=&cmd_args= [2023-02-13T07:32:59.276Z] -> Uploading to [2023-02-13T07:32:59.276Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-13/7E55EF52A471D76F132DFD9A03CDDE97/418aa215b9eeb55f6b3ceabe931f9e4907273866/55d6d74c-d1da-4bf2-8e16-05f17e28fd65.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230213T073259Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=18eb9bf477d0a9a707d279d8b562415ee052fd8c289f816a430e073fc1c14efa [2023-02-13T07:32:59.276Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T07:32:59.276Z] Dload Upload Total Spent Left Speed [2023-02-13T07:32:59.534Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14517 0 0 100 14517 0 59495 --:--:-- --:--:-- --:--:-- 59740 [2023-02-13T07:32:59.534Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/418aa215b9eeb55f6b3ceabe931f9e4907273866 [Pipeline] } [2023-02-13T07:32:59.542Z] 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-13T07:33:06.592Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1313/archives ] [2023-02-13T07:33:06.592Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1313/archives [2023-02-13T07:33:06.592Z] total 16 [2023-02-13T07:33:06.592Z] drwxr-xr-x 3 root root 4096 Feb 13 07:22 . [2023-02-13T07:33:06.592Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 13 07:22 .. [2023-02-13T07:33:06.592Z] drwxr-xr-x 2 root root 4096 Feb 13 07:22 cost [2023-02-13T07:33:06.592Z] -rw-r--r-- 1 root root 86 Feb 13 07:22 cost.csv [2023-02-13T07:33:06.592Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1313/archives [2023-02-13T07:33:06.592Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1313/archives [2023-02-13T07:33:06.592Z] total 16 [2023-02-13T07:33:06.592Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 07:22 . [2023-02-13T07:33:06.592Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 13 07:22 .. [2023-02-13T07:33:06.592Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 07:22 cost [2023-02-13T07:33:06.592Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 13 07:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:33:06.877Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:33:07.733Z] ---> package-listing.sh [2023-02-13T07:33:07.734Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-13T07:33:07.734Z] ++ facter osfamily [2023-02-13T07:33:07.992Z] + OS_FAMILY=debian [2023-02-13T07:33:07.992Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1313 [2023-02-13T07:33:07.992Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-13T07:33:07.992Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-13T07:33:07.992Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-13T07:33:07.992Z] + PACKAGES=/tmp/packages_start.txt [2023-02-13T07:33:07.992Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1313 ']' [2023-02-13T07:33:07.992Z] + PACKAGES=/tmp/packages_end.txt [2023-02-13T07:33:07.992Z] + case "${OS_FAMILY}" in [2023-02-13T07:33:07.992Z] + dpkg -l [2023-02-13T07:33:07.992Z] + grep '^ii' [2023-02-13T07:33:07.992Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-13T07:33:07.992Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-13T07:33:07.992Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-13T07:33:07.992Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1313 ']' [2023-02-13T07:33:07.992Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1313/archives/ [2023-02-13T07:33:07.992Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1313/archives/ [Pipeline] echo [2023-02-13T07:33:08.002Z] 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-1313/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-13T07:33:08.278Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T07:33:08.836Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T07:33:08.836Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T07:33:08.914Z] prd-ubuntu20.04-docker-8c-8g-5497 does not seem to be running inside a container [2023-02-13T07:33:08.942Z] $ 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-1313/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-1313 -v /w/workspace/gexfoundry_device-sdk-go_PR-1313:/w/workspace/gexfoundry_device-sdk-go_PR-1313:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T07:33:09.124Z] $ docker top 0930f1a7bc65ade7df73ffeb950321dd10d91e03207ea4c699c1ce516f25967c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T07:33:09.468Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-13T07:33:09.752Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-13T07:33:10.036Z] + ls /var/log/sa-host [2023-02-13T07:33:10.036Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T07:33:10.099Z] provisioning config files... [2023-02-13T07:33:10.107Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1313@tmp/config9913642365005613488tmp [Pipeline] { [Pipeline] echo [2023-02-13T07:33:10.122Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:33:10.400Z] ---> create-netrc.sh [Pipeline] } [2023-02-13T07:33:10.408Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:33:10.729Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-13T07:33:10.738Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:33:11.022Z] ---> sudo-logs.sh [2023-02-13T07:33:11.022Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-13T07:33:11.046Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:33:11.329Z] ---> job-cost.sh [2023-02-13T07:33:11.329Z] lf-activate-venv: SKIPPING [2023-02-13T07:33:11.329Z] DEBUG: total: 0.2199999988079071 [2023-02-13T07:33:11.329Z] INFO: Retrieving Stack Cost... [2023-02-13T07:33:11.897Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T07:33:12.156Z] INFO: Archiving Costs [Pipeline] echo [2023-02-13T07:33:12.169Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T07:33:12.453Z] ---> logs-deploy.sh [2023-02-13T07:33:12.454Z] lf-activate-venv: SKIPPING [2023-02-13T07:33:12.454Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1313/3 [2023-02-13T07:33:12.454Z] INFO: archiving workspace using pattern(s): [2023-02-13T07:33:13.391Z] Archives upload complete. [2023-02-13T07:33:13.391Z] INFO: archiving logs to Nexus