Pull request #1276 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 96b3ac124bb90df02dc48aa4cbc603050596b4fa+8025d415256bff1d08fe37ed408de885b1f3053d (9196237ae23e4200dc02fc01724faa995d324cfd) 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-ssh2555687340152362121.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-ssh3087419925694111171.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-1276/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-1276/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3616194564701118654.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-ssh6400826409346488658.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-1276/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-1276/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh408596240968063997.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/v2]] ========================================================= [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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1809 in /w/workspace/gexfoundry_device-sdk-go_PR-1276 [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-1276 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1276/head:refs/remotes/origin/PR-1276 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8025d415256bff1d08fe37ed408de885b1f3053d into PR head commit 96b3ac124bb90df02dc48aa4cbc603050596b4fa Merge succeeded, producing 96b3ac124bb90df02dc48aa4cbc603050596b4fa Checking out Revision 96b3ac124bb90df02dc48aa4cbc603050596b4fa (PR-1276) > git config core.sparsecheckout # timeout=10 > git checkout -f 96b3ac124bb90df02dc48aa4cbc603050596b4fa # 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 8025d415256bff1d08fe37ed408de885b1f3053d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 96b3ac124bb90df02dc48aa4cbc603050596b4fa # timeout=10 Commit message: "feat!: replace REST device callbacks with System Events" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-11T06:34:08.852Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-11T06:34:08.925Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-11T06:34:08.941Z] ========================================================= [2023-01-11T06:34:08.941Z] EdgeX Global Pipelines Version Info [2023-01-11T06:34:08.941Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6a7a60cf858b527f90a237d655849bdfd65bddba # timeout=10 [2023-01-11T06:34:10.040Z] ------------------- [2023-01-11T06:34:10.040Z] stable info: [2023-01-11T06:34:10.040Z] ------------------- [2023-01-11T06:34:10.040Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-11T06:34:10.040Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T06:34:10.040Z] Message: update stable to v1.0.244 [2023-01-11T06:34:10.305Z] ------------------- [2023-01-11T06:34:10.305Z] experimental info: [2023-01-11T06:34:10.305Z] ------------------- [2023-01-11T06:34:10.305Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-11T06:34:10.305Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-11T06:34:10.305Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-11T06:34:10.485Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-11T06:34:10.494Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-11T06:34:10.511Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-11T06:34:10.522Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-11T06:34:10.536Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-11T06:34:10.547Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-11T06:34:10.559Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-11T06:34:10.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-11T06:34:10.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-11T06:34:10.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-11T06:34:10.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-11T06:34:10.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-11T06:34:10.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-11T06:34:10.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-11T06:34:10.673Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-11T06:34:10.685Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T06:34:10.701Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T06:34:10.718Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-11T06:34:10.735Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-11T06:34:10.746Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-11T06:34:10.757Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-11T06:34:10.765Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-11T06:34:10.774Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-11T06:34:10.782Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-11T06:34:10.799Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-11T06:34:10.818Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-11T06:34:10.834Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-11T06:34:10.851Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1276 [Pipeline] echo [2023-01-11T06:34:10.861Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1276 [Pipeline] echo [2023-01-11T06:34:10.881Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1276 [Pipeline] echo [2023-01-11T06:34:10.898Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 96b3ac124bb90df02dc48aa4cbc603050596b4fa [Pipeline] echo [2023-01-11T06:34:10.916Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 96b3ac1 [Pipeline] echo [2023-01-11T06:34:10.932Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T06:34:10.974Z] provisioning config files... [2023-01-11T06:34:10.993Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/config606272413396427195tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T06:34:11.292Z] ---> docker-login.sh [2023-01-11T06:34:11.292Z] nexus3.edgexfoundry.org:10001 [2023-01-11T06:34:11.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T06:34:11.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T06:34:11.551Z] Configure a credential helper to remove this warning. See [2023-01-11T06:34:11.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T06:34:11.551Z] [2023-01-11T06:34:11.551Z] Login Succeeded [2023-01-11T06:34:11.551Z] nexus3.edgexfoundry.org:10002 [2023-01-11T06:34:11.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T06:34:11.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T06:34:11.809Z] Configure a credential helper to remove this warning. See [2023-01-11T06:34:11.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T06:34:11.809Z] [2023-01-11T06:34:11.809Z] Login Succeeded [2023-01-11T06:34:11.809Z] nexus3.edgexfoundry.org:10003 [2023-01-11T06:34:11.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T06:34:11.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T06:34:11.810Z] Configure a credential helper to remove this warning. See [2023-01-11T06:34:11.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T06:34:11.810Z] [2023-01-11T06:34:11.810Z] Login Succeeded [2023-01-11T06:34:11.810Z] nexus3.edgexfoundry.org:10004 [2023-01-11T06:34:12.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T06:34:12.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T06:34:12.069Z] Configure a credential helper to remove this warning. See [2023-01-11T06:34:12.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T06:34:12.069Z] [2023-01-11T06:34:12.069Z] Login Succeeded [2023-01-11T06:34:12.069Z] docker.io [2023-01-11T06:34:12.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T06:34:12.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T06:34:12.330Z] Configure a credential helper to remove this warning. See [2023-01-11T06:34:12.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T06:34:12.330Z] [2023-01-11T06:34:12.330Z] Login Succeeded [2023-01-11T06:34:12.330Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T06:34:12.338Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-11T06:34:12.717Z] + git rev-list -1 --merges 96b3ac124bb90df02dc48aa4cbc603050596b4fa~1..96b3ac124bb90df02dc48aa4cbc603050596b4fa [Pipeline] echo [2023-01-11T06:34:12.769Z] -----------> git rev-list -1 --merges 96b3ac124bb90df02dc48aa4cbc603050596b4fa~1..96b3ac124bb90df02dc48aa4cbc603050596b4fa 96b3ac124bb90df02dc48aa4cbc603050596b4fa [false] [Pipeline] sh [2023-01-11T06:34:13.059Z] + git log --format=format:%s -1 96b3ac124bb90df02dc48aa4cbc603050596b4fa [Pipeline] echo [2023-01-11T06:34:13.075Z] ========================================================= [2023-01-11T06:34:13.075Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-11T06:34:13.075Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T06:34:13.397Z] + git log --format=format:%s -1 96b3ac124bb90df02dc48aa4cbc603050596b4fa [Pipeline] echo [2023-01-11T06:34:13.410Z] [semverPrep] GIT_COMMIT: 96b3ac124bb90df02dc48aa4cbc603050596b4fa, Commit Message: feat!: replace REST device callbacks with System Events [Pipeline] echo [2023-01-11T06:34:13.420Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-11T06:34:13.790Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-11T06:34:13.790Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-11T06:34:13.790Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-11T06:34:13.790Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-11T06:34:13.790Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-11T06:34:13.790Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-11T06:34:13.790Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T06:34:14.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T06:34:14.221Z] [2023-01-11T06:34:14.221Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T06:34:14.519Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T06:34:14.520Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-11T06:34:14.520Z] b85a868b505f: Pulling fs layer [2023-01-11T06:34:14.520Z] e2be974225ed: Pulling fs layer [2023-01-11T06:34:14.520Z] 339a4e72a1f5: Pulling fs layer [2023-01-11T06:34:14.520Z] 988bab9f4d93: Pulling fs layer [2023-01-11T06:34:14.520Z] 1469e6f7b9e6: Pulling fs layer [2023-01-11T06:34:14.520Z] eaf3925da568: Pulling fs layer [2023-01-11T06:34:14.520Z] bab4dde63d76: Pulling fs layer [2023-01-11T06:34:14.520Z] bde34c3a00c8: Pulling fs layer [2023-01-11T06:34:14.520Z] b352a97aabf1: Pulling fs layer [2023-01-11T06:34:14.520Z] 4872d77fe225: Pulling fs layer [2023-01-11T06:34:14.520Z] 5851b861e8e6: Pulling fs layer [2023-01-11T06:34:14.520Z] 1469e6f7b9e6: Waiting [2023-01-11T06:34:14.520Z] eaf3925da568: Waiting [2023-01-11T06:34:14.520Z] bab4dde63d76: Waiting [2023-01-11T06:34:14.520Z] 988bab9f4d93: Waiting [2023-01-11T06:34:14.520Z] bde34c3a00c8: Waiting [2023-01-11T06:34:14.520Z] 5851b861e8e6: Waiting [2023-01-11T06:34:14.520Z] b352a97aabf1: Waiting [2023-01-11T06:34:14.520Z] 4872d77fe225: Waiting [2023-01-11T06:34:14.520Z] e2be974225ed: Verifying Checksum [2023-01-11T06:34:14.520Z] e2be974225ed: Download complete [2023-01-11T06:34:14.520Z] 988bab9f4d93: Download complete [2023-01-11T06:34:14.779Z] 339a4e72a1f5: Download complete [2023-01-11T06:34:14.779Z] 1469e6f7b9e6: Verifying Checksum [2023-01-11T06:34:14.779Z] 1469e6f7b9e6: Download complete [2023-01-11T06:34:14.779Z] eaf3925da568: Download complete [2023-01-11T06:34:14.779Z] bde34c3a00c8: Verifying Checksum [2023-01-11T06:34:14.779Z] bde34c3a00c8: Download complete [2023-01-11T06:34:14.779Z] b352a97aabf1: Verifying Checksum [2023-01-11T06:34:14.779Z] b352a97aabf1: Download complete [2023-01-11T06:34:14.779Z] 4872d77fe225: Verifying Checksum [2023-01-11T06:34:14.779Z] 4872d77fe225: Download complete [2023-01-11T06:34:14.779Z] 5851b861e8e6: Verifying Checksum [2023-01-11T06:34:14.779Z] 5851b861e8e6: Download complete [2023-01-11T06:34:14.779Z] b85a868b505f: Verifying Checksum [2023-01-11T06:34:14.779Z] b85a868b505f: Download complete [2023-01-11T06:34:15.038Z] bab4dde63d76: Verifying Checksum [2023-01-11T06:34:15.038Z] bab4dde63d76: Download complete [2023-01-11T06:34:15.975Z] b85a868b505f: Pull complete [2023-01-11T06:34:16.235Z] e2be974225ed: Pull complete [2023-01-11T06:34:16.804Z] 339a4e72a1f5: Pull complete [2023-01-11T06:34:16.805Z] 988bab9f4d93: Pull complete [2023-01-11T06:34:17.063Z] 1469e6f7b9e6: Pull complete [2023-01-11T06:34:17.063Z] eaf3925da568: Pull complete [2023-01-11T06:34:18.965Z] bab4dde63d76: Pull complete [2023-01-11T06:34:18.965Z] bde34c3a00c8: Pull complete [2023-01-11T06:34:18.965Z] b352a97aabf1: Pull complete [2023-01-11T06:34:18.965Z] 4872d77fe225: Pull complete [2023-01-11T06:34:19.225Z] 5851b861e8e6: Pull complete [2023-01-11T06:34:19.225Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-11T06:34:19.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-11T06:34:19.225Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T06:34:19.316Z] prd-ubuntu20.04-docker-8c-8g-1809 does not seem to be running inside a container [2023-01-11T06:34:19.348Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1276 -v /w/workspace/gexfoundry_device-sdk-go_PR-1276:/w/workspace/gexfoundry_device-sdk-go_PR-1276:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-11T06:34:20.745Z] $ docker top a56016837072e0f22d0d3b0965034d819820a9e39016adbdf9857901a949a776 -eo pid,comm [2023-01-11T06:34:20.803Z] 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-01-11T06:34:20.803Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-11T06:34:20.847Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T06:34:20.847Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T06:34:20.967Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T06:34:20.973Z] $ docker exec a56016837072e0f22d0d3b0965034d819820a9e39016adbdf9857901a949a776 ssh-agent [2023-01-11T06:34:21.086Z] SSH_AUTH_SOCK=/tmp/ssh-gCAdpB8OtZuS/agent.32 [2023-01-11T06:34:21.086Z] SSH_AGENT_PID=38 [2023-01-11T06:34:21.093Z] Running ssh-add (command line suppressed) [2023-01-11T06:34:21.213Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/private_key_15180585806937663948.key (/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/private_key_15180585806937663948.key) [2023-01-11T06:34:21.247Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T06:34:21.563Z] + git tag --points-at HEAD [Pipeline] } [2023-01-11T06:34:21.575Z] $ docker exec --env ******** --env ******** a56016837072e0f22d0d3b0965034d819820a9e39016adbdf9857901a949a776 ssh-agent -k [2023-01-11T06:34:21.687Z] unset SSH_AUTH_SOCK; [2023-01-11T06:34:21.688Z] unset SSH_AGENT_PID; [2023-01-11T06:34:21.688Z] echo Agent pid 38 killed; [2023-01-11T06:34:21.697Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-11T06:34:21.724Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-11T06:34:21.724Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-11T06:34:21.839Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-11T06:34:21.844Z] $ docker exec a56016837072e0f22d0d3b0965034d819820a9e39016adbdf9857901a949a776 ssh-agent [2023-01-11T06:34:21.952Z] SSH_AUTH_SOCK=/tmp/ssh-dHEQtW6XnYAw/agent.70 [2023-01-11T06:34:21.952Z] SSH_AGENT_PID=76 [2023-01-11T06:34:21.956Z] Running ssh-add (command line suppressed) [2023-01-11T06:34:22.071Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/private_key_9633952202331022590.key (/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/private_key_9633952202331022590.key) [2023-01-11T06:34:22.081Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-11T06:34:22.369Z] + git semver init [2023-01-11T06:34:22.628Z] 2023-01-11 06:34:22,563 [run_init] DEBUG init version:0.0.0 force:False [2023-01-11T06:34:22.628Z] 2023-01-11 06:34:22,564 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver [2023-01-11T06:34:22.628Z] 2023-01-11 06:34:22,564 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver [2023-01-11T06:34:22.628Z] 2023-01-11 06:34:22,564 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1276, universal_newlines=False, shell=None, istream=None) [2023-01-11T06:34:23.590Z] 2023-01-11 06:34:23,464 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276/.git/info/exclude [2023-01-11T06:34:23.590Z] 2023-01-11 06:34:23,465 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver/PR-1276 with force:False [2023-01-11T06:34:23.590Z] 2023-01-11 06:34:23,465 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver/PR-1276 [2023-01-11T06:34:23.590Z] 2023-01-11 06:34:23,469 [execute] INFO git cat-file --batch-check [2023-01-11T06:34:23.590Z] 2023-01-11 06:34:23,470 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T06:34:23.590Z] 2023-01-11 06:34:23,477 [execute] INFO git cat-file --batch [2023-01-11T06:34:23.590Z] 2023-01-11 06:34:23,477 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver, universal_newlines=False, shell=None, istream=) [2023-01-11T06:34:23.590Z] 2023-01-11 06:34:23,482 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver/PR-1276 [2023-01-11T06:34:23.590Z] 0.0.0 [Pipeline] } [2023-01-11T06:34:23.603Z] $ docker exec --env ******** --env ******** a56016837072e0f22d0d3b0965034d819820a9e39016adbdf9857901a949a776 ssh-agent -k [2023-01-11T06:34:23.703Z] unset SSH_AUTH_SOCK; [2023-01-11T06:34:23.704Z] unset SSH_AGENT_PID; [2023-01-11T06:34:23.704Z] echo Agent pid 76 killed; [2023-01-11T06:34:23.714Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-11T06:34:24.015Z] + git semver [Pipeline] } [2023-01-11T06:34:24.290Z] $ docker stop --time=1 a56016837072e0f22d0d3b0965034d819820a9e39016adbdf9857901a949a776 [2023-01-11T06:34:25.607Z] $ docker rm -f --volumes a56016837072e0f22d0d3b0965034d819820a9e39016adbdf9857901a949a776 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T06:34:25.943Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-11T06:34:26.127Z] Stashed 1 file(s) [Pipeline] echo [2023-01-11T06:34:26.129Z] [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-01-11T06:34:26.287Z] provisioning config files... [2023-01-11T06:34:26.296Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/config3683056910615028257tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T06:34:26.593Z] ---> docker-login.sh [2023-01-11T06:34:26.593Z] nexus3.edgexfoundry.org:10001 [2023-01-11T06:34:26.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T06:34:26.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T06:34:26.593Z] Configure a credential helper to remove this warning. See [2023-01-11T06:34:26.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T06:34:26.593Z] [2023-01-11T06:34:26.593Z] Login Succeeded [2023-01-11T06:34:26.593Z] nexus3.edgexfoundry.org:10002 [2023-01-11T06:34:26.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T06:34:26.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T06:34:26.593Z] Configure a credential helper to remove this warning. See [2023-01-11T06:34:26.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T06:34:26.593Z] [2023-01-11T06:34:26.593Z] Login Succeeded [2023-01-11T06:34:26.593Z] nexus3.edgexfoundry.org:10003 [2023-01-11T06:34:26.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T06:34:26.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T06:34:26.854Z] Configure a credential helper to remove this warning. See [2023-01-11T06:34:26.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T06:34:26.854Z] [2023-01-11T06:34:26.854Z] Login Succeeded [2023-01-11T06:34:26.854Z] nexus3.edgexfoundry.org:10004 [2023-01-11T06:34:26.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T06:34:26.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T06:34:26.854Z] Configure a credential helper to remove this warning. See [2023-01-11T06:34:26.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T06:34:26.854Z] [2023-01-11T06:34:26.854Z] Login Succeeded [2023-01-11T06:34:26.854Z] docker.io [2023-01-11T06:34:27.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T06:34:27.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T06:34:27.114Z] Configure a credential helper to remove this warning. See [2023-01-11T06:34:27.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T06:34:27.114Z] [2023-01-11T06:34:27.114Z] Login Succeeded [2023-01-11T06:34:27.114Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T06:34:27.122Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T06:34:27.185Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T06:34:27.204Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T06:34:27.217Z] ========================================================= [2023-01-11T06:34:27.217Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-11T06:34:27.217Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T06:34:27.537Z] + 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-01-11T06:34:27.537Z] Sending build context to Docker daemon 10.45MB [2023-01-11T06:34:27.537Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T06:34:27.537Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-11T06:34:27.802Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-11T06:34:27.802Z] 213ec9aee27d: Pulling fs layer [2023-01-11T06:34:27.802Z] 4583459ba037: Pulling fs layer [2023-01-11T06:34:27.802Z] 93c1e223e6f2: Pulling fs layer [2023-01-11T06:34:27.802Z] 53926ce57604: Pulling fs layer [2023-01-11T06:34:27.802Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-11T06:34:27.802Z] 22ff95d597cd: Pulling fs layer [2023-01-11T06:34:27.802Z] 12d6caf4c0d1: Pulling fs layer [2023-01-11T06:34:27.802Z] 96b7cbca73a9: Pulling fs layer [2023-01-11T06:34:27.802Z] a7acece74701: Pulling fs layer [2023-01-11T06:34:27.802Z] 53926ce57604: Waiting [2023-01-11T06:34:27.802Z] 21b2b0c7a3f4: Waiting [2023-01-11T06:34:27.802Z] 22ff95d597cd: Waiting [2023-01-11T06:34:27.802Z] 12d6caf4c0d1: Waiting [2023-01-11T06:34:27.802Z] 96b7cbca73a9: Waiting [2023-01-11T06:34:27.802Z] a7acece74701: Waiting [2023-01-11T06:34:27.802Z] 93c1e223e6f2: Download complete [2023-01-11T06:34:27.802Z] 4583459ba037: Verifying Checksum [2023-01-11T06:34:27.802Z] 4583459ba037: Download complete [2023-01-11T06:34:27.802Z] 21b2b0c7a3f4: Download complete [2023-01-11T06:34:27.802Z] 22ff95d597cd: Verifying Checksum [2023-01-11T06:34:27.802Z] 22ff95d597cd: Download complete [2023-01-11T06:34:27.802Z] 213ec9aee27d: Download complete [2023-01-11T06:34:27.803Z] 12d6caf4c0d1: Download complete [2023-01-11T06:34:27.803Z] 213ec9aee27d: Pull complete [2023-01-11T06:34:28.079Z] 4583459ba037: Pull complete [2023-01-11T06:34:28.079Z] 93c1e223e6f2: Pull complete [2023-01-11T06:34:28.350Z] a7acece74701: Verifying Checksum [2023-01-11T06:34:28.350Z] a7acece74701: Download complete [2023-01-11T06:34:28.350Z] 96b7cbca73a9: Verifying Checksum [2023-01-11T06:34:28.350Z] 96b7cbca73a9: Download complete [2023-01-11T06:34:28.610Z] 53926ce57604: Verifying Checksum [2023-01-11T06:34:28.610Z] 53926ce57604: Download complete [2023-01-11T06:34:31.887Z] 53926ce57604: Pull complete [2023-01-11T06:34:31.887Z] 21b2b0c7a3f4: Pull complete [2023-01-11T06:34:32.146Z] 22ff95d597cd: Pull complete [2023-01-11T06:34:32.146Z] 12d6caf4c0d1: Pull complete [2023-01-11T06:34:34.047Z] 96b7cbca73a9: Pull complete [2023-01-11T06:34:34.982Z] a7acece74701: Pull complete [2023-01-11T06:34:34.982Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-11T06:34:34.982Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-11T06:34:34.982Z] ---> db6d94c90886 [2023-01-11T06:34:34.982Z] Step 3/10 : ARG MAKE=make build [2023-01-11T06:34:36.888Z] ---> Running in 7aa39509a08c [2023-01-11T06:34:36.888Z] Removing intermediate container 7aa39509a08c [2023-01-11T06:34:36.888Z] ---> f00f3f024543 [2023-01-11T06:34:36.888Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-11T06:34:36.888Z] ---> Running in a6c0f2b5c61a [2023-01-11T06:34:36.888Z] Removing intermediate container a6c0f2b5c61a [2023-01-11T06:34:36.888Z] ---> e1524d684f31 [2023-01-11T06:34:36.888Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-11T06:34:36.888Z] ---> Running in f0b14b48c51b [2023-01-11T06:34:37.147Z] Removing intermediate container f0b14b48c51b [2023-01-11T06:34:37.147Z] ---> e11408fde9a1 [2023-01-11T06:34:37.147Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-11T06:34:37.147Z] ---> Running in c7b016ce5831 [2023-01-11T06:34:37.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T06:34:37.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T06:34:37.936Z] OK: 211 MiB in 51 packages [2023-01-11T06:34:38.196Z] Removing intermediate container c7b016ce5831 [2023-01-11T06:34:38.197Z] ---> d5b38a6d2ac8 [2023-01-11T06:34:38.197Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-11T06:34:38.197Z] ---> 577c00fd5d42 [2023-01-11T06:34:38.197Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T06:34:38.456Z] ---> Running in 3eb6941c5185 [2023-01-11T06:34:41.234Z] Still waiting to schedule task [2023-01-11T06:34:41.234Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-11T06:34:56.551Z] Removing intermediate container 3eb6941c5185 [2023-01-11T06:34:56.551Z] ---> 5b6ed7058608 [2023-01-11T06:34:56.551Z] Step 9/10 : COPY . . [2023-01-11T06:34:56.551Z] ---> 935cb81bf784 [2023-01-11T06:34:56.551Z] Step 10/10 : RUN ${MAKE} [2023-01-11T06:34:56.551Z] ---> Running in 443dce71986a [2023-01-11T06:34:56.551Z] noop [2023-01-11T06:34:56.551Z] Removing intermediate container 443dce71986a [2023-01-11T06:34:56.551Z] ---> d6bbf65244c1 [2023-01-11T06:34:56.551Z] Successfully built d6bbf65244c1 [2023-01-11T06:34:56.551Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T06:34:56.864Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T06:34:56.864Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T06:34:56.933Z] prd-ubuntu20.04-docker-8c-8g-1809 does not seem to be running inside a container [2023-01-11T06:34:56.968Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1276 -v /w/workspace/gexfoundry_device-sdk-go_PR-1276:/w/workspace/gexfoundry_device-sdk-go_PR-1276:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-11T06:34:57.317Z] $ docker top 5609f5a93cfb78760f4124e50e308143db7eeb27e52fa7962bf0e9e978ce7dc7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T06:34:57.663Z] + go version [2023-01-11T06:34:57.663Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-11T06:34:57.676Z] $ docker stop --time=1 5609f5a93cfb78760f4124e50e308143db7eeb27e52fa7962bf0e9e978ce7dc7 [2023-01-11T06:34:58.991Z] $ docker rm -f --volumes 5609f5a93cfb78760f4124e50e308143db7eeb27e52fa7962bf0e9e978ce7dc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T06:34:59.393Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-11T06:34:59.393Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T06:34:59.456Z] prd-ubuntu20.04-docker-8c-8g-1809 does not seem to be running inside a container [2023-01-11T06:34:59.486Z] $ 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-1276 -v /w/workspace/gexfoundry_device-sdk-go_PR-1276:/w/workspace/gexfoundry_device-sdk-go_PR-1276:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-11T06:34:59.828Z] $ docker top 408eb4b8f3a77821117960e292b981d885d92c3d6c779f30685b5729df2a1f80 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T06:35:00.167Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1276 [Pipeline] fileExists [Pipeline] sh [2023-01-11T06:35:00.464Z] + make test [2023-01-11T06:35:00.464Z] go test -race -coverprofile=coverage.out ./... [2023-01-11T06:35:07.023Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-11T06:35:19.221Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-11T06:35:19.221Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-11T06:35:19.221Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-11T06:35:19.221Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-11T06:35:19.221Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-11T06:35:19.478Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.066s coverage: 27.6% of statements [2023-01-11T06:35:19.478Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.081s coverage: 78.9% of statements [2023-01-11T06:35:19.478Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-11T06:35:19.478Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.089s coverage: 73.1% of statements [2023-01-11T06:35:19.478Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-11T06:35:19.478Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-11T06:35:19.737Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.099s coverage: 60.6% of statements [2023-01-11T06:35:19.737Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-11T06:35:19.737Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-11T06:35:19.737Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-11T06:35:19.737Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-11T06:35:19.737Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.085s coverage: 65.1% of statements [2023-01-11T06:35:19.737Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-11T06:35:19.737Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-11T06:35:19.737Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.733s coverage: 89.2% of statements [2023-01-11T06:35:19.737Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-11T06:35:19.994Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.066s coverage: 4.6% of statements [2023-01-11T06:35:19.994Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-11T06:35:34.868Z] 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-01-11T06:35:34.869Z] GO111MODULE=on go vet ./... [2023-01-11T06:35:37.398Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T06:35:37.398Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T06:35:37.657Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T06:35:37.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T06:35:37.689Z] $ docker stop --time=1 408eb4b8f3a77821117960e292b981d885d92c3d6c779f30685b5729df2a1f80 [2023-01-11T06:35:39.784Z] $ docker rm -f --volumes 408eb4b8f3a77821117960e292b981d885d92c3d6c779f30685b5729df2a1f80 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T06:35:40.271Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T06:35:40.334Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-11T06:35:40.826Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T06:35:41.106Z] + ls -al . [2023-01-11T06:35:41.106Z] total 280 [2023-01-11T06:35:41.106Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 11 06:35 . [2023-01-11T06:35:41.106Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 06:34 .. [2023-01-11T06:35:41.106Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 06:34 .dockerignore [2023-01-11T06:35:41.106Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 06:35 .git [2023-01-11T06:35:41.106Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:34 .github [2023-01-11T06:35:41.106Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 11 06:34 .gitignore [2023-01-11T06:35:41.106Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 06:34 .golangci.yml [2023-01-11T06:35:41.106Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 06:34 .semver [2023-01-11T06:35:41.106Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 11 06:34 CHANGELOG.md [2023-01-11T06:35:41.106Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 06:34 GOVERNANCE.md [2023-01-11T06:35:41.106Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 11 06:34 Jenkinsfile [2023-01-11T06:35:41.106Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 11 06:34 LICENSE [2023-01-11T06:35:41.106Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 11 06:34 Makefile [2023-01-11T06:35:41.106Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 11 06:34 OWNERS.md [2023-01-11T06:35:41.106Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 11 06:34 README.md [2023-01-11T06:35:41.106Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 06:34 VERSION [2023-01-11T06:35:41.106Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:34 bin [2023-01-11T06:35:41.106Z] -rw-r--r-- 1 jenkins jenkins 100831 Jan 11 06:35 coverage.out [2023-01-11T06:35:41.106Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 06:34 example [2023-01-11T06:35:41.106Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 11 06:34 go.mod [2023-01-11T06:35:41.106Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 11 06:34 go.sum [2023-01-11T06:35:41.106Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 11 06:34 internal [2023-01-11T06:35:41.106Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 06:34 openapi [2023-01-11T06:35:41.106Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 11 06:34 pkg [2023-01-11T06:35:41.106Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 06:34 snap [2023-01-11T06:35:41.106Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 11 06:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T06:35:41.410Z] + 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=96b3ac124bb90df02dc48aa4cbc603050596b4fa --label arch=amd64 --label version=0.0.0 . [2023-01-11T06:35:41.410Z] Sending build context to Docker daemon 10.55MB [2023-01-11T06:35:41.410Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T06:35:41.410Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-11T06:35:41.410Z] ---> d6bbf65244c1 [2023-01-11T06:35:41.410Z] Step 3/23 : ARG MAKE=make build [2023-01-11T06:35:41.410Z] ---> Running in 8130969aa7aa [2023-01-11T06:35:41.667Z] Removing intermediate container 8130969aa7aa [2023-01-11T06:35:41.667Z] ---> f226f1bf6551 [2023-01-11T06:35:41.667Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-11T06:35:41.667Z] ---> Running in 2303d0559732 [2023-01-11T06:35:41.667Z] Removing intermediate container 2303d0559732 [2023-01-11T06:35:41.667Z] ---> a08945c8d19f [2023-01-11T06:35:41.667Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-11T06:35:41.667Z] ---> Running in 25694521a9fe [2023-01-11T06:35:41.927Z] Removing intermediate container 25694521a9fe [2023-01-11T06:35:41.927Z] ---> 588dac29fff1 [2023-01-11T06:35:41.927Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-11T06:35:41.927Z] ---> Running in 2fe72220fb9c [2023-01-11T06:35:42.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T06:35:42.444Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T06:35:42.702Z] OK: 211 MiB in 51 packages [2023-01-11T06:35:42.960Z] Removing intermediate container 2fe72220fb9c [2023-01-11T06:35:42.960Z] ---> fcd269e97478 [2023-01-11T06:35:42.960Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-11T06:35:42.960Z] ---> 69563ad5e868 [2023-01-11T06:35:42.960Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T06:35:42.960Z] ---> Running in e020a85d98bf [2023-01-11T06:35:43.894Z] Removing intermediate container e020a85d98bf [2023-01-11T06:35:43.894Z] ---> 623e70e8e661 [2023-01-11T06:35:43.894Z] Step 9/23 : COPY . . [2023-01-11T06:35:44.153Z] ---> 0697cc8a2a7f [2023-01-11T06:35:44.153Z] Step 10/23 : RUN ${MAKE} [2023-01-11T06:35:44.153Z] ---> Running in ac348ca1d8a5 [2023-01-11T06:35:44.412Z] 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-01-11T06:36:02.485Z] Removing intermediate container ac348ca1d8a5 [2023-01-11T06:36:02.485Z] ---> f2d621cffbc0 [2023-01-11T06:36:02.485Z] Step 11/23 : FROM alpine:3.16 [2023-01-11T06:36:02.485Z] 3.16: Pulling from library/alpine [2023-01-11T06:36:02.485Z] ca7dd9ec2225: Pulling fs layer [2023-01-11T06:36:02.485Z] ca7dd9ec2225: Verifying Checksum [2023-01-11T06:36:02.485Z] ca7dd9ec2225: Download complete [2023-01-11T06:36:02.485Z] ca7dd9ec2225: Pull complete [2023-01-11T06:36:02.485Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T06:36:02.485Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T06:36:02.485Z] ---> bfe296a52501 [2023-01-11T06:36:02.485Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-11T06:36:02.485Z] ---> Running in 60abaed76473 [2023-01-11T06:36:02.485Z] Removing intermediate container 60abaed76473 [2023-01-11T06:36:02.485Z] ---> a36107afc5be [2023-01-11T06:36:02.485Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-11T06:36:02.485Z] ---> Running in b3c5ae841b9e [2023-01-11T06:36:02.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-11T06:36:02.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-11T06:36:02.485Z] OK: 6 MiB in 14 packages [2023-01-11T06:36:02.745Z] Removing intermediate container b3c5ae841b9e [2023-01-11T06:36:02.745Z] ---> 79877abf9965 [2023-01-11T06:36:02.745Z] Step 14/23 : WORKDIR / [2023-01-11T06:36:02.745Z] ---> Running in c65aab0f6d36 [2023-01-11T06:36:03.003Z] Removing intermediate container c65aab0f6d36 [2023-01-11T06:36:03.003Z] ---> dc53b8802202 [2023-01-11T06:36:03.003Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-11T06:36:03.003Z] ---> c686c52807a4 [2023-01-11T06:36:03.003Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-11T06:36:03.570Z] ---> 02c2404f6f7d [2023-01-11T06:36:03.570Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-11T06:36:03.570Z] ---> 13ee370cf1f2 [2023-01-11T06:36:03.570Z] Step 18/23 : EXPOSE 59999 [2023-01-11T06:36:03.570Z] ---> Running in 9a50f88798ad [2023-01-11T06:36:03.829Z] Removing intermediate container 9a50f88798ad [2023-01-11T06:36:03.829Z] ---> 14a9f5e492ec [2023-01-11T06:36:03.829Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-11T06:36:03.829Z] ---> Running in d775c75971b6 [2023-01-11T06:36:03.829Z] Removing intermediate container d775c75971b6 [2023-01-11T06:36:03.829Z] ---> a1116f22f3bf [2023-01-11T06:36:03.829Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-11T06:36:03.829Z] ---> Running in 29b7cc91b453 [2023-01-11T06:36:03.829Z] Removing intermediate container 29b7cc91b453 [2023-01-11T06:36:03.829Z] ---> b6f14cd8acdc [2023-01-11T06:36:03.829Z] Step 21/23 : LABEL arch=amd64 [2023-01-11T06:36:04.088Z] ---> Running in b3b9949cf0a1 [2023-01-11T06:36:04.088Z] Removing intermediate container b3b9949cf0a1 [2023-01-11T06:36:04.088Z] ---> d635ead5803c [2023-01-11T06:36:04.088Z] Step 22/23 : LABEL git_sha=96b3ac124bb90df02dc48aa4cbc603050596b4fa [2023-01-11T06:36:04.088Z] ---> Running in a22650008be0 [2023-01-11T06:36:04.088Z] Removing intermediate container a22650008be0 [2023-01-11T06:36:04.088Z] ---> 065187a93afa [2023-01-11T06:36:04.088Z] Step 23/23 : LABEL version=0.0.0 [2023-01-11T06:36:04.088Z] ---> Running in 2de46f0ef261 [2023-01-11T06:36:04.348Z] Removing intermediate container 2de46f0ef261 [2023-01-11T06:36:04.348Z] ---> 80d0fe92e93e [2023-01-11T06:36:04.348Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T06:36:04.348Z] Successfully built 80d0fe92e93e [2023-01-11T06:36:04.348Z] 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-01-11T06:36:04.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T06:36:04.812Z] [2023-01-11T06:36:04.812Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T06:36:05.119Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T06:36:05.119Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-11T06:36:05.119Z] 5eb5b503b376: Pulling fs layer [2023-01-11T06:36:05.119Z] 5c69ac0246d0: Pulling fs layer [2023-01-11T06:36:05.119Z] ec43610c2a17: Pulling fs layer [2023-01-11T06:36:05.119Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-11T06:36:05.119Z] 33b1e0a273af: Pulling fs layer [2023-01-11T06:36:05.119Z] 5d3b04190fa2: Pulling fs layer [2023-01-11T06:36:05.119Z] 2f39f015ded8: Pulling fs layer [2023-01-11T06:36:05.119Z] 3a2ae6a8a46f: Waiting [2023-01-11T06:36:05.119Z] 33b1e0a273af: Waiting [2023-01-11T06:36:05.119Z] 5d3b04190fa2: Waiting [2023-01-11T06:36:05.119Z] 5c69ac0246d0: Verifying Checksum [2023-01-11T06:36:05.119Z] 5c69ac0246d0: Download complete [2023-01-11T06:36:05.119Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-11T06:36:05.119Z] 3a2ae6a8a46f: Download complete [2023-01-11T06:36:05.119Z] 33b1e0a273af: Verifying Checksum [2023-01-11T06:36:05.119Z] 33b1e0a273af: Download complete [2023-01-11T06:36:05.380Z] 5d3b04190fa2: Verifying Checksum [2023-01-11T06:36:05.380Z] 5d3b04190fa2: Download complete [2023-01-11T06:36:05.380Z] ec43610c2a17: Verifying Checksum [2023-01-11T06:36:05.380Z] ec43610c2a17: Download complete [2023-01-11T06:36:05.380Z] 5eb5b503b376: Verifying Checksum [2023-01-11T06:36:05.380Z] 5eb5b503b376: Download complete [2023-01-11T06:36:05.944Z] 2f39f015ded8: Download complete [2023-01-11T06:36:06.511Z] 5eb5b503b376: Pull complete [2023-01-11T06:36:06.511Z] 5c69ac0246d0: Pull complete [2023-01-11T06:36:07.077Z] ec43610c2a17: Pull complete [2023-01-11T06:36:07.077Z] 3a2ae6a8a46f: Pull complete [2023-01-11T06:36:07.077Z] 33b1e0a273af: Pull complete [2023-01-11T06:36:07.335Z] 5d3b04190fa2: Pull complete [2023-01-11T06:36:11.516Z] 2f39f015ded8: Pull complete [2023-01-11T06:36:11.516Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-11T06:36:11.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T06:36:11.516Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T06:36:11.599Z] prd-ubuntu20.04-docker-8c-8g-1809 does not seem to be running inside a container [2023-01-11T06:36:11.631Z] $ 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-1276 -v /w/workspace/gexfoundry_device-sdk-go_PR-1276:/w/workspace/gexfoundry_device-sdk-go_PR-1276:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-11T06:36:13.020Z] $ docker top c8548cb509d577bc86539e452f7e19ce8e6bf1bf698a7b5ae8ca07a4895cea51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T06:36:13.427Z] ---> job-cost.sh [2023-01-11T06:36:13.427Z] lf-activate-venv: SKIPPING [2023-01-11T06:36:13.427Z] INFO: No Stack... [2023-01-11T06:36:13.686Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T06:36:13.945Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T06:36:14.233Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives/cost.csv [2023-01-11T06:36:14.233Z] + cut -d, -f6 [Pipeline] lock [2023-01-11T06:36:14.248Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1276-2-stack-cost] [2023-01-11T06:36:14.255Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1276-2-stack-cost] did not exist. Created. [2023-01-11T06:36:14.255Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1276-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T06:36:14.565Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-11T06:36:14.601Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T06:36:14.610Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1276-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T06:36:14.630Z] $ docker stop --time=1 c8548cb509d577bc86539e452f7e19ce8e6bf1bf698a7b5ae8ca07a4895cea51 [2023-01-11T06:36:15.793Z] $ docker rm -f --volumes c8548cb509d577bc86539e452f7e19ce8e6bf1bf698a7b5ae8ca07a4895cea51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-11T06:36:22.954Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1810 in /w/workspace/gexfoundry_device-sdk-go_PR-1276 [Pipeline] { [Pipeline] ws [2023-01-11T06:36:22.968Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-01-11T06:36:23.037Z] The recommended git tool is: git [2023-01-11T06:36:31.911Z] using credential edgex-jenkins-ssh [2023-01-11T06:36:31.932Z] Cloning the remote Git repository [2023-01-11T06:36:32.034Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-11T06:36:32.133Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-01-11T06:36:32.370Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-11T06:36:32.371Z] > git --version # timeout=10 [2023-01-11T06:36:32.423Z] > git --version # 'git version 2.25.1' [2023-01-11T06:36:32.426Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T06:36:32.509Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T06:36:34.021Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-11T06:36:34.044Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-11T06:36:34.827Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-11T06:36:34.866Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-11T06:36:34.867Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T06:36:34.882Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1276/head:refs/remotes/origin/PR-1276 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-11T06:36:35.525Z] Merging remotes/origin/main commit 8025d415256bff1d08fe37ed408de885b1f3053d into PR head commit 96b3ac124bb90df02dc48aa4cbc603050596b4fa [2023-01-11T06:36:35.743Z] Merge succeeded, producing 96b3ac124bb90df02dc48aa4cbc603050596b4fa [2023-01-11T06:36:35.744Z] Checking out Revision 96b3ac124bb90df02dc48aa4cbc603050596b4fa (PR-1276) [2023-01-11T06:36:35.546Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T06:36:35.563Z] > git checkout -f 96b3ac124bb90df02dc48aa4cbc603050596b4fa # timeout=10 [2023-01-11T06:36:35.662Z] > git remote # timeout=10 [2023-01-11T06:36:35.680Z] > git config --get remote.origin.url # timeout=10 [2023-01-11T06:36:35.696Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-11T06:36:35.709Z] > git merge 8025d415256bff1d08fe37ed408de885b1f3053d # timeout=10 [2023-01-11T06:36:35.731Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-11T06:36:35.752Z] > git config core.sparsecheckout # timeout=10 [2023-01-11T06:36:35.766Z] > git checkout -f 96b3ac124bb90df02dc48aa4cbc603050596b4fa # timeout=10 [2023-01-11T06:36:39.343Z] Commit message: "feat!: replace REST device callbacks with System Events" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T06:36:40.279Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-11T06:36:40.280Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T06:36:40.280Z] Dload Upload Total Spent Left Speed [2023-01-11T06:36:40.280Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 85577 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh [2023-01-11T06:36:41.000Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-11T06:36:41.347Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-11T06:36:41.347Z] + sudo tee /etc/docker/daemon.new [2023-01-11T06:36:41.620Z] { [2023-01-11T06:36:41.620Z] "registry-mirrors": [ [2023-01-11T06:36:41.620Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-11T06:36:41.620Z] ], [2023-01-11T06:36:41.620Z] "bip": "10.250.0.254/24", [2023-01-11T06:36:41.620Z] "hosts": [ [2023-01-11T06:36:41.620Z] "tcp://0.0.0.0:5555", [2023-01-11T06:36:41.620Z] "unix:///var/run/docker.sock" [2023-01-11T06:36:41.620Z] ], [2023-01-11T06:36:41.620Z] "mtu": 1458, [2023-01-11T06:36:41.620Z] "selinux-enabled": true, [2023-01-11T06:36:41.620Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-11T06:36:41.620Z] } [Pipeline] sh [2023-01-11T06:36:41.954Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-11T06:36:42.293Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T06:37:00.576Z] provisioning config files... [2023-01-11T06:37:00.600Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config12481800976126396683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T06:37:00.945Z] ---> docker-login.sh [2023-01-11T06:37:00.946Z] nexus3.edgexfoundry.org:10001 [2023-01-11T06:37:01.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T06:37:01.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T06:37:01.484Z] Configure a credential helper to remove this warning. See [2023-01-11T06:37:01.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T06:37:01.484Z] [2023-01-11T06:37:01.484Z] Login Succeeded [2023-01-11T06:37:01.484Z] nexus3.edgexfoundry.org:10002 [2023-01-11T06:37:01.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T06:37:02.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T06:37:02.033Z] Configure a credential helper to remove this warning. See [2023-01-11T06:37:02.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T06:37:02.033Z] [2023-01-11T06:37:02.033Z] Login Succeeded [2023-01-11T06:37:02.033Z] nexus3.edgexfoundry.org:10003 [2023-01-11T06:37:02.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T06:37:02.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T06:37:02.303Z] Configure a credential helper to remove this warning. See [2023-01-11T06:37:02.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T06:37:02.303Z] [2023-01-11T06:37:02.303Z] Login Succeeded [2023-01-11T06:37:02.303Z] nexus3.edgexfoundry.org:10004 [2023-01-11T06:37:02.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T06:37:02.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T06:37:02.577Z] Configure a credential helper to remove this warning. See [2023-01-11T06:37:02.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T06:37:02.577Z] [2023-01-11T06:37:02.577Z] Login Succeeded [2023-01-11T06:37:02.577Z] docker.io [2023-01-11T06:37:02.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-11T06:37:03.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-11T06:37:03.111Z] Configure a credential helper to remove this warning. See [2023-01-11T06:37:03.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-11T06:37:03.111Z] [2023-01-11T06:37:03.111Z] Login Succeeded [2023-01-11T06:37:03.111Z] ---> docker-login.sh ends [Pipeline] } [2023-01-11T06:37:03.123Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-11T06:37:03.357Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T06:37:03.368Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-11T06:37:03.380Z] ========================================================= [2023-01-11T06:37:03.380Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-11T06:37:03.380Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T06:37:03.720Z] + 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-01-11T06:37:03.988Z] Sending build context to Docker daemon 5.633MB [2023-01-11T06:37:03.988Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T06:37:03.988Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-11T06:37:05.946Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-11T06:37:05.946Z] 9b18e9b68314: Pulling fs layer [2023-01-11T06:37:05.946Z] 35d82f9e3411: Pulling fs layer [2023-01-11T06:37:05.946Z] e16973657156: Pulling fs layer [2023-01-11T06:37:05.946Z] fc693d55d65f: Pulling fs layer [2023-01-11T06:37:05.946Z] 7e9fc2657dce: Pulling fs layer [2023-01-11T06:37:05.946Z] dda99020689f: Pulling fs layer [2023-01-11T06:37:05.946Z] db1c61fa0a46: Pulling fs layer [2023-01-11T06:37:05.946Z] 891c053d2c06: Pulling fs layer [2023-01-11T06:37:05.946Z] dda99020689f: Waiting [2023-01-11T06:37:05.946Z] fc693d55d65f: Waiting [2023-01-11T06:37:05.946Z] db1c61fa0a46: Waiting [2023-01-11T06:37:05.946Z] 7e9fc2657dce: Waiting [2023-01-11T06:37:05.946Z] 891c053d2c06: Waiting [2023-01-11T06:37:05.946Z] e16973657156: Verifying Checksum [2023-01-11T06:37:05.946Z] e16973657156: Download complete [2023-01-11T06:37:05.946Z] 35d82f9e3411: Download complete [2023-01-11T06:37:05.946Z] 7e9fc2657dce: Verifying Checksum [2023-01-11T06:37:05.946Z] 7e9fc2657dce: Download complete [2023-01-11T06:37:06.213Z] dda99020689f: Verifying Checksum [2023-01-11T06:37:06.213Z] dda99020689f: Download complete [2023-01-11T06:37:06.213Z] 9b18e9b68314: Verifying Checksum [2023-01-11T06:37:06.807Z] 9b18e9b68314: Pull complete [2023-01-11T06:37:07.075Z] 891c053d2c06: Verifying Checksum [2023-01-11T06:37:07.075Z] 891c053d2c06: Download complete [2023-01-11T06:37:07.353Z] 35d82f9e3411: Pull complete [2023-01-11T06:37:07.623Z] e16973657156: Pull complete [2023-01-11T06:37:08.212Z] db1c61fa0a46: Verifying Checksum [2023-01-11T06:37:08.212Z] db1c61fa0a46: Download complete [2023-01-11T06:37:08.796Z] fc693d55d65f: Verifying Checksum [2023-01-11T06:37:08.796Z] fc693d55d65f: Download complete [2023-01-11T06:37:21.106Z] fc693d55d65f: Pull complete [2023-01-11T06:37:21.106Z] 7e9fc2657dce: Pull complete [2023-01-11T06:37:21.106Z] dda99020689f: Pull complete [2023-01-11T06:37:26.452Z] db1c61fa0a46: Pull complete [2023-01-11T06:37:27.405Z] 891c053d2c06: Pull complete [2023-01-11T06:37:27.405Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-11T06:37:27.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-11T06:37:27.405Z] ---> f96f9c87975a [2023-01-11T06:37:27.405Z] Step 3/10 : ARG MAKE=make build [2023-01-11T06:37:28.821Z] ---> Running in 7820f1f267ea [2023-01-11T06:37:29.089Z] Removing intermediate container 7820f1f267ea [2023-01-11T06:37:29.089Z] ---> 5d425e9a59a5 [2023-01-11T06:37:29.089Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-11T06:37:29.363Z] ---> Running in 1af5cd05274e [2023-01-11T06:37:29.629Z] Removing intermediate container 1af5cd05274e [2023-01-11T06:37:29.629Z] ---> 0d5517854a46 [2023-01-11T06:37:29.629Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-11T06:37:29.629Z] ---> Running in 44225006cec9 [2023-01-11T06:37:29.897Z] Removing intermediate container 44225006cec9 [2023-01-11T06:37:29.897Z] ---> 1c73f0b8ee02 [2023-01-11T06:37:29.897Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-11T06:37:29.897Z] ---> Running in 0be7b15ab960 [2023-01-11T06:37:30.857Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T06:37:31.124Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T06:37:32.084Z] OK: 221 MiB in 51 packages [2023-01-11T06:37:32.667Z] Removing intermediate container 0be7b15ab960 [2023-01-11T06:37:32.667Z] ---> 98d389a45696 [2023-01-11T06:37:32.667Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-11T06:37:33.251Z] ---> 0789c228f687 [2023-01-11T06:37:33.251Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T06:37:33.251Z] ---> Running in 11402dd9ae08 [2023-01-11T06:38:29.651Z] Removing intermediate container 11402dd9ae08 [2023-01-11T06:38:29.651Z] ---> 00ed702c37c5 [2023-01-11T06:38:29.651Z] Step 9/10 : COPY . . [2023-01-11T06:38:29.651Z] ---> d7ccd02c4d69 [2023-01-11T06:38:29.651Z] Step 10/10 : RUN ${MAKE} [2023-01-11T06:38:29.651Z] ---> Running in 7f8da0a2eb2e [2023-01-11T06:38:29.651Z] noop [2023-01-11T06:38:29.651Z] Removing intermediate container 7f8da0a2eb2e [2023-01-11T06:38:29.651Z] ---> aec19785a070 [2023-01-11T06:38:29.651Z] Successfully built aec19785a070 [2023-01-11T06:38:29.651Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T06:38:29.993Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T06:38:29.994Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T06:38:30.167Z] prd-ubuntu20.04-docker-arm64-4c-16g-1810 does not seem to be running inside a container [2023-01-11T06:38:30.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-11T06:38:31.332Z] $ docker top f1ba3af5a19ee95debc748950afeee4dc5d5e4e1980e995826c9cae6accddfa8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T06:38:32.126Z] + go version [2023-01-11T06:38:32.126Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-11T06:38:32.147Z] $ docker stop --time=1 f1ba3af5a19ee95debc748950afeee4dc5d5e4e1980e995826c9cae6accddfa8 [2023-01-11T06:38:33.725Z] $ docker rm -f --volumes f1ba3af5a19ee95debc748950afeee4dc5d5e4e1980e995826c9cae6accddfa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T06:38:34.229Z] + docker inspect -f . ci-base-image-arm64 [2023-01-11T06:38:34.229Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T06:38:34.403Z] prd-ubuntu20.04-docker-arm64-4c-16g-1810 does not seem to be running inside a container [2023-01-11T06:38:34.466Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-11T06:38:35.582Z] $ docker top 075eeb25654762999254e247bd45ec34e183d97ea232ae648f028292e8b5d290 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T06:38:36.060Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-01-11T06:38:36.385Z] + make test [2023-01-11T06:38:36.385Z] go test -race -coverprofile=coverage.out ./... [2023-01-11T06:39:08.593Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-11T06:40:45.248Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-11T06:40:45.248Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-11T06:40:45.248Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-11T06:40:45.248Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-11T06:40:45.248Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-11T06:40:49.495Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.251s coverage: 27.6% of statements [2023-01-11T06:40:49.495Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.367s coverage: 78.9% of statements [2023-01-11T06:40:49.495Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-11T06:40:54.834Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.373s coverage: 73.1% of statements [2023-01-11T06:40:54.834Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-11T06:40:54.834Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-11T06:40:56.249Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.569s coverage: 60.6% of statements [2023-01-11T06:40:56.249Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-11T06:40:56.249Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-11T06:40:56.249Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-11T06:40:56.249Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-11T06:40:56.831Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.377s coverage: 65.1% of statements [2023-01-11T06:40:56.831Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-11T06:40:56.831Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-11T06:40:56.831Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.351s coverage: 89.2% of statements [2023-01-11T06:40:56.831Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-11T06:40:56.831Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.248s coverage: 4.6% of statements [2023-01-11T06:40:56.831Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-11T06:40:57.414Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-11T06:40:57.414Z] GO111MODULE=on go vet ./... [2023-01-11T06:42:19.039Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-11T06:42:19.039Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-11T06:42:19.040Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-11T06:42:19.061Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-11T06:42:19.075Z] $ docker stop --time=1 075eeb25654762999254e247bd45ec34e183d97ea232ae648f028292e8b5d290 [2023-01-11T06:42:22.193Z] $ docker rm -f --volumes 075eeb25654762999254e247bd45ec34e183d97ea232ae648f028292e8b5d290 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-11T06:42:23.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-11T06:42:23.424Z] Warning: overwriting stash ‘coverage-report’ [2023-01-11T06:42:23.922Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-11T06:42:24.272Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-11T06:42:24.587Z] + ls -al . [2023-01-11T06:42:24.587Z] total 276 [2023-01-11T06:42:24.587Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 11 06:38 . [2023-01-11T06:42:24.587Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 06:36 .. [2023-01-11T06:42:24.587Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 11 06:36 .dockerignore [2023-01-11T06:42:24.587Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 06:36 .git [2023-01-11T06:42:24.587Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:36 .github [2023-01-11T06:42:24.587Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 11 06:36 .gitignore [2023-01-11T06:42:24.587Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 11 06:36 .golangci.yml [2023-01-11T06:42:24.587Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 11 06:36 CHANGELOG.md [2023-01-11T06:42:24.587Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 11 06:36 GOVERNANCE.md [2023-01-11T06:42:24.587Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 11 06:36 Jenkinsfile [2023-01-11T06:42:24.587Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 11 06:36 LICENSE [2023-01-11T06:42:24.587Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 11 06:36 Makefile [2023-01-11T06:42:24.587Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 11 06:36 OWNERS.md [2023-01-11T06:42:24.587Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 11 06:36 README.md [2023-01-11T06:42:24.587Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 11 06:34 VERSION [2023-01-11T06:42:24.587Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:36 bin [2023-01-11T06:42:24.587Z] -rw-r--r-- 1 jenkins jenkins 100830 Jan 11 06:40 coverage.out [2023-01-11T06:42:24.587Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 11 06:36 example [2023-01-11T06:42:24.587Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 11 06:36 go.mod [2023-01-11T06:42:24.587Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 11 06:36 go.sum [2023-01-11T06:42:24.587Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 11 06:36 internal [2023-01-11T06:42:24.587Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 06:36 openapi [2023-01-11T06:42:24.588Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 11 06:36 pkg [2023-01-11T06:42:24.588Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 06:36 snap [2023-01-11T06:42:24.588Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 11 06:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T06:42:24.913Z] + 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=96b3ac124bb90df02dc48aa4cbc603050596b4fa --label arch=arm64 --label version=0.0.0 . [2023-01-11T06:42:25.185Z] Sending build context to Docker daemon 5.734MB [2023-01-11T06:42:25.185Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-11T06:42:25.185Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-11T06:42:25.185Z] ---> aec19785a070 [2023-01-11T06:42:25.185Z] Step 3/23 : ARG MAKE=make build [2023-01-11T06:42:25.459Z] ---> Running in 08444d6cff45 [2023-01-11T06:42:25.726Z] Removing intermediate container 08444d6cff45 [2023-01-11T06:42:25.726Z] ---> 93bc2255b35f [2023-01-11T06:42:25.726Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-11T06:42:25.726Z] ---> Running in efe13fffb696 [2023-01-11T06:42:25.996Z] Removing intermediate container efe13fffb696 [2023-01-11T06:42:25.997Z] ---> 85176190e458 [2023-01-11T06:42:25.997Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-11T06:42:26.264Z] ---> Running in d901c2223b85 [2023-01-11T06:42:26.531Z] Removing intermediate container d901c2223b85 [2023-01-11T06:42:26.532Z] ---> 5d9a50b36d74 [2023-01-11T06:42:26.532Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-11T06:42:26.532Z] ---> Running in f3cdc8b273b4 [2023-01-11T06:42:27.590Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T06:42:27.590Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T06:42:28.562Z] OK: 221 MiB in 51 packages [2023-01-11T06:42:29.536Z] Removing intermediate container f3cdc8b273b4 [2023-01-11T06:42:29.536Z] ---> 63cf37ebe00d [2023-01-11T06:42:29.536Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-11T06:42:29.814Z] ---> 404ed6f8326b [2023-01-11T06:42:29.814Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-11T06:42:29.814Z] ---> Running in a8c1aa5f7e85 [2023-01-11T06:42:33.187Z] Removing intermediate container a8c1aa5f7e85 [2023-01-11T06:42:33.187Z] ---> 0b12ae315152 [2023-01-11T06:42:33.187Z] Step 9/23 : COPY . . [2023-01-11T06:42:34.165Z] ---> a4e69f232a74 [2023-01-11T06:42:34.165Z] Step 10/23 : RUN ${MAKE} [2023-01-11T06:42:34.165Z] ---> Running in f879a90e9234 [2023-01-11T06:42:35.126Z] 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-01-11T06:44:26.822Z] Removing intermediate container f879a90e9234 [2023-01-11T06:44:26.822Z] ---> 1fde77e0ecc5 [2023-01-11T06:44:26.822Z] Step 11/23 : FROM alpine:3.16 [2023-01-11T06:44:26.822Z] 3.16: Pulling from library/alpine [2023-01-11T06:44:26.822Z] 6875df1f5354: Pulling fs layer [2023-01-11T06:44:26.822Z] 6875df1f5354: Verifying Checksum [2023-01-11T06:44:26.822Z] 6875df1f5354: Download complete [2023-01-11T06:44:27.093Z] 6875df1f5354: Pull complete [2023-01-11T06:44:27.093Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-11T06:44:27.093Z] Status: Downloaded newer image for alpine:3.16 [2023-01-11T06:44:27.093Z] ---> 2b4661558fb8 [2023-01-11T06:44:27.093Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-11T06:44:27.361Z] ---> Running in ddfb19d7fbbe [2023-01-11T06:44:27.632Z] Removing intermediate container ddfb19d7fbbe [2023-01-11T06:44:27.632Z] ---> 0f3f9d6ff70b [2023-01-11T06:44:27.632Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-11T06:44:27.632Z] ---> Running in 11f752ddda97 [2023-01-11T06:44:28.595Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-11T06:44:28.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-11T06:44:29.821Z] OK: 5 MiB in 14 packages [2023-01-11T06:44:30.781Z] Removing intermediate container 11f752ddda97 [2023-01-11T06:44:30.781Z] ---> bd3c07ceccd8 [2023-01-11T06:44:30.781Z] Step 14/23 : WORKDIR / [2023-01-11T06:44:30.781Z] ---> Running in b79067f9bf7f [2023-01-11T06:44:31.048Z] Removing intermediate container b79067f9bf7f [2023-01-11T06:44:31.048Z] ---> 9b907234fdd1 [2023-01-11T06:44:31.048Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-11T06:44:31.632Z] ---> 4c31d29a5fb2 [2023-01-11T06:44:31.632Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-11T06:44:33.039Z] ---> 1d3dbae8cbe6 [2023-01-11T06:44:33.039Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-11T06:44:33.623Z] ---> 5c7f4a86eed2 [2023-01-11T06:44:33.623Z] Step 18/23 : EXPOSE 59999 [2023-01-11T06:44:33.623Z] ---> Running in 5aa198bfcfbd [2023-01-11T06:44:33.891Z] Removing intermediate container 5aa198bfcfbd [2023-01-11T06:44:33.891Z] ---> f8441caab633 [2023-01-11T06:44:33.891Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-11T06:44:33.891Z] ---> Running in eb95a29a4092 [2023-01-11T06:44:34.159Z] Removing intermediate container eb95a29a4092 [2023-01-11T06:44:34.159Z] ---> 38841a085ecf [2023-01-11T06:44:34.159Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-11T06:44:34.159Z] ---> Running in cbef78381918 [2023-01-11T06:44:34.425Z] Removing intermediate container cbef78381918 [2023-01-11T06:44:34.425Z] ---> 59f1366e494d [2023-01-11T06:44:34.425Z] Step 21/23 : LABEL arch=arm64 [2023-01-11T06:44:34.691Z] ---> Running in e84963543e68 [2023-01-11T06:44:34.958Z] Removing intermediate container e84963543e68 [2023-01-11T06:44:34.958Z] ---> 317e60bfcf8d [2023-01-11T06:44:34.958Z] Step 22/23 : LABEL git_sha=96b3ac124bb90df02dc48aa4cbc603050596b4fa [2023-01-11T06:44:34.958Z] ---> Running in 4b5dd1f74ef9 [2023-01-11T06:44:35.224Z] Removing intermediate container 4b5dd1f74ef9 [2023-01-11T06:44:35.224Z] ---> 7df64a0e0e70 [2023-01-11T06:44:35.224Z] Step 23/23 : LABEL version=0.0.0 [2023-01-11T06:44:35.224Z] ---> Running in f4b450fcba08 [2023-01-11T06:44:35.489Z] Removing intermediate container f4b450fcba08 [2023-01-11T06:44:35.489Z] ---> 2e7f6b86b7a3 [2023-01-11T06:44:35.489Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-11T06:44:35.489Z] Successfully built 2e7f6b86b7a3 [2023-01-11T06:44:35.489Z] 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-01-11T06:44:35.925Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T06:44:35.926Z] [2023-01-11T06:44:35.926Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T06:44:36.261Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T06:44:36.261Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-11T06:44:36.261Z] 8998bd30e6a1: Pulling fs layer [2023-01-11T06:44:36.261Z] 04944245beec: Pulling fs layer [2023-01-11T06:44:36.261Z] 699f458cf7ca: Pulling fs layer [2023-01-11T06:44:36.261Z] 765212b225bb: Pulling fs layer [2023-01-11T06:44:36.261Z] f23df028b6ca: Pulling fs layer [2023-01-11T06:44:36.261Z] d65c8cfc05b1: Pulling fs layer [2023-01-11T06:44:36.261Z] 2437ff75d9bd: Pulling fs layer [2023-01-11T06:44:36.261Z] 765212b225bb: Waiting [2023-01-11T06:44:36.261Z] f23df028b6ca: Waiting [2023-01-11T06:44:36.261Z] d65c8cfc05b1: Waiting [2023-01-11T06:44:36.261Z] 2437ff75d9bd: Waiting [2023-01-11T06:44:36.531Z] 04944245beec: Verifying Checksum [2023-01-11T06:44:36.531Z] 04944245beec: Download complete [2023-01-11T06:44:36.531Z] 765212b225bb: Verifying Checksum [2023-01-11T06:44:36.531Z] 765212b225bb: Download complete [2023-01-11T06:44:36.531Z] f23df028b6ca: Verifying Checksum [2023-01-11T06:44:36.531Z] f23df028b6ca: Download complete [2023-01-11T06:44:36.531Z] d65c8cfc05b1: Verifying Checksum [2023-01-11T06:44:36.531Z] d65c8cfc05b1: Download complete [2023-01-11T06:44:36.801Z] 699f458cf7ca: Verifying Checksum [2023-01-11T06:44:36.801Z] 699f458cf7ca: Download complete [2023-01-11T06:44:37.076Z] 8998bd30e6a1: Verifying Checksum [2023-01-11T06:44:37.076Z] 8998bd30e6a1: Download complete [2023-01-11T06:44:39.649Z] 2437ff75d9bd: Verifying Checksum [2023-01-11T06:44:39.649Z] 2437ff75d9bd: Download complete [2023-01-11T06:44:41.059Z] 8998bd30e6a1: Pull complete [2023-01-11T06:44:41.643Z] 04944245beec: Pull complete [2023-01-11T06:44:43.049Z] 699f458cf7ca: Pull complete [2023-01-11T06:44:43.049Z] 765212b225bb: Pull complete [2023-01-11T06:44:44.013Z] f23df028b6ca: Pull complete [2023-01-11T06:44:44.013Z] d65c8cfc05b1: Pull complete [2023-01-11T06:44:58.476Z] 2437ff75d9bd: Pull complete [2023-01-11T06:44:58.476Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-11T06:44:58.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-11T06:44:58.476Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T06:44:58.664Z] prd-ubuntu20.04-docker-arm64-4c-16g-1810 does not seem to be running inside a container [2023-01-11T06:44:58.732Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-11T06:45:01.327Z] $ docker top 48e44b26c27f9f43b1ec436e79726eb265988dd375a6cdabebcc719eebe4b7cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-11T06:45:01.842Z] ---> job-cost.sh [2023-01-11T06:45:02.110Z] lf-activate-venv: SKIPPING [2023-01-11T06:45:02.110Z] INFO: No Stack... [2023-01-11T06:45:02.692Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-11T06:45:03.274Z] INFO: Archiving Costs [Pipeline] sh [2023-01-11T06:45:03.931Z] + + cut -d, -f6 [2023-01-11T06:45:03.931Z] cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2023-01-11T06:45:03.999Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1276-2-stack-cost] [2023-01-11T06:45:04.007Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1276-2-stack-cost] did not exist. Created. [2023-01-11T06:45:04.007Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1276-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-11T06:45:04.659Z] /w/workspace/device-sdk-go/2@tmp/durable-dae4f7fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-11T06:45:04.992Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-11T06:45:05.016Z] Warning: overwriting stash ‘stack-cost’ [2023-01-11T06:45:05.077Z] Stashed 1 file(s) [Pipeline] } [2023-01-11T06:45:05.084Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1276-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-11T06:45:05.103Z] $ docker stop --time=1 48e44b26c27f9f43b1ec436e79726eb265988dd375a6cdabebcc719eebe4b7cc [2023-01-11T06:45:06.589Z] $ docker rm -f --volumes 48e44b26c27f9f43b1ec436e79726eb265988dd375a6cdabebcc719eebe4b7cc [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-01-11T06:45:06.964Z] provisioning config files... [2023-01-11T06:45:06.971Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/config4315521016765998009tmp [Pipeline] { [Pipeline] sh [2023-01-11T06:45:07.259Z] + set +x [2023-01-11T06:45:07.259Z] + curl -s https://codecov.io/bash [2023-01-11T06:45:07.259Z] + bash -s -- [2023-01-11T06:45:07.259Z] [2023-01-11T06:45:07.259Z] _____ _ [2023-01-11T06:45:07.259Z] / ____| | | [2023-01-11T06:45:07.259Z] | | ___ __| | ___ ___ _____ __ [2023-01-11T06:45:07.259Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-11T06:45:07.259Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-11T06:45:07.259Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-11T06:45:07.259Z] Bash-1.0.6 [2023-01-11T06:45:07.259Z] [2023-01-11T06:45:07.259Z] [2023-01-11T06:45:07.259Z] ==> git version 2.25.1 found [2023-01-11T06:45:07.259Z] ==> 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-01-11T06:45:07.259Z] Release-Date: 2020-01-08 [2023-01-11T06:45:07.259Z] 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-01-11T06:45:07.259Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-11T06:45:07.259Z] ==> Jenkins CI detected. [2023-01-11T06:45:07.259Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1276 [2023-01-11T06:45:07.259Z] project root: . [2023-01-11T06:45:07.259Z] --> token set from env [2023-01-11T06:45:07.259Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-11T06:45:07.259Z] ==> Running gcov in . (disable via -X gcov) [2023-01-11T06:45:07.259Z] ==> Python coveragepy not found [2023-01-11T06:45:07.259Z] ==> Searching for coverage reports in: [2023-01-11T06:45:07.259Z] + . [2023-01-11T06:45:07.259Z] -> Found 1 reports [2023-01-11T06:45:07.259Z] ==> Detecting git/mercurial file structure [2023-01-11T06:45:07.259Z] ==> Reading reports [2023-01-11T06:45:07.259Z] + ./coverage.out bytes=100830 [2023-01-11T06:45:07.521Z] ==> Appending adjustments [2023-01-11T06:45:07.521Z] https://docs.codecov.io/docs/fixing-reports [2023-01-11T06:45:07.779Z] + Found adjustments [2023-01-11T06:45:07.779Z] ==> Gzipping contents [2023-01-11T06:45:07.779Z] 16K /tmp/codecov.OVo3uF.gz [2023-01-11T06:45:07.779Z] ==> Uploading reports [2023-01-11T06:45:07.779Z] url: https://codecov.io [2023-01-11T06:45:07.779Z] query: branch=PR-1276&commit=96b3ac124bb90df02dc48aa4cbc603050596b4fa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1276%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1276&job=&cmd_args= [2023-01-11T06:45:07.779Z] -> Pinging Codecov [2023-01-11T06:45:07.779Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1276&commit=96b3ac124bb90df02dc48aa4cbc603050596b4fa&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1276%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1276&job=&cmd_args= [2023-01-11T06:45:08.037Z] -> Uploading to [2023-01-11T06:45:08.037Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-11/7E55EF52A471D76F132DFD9A03CDDE97/96b3ac124bb90df02dc48aa4cbc603050596b4fa/e0163184-d396-4172-b023-a424d7093603.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230111T064507Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0460573ccb4ee796fc669ad7cf550294f33475f8347f51bb8abfae1284341f91 [2023-01-11T06:45:08.037Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-11T06:45:08.037Z] Dload Upload Total Spent Left Speed [2023-01-11T06:45:08.295Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14708 0 0 100 14708 0 57905 --:--:-- --:--:-- --:--:-- 57905 [2023-01-11T06:45:08.295Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/96b3ac124bb90df02dc48aa4cbc603050596b4fa [Pipeline] } [2023-01-11T06:45:08.302Z] 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-01-11T06:45:08.979Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives ] [2023-01-11T06:45:08.979Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives [2023-01-11T06:45:08.979Z] total 16 [2023-01-11T06:45:08.979Z] drwxr-xr-x 3 root root 4096 Jan 11 06:36 . [2023-01-11T06:45:08.979Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 11 06:36 .. [2023-01-11T06:45:08.979Z] drwxr-xr-x 2 root root 4096 Jan 11 06:36 cost [2023-01-11T06:45:08.979Z] -rw-r--r-- 1 root root 86 Jan 11 06:36 cost.csv [2023-01-11T06:45:08.979Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives [2023-01-11T06:45:08.979Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives [2023-01-11T06:45:08.979Z] total 16 [2023-01-11T06:45:08.979Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 11 06:36 . [2023-01-11T06:45:08.979Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 11 06:36 .. [2023-01-11T06:45:08.979Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 11 06:36 cost [2023-01-11T06:45:08.979Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 11 06:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-11T06:45:09.278Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T06:45:10.145Z] ---> package-listing.sh [2023-01-11T06:45:10.145Z] ++ facter osfamily [2023-01-11T06:45:10.145Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-11T06:45:10.405Z] + OS_FAMILY=debian [2023-01-11T06:45:10.405Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1276 [2023-01-11T06:45:10.405Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-11T06:45:10.405Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-11T06:45:10.405Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-11T06:45:10.405Z] + PACKAGES=/tmp/packages_start.txt [2023-01-11T06:45:10.405Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1276 ']' [2023-01-11T06:45:10.405Z] + PACKAGES=/tmp/packages_end.txt [2023-01-11T06:45:10.405Z] + case "${OS_FAMILY}" in [2023-01-11T06:45:10.405Z] + dpkg -l [2023-01-11T06:45:10.405Z] + grep '^ii' [2023-01-11T06:45:10.405Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-11T06:45:10.405Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-11T06:45:10.405Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-11T06:45:10.405Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1276 ']' [2023-01-11T06:45:10.405Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives/ [2023-01-11T06:45:10.405Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives/ [Pipeline] echo [2023-01-11T06:45:10.417Z] 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-1276/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-11T06:45:10.696Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-11T06:45:11.254Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-11T06:45:11.254Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-11T06:45:11.322Z] prd-ubuntu20.04-docker-8c-8g-1809 does not seem to be running inside a container [2023-01-11T06:45:11.353Z] $ 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-1276/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-1276 -v /w/workspace/gexfoundry_device-sdk-go_PR-1276:/w/workspace/gexfoundry_device-sdk-go_PR-1276:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1276@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-01-11T06:45:11.572Z] $ docker top 9d90911492d2dc254986b075126ea748cb6e8363aa83544f14b4337402f6ca65 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-11T06:45:12.122Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-11T06:45:12.408Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-11T06:45:12.693Z] + ls /var/log/sa-host [2023-01-11T06:45:12.693Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-11T06:45:12.834Z] provisioning config files... [2023-01-11T06:45:12.841Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/config10345235641871395877tmp [Pipeline] { [Pipeline] echo [2023-01-11T06:45:12.852Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T06:45:13.138Z] ---> create-netrc.sh [Pipeline] } [2023-01-11T06:45:13.145Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-11T06:45:13.480Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-11T06:45:13.489Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T06:45:13.774Z] ---> sudo-logs.sh [2023-01-11T06:45:13.774Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-11T06:45:13.807Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T06:45:14.092Z] ---> job-cost.sh [2023-01-11T06:45:14.092Z] lf-activate-venv: SKIPPING [2023-01-11T06:45:14.092Z] DEBUG: total: 0.2199999988079071 [2023-01-11T06:45:14.092Z] INFO: Retrieving Stack Cost... [2023-01-11T06:45:15.472Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-11T06:45:15.472Z] INFO: Archiving Costs [Pipeline] echo [2023-01-11T06:45:15.482Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-11T06:45:15.767Z] ---> logs-deploy.sh [2023-01-11T06:45:15.767Z] lf-activate-venv: SKIPPING [2023-01-11T06:45:15.767Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1276/2 [2023-01-11T06:45:15.767Z] INFO: archiving workspace using pattern(s): [2023-01-11T06:45:16.705Z] Archives upload complete. [2023-01-11T06:45:16.705Z] INFO: archiving logs to Nexus