Pull request #1297 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 881f10918eb4e60f546b60d89ac5bea6bad2c109 rather than 4b20157eda4012d25fdea52dd0c5d79a24fc7227 Obtained Jenkinsfile from 881f10918eb4e60f546b60d89ac5bea6bad2c109 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-ssh9410093441414737064.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-ssh11302773249503290740.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-1297/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-1297/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16732195762993958985.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-ssh8652461911238186418.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-1297/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-1297/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7534092794046597982.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 Running on prd-ubuntu20.04-docker-8c-8g-4278 in /w/workspace/gexfoundry_device-sdk-go_PR-1297 [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-1297 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1297/head:refs/remotes/origin/PR-1297 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 881f10918eb4e60f546b60d89ac5bea6bad2c109 into PR head commit 4b20157eda4012d25fdea52dd0c5d79a24fc7227 Merge succeeded, producing 4b20157eda4012d25fdea52dd0c5d79a24fc7227 Checking out Revision 4b20157eda4012d25fdea52dd0c5d79a24fc7227 (PR-1297) > git config core.sparsecheckout # timeout=10 > git checkout -f 4b20157eda4012d25fdea52dd0c5d79a24fc7227 # 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 881f10918eb4e60f546b60d89ac5bea6bad2c109 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4b20157eda4012d25fdea52dd0c5d79a24fc7227 # timeout=10 Commit message: "feat: Add resource, command, and device tags to reading/event" First time build. Skipping changelog. > git rev-list --no-walk a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-01T17:38:55.230Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-01T17:38:55.305Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-01T17:38:55.327Z] ========================================================= [2023-02-01T17:38:55.328Z] EdgeX Global Pipelines Version Info [2023-02-01T17:38:55.328Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-01T17:38:56.050Z] ------------------- [2023-02-01T17:38:56.050Z] stable info: [2023-02-01T17:38:56.050Z] ------------------- [2023-02-01T17:38:56.050Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-01T17:38:56.050Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-01T17:38:56.050Z] Message: update stable to v1.0.244 [2023-02-01T17:38:56.621Z] ------------------- [2023-02-01T17:38:56.621Z] experimental info: [2023-02-01T17:38:56.621Z] ------------------- [2023-02-01T17:38:56.621Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-01T17:38:56.621Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-01T17:38:56.621Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-01T17:38:56.814Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-01T17:38:56.825Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-01T17:38:56.834Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-01T17:38:56.843Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-01T17:38:56.854Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-01T17:38:56.863Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-01T17:38:56.873Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-01T17:38:56.894Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-01T17:38:56.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-01T17:38:56.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-01T17:38:56.934Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-01T17:38:56.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-01T17:38:56.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-01T17:38:56.972Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-01T17:38:56.985Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-01T17:38:56.997Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-01T17:38:57.012Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-01T17:38:57.026Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-01T17:38:57.038Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-01T17:38:57.052Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-01T17:38:57.068Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-01T17:38:57.088Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-02-01T17:38:57.107Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-01T17:38:57.125Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-01T17:38:57.144Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-01T17:38:57.162Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-01T17:38:57.180Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-01T17:38:57.193Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1297 [Pipeline] echo [2023-02-01T17:38:57.207Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1297 [Pipeline] echo [2023-02-01T17:38:57.219Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1297 [Pipeline] echo [2023-02-01T17:38:57.231Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4b20157eda4012d25fdea52dd0c5d79a24fc7227 [Pipeline] echo [2023-02-01T17:38:57.240Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4b20157 [Pipeline] echo [2023-02-01T17:38:57.250Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-01T17:38:57.299Z] provisioning config files... [2023-02-01T17:38:57.311Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config15269671082937019668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-01T17:38:57.613Z] ---> docker-login.sh [2023-02-01T17:38:57.613Z] nexus3.edgexfoundry.org:10001 [2023-02-01T17:38:57.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:38:57.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:38:57.872Z] Configure a credential helper to remove this warning. See [2023-02-01T17:38:57.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:38:57.872Z] [2023-02-01T17:38:57.872Z] Login Succeeded [2023-02-01T17:38:57.872Z] nexus3.edgexfoundry.org:10002 [2023-02-01T17:38:58.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:38:58.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:38:58.132Z] Configure a credential helper to remove this warning. See [2023-02-01T17:38:58.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:38:58.132Z] [2023-02-01T17:38:58.132Z] Login Succeeded [2023-02-01T17:38:58.132Z] nexus3.edgexfoundry.org:10003 [2023-02-01T17:38:58.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:38:58.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:38:58.132Z] Configure a credential helper to remove this warning. See [2023-02-01T17:38:58.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:38:58.132Z] [2023-02-01T17:38:58.132Z] Login Succeeded [2023-02-01T17:38:58.132Z] nexus3.edgexfoundry.org:10004 [2023-02-01T17:38:58.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:38:58.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:38:58.395Z] Configure a credential helper to remove this warning. See [2023-02-01T17:38:58.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:38:58.395Z] [2023-02-01T17:38:58.395Z] Login Succeeded [2023-02-01T17:38:58.395Z] docker.io [2023-02-01T17:38:58.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:38:58.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:38:58.655Z] Configure a credential helper to remove this warning. See [2023-02-01T17:38:58.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:38:58.655Z] [2023-02-01T17:38:58.655Z] Login Succeeded [2023-02-01T17:38:58.655Z] ---> docker-login.sh ends [Pipeline] } [2023-02-01T17:38:58.662Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-01T17:38:59.036Z] + git rev-list -1 --merges 4b20157eda4012d25fdea52dd0c5d79a24fc7227~1..4b20157eda4012d25fdea52dd0c5d79a24fc7227 [Pipeline] echo [2023-02-01T17:38:59.094Z] -----------> git rev-list -1 --merges 4b20157eda4012d25fdea52dd0c5d79a24fc7227~1..4b20157eda4012d25fdea52dd0c5d79a24fc7227 4b20157eda4012d25fdea52dd0c5d79a24fc7227 [false] [Pipeline] sh [2023-02-01T17:38:59.377Z] + git log --format=format:%s -1 4b20157eda4012d25fdea52dd0c5d79a24fc7227 [Pipeline] echo [2023-02-01T17:38:59.392Z] ========================================================= [2023-02-01T17:38:59.392Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-01T17:38:59.392Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-01T17:38:59.710Z] + git log --format=format:%s -1 4b20157eda4012d25fdea52dd0c5d79a24fc7227 [Pipeline] echo [2023-02-01T17:38:59.721Z] [semverPrep] GIT_COMMIT: 4b20157eda4012d25fdea52dd0c5d79a24fc7227, Commit Message: feat: Add resource, command, and device tags to reading/event [Pipeline] echo [2023-02-01T17:38:59.732Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-01T17:39:00.103Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-01T17:39:00.103Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-01T17:39:00.103Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-01T17:39:00.103Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-01T17:39:00.104Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-01T17:39:00.104Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-01T17:39:00.104Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:39:00.538Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-01T17:39:00.538Z] [2023-02-01T17:39:00.538Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:39:00.838Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-01T17:39:00.838Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-01T17:39:00.838Z] b85a868b505f: Pulling fs layer [2023-02-01T17:39:00.838Z] e2be974225ed: Pulling fs layer [2023-02-01T17:39:00.838Z] 339a4e72a1f5: Pulling fs layer [2023-02-01T17:39:00.838Z] 988bab9f4d93: Pulling fs layer [2023-02-01T17:39:00.838Z] 1469e6f7b9e6: Pulling fs layer [2023-02-01T17:39:00.838Z] eaf3925da568: Pulling fs layer [2023-02-01T17:39:00.838Z] bab4dde63d76: Pulling fs layer [2023-02-01T17:39:00.838Z] bde34c3a00c8: Pulling fs layer [2023-02-01T17:39:00.838Z] b352a97aabf1: Pulling fs layer [2023-02-01T17:39:00.838Z] 4872d77fe225: Pulling fs layer [2023-02-01T17:39:00.838Z] 5851b861e8e6: Pulling fs layer [2023-02-01T17:39:00.838Z] b352a97aabf1: Waiting [2023-02-01T17:39:00.838Z] 4872d77fe225: Waiting [2023-02-01T17:39:00.838Z] 5851b861e8e6: Waiting [2023-02-01T17:39:00.838Z] 1469e6f7b9e6: Waiting [2023-02-01T17:39:00.838Z] eaf3925da568: Waiting [2023-02-01T17:39:00.838Z] bab4dde63d76: Waiting [2023-02-01T17:39:00.838Z] 988bab9f4d93: Waiting [2023-02-01T17:39:00.838Z] bde34c3a00c8: Waiting [2023-02-01T17:39:00.838Z] e2be974225ed: Verifying Checksum [2023-02-01T17:39:00.838Z] e2be974225ed: Download complete [2023-02-01T17:39:00.838Z] 988bab9f4d93: Download complete [2023-02-01T17:39:01.111Z] 1469e6f7b9e6: Verifying Checksum [2023-02-01T17:39:01.111Z] 1469e6f7b9e6: Download complete [2023-02-01T17:39:01.111Z] eaf3925da568: Download complete [2023-02-01T17:39:01.111Z] 339a4e72a1f5: Verifying Checksum [2023-02-01T17:39:01.111Z] 339a4e72a1f5: Download complete [2023-02-01T17:39:01.111Z] bde34c3a00c8: Download complete [2023-02-01T17:39:01.373Z] b352a97aabf1: Download complete [2023-02-01T17:39:01.373Z] 4872d77fe225: Download complete [2023-02-01T17:39:01.373Z] 5851b861e8e6: Download complete [2023-02-01T17:39:01.373Z] b85a868b505f: Verifying Checksum [2023-02-01T17:39:01.373Z] b85a868b505f: Download complete [2023-02-01T17:39:01.631Z] bab4dde63d76: Verifying Checksum [2023-02-01T17:39:01.631Z] bab4dde63d76: Download complete [2023-02-01T17:39:02.571Z] b85a868b505f: Pull complete [2023-02-01T17:39:02.831Z] e2be974225ed: Pull complete [2023-02-01T17:39:03.405Z] 339a4e72a1f5: Pull complete [2023-02-01T17:39:03.405Z] 988bab9f4d93: Pull complete [2023-02-01T17:39:03.665Z] 1469e6f7b9e6: Pull complete [2023-02-01T17:39:03.665Z] eaf3925da568: Pull complete [2023-02-01T17:39:05.605Z] bab4dde63d76: Pull complete [2023-02-01T17:39:05.605Z] bde34c3a00c8: Pull complete [2023-02-01T17:39:05.605Z] b352a97aabf1: Pull complete [2023-02-01T17:39:05.605Z] 4872d77fe225: Pull complete [2023-02-01T17:39:05.605Z] 5851b861e8e6: Pull complete [2023-02-01T17:39:05.605Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-01T17:39:05.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-01T17:39:05.605Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T17:39:05.704Z] prd-ubuntu20.04-docker-8c-8g-4278 does not seem to be running inside a container [2023-02-01T17:39:05.727Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-01T17:39:07.215Z] $ docker top 7f6992e8a6b8298c111cf2889eb7ba6af6f7589b0461cd227191b8f21141a588 -eo pid,comm [2023-02-01T17:39:07.277Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-01T17:39:07.277Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-01T17:39:07.317Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-01T17:39:07.317Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-01T17:39:07.437Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-01T17:39:07.433Z] $ docker exec 7f6992e8a6b8298c111cf2889eb7ba6af6f7589b0461cd227191b8f21141a588 ssh-agent [2023-02-01T17:39:07.568Z] SSH_AUTH_SOCK=/tmp/ssh-qij6QSLzfZqz/agent.32 [2023-02-01T17:39:07.568Z] SSH_AGENT_PID=38 [2023-02-01T17:39:07.575Z] Running ssh-add (command line suppressed) [2023-02-01T17:39:07.681Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_16104919886786489390.key (/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_16104919886786489390.key) [2023-02-01T17:39:07.701Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-01T17:39:07.989Z] + git tag --points-at HEAD [Pipeline] } [2023-02-01T17:39:07.994Z] $ docker exec --env ******** --env ******** 7f6992e8a6b8298c111cf2889eb7ba6af6f7589b0461cd227191b8f21141a588 ssh-agent -k [2023-02-01T17:39:08.108Z] unset SSH_AUTH_SOCK; [2023-02-01T17:39:08.108Z] unset SSH_AGENT_PID; [2023-02-01T17:39:08.108Z] echo Agent pid 38 killed; [2023-02-01T17:39:08.127Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-01T17:39:08.159Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-01T17:39:08.159Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-01T17:39:08.267Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-01T17:39:08.263Z] $ docker exec 7f6992e8a6b8298c111cf2889eb7ba6af6f7589b0461cd227191b8f21141a588 ssh-agent [2023-02-01T17:39:08.379Z] SSH_AUTH_SOCK=/tmp/ssh-SlNtDTdT1Uj2/agent.70 [2023-02-01T17:39:08.379Z] SSH_AGENT_PID=76 [2023-02-01T17:39:08.383Z] Running ssh-add (command line suppressed) [2023-02-01T17:39:08.483Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_13125927493235506862.key (/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_13125927493235506862.key) [2023-02-01T17:39:08.506Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-01T17:39:08.795Z] + git semver init [2023-02-01T17:39:09.053Z] 2023-02-01 17:39:08,971 [run_init] DEBUG init version:0.0.0 force:False [2023-02-01T17:39:09.053Z] 2023-02-01 17:39:08,971 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver [2023-02-01T17:39:09.053Z] 2023-02-01 17:39:08,972 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver [2023-02-01T17:39:09.053Z] 2023-02-01 17:39:08,972 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1297, universal_newlines=False, shell=None, istream=None) [2023-02-01T17:39:09.994Z] 2023-02-01 17:39:09,904 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.git/info/exclude [2023-02-01T17:39:09.994Z] 2023-02-01 17:39:09,904 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver/PR-1297 with force:False [2023-02-01T17:39:09.994Z] 2023-02-01 17:39:09,905 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver/PR-1297 [2023-02-01T17:39:09.994Z] 2023-02-01 17:39:09,907 [execute] INFO git cat-file --batch-check [2023-02-01T17:39:09.994Z] 2023-02-01 17:39:09,908 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver, universal_newlines=False, shell=None, istream=) [2023-02-01T17:39:09.994Z] 2023-02-01 17:39:09,912 [execute] INFO git cat-file --batch [2023-02-01T17:39:09.994Z] 2023-02-01 17:39:09,912 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver, universal_newlines=False, shell=None, istream=) [2023-02-01T17:39:09.994Z] 2023-02-01 17:39:09,916 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver/PR-1297 [2023-02-01T17:39:09.994Z] 0.0.0 [Pipeline] } [2023-02-01T17:39:09.999Z] $ docker exec --env ******** --env ******** 7f6992e8a6b8298c111cf2889eb7ba6af6f7589b0461cd227191b8f21141a588 ssh-agent -k [2023-02-01T17:39:10.103Z] unset SSH_AUTH_SOCK; [2023-02-01T17:39:10.104Z] unset SSH_AGENT_PID; [2023-02-01T17:39:10.104Z] echo Agent pid 76 killed; [2023-02-01T17:39:10.117Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-01T17:39:10.422Z] + git semver [Pipeline] } [2023-02-01T17:39:10.693Z] $ docker stop --time=1 7f6992e8a6b8298c111cf2889eb7ba6af6f7589b0461cd227191b8f21141a588 [2023-02-01T17:39:11.999Z] $ docker rm -f --volumes 7f6992e8a6b8298c111cf2889eb7ba6af6f7589b0461cd227191b8f21141a588 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-01T17:39:12.338Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-01T17:39:12.567Z] Stashed 1 file(s) [Pipeline] echo [2023-02-01T17:39:12.571Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-01T17:39:12.678Z] provisioning config files... [2023-02-01T17:39:12.686Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config6163633142344556582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-01T17:39:12.984Z] ---> docker-login.sh [2023-02-01T17:39:12.984Z] nexus3.edgexfoundry.org:10001 [2023-02-01T17:39:12.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:39:12.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:39:12.984Z] Configure a credential helper to remove this warning. See [2023-02-01T17:39:12.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:39:12.984Z] [2023-02-01T17:39:12.984Z] Login Succeeded [2023-02-01T17:39:12.984Z] nexus3.edgexfoundry.org:10002 [2023-02-01T17:39:12.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:39:12.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:39:12.984Z] Configure a credential helper to remove this warning. See [2023-02-01T17:39:12.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:39:12.984Z] [2023-02-01T17:39:12.984Z] Login Succeeded [2023-02-01T17:39:12.984Z] nexus3.edgexfoundry.org:10003 [2023-02-01T17:39:13.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:39:13.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:39:13.244Z] Configure a credential helper to remove this warning. See [2023-02-01T17:39:13.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:39:13.244Z] [2023-02-01T17:39:13.244Z] Login Succeeded [2023-02-01T17:39:13.244Z] nexus3.edgexfoundry.org:10004 [2023-02-01T17:39:13.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:39:13.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:39:13.244Z] Configure a credential helper to remove this warning. See [2023-02-01T17:39:13.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:39:13.244Z] [2023-02-01T17:39:13.244Z] Login Succeeded [2023-02-01T17:39:13.244Z] docker.io [2023-02-01T17:39:13.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:39:13.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:39:13.505Z] Configure a credential helper to remove this warning. See [2023-02-01T17:39:13.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:39:13.505Z] [2023-02-01T17:39:13.505Z] Login Succeeded [2023-02-01T17:39:13.505Z] ---> docker-login.sh ends [Pipeline] } [2023-02-01T17:39:13.513Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-01T17:39:13.587Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-01T17:39:13.605Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-01T17:39:13.614Z] ========================================================= [2023-02-01T17:39:13.614Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-01T17:39:13.614Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:39:13.929Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-01T17:39:13.929Z] Sending build context to Docker daemon 10.57MB [2023-02-01T17:39:13.929Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-01T17:39:13.929Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-01T17:39:13.929Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-01T17:39:13.929Z] 213ec9aee27d: Pulling fs layer [2023-02-01T17:39:13.929Z] 4583459ba037: Pulling fs layer [2023-02-01T17:39:13.929Z] 93c1e223e6f2: Pulling fs layer [2023-02-01T17:39:13.929Z] 53926ce57604: Pulling fs layer [2023-02-01T17:39:13.929Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-01T17:39:13.929Z] 22ff95d597cd: Pulling fs layer [2023-02-01T17:39:13.929Z] 12d6caf4c0d1: Pulling fs layer [2023-02-01T17:39:13.929Z] 96b7cbca73a9: Pulling fs layer [2023-02-01T17:39:13.929Z] a7acece74701: Pulling fs layer [2023-02-01T17:39:13.929Z] 21b2b0c7a3f4: Waiting [2023-02-01T17:39:13.929Z] 22ff95d597cd: Waiting [2023-02-01T17:39:13.929Z] 12d6caf4c0d1: Waiting [2023-02-01T17:39:13.929Z] 96b7cbca73a9: Waiting [2023-02-01T17:39:13.929Z] a7acece74701: Waiting [2023-02-01T17:39:13.929Z] 53926ce57604: Waiting [2023-02-01T17:39:14.193Z] 93c1e223e6f2: Verifying Checksum [2023-02-01T17:39:14.193Z] 93c1e223e6f2: Download complete [2023-02-01T17:39:14.193Z] 4583459ba037: Verifying Checksum [2023-02-01T17:39:14.193Z] 4583459ba037: Download complete [2023-02-01T17:39:14.193Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-01T17:39:14.193Z] 21b2b0c7a3f4: Download complete [2023-02-01T17:39:14.193Z] 22ff95d597cd: Verifying Checksum [2023-02-01T17:39:14.193Z] 22ff95d597cd: Download complete [2023-02-01T17:39:14.193Z] 213ec9aee27d: Verifying Checksum [2023-02-01T17:39:14.193Z] 213ec9aee27d: Download complete [2023-02-01T17:39:14.193Z] 12d6caf4c0d1: Verifying Checksum [2023-02-01T17:39:14.193Z] 12d6caf4c0d1: Download complete [2023-02-01T17:39:14.467Z] 213ec9aee27d: Pull complete [2023-02-01T17:39:14.467Z] 4583459ba037: Pull complete [2023-02-01T17:39:14.467Z] 93c1e223e6f2: Pull complete [2023-02-01T17:39:15.569Z] a7acece74701: Verifying Checksum [2023-02-01T17:39:15.569Z] a7acece74701: Download complete [2023-02-01T17:39:15.846Z] 53926ce57604: Verifying Checksum [2023-02-01T17:39:15.846Z] 53926ce57604: Download complete [2023-02-01T17:39:16.105Z] 96b7cbca73a9: Download complete [2023-02-01T17:39:20.300Z] 53926ce57604: Pull complete [2023-02-01T17:39:20.300Z] 21b2b0c7a3f4: Pull complete [2023-02-01T17:39:20.300Z] 22ff95d597cd: Pull complete [2023-02-01T17:39:20.300Z] 12d6caf4c0d1: Pull complete [2023-02-01T17:39:22.196Z] 96b7cbca73a9: Pull complete [2023-02-01T17:39:22.762Z] a7acece74701: Pull complete [2023-02-01T17:39:22.762Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-01T17:39:22.762Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-01T17:39:22.762Z] ---> db6d94c90886 [2023-02-01T17:39:22.762Z] Step 3/10 : ARG MAKE=make build [2023-02-01T17:39:25.297Z] ---> Running in 94ad94e276fa [2023-02-01T17:39:25.297Z] Removing intermediate container 94ad94e276fa [2023-02-01T17:39:25.297Z] ---> 6b6d3f1165f1 [2023-02-01T17:39:25.297Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-01T17:39:25.556Z] ---> Running in e9bc667e1505 [2023-02-01T17:39:25.556Z] Removing intermediate container e9bc667e1505 [2023-02-01T17:39:25.556Z] ---> fa7159a214a5 [2023-02-01T17:39:25.556Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-01T17:39:25.556Z] ---> Running in a2225e13223a [2023-02-01T17:39:25.556Z] Removing intermediate container a2225e13223a [2023-02-01T17:39:25.556Z] ---> 436a2174e3f1 [2023-02-01T17:39:25.556Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-01T17:39:25.556Z] ---> Running in fce06ab895a9 [2023-02-01T17:39:25.815Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-01T17:39:26.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-01T17:39:26.335Z] OK: 211 MiB in 51 packages [2023-02-01T17:39:26.594Z] Removing intermediate container fce06ab895a9 [2023-02-01T17:39:26.594Z] ---> 2a0231b53325 [2023-02-01T17:39:26.594Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-01T17:39:26.594Z] ---> 0b9a67162d2f [2023-02-01T17:39:26.594Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-01T17:39:26.594Z] ---> Running in fb9439c74260 [2023-02-01T17:39:27.646Z] Still waiting to schedule task [2023-02-01T17:39:27.646Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-01T17:40:05.338Z] Removing intermediate container fb9439c74260 [2023-02-01T17:40:05.338Z] ---> 164482241363 [2023-02-01T17:40:05.338Z] Step 9/10 : COPY . . [2023-02-01T17:40:05.338Z] ---> ebe0b2234bd1 [2023-02-01T17:40:05.338Z] Step 10/10 : RUN ${MAKE} [2023-02-01T17:40:05.338Z] ---> Running in 3963fc78f2b0 [2023-02-01T17:40:05.338Z] noop [2023-02-01T17:40:05.338Z] Removing intermediate container 3963fc78f2b0 [2023-02-01T17:40:05.338Z] ---> 59608a82336d [2023-02-01T17:40:05.338Z] Successfully built 59608a82336d [2023-02-01T17:40:05.338Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:40:05.641Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-01T17:40:05.641Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T17:40:05.712Z] prd-ubuntu20.04-docker-8c-8g-4278 does not seem to be running inside a container [2023-02-01T17:40:05.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-01T17:40:06.085Z] $ docker top ae7205b9517a1bbca08175495d10f62a5d0499fca4c18e38ef7cfe08c4ce1d3f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-01T17:40:06.420Z] + go version [2023-02-01T17:40:06.421Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-01T17:40:06.438Z] $ docker stop --time=1 ae7205b9517a1bbca08175495d10f62a5d0499fca4c18e38ef7cfe08c4ce1d3f [2023-02-01T17:40:07.726Z] $ docker rm -f --volumes ae7205b9517a1bbca08175495d10f62a5d0499fca4c18e38ef7cfe08c4ce1d3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:40:08.132Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-01T17:40:08.132Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T17:40:08.198Z] prd-ubuntu20.04-docker-8c-8g-4278 does not seem to be running inside a container [2023-02-01T17:40:08.236Z] $ 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-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-01T17:40:08.563Z] $ docker top a1d6caf0219b5f1270c49961a6dd05bbf4b3ebe26ee2aafaedb6656ccc50ab45 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-01T17:40:08.891Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1297 [Pipeline] fileExists [Pipeline] sh [2023-02-01T17:40:09.185Z] + make test [2023-02-01T17:40:09.185Z] go test -race -coverprofile=coverage.out ./... [2023-02-01T17:40:15.749Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-01T17:40:30.618Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-01T17:40:30.618Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-01T17:40:30.618Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-01T17:40:30.618Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-01T17:40:30.618Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-01T17:40:30.618Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.066s coverage: 27.6% of statements [2023-02-01T17:40:30.618Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.087s coverage: 78.9% of statements [2023-02-01T17:40:30.618Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-01T17:40:30.618Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.096s coverage: 79.7% of statements [2023-02-01T17:40:30.618Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-01T17:40:30.618Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-01T17:40:30.618Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.106s coverage: 60.6% of statements [2023-02-01T17:40:30.618Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-01T17:40:30.618Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-01T17:40:30.618Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-01T17:40:30.618Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-02-01T17:40:30.618Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.087s coverage: 65.2% of statements [2023-02-01T17:40:30.618Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-01T17:40:30.618Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-01T17:40:30.618Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.725s coverage: 89.2% of statements [2023-02-01T17:40:30.618Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-01T17:40:30.618Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.068s coverage: 4.6% of statements [2023-02-01T17:40:30.618Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-01T17:40:45.502Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-01T17:40:45.502Z] GO111MODULE=on go vet ./... [2023-02-01T17:40:47.404Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-01T17:40:47.404Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-01T17:40:47.664Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-01T17:40:47.680Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-01T17:40:47.700Z] $ docker stop --time=1 a1d6caf0219b5f1270c49961a6dd05bbf4b3ebe26ee2aafaedb6656ccc50ab45 [2023-02-01T17:40:50.233Z] $ docker rm -f --volumes a1d6caf0219b5f1270c49961a6dd05bbf4b3ebe26ee2aafaedb6656ccc50ab45 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-01T17:40:50.716Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-01T17:40:50.777Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-01T17:40:51.255Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-01T17:40:51.543Z] + ls -al . [2023-02-01T17:40:51.543Z] total 272 [2023-02-01T17:40:51.543Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 1 17:40 . [2023-02-01T17:40:51.543Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 17:38 .. [2023-02-01T17:40:51.543Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 1 17:38 .dockerignore [2023-02-01T17:40:51.543Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 17:40 .git [2023-02-01T17:40:51.543Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 17:38 .github [2023-02-01T17:40:51.543Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 1 17:38 .gitignore [2023-02-01T17:40:51.543Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 1 17:38 .golangci.yml [2023-02-01T17:40:51.543Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 1 17:39 .semver [2023-02-01T17:40:51.543Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 1 17:38 CHANGELOG.md [2023-02-01T17:40:51.543Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 1 17:38 GOVERNANCE.md [2023-02-01T17:40:51.543Z] -rw-rw-r-- 1 jenkins jenkins 880 Feb 1 17:38 Jenkinsfile [2023-02-01T17:40:51.543Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 1 17:38 LICENSE [2023-02-01T17:40:51.543Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 1 17:38 Makefile [2023-02-01T17:40:51.543Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 1 17:38 OWNERS.md [2023-02-01T17:40:51.543Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 1 17:38 README.md [2023-02-01T17:40:51.543Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 1 17:39 VERSION [2023-02-01T17:40:51.543Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 17:38 bin [2023-02-01T17:40:51.543Z] -rw-r--r-- 1 jenkins jenkins 101918 Feb 1 17:40 coverage.out [2023-02-01T17:40:51.543Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 1 17:38 example [2023-02-01T17:40:51.543Z] -rw-rw-r-- 1 jenkins jenkins 3307 Feb 1 17:38 go.mod [2023-02-01T17:40:51.543Z] -rw-rw-r-- 1 jenkins jenkins 34396 Feb 1 17:38 go.sum [2023-02-01T17:40:51.543Z] drwxrwxr-x 14 jenkins jenkins 4096 Feb 1 17:38 internal [2023-02-01T17:40:51.543Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 17:38 openapi [2023-02-01T17:40:51.543Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 1 17:38 pkg [2023-02-01T17:40:51.543Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 17:38 snap [2023-02-01T17:40:51.543Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 1 17:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:40:51.851Z] + 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=4b20157eda4012d25fdea52dd0c5d79a24fc7227 --label arch=amd64 --label version=0.0.0 . [2023-02-01T17:40:51.851Z] Sending build context to Docker daemon 10.68MB [2023-02-01T17:40:51.851Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-01T17:40:51.851Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-01T17:40:51.851Z] ---> 59608a82336d [2023-02-01T17:40:51.851Z] Step 3/23 : ARG MAKE=make build [2023-02-01T17:40:52.111Z] ---> Running in 74ca15899ee0 [2023-02-01T17:40:52.111Z] Removing intermediate container 74ca15899ee0 [2023-02-01T17:40:52.111Z] ---> a0c8ceb57cf7 [2023-02-01T17:40:52.111Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-01T17:40:52.111Z] ---> Running in 358b5a720f34 [2023-02-01T17:40:52.111Z] Removing intermediate container 358b5a720f34 [2023-02-01T17:40:52.111Z] ---> 4d074aac2bcc [2023-02-01T17:40:52.111Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-01T17:40:52.111Z] ---> Running in 40334d76f683 [2023-02-01T17:40:52.373Z] Removing intermediate container 40334d76f683 [2023-02-01T17:40:52.373Z] ---> 0b0aa59b350d [2023-02-01T17:40:52.373Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-01T17:40:52.373Z] ---> Running in 7410a7601290 [2023-02-01T17:40:52.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-01T17:40:52.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-01T17:40:53.198Z] OK: 211 MiB in 51 packages [2023-02-01T17:40:53.456Z] Removing intermediate container 7410a7601290 [2023-02-01T17:40:53.456Z] ---> ffe23fa275e0 [2023-02-01T17:40:53.456Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-01T17:40:53.456Z] ---> 6e1c63242834 [2023-02-01T17:40:53.456Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-01T17:40:53.456Z] ---> Running in 785ccb0e6479 [2023-02-01T17:40:54.393Z] Removing intermediate container 785ccb0e6479 [2023-02-01T17:40:54.393Z] ---> 219f13a32d92 [2023-02-01T17:40:54.393Z] Step 9/23 : COPY . . [2023-02-01T17:40:54.653Z] ---> 5504b3533fa8 [2023-02-01T17:40:54.653Z] Step 10/23 : RUN ${MAKE} [2023-02-01T17:40:54.653Z] ---> Running in 6fe198f4a9f2 [2023-02-01T17:40:54.912Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-01T17:41:02.846Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4279 in /w/workspace/gexfoundry_device-sdk-go_PR-1297 [Pipeline] { [Pipeline] ws [2023-02-01T17:41:02.859Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-02-01T17:41:02.898Z] The recommended git tool is: git [2023-02-01T17:41:07.681Z] using credential edgex-jenkins-ssh [2023-02-01T17:41:07.697Z] Cloning the remote Git repository [2023-02-01T17:41:07.743Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-01T17:41:07.822Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-02-01T17:41:08.631Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-01T17:41:08.632Z] > git --version # timeout=10 [2023-02-01T17:41:08.657Z] > git --version # 'git version 2.25.1' [2023-02-01T17:41:08.658Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-01T17:41:08.715Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-01T17:41:10.219Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-01T17:41:10.237Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-01T17:41:11.039Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-01T17:41:11.080Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-01T17:41:11.081Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-01T17:41:11.097Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1297/head:refs/remotes/origin/PR-1297 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-01T17:41:11.733Z] Merging remotes/origin/main commit 881f10918eb4e60f546b60d89ac5bea6bad2c109 into PR head commit 4b20157eda4012d25fdea52dd0c5d79a24fc7227 [2023-02-01T17:41:11.952Z] Merge succeeded, producing 4b20157eda4012d25fdea52dd0c5d79a24fc7227 [2023-02-01T17:41:11.953Z] Checking out Revision 4b20157eda4012d25fdea52dd0c5d79a24fc7227 (PR-1297) [2023-02-01T17:41:12.996Z] Removing intermediate container 6fe198f4a9f2 [2023-02-01T17:41:12.996Z] ---> 941c213ea1da [2023-02-01T17:41:12.996Z] Step 11/23 : FROM alpine:3.16 [2023-02-01T17:41:12.996Z] 3.16: Pulling from library/alpine [2023-02-01T17:41:12.996Z] ca7dd9ec2225: Pulling fs layer [2023-02-01T17:41:12.996Z] ca7dd9ec2225: Verifying Checksum [2023-02-01T17:41:12.996Z] ca7dd9ec2225: Download complete [2023-02-01T17:41:12.996Z] ca7dd9ec2225: Pull complete [2023-02-01T17:41:12.996Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-01T17:41:12.996Z] Status: Downloaded newer image for alpine:3.16 [2023-02-01T17:41:12.996Z] ---> bfe296a52501 [2023-02-01T17:41:12.996Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-01T17:41:12.996Z] ---> Running in 194f80667117 [2023-02-01T17:41:12.996Z] Removing intermediate container 194f80667117 [2023-02-01T17:41:12.996Z] ---> e53e9fb723cb [2023-02-01T17:41:12.996Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-01T17:41:12.996Z] ---> Running in 64f98bed4a53 [2023-02-01T17:41:12.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-01T17:41:12.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-01T17:41:12.996Z] OK: 6 MiB in 14 packages [2023-02-01T17:41:11.748Z] > git config core.sparsecheckout # timeout=10 [2023-02-01T17:41:11.762Z] > git checkout -f 4b20157eda4012d25fdea52dd0c5d79a24fc7227 # timeout=10 [2023-02-01T17:41:11.856Z] > git remote # timeout=10 [2023-02-01T17:41:11.872Z] > git config --get remote.origin.url # timeout=10 [2023-02-01T17:41:11.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-01T17:41:11.905Z] > git merge 881f10918eb4e60f546b60d89ac5bea6bad2c109 # timeout=10 [2023-02-01T17:41:11.927Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-01T17:41:11.958Z] > git config core.sparsecheckout # timeout=10 [2023-02-01T17:41:11.969Z] > git checkout -f 4b20157eda4012d25fdea52dd0c5d79a24fc7227 # timeout=10 [2023-02-01T17:41:13.263Z] Removing intermediate container 64f98bed4a53 [2023-02-01T17:41:13.263Z] ---> cfcabaa2e514 [2023-02-01T17:41:13.263Z] Step 14/23 : WORKDIR / [2023-02-01T17:41:13.263Z] ---> Running in 5b8a3ae289d8 [2023-02-01T17:41:13.263Z] Removing intermediate container 5b8a3ae289d8 [2023-02-01T17:41:13.263Z] ---> 33e585deaa7b [2023-02-01T17:41:13.263Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-01T17:41:13.521Z] ---> 61f0ba9b1e7b [2023-02-01T17:41:13.521Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-01T17:41:14.088Z] ---> d50423aaa998 [2023-02-01T17:41:14.088Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-01T17:41:14.088Z] ---> 9ce1a8809cbf [2023-02-01T17:41:14.088Z] Step 18/23 : EXPOSE 59999 [2023-02-01T17:41:14.088Z] ---> Running in a6b91f7edb7e [2023-02-01T17:41:14.088Z] Removing intermediate container a6b91f7edb7e [2023-02-01T17:41:14.088Z] ---> 3bd839efddb8 [2023-02-01T17:41:14.088Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-01T17:41:14.088Z] ---> Running in 05bede6e06c5 [2023-02-01T17:41:14.347Z] Removing intermediate container 05bede6e06c5 [2023-02-01T17:41:14.347Z] ---> 51f8872fb46e [2023-02-01T17:41:14.347Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-01T17:41:14.347Z] ---> Running in 1f9a7dbe5a02 [2023-02-01T17:41:14.347Z] Removing intermediate container 1f9a7dbe5a02 [2023-02-01T17:41:14.347Z] ---> 6baef638db91 [2023-02-01T17:41:14.347Z] Step 21/23 : LABEL arch=amd64 [2023-02-01T17:41:14.347Z] ---> Running in 37691e25712d [2023-02-01T17:41:14.347Z] Removing intermediate container 37691e25712d [2023-02-01T17:41:14.347Z] ---> e48f56d5e475 [2023-02-01T17:41:14.347Z] Step 22/23 : LABEL git_sha=4b20157eda4012d25fdea52dd0c5d79a24fc7227 [2023-02-01T17:41:14.347Z] ---> Running in fa3987c5929f [2023-02-01T17:41:14.608Z] Removing intermediate container fa3987c5929f [2023-02-01T17:41:14.608Z] ---> 8003f2aadd6b [2023-02-01T17:41:14.608Z] Step 23/23 : LABEL version=0.0.0 [2023-02-01T17:41:14.608Z] ---> Running in dbe306e3e9fc [2023-02-01T17:41:14.608Z] Removing intermediate container dbe306e3e9fc [2023-02-01T17:41:14.608Z] ---> 3065bc413cba [2023-02-01T17:41:14.608Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-01T17:41:14.608Z] Successfully built 3065bc413cba [2023-02-01T17:41:14.608Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:41:15.055Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-01T17:41:15.055Z] [2023-02-01T17:41:15.055Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:41:15.385Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-01T17:41:15.385Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-01T17:41:15.385Z] 5eb5b503b376: Pulling fs layer [2023-02-01T17:41:15.385Z] 5c69ac0246d0: Pulling fs layer [2023-02-01T17:41:15.385Z] ec43610c2a17: Pulling fs layer [2023-02-01T17:41:15.385Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-01T17:41:15.385Z] 33b1e0a273af: Pulling fs layer [2023-02-01T17:41:15.385Z] 5d3b04190fa2: Pulling fs layer [2023-02-01T17:41:15.385Z] 2f39f015ded8: Pulling fs layer [2023-02-01T17:41:15.385Z] 33b1e0a273af: Waiting [2023-02-01T17:41:15.385Z] 2f39f015ded8: Waiting [2023-02-01T17:41:15.385Z] 5d3b04190fa2: Waiting [2023-02-01T17:41:15.385Z] 3a2ae6a8a46f: Waiting [2023-02-01T17:41:15.385Z] 5c69ac0246d0: Download complete [2023-02-01T17:41:15.385Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-01T17:41:15.385Z] 3a2ae6a8a46f: Download complete [2023-02-01T17:41:15.442Z] Commit message: "feat: Add resource, command, and device tags to reading/event" [2023-02-01T17:41:15.654Z] 33b1e0a273af: Verifying Checksum [2023-02-01T17:41:15.654Z] 33b1e0a273af: Download complete [2023-02-01T17:41:15.654Z] 5d3b04190fa2: Verifying Checksum [2023-02-01T17:41:15.654Z] 5d3b04190fa2: Download complete [2023-02-01T17:41:15.654Z] ec43610c2a17: Verifying Checksum [2023-02-01T17:41:15.654Z] ec43610c2a17: Download complete [2023-02-01T17:41:15.919Z] 5eb5b503b376: Verifying Checksum [2023-02-01T17:41:15.919Z] 5eb5b503b376: Download complete [2023-02-01T17:41:15.954Z] [2023-02-01T17:41:15.954Z] GitHub has been notified of this commit’s build result [2023-02-01T17:41:15.954Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-01T17:41:16.457Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-01T17:41:16.457Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-01T17:41:16.457Z] Dload Upload Total Spent Left Speed [2023-02-01T17:41:16.457Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2023-02-01T17:41:16.861Z] 2f39f015ded8: Download complete [2023-02-01T17:41:17.122Z] 5eb5b503b376: Pull complete [2023-02-01T17:41:17.122Z] 5c69ac0246d0: Pull complete [2023-02-01T17:41:17.129Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-01T17:41:17.450Z] + sudo tee /etc/docker/daemon.new [2023-02-01T17:41:17.451Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-01T17:41:17.451Z] { [2023-02-01T17:41:17.451Z] "registry-mirrors": [ [2023-02-01T17:41:17.451Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-01T17:41:17.451Z] ], [2023-02-01T17:41:17.451Z] "bip": "10.250.0.254/24", [2023-02-01T17:41:17.451Z] "hosts": [ [2023-02-01T17:41:17.451Z] "tcp://0.0.0.0:5555", [2023-02-01T17:41:17.451Z] "unix:///var/run/docker.sock" [2023-02-01T17:41:17.451Z] ], [2023-02-01T17:41:17.451Z] "mtu": 1458, [2023-02-01T17:41:17.451Z] "selinux-enabled": true, [2023-02-01T17:41:17.451Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-01T17:41:17.451Z] } [Pipeline] sh [2023-02-01T17:41:17.690Z] ec43610c2a17: Pull complete [2023-02-01T17:41:17.690Z] 3a2ae6a8a46f: Pull complete [2023-02-01T17:41:17.788Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-01T17:41:17.948Z] 33b1e0a273af: Pull complete [2023-02-01T17:41:17.948Z] 5d3b04190fa2: Pull complete [2023-02-01T17:41:18.112Z] + sudo service docker restart [2023-02-01T17:41:22.150Z] 2f39f015ded8: Pull complete [2023-02-01T17:41:22.150Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-01T17:41:22.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-01T17:41:22.150Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T17:41:22.244Z] prd-ubuntu20.04-docker-8c-8g-4278 does not seem to be running inside a container [2023-02-01T17:41:22.277Z] $ 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-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-01T17:41:23.859Z] $ docker top d6dffe556bfa5dcd4f8ee56ca894d583f74d6581f14eed6d41e68514673da246 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-01T17:41:24.265Z] ---> job-cost.sh [2023-02-01T17:41:24.265Z] lf-activate-venv: SKIPPING [2023-02-01T17:41:24.265Z] INFO: No Stack... [2023-02-01T17:41:24.523Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-01T17:41:25.088Z] INFO: Archiving Costs [Pipeline] sh [2023-02-01T17:41:25.382Z] + + cut -d, -f6 [2023-02-01T17:41:25.382Z] cat /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives/cost.csv [Pipeline] lock [2023-02-01T17:41:25.399Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1297-2-stack-cost] [2023-02-01T17:41:25.406Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-2-stack-cost] did not exist. Created. [2023-02-01T17:41:25.406Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1297-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-01T17:41:25.713Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-01T17:41:25.752Z] Stashed 1 file(s) [Pipeline] } [2023-02-01T17:41:25.758Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-01T17:41:25.778Z] $ docker stop --time=1 d6dffe556bfa5dcd4f8ee56ca894d583f74d6581f14eed6d41e68514673da246 [2023-02-01T17:41:26.941Z] $ docker rm -f --volumes d6dffe556bfa5dcd4f8ee56ca894d583f74d6581f14eed6d41e68514673da246 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-01T17:41:36.350Z] provisioning config files... [2023-02-01T17:41:36.377Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config16414393185974704171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-01T17:41:36.721Z] ---> docker-login.sh [2023-02-01T17:41:36.721Z] nexus3.edgexfoundry.org:10001 [2023-02-01T17:41:36.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:41:37.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:41:37.259Z] Configure a credential helper to remove this warning. See [2023-02-01T17:41:37.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:41:37.259Z] [2023-02-01T17:41:37.259Z] Login Succeeded [2023-02-01T17:41:37.259Z] nexus3.edgexfoundry.org:10002 [2023-02-01T17:41:37.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:41:37.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:41:37.530Z] Configure a credential helper to remove this warning. See [2023-02-01T17:41:37.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:41:37.530Z] [2023-02-01T17:41:37.530Z] Login Succeeded [2023-02-01T17:41:37.530Z] nexus3.edgexfoundry.org:10003 [2023-02-01T17:41:37.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:41:38.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:41:38.067Z] Configure a credential helper to remove this warning. See [2023-02-01T17:41:38.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:41:38.067Z] [2023-02-01T17:41:38.067Z] Login Succeeded [2023-02-01T17:41:38.067Z] nexus3.edgexfoundry.org:10004 [2023-02-01T17:41:38.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:41:38.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:41:38.349Z] Configure a credential helper to remove this warning. See [2023-02-01T17:41:38.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:41:38.349Z] [2023-02-01T17:41:38.349Z] Login Succeeded [2023-02-01T17:41:38.349Z] docker.io [2023-02-01T17:41:38.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-01T17:41:38.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-01T17:41:38.887Z] Configure a credential helper to remove this warning. See [2023-02-01T17:41:38.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-01T17:41:38.887Z] [2023-02-01T17:41:38.887Z] Login Succeeded [2023-02-01T17:41:38.887Z] ---> docker-login.sh ends [Pipeline] } [2023-02-01T17:41:38.902Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-01T17:41:39.142Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-01T17:41:39.162Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-01T17:41:39.177Z] ========================================================= [2023-02-01T17:41:39.177Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-01T17:41:39.177Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:41:39.526Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-01T17:41:39.795Z] Sending build context to Docker daemon 5.72MB [2023-02-01T17:41:39.795Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-01T17:41:39.795Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-01T17:41:40.065Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-01T17:41:40.065Z] 9b18e9b68314: Pulling fs layer [2023-02-01T17:41:40.065Z] 35d82f9e3411: Pulling fs layer [2023-02-01T17:41:40.065Z] e16973657156: Pulling fs layer [2023-02-01T17:41:40.065Z] fc693d55d65f: Pulling fs layer [2023-02-01T17:41:40.065Z] 7e9fc2657dce: Pulling fs layer [2023-02-01T17:41:40.065Z] dda99020689f: Pulling fs layer [2023-02-01T17:41:40.065Z] db1c61fa0a46: Pulling fs layer [2023-02-01T17:41:40.065Z] 891c053d2c06: Pulling fs layer [2023-02-01T17:41:40.065Z] fc693d55d65f: Waiting [2023-02-01T17:41:40.065Z] 7e9fc2657dce: Waiting [2023-02-01T17:41:40.065Z] dda99020689f: Waiting [2023-02-01T17:41:40.065Z] 891c053d2c06: Waiting [2023-02-01T17:41:40.065Z] db1c61fa0a46: Waiting [2023-02-01T17:41:40.065Z] e16973657156: Verifying Checksum [2023-02-01T17:41:40.065Z] e16973657156: Download complete [2023-02-01T17:41:40.065Z] 35d82f9e3411: Verifying Checksum [2023-02-01T17:41:40.065Z] 35d82f9e3411: Download complete [2023-02-01T17:41:40.065Z] 7e9fc2657dce: Verifying Checksum [2023-02-01T17:41:40.065Z] 7e9fc2657dce: Download complete [2023-02-01T17:41:40.065Z] dda99020689f: Download complete [2023-02-01T17:41:40.337Z] 9b18e9b68314: Verifying Checksum [2023-02-01T17:41:40.940Z] 9b18e9b68314: Pull complete [2023-02-01T17:41:41.218Z] 891c053d2c06: Verifying Checksum [2023-02-01T17:41:41.218Z] 891c053d2c06: Download complete [2023-02-01T17:41:41.805Z] 35d82f9e3411: Pull complete [2023-02-01T17:41:42.074Z] e16973657156: Pull complete [2023-02-01T17:41:42.667Z] db1c61fa0a46: Verifying Checksum [2023-02-01T17:41:42.667Z] db1c61fa0a46: Download complete [2023-02-01T17:41:43.254Z] fc693d55d65f: Verifying Checksum [2023-02-01T17:41:43.254Z] fc693d55d65f: Download complete [2023-02-01T17:41:55.600Z] fc693d55d65f: Pull complete [2023-02-01T17:41:55.600Z] 7e9fc2657dce: Pull complete [2023-02-01T17:41:55.600Z] dda99020689f: Pull complete [2023-02-01T17:42:02.261Z] db1c61fa0a46: Pull complete [2023-02-01T17:42:04.217Z] 891c053d2c06: Pull complete [2023-02-01T17:42:04.217Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-01T17:42:04.217Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-01T17:42:04.217Z] ---> f96f9c87975a [2023-02-01T17:42:04.217Z] Step 3/10 : ARG MAKE=make build [2023-02-01T17:42:06.170Z] ---> Running in 2acb01b3059d [2023-02-01T17:42:06.445Z] Removing intermediate container 2acb01b3059d [2023-02-01T17:42:06.445Z] ---> abf142140c71 [2023-02-01T17:42:06.445Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-01T17:42:06.445Z] ---> Running in b145c6d0fca6 [2023-02-01T17:42:07.034Z] Removing intermediate container b145c6d0fca6 [2023-02-01T17:42:07.034Z] ---> 0cd6f24ad4d8 [2023-02-01T17:42:07.034Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-01T17:42:07.034Z] ---> Running in 891a6f6769ca [2023-02-01T17:42:07.304Z] Removing intermediate container 891a6f6769ca [2023-02-01T17:42:07.304Z] ---> 4bc2ca2f733d [2023-02-01T17:42:07.304Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-01T17:42:07.304Z] ---> Running in c9b2a3c47c23 [2023-02-01T17:42:08.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-01T17:42:08.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-01T17:42:09.682Z] OK: 221 MiB in 51 packages [2023-02-01T17:42:10.643Z] Removing intermediate container c9b2a3c47c23 [2023-02-01T17:42:10.643Z] ---> 4ceaf8b5fba2 [2023-02-01T17:42:10.643Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-01T17:42:11.227Z] ---> 4c206b88c27a [2023-02-01T17:42:11.227Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-01T17:42:11.227Z] ---> Running in cdf8401974bd [2023-02-01T17:43:32.865Z] Removing intermediate container cdf8401974bd [2023-02-01T17:43:32.865Z] ---> 84d4d53bd58b [2023-02-01T17:43:32.865Z] Step 9/10 : COPY . . [2023-02-01T17:43:32.865Z] ---> 9e2fa8c05541 [2023-02-01T17:43:32.865Z] Step 10/10 : RUN ${MAKE} [2023-02-01T17:43:32.865Z] ---> Running in 27993dae71f2 [2023-02-01T17:43:32.865Z] noop [2023-02-01T17:43:32.865Z] Removing intermediate container 27993dae71f2 [2023-02-01T17:43:32.865Z] ---> bc0264bbb36d [2023-02-01T17:43:32.865Z] Successfully built bc0264bbb36d [2023-02-01T17:43:32.865Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:43:33.221Z] + docker inspect -f . ci-base-image-arm64 [2023-02-01T17:43:33.221Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T17:43:33.418Z] prd-ubuntu20.04-docker-arm64-4c-16g-4279 does not seem to be running inside a container [2023-02-01T17:43:33.484Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-01T17:43:34.678Z] $ docker top c88adbac7d3865732aaf52da4eb1dd964a3deb7f47c3c934135b5972ba0bd8cc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-01T17:43:35.499Z] + go version [2023-02-01T17:43:35.499Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-01T17:43:35.517Z] $ docker stop --time=1 c88adbac7d3865732aaf52da4eb1dd964a3deb7f47c3c934135b5972ba0bd8cc [2023-02-01T17:43:37.149Z] $ docker rm -f --volumes c88adbac7d3865732aaf52da4eb1dd964a3deb7f47c3c934135b5972ba0bd8cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:43:37.708Z] + docker inspect -f . ci-base-image-arm64 [2023-02-01T17:43:37.708Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T17:43:37.900Z] prd-ubuntu20.04-docker-arm64-4c-16g-4279 does not seem to be running inside a container [2023-02-01T17:43:37.961Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-01T17:43:39.118Z] $ docker top 3e8a9f7f4a8cabaefd830ae37120c37fb95631a5e00b2e875a058021d59fb05a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-01T17:43:39.620Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-01T17:43:39.948Z] + make test [2023-02-01T17:43:39.948Z] go test -race -coverprofile=coverage.out ./... [2023-02-01T17:44:12.179Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-01T17:46:03.834Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-01T17:46:03.834Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-01T17:46:03.834Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-01T17:46:03.834Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-01T17:46:03.834Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-01T17:46:03.834Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.286s coverage: 27.6% of statements [2023-02-01T17:46:03.834Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.351s coverage: 78.9% of statements [2023-02-01T17:46:03.834Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-01T17:46:16.150Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.333s coverage: 79.7% of statements [2023-02-01T17:46:16.150Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-01T17:46:16.150Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-01T17:46:16.150Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.502s coverage: 60.6% of statements [2023-02-01T17:46:16.150Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-01T17:46:16.150Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-01T17:46:16.150Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-01T17:46:16.150Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-02-01T17:46:16.416Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.441s coverage: 65.2% of statements [2023-02-01T17:46:16.416Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-01T17:46:16.416Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-01T17:46:16.416Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.811s coverage: 89.2% of statements [2023-02-01T17:46:16.416Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-01T17:46:16.416Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.262s coverage: 4.6% of statements [2023-02-01T17:46:16.416Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-01T17:46:17.394Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-01T17:46:17.394Z] GO111MODULE=on go vet ./... [2023-02-01T17:47:54.026Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-01T17:47:54.026Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-01T17:47:54.026Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-01T17:47:54.049Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-01T17:47:54.064Z] $ docker stop --time=1 3e8a9f7f4a8cabaefd830ae37120c37fb95631a5e00b2e875a058021d59fb05a [2023-02-01T17:47:57.157Z] $ docker rm -f --volumes 3e8a9f7f4a8cabaefd830ae37120c37fb95631a5e00b2e875a058021d59fb05a [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-01T17:47:58.500Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-01T17:47:58.525Z] Warning: overwriting stash ‘coverage-report’ [2023-02-01T17:47:59.029Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-01T17:47:59.418Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-01T17:47:59.733Z] + ls -al . [2023-02-01T17:47:59.733Z] total 268 [2023-02-01T17:47:59.733Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 1 17:43 . [2023-02-01T17:47:59.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 17:41 .. [2023-02-01T17:47:59.733Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 1 17:41 .dockerignore [2023-02-01T17:47:59.733Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 17:41 .git [2023-02-01T17:47:59.733Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 17:41 .github [2023-02-01T17:47:59.733Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 1 17:41 .gitignore [2023-02-01T17:47:59.733Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 1 17:41 .golangci.yml [2023-02-01T17:47:59.733Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 1 17:41 CHANGELOG.md [2023-02-01T17:47:59.733Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 1 17:41 GOVERNANCE.md [2023-02-01T17:47:59.733Z] -rw-rw-r-- 1 jenkins jenkins 880 Feb 1 17:41 Jenkinsfile [2023-02-01T17:47:59.733Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 1 17:41 LICENSE [2023-02-01T17:47:59.733Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 1 17:41 Makefile [2023-02-01T17:47:59.733Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 1 17:41 OWNERS.md [2023-02-01T17:47:59.733Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 1 17:41 README.md [2023-02-01T17:47:59.733Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 1 17:39 VERSION [2023-02-01T17:47:59.733Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 17:41 bin [2023-02-01T17:47:59.733Z] -rw-r--r-- 1 jenkins jenkins 101918 Feb 1 17:46 coverage.out [2023-02-01T17:47:59.733Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 1 17:41 example [2023-02-01T17:47:59.733Z] -rw-rw-r-- 1 jenkins jenkins 3307 Feb 1 17:41 go.mod [2023-02-01T17:47:59.733Z] -rw-rw-r-- 1 jenkins jenkins 34396 Feb 1 17:41 go.sum [2023-02-01T17:47:59.733Z] drwxrwxr-x 14 jenkins jenkins 4096 Feb 1 17:41 internal [2023-02-01T17:47:59.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 17:41 openapi [2023-02-01T17:47:59.733Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 1 17:41 pkg [2023-02-01T17:47:59.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 17:41 snap [2023-02-01T17:47:59.733Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 1 17:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:48:00.066Z] + 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=4b20157eda4012d25fdea52dd0c5d79a24fc7227 --label arch=arm64 --label version=0.0.0 . [2023-02-01T17:48:00.332Z] Sending build context to Docker daemon 5.823MB [2023-02-01T17:48:00.599Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-01T17:48:00.599Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-01T17:48:00.599Z] ---> bc0264bbb36d [2023-02-01T17:48:00.599Z] Step 3/23 : ARG MAKE=make build [2023-02-01T17:48:00.599Z] ---> Running in 630b200e777a [2023-02-01T17:48:00.868Z] Removing intermediate container 630b200e777a [2023-02-01T17:48:00.868Z] ---> 86ba7b3154e3 [2023-02-01T17:48:00.868Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-01T17:48:00.868Z] ---> Running in 8958ac750ebf [2023-02-01T17:48:01.240Z] Removing intermediate container 8958ac750ebf [2023-02-01T17:48:01.240Z] ---> b381e727bbcc [2023-02-01T17:48:01.240Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-01T17:48:01.521Z] ---> Running in c48d2cb9c06c [2023-02-01T17:48:01.794Z] Removing intermediate container c48d2cb9c06c [2023-02-01T17:48:01.794Z] ---> b756e2d8e39c [2023-02-01T17:48:01.794Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-01T17:48:01.794Z] ---> Running in d4cb2ceb144b [2023-02-01T17:48:02.789Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-01T17:48:03.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-01T17:48:04.040Z] OK: 221 MiB in 51 packages [2023-02-01T17:48:05.000Z] Removing intermediate container d4cb2ceb144b [2023-02-01T17:48:05.000Z] ---> a336e12a6418 [2023-02-01T17:48:05.000Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-01T17:48:05.266Z] ---> a1b0b4ddd97c [2023-02-01T17:48:05.266Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-01T17:48:05.533Z] ---> Running in ed2199e8dc25 [2023-02-01T17:48:09.791Z] Removing intermediate container ed2199e8dc25 [2023-02-01T17:48:09.791Z] ---> 5eeb661a1f88 [2023-02-01T17:48:09.791Z] Step 9/23 : COPY . . [2023-02-01T17:48:10.376Z] ---> fa2be6b82046 [2023-02-01T17:48:10.376Z] Step 10/23 : RUN ${MAKE} [2023-02-01T17:48:10.649Z] ---> Running in 9aefb9c3f185 [2023-02-01T17:48:11.615Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-01T17:50:18.289Z] Removing intermediate container 9aefb9c3f185 [2023-02-01T17:50:18.289Z] ---> d4d57b5c800e [2023-02-01T17:50:18.289Z] Step 11/23 : FROM alpine:3.16 [2023-02-01T17:50:18.289Z] 3.16: Pulling from library/alpine [2023-02-01T17:50:18.289Z] 6875df1f5354: Pulling fs layer [2023-02-01T17:50:18.289Z] 6875df1f5354: Verifying Checksum [2023-02-01T17:50:18.289Z] 6875df1f5354: Download complete [2023-02-01T17:50:18.289Z] 6875df1f5354: Pull complete [2023-02-01T17:50:18.289Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-01T17:50:18.289Z] Status: Downloaded newer image for alpine:3.16 [2023-02-01T17:50:18.289Z] ---> 2b4661558fb8 [2023-02-01T17:50:18.289Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-01T17:50:18.289Z] ---> Running in 488cd21d7371 [2023-02-01T17:50:18.289Z] Removing intermediate container 488cd21d7371 [2023-02-01T17:50:18.289Z] ---> 2772749104fe [2023-02-01T17:50:18.289Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-01T17:50:18.289Z] ---> Running in c71a34c9018e [2023-02-01T17:50:18.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-01T17:50:18.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-01T17:50:18.290Z] OK: 5 MiB in 14 packages [2023-02-01T17:50:18.290Z] Removing intermediate container c71a34c9018e [2023-02-01T17:50:18.290Z] ---> 2aeb60603b17 [2023-02-01T17:50:18.290Z] Step 14/23 : WORKDIR / [2023-02-01T17:50:18.290Z] ---> Running in c8a2a76637d0 [2023-02-01T17:50:18.290Z] Removing intermediate container c8a2a76637d0 [2023-02-01T17:50:18.290Z] ---> 10ee9f3f212d [2023-02-01T17:50:18.290Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-01T17:50:18.290Z] ---> 261f426ee5ab [2023-02-01T17:50:18.290Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-01T17:50:18.290Z] ---> 3d005e5cddd3 [2023-02-01T17:50:18.290Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-01T17:50:18.290Z] ---> d86581705751 [2023-02-01T17:50:18.290Z] Step 18/23 : EXPOSE 59999 [2023-02-01T17:50:18.290Z] ---> Running in 12bacc9459d6 [2023-02-01T17:50:18.290Z] Removing intermediate container 12bacc9459d6 [2023-02-01T17:50:18.290Z] ---> 4d542dbe77fc [2023-02-01T17:50:18.290Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-01T17:50:18.290Z] ---> Running in b7c2bcbb2ec3 [2023-02-01T17:50:18.556Z] Removing intermediate container b7c2bcbb2ec3 [2023-02-01T17:50:18.556Z] ---> 60659f9f0a35 [2023-02-01T17:50:18.556Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-01T17:50:18.556Z] ---> Running in 43d149f714be [2023-02-01T17:50:18.824Z] Removing intermediate container 43d149f714be [2023-02-01T17:50:18.824Z] ---> b14ca732ce16 [2023-02-01T17:50:18.824Z] Step 21/23 : LABEL arch=arm64 [2023-02-01T17:50:18.824Z] ---> Running in 232e8cc6ac6a [2023-02-01T17:50:19.095Z] Removing intermediate container 232e8cc6ac6a [2023-02-01T17:50:19.095Z] ---> 8192c9172134 [2023-02-01T17:50:19.095Z] Step 22/23 : LABEL git_sha=4b20157eda4012d25fdea52dd0c5d79a24fc7227 [2023-02-01T17:50:19.364Z] ---> Running in 4880c14865ed [2023-02-01T17:50:19.631Z] Removing intermediate container 4880c14865ed [2023-02-01T17:50:19.631Z] ---> 2609daef5761 [2023-02-01T17:50:19.631Z] Step 23/23 : LABEL version=0.0.0 [2023-02-01T17:50:19.631Z] ---> Running in 637482742a0b [2023-02-01T17:50:19.897Z] Removing intermediate container 637482742a0b [2023-02-01T17:50:19.897Z] ---> 8c37f438c7f1 [2023-02-01T17:50:19.897Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-01T17:50:19.897Z] Successfully built 8c37f438c7f1 [2023-02-01T17:50:19.897Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:50:20.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-01T17:50:20.320Z] [2023-02-01T17:50:20.320Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:50:20.649Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-01T17:50:21.231Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-01T17:50:21.231Z] 8998bd30e6a1: Pulling fs layer [2023-02-01T17:50:21.231Z] 04944245beec: Pulling fs layer [2023-02-01T17:50:21.231Z] 699f458cf7ca: Pulling fs layer [2023-02-01T17:50:21.231Z] 765212b225bb: Pulling fs layer [2023-02-01T17:50:21.231Z] f23df028b6ca: Pulling fs layer [2023-02-01T17:50:21.231Z] d65c8cfc05b1: Pulling fs layer [2023-02-01T17:50:21.231Z] 2437ff75d9bd: Pulling fs layer [2023-02-01T17:50:21.231Z] f23df028b6ca: Waiting [2023-02-01T17:50:21.231Z] 765212b225bb: Waiting [2023-02-01T17:50:21.231Z] d65c8cfc05b1: Waiting [2023-02-01T17:50:21.231Z] 2437ff75d9bd: Waiting [2023-02-01T17:50:21.503Z] 04944245beec: Verifying Checksum [2023-02-01T17:50:21.503Z] 04944245beec: Download complete [2023-02-01T17:50:21.503Z] 765212b225bb: Verifying Checksum [2023-02-01T17:50:21.503Z] 765212b225bb: Download complete [2023-02-01T17:50:21.503Z] f23df028b6ca: Download complete [2023-02-01T17:50:21.503Z] d65c8cfc05b1: Verifying Checksum [2023-02-01T17:50:21.503Z] d65c8cfc05b1: Download complete [2023-02-01T17:50:21.770Z] 699f458cf7ca: Verifying Checksum [2023-02-01T17:50:21.770Z] 699f458cf7ca: Download complete [2023-02-01T17:50:22.036Z] 8998bd30e6a1: Verifying Checksum [2023-02-01T17:50:22.036Z] 8998bd30e6a1: Download complete [2023-02-01T17:50:24.613Z] 2437ff75d9bd: Verifying Checksum [2023-02-01T17:50:24.613Z] 2437ff75d9bd: Download complete [2023-02-01T17:50:26.016Z] 8998bd30e6a1: Pull complete [2023-02-01T17:50:26.282Z] 04944245beec: Pull complete [2023-02-01T17:50:27.704Z] 699f458cf7ca: Pull complete [2023-02-01T17:50:27.704Z] 765212b225bb: Pull complete [2023-02-01T17:50:31.035Z] f23df028b6ca: Pull complete [2023-02-01T17:50:31.035Z] d65c8cfc05b1: Pull complete [2023-02-01T17:50:43.340Z] 2437ff75d9bd: Pull complete [2023-02-01T17:50:43.340Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-01T17:50:43.340Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-01T17:50:43.606Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T17:50:43.799Z] prd-ubuntu20.04-docker-arm64-4c-16g-4279 does not seem to be running inside a container [2023-02-01T17:50:43.855Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-01T17:50:46.226Z] $ docker top 9fef7f2a03f3ec76aac3533aa28a9d643e201bf210e97ece18a63f595a2c7712 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-01T17:50:46.726Z] ---> job-cost.sh [2023-02-01T17:50:46.995Z] lf-activate-venv: SKIPPING [2023-02-01T17:50:46.995Z] INFO: No Stack... [2023-02-01T17:50:47.572Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-01T17:50:48.525Z] INFO: Archiving Costs [Pipeline] sh [2023-02-01T17:50:48.839Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-02-01T17:50:48.840Z] + cut -d, -f6 [Pipeline] lock [2023-02-01T17:50:48.896Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1297-2-stack-cost] [2023-02-01T17:50:48.902Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-2-stack-cost] did not exist. Created. [2023-02-01T17:50:48.902Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1297-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-01T17:50:49.229Z] /w/workspace/device-sdk-go/2@tmp/durable-824c20c0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-01T17:50:49.552Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-01T17:50:49.568Z] Warning: overwriting stash ‘stack-cost’ [2023-02-01T17:50:49.625Z] Stashed 1 file(s) [Pipeline] } [2023-02-01T17:50:49.631Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-01T17:50:49.649Z] $ docker stop --time=1 9fef7f2a03f3ec76aac3533aa28a9d643e201bf210e97ece18a63f595a2c7712 [2023-02-01T17:50:51.082Z] $ docker rm -f --volumes 9fef7f2a03f3ec76aac3533aa28a9d643e201bf210e97ece18a63f595a2c7712 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-01T17:50:51.464Z] provisioning config files... [2023-02-01T17:50:51.472Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config468116763361859663tmp [Pipeline] { [Pipeline] sh [2023-02-01T17:50:51.758Z] + set +x [2023-02-01T17:50:51.758Z] + curl -s https://codecov.io/bash [2023-02-01T17:50:51.758Z] + bash -s -- [2023-02-01T17:50:51.758Z] [2023-02-01T17:50:51.758Z] _____ _ [2023-02-01T17:50:51.758Z] / ____| | | [2023-02-01T17:50:51.758Z] | | ___ __| | ___ ___ _____ __ [2023-02-01T17:50:51.758Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-01T17:50:51.758Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-01T17:50:51.758Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-01T17:50:51.758Z] Bash-1.0.6 [2023-02-01T17:50:51.758Z] [2023-02-01T17:50:51.758Z] [2023-02-01T17:50:51.758Z] ==> git version 2.25.1 found [2023-02-01T17:50:51.758Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-01T17:50:51.758Z] Release-Date: 2020-01-08 [2023-02-01T17:50:51.758Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-01T17:50:51.758Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-01T17:50:51.758Z] ==> Jenkins CI detected. [2023-02-01T17:50:51.758Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1297 [2023-02-01T17:50:51.758Z] project root: . [2023-02-01T17:50:51.758Z] --> token set from env [2023-02-01T17:50:51.758Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-01T17:50:51.758Z] ==> Running gcov in . (disable via -X gcov) [2023-02-01T17:50:52.017Z] ==> Python coveragepy not found [2023-02-01T17:50:52.017Z] ==> Searching for coverage reports in: [2023-02-01T17:50:52.017Z] + . [2023-02-01T17:50:52.017Z] -> Found 1 reports [2023-02-01T17:50:52.017Z] ==> Detecting git/mercurial file structure [2023-02-01T17:50:52.017Z] ==> Reading reports [2023-02-01T17:50:52.017Z] + ./coverage.out bytes=101918 [2023-02-01T17:50:52.017Z] ==> Appending adjustments [2023-02-01T17:50:52.017Z] https://docs.codecov.io/docs/fixing-reports [2023-02-01T17:50:52.275Z] + Found adjustments [2023-02-01T17:50:52.275Z] ==> Gzipping contents [2023-02-01T17:50:52.275Z] 16K /tmp/codecov.59UNOj.gz [2023-02-01T17:50:52.275Z] ==> Uploading reports [2023-02-01T17:50:52.275Z] url: https://codecov.io [2023-02-01T17:50:52.275Z] query: branch=PR-1297&commit=4b20157eda4012d25fdea52dd0c5d79a24fc7227&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1297%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1297&job=&cmd_args= [2023-02-01T17:50:52.275Z] -> Pinging Codecov [2023-02-01T17:50:52.275Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1297&commit=4b20157eda4012d25fdea52dd0c5d79a24fc7227&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1297%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1297&job=&cmd_args= [2023-02-01T17:50:52.534Z] -> Uploading to [2023-02-01T17:50:52.534Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-01/7E55EF52A471D76F132DFD9A03CDDE97/4b20157eda4012d25fdea52dd0c5d79a24fc7227/fb614d7e-4c0f-44d1-a2a9-a5af7ecce8a7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230201T175052Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8706c401994d5249bae7d1fdf45c72dcd0ac97030cbeaf9a9154df9564b68a9b [2023-02-01T17:50:52.534Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-01T17:50:52.534Z] Dload Upload Total Spent Left Speed [2023-02-01T17:50:52.792Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14877 0 0 100 14877 0 67316 --:--:-- --:--:-- --:--:-- 67013 100 14877 0 0 100 14877 0 42264 --:--:-- --:--:-- --:--:-- 42144 [2023-02-01T17:50:52.792Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4b20157eda4012d25fdea52dd0c5d79a24fc7227 [Pipeline] } [2023-02-01T17:50:52.799Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-01T17:50:53.484Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives ] [2023-02-01T17:50:53.484Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives [2023-02-01T17:50:53.484Z] total 16 [2023-02-01T17:50:53.484Z] drwxr-xr-x 3 root root 4096 Feb 1 17:41 . [2023-02-01T17:50:53.484Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 1 17:41 .. [2023-02-01T17:50:53.484Z] drwxr-xr-x 2 root root 4096 Feb 1 17:41 cost [2023-02-01T17:50:53.484Z] -rw-r--r-- 1 root root 86 Feb 1 17:41 cost.csv [2023-02-01T17:50:53.484Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives [2023-02-01T17:50:53.484Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives [2023-02-01T17:50:53.484Z] total 16 [2023-02-01T17:50:53.484Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 1 17:41 . [2023-02-01T17:50:53.484Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 1 17:41 .. [2023-02-01T17:50:53.484Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 1 17:41 cost [2023-02-01T17:50:53.484Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 1 17:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-01T17:50:53.774Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-01T17:50:54.626Z] ---> package-listing.sh [2023-02-01T17:50:54.626Z] ++ facter osfamily [2023-02-01T17:50:54.626Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-01T17:50:54.885Z] + OS_FAMILY=debian [2023-02-01T17:50:54.885Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1297 [2023-02-01T17:50:54.885Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-01T17:50:54.885Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-01T17:50:54.885Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-01T17:50:54.885Z] + PACKAGES=/tmp/packages_start.txt [2023-02-01T17:50:54.885Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1297 ']' [2023-02-01T17:50:54.885Z] + PACKAGES=/tmp/packages_end.txt [2023-02-01T17:50:54.885Z] + case "${OS_FAMILY}" in [2023-02-01T17:50:54.885Z] + dpkg -l [2023-02-01T17:50:54.885Z] + grep '^ii' [2023-02-01T17:50:54.885Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-01T17:50:54.885Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-01T17:50:54.885Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-01T17:50:54.885Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1297 ']' [2023-02-01T17:50:54.885Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives/ [2023-02-01T17:50:54.885Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives/ [Pipeline] echo [2023-02-01T17:50:54.894Z] 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-1297/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-01T17:50:55.169Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-01T17:50:55.463Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-01T17:50:55.463Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-01T17:50:55.527Z] prd-ubuntu20.04-docker-8c-8g-4278 does not seem to be running inside a container [2023-02-01T17:50:55.568Z] $ 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-1297/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-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-01T17:50:55.774Z] $ docker top 59d0ecd9929e196aab46949a2df01f09eebe668b273e99c0295300aaf258dd46 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-01T17:50:56.100Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-01T17:50:56.382Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-01T17:50:56.666Z] + ls /var/log/sa-host [2023-02-01T17:50:56.666Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-01T17:50:56.815Z] provisioning config files... [2023-02-01T17:50:56.823Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config6321838170785469286tmp [Pipeline] { [Pipeline] echo [2023-02-01T17:50:56.839Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-01T17:50:57.121Z] ---> create-netrc.sh [Pipeline] } [2023-02-01T17:50:57.128Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-01T17:50:57.449Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-01T17:50:57.457Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-01T17:50:57.742Z] ---> sudo-logs.sh [2023-02-01T17:50:57.742Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-01T17:50:57.771Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-01T17:50:58.056Z] ---> job-cost.sh [2023-02-01T17:50:58.056Z] lf-activate-venv: SKIPPING [2023-02-01T17:50:58.056Z] DEBUG: total: 0.2199999988079071 [2023-02-01T17:50:58.056Z] INFO: Retrieving Stack Cost... [2023-02-01T17:50:58.623Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-01T17:50:58.883Z] INFO: Archiving Costs [Pipeline] echo [2023-02-01T17:50:58.896Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-01T17:50:59.182Z] ---> logs-deploy.sh [2023-02-01T17:50:59.182Z] lf-activate-venv: SKIPPING [2023-02-01T17:50:59.182Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1297/2 [2023-02-01T17:50:59.182Z] INFO: archiving workspace using pattern(s): [2023-02-01T17:51:00.121Z] Archives upload complete. [2023-02-01T17:51:00.121Z] INFO: archiving logs to Nexus