Pull request #1359 event Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-sdk-go Loading trusted files from base branch levski at b76771b07adf0b8c2e38dd8a749adeac8b55b549 rather than 625f29720569d2b29cfb0bb03b03e9ba312a8048 Obtained Jenkinsfile from b76771b07adf0b8c2e38dd8a749adeac8b55b549 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-ssh13567265900280581209.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-ssh18041463243476713040.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-1359/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-1359/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2587269505942764403.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-ssh8021749726724779106.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-1359/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-1359/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9893284083915434942.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8448 in /w/workspace/gexfoundry_device-sdk-go_PR-1359 [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-1359 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Merging remotes/origin/levski commit b76771b07adf0b8c2e38dd8a749adeac8b55b549 into PR head commit 625f29720569d2b29cfb0bb03b03e9ba312a8048 Merge succeeded, producing 625f29720569d2b29cfb0bb03b03e9ba312a8048 Checking out Revision 625f29720569d2b29cfb0bb03b03e9ba312a8048 (PR-1359) 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/1359/head:refs/remotes/origin/PR-1359 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 625f29720569d2b29cfb0bb03b03e9ba312a8048 # 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 b76771b07adf0b8c2e38dd8a749adeac8b55b549 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 625f29720569d2b29cfb0bb03b03e9ba312a8048 # timeout=10 Commit message: "fix: assign device service in dic before driver.Initialize" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-07T01:11:35.885Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-07T01:11:35.927Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-07T01:11:35.939Z] ========================================================= [2023-03-07T01:11:35.939Z] EdgeX Global Pipelines Version Info [2023-03-07T01:11:35.939Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1c8fa23c1c11213189329f8e26a15dc1a63aa47e # timeout=10 [2023-03-07T01:11:36.652Z] ------------------- [2023-03-07T01:11:36.652Z] stable info: [2023-03-07T01:11:36.652Z] ------------------- [2023-03-07T01:11:36.652Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-07T01:11:36.652Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T01:11:36.652Z] Message: update stable to v1.0.244 [2023-03-07T01:11:37.223Z] ------------------- [2023-03-07T01:11:37.223Z] experimental info: [2023-03-07T01:11:37.223Z] ------------------- [2023-03-07T01:11:37.223Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-07T01:11:37.223Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T01:11:37.223Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-07T01:11:37.387Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-07T01:11:37.399Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-07T01:11:37.410Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-07T01:11:37.421Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-07T01:11:37.436Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-07T01:11:37.448Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-07T01:11:37.461Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-07T01:11:37.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-07T01:11:37.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-07T01:11:37.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-07T01:11:37.510Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-07T01:11:37.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-07T01:11:37.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-07T01:11:37.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-07T01:11:37.566Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T01:11:37.581Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T01:11:37.596Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T01:11:37.613Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T01:11:37.625Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-07T01:11:37.640Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-07T01:11:37.652Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-07T01:11:37.665Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-03-07T01:11:37.677Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-07T01:11:37.690Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-07T01:11:37.702Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-07T01:11:37.716Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-07T01:11:37.725Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-07T01:11:37.733Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1359 [Pipeline] echo [2023-03-07T01:11:37.742Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1359 [Pipeline] echo [2023-03-07T01:11:37.750Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1359 [Pipeline] echo [2023-03-07T01:11:37.759Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 625f29720569d2b29cfb0bb03b03e9ba312a8048 [Pipeline] echo [2023-03-07T01:11:37.768Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 625f297 [Pipeline] echo [2023-03-07T01:11:37.776Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T01:11:37.831Z] provisioning config files... [2023-03-07T01:11:37.844Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp/config9989360447252309473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:11:38.148Z] ---> docker-login.sh [2023-03-07T01:11:38.148Z] nexus3.edgexfoundry.org:10001 [2023-03-07T01:11:38.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:11:38.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:11:38.408Z] Configure a credential helper to remove this warning. See [2023-03-07T01:11:38.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:11:38.408Z] [2023-03-07T01:11:38.408Z] Login Succeeded [2023-03-07T01:11:38.408Z] nexus3.edgexfoundry.org:10002 [2023-03-07T01:11:38.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:11:38.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:11:38.668Z] Configure a credential helper to remove this warning. See [2023-03-07T01:11:38.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:11:38.668Z] [2023-03-07T01:11:38.668Z] Login Succeeded [2023-03-07T01:11:38.668Z] nexus3.edgexfoundry.org:10003 [2023-03-07T01:11:38.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:11:38.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:11:38.668Z] Configure a credential helper to remove this warning. See [2023-03-07T01:11:38.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:11:38.668Z] [2023-03-07T01:11:38.668Z] Login Succeeded [2023-03-07T01:11:38.668Z] nexus3.edgexfoundry.org:10004 [2023-03-07T01:11:38.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:11:38.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:11:38.928Z] Configure a credential helper to remove this warning. See [2023-03-07T01:11:38.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:11:38.928Z] [2023-03-07T01:11:38.928Z] Login Succeeded [2023-03-07T01:11:38.928Z] docker.io [2023-03-07T01:11:38.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:11:39.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:11:39.186Z] Configure a credential helper to remove this warning. See [2023-03-07T01:11:39.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:11:39.186Z] [2023-03-07T01:11:39.186Z] Login Succeeded [2023-03-07T01:11:39.186Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T01:11:39.194Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-07T01:11:39.569Z] + git rev-list -1 --merges 625f29720569d2b29cfb0bb03b03e9ba312a8048~1..625f29720569d2b29cfb0bb03b03e9ba312a8048 [Pipeline] echo [2023-03-07T01:11:39.616Z] -----------> git rev-list -1 --merges 625f29720569d2b29cfb0bb03b03e9ba312a8048~1..625f29720569d2b29cfb0bb03b03e9ba312a8048 625f29720569d2b29cfb0bb03b03e9ba312a8048 [false] [Pipeline] sh [2023-03-07T01:11:39.905Z] + git log --format=format:%s -1 625f29720569d2b29cfb0bb03b03e9ba312a8048 [Pipeline] echo [2023-03-07T01:11:39.922Z] ========================================================= [2023-03-07T01:11:39.922Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-07T01:11:39.922Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T01:11:40.244Z] + git log --format=format:%s -1 625f29720569d2b29cfb0bb03b03e9ba312a8048 [Pipeline] echo [2023-03-07T01:11:40.256Z] [semverPrep] GIT_COMMIT: 625f29720569d2b29cfb0bb03b03e9ba312a8048, Commit Message: fix: assign device service in dic before driver.Initialize [Pipeline] echo [2023-03-07T01:11:40.265Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-07T01:11:40.636Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-07T01:11:40.636Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-07T01:11:40.636Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-07T01:11:40.636Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-07T01:11:40.636Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-07T01:11:40.636Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-07T01:11:40.636Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:11:41.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T01:11:41.045Z] [2023-03-07T01:11:41.045Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:11:41.346Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T01:11:41.346Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-07T01:11:41.346Z] b85a868b505f: Pulling fs layer [2023-03-07T01:11:41.346Z] e2be974225ed: Pulling fs layer [2023-03-07T01:11:41.346Z] 339a4e72a1f5: Pulling fs layer [2023-03-07T01:11:41.346Z] 988bab9f4d93: Pulling fs layer [2023-03-07T01:11:41.346Z] 1469e6f7b9e6: Pulling fs layer [2023-03-07T01:11:41.346Z] eaf3925da568: Pulling fs layer [2023-03-07T01:11:41.346Z] bab4dde63d76: Pulling fs layer [2023-03-07T01:11:41.346Z] bde34c3a00c8: Pulling fs layer [2023-03-07T01:11:41.346Z] b352a97aabf1: Pulling fs layer [2023-03-07T01:11:41.346Z] 4872d77fe225: Pulling fs layer [2023-03-07T01:11:41.346Z] 5851b861e8e6: Pulling fs layer [2023-03-07T01:11:41.346Z] 988bab9f4d93: Waiting [2023-03-07T01:11:41.346Z] 1469e6f7b9e6: Waiting [2023-03-07T01:11:41.346Z] eaf3925da568: Waiting [2023-03-07T01:11:41.346Z] bab4dde63d76: Waiting [2023-03-07T01:11:41.346Z] 5851b861e8e6: Waiting [2023-03-07T01:11:41.346Z] 4872d77fe225: Waiting [2023-03-07T01:11:41.346Z] bde34c3a00c8: Waiting [2023-03-07T01:11:41.346Z] e2be974225ed: Verifying Checksum [2023-03-07T01:11:41.346Z] e2be974225ed: Download complete [2023-03-07T01:11:41.346Z] 988bab9f4d93: Verifying Checksum [2023-03-07T01:11:41.346Z] 988bab9f4d93: Download complete [2023-03-07T01:11:41.609Z] 1469e6f7b9e6: Verifying Checksum [2023-03-07T01:11:41.609Z] 1469e6f7b9e6: Download complete [2023-03-07T01:11:41.609Z] eaf3925da568: Verifying Checksum [2023-03-07T01:11:41.609Z] eaf3925da568: Download complete [2023-03-07T01:11:41.609Z] 339a4e72a1f5: Verifying Checksum [2023-03-07T01:11:41.609Z] 339a4e72a1f5: Download complete [2023-03-07T01:11:41.609Z] bde34c3a00c8: Verifying Checksum [2023-03-07T01:11:41.609Z] bde34c3a00c8: Download complete [2023-03-07T01:11:41.609Z] b352a97aabf1: Download complete [2023-03-07T01:11:41.609Z] 4872d77fe225: Download complete [2023-03-07T01:11:41.609Z] 5851b861e8e6: Download complete [2023-03-07T01:11:41.868Z] b85a868b505f: Verifying Checksum [2023-03-07T01:11:41.868Z] b85a868b505f: Download complete [2023-03-07T01:11:42.125Z] bab4dde63d76: Verifying Checksum [2023-03-07T01:11:42.125Z] bab4dde63d76: Download complete [2023-03-07T01:11:43.060Z] b85a868b505f: Pull complete [2023-03-07T01:11:43.060Z] e2be974225ed: Pull complete [2023-03-07T01:11:43.627Z] 339a4e72a1f5: Pull complete [2023-03-07T01:11:43.627Z] 988bab9f4d93: Pull complete [2023-03-07T01:11:43.886Z] 1469e6f7b9e6: Pull complete [2023-03-07T01:11:43.886Z] eaf3925da568: Pull complete [2023-03-07T01:11:45.788Z] bab4dde63d76: Pull complete [2023-03-07T01:11:45.788Z] bde34c3a00c8: Pull complete [2023-03-07T01:11:45.788Z] b352a97aabf1: Pull complete [2023-03-07T01:11:45.788Z] 4872d77fe225: Pull complete [2023-03-07T01:11:45.788Z] 5851b861e8e6: Pull complete [2023-03-07T01:11:45.788Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-07T01:11:45.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T01:11:45.788Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:11:45.874Z] prd-ubuntu20.04-docker-8c-8g-8448 does not seem to be running inside a container [2023-03-07T01:11:45.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1359 -v /w/workspace/gexfoundry_device-sdk-go_PR-1359:/w/workspace/gexfoundry_device-sdk-go_PR-1359:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-07T01:11:47.844Z] $ docker top 0eb3da053856e279748f0238962ba60f33a205a2c80f602f85628bbc7183eb31 -eo pid,comm [2023-03-07T01:11:47.894Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-07T01:11:47.894Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-07T01:11:47.933Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T01:11:47.933Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T01:11:48.054Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T01:11:48.062Z] $ docker exec 0eb3da053856e279748f0238962ba60f33a205a2c80f602f85628bbc7183eb31 ssh-agent [2023-03-07T01:11:48.168Z] SSH_AUTH_SOCK=/tmp/ssh-56pQBvl9z1iN/agent.32 [2023-03-07T01:11:48.168Z] SSH_AGENT_PID=38 [2023-03-07T01:11:48.174Z] Running ssh-add (command line suppressed) [2023-03-07T01:11:48.272Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp/private_key_12255223132647053934.key (/w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp/private_key_12255223132647053934.key) [2023-03-07T01:11:48.279Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T01:11:48.564Z] + git tag --points-at HEAD [Pipeline] } [2023-03-07T01:11:48.581Z] $ docker exec --env ******** --env ******** 0eb3da053856e279748f0238962ba60f33a205a2c80f602f85628bbc7183eb31 ssh-agent -k [2023-03-07T01:11:48.688Z] unset SSH_AUTH_SOCK; [2023-03-07T01:11:48.688Z] unset SSH_AGENT_PID; [2023-03-07T01:11:48.688Z] echo Agent pid 38 killed; [2023-03-07T01:11:48.694Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-07T01:11:48.718Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T01:11:48.718Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T01:11:48.832Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T01:11:48.839Z] $ docker exec 0eb3da053856e279748f0238962ba60f33a205a2c80f602f85628bbc7183eb31 ssh-agent [2023-03-07T01:11:48.945Z] SSH_AUTH_SOCK=/tmp/ssh-K0a5WjqbX3cB/agent.71 [2023-03-07T01:11:48.945Z] SSH_AGENT_PID=77 [2023-03-07T01:11:48.950Z] Running ssh-add (command line suppressed) [2023-03-07T01:11:49.081Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp/private_key_628402317883878306.key (/w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp/private_key_628402317883878306.key) [2023-03-07T01:11:49.091Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T01:11:49.376Z] + git semver init [2023-03-07T01:11:49.945Z] 2023-03-07 01:11:49,648 [run_init] DEBUG init version:0.0.0 force:False [2023-03-07T01:11:49.945Z] 2023-03-07 01:11:49,649 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1359/.semver [2023-03-07T01:11:49.945Z] 2023-03-07 01:11:49,650 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1359/.semver [2023-03-07T01:11:49.945Z] 2023-03-07 01:11:49,650 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1359/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1359, universal_newlines=False, shell=None, istream=None) [2023-03-07T01:11:50.886Z] 2023-03-07 01:11:50,605 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1359/.git/info/exclude [2023-03-07T01:11:50.886Z] 2023-03-07 01:11:50,606 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1359/.semver/PR-1359 with force:False [2023-03-07T01:11:50.886Z] 2023-03-07 01:11:50,606 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1359/.semver/PR-1359 [2023-03-07T01:11:50.886Z] 2023-03-07 01:11:50,610 [execute] INFO git cat-file --batch-check [2023-03-07T01:11:50.886Z] 2023-03-07 01:11:50,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1359/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T01:11:50.886Z] 2023-03-07 01:11:50,615 [execute] INFO git cat-file --batch [2023-03-07T01:11:50.886Z] 2023-03-07 01:11:50,615 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1359/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T01:11:50.886Z] 2023-03-07 01:11:50,620 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1359/.semver/PR-1359 [2023-03-07T01:11:50.886Z] 0.0.0 [Pipeline] } [2023-03-07T01:11:50.902Z] $ docker exec --env ******** --env ******** 0eb3da053856e279748f0238962ba60f33a205a2c80f602f85628bbc7183eb31 ssh-agent -k [2023-03-07T01:11:51.012Z] unset SSH_AUTH_SOCK; [2023-03-07T01:11:51.012Z] unset SSH_AGENT_PID; [2023-03-07T01:11:51.013Z] echo Agent pid 77 killed; [2023-03-07T01:11:51.018Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-07T01:11:51.328Z] + git semver [Pipeline] } [2023-03-07T01:11:51.605Z] $ docker stop --time=1 0eb3da053856e279748f0238962ba60f33a205a2c80f602f85628bbc7183eb31 [2023-03-07T01:11:52.934Z] $ docker rm -f --volumes 0eb3da053856e279748f0238962ba60f33a205a2c80f602f85628bbc7183eb31 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T01:11:53.275Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-07T01:11:53.587Z] Stashed 1 file(s) [Pipeline] echo [2023-03-07T01:11:53.591Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T01:11:53.745Z] provisioning config files... [2023-03-07T01:11:53.754Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp/config4813135568538807726tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:11:54.051Z] ---> docker-login.sh [2023-03-07T01:11:54.051Z] nexus3.edgexfoundry.org:10001 [2023-03-07T01:11:54.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:11:54.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:11:54.051Z] Configure a credential helper to remove this warning. See [2023-03-07T01:11:54.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:11:54.051Z] [2023-03-07T01:11:54.051Z] Login Succeeded [2023-03-07T01:11:54.051Z] nexus3.edgexfoundry.org:10002 [2023-03-07T01:11:54.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:11:54.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:11:54.051Z] Configure a credential helper to remove this warning. See [2023-03-07T01:11:54.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:11:54.051Z] [2023-03-07T01:11:54.051Z] Login Succeeded [2023-03-07T01:11:54.051Z] nexus3.edgexfoundry.org:10003 [2023-03-07T01:11:54.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:11:54.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:11:54.880Z] Configure a credential helper to remove this warning. See [2023-03-07T01:11:54.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:11:54.880Z] [2023-03-07T01:11:54.880Z] Login Succeeded [2023-03-07T01:11:54.880Z] nexus3.edgexfoundry.org:10004 [2023-03-07T01:11:54.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:11:54.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:11:54.880Z] Configure a credential helper to remove this warning. See [2023-03-07T01:11:54.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:11:54.880Z] [2023-03-07T01:11:54.880Z] Login Succeeded [2023-03-07T01:11:54.880Z] docker.io [2023-03-07T01:11:54.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:11:55.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:11:55.139Z] Configure a credential helper to remove this warning. See [2023-03-07T01:11:55.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:11:55.139Z] [2023-03-07T01:11:55.139Z] Login Succeeded [2023-03-07T01:11:55.139Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T01:11:55.147Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T01:11:55.209Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T01:11:55.221Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T01:11:55.228Z] ========================================================= [2023-03-07T01:11:55.228Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-07T01:11:55.228Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:11:55.530Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-07T01:11:55.531Z] Sending build context to Docker daemon 10.65MB [2023-03-07T01:11:55.531Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T01:11:55.531Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-07T01:11:55.531Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-07T01:11:55.531Z] 213ec9aee27d: Pulling fs layer [2023-03-07T01:11:55.531Z] 4583459ba037: Pulling fs layer [2023-03-07T01:11:55.531Z] 93c1e223e6f2: Pulling fs layer [2023-03-07T01:11:55.531Z] 53926ce57604: Pulling fs layer [2023-03-07T01:11:55.531Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-07T01:11:55.531Z] 22ff95d597cd: Pulling fs layer [2023-03-07T01:11:55.531Z] 12d6caf4c0d1: Pulling fs layer [2023-03-07T01:11:55.531Z] 96b7cbca73a9: Pulling fs layer [2023-03-07T01:11:55.531Z] a7acece74701: Pulling fs layer [2023-03-07T01:11:55.531Z] 53926ce57604: Waiting [2023-03-07T01:11:55.531Z] 21b2b0c7a3f4: Waiting [2023-03-07T01:11:55.531Z] 22ff95d597cd: Waiting [2023-03-07T01:11:55.531Z] 12d6caf4c0d1: Waiting [2023-03-07T01:11:55.531Z] 96b7cbca73a9: Waiting [2023-03-07T01:11:55.531Z] a7acece74701: Waiting [2023-03-07T01:11:55.531Z] 93c1e223e6f2: Download complete [2023-03-07T01:11:55.790Z] 4583459ba037: Download complete [2023-03-07T01:11:55.790Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-07T01:11:55.790Z] 21b2b0c7a3f4: Download complete [2023-03-07T01:11:55.790Z] 22ff95d597cd: Download complete [2023-03-07T01:11:55.790Z] 213ec9aee27d: Verifying Checksum [2023-03-07T01:11:55.790Z] 213ec9aee27d: Download complete [2023-03-07T01:11:55.790Z] 12d6caf4c0d1: Verifying Checksum [2023-03-07T01:11:55.790Z] 12d6caf4c0d1: Download complete [2023-03-07T01:11:55.790Z] 213ec9aee27d: Pull complete [2023-03-07T01:11:56.056Z] 4583459ba037: Pull complete [2023-03-07T01:11:56.056Z] 93c1e223e6f2: Pull complete [2023-03-07T01:11:56.317Z] a7acece74701: Verifying Checksum [2023-03-07T01:11:56.318Z] a7acece74701: Download complete [2023-03-07T01:11:56.577Z] 96b7cbca73a9: Verifying Checksum [2023-03-07T01:11:56.577Z] 96b7cbca73a9: Download complete [2023-03-07T01:11:56.835Z] 53926ce57604: Verifying Checksum [2023-03-07T01:11:56.835Z] 53926ce57604: Download complete [2023-03-07T01:12:00.121Z] 53926ce57604: Pull complete [2023-03-07T01:12:00.121Z] 21b2b0c7a3f4: Pull complete [2023-03-07T01:12:00.380Z] 22ff95d597cd: Pull complete [2023-03-07T01:12:00.380Z] 12d6caf4c0d1: Pull complete [2023-03-07T01:12:02.280Z] 96b7cbca73a9: Pull complete [2023-03-07T01:12:03.218Z] a7acece74701: Pull complete [2023-03-07T01:12:03.218Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-07T01:12:03.218Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-07T01:12:03.218Z] ---> db6d94c90886 [2023-03-07T01:12:03.218Z] Step 3/10 : ARG MAKE=make build [2023-03-07T01:12:04.607Z] ---> Running in c29787bf9947 [2023-03-07T01:12:04.866Z] Removing intermediate container c29787bf9947 [2023-03-07T01:12:04.866Z] ---> 1c0f2014c545 [2023-03-07T01:12:04.866Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-07T01:12:04.866Z] ---> Running in fdd890718152 [2023-03-07T01:12:04.866Z] Removing intermediate container fdd890718152 [2023-03-07T01:12:04.866Z] ---> 1b0eb75a1066 [2023-03-07T01:12:04.866Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T01:12:04.866Z] ---> Running in d247f127edc8 [2023-03-07T01:12:05.124Z] Removing intermediate container d247f127edc8 [2023-03-07T01:12:05.124Z] ---> c26360bf2fb4 [2023-03-07T01:12:05.124Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-03-07T01:12:05.124Z] ---> Running in 742abb6b8d7e [2023-03-07T01:12:05.382Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T01:12:05.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T01:12:05.900Z] OK: 211 MiB in 51 packages [2023-03-07T01:12:06.160Z] Removing intermediate container 742abb6b8d7e [2023-03-07T01:12:06.160Z] ---> 728408f61aa6 [2023-03-07T01:12:06.160Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-07T01:12:06.418Z] ---> f9d6a2297d59 [2023-03-07T01:12:06.418Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T01:12:06.418Z] ---> Running in da66f4e7acae [2023-03-07T01:12:08.701Z] Still waiting to schedule task [2023-03-07T01:12:08.701Z] ‘prd-centos7-blackbox-4c-2g-8233’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-07T01:12:08.701Z] ‘prd-centos7-blackbox-4c-2g-8234’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-07T01:12:08.702Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8447’ is offline [2023-03-07T01:12:24.609Z] Removing intermediate container da66f4e7acae [2023-03-07T01:12:24.609Z] ---> bfbd0b093d33 [2023-03-07T01:12:24.609Z] Step 9/10 : COPY . . [2023-03-07T01:12:24.609Z] ---> f490cbabf466 [2023-03-07T01:12:24.609Z] Step 10/10 : RUN ${MAKE} [2023-03-07T01:12:24.609Z] ---> Running in ae10505f4907 [2023-03-07T01:12:24.609Z] noop [2023-03-07T01:12:24.609Z] Removing intermediate container ae10505f4907 [2023-03-07T01:12:24.609Z] ---> 790e58f1cff3 [2023-03-07T01:12:24.609Z] Successfully built 790e58f1cff3 [2023-03-07T01:12:24.609Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:12:24.928Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T01:12:24.928Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:12:25.000Z] prd-ubuntu20.04-docker-8c-8g-8448 does not seem to be running inside a container [2023-03-07T01:12:25.031Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1359 -v /w/workspace/gexfoundry_device-sdk-go_PR-1359:/w/workspace/gexfoundry_device-sdk-go_PR-1359:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-07T01:12:25.375Z] $ docker top e9e48bedfcd516baa6411224ed07606e9dce72ee86ae4093042acbe0b30269ce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T01:12:25.718Z] + go version [2023-03-07T01:12:25.718Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-07T01:12:25.735Z] $ docker stop --time=1 e9e48bedfcd516baa6411224ed07606e9dce72ee86ae4093042acbe0b30269ce [2023-03-07T01:12:27.011Z] $ docker rm -f --volumes e9e48bedfcd516baa6411224ed07606e9dce72ee86ae4093042acbe0b30269ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:12:27.410Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T01:12:27.410Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:12:27.487Z] prd-ubuntu20.04-docker-8c-8g-8448 does not seem to be running inside a container [2023-03-07T01:12:27.531Z] $ 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-1359 -v /w/workspace/gexfoundry_device-sdk-go_PR-1359:/w/workspace/gexfoundry_device-sdk-go_PR-1359:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-07T01:12:27.850Z] $ docker top f1d364d93231a8814c53f81ae96d50c346fb111b9bfdc33adbc23e91981d7e22 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T01:12:28.191Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1359 [Pipeline] fileExists [Pipeline] sh [2023-03-07T01:12:28.489Z] + make test [2023-03-07T01:12:28.489Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2023-03-07T01:12:35.045Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2023-03-07T01:12:47.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2023-03-07T01:12:47.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2023-03-07T01:12:47.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2023-03-07T01:12:47.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2023-03-07T01:12:47.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2023-03-07T01:12:47.233Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements [2023-03-07T01:12:47.233Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.067s coverage: 78.9% of statements [2023-03-07T01:12:47.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2023-03-07T01:12:47.233Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.093s coverage: 73.1% of statements [2023-03-07T01:12:47.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2023-03-07T01:12:47.233Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2023-03-07T01:12:47.799Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.110s coverage: 54.4% of statements [2023-03-07T01:12:47.799Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2023-03-07T01:12:47.799Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2023-03-07T01:12:47.799Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2023-03-07T01:12:47.799Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2023-03-07T01:12:47.799Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.083s coverage: 65.1% of statements [2023-03-07T01:12:47.799Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2023-03-07T01:12:47.799Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2023-03-07T01:12:47.799Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.774s coverage: 89.2% of statements [2023-03-07T01:12:47.799Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2023-03-07T01:12:47.799Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements [2023-03-07T01:12:47.799Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2023-03-07T01:13:02.661Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-07T01:13:02.661Z] GO111MODULE=on go vet ./... [2023-03-07T01:13:05.188Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T01:13:05.188Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T01:13:05.188Z] ./bin/test-attribution-txt.sh [2023-03-07T01:13:05.188Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2023-03-07T01:13:05.188Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2023-03-07T01:13:05.188Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2023-03-07T01:13:05.188Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2023-03-07T01:13:05.201Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T01:13:05.219Z] $ docker stop --time=1 f1d364d93231a8814c53f81ae96d50c346fb111b9bfdc33adbc23e91981d7e22 [2023-03-07T01:13:07.400Z] $ docker rm -f --volumes f1d364d93231a8814c53f81ae96d50c346fb111b9bfdc33adbc23e91981d7e22 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T01:13:07.861Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T01:13:07.925Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-07T01:13:08.439Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T01:13:08.726Z] + ls -al . [2023-03-07T01:13:08.726Z] total 280 [2023-03-07T01:13:08.726Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 01:12 . [2023-03-07T01:13:08.726Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 01:11 .. [2023-03-07T01:13:08.726Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 01:11 .dockerignore [2023-03-07T01:13:08.726Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 01:12 .git [2023-03-07T01:13:08.726Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 01:11 .github [2023-03-07T01:13:08.726Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 01:11 .gitignore [2023-03-07T01:13:08.726Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 01:11 .golangci.yml [2023-03-07T01:13:08.726Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 01:11 .semver [2023-03-07T01:13:08.726Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 01:11 CHANGELOG.md [2023-03-07T01:13:08.726Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 01:11 GOVERNANCE.md [2023-03-07T01:13:08.726Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 7 01:11 Jenkinsfile [2023-03-07T01:13:08.726Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 01:11 LICENSE [2023-03-07T01:13:08.726Z] -rw-rw-r-- 1 jenkins jenkins 2003 Mar 7 01:11 Makefile [2023-03-07T01:13:08.726Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 01:11 OWNERS.md [2023-03-07T01:13:08.726Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 7 01:11 README.md [2023-03-07T01:13:08.726Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 01:11 VERSION [2023-03-07T01:13:08.726Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 01:11 bin [2023-03-07T01:13:08.726Z] -rw-r--r-- 1 jenkins jenkins 101840 Mar 7 01:12 coverage.out [2023-03-07T01:13:08.726Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 01:11 example [2023-03-07T01:13:08.726Z] -rw-rw-r-- 1 jenkins jenkins 3347 Mar 7 01:11 go.mod [2023-03-07T01:13:08.726Z] -rw-rw-r-- 1 jenkins jenkins 44423 Mar 7 01:11 go.sum [2023-03-07T01:13:08.726Z] drwxrwxr-x 14 jenkins jenkins 4096 Mar 7 01:11 internal [2023-03-07T01:13:08.726Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 01:11 openapi [2023-03-07T01:13:08.726Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 01:11 pkg [2023-03-07T01:13:08.726Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 01:11 snap [2023-03-07T01:13:08.726Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 01:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:13:09.029Z] + 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=625f29720569d2b29cfb0bb03b03e9ba312a8048 --label arch=amd64 --label version=0.0.0 . [2023-03-07T01:13:09.029Z] Sending build context to Docker daemon 10.75MB [2023-03-07T01:13:09.029Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T01:13:09.029Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-07T01:13:09.029Z] ---> 790e58f1cff3 [2023-03-07T01:13:09.029Z] Step 3/23 : ARG MAKE=make build [2023-03-07T01:13:09.029Z] ---> Running in e2498ebf193b [2023-03-07T01:13:09.289Z] Removing intermediate container e2498ebf193b [2023-03-07T01:13:09.289Z] ---> 8a461edf9be5 [2023-03-07T01:13:09.289Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-07T01:13:09.289Z] ---> Running in f754f5ba1b70 [2023-03-07T01:13:09.289Z] Removing intermediate container f754f5ba1b70 [2023-03-07T01:13:09.289Z] ---> e7428adf1e35 [2023-03-07T01:13:09.289Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T01:13:09.289Z] ---> Running in 5b7e3eea69e4 [2023-03-07T01:13:09.548Z] Removing intermediate container 5b7e3eea69e4 [2023-03-07T01:13:09.548Z] ---> ae1030d0ab90 [2023-03-07T01:13:09.548Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-03-07T01:13:09.548Z] ---> Running in 6212ce1a00c3 [2023-03-07T01:13:09.807Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T01:13:10.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T01:13:10.326Z] OK: 211 MiB in 51 packages [2023-03-07T01:13:10.585Z] Removing intermediate container 6212ce1a00c3 [2023-03-07T01:13:10.585Z] ---> 55e5abbb629a [2023-03-07T01:13:10.585Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-07T01:13:10.845Z] ---> 1ae6ef3c1ce3 [2023-03-07T01:13:10.845Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T01:13:10.845Z] ---> Running in a2c67a968648 [2023-03-07T01:13:11.413Z] Removing intermediate container a2c67a968648 [2023-03-07T01:13:11.413Z] ---> 8c8d4520f068 [2023-03-07T01:13:11.413Z] Step 9/23 : COPY . . [2023-03-07T01:13:11.980Z] ---> 64390e918649 [2023-03-07T01:13:11.980Z] Step 10/23 : RUN ${MAKE} [2023-03-07T01:13:11.980Z] ---> Running in 4b9b25415dad [2023-03-07T01:13:12.238Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-07T01:13:30.320Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2023-03-07T01:13:31.255Z] Removing intermediate container 4b9b25415dad [2023-03-07T01:13:31.255Z] ---> 18f5f36da6a8 [2023-03-07T01:13:31.255Z] Step 11/23 : FROM alpine:3.16 [2023-03-07T01:13:31.512Z] 3.16: Pulling from library/alpine [2023-03-07T01:13:31.512Z] ef5531b6e74e: Pulling fs layer [2023-03-07T01:13:31.771Z] ef5531b6e74e: Verifying Checksum [2023-03-07T01:13:31.771Z] ef5531b6e74e: Download complete [2023-03-07T01:13:32.030Z] ef5531b6e74e: Pull complete [2023-03-07T01:13:32.030Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T01:13:32.030Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T01:13:32.030Z] ---> dfd21b5a31f5 [2023-03-07T01:13:32.030Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T01:13:32.030Z] ---> Running in 00e9ae1b520e [2023-03-07T01:13:32.030Z] Removing intermediate container 00e9ae1b520e [2023-03-07T01:13:32.030Z] ---> d2b6d94ebfc4 [2023-03-07T01:13:32.030Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2023-03-07T01:13:32.288Z] ---> Running in dc1a74f1c85f [2023-03-07T01:13:32.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T01:13:32.806Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T01:13:33.064Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2023-03-07T01:13:33.064Z] (2/5) Installing libsodium (1.0.18-r0) [2023-03-07T01:13:33.064Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-07T01:13:33.064Z] (4/5) Installing libzmq (4.3.4-r0) [2023-03-07T01:13:33.064Z] (5/5) Installing zeromq (4.3.4-r0) [2023-03-07T01:13:33.322Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T01:13:33.322Z] OK: 8 MiB in 19 packages [2023-03-07T01:13:33.581Z] Removing intermediate container dc1a74f1c85f [2023-03-07T01:13:33.581Z] ---> c883fadade47 [2023-03-07T01:13:33.581Z] Step 14/23 : WORKDIR / [2023-03-07T01:13:33.581Z] ---> Running in 9b13c1c1f6cc [2023-03-07T01:13:33.840Z] Removing intermediate container 9b13c1c1f6cc [2023-03-07T01:13:33.840Z] ---> 2eaf4a12c2bc [2023-03-07T01:13:33.840Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-07T01:13:33.840Z] ---> ab61d020c30b [2023-03-07T01:13:33.840Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-07T01:13:34.414Z] ---> af57e4e15f37 [2023-03-07T01:13:34.414Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-07T01:13:34.414Z] ---> 3e5076cabd09 [2023-03-07T01:13:34.414Z] Step 18/23 : EXPOSE 59999 [2023-03-07T01:13:34.675Z] ---> Running in 10b12a9614e3 [2023-03-07T01:13:34.675Z] Removing intermediate container 10b12a9614e3 [2023-03-07T01:13:34.675Z] ---> c9fb2f143a1d [2023-03-07T01:13:34.675Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-07T01:13:34.675Z] ---> Running in f5e7b5f7ccc5 [2023-03-07T01:13:34.675Z] Removing intermediate container f5e7b5f7ccc5 [2023-03-07T01:13:34.675Z] ---> 3a94e8994e99 [2023-03-07T01:13:34.675Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-07T01:13:34.933Z] ---> Running in 53137ebdeeff [2023-03-07T01:13:34.933Z] Removing intermediate container 53137ebdeeff [2023-03-07T01:13:34.933Z] ---> 5f8c30e48558 [2023-03-07T01:13:34.933Z] Step 21/23 : LABEL arch=amd64 [2023-03-07T01:13:34.933Z] ---> Running in b1527919bb05 [2023-03-07T01:13:34.933Z] Removing intermediate container b1527919bb05 [2023-03-07T01:13:34.933Z] ---> bd3dede59aeb [2023-03-07T01:13:34.933Z] Step 22/23 : LABEL git_sha=625f29720569d2b29cfb0bb03b03e9ba312a8048 [2023-03-07T01:13:34.933Z] ---> Running in 25326c149116 [2023-03-07T01:13:35.193Z] Removing intermediate container 25326c149116 [2023-03-07T01:13:35.193Z] ---> b8492a3f89f0 [2023-03-07T01:13:35.193Z] Step 23/23 : LABEL version=0.0.0 [2023-03-07T01:13:35.193Z] ---> Running in 5a20c566d1f9 [2023-03-07T01:13:35.193Z] Removing intermediate container 5a20c566d1f9 [2023-03-07T01:13:35.193Z] ---> 59196700d0b9 [2023-03-07T01:13:35.193Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T01:13:35.193Z] Successfully built 59196700d0b9 [2023-03-07T01:13:35.193Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:13:35.637Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T01:13:35.637Z] [2023-03-07T01:13:35.637Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:13:35.943Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T01:13:35.944Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-07T01:13:35.944Z] 5eb5b503b376: Pulling fs layer [2023-03-07T01:13:35.944Z] 5c69ac0246d0: Pulling fs layer [2023-03-07T01:13:35.944Z] ec43610c2a17: Pulling fs layer [2023-03-07T01:13:35.944Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-07T01:13:35.944Z] 33b1e0a273af: Pulling fs layer [2023-03-07T01:13:35.944Z] 5d3b04190fa2: Pulling fs layer [2023-03-07T01:13:35.944Z] 2f39f015ded8: Pulling fs layer [2023-03-07T01:13:35.944Z] 3a2ae6a8a46f: Waiting [2023-03-07T01:13:35.944Z] 33b1e0a273af: Waiting [2023-03-07T01:13:35.944Z] 5d3b04190fa2: Waiting [2023-03-07T01:13:35.944Z] 2f39f015ded8: Waiting [2023-03-07T01:13:35.944Z] 5c69ac0246d0: Download complete [2023-03-07T01:13:35.944Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-07T01:13:35.944Z] 3a2ae6a8a46f: Download complete [2023-03-07T01:13:36.206Z] 33b1e0a273af: Verifying Checksum [2023-03-07T01:13:36.206Z] 33b1e0a273af: Download complete [2023-03-07T01:13:36.206Z] 5d3b04190fa2: Verifying Checksum [2023-03-07T01:13:36.206Z] 5d3b04190fa2: Download complete [2023-03-07T01:13:36.206Z] ec43610c2a17: Verifying Checksum [2023-03-07T01:13:36.206Z] ec43610c2a17: Download complete [2023-03-07T01:13:36.206Z] 5eb5b503b376: Verifying Checksum [2023-03-07T01:13:36.206Z] 5eb5b503b376: Download complete [2023-03-07T01:13:36.771Z] 2f39f015ded8: Download complete [2023-03-07T01:13:37.337Z] 5eb5b503b376: Pull complete [2023-03-07T01:13:37.337Z] 5c69ac0246d0: Pull complete [2023-03-07T01:13:37.902Z] ec43610c2a17: Pull complete [2023-03-07T01:13:37.902Z] 3a2ae6a8a46f: Pull complete [2023-03-07T01:13:37.902Z] 33b1e0a273af: Pull complete [2023-03-07T01:13:38.159Z] 5d3b04190fa2: Pull complete [2023-03-07T01:13:42.344Z] 2f39f015ded8: Pull complete [2023-03-07T01:13:42.344Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-07T01:13:42.344Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T01:13:42.344Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:13:42.422Z] prd-ubuntu20.04-docker-8c-8g-8448 does not seem to be running inside a container [2023-03-07T01:13:42.459Z] $ 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-1359 -v /w/workspace/gexfoundry_device-sdk-go_PR-1359:/w/workspace/gexfoundry_device-sdk-go_PR-1359:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-07T01:13:44.184Z] $ docker top 2a731b37cad68931586c339c6578aa1d8fc959ba84539b2f45670877737a5efc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:13:44.599Z] ---> job-cost.sh [2023-03-07T01:13:44.599Z] lf-activate-venv: SKIPPING [2023-03-07T01:13:44.599Z] INFO: No Stack... [2023-03-07T01:13:44.857Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T01:13:45.118Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T01:13:45.409Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1359/archives/cost.csv [2023-03-07T01:13:45.409Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T01:13:45.425Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1359-2-stack-cost] [2023-03-07T01:13:45.431Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1359-2-stack-cost] did not exist. Created. [2023-03-07T01:13:45.431Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1359-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T01:13:45.730Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-07T01:13:45.759Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T01:13:45.765Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1359-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T01:13:45.783Z] $ docker stop --time=1 2a731b37cad68931586c339c6578aa1d8fc959ba84539b2f45670877737a5efc [2023-03-07T01:13:46.936Z] $ docker rm -f --volumes 2a731b37cad68931586c339c6578aa1d8fc959ba84539b2f45670877737a5efc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-07T01:14:38.252Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8449 in /w/workspace/gexfoundry_device-sdk-go_PR-1359 [Pipeline] { [Pipeline] ws [2023-03-07T01:14:38.265Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-03-07T01:14:38.310Z] The recommended git tool is: git [2023-03-07T01:14:45.302Z] using credential edgex-jenkins-ssh [2023-03-07T01:14:45.320Z] Cloning the remote Git repository [2023-03-07T01:14:45.318Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T01:14:45.416Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-03-07T01:14:45.708Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T01:14:45.710Z] > git --version # timeout=10 [2023-03-07T01:14:45.753Z] > git --version # 'git version 2.25.1' [2023-03-07T01:14:45.755Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T01:14:45.876Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T01:14:47.658Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-07T01:14:47.698Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T01:14:49.727Z] Merging remotes/origin/levski commit b76771b07adf0b8c2e38dd8a749adeac8b55b549 into PR head commit 625f29720569d2b29cfb0bb03b03e9ba312a8048 [2023-03-07T01:14:50.041Z] Merge succeeded, producing 625f29720569d2b29cfb0bb03b03e9ba312a8048 [2023-03-07T01:14:50.041Z] Checking out Revision 625f29720569d2b29cfb0bb03b03e9ba312a8048 (PR-1359) [2023-03-07T01:14:48.827Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-07T01:14:48.888Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T01:14:48.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T01:14:48.912Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1359/head:refs/remotes/origin/PR-1359 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 [2023-03-07T01:14:49.690Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T01:14:49.721Z] > git checkout -f 625f29720569d2b29cfb0bb03b03e9ba312a8048 # timeout=10 [2023-03-07T01:14:49.858Z] > git remote # timeout=10 [2023-03-07T01:14:49.882Z] > git config --get remote.origin.url # timeout=10 [2023-03-07T01:14:49.902Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T01:14:49.920Z] > git merge b76771b07adf0b8c2e38dd8a749adeac8b55b549 # timeout=10 [2023-03-07T01:14:49.957Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-07T01:14:49.989Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T01:14:50.011Z] > git checkout -f 625f29720569d2b29cfb0bb03b03e9ba312a8048 # timeout=10 [2023-03-07T01:14:53.803Z] Commit message: "fix: assign device service in dic before driver.Initialize" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T01:14:54.843Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-07T01:14:54.843Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T01:14:54.843Z] Dload Upload Total Spent Left Speed [2023-03-07T01:14:54.843Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 64398 0 --:--:-- --:--:-- --:--:-- 64075 [Pipeline] sh [2023-03-07T01:14:55.565Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-07T01:14:55.924Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-07T01:14:55.924Z] + sudo tee /etc/docker/daemon.new [2023-03-07T01:14:55.924Z] { [2023-03-07T01:14:55.924Z] "registry-mirrors": [ [2023-03-07T01:14:55.924Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-07T01:14:55.924Z] ], [2023-03-07T01:14:55.924Z] "bip": "10.250.0.254/24", [2023-03-07T01:14:55.924Z] "hosts": [ [2023-03-07T01:14:55.924Z] "tcp://0.0.0.0:5555", [2023-03-07T01:14:55.924Z] "unix:///var/run/docker.sock" [2023-03-07T01:14:55.924Z] ], [2023-03-07T01:14:55.924Z] "mtu": 1458, [2023-03-07T01:14:55.924Z] "selinux-enabled": true, [2023-03-07T01:14:55.924Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-07T01:14:55.924Z] } [Pipeline] sh [2023-03-07T01:14:56.285Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-07T01:14:56.645Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T01:15:14.979Z] provisioning config files... [2023-03-07T01:15:15.012Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7002949382417181241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:15:15.388Z] ---> docker-login.sh [2023-03-07T01:15:15.388Z] nexus3.edgexfoundry.org:10001 [2023-03-07T01:15:15.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:15:15.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:15:15.989Z] Configure a credential helper to remove this warning. See [2023-03-07T01:15:15.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:15:15.989Z] [2023-03-07T01:15:15.989Z] Login Succeeded [2023-03-07T01:15:15.989Z] nexus3.edgexfoundry.org:10002 [2023-03-07T01:15:16.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:15:16.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:15:16.541Z] Configure a credential helper to remove this warning. See [2023-03-07T01:15:16.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:15:16.541Z] [2023-03-07T01:15:16.541Z] Login Succeeded [2023-03-07T01:15:16.541Z] nexus3.edgexfoundry.org:10003 [2023-03-07T01:15:16.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:15:16.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:15:16.815Z] Configure a credential helper to remove this warning. See [2023-03-07T01:15:16.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:15:16.815Z] [2023-03-07T01:15:16.815Z] Login Succeeded [2023-03-07T01:15:16.815Z] nexus3.edgexfoundry.org:10004 [2023-03-07T01:15:17.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:15:17.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:15:17.365Z] Configure a credential helper to remove this warning. See [2023-03-07T01:15:17.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:15:17.365Z] [2023-03-07T01:15:17.365Z] Login Succeeded [2023-03-07T01:15:17.365Z] docker.io [2023-03-07T01:15:17.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:15:17.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:15:17.910Z] Configure a credential helper to remove this warning. See [2023-03-07T01:15:17.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:15:17.910Z] [2023-03-07T01:15:17.910Z] Login Succeeded [2023-03-07T01:15:17.910Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T01:15:17.927Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T01:15:18.278Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T01:15:18.299Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T01:15:18.310Z] ========================================================= [2023-03-07T01:15:18.310Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-07T01:15:18.310Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:15:18.682Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-07T01:15:19.305Z] Sending build context to Docker daemon 5.742MB [2023-03-07T01:15:19.305Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T01:15:19.305Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-07T01:15:19.305Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-07T01:15:19.305Z] 9b18e9b68314: Pulling fs layer [2023-03-07T01:15:19.305Z] 35d82f9e3411: Pulling fs layer [2023-03-07T01:15:19.305Z] e16973657156: Pulling fs layer [2023-03-07T01:15:19.305Z] fc693d55d65f: Pulling fs layer [2023-03-07T01:15:19.305Z] 7e9fc2657dce: Pulling fs layer [2023-03-07T01:15:19.305Z] dda99020689f: Pulling fs layer [2023-03-07T01:15:19.305Z] db1c61fa0a46: Pulling fs layer [2023-03-07T01:15:19.305Z] 891c053d2c06: Pulling fs layer [2023-03-07T01:15:19.305Z] db1c61fa0a46: Waiting [2023-03-07T01:15:19.305Z] 7e9fc2657dce: Waiting [2023-03-07T01:15:19.305Z] dda99020689f: Waiting [2023-03-07T01:15:19.305Z] fc693d55d65f: Waiting [2023-03-07T01:15:19.305Z] 891c053d2c06: Waiting [2023-03-07T01:15:19.305Z] e16973657156: Verifying Checksum [2023-03-07T01:15:19.305Z] e16973657156: Download complete [2023-03-07T01:15:19.305Z] 35d82f9e3411: Download complete [2023-03-07T01:15:19.305Z] 7e9fc2657dce: Verifying Checksum [2023-03-07T01:15:19.305Z] 7e9fc2657dce: Download complete [2023-03-07T01:15:19.582Z] dda99020689f: Download complete [2023-03-07T01:15:19.582Z] 9b18e9b68314: Verifying Checksum [2023-03-07T01:15:19.582Z] 9b18e9b68314: Download complete [2023-03-07T01:15:20.181Z] 9b18e9b68314: Pull complete [2023-03-07T01:15:20.792Z] 35d82f9e3411: Pull complete [2023-03-07T01:15:21.069Z] 891c053d2c06: Verifying Checksum [2023-03-07T01:15:21.069Z] 891c053d2c06: Download complete [2023-03-07T01:15:22.509Z] db1c61fa0a46: Verifying Checksum [2023-03-07T01:15:22.509Z] db1c61fa0a46: Download complete [2023-03-07T01:15:22.787Z] fc693d55d65f: Verifying Checksum [2023-03-07T01:15:22.787Z] fc693d55d65f: Download complete [2023-03-07T01:15:23.062Z] e16973657156: Pull complete [2023-03-07T01:15:38.099Z] fc693d55d65f: Pull complete [2023-03-07T01:15:38.099Z] 7e9fc2657dce: Pull complete [2023-03-07T01:15:38.099Z] dda99020689f: Pull complete [2023-03-07T01:15:42.389Z] db1c61fa0a46: Pull complete [2023-03-07T01:15:45.002Z] 891c053d2c06: Pull complete [2023-03-07T01:15:45.002Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-07T01:15:45.002Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-07T01:15:45.002Z] ---> f96f9c87975a [2023-03-07T01:15:45.002Z] Step 3/10 : ARG MAKE=make build [2023-03-07T01:15:46.974Z] ---> Running in 6428685e76c1 [2023-03-07T01:15:47.245Z] Removing intermediate container 6428685e76c1 [2023-03-07T01:15:47.245Z] ---> e221e2239398 [2023-03-07T01:15:47.245Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-07T01:15:47.544Z] ---> Running in 632ef4022312 [2023-03-07T01:15:47.829Z] Removing intermediate container 632ef4022312 [2023-03-07T01:15:47.829Z] ---> 60925e0e2de7 [2023-03-07T01:15:47.829Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T01:15:48.114Z] ---> Running in fa3e497e79aa [2023-03-07T01:15:48.391Z] Removing intermediate container fa3e497e79aa [2023-03-07T01:15:48.391Z] ---> 2efea40a08ad [2023-03-07T01:15:48.391Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-03-07T01:15:48.391Z] ---> Running in 6bae83c594db [2023-03-07T01:15:49.820Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T01:15:50.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T01:15:51.390Z] OK: 221 MiB in 51 packages [2023-03-07T01:15:52.365Z] Removing intermediate container 6bae83c594db [2023-03-07T01:15:52.365Z] ---> cb402850cfbf [2023-03-07T01:15:52.365Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-07T01:15:52.957Z] ---> aac0f9a45a96 [2023-03-07T01:15:52.957Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T01:15:53.246Z] ---> Running in c266f844feb3 [2023-03-07T01:17:01.198Z] Removing intermediate container c266f844feb3 [2023-03-07T01:17:01.198Z] ---> a048a4a084c1 [2023-03-07T01:17:01.198Z] Step 9/10 : COPY . . [2023-03-07T01:17:01.198Z] ---> 3d32fd1429d2 [2023-03-07T01:17:01.198Z] Step 10/10 : RUN ${MAKE} [2023-03-07T01:17:01.198Z] ---> Running in f45e4b02f0f9 [2023-03-07T01:17:01.198Z] noop [2023-03-07T01:17:01.198Z] Removing intermediate container f45e4b02f0f9 [2023-03-07T01:17:01.198Z] ---> 4a49e7393170 [2023-03-07T01:17:01.198Z] Successfully built 4a49e7393170 [2023-03-07T01:17:01.198Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:17:01.539Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T01:17:01.539Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:17:01.737Z] prd-ubuntu20.04-docker-arm64-4c-16g-8449 does not seem to be running inside a container [2023-03-07T01:17:01.827Z] $ 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-03-07T01:17:03.027Z] $ docker top 1511690f2e1bf08fb2682202ac35faea5489205ef70362288003c441e4f0bca3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T01:17:03.842Z] + go version [2023-03-07T01:17:03.842Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-07T01:17:03.893Z] $ docker stop --time=1 1511690f2e1bf08fb2682202ac35faea5489205ef70362288003c441e4f0bca3 [2023-03-07T01:17:05.559Z] $ docker rm -f --volumes 1511690f2e1bf08fb2682202ac35faea5489205ef70362288003c441e4f0bca3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:17:06.072Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T01:17:06.072Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:17:06.261Z] prd-ubuntu20.04-docker-arm64-4c-16g-8449 does not seem to be running inside a container [2023-03-07T01:17:06.370Z] $ 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-03-07T01:17:07.650Z] $ docker top 6397c49256068a0ff41ddd2d6bba38e047627d6920a7f3baefd6e1f1116fd3e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T01:17:08.470Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-07T01:17:09.122Z] + make test [2023-03-07T01:17:09.122Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2023-03-07T01:17:48.007Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2023-03-07T01:20:24.720Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2023-03-07T01:20:24.720Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2023-03-07T01:20:24.720Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2023-03-07T01:20:24.720Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2023-03-07T01:20:24.720Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2023-03-07T01:20:24.720Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.246s coverage: 27.6% of statements [2023-03-07T01:20:24.720Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.288s coverage: 78.9% of statements [2023-03-07T01:20:24.720Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2023-03-07T01:20:24.720Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.437s coverage: 73.1% of statements [2023-03-07T01:20:24.720Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2023-03-07T01:20:24.720Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2023-03-07T01:20:25.317Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.648s coverage: 54.4% of statements [2023-03-07T01:20:25.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2023-03-07T01:20:25.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2023-03-07T01:20:25.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2023-03-07T01:20:25.317Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2023-03-07T01:20:25.587Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.598s coverage: 65.1% of statements [2023-03-07T01:20:25.587Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2023-03-07T01:20:25.587Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2023-03-07T01:20:25.587Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.761s coverage: 89.2% of statements [2023-03-07T01:20:25.587Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2023-03-07T01:20:28.935Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.312s coverage: 4.7% of statements [2023-03-07T01:20:28.936Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2023-03-07T01:20:29.520Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-07T01:20:29.521Z] GO111MODULE=on go vet ./... [2023-03-07T01:22:21.222Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T01:22:21.222Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T01:22:21.222Z] ./bin/test-attribution-txt.sh [2023-03-07T01:22:21.222Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2023-03-07T01:22:21.222Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2023-03-07T01:22:21.222Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2023-03-07T01:22:21.222Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2023-03-07T01:22:21.243Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T01:22:21.318Z] $ docker stop --time=1 6397c49256068a0ff41ddd2d6bba38e047627d6920a7f3baefd6e1f1116fd3e7 [2023-03-07T01:22:23.157Z] $ docker rm -f --volumes 6397c49256068a0ff41ddd2d6bba38e047627d6920a7f3baefd6e1f1116fd3e7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T01:22:24.529Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T01:22:24.551Z] Warning: overwriting stash ‘coverage-report’ [2023-03-07T01:22:25.135Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T01:22:25.522Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T01:22:25.842Z] + ls -al . [2023-03-07T01:22:25.843Z] total 276 [2023-03-07T01:22:25.843Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 01:17 . [2023-03-07T01:22:25.843Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 01:14 .. [2023-03-07T01:22:25.843Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 01:14 .dockerignore [2023-03-07T01:22:25.843Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 01:14 .git [2023-03-07T01:22:25.843Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 01:14 .github [2023-03-07T01:22:25.843Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 01:14 .gitignore [2023-03-07T01:22:25.843Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 01:14 .golangci.yml [2023-03-07T01:22:25.843Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 01:14 CHANGELOG.md [2023-03-07T01:22:25.843Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 01:14 GOVERNANCE.md [2023-03-07T01:22:25.843Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 7 01:14 Jenkinsfile [2023-03-07T01:22:25.843Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 01:14 LICENSE [2023-03-07T01:22:25.843Z] -rw-rw-r-- 1 jenkins jenkins 2003 Mar 7 01:14 Makefile [2023-03-07T01:22:25.843Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 01:14 OWNERS.md [2023-03-07T01:22:25.843Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 7 01:14 README.md [2023-03-07T01:22:25.843Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 01:11 VERSION [2023-03-07T01:22:25.843Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 01:14 bin [2023-03-07T01:22:25.843Z] -rw-r--r-- 1 jenkins jenkins 101841 Mar 7 01:20 coverage.out [2023-03-07T01:22:25.843Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 01:14 example [2023-03-07T01:22:25.843Z] -rw-rw-r-- 1 jenkins jenkins 3347 Mar 7 01:14 go.mod [2023-03-07T01:22:25.843Z] -rw-rw-r-- 1 jenkins jenkins 44423 Mar 7 01:14 go.sum [2023-03-07T01:22:25.843Z] drwxrwxr-x 14 jenkins jenkins 4096 Mar 7 01:14 internal [2023-03-07T01:22:25.843Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 01:14 openapi [2023-03-07T01:22:25.843Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 01:14 pkg [2023-03-07T01:22:25.843Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 01:14 snap [2023-03-07T01:22:25.843Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 01:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:22:26.181Z] + 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=625f29720569d2b29cfb0bb03b03e9ba312a8048 --label arch=arm64 --label version=0.0.0 . [2023-03-07T01:22:26.446Z] Sending build context to Docker daemon 5.844MB [2023-03-07T01:22:26.446Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T01:22:26.446Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-07T01:22:26.446Z] ---> 4a49e7393170 [2023-03-07T01:22:26.446Z] Step 3/23 : ARG MAKE=make build [2023-03-07T01:22:26.715Z] ---> Running in e3616407468e [2023-03-07T01:22:26.989Z] Removing intermediate container e3616407468e [2023-03-07T01:22:26.989Z] ---> e74543626610 [2023-03-07T01:22:26.989Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-07T01:22:27.260Z] ---> Running in 3ec4be13515f [2023-03-07T01:22:27.525Z] Removing intermediate container 3ec4be13515f [2023-03-07T01:22:27.525Z] ---> e5a7ea9db7c4 [2023-03-07T01:22:27.525Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T01:22:27.525Z] ---> Running in 526107ccec8e [2023-03-07T01:22:27.792Z] Removing intermediate container 526107ccec8e [2023-03-07T01:22:27.792Z] ---> 933135691357 [2023-03-07T01:22:27.792Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2023-03-07T01:22:27.792Z] ---> Running in d70fcd8cad2f [2023-03-07T01:22:28.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T01:22:29.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T01:22:30.428Z] OK: 221 MiB in 51 packages [2023-03-07T01:22:31.836Z] Removing intermediate container d70fcd8cad2f [2023-03-07T01:22:31.836Z] ---> 262b6bea4853 [2023-03-07T01:22:31.836Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-07T01:22:32.102Z] ---> 5a2a08ed2c00 [2023-03-07T01:22:32.102Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T01:22:32.102Z] ---> Running in d3947274c841 [2023-03-07T01:22:34.043Z] Removing intermediate container d3947274c841 [2023-03-07T01:22:34.043Z] ---> dea5d31f4c53 [2023-03-07T01:22:34.043Z] Step 9/23 : COPY . . [2023-03-07T01:22:35.459Z] ---> dd32b6c2bc07 [2023-03-07T01:22:35.459Z] Step 10/23 : RUN ${MAKE} [2023-03-07T01:22:35.459Z] ---> Running in 52ffc1de2de8 [2023-03-07T01:22:36.420Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-07T01:25:13.353Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2023-03-07T01:25:13.353Z] Removing intermediate container 52ffc1de2de8 [2023-03-07T01:25:13.353Z] ---> db00b80d2b94 [2023-03-07T01:25:13.353Z] Step 11/23 : FROM alpine:3.16 [2023-03-07T01:25:13.353Z] 3.16: Pulling from library/alpine [2023-03-07T01:25:13.353Z] 3760b48202b3: Pulling fs layer [2023-03-07T01:25:13.353Z] 3760b48202b3: Verifying Checksum [2023-03-07T01:25:13.353Z] 3760b48202b3: Download complete [2023-03-07T01:25:13.353Z] 3760b48202b3: Pull complete [2023-03-07T01:25:13.353Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T01:25:13.353Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T01:25:13.353Z] ---> 4c81e5bf8899 [2023-03-07T01:25:13.353Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T01:25:13.353Z] ---> Running in f379d8a49b8e [2023-03-07T01:25:13.353Z] Removing intermediate container f379d8a49b8e [2023-03-07T01:25:13.353Z] ---> e382dd4a6529 [2023-03-07T01:25:13.353Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2023-03-07T01:25:13.353Z] ---> Running in eb1de4119cd2 [2023-03-07T01:25:13.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T01:25:13.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T01:25:13.353Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2023-03-07T01:25:13.353Z] (2/5) Installing libsodium (1.0.18-r0) [2023-03-07T01:25:13.353Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-07T01:25:13.353Z] (4/5) Installing libzmq (4.3.4-r0) [2023-03-07T01:25:13.353Z] (5/5) Installing zeromq (4.3.4-r0) [2023-03-07T01:25:13.353Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T01:25:13.353Z] OK: 8 MiB in 19 packages [2023-03-07T01:25:13.625Z] Removing intermediate container eb1de4119cd2 [2023-03-07T01:25:13.625Z] ---> 23e15e63d7a8 [2023-03-07T01:25:13.625Z] Step 14/23 : WORKDIR / [2023-03-07T01:25:13.896Z] ---> Running in 2e865955f919 [2023-03-07T01:25:14.165Z] Removing intermediate container 2e865955f919 [2023-03-07T01:25:14.165Z] ---> 886981cadca7 [2023-03-07T01:25:14.165Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-07T01:25:14.751Z] ---> aaf048d9668e [2023-03-07T01:25:14.751Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-07T01:25:16.166Z] ---> 637dee87aed4 [2023-03-07T01:25:16.166Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-07T01:25:16.751Z] ---> 530640f1e194 [2023-03-07T01:25:16.751Z] Step 18/23 : EXPOSE 59999 [2023-03-07T01:25:16.751Z] ---> Running in 31ca14fb6dbb [2023-03-07T01:25:17.020Z] Removing intermediate container 31ca14fb6dbb [2023-03-07T01:25:17.020Z] ---> 26b053b6cc8a [2023-03-07T01:25:17.020Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-07T01:25:17.289Z] ---> Running in 60bbc986faaf [2023-03-07T01:25:17.558Z] Removing intermediate container 60bbc986faaf [2023-03-07T01:25:17.558Z] ---> 9d630aa02680 [2023-03-07T01:25:17.558Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-03-07T01:25:17.558Z] ---> Running in 3a762531cb84 [2023-03-07T01:25:17.827Z] Removing intermediate container 3a762531cb84 [2023-03-07T01:25:17.827Z] ---> d413634e0dc6 [2023-03-07T01:25:17.827Z] Step 21/23 : LABEL arch=arm64 [2023-03-07T01:25:18.099Z] ---> Running in 9a40bc81b84d [2023-03-07T01:25:18.368Z] Removing intermediate container 9a40bc81b84d [2023-03-07T01:25:18.368Z] ---> 6be3b6658c7e [2023-03-07T01:25:18.368Z] Step 22/23 : LABEL git_sha=625f29720569d2b29cfb0bb03b03e9ba312a8048 [2023-03-07T01:25:18.368Z] ---> Running in 4a6aa4491488 [2023-03-07T01:25:18.636Z] Removing intermediate container 4a6aa4491488 [2023-03-07T01:25:18.636Z] ---> ad06a47ac60a [2023-03-07T01:25:18.636Z] Step 23/23 : LABEL version=0.0.0 [2023-03-07T01:25:18.904Z] ---> Running in 664a28049c7a [2023-03-07T01:25:19.173Z] Removing intermediate container 664a28049c7a [2023-03-07T01:25:19.173Z] ---> 9ede79079109 [2023-03-07T01:25:19.173Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T01:25:19.173Z] Successfully built 9ede79079109 [2023-03-07T01:25:19.173Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:25:19.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T01:25:19.594Z] [2023-03-07T01:25:19.594Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:25:19.927Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T01:25:19.927Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-07T01:25:19.927Z] 8998bd30e6a1: Pulling fs layer [2023-03-07T01:25:19.927Z] 04944245beec: Pulling fs layer [2023-03-07T01:25:19.927Z] 699f458cf7ca: Pulling fs layer [2023-03-07T01:25:19.927Z] 765212b225bb: Pulling fs layer [2023-03-07T01:25:19.927Z] f23df028b6ca: Pulling fs layer [2023-03-07T01:25:19.927Z] d65c8cfc05b1: Pulling fs layer [2023-03-07T01:25:19.927Z] 2437ff75d9bd: Pulling fs layer [2023-03-07T01:25:19.927Z] f23df028b6ca: Waiting [2023-03-07T01:25:19.927Z] d65c8cfc05b1: Waiting [2023-03-07T01:25:19.927Z] 765212b225bb: Waiting [2023-03-07T01:25:19.927Z] 2437ff75d9bd: Waiting [2023-03-07T01:25:20.199Z] 04944245beec: Verifying Checksum [2023-03-07T01:25:20.199Z] 04944245beec: Download complete [2023-03-07T01:25:20.199Z] 765212b225bb: Verifying Checksum [2023-03-07T01:25:20.199Z] 765212b225bb: Download complete [2023-03-07T01:25:20.199Z] f23df028b6ca: Verifying Checksum [2023-03-07T01:25:20.199Z] f23df028b6ca: Download complete [2023-03-07T01:25:20.199Z] d65c8cfc05b1: Verifying Checksum [2023-03-07T01:25:20.199Z] d65c8cfc05b1: Download complete [2023-03-07T01:25:20.474Z] 699f458cf7ca: Download complete [2023-03-07T01:25:20.745Z] 8998bd30e6a1: Verifying Checksum [2023-03-07T01:25:20.745Z] 8998bd30e6a1: Download complete [2023-03-07T01:25:23.340Z] 2437ff75d9bd: Verifying Checksum [2023-03-07T01:25:23.340Z] 2437ff75d9bd: Download complete [2023-03-07T01:25:25.290Z] 8998bd30e6a1: Pull complete [2023-03-07T01:25:25.558Z] 04944245beec: Pull complete [2023-03-07T01:25:26.976Z] 699f458cf7ca: Pull complete [2023-03-07T01:25:27.244Z] 765212b225bb: Pull complete [2023-03-07T01:25:28.201Z] f23df028b6ca: Pull complete [2023-03-07T01:25:28.470Z] d65c8cfc05b1: Pull complete [2023-03-07T01:25:43.460Z] 2437ff75d9bd: Pull complete [2023-03-07T01:25:43.460Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-07T01:25:43.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T01:25:43.460Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:25:43.645Z] prd-ubuntu20.04-docker-arm64-4c-16g-8449 does not seem to be running inside a container [2023-03-07T01:25:43.741Z] $ 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-03-07T01:25:46.473Z] $ docker top 60f572f663b8f3dae390ad8ef3cb9621c9bc0d8af3abdeb152867bbb3a2b28e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:25:46.972Z] ---> job-cost.sh [2023-03-07T01:25:47.238Z] lf-activate-venv: SKIPPING [2023-03-07T01:25:47.238Z] INFO: No Stack... [2023-03-07T01:25:47.504Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-07T01:25:48.459Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T01:25:48.778Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-03-07T01:25:48.778Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T01:25:48.840Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1359-2-stack-cost] [2023-03-07T01:25:48.846Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1359-2-stack-cost] did not exist. Created. [2023-03-07T01:25:48.846Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1359-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T01:25:49.508Z] /w/workspace/device-sdk-go/2@tmp/durable-ff716d53/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-07T01:25:49.844Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-07T01:25:49.878Z] Warning: overwriting stash ‘stack-cost’ [2023-03-07T01:25:49.956Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T01:25:49.976Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1359-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T01:25:50.028Z] $ docker stop --time=1 60f572f663b8f3dae390ad8ef3cb9621c9bc0d8af3abdeb152867bbb3a2b28e3 [2023-03-07T01:25:51.615Z] $ docker rm -f --volumes 60f572f663b8f3dae390ad8ef3cb9621c9bc0d8af3abdeb152867bbb3a2b28e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-07T01:25:51.992Z] provisioning config files... [2023-03-07T01:25:52.000Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp/config18300656721722599084tmp [Pipeline] { [Pipeline] sh [2023-03-07T01:25:52.293Z] + set +x [2023-03-07T01:25:52.293Z] + curl -s https://codecov.io/bash [2023-03-07T01:25:52.293Z] + bash -s -- [2023-03-07T01:25:52.293Z] [2023-03-07T01:25:52.293Z] _____ _ [2023-03-07T01:25:52.293Z] / ____| | | [2023-03-07T01:25:52.293Z] | | ___ __| | ___ ___ _____ __ [2023-03-07T01:25:52.293Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-07T01:25:52.293Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-07T01:25:52.293Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-07T01:25:52.293Z] Bash-1.0.6 [2023-03-07T01:25:52.293Z] [2023-03-07T01:25:52.293Z] [2023-03-07T01:25:52.293Z] ==> git version 2.25.1 found [2023-03-07T01:25:52.293Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-07T01:25:52.293Z] Release-Date: 2020-01-08 [2023-03-07T01:25:52.293Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-07T01:25:52.293Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-07T01:25:52.293Z] ==> Jenkins CI detected. [2023-03-07T01:25:52.293Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1359 [2023-03-07T01:25:52.293Z] project root: . [2023-03-07T01:25:52.293Z] --> token set from env [2023-03-07T01:25:52.293Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-07T01:25:52.293Z] ==> Running gcov in . (disable via -X gcov) [2023-03-07T01:25:52.293Z] ==> Python coveragepy not found [2023-03-07T01:25:52.293Z] ==> Searching for coverage reports in: [2023-03-07T01:25:52.293Z] + . [2023-03-07T01:25:52.293Z] -> Found 1 reports [2023-03-07T01:25:52.293Z] ==> Detecting git/mercurial file structure [2023-03-07T01:25:52.293Z] ==> Reading reports [2023-03-07T01:25:52.293Z] + ./coverage.out bytes=101841 [2023-03-07T01:25:52.293Z] ==> Appending adjustments [2023-03-07T01:25:52.294Z] https://docs.codecov.io/docs/fixing-reports [2023-03-07T01:25:52.553Z] + Found adjustments [2023-03-07T01:25:52.553Z] ==> Gzipping contents [2023-03-07T01:25:52.553Z] 16K /tmp/codecov.irPuZ4.gz [2023-03-07T01:25:52.553Z] ==> Uploading reports [2023-03-07T01:25:52.553Z] url: https://codecov.io [2023-03-07T01:25:52.553Z] query: branch=PR-1359&commit=625f29720569d2b29cfb0bb03b03e9ba312a8048&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1359%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1359&job=&cmd_args= [2023-03-07T01:25:52.553Z] -> Pinging Codecov [2023-03-07T01:25:52.553Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1359&commit=625f29720569d2b29cfb0bb03b03e9ba312a8048&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1359%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1359&job=&cmd_args= [2023-03-07T01:25:52.814Z] -> Uploading to [2023-03-07T01:25:52.814Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-07/7E55EF52A471D76F132DFD9A03CDDE97/625f29720569d2b29cfb0bb03b03e9ba312a8048/c4f4c118-a97c-4aa4-ae91-d5fcaa2855cb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T012552Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ef728de1054c35898a9c6cebf3c87b9ff219f280996112c45b9707b30360bfbb [2023-03-07T01:25:52.814Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T01:25:52.814Z] Dload Upload Total Spent Left Speed [2023-03-07T01:25:53.074Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14713 0 0 100 14713 0 54291 --:--:-- --:--:-- --:--:-- 54291 [2023-03-07T01:25:53.074Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/625f29720569d2b29cfb0bb03b03e9ba312a8048 [Pipeline] } [2023-03-07T01:25:53.082Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-07T01:25:53.826Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1359/archives ] [2023-03-07T01:25:53.827Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1359/archives [2023-03-07T01:25:53.827Z] total 16 [2023-03-07T01:25:53.827Z] drwxr-xr-x 3 root root 4096 Mar 7 01:13 . [2023-03-07T01:25:53.827Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 01:13 .. [2023-03-07T01:25:53.827Z] drwxr-xr-x 2 root root 4096 Mar 7 01:13 cost [2023-03-07T01:25:53.827Z] -rw-r--r-- 1 root root 86 Mar 7 01:13 cost.csv [2023-03-07T01:25:53.827Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1359/archives [2023-03-07T01:25:53.827Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1359/archives [2023-03-07T01:25:53.827Z] total 16 [2023-03-07T01:25:53.827Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 01:13 . [2023-03-07T01:25:53.827Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 01:13 .. [2023-03-07T01:25:53.827Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 01:13 cost [2023-03-07T01:25:53.827Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 7 01:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:25:54.113Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:25:54.971Z] ---> package-listing.sh [2023-03-07T01:25:54.972Z] ++ facter osfamily [2023-03-07T01:25:54.972Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-07T01:25:55.231Z] + OS_FAMILY=debian [2023-03-07T01:25:55.231Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1359 [2023-03-07T01:25:55.231Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-07T01:25:55.231Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-07T01:25:55.231Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-07T01:25:55.231Z] + PACKAGES=/tmp/packages_start.txt [2023-03-07T01:25:55.231Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1359 ']' [2023-03-07T01:25:55.231Z] + PACKAGES=/tmp/packages_end.txt [2023-03-07T01:25:55.231Z] + case "${OS_FAMILY}" in [2023-03-07T01:25:55.231Z] + dpkg -l [2023-03-07T01:25:55.231Z] + grep '^ii' [2023-03-07T01:25:55.231Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-07T01:25:55.231Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-07T01:25:55.231Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-07T01:25:55.231Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1359 ']' [2023-03-07T01:25:55.231Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1359/archives/ [2023-03-07T01:25:55.231Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1359/archives/ [Pipeline] echo [2023-03-07T01:25:55.242Z] 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-1359/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-07T01:25:55.528Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:25:56.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T01:25:56.089Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:25:56.156Z] prd-ubuntu20.04-docker-8c-8g-8448 does not seem to be running inside a container [2023-03-07T01:25:56.191Z] $ 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-1359/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-1359 -v /w/workspace/gexfoundry_device-sdk-go_PR-1359:/w/workspace/gexfoundry_device-sdk-go_PR-1359:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-07T01:25:56.413Z] $ docker top 6f62a82c53099a0ac8322c729f96bdbd32180bb1761bb4e9b86c46997e28c0a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T01:25:56.753Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-07T01:25:57.040Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-07T01:25:57.325Z] + ls /var/log/sa-host [2023-03-07T01:25:57.325Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T01:25:57.388Z] provisioning config files... [2023-03-07T01:25:57.398Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp/config15401872283271088591tmp [Pipeline] { [Pipeline] echo [2023-03-07T01:25:57.411Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:25:57.697Z] ---> create-netrc.sh [Pipeline] } [2023-03-07T01:25:57.705Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:25:58.025Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-07T01:25:58.034Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:25:58.317Z] ---> sudo-logs.sh [2023-03-07T01:25:58.317Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-07T01:25:58.349Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:25:58.632Z] ---> job-cost.sh [2023-03-07T01:25:58.632Z] lf-activate-venv: SKIPPING [2023-03-07T01:25:58.632Z] DEBUG: total: 0.2199999988079071 [2023-03-07T01:25:58.632Z] INFO: Retrieving Stack Cost... [2023-03-07T01:25:58.892Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T01:25:59.461Z] INFO: Archiving Costs [Pipeline] echo [2023-03-07T01:25:59.474Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:25:59.759Z] ---> logs-deploy.sh [2023-03-07T01:25:59.759Z] lf-activate-venv: SKIPPING [2023-03-07T01:25:59.759Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1359/2 [2023-03-07T01:25:59.759Z] INFO: archiving workspace using pattern(s): [2023-03-07T01:26:00.697Z] Archives upload complete. [2023-03-07T01:26:00.697Z] INFO: archiving logs to Nexus