Pull request #1348 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 rather than d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 Obtained Jenkinsfile from acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10807958050719125564.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-ssh1483148720414249777.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1348/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1348/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16594694165892854953.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-ssh52668747471463397.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1348/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1348/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5437593384400209666.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-7866 in /w/workspace/gexfoundry_device-sdk-go_PR-1348 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1348 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Merging remotes/origin/main commit acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 into PR head commit d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 Merge succeeded, producing d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 Checking out Revision d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 (PR-1348) Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1348/head:refs/remotes/origin/PR-1348 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 # timeout=10 Commit message: "fix: Add UpdateDevice callback for device profile update" First time build. Skipping changelog. > git rev-list --no-walk f35a1aff7512461053a708065a9057b6463edcaa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-01T02:08:44.457Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-01T02:08:44.530Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-01T02:08:44.548Z] ========================================================= [2023-03-01T02:08:44.548Z] EdgeX Global Pipelines Version Info [2023-03-01T02:08:44.548Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:08:45.273Z] ------------------- [2023-03-01T02:08:45.273Z] stable info: [2023-03-01T02:08:45.273Z] ------------------- [2023-03-01T02:08:45.273Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-01T02:08:45.274Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-01T02:08:45.274Z] Message: update stable to v1.0.244 [2023-03-01T02:08:45.844Z] ------------------- [2023-03-01T02:08:45.844Z] experimental info: [2023-03-01T02:08:45.844Z] ------------------- [2023-03-01T02:08:45.844Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-01T02:08:45.844Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-01T02:08:45.844Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-01T02:08:46.040Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-01T02:08:46.057Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-01T02:08:46.073Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-01T02:08:46.086Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-01T02:08:46.102Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-01T02:08:46.120Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-01T02:08:46.138Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-01T02:08:46.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-01T02:08:46.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-01T02:08:46.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-01T02:08:46.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-01T02:08:46.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-01T02:08:46.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-01T02:08:46.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-01T02:08:46.242Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-01T02:08:46.257Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T02:08:46.273Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T02:08:46.285Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T02:08:46.299Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-01T02:08:46.309Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-01T02:08:46.322Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-01T02:08:46.337Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-01T02:08:46.353Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-01T02:08:46.364Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-01T02:08:46.377Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-01T02:08:46.392Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-01T02:08:46.405Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-01T02:08:46.417Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1348 [Pipeline] echo [2023-03-01T02:08:46.429Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1348 [Pipeline] echo [2023-03-01T02:08:46.441Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1348 [Pipeline] echo [2023-03-01T02:08:46.453Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 [Pipeline] echo [2023-03-01T02:08:46.469Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d4adbed [Pipeline] echo [2023-03-01T02:08:46.487Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T02:08:46.539Z] provisioning config files... [2023-03-01T02:08:46.553Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/config9921521712280869323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:08:46.858Z] ---> docker-login.sh [2023-03-01T02:08:46.858Z] nexus3.edgexfoundry.org:10001 [2023-03-01T02:08:47.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:08:47.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:08:47.122Z] Configure a credential helper to remove this warning. See [2023-03-01T02:08:47.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:08:47.122Z] [2023-03-01T02:08:47.122Z] Login Succeeded [2023-03-01T02:08:47.122Z] nexus3.edgexfoundry.org:10002 [2023-03-01T02:08:47.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:08:47.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:08:47.381Z] Configure a credential helper to remove this warning. See [2023-03-01T02:08:47.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:08:47.381Z] [2023-03-01T02:08:47.381Z] Login Succeeded [2023-03-01T02:08:47.381Z] nexus3.edgexfoundry.org:10003 [2023-03-01T02:08:47.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:08:47.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:08:47.381Z] Configure a credential helper to remove this warning. See [2023-03-01T02:08:47.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:08:47.381Z] [2023-03-01T02:08:47.381Z] Login Succeeded [2023-03-01T02:08:47.381Z] nexus3.edgexfoundry.org:10004 [2023-03-01T02:08:47.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:08:47.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:08:47.381Z] Configure a credential helper to remove this warning. See [2023-03-01T02:08:47.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:08:47.381Z] [2023-03-01T02:08:47.642Z] Login Succeeded [2023-03-01T02:08:47.642Z] docker.io [2023-03-01T02:08:47.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:08:47.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:08:47.906Z] Configure a credential helper to remove this warning. See [2023-03-01T02:08:47.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:08:47.906Z] [2023-03-01T02:08:47.906Z] Login Succeeded [2023-03-01T02:08:47.906Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T02:08:47.918Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-01T02:08:48.288Z] + git rev-list -1 --merges d4adbed3fbe7bdd9c3def8da45e4718763d49ad8~1..d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 [Pipeline] echo [2023-03-01T02:08:48.344Z] -----------> git rev-list -1 --merges d4adbed3fbe7bdd9c3def8da45e4718763d49ad8~1..d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 [false] [Pipeline] sh [2023-03-01T02:08:48.634Z] + git log --format=format:%s -1 d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 [Pipeline] echo [2023-03-01T02:08:48.649Z] ========================================================= [2023-03-01T02:08:48.649Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-01T02:08:48.649Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T02:08:48.962Z] + git log --format=format:%s -1 d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 [Pipeline] echo [2023-03-01T02:08:48.976Z] [semverPrep] GIT_COMMIT: d4adbed3fbe7bdd9c3def8da45e4718763d49ad8, Commit Message: fix: Add UpdateDevice callback for device profile update [Pipeline] echo [2023-03-01T02:08:48.987Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-01T02:08:49.332Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-01T02:08:49.333Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-01T02:08:49.333Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-01T02:08:49.333Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-01T02:08:49.333Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-01T02:08:49.333Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-01T02:08:49.333Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:08:49.673Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T02:08:49.673Z] [2023-03-01T02:08:49.673Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:08:49.972Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T02:08:49.972Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-01T02:08:49.972Z] b85a868b505f: Pulling fs layer [2023-03-01T02:08:49.972Z] e2be974225ed: Pulling fs layer [2023-03-01T02:08:49.972Z] 339a4e72a1f5: Pulling fs layer [2023-03-01T02:08:49.972Z] 988bab9f4d93: Pulling fs layer [2023-03-01T02:08:49.972Z] 1469e6f7b9e6: Pulling fs layer [2023-03-01T02:08:49.972Z] 988bab9f4d93: Waiting [2023-03-01T02:08:49.972Z] 1469e6f7b9e6: Waiting [2023-03-01T02:08:49.972Z] eaf3925da568: Pulling fs layer [2023-03-01T02:08:49.972Z] bab4dde63d76: Pulling fs layer [2023-03-01T02:08:49.972Z] eaf3925da568: Waiting [2023-03-01T02:08:49.972Z] bde34c3a00c8: Pulling fs layer [2023-03-01T02:08:49.972Z] b352a97aabf1: Pulling fs layer [2023-03-01T02:08:49.972Z] bde34c3a00c8: Waiting [2023-03-01T02:08:49.972Z] bab4dde63d76: Waiting [2023-03-01T02:08:49.972Z] b352a97aabf1: Waiting [2023-03-01T02:08:49.972Z] 4872d77fe225: Pulling fs layer [2023-03-01T02:08:49.972Z] 5851b861e8e6: Pulling fs layer [2023-03-01T02:08:49.972Z] 5851b861e8e6: Waiting [2023-03-01T02:08:49.972Z] e2be974225ed: Verifying Checksum [2023-03-01T02:08:49.972Z] e2be974225ed: Download complete [2023-03-01T02:08:49.972Z] 988bab9f4d93: Verifying Checksum [2023-03-01T02:08:49.972Z] 988bab9f4d93: Download complete [2023-03-01T02:08:50.231Z] 1469e6f7b9e6: Verifying Checksum [2023-03-01T02:08:50.231Z] 1469e6f7b9e6: Download complete [2023-03-01T02:08:50.231Z] 339a4e72a1f5: Verifying Checksum [2023-03-01T02:08:50.231Z] 339a4e72a1f5: Download complete [2023-03-01T02:08:50.231Z] eaf3925da568: Verifying Checksum [2023-03-01T02:08:50.231Z] eaf3925da568: Download complete [2023-03-01T02:08:50.231Z] bde34c3a00c8: Verifying Checksum [2023-03-01T02:08:50.231Z] bde34c3a00c8: Download complete [2023-03-01T02:08:50.231Z] b352a97aabf1: Verifying Checksum [2023-03-01T02:08:50.231Z] b352a97aabf1: Download complete [2023-03-01T02:08:50.231Z] 4872d77fe225: Download complete [2023-03-01T02:08:50.231Z] 5851b861e8e6: Verifying Checksum [2023-03-01T02:08:50.231Z] 5851b861e8e6: Download complete [2023-03-01T02:08:50.231Z] b85a868b505f: Verifying Checksum [2023-03-01T02:08:50.231Z] b85a868b505f: Download complete [2023-03-01T02:08:50.491Z] bab4dde63d76: Verifying Checksum [2023-03-01T02:08:50.491Z] bab4dde63d76: Download complete [2023-03-01T02:08:51.428Z] b85a868b505f: Pull complete [2023-03-01T02:08:51.686Z] e2be974225ed: Pull complete [2023-03-01T02:08:52.254Z] 339a4e72a1f5: Pull complete [2023-03-01T02:08:52.254Z] 988bab9f4d93: Pull complete [2023-03-01T02:08:52.514Z] 1469e6f7b9e6: Pull complete [2023-03-01T02:08:52.772Z] eaf3925da568: Pull complete [2023-03-01T02:08:54.676Z] bab4dde63d76: Pull complete [2023-03-01T02:08:54.676Z] bde34c3a00c8: Pull complete [2023-03-01T02:08:54.676Z] b352a97aabf1: Pull complete [2023-03-01T02:08:54.676Z] 4872d77fe225: Pull complete [2023-03-01T02:08:54.676Z] 5851b861e8e6: Pull complete [2023-03-01T02:08:54.676Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-01T02:08:54.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T02:08:54.934Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:08:55.016Z] prd-ubuntu20.04-docker-8c-8g-7866 does not seem to be running inside a container [2023-03-01T02:08:55.051Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1348 -v /w/workspace/gexfoundry_device-sdk-go_PR-1348:/w/workspace/gexfoundry_device-sdk-go_PR-1348:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-01T02:08:58.273Z] $ docker top 8be215c737f65f432bd0834ed852c891462e6562eb04cb5c172cd90595d793d5 -eo pid,comm [2023-03-01T02:08:58.324Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-01T02:08:58.324Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-01T02:08:58.370Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-01T02:08:58.370Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-01T02:08:58.486Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-01T02:08:58.493Z] $ docker exec 8be215c737f65f432bd0834ed852c891462e6562eb04cb5c172cd90595d793d5 ssh-agent [2023-03-01T02:08:58.598Z] SSH_AUTH_SOCK=/tmp/ssh-wJQQxxhmYZTb/agent.33 [2023-03-01T02:08:58.598Z] SSH_AGENT_PID=39 [2023-03-01T02:08:58.605Z] Running ssh-add (command line suppressed) [2023-03-01T02:08:58.719Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/private_key_6088225637389894237.key (/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/private_key_6088225637389894237.key) [2023-03-01T02:08:58.730Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-01T02:08:59.021Z] + git tag --points-at HEAD [Pipeline] } [2023-03-01T02:08:59.038Z] $ docker exec --env ******** --env ******** 8be215c737f65f432bd0834ed852c891462e6562eb04cb5c172cd90595d793d5 ssh-agent -k [2023-03-01T02:08:59.135Z] unset SSH_AUTH_SOCK; [2023-03-01T02:08:59.135Z] unset SSH_AGENT_PID; [2023-03-01T02:08:59.136Z] echo Agent pid 39 killed; [2023-03-01T02:08:59.144Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-01T02:08:59.175Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-01T02:08:59.175Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-01T02:08:59.295Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-01T02:08:59.302Z] $ docker exec 8be215c737f65f432bd0834ed852c891462e6562eb04cb5c172cd90595d793d5 ssh-agent [2023-03-01T02:08:59.421Z] SSH_AUTH_SOCK=/tmp/ssh-4j0qYM104uLt/agent.72 [2023-03-01T02:08:59.421Z] SSH_AGENT_PID=78 [2023-03-01T02:08:59.425Z] Running ssh-add (command line suppressed) [2023-03-01T02:08:59.544Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/private_key_1359514468513577234.key (/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/private_key_1359514468513577234.key) [2023-03-01T02:08:59.553Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-01T02:08:59.843Z] + git semver init [2023-03-01T02:09:00.102Z] 2023-03-01 02:09:00,045 [run_init] DEBUG init version:0.0.0 force:False [2023-03-01T02:09:00.102Z] 2023-03-01 02:09:00,045 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver [2023-03-01T02:09:00.102Z] 2023-03-01 02:09:00,046 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver [2023-03-01T02:09:00.102Z] 2023-03-01 02:09:00,046 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1348, universal_newlines=False, shell=None, istream=None) [2023-03-01T02:09:01.042Z] 2023-03-01 02:09:01,007 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1348/.git/info/exclude [2023-03-01T02:09:01.042Z] 2023-03-01 02:09:01,008 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver/PR-1348 with force:False [2023-03-01T02:09:01.042Z] 2023-03-01 02:09:01,008 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver/PR-1348 [2023-03-01T02:09:01.042Z] 2023-03-01 02:09:01,012 [execute] INFO git cat-file --batch-check [2023-03-01T02:09:01.042Z] 2023-03-01 02:09:01,013 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver, universal_newlines=False, shell=None, istream=) [2023-03-01T02:09:01.042Z] 2023-03-01 02:09:01,018 [execute] INFO git cat-file --batch [2023-03-01T02:09:01.042Z] 2023-03-01 02:09:01,019 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver, universal_newlines=False, shell=None, istream=) [2023-03-01T02:09:01.042Z] 2023-03-01 02:09:01,024 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1348/.semver/PR-1348 [2023-03-01T02:09:01.042Z] 0.0.0 [Pipeline] } [2023-03-01T02:09:01.056Z] $ docker exec --env ******** --env ******** 8be215c737f65f432bd0834ed852c891462e6562eb04cb5c172cd90595d793d5 ssh-agent -k [2023-03-01T02:09:01.147Z] unset SSH_AUTH_SOCK; [2023-03-01T02:09:01.147Z] unset SSH_AGENT_PID; [2023-03-01T02:09:01.147Z] echo Agent pid 78 killed; [2023-03-01T02:09:01.154Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-01T02:09:01.462Z] + git semver [Pipeline] } [2023-03-01T02:09:01.742Z] $ docker stop --time=1 8be215c737f65f432bd0834ed852c891462e6562eb04cb5c172cd90595d793d5 [2023-03-01T02:09:03.063Z] $ docker rm -f --volumes 8be215c737f65f432bd0834ed852c891462e6562eb04cb5c172cd90595d793d5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-01T02:09:03.385Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-01T02:09:03.588Z] Stashed 1 file(s) [Pipeline] echo [2023-03-01T02:09:03.593Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T02:09:03.727Z] provisioning config files... [2023-03-01T02:09:03.735Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/config1451720688782783062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:09:04.030Z] ---> docker-login.sh [2023-03-01T02:09:04.030Z] nexus3.edgexfoundry.org:10001 [2023-03-01T02:09:04.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:09:04.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:09:04.030Z] Configure a credential helper to remove this warning. See [2023-03-01T02:09:04.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:09:04.030Z] [2023-03-01T02:09:04.030Z] Login Succeeded [2023-03-01T02:09:04.030Z] nexus3.edgexfoundry.org:10002 [2023-03-01T02:09:04.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:09:04.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:09:04.030Z] Configure a credential helper to remove this warning. See [2023-03-01T02:09:04.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:09:04.030Z] [2023-03-01T02:09:04.030Z] Login Succeeded [2023-03-01T02:09:04.030Z] nexus3.edgexfoundry.org:10003 [2023-03-01T02:09:04.105Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7864 in /w/workspace/gexfoundry_device-sdk-go_PR-1348 [Pipeline] { [Pipeline] ws [2023-03-01T02:09:04.117Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2023-03-01T02:09:04.163Z] The recommended git tool is: git [2023-03-01T02:09:04.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:09:04.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:09:04.288Z] Configure a credential helper to remove this warning. See [2023-03-01T02:09:04.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:09:04.288Z] [2023-03-01T02:09:04.288Z] Login Succeeded [2023-03-01T02:09:04.288Z] nexus3.edgexfoundry.org:10004 [2023-03-01T02:09:04.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:09:04.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:09:04.288Z] Configure a credential helper to remove this warning. See [2023-03-01T02:09:04.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:09:04.288Z] [2023-03-01T02:09:04.288Z] Login Succeeded [2023-03-01T02:09:04.288Z] docker.io [2023-03-01T02:09:04.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:09:04.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:09:04.547Z] Configure a credential helper to remove this warning. See [2023-03-01T02:09:04.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:09:04.547Z] [2023-03-01T02:09:04.547Z] Login Succeeded [2023-03-01T02:09:04.547Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T02:09:04.554Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-01T02:09:04.621Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T02:09:04.639Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T02:09:04.648Z] ========================================================= [2023-03-01T02:09:04.648Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-01T02:09:04.648Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:09:04.980Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-01T02:09:04.981Z] Sending build context to Docker daemon 10.58MB [2023-03-01T02:09:04.981Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T02:09:04.981Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-01T02:09:04.981Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-01T02:09:04.981Z] 213ec9aee27d: Pulling fs layer [2023-03-01T02:09:04.981Z] 4583459ba037: Pulling fs layer [2023-03-01T02:09:04.981Z] 93c1e223e6f2: Pulling fs layer [2023-03-01T02:09:04.981Z] 53926ce57604: Pulling fs layer [2023-03-01T02:09:04.981Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-01T02:09:04.981Z] 22ff95d597cd: Pulling fs layer [2023-03-01T02:09:04.981Z] 12d6caf4c0d1: Pulling fs layer [2023-03-01T02:09:04.981Z] 96b7cbca73a9: Pulling fs layer [2023-03-01T02:09:04.981Z] a7acece74701: Pulling fs layer [2023-03-01T02:09:04.981Z] 53926ce57604: Waiting [2023-03-01T02:09:04.981Z] 21b2b0c7a3f4: Waiting [2023-03-01T02:09:04.981Z] 22ff95d597cd: Waiting [2023-03-01T02:09:04.981Z] 12d6caf4c0d1: Waiting [2023-03-01T02:09:04.981Z] 96b7cbca73a9: Waiting [2023-03-01T02:09:04.981Z] 93c1e223e6f2: Download complete [2023-03-01T02:09:04.981Z] 4583459ba037: Verifying Checksum [2023-03-01T02:09:04.981Z] 4583459ba037: Download complete [2023-03-01T02:09:05.245Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-01T02:09:05.245Z] 21b2b0c7a3f4: Download complete [2023-03-01T02:09:05.245Z] 22ff95d597cd: Verifying Checksum [2023-03-01T02:09:05.245Z] 22ff95d597cd: Download complete [2023-03-01T02:09:05.245Z] 213ec9aee27d: Verifying Checksum [2023-03-01T02:09:05.245Z] 213ec9aee27d: Download complete [2023-03-01T02:09:05.245Z] 12d6caf4c0d1: Download complete [2023-03-01T02:09:05.245Z] 213ec9aee27d: Pull complete [2023-03-01T02:09:05.512Z] 4583459ba037: Pull complete [2023-03-01T02:09:05.512Z] 93c1e223e6f2: Pull complete [2023-03-01T02:09:05.782Z] a7acece74701: Verifying Checksum [2023-03-01T02:09:05.782Z] a7acece74701: Download complete [2023-03-01T02:09:06.042Z] 53926ce57604: Download complete [2023-03-01T02:09:06.042Z] 96b7cbca73a9: Verifying Checksum [2023-03-01T02:09:06.042Z] 96b7cbca73a9: Download complete [2023-03-01T02:09:09.322Z] 53926ce57604: Pull complete [2023-03-01T02:09:09.579Z] 21b2b0c7a3f4: Pull complete [2023-03-01T02:09:09.579Z] 22ff95d597cd: Pull complete [2023-03-01T02:09:09.579Z] 12d6caf4c0d1: Pull complete [2023-03-01T02:09:11.475Z] 96b7cbca73a9: Pull complete [2023-03-01T02:09:12.041Z] a7acece74701: Pull complete [2023-03-01T02:09:12.298Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-01T02:09:12.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-01T02:09:12.298Z] ---> db6d94c90886 [2023-03-01T02:09:12.298Z] Step 3/10 : ARG MAKE=make build [2023-03-01T02:09:13.609Z] using credential edgex-jenkins-ssh [2023-03-01T02:09:13.636Z] Cloning the remote Git repository [2023-03-01T02:09:13.755Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-01T02:09:13.951Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2023-03-01T02:09:14.474Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-01T02:09:14.476Z] > git --version # timeout=10 [2023-03-01T02:09:14.618Z] > git --version # 'git version 2.25.1' [2023-03-01T02:09:14.620Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T02:09:14.767Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-01T02:09:17.565Z] ---> Running in 9908c5ff99f0 [2023-03-01T02:09:17.565Z] Removing intermediate container 9908c5ff99f0 [2023-03-01T02:09:17.565Z] ---> 777c9c7ffcd5 [2023-03-01T02:09:17.565Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-01T02:09:17.565Z] ---> Running in e0a6989a3e40 [2023-03-01T02:09:17.565Z] Removing intermediate container e0a6989a3e40 [2023-03-01T02:09:17.565Z] ---> f2b96bb87b4a [2023-03-01T02:09:17.565Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-01T02:09:17.565Z] ---> Running in 9ab5c9458243 [2023-03-01T02:09:16.697Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-01T02:09:16.748Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-01T02:09:17.823Z] Removing intermediate container 9ab5c9458243 [2023-03-01T02:09:17.823Z] ---> e48984d83f95 [2023-03-01T02:09:17.823Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-01T02:09:17.823Z] ---> Running in f3d8c254fdc6 [2023-03-01T02:09:18.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-01T02:09:18.341Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-01T02:09:18.599Z] OK: 211 MiB in 51 packages [2023-03-01T02:09:18.815Z] Merging remotes/origin/main commit acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 into PR head commit d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 [2023-03-01T02:09:18.858Z] Removing intermediate container f3d8c254fdc6 [2023-03-01T02:09:18.858Z] ---> 7ef8b34d43c0 [2023-03-01T02:09:18.858Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-01T02:09:19.115Z] Merge succeeded, producing d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 [2023-03-01T02:09:19.116Z] Checking out Revision d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 (PR-1348) [2023-03-01T02:09:19.118Z] ---> b8fe4516177a [2023-03-01T02:09:19.118Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T02:09:19.118Z] ---> Running in 4c9951b5159d [2023-03-01T02:09:17.956Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-01T02:09:18.021Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-01T02:09:18.023Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T02:09:18.054Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1348/head:refs/remotes/origin/PR-1348 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-01T02:09:18.844Z] > git config core.sparsecheckout # timeout=10 [2023-03-01T02:09:18.867Z] > git checkout -f d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 # timeout=10 [2023-03-01T02:09:18.991Z] > git remote # timeout=10 [2023-03-01T02:09:19.012Z] > git config --get remote.origin.url # timeout=10 [2023-03-01T02:09:19.046Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T02:09:19.066Z] > git merge acdf2d5cdad6fc08cdfb18917d876b8970fb9c96 # timeout=10 [2023-03-01T02:09:19.095Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-01T02:09:19.123Z] > git config core.sparsecheckout # timeout=10 [2023-03-01T02:09:19.141Z] > git checkout -f d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 # timeout=10 [2023-03-01T02:09:22.818Z] Commit message: "fix: Add UpdateDevice callback for device profile update" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T02:09:23.680Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-01T02:09:23.680Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-01T02:09:23.680Z] Dload Upload Total Spent Left Speed [2023-03-01T02:09:23.680Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10501 0 0 75546 0 --:--:-- --:--:-- --:--:-- 75007 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh [2023-03-01T02:09:24.619Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-01T02:09:24.976Z] + sudo tee /etc/docker/daemon.new [2023-03-01T02:09:24.976Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-01T02:09:24.976Z] { [2023-03-01T02:09:24.976Z] "registry-mirrors": [ [2023-03-01T02:09:24.976Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-01T02:09:24.976Z] ], [2023-03-01T02:09:24.976Z] "bip": "10.250.0.254/24", [2023-03-01T02:09:24.976Z] "hosts": [ [2023-03-01T02:09:24.976Z] "tcp://0.0.0.0:5555", [2023-03-01T02:09:24.976Z] "unix:///var/run/docker.sock" [2023-03-01T02:09:24.976Z] ], [2023-03-01T02:09:24.976Z] "mtu": 1458, [2023-03-01T02:09:24.976Z] "selinux-enabled": true, [2023-03-01T02:09:24.976Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-01T02:09:24.976Z] } [Pipeline] sh [2023-03-01T02:09:25.333Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-01T02:09:25.667Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T02:09:43.977Z] provisioning config files... [2023-03-01T02:09:44.008Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3096436713203098145tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:09:44.378Z] ---> docker-login.sh [2023-03-01T02:09:44.378Z] nexus3.edgexfoundry.org:10001 [2023-03-01T02:09:44.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:09:44.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:09:44.980Z] Configure a credential helper to remove this warning. See [2023-03-01T02:09:44.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:09:44.980Z] [2023-03-01T02:09:44.980Z] Login Succeeded [2023-03-01T02:09:45.252Z] nexus3.edgexfoundry.org:10002 [2023-03-01T02:09:45.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:09:45.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:09:45.538Z] Configure a credential helper to remove this warning. See [2023-03-01T02:09:45.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:09:45.538Z] [2023-03-01T02:09:45.538Z] Login Succeeded [2023-03-01T02:09:45.538Z] nexus3.edgexfoundry.org:10003 [2023-03-01T02:09:45.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:09:46.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:09:46.085Z] Configure a credential helper to remove this warning. See [2023-03-01T02:09:46.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:09:46.085Z] [2023-03-01T02:09:46.085Z] Login Succeeded [2023-03-01T02:09:46.085Z] nexus3.edgexfoundry.org:10004 [2023-03-01T02:09:46.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:09:46.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:09:46.361Z] Configure a credential helper to remove this warning. See [2023-03-01T02:09:46.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:09:46.361Z] [2023-03-01T02:09:46.361Z] Login Succeeded [2023-03-01T02:09:46.361Z] docker.io [2023-03-01T02:09:46.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T02:09:47.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T02:09:47.237Z] Configure a credential helper to remove this warning. See [2023-03-01T02:09:47.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T02:09:47.237Z] [2023-03-01T02:09:47.237Z] Login Succeeded [2023-03-01T02:09:47.237Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T02:09:47.254Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-01T02:09:47.533Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T02:09:47.547Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T02:09:47.556Z] ========================================================= [2023-03-01T02:09:47.556Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-01T02:09:47.556Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:09:47.905Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-01T02:09:48.508Z] Sending build context to Docker daemon 5.683MB [2023-03-01T02:09:48.508Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T02:09:48.508Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-01T02:09:48.508Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-01T02:09:48.508Z] 9b18e9b68314: Pulling fs layer [2023-03-01T02:09:48.508Z] 35d82f9e3411: Pulling fs layer [2023-03-01T02:09:48.508Z] e16973657156: Pulling fs layer [2023-03-01T02:09:48.508Z] fc693d55d65f: Pulling fs layer [2023-03-01T02:09:48.508Z] 7e9fc2657dce: Pulling fs layer [2023-03-01T02:09:48.508Z] dda99020689f: Pulling fs layer [2023-03-01T02:09:48.508Z] db1c61fa0a46: Pulling fs layer [2023-03-01T02:09:48.508Z] 891c053d2c06: Pulling fs layer [2023-03-01T02:09:48.508Z] 7e9fc2657dce: Waiting [2023-03-01T02:09:48.508Z] dda99020689f: Waiting [2023-03-01T02:09:48.508Z] db1c61fa0a46: Waiting [2023-03-01T02:09:48.508Z] 891c053d2c06: Waiting [2023-03-01T02:09:48.508Z] fc693d55d65f: Waiting [2023-03-01T02:09:48.508Z] e16973657156: Verifying Checksum [2023-03-01T02:09:48.508Z] e16973657156: Download complete [2023-03-01T02:09:48.790Z] 35d82f9e3411: Verifying Checksum [2023-03-01T02:09:48.790Z] 35d82f9e3411: Download complete [2023-03-01T02:09:48.790Z] 7e9fc2657dce: Verifying Checksum [2023-03-01T02:09:48.790Z] 7e9fc2657dce: Download complete [2023-03-01T02:09:48.790Z] 9b18e9b68314: Verifying Checksum [2023-03-01T02:09:48.790Z] dda99020689f: Verifying Checksum [2023-03-01T02:09:48.790Z] dda99020689f: Download complete [2023-03-01T02:09:50.217Z] 9b18e9b68314: Pull complete [2023-03-01T02:09:50.489Z] 891c053d2c06: Verifying Checksum [2023-03-01T02:09:50.489Z] 891c053d2c06: Download complete [2023-03-01T02:09:51.196Z] Removing intermediate container 4c9951b5159d [2023-03-01T02:09:51.196Z] ---> a22d31b0a03d [2023-03-01T02:09:51.196Z] Step 9/10 : COPY . . [2023-03-01T02:09:51.764Z] ---> 932f990fb1f0 [2023-03-01T02:09:51.764Z] Step 10/10 : RUN ${MAKE} [2023-03-01T02:09:51.764Z] ---> Running in 4925d0b64f2f [2023-03-01T02:09:51.910Z] 35d82f9e3411: Pull complete [2023-03-01T02:09:52.022Z] noop [2023-03-01T02:09:52.182Z] e16973657156: Pull complete [2023-03-01T02:09:52.182Z] db1c61fa0a46: Verifying Checksum [2023-03-01T02:09:52.182Z] db1c61fa0a46: Download complete [2023-03-01T02:09:52.284Z] Removing intermediate container 4925d0b64f2f [2023-03-01T02:09:52.284Z] ---> 590ecff6eeca [2023-03-01T02:09:52.284Z] Successfully built 590ecff6eeca [2023-03-01T02:09:52.284Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:09:52.595Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-01T02:09:52.595Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:09:52.662Z] prd-ubuntu20.04-docker-8c-8g-7866 does not seem to be running inside a container [2023-03-01T02:09:52.693Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1348 -v /w/workspace/gexfoundry_device-sdk-go_PR-1348:/w/workspace/gexfoundry_device-sdk-go_PR-1348:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-01T02:09:53.025Z] $ docker top 8ee1ef92174356764604718dab1c16302d23e380bb50ba088e434c199ec3b64b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T02:09:53.152Z] fc693d55d65f: Verifying Checksum [2023-03-01T02:09:53.152Z] fc693d55d65f: Download complete [2023-03-01T02:09:53.367Z] + go version [2023-03-01T02:09:53.367Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-01T02:09:53.381Z] $ docker stop --time=1 8ee1ef92174356764604718dab1c16302d23e380bb50ba088e434c199ec3b64b [2023-03-01T02:09:54.659Z] $ docker rm -f --volumes 8ee1ef92174356764604718dab1c16302d23e380bb50ba088e434c199ec3b64b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:09:55.042Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-01T02:09:55.042Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:09:55.113Z] prd-ubuntu20.04-docker-8c-8g-7866 does not seem to be running inside a container [2023-03-01T02:09:55.145Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1348 -v /w/workspace/gexfoundry_device-sdk-go_PR-1348:/w/workspace/gexfoundry_device-sdk-go_PR-1348:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-01T02:09:55.461Z] $ docker top 328c09180685588e8260364909f08e5afda84c2a8d8a5834493f3d70f52f56b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T02:09:55.806Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1348 [Pipeline] fileExists [Pipeline] sh [2023-03-01T02:09:56.101Z] + make test [2023-03-01T02:09:56.101Z] go test -race -coverprofile=coverage.out ./... [2023-03-01T02:10:02.664Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-01T02:10:11.416Z] fc693d55d65f: Pull complete [2023-03-01T02:10:11.687Z] 7e9fc2657dce: Pull complete [2023-03-01T02:10:11.687Z] dda99020689f: Pull complete [2023-03-01T02:10:14.848Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-01T02:10:14.848Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-01T02:10:14.848Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-01T02:10:14.848Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-01T02:10:14.848Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-01T02:10:14.848Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.046s coverage: 27.6% of statements [2023-03-01T02:10:14.848Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.086s coverage: 78.9% of statements [2023-03-01T02:10:14.848Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-01T02:10:14.848Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.115s coverage: 86.0% of statements [2023-03-01T02:10:14.848Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-01T02:10:14.848Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-01T02:10:14.848Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.086s coverage: 74.7% of statements [2023-03-01T02:10:14.848Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-01T02:10:17.376Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.069s coverage: 15.5% of statements [2023-03-01T02:10:17.376Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-01T02:10:17.376Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.097s coverage: 65.2% of statements [2023-03-01T02:10:17.376Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-01T02:10:17.376Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-01T02:10:17.376Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.709s coverage: 89.2% of statements [2023-03-01T02:10:17.376Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-01T02:10:17.376Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.066s coverage: 4.6% of statements [2023-03-01T02:10:17.376Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-01T02:10:18.357Z] db1c61fa0a46: Pull complete [2023-03-01T02:10:19.775Z] 891c053d2c06: Pull complete [2023-03-01T02:10:19.775Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-01T02:10:19.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-01T02:10:20.047Z] ---> f96f9c87975a [2023-03-01T02:10:20.047Z] Step 3/10 : ARG MAKE=make build [2023-03-01T02:10:22.020Z] ---> Running in 965eb330a7a1 [2023-03-01T02:10:22.293Z] Removing intermediate container 965eb330a7a1 [2023-03-01T02:10:22.294Z] ---> 6e633245ad39 [2023-03-01T02:10:22.294Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-01T02:10:22.294Z] ---> Running in 0d8a0fcca868 [2023-03-01T02:10:22.562Z] Removing intermediate container 0d8a0fcca868 [2023-03-01T02:10:22.562Z] ---> 1424e3a9edd9 [2023-03-01T02:10:22.562Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-01T02:10:22.562Z] ---> Running in 5f4147219b5f [2023-03-01T02:10:22.837Z] Removing intermediate container 5f4147219b5f [2023-03-01T02:10:22.837Z] ---> 53ebdd8302bd [2023-03-01T02:10:22.837Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-01T02:10:23.115Z] ---> Running in 60bb6b09cb2a [2023-03-01T02:10:24.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-01T02:10:24.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-01T02:10:25.953Z] OK: 221 MiB in 51 packages [2023-03-01T02:10:26.540Z] Removing intermediate container 60bb6b09cb2a [2023-03-01T02:10:26.540Z] ---> cea2f99e785a [2023-03-01T02:10:26.540Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-01T02:10:27.128Z] ---> 3d22ee1afcac [2023-03-01T02:10:27.128Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T02:10:27.128Z] ---> Running in 3e2d36e92156 [2023-03-01T02:10:32.239Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-01T02:10:32.239Z] GO111MODULE=on go vet ./... [2023-03-01T02:10:34.151Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-01T02:10:34.151Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-01T02:10:34.412Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-01T02:10:34.428Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-01T02:10:34.448Z] $ docker stop --time=1 328c09180685588e8260364909f08e5afda84c2a8d8a5834493f3d70f52f56b4 [2023-03-01T02:10:39.413Z] $ docker rm -f --volumes 328c09180685588e8260364909f08e5afda84c2a8d8a5834493f3d70f52f56b4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-01T02:10:39.883Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-01T02:10:39.950Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-01T02:10:40.377Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-01T02:10:40.668Z] + ls -al . [2023-03-01T02:10:40.668Z] total 280 [2023-03-01T02:10:40.668Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 1 02:09 . [2023-03-01T02:10:40.668Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 02:08 .. [2023-03-01T02:10:40.668Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 1 02:08 .dockerignore [2023-03-01T02:10:40.668Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 02:10 .git [2023-03-01T02:10:40.668Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 02:08 .github [2023-03-01T02:10:40.668Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 1 02:08 .gitignore [2023-03-01T02:10:40.668Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 1 02:08 .golangci.yml [2023-03-01T02:10:40.668Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 02:09 .semver [2023-03-01T02:10:40.668Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 1 02:08 CHANGELOG.md [2023-03-01T02:10:40.668Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 02:08 GOVERNANCE.md [2023-03-01T02:10:40.668Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 1 02:08 Jenkinsfile [2023-03-01T02:10:40.668Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 1 02:08 LICENSE [2023-03-01T02:10:40.668Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 1 02:08 Makefile [2023-03-01T02:10:40.668Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 1 02:08 OWNERS.md [2023-03-01T02:10:40.668Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 1 02:08 README.md [2023-03-01T02:10:40.668Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 1 02:09 VERSION [2023-03-01T02:10:40.668Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 02:08 bin [2023-03-01T02:10:40.668Z] -rw-r--r-- 1 jenkins jenkins 111045 Mar 1 02:10 coverage.out [2023-03-01T02:10:40.668Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 1 02:08 example [2023-03-01T02:10:40.668Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 1 02:08 go.mod [2023-03-01T02:10:40.668Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 1 02:08 go.sum [2023-03-01T02:10:40.668Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 1 02:08 internal [2023-03-01T02:10:40.668Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 02:08 openapi [2023-03-01T02:10:40.668Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 1 02:08 pkg [2023-03-01T02:10:40.668Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 02:08 snap [2023-03-01T02:10:40.668Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 1 02:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:10:40.967Z] + 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=d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 --label arch=amd64 --label version=0.0.0 . [2023-03-01T02:10:40.967Z] Sending build context to Docker daemon 10.69MB [2023-03-01T02:10:40.967Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T02:10:40.967Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-01T02:10:40.967Z] ---> 590ecff6eeca [2023-03-01T02:10:40.967Z] Step 3/23 : ARG MAKE=make build [2023-03-01T02:10:41.535Z] ---> Running in 0f3eca377d56 [2023-03-01T02:10:41.793Z] Removing intermediate container 0f3eca377d56 [2023-03-01T02:10:41.793Z] ---> ba3842bbb78a [2023-03-01T02:10:41.793Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-01T02:10:41.793Z] ---> Running in 51b960613f06 [2023-03-01T02:10:42.054Z] Removing intermediate container 51b960613f06 [2023-03-01T02:10:42.054Z] ---> 80f1d43e44cb [2023-03-01T02:10:42.054Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-01T02:10:42.054Z] ---> Running in cef968410ecb [2023-03-01T02:10:42.054Z] Removing intermediate container cef968410ecb [2023-03-01T02:10:42.054Z] ---> 53cd749289fd [2023-03-01T02:10:42.054Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-01T02:10:42.313Z] ---> Running in 36ce99c0bb3e [2023-03-01T02:10:42.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-01T02:10:42.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-01T02:10:42.834Z] OK: 211 MiB in 51 packages [2023-03-01T02:10:43.091Z] Removing intermediate container 36ce99c0bb3e [2023-03-01T02:10:43.091Z] ---> 49d5e28a46c5 [2023-03-01T02:10:43.091Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-01T02:10:43.349Z] ---> e63cc71f71ed [2023-03-01T02:10:43.349Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T02:10:43.349Z] ---> Running in 7a83a5150065 [2023-03-01T02:10:44.283Z] Removing intermediate container 7a83a5150065 [2023-03-01T02:10:44.283Z] ---> 63cd52c8ece6 [2023-03-01T02:10:44.283Z] Step 9/23 : COPY . . [2023-03-01T02:10:44.849Z] ---> 34ea151f88f1 [2023-03-01T02:10:44.849Z] Step 10/23 : RUN ${MAKE} [2023-03-01T02:10:44.849Z] ---> Running in d52eb906d74d [2023-03-01T02:10:45.106Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-01T02:11:17.179Z] Removing intermediate container d52eb906d74d [2023-03-01T02:11:17.179Z] ---> c52e09dd37f0 [2023-03-01T02:11:17.179Z] Step 11/23 : FROM alpine:3.16 [2023-03-01T02:11:17.179Z] 3.16: Pulling from library/alpine [2023-03-01T02:11:17.179Z] ef5531b6e74e: Pulling fs layer [2023-03-01T02:11:17.179Z] ef5531b6e74e: Verifying Checksum [2023-03-01T02:11:17.179Z] ef5531b6e74e: Download complete [2023-03-01T02:11:17.179Z] ef5531b6e74e: Pull complete [2023-03-01T02:11:17.179Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-01T02:11:17.179Z] Status: Downloaded newer image for alpine:3.16 [2023-03-01T02:11:17.179Z] ---> dfd21b5a31f5 [2023-03-01T02:11:17.179Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-01T02:11:17.179Z] ---> Running in d1b99a1add5d [2023-03-01T02:11:17.179Z] Removing intermediate container d1b99a1add5d [2023-03-01T02:11:17.179Z] ---> 43b0fd730259 [2023-03-01T02:11:17.179Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-01T02:11:17.440Z] ---> Running in 54382e038d55 [2023-03-01T02:11:18.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-01T02:11:18.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-01T02:11:18.895Z] OK: 6 MiB in 14 packages [2023-03-01T02:11:19.463Z] Removing intermediate container 54382e038d55 [2023-03-01T02:11:19.463Z] ---> eb94c0ef478b [2023-03-01T02:11:19.463Z] Step 14/23 : WORKDIR / [2023-03-01T02:11:19.463Z] ---> Running in 90253e078e40 [2023-03-01T02:11:20.029Z] Removing intermediate container 90253e078e40 [2023-03-01T02:11:20.029Z] ---> 661a91b45858 [2023-03-01T02:11:20.029Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-01T02:11:20.286Z] ---> 198d65b0d098 [2023-03-01T02:11:20.286Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-01T02:11:21.664Z] ---> a755a9c4bba6 [2023-03-01T02:11:21.664Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-01T02:11:21.921Z] ---> 9cc13592eeb8 [2023-03-01T02:11:21.921Z] Step 18/23 : EXPOSE 59999 [2023-03-01T02:11:22.196Z] ---> Running in d6c471231674 [2023-03-01T02:11:22.455Z] Removing intermediate container d6c471231674 [2023-03-01T02:11:22.455Z] ---> ae8e3e7c1ce7 [2023-03-01T02:11:22.455Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-01T02:11:22.714Z] ---> Running in 2bed7e45b99e [2023-03-01T02:11:23.650Z] Removing intermediate container 2bed7e45b99e [2023-03-01T02:11:23.650Z] ---> fee47a0cebb3 [2023-03-01T02:11:23.650Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-01T02:11:23.650Z] ---> Running in 7ae1d51ef217 [2023-03-01T02:11:24.219Z] Removing intermediate container 7ae1d51ef217 [2023-03-01T02:11:24.219Z] ---> 62b08d36dbd7 [2023-03-01T02:11:24.219Z] Step 21/23 : LABEL arch=amd64 [2023-03-01T02:11:24.219Z] ---> Running in 0a63d5a0a527 [2023-03-01T02:11:24.477Z] Removing intermediate container 0a63d5a0a527 [2023-03-01T02:11:24.477Z] ---> f5c4ea56eb2e [2023-03-01T02:11:24.477Z] Step 22/23 : LABEL git_sha=d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 [2023-03-01T02:11:24.735Z] ---> Running in 584c6f43d60f [2023-03-01T02:11:25.302Z] Removing intermediate container 584c6f43d60f [2023-03-01T02:11:25.302Z] ---> 75a8e6ef85b3 [2023-03-01T02:11:25.302Z] Step 23/23 : LABEL version=0.0.0 [2023-03-01T02:11:25.560Z] ---> Running in 56f227c66c8f [2023-03-01T02:11:25.818Z] Removing intermediate container 56f227c66c8f [2023-03-01T02:11:25.818Z] ---> a68833cb2e02 [2023-03-01T02:11:25.818Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-01T02:11:26.075Z] Successfully built a68833cb2e02 [2023-03-01T02:11:26.075Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:11:26.498Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T02:11:26.498Z] [2023-03-01T02:11:26.498Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:11:26.798Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T02:11:27.056Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-01T02:11:27.056Z] 5eb5b503b376: Pulling fs layer [2023-03-01T02:11:27.056Z] 5c69ac0246d0: Pulling fs layer [2023-03-01T02:11:27.056Z] ec43610c2a17: Pulling fs layer [2023-03-01T02:11:27.056Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-01T02:11:27.057Z] 33b1e0a273af: Pulling fs layer [2023-03-01T02:11:27.057Z] 5d3b04190fa2: Pulling fs layer [2023-03-01T02:11:27.057Z] 2f39f015ded8: Pulling fs layer [2023-03-01T02:11:27.057Z] 5d3b04190fa2: Waiting [2023-03-01T02:11:27.057Z] 33b1e0a273af: Waiting [2023-03-01T02:11:27.057Z] 3a2ae6a8a46f: Waiting [2023-03-01T02:11:27.057Z] 5c69ac0246d0: Verifying Checksum [2023-03-01T02:11:27.057Z] 5c69ac0246d0: Download complete [2023-03-01T02:11:27.057Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-01T02:11:27.057Z] 3a2ae6a8a46f: Download complete [2023-03-01T02:11:27.057Z] 33b1e0a273af: Verifying Checksum [2023-03-01T02:11:27.057Z] 33b1e0a273af: Download complete [2023-03-01T02:11:27.057Z] 5d3b04190fa2: Verifying Checksum [2023-03-01T02:11:27.057Z] 5d3b04190fa2: Download complete [2023-03-01T02:11:27.315Z] ec43610c2a17: Verifying Checksum [2023-03-01T02:11:27.315Z] ec43610c2a17: Download complete [2023-03-01T02:11:27.315Z] 5eb5b503b376: Download complete [2023-03-01T02:11:27.880Z] 2f39f015ded8: Verifying Checksum [2023-03-01T02:11:27.880Z] 2f39f015ded8: Download complete [2023-03-01T02:11:28.447Z] 5eb5b503b376: Pull complete [2023-03-01T02:11:28.719Z] 5c69ac0246d0: Pull complete [2023-03-01T02:11:29.285Z] ec43610c2a17: Pull complete [2023-03-01T02:11:29.542Z] 3a2ae6a8a46f: Pull complete [2023-03-01T02:11:30.114Z] 33b1e0a273af: Pull complete [2023-03-01T02:11:30.114Z] 5d3b04190fa2: Pull complete [2023-03-01T02:11:34.348Z] 2f39f015ded8: Pull complete [2023-03-01T02:11:34.348Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-01T02:11:34.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T02:11:34.607Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:11:34.690Z] prd-ubuntu20.04-docker-8c-8g-7866 does not seem to be running inside a container [2023-03-01T02:11:34.731Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1348 -v /w/workspace/gexfoundry_device-sdk-go_PR-1348:/w/workspace/gexfoundry_device-sdk-go_PR-1348:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-01T02:11:35.021Z] Removing intermediate container 3e2d36e92156 [2023-03-01T02:11:35.021Z] ---> 268ea3855b48 [2023-03-01T02:11:35.021Z] Step 9/10 : COPY . . [2023-03-01T02:11:35.021Z] ---> 4b85ec7bdebb [2023-03-01T02:11:35.021Z] Step 10/10 : RUN ${MAKE} [2023-03-01T02:11:35.021Z] ---> Running in 171aeb05c730 [2023-03-01T02:11:35.986Z] noop [2023-03-01T02:11:36.957Z] Removing intermediate container 171aeb05c730 [2023-03-01T02:11:36.957Z] ---> 918cc322e20c [2023-03-01T02:11:36.957Z] Successfully built 918cc322e20c [2023-03-01T02:11:36.957Z] Successfully tagged ci-base-image-arm64:latest [2023-03-01T02:11:41.670Z] $ docker top ce6e63a19d6f57617304adc99b4e5da423bbb117337c821de53830333adbb7b6 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:11:42.063Z] ---> job-cost.sh [2023-03-01T02:11:42.063Z] lf-activate-venv: SKIPPING [2023-03-01T02:11:42.063Z] INFO: No Stack... [2023-03-01T02:11:42.152Z] + docker inspect -f . ci-base-image-arm64 [2023-03-01T02:11:42.152Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:11:42.331Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-01T02:11:42.369Z] prd-ubuntu20.04-docker-arm64-4c-16g-7864 does not seem to be running inside a container [2023-03-01T02:11:42.444Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-01T02:11:42.592Z] INFO: Archiving Costs [2023-03-01T02:11:43.858Z] $ docker top 0c5a37dbeca0dd6ff26fb8deb652ce8e0e040f6e8491152d9dee5b045c3ef426 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2023-03-01T02:11:44.384Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1348/archives/cost.csv [2023-03-01T02:11:44.384Z] + cut -d, -f6 [Pipeline] lock [2023-03-01T02:11:44.397Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1348-4-stack-cost] [2023-03-01T02:11:44.408Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1348-4-stack-cost] did not exist. Created. [2023-03-01T02:11:44.408Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1348-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-01T02:11:44.709Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-01T02:11:44.733Z] Stashed 1 file(s) [Pipeline] } [2023-03-01T02:11:44.739Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1348-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-01T02:11:44.757Z] $ docker stop --time=1 ce6e63a19d6f57617304adc99b4e5da423bbb117337c821de53830333adbb7b6 [2023-03-01T02:11:44.772Z] + go version [2023-03-01T02:11:44.772Z] go version go1.18.7 linux/arm64 [2023-03-01T02:11:46.213Z] $ docker rm -f --volumes ce6e63a19d6f57617304adc99b4e5da423bbb117337c821de53830333adbb7b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-03-01T02:11:46.275Z] $ docker stop --time=1 0c5a37dbeca0dd6ff26fb8deb652ce8e0e040f6e8491152d9dee5b045c3ef426 [2023-03-01T02:11:47.987Z] $ docker rm -f --volumes 0c5a37dbeca0dd6ff26fb8deb652ce8e0e040f6e8491152d9dee5b045c3ef426 [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:11:48.573Z] + docker inspect -f . ci-base-image-arm64 [2023-03-01T02:11:48.573Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:11:48.780Z] prd-ubuntu20.04-docker-arm64-4c-16g-7864 does not seem to be running inside a container [2023-03-01T02:11:48.853Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-01T02:11:50.229Z] $ docker top f5c4abfa469d0d086638b36c84ece2312ea469912efb264294cb3661607e066c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T02:11:51.100Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2023-03-01T02:11:51.760Z] + make test [2023-03-01T02:11:51.760Z] go test -race -coverprofile=coverage.out ./... [2023-03-01T02:12:30.660Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-01T02:14:37.398Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-01T02:14:37.398Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-01T02:14:37.398Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-01T02:14:37.398Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-01T02:14:37.398Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-01T02:14:37.398Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.270s coverage: 27.6% of statements [2023-03-01T02:14:37.398Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.359s coverage: 78.9% of statements [2023-03-01T02:14:37.398Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-01T02:14:41.662Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.372s coverage: 86.0% of statements [2023-03-01T02:14:41.662Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-01T02:14:41.662Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-01T02:14:43.608Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.419s coverage: 74.7% of statements [2023-03-01T02:14:43.608Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-01T02:14:43.608Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.384s coverage: 15.5% of statements [2023-03-01T02:14:43.608Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-01T02:14:45.552Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.409s coverage: 65.2% of statements [2023-03-01T02:14:45.552Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-01T02:14:45.552Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-01T02:14:45.552Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.386s coverage: 89.2% of statements [2023-03-01T02:14:45.552Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-01T02:14:45.552Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.331s coverage: 4.6% of statements [2023-03-01T02:14:45.552Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-01T02:14:46.515Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-01T02:14:46.515Z] GO111MODULE=on go vet ./... [2023-03-01T02:16:23.168Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-01T02:16:23.168Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-01T02:16:23.168Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-01T02:16:23.190Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-01T02:16:23.203Z] $ docker stop --time=1 f5c4abfa469d0d086638b36c84ece2312ea469912efb264294cb3661607e066c [2023-03-01T02:16:25.054Z] $ docker rm -f --volumes f5c4abfa469d0d086638b36c84ece2312ea469912efb264294cb3661607e066c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-01T02:16:26.467Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-01T02:16:26.483Z] Warning: overwriting stash ‘coverage-report’ [2023-03-01T02:16:27.117Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T02:16:27.502Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-01T02:16:27.825Z] + ls -al . [2023-03-01T02:16:27.825Z] total 276 [2023-03-01T02:16:27.825Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 1 02:11 . [2023-03-01T02:16:27.825Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 02:09 .. [2023-03-01T02:16:27.825Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 1 02:09 .dockerignore [2023-03-01T02:16:27.825Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 02:09 .git [2023-03-01T02:16:27.825Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 02:09 .github [2023-03-01T02:16:27.825Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 1 02:09 .gitignore [2023-03-01T02:16:27.825Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 1 02:09 .golangci.yml [2023-03-01T02:16:27.825Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 1 02:09 CHANGELOG.md [2023-03-01T02:16:27.825Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 02:09 GOVERNANCE.md [2023-03-01T02:16:27.825Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 1 02:09 Jenkinsfile [2023-03-01T02:16:27.825Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 1 02:09 LICENSE [2023-03-01T02:16:27.825Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 1 02:09 Makefile [2023-03-01T02:16:27.825Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 1 02:09 OWNERS.md [2023-03-01T02:16:27.825Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 1 02:09 README.md [2023-03-01T02:16:27.825Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 1 02:09 VERSION [2023-03-01T02:16:27.825Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 02:09 bin [2023-03-01T02:16:27.825Z] -rw-r--r-- 1 jenkins jenkins 111046 Mar 1 02:14 coverage.out [2023-03-01T02:16:27.825Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 1 02:09 example [2023-03-01T02:16:27.825Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 1 02:09 go.mod [2023-03-01T02:16:27.825Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 1 02:09 go.sum [2023-03-01T02:16:27.825Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 1 02:09 internal [2023-03-01T02:16:27.825Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 02:09 openapi [2023-03-01T02:16:27.825Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 1 02:09 pkg [2023-03-01T02:16:27.825Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 02:09 snap [2023-03-01T02:16:27.825Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 1 02:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:16:28.191Z] + 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=d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 --label arch=arm64 --label version=0.0.0 . [2023-03-01T02:16:28.460Z] Sending build context to Docker daemon 5.795MB [2023-03-01T02:16:28.460Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T02:16:28.460Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-01T02:16:28.730Z] ---> 918cc322e20c [2023-03-01T02:16:28.730Z] Step 3/23 : ARG MAKE=make build [2023-03-01T02:16:28.730Z] ---> Running in 8d41381f22a0 [2023-03-01T02:16:29.003Z] Removing intermediate container 8d41381f22a0 [2023-03-01T02:16:29.003Z] ---> fc8050702c71 [2023-03-01T02:16:29.003Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-01T02:16:29.271Z] ---> Running in 008c88cbfebc [2023-03-01T02:16:29.544Z] Removing intermediate container 008c88cbfebc [2023-03-01T02:16:29.544Z] ---> 3ee8d0b9dc57 [2023-03-01T02:16:29.544Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-01T02:16:29.544Z] ---> Running in 44dc9caf9c23 [2023-03-01T02:16:29.813Z] Removing intermediate container 44dc9caf9c23 [2023-03-01T02:16:29.813Z] ---> 6cb777fa1cfc [2023-03-01T02:16:29.813Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-01T02:16:29.813Z] ---> Running in 43242243377a [2023-03-01T02:16:30.781Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-01T02:16:31.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-01T02:16:32.334Z] OK: 221 MiB in 51 packages [2023-03-01T02:16:33.307Z] Removing intermediate container 43242243377a [2023-03-01T02:16:33.307Z] ---> 844d95a92a10 [2023-03-01T02:16:33.307Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-01T02:16:33.574Z] ---> 1a6b842e83e2 [2023-03-01T02:16:33.574Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T02:16:33.866Z] ---> Running in 893ab175a532 [2023-03-01T02:16:36.458Z] Removing intermediate container 893ab175a532 [2023-03-01T02:16:36.458Z] ---> 54f03311480b [2023-03-01T02:16:36.458Z] Step 9/23 : COPY . . [2023-03-01T02:16:37.871Z] ---> 133a8162bd2c [2023-03-01T02:16:37.871Z] Step 10/23 : RUN ${MAKE} [2023-03-01T02:16:37.871Z] ---> Running in b7fac7c103b6 [2023-03-01T02:16:38.831Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-01T02:18:45.522Z] Removing intermediate container b7fac7c103b6 [2023-03-01T02:18:45.522Z] ---> 9434ec311258 [2023-03-01T02:18:45.522Z] Step 11/23 : FROM alpine:3.16 [2023-03-01T02:18:45.522Z] 3.16: Pulling from library/alpine [2023-03-01T02:18:45.522Z] 3760b48202b3: Pulling fs layer [2023-03-01T02:18:45.522Z] 3760b48202b3: Verifying Checksum [2023-03-01T02:18:45.522Z] 3760b48202b3: Download complete [2023-03-01T02:18:49.000Z] 3760b48202b3: Pull complete [2023-03-01T02:18:49.000Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-01T02:18:49.000Z] Status: Downloaded newer image for alpine:3.16 [2023-03-01T02:18:49.000Z] ---> 4c81e5bf8899 [2023-03-01T02:18:49.000Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-01T02:18:49.000Z] ---> Running in 7a44c107b47e [2023-03-01T02:18:49.000Z] Removing intermediate container 7a44c107b47e [2023-03-01T02:18:49.000Z] ---> 0da19acdf93e [2023-03-01T02:18:49.000Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-01T02:18:49.000Z] ---> Running in 7eaae08918fc [2023-03-01T02:18:49.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-01T02:18:49.584Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-01T02:18:50.546Z] OK: 5 MiB in 14 packages [2023-03-01T02:18:51.509Z] Removing intermediate container 7eaae08918fc [2023-03-01T02:18:51.509Z] ---> 5f0edae90ee0 [2023-03-01T02:18:51.509Z] Step 14/23 : WORKDIR / [2023-03-01T02:18:51.509Z] ---> Running in d79425489c41 [2023-03-01T02:18:51.775Z] Removing intermediate container d79425489c41 [2023-03-01T02:18:51.775Z] ---> cb232044f048 [2023-03-01T02:18:51.775Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-01T02:18:52.362Z] ---> c13598ff8e8a [2023-03-01T02:18:52.362Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-01T02:18:53.789Z] ---> 3a020343b9ff [2023-03-01T02:18:53.789Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-01T02:18:54.057Z] ---> cdba8c602fd1 [2023-03-01T02:18:54.057Z] Step 18/23 : EXPOSE 59999 [2023-03-01T02:18:54.057Z] ---> Running in f30f5c69fabe [2023-03-01T02:18:54.326Z] Removing intermediate container f30f5c69fabe [2023-03-01T02:18:54.326Z] ---> df5e79d6d316 [2023-03-01T02:18:54.326Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-01T02:18:54.594Z] ---> Running in 91edefcffff3 [2023-03-01T02:18:54.864Z] Removing intermediate container 91edefcffff3 [2023-03-01T02:18:54.865Z] ---> 6c9aa52dc2ed [2023-03-01T02:18:54.865Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-01T02:18:54.865Z] ---> Running in 8e22ce897468 [2023-03-01T02:18:55.132Z] Removing intermediate container 8e22ce897468 [2023-03-01T02:18:55.133Z] ---> 1c97214956af [2023-03-01T02:18:55.133Z] Step 21/23 : LABEL arch=arm64 [2023-03-01T02:18:55.133Z] ---> Running in 14a7fde7bcda [2023-03-01T02:18:55.414Z] Removing intermediate container 14a7fde7bcda [2023-03-01T02:18:55.414Z] ---> e5d33d89176f [2023-03-01T02:18:55.414Z] Step 22/23 : LABEL git_sha=d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 [2023-03-01T02:18:55.681Z] ---> Running in a6ae3b293143 [2023-03-01T02:18:55.951Z] Removing intermediate container a6ae3b293143 [2023-03-01T02:18:55.951Z] ---> 0efb598bbcb1 [2023-03-01T02:18:55.951Z] Step 23/23 : LABEL version=0.0.0 [2023-03-01T02:18:55.951Z] ---> Running in 6a8cbd24c7e6 [2023-03-01T02:18:56.219Z] Removing intermediate container 6a8cbd24c7e6 [2023-03-01T02:18:56.219Z] ---> d45b1b90f0d2 [2023-03-01T02:18:56.219Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-01T02:18:56.219Z] Successfully built d45b1b90f0d2 [2023-03-01T02:18:56.219Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:18:56.647Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T02:18:56.647Z] [2023-03-01T02:18:56.647Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:18:56.979Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T02:18:56.979Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-01T02:18:56.979Z] 8998bd30e6a1: Pulling fs layer [2023-03-01T02:18:56.979Z] 04944245beec: Pulling fs layer [2023-03-01T02:18:56.979Z] 699f458cf7ca: Pulling fs layer [2023-03-01T02:18:56.979Z] 765212b225bb: Pulling fs layer [2023-03-01T02:18:56.979Z] f23df028b6ca: Pulling fs layer [2023-03-01T02:18:56.979Z] d65c8cfc05b1: Pulling fs layer [2023-03-01T02:18:56.979Z] 2437ff75d9bd: Pulling fs layer [2023-03-01T02:18:56.979Z] 765212b225bb: Waiting [2023-03-01T02:18:56.979Z] d65c8cfc05b1: Waiting [2023-03-01T02:18:56.979Z] 2437ff75d9bd: Waiting [2023-03-01T02:18:56.979Z] f23df028b6ca: Waiting [2023-03-01T02:18:57.248Z] 04944245beec: Verifying Checksum [2023-03-01T02:18:57.248Z] 04944245beec: Download complete [2023-03-01T02:18:57.248Z] 765212b225bb: Verifying Checksum [2023-03-01T02:18:57.248Z] 765212b225bb: Download complete [2023-03-01T02:18:57.248Z] f23df028b6ca: Verifying Checksum [2023-03-01T02:18:57.248Z] f23df028b6ca: Download complete [2023-03-01T02:18:57.248Z] d65c8cfc05b1: Verifying Checksum [2023-03-01T02:18:57.518Z] 699f458cf7ca: Verifying Checksum [2023-03-01T02:18:57.518Z] 699f458cf7ca: Download complete [2023-03-01T02:18:57.786Z] 8998bd30e6a1: Download complete [2023-03-01T02:19:00.370Z] 2437ff75d9bd: Verifying Checksum [2023-03-01T02:19:00.370Z] 2437ff75d9bd: Download complete [2023-03-01T02:19:01.781Z] 8998bd30e6a1: Pull complete [2023-03-01T02:19:02.367Z] 04944245beec: Pull complete [2023-03-01T02:19:03.779Z] 699f458cf7ca: Pull complete [2023-03-01T02:19:03.779Z] 765212b225bb: Pull complete [2023-03-01T02:19:04.742Z] f23df028b6ca: Pull complete [2023-03-01T02:19:05.009Z] d65c8cfc05b1: Pull complete [2023-03-01T02:19:20.015Z] 2437ff75d9bd: Pull complete [2023-03-01T02:19:20.015Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-01T02:19:20.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T02:19:20.015Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:19:20.205Z] prd-ubuntu20.04-docker-arm64-4c-16g-7864 does not seem to be running inside a container [2023-03-01T02:19:20.270Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-01T02:19:22.894Z] $ docker top 7007271e9a474438dc226dcb00513b95baf3e0eeacc13c5f653f752b138f473c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:19:23.625Z] ---> job-cost.sh [2023-03-01T02:19:23.892Z] lf-activate-venv: SKIPPING [2023-03-01T02:19:23.892Z] INFO: No Stack... [2023-03-01T02:19:24.477Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-01T02:19:25.061Z] INFO: Archiving Costs [Pipeline] sh [2023-03-01T02:19:25.394Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2023-03-01T02:19:25.394Z] + cut -d, -f6 [Pipeline] lock [2023-03-01T02:19:25.459Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1348-4-stack-cost] [2023-03-01T02:19:25.465Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1348-4-stack-cost] did not exist. Created. [2023-03-01T02:19:25.466Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1348-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-01T02:19:25.808Z] /w/workspace/device-sdk-go/4@tmp/durable-ce0d6783/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-01T02:19:26.146Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-01T02:19:26.168Z] Warning: overwriting stash ‘stack-cost’ [2023-03-01T02:19:26.235Z] Stashed 1 file(s) [Pipeline] } [2023-03-01T02:19:26.241Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1348-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-01T02:19:26.262Z] $ docker stop --time=1 7007271e9a474438dc226dcb00513b95baf3e0eeacc13c5f653f752b138f473c [2023-03-01T02:19:27.762Z] $ docker rm -f --volumes 7007271e9a474438dc226dcb00513b95baf3e0eeacc13c5f653f752b138f473c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-01T02:19:28.151Z] provisioning config files... [2023-03-01T02:19:28.159Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/config10966076790384693685tmp [Pipeline] { [Pipeline] sh [2023-03-01T02:19:28.452Z] + set +x [2023-03-01T02:19:28.452Z] + curl -s+ https://codecov.io/bash [2023-03-01T02:19:28.452Z] bash -s -- [2023-03-01T02:19:28.452Z] [2023-03-01T02:19:28.452Z] _____ _ [2023-03-01T02:19:28.452Z] / ____| | | [2023-03-01T02:19:28.452Z] | | ___ __| | ___ ___ _____ __ [2023-03-01T02:19:28.452Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-01T02:19:28.452Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-01T02:19:28.452Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-01T02:19:28.452Z] Bash-1.0.6 [2023-03-01T02:19:28.452Z] [2023-03-01T02:19:28.452Z] [2023-03-01T02:19:28.452Z] ==> git version 2.25.1 found [2023-03-01T02:19:28.452Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-01T02:19:28.452Z] Release-Date: 2020-01-08 [2023-03-01T02:19:28.452Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-01T02:19:28.452Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-01T02:19:28.452Z] ==> Jenkins CI detected. [2023-03-01T02:19:28.452Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1348 [2023-03-01T02:19:28.452Z] project root: . [2023-03-01T02:19:28.452Z] --> token set from env [2023-03-01T02:19:28.452Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-01T02:19:28.452Z] ==> Running gcov in . (disable via -X gcov) [2023-03-01T02:19:28.452Z] ==> Python coveragepy not found [2023-03-01T02:19:28.452Z] ==> Searching for coverage reports in: [2023-03-01T02:19:28.452Z] + . [2023-03-01T02:19:28.452Z] -> Found 1 reports [2023-03-01T02:19:28.452Z] ==> Detecting git/mercurial file structure [2023-03-01T02:19:28.452Z] ==> Reading reports [2023-03-01T02:19:28.452Z] + ./coverage.out bytes=111046 [2023-03-01T02:19:28.452Z] ==> Appending adjustments [2023-03-01T02:19:28.452Z] https://docs.codecov.io/docs/fixing-reports [2023-03-01T02:19:28.712Z] + Found adjustments [2023-03-01T02:19:28.712Z] ==> Gzipping contents [2023-03-01T02:19:28.712Z] 16K /tmp/codecov.TuvfKi.gz [2023-03-01T02:19:28.712Z] ==> Uploading reports [2023-03-01T02:19:28.712Z] url: https://codecov.io [2023-03-01T02:19:28.712Z] query: branch=PR-1348&commit=d4adbed3fbe7bdd9c3def8da45e4718763d49ad8&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1348%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1348&job=&cmd_args= [2023-03-01T02:19:28.712Z] -> Pinging Codecov [2023-03-01T02:19:28.712Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1348&commit=d4adbed3fbe7bdd9c3def8da45e4718763d49ad8&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1348%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1348&job=&cmd_args= [2023-03-01T02:19:28.973Z] -> Uploading to [2023-03-01T02:19:28.973Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-01/7E55EF52A471D76F132DFD9A03CDDE97/d4adbed3fbe7bdd9c3def8da45e4718763d49ad8/8bb987fa-3c86-4245-8ce3-1e0724a568ff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230301%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230301T021928Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ebeb76ec581a3ad5b45d9fe2d8127f90fb49793973f010355da6960a6434897 [2023-03-01T02:19:28.973Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-01T02:19:28.973Z] Dload Upload Total Spent Left Speed [2023-03-01T02:19:29.235Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15329 0 0 100 15329 0 62823 --:--:-- --:--:-- --:--:-- 62823 [2023-03-01T02:19:29.235Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d4adbed3fbe7bdd9c3def8da45e4718763d49ad8 [Pipeline] } [2023-03-01T02:19:29.242Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-01T02:19:30.008Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1348/archives ] [2023-03-01T02:19:30.008Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1348/archives [2023-03-01T02:19:30.008Z] total 16 [2023-03-01T02:19:30.008Z] drwxr-xr-x 3 root root 4096 Mar 1 02:11 . [2023-03-01T02:19:30.008Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 1 02:11 .. [2023-03-01T02:19:30.008Z] drwxr-xr-x 2 root root 4096 Mar 1 02:11 cost [2023-03-01T02:19:30.008Z] -rw-r--r-- 1 root root 86 Mar 1 02:11 cost.csv [2023-03-01T02:19:30.008Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1348/archives [2023-03-01T02:19:30.008Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1348/archives [2023-03-01T02:19:30.008Z] total 16 [2023-03-01T02:19:30.008Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 02:11 . [2023-03-01T02:19:30.008Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 1 02:11 .. [2023-03-01T02:19:30.008Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 1 02:11 cost [2023-03-01T02:19:30.009Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 1 02:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:19:30.304Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:19:31.529Z] ---> package-listing.sh [2023-03-01T02:19:31.529Z] ++ facter osfamily [2023-03-01T02:19:31.529Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-01T02:19:31.788Z] + OS_FAMILY=debian [2023-03-01T02:19:31.788Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1348 [2023-03-01T02:19:31.788Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-01T02:19:31.788Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-01T02:19:31.788Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-01T02:19:31.788Z] + PACKAGES=/tmp/packages_start.txt [2023-03-01T02:19:31.788Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1348 ']' [2023-03-01T02:19:31.788Z] + PACKAGES=/tmp/packages_end.txt [2023-03-01T02:19:31.788Z] + case "${OS_FAMILY}" in [2023-03-01T02:19:31.788Z] + dpkg -l [2023-03-01T02:19:31.788Z] + grep '^ii' [2023-03-01T02:19:31.788Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-01T02:19:31.788Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-01T02:19:31.788Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-01T02:19:31.788Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1348 ']' [2023-03-01T02:19:31.788Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1348/archives/ [2023-03-01T02:19:31.788Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1348/archives/ [Pipeline] echo [2023-03-01T02:19:31.799Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1348/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-01T02:19:32.073Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T02:19:32.652Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T02:19:32.652Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T02:19:32.742Z] prd-ubuntu20.04-docker-8c-8g-7866 does not seem to be running inside a container [2023-03-01T02:19:32.782Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1348/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1348 -v /w/workspace/gexfoundry_device-sdk-go_PR-1348:/w/workspace/gexfoundry_device-sdk-go_PR-1348:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-01T02:19:33.027Z] $ docker top f26631f65685600361b0346c6f4b4a6701984605d8d92f3cd5b780e6c7d65299 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T02:19:33.386Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-01T02:19:33.668Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-01T02:19:33.947Z] + ls /var/log/sa-host [2023-03-01T02:19:33.947Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T02:19:34.024Z] provisioning config files... [2023-03-01T02:19:34.030Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1348@tmp/config10140509201469528938tmp [Pipeline] { [Pipeline] echo [2023-03-01T02:19:34.042Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:19:34.321Z] ---> create-netrc.sh [Pipeline] } [2023-03-01T02:19:34.327Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:19:34.645Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-01T02:19:34.654Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:19:34.932Z] ---> sudo-logs.sh [2023-03-01T02:19:34.932Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-01T02:19:34.953Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:19:35.239Z] ---> job-cost.sh [2023-03-01T02:19:35.239Z] lf-activate-venv: SKIPPING [2023-03-01T02:19:35.239Z] DEBUG: total: 0.2199999988079071 [2023-03-01T02:19:35.239Z] INFO: Retrieving Stack Cost... [2023-03-01T02:19:35.808Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-01T02:19:36.067Z] INFO: Archiving Costs [Pipeline] echo [2023-03-01T02:19:36.080Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T02:19:36.361Z] ---> logs-deploy.sh [2023-03-01T02:19:36.361Z] lf-activate-venv: SKIPPING [2023-03-01T02:19:36.361Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1348/4 [2023-03-01T02:19:36.361Z] INFO: archiving workspace using pattern(s): [2023-03-01T02:19:37.741Z] Archives upload complete. [2023-03-01T02:19:37.741Z] INFO: archiving logs to Nexus