Pull request #1333 opened 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 judehung for edgexfoundry/device-sdk-go Loading trusted files from base branch main at f03d932b600fd46a3b503f339d4d9f330fd6c1ce rather than 05593f97ea58a69a8866ffde7712cb38d97b5670 Obtained Jenkinsfile from f03d932b600fd46a3b503f339d4d9f330fd6c1ce 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-ssh1924575800103331247.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-ssh16825263520394636425.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1333/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-1333/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14340780696950767330.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1333/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10666801815479666269.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh7669108505726877170.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1333/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-1333/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2569367278548457097.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6565 in /w/workspace/gexfoundry_device-sdk-go_PR-1333 [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-1333 # 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/1333/head:refs/remotes/origin/PR-1333 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f03d932b600fd46a3b503f339d4d9f330fd6c1ce into PR head commit 05593f97ea58a69a8866ffde7712cb38d97b5670 Merge succeeded, producing 05593f97ea58a69a8866ffde7712cb38d97b5670 Checking out Revision 05593f97ea58a69a8866ffde7712cb38d97b5670 (PR-1333) > git config core.sparsecheckout # timeout=10 > git checkout -f 05593f97ea58a69a8866ffde7712cb38d97b5670 # 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 f03d932b600fd46a3b503f339d4d9f330fd6c1ce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 05593f97ea58a69a8866ffde7712cb38d97b5670 # timeout=10 Commit message: "fix: Update swagger to match latest changes in go-mod-core-contracts Device dto" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-18T07:42:43.357Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-18T07:42:43.537Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-18T07:42:43.637Z] ========================================================= [2023-02-18T07:42:43.637Z] EdgeX Global Pipelines Version Info [2023-02-18T07:42:43.637Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-18T07:42:44.389Z] ------------------- [2023-02-18T07:42:44.389Z] stable info: [2023-02-18T07:42:44.389Z] ------------------- [2023-02-18T07:42:44.389Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-18T07:42:44.389Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-18T07:42:44.389Z] Message: update stable to v1.0.244 [2023-02-18T07:42:44.960Z] ------------------- [2023-02-18T07:42:44.960Z] experimental info: [2023-02-18T07:42:44.960Z] ------------------- [2023-02-18T07:42:44.960Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-18T07:42:44.960Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-18T07:42:44.960Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-18T07:42:45.272Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-18T07:42:45.315Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-18T07:42:45.352Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-18T07:42:45.392Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-18T07:42:45.433Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-18T07:42:45.469Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-18T07:42:45.505Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-18T07:42:45.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-18T07:42:45.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-18T07:42:45.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-18T07:42:45.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-18T07:42:45.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-18T07:42:45.730Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-18T07:42:45.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-18T07:42:45.819Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-18T07:42:45.861Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-18T07:42:45.898Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-18T07:42:45.943Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-18T07:42:45.988Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-18T07:42:46.031Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-18T07:42:46.071Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-18T07:42:46.112Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-18T07:42:46.156Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-18T07:42:46.198Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-18T07:42:46.242Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-18T07:42:46.284Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-18T07:42:46.327Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-18T07:42:46.370Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1333 [Pipeline] echo [2023-02-18T07:42:46.411Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1333 [Pipeline] echo [2023-02-18T07:42:46.451Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1333 [Pipeline] echo [2023-02-18T07:42:46.495Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 05593f97ea58a69a8866ffde7712cb38d97b5670 [Pipeline] echo [2023-02-18T07:42:46.535Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 05593f9 [Pipeline] echo [2023-02-18T07:42:46.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-18T07:42:46.690Z] provisioning config files... [2023-02-18T07:42:46.704Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1333@tmp/config1486484957755014477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-18T07:42:47.045Z] ---> docker-login.sh [2023-02-18T07:42:47.045Z] nexus3.edgexfoundry.org:10001 [2023-02-18T07:42:47.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T07:42:47.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T07:42:47.567Z] Configure a credential helper to remove this warning. See [2023-02-18T07:42:47.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T07:42:47.567Z] [2023-02-18T07:42:47.567Z] Login Succeeded [2023-02-18T07:42:47.567Z] nexus3.edgexfoundry.org:10002 [2023-02-18T07:42:47.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T07:42:47.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T07:42:47.567Z] Configure a credential helper to remove this warning. See [2023-02-18T07:42:47.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T07:42:47.567Z] [2023-02-18T07:42:47.567Z] Login Succeeded [2023-02-18T07:42:47.567Z] nexus3.edgexfoundry.org:10003 [2023-02-18T07:42:47.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T07:42:47.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T07:42:47.567Z] Configure a credential helper to remove this warning. See [2023-02-18T07:42:47.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T07:42:47.567Z] [2023-02-18T07:42:47.567Z] Login Succeeded [2023-02-18T07:42:47.567Z] nexus3.edgexfoundry.org:10004 [2023-02-18T07:42:47.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T07:42:47.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T07:42:47.829Z] Configure a credential helper to remove this warning. See [2023-02-18T07:42:47.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T07:42:47.829Z] [2023-02-18T07:42:47.829Z] Login Succeeded [2023-02-18T07:42:47.829Z] docker.io [2023-02-18T07:42:47.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T07:42:48.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T07:42:48.093Z] Configure a credential helper to remove this warning. See [2023-02-18T07:42:48.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T07:42:48.093Z] [2023-02-18T07:42:48.093Z] Login Succeeded [2023-02-18T07:42:48.093Z] ---> docker-login.sh ends [Pipeline] } [2023-02-18T07:42:48.129Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-18T07:42:48.742Z] + git rev-list -1 --merges 05593f97ea58a69a8866ffde7712cb38d97b5670~1..05593f97ea58a69a8866ffde7712cb38d97b5670 [Pipeline] echo [2023-02-18T07:42:48.811Z] -----------> git rev-list -1 --merges 05593f97ea58a69a8866ffde7712cb38d97b5670~1..05593f97ea58a69a8866ffde7712cb38d97b5670 05593f97ea58a69a8866ffde7712cb38d97b5670 [false] [Pipeline] sh [2023-02-18T07:42:49.123Z] + git log --format=format:%s -1 05593f97ea58a69a8866ffde7712cb38d97b5670 [Pipeline] echo [2023-02-18T07:42:49.160Z] ========================================================= [2023-02-18T07:42:49.160Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-18T07:42:49.160Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-18T07:42:49.654Z] + git log --format=format:%s -1 05593f97ea58a69a8866ffde7712cb38d97b5670 [Pipeline] echo [2023-02-18T07:42:49.688Z] [semverPrep] GIT_COMMIT: 05593f97ea58a69a8866ffde7712cb38d97b5670, Commit Message: fix: Update swagger to match latest changes in go-mod-core-contracts Device dto [Pipeline] echo [2023-02-18T07:42:49.720Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-18T07:42:50.128Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-18T07:42:50.128Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-18T07:42:50.128Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-18T07:42:50.128Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-18T07:42:50.128Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-18T07:42:50.128Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-18T07:42:50.128Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T07:42:50.625Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-18T07:42:50.625Z] [2023-02-18T07:42:50.625Z] 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-18T07:42:51.003Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-18T07:42:51.003Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-18T07:42:51.003Z] b85a868b505f: Pulling fs layer [2023-02-18T07:42:51.003Z] e2be974225ed: Pulling fs layer [2023-02-18T07:42:51.003Z] 339a4e72a1f5: Pulling fs layer [2023-02-18T07:42:51.004Z] 988bab9f4d93: Pulling fs layer [2023-02-18T07:42:51.004Z] 1469e6f7b9e6: Pulling fs layer [2023-02-18T07:42:51.004Z] eaf3925da568: Pulling fs layer [2023-02-18T07:42:51.004Z] bab4dde63d76: Pulling fs layer [2023-02-18T07:42:51.004Z] bde34c3a00c8: Pulling fs layer [2023-02-18T07:42:51.004Z] eaf3925da568: Waiting [2023-02-18T07:42:51.004Z] 988bab9f4d93: Waiting [2023-02-18T07:42:51.004Z] 1469e6f7b9e6: Waiting [2023-02-18T07:42:51.004Z] bab4dde63d76: Waiting [2023-02-18T07:42:51.004Z] b352a97aabf1: Pulling fs layer [2023-02-18T07:42:51.004Z] 4872d77fe225: Pulling fs layer [2023-02-18T07:42:51.004Z] 5851b861e8e6: Pulling fs layer [2023-02-18T07:42:51.004Z] bde34c3a00c8: Waiting [2023-02-18T07:42:51.004Z] 4872d77fe225: Waiting [2023-02-18T07:42:51.004Z] b352a97aabf1: Waiting [2023-02-18T07:42:51.004Z] 5851b861e8e6: Waiting [2023-02-18T07:42:51.004Z] e2be974225ed: Verifying Checksum [2023-02-18T07:42:51.004Z] e2be974225ed: Download complete [2023-02-18T07:42:51.004Z] 988bab9f4d93: Download complete [2023-02-18T07:42:51.266Z] 1469e6f7b9e6: Verifying Checksum [2023-02-18T07:42:51.266Z] 1469e6f7b9e6: Download complete [2023-02-18T07:42:51.266Z] eaf3925da568: Verifying Checksum [2023-02-18T07:42:51.266Z] eaf3925da568: Download complete [2023-02-18T07:42:51.266Z] 339a4e72a1f5: Verifying Checksum [2023-02-18T07:42:51.266Z] 339a4e72a1f5: Download complete [2023-02-18T07:42:51.266Z] bde34c3a00c8: Download complete [2023-02-18T07:42:51.266Z] b352a97aabf1: Verifying Checksum [2023-02-18T07:42:51.266Z] b352a97aabf1: Download complete [2023-02-18T07:42:51.266Z] 4872d77fe225: Verifying Checksum [2023-02-18T07:42:51.266Z] 4872d77fe225: Download complete [2023-02-18T07:42:51.266Z] 5851b861e8e6: Verifying Checksum [2023-02-18T07:42:51.266Z] 5851b861e8e6: Download complete [2023-02-18T07:42:51.266Z] b85a868b505f: Verifying Checksum [2023-02-18T07:42:51.266Z] b85a868b505f: Download complete [2023-02-18T07:42:51.526Z] bab4dde63d76: Download complete [2023-02-18T07:42:52.464Z] b85a868b505f: Pull complete [2023-02-18T07:42:52.724Z] e2be974225ed: Pull complete [2023-02-18T07:42:53.293Z] 339a4e72a1f5: Pull complete [2023-02-18T07:42:53.293Z] 988bab9f4d93: Pull complete [2023-02-18T07:42:53.553Z] 1469e6f7b9e6: Pull complete [2023-02-18T07:42:53.553Z] eaf3925da568: Pull complete [2023-02-18T07:42:55.458Z] bab4dde63d76: Pull complete [2023-02-18T07:42:55.458Z] bde34c3a00c8: Pull complete [2023-02-18T07:42:55.458Z] b352a97aabf1: Pull complete [2023-02-18T07:42:55.458Z] 4872d77fe225: Pull complete [2023-02-18T07:42:55.718Z] 5851b861e8e6: Pull complete [2023-02-18T07:42:55.718Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-18T07:42:55.718Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-18T07:42:55.718Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-18T07:42:55.948Z] prd-ubuntu20.04-docker-8c-8g-6565 does not seem to be running inside a container [2023-02-18T07:42:55.979Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1333 -v /w/workspace/gexfoundry_device-sdk-go_PR-1333:/w/workspace/gexfoundry_device-sdk-go_PR-1333:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1333@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1333@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-18T07:42:57.240Z] $ docker top 4d4de9d4c0ed89fecb4869c172f62fcbdeefdc82d553ebe38186a34994b5c00f -eo pid,comm [2023-02-18T07:42:57.311Z] 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-18T07:42:57.311Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-18T07:42:57.424Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-18T07:42:57.425Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-18T07:42:57.547Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-18T07:42:57.548Z] $ docker exec 4d4de9d4c0ed89fecb4869c172f62fcbdeefdc82d553ebe38186a34994b5c00f ssh-agent [2023-02-18T07:42:57.668Z] SSH_AUTH_SOCK=/tmp/ssh-5HGcc3TwFxhV/agent.32 [2023-02-18T07:42:57.668Z] SSH_AGENT_PID=38 [2023-02-18T07:42:57.676Z] Running ssh-add (command line suppressed) [2023-02-18T07:42:57.773Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1333@tmp/private_key_12797514157948071511.key (/w/workspace/gexfoundry_device-sdk-go_PR-1333@tmp/private_key_12797514157948071511.key) [2023-02-18T07:42:57.789Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-18T07:42:58.119Z] + git tag --points-at HEAD [Pipeline] } [2023-02-18T07:42:58.145Z] $ docker exec --env ******** --env ******** 4d4de9d4c0ed89fecb4869c172f62fcbdeefdc82d553ebe38186a34994b5c00f ssh-agent -k [2023-02-18T07:42:58.251Z] unset SSH_AUTH_SOCK; [2023-02-18T07:42:58.251Z] unset SSH_AGENT_PID; [2023-02-18T07:42:58.251Z] echo Agent pid 38 killed; [2023-02-18T07:42:58.268Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-18T07:42:58.353Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-18T07:42:58.353Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-18T07:42:58.460Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-18T07:42:58.460Z] $ docker exec 4d4de9d4c0ed89fecb4869c172f62fcbdeefdc82d553ebe38186a34994b5c00f ssh-agent [2023-02-18T07:42:58.571Z] SSH_AUTH_SOCK=/tmp/ssh-wrcPUA2sIvbG/agent.70 [2023-02-18T07:42:58.571Z] SSH_AGENT_PID=77 [2023-02-18T07:42:58.576Z] Running ssh-add (command line suppressed) [2023-02-18T07:42:58.678Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1333@tmp/private_key_16700365254667380775.key (/w/workspace/gexfoundry_device-sdk-go_PR-1333@tmp/private_key_16700365254667380775.key) [2023-02-18T07:42:58.696Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-18T07:42:59.028Z] + git semver init [2023-02-18T07:42:59.288Z] 2023-02-18 07:42:59,216 [run_init] DEBUG init version:0.0.0 force:False [2023-02-18T07:42:59.288Z] 2023-02-18 07:42:59,217 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1333/.semver [2023-02-18T07:42:59.288Z] 2023-02-18 07:42:59,218 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1333/.semver [2023-02-18T07:42:59.288Z] 2023-02-18 07:42:59,218 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1333/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1333, universal_newlines=False, shell=None, istream=None) [2023-02-18T07:43:00.228Z] 2023-02-18 07:43:00,145 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1333/.git/info/exclude [2023-02-18T07:43:00.228Z] 2023-02-18 07:43:00,147 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1333/.semver/PR-1333 with force:False [2023-02-18T07:43:00.228Z] 2023-02-18 07:43:00,147 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1333/.semver/PR-1333 [2023-02-18T07:43:00.228Z] 2023-02-18 07:43:00,153 [execute] INFO git cat-file --batch-check [2023-02-18T07:43:00.228Z] 2023-02-18 07:43:00,153 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1333/.semver, universal_newlines=False, shell=None, istream=) [2023-02-18T07:43:00.228Z] 2023-02-18 07:43:00,159 [execute] INFO git cat-file --batch [2023-02-18T07:43:00.228Z] 2023-02-18 07:43:00,160 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1333/.semver, universal_newlines=False, shell=None, istream=) [2023-02-18T07:43:00.228Z] 2023-02-18 07:43:00,164 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1333/.semver/PR-1333 [2023-02-18T07:43:00.228Z] 0.0.0 [Pipeline] } [2023-02-18T07:43:00.256Z] $ docker exec --env ******** --env ******** 4d4de9d4c0ed89fecb4869c172f62fcbdeefdc82d553ebe38186a34994b5c00f ssh-agent -k [2023-02-18T07:43:00.366Z] unset SSH_AUTH_SOCK; [2023-02-18T07:43:00.367Z] unset SSH_AGENT_PID; [2023-02-18T07:43:00.367Z] echo Agent pid 77 killed; [2023-02-18T07:43:00.378Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-18T07:43:00.809Z] + git semver [Pipeline] } [2023-02-18T07:43:01.088Z] $ docker stop --time=1 4d4de9d4c0ed89fecb4869c172f62fcbdeefdc82d553ebe38186a34994b5c00f [2023-02-18T07:43:02.376Z] $ docker rm -f --volumes 4d4de9d4c0ed89fecb4869c172f62fcbdeefdc82d553ebe38186a34994b5c00f [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-18T07:43:02.795Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-18T07:43:03.060Z] Stashed 1 file(s) [Pipeline] echo [2023-02-18T07:43:03.079Z] [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-18T07:43:03.664Z] provisioning config files... [2023-02-18T07:43:03.673Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1333@tmp/config13604284701186253218tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-18T07:43:04.014Z] ---> docker-login.sh [2023-02-18T07:43:04.014Z] nexus3.edgexfoundry.org:10001 [2023-02-18T07:43:04.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T07:43:04.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T07:43:04.014Z] Configure a credential helper to remove this warning. See [2023-02-18T07:43:04.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T07:43:04.014Z] [2023-02-18T07:43:04.014Z] Login Succeeded [2023-02-18T07:43:04.014Z] nexus3.edgexfoundry.org:10002 [2023-02-18T07:43:04.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T07:43:04.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T07:43:04.014Z] Configure a credential helper to remove this warning. See [2023-02-18T07:43:04.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T07:43:04.014Z] [2023-02-18T07:43:04.014Z] Login Succeeded [2023-02-18T07:43:04.014Z] nexus3.edgexfoundry.org:10003 [2023-02-18T07:43:04.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T07:43:04.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T07:43:04.273Z] Configure a credential helper to remove this warning. See [2023-02-18T07:43:04.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T07:43:04.273Z] [2023-02-18T07:43:04.273Z] Login Succeeded [2023-02-18T07:43:04.273Z] nexus3.edgexfoundry.org:10004 [2023-02-18T07:43:04.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T07:43:04.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T07:43:04.273Z] Configure a credential helper to remove this warning. See [2023-02-18T07:43:04.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T07:43:04.274Z] [2023-02-18T07:43:04.274Z] Login Succeeded [2023-02-18T07:43:04.274Z] docker.io [2023-02-18T07:43:04.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T07:43:04.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T07:43:04.533Z] Configure a credential helper to remove this warning. See [2023-02-18T07:43:04.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T07:43:04.533Z] [2023-02-18T07:43:04.533Z] Login Succeeded [2023-02-18T07:43:04.533Z] ---> docker-login.sh ends [Pipeline] } [2023-02-18T07:43:04.561Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-18T07:43:04.737Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-18T07:43:04.773Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-18T07:43:04.805Z] ========================================================= [2023-02-18T07:43:04.805Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-18T07:43:04.805Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T07:43:05.273Z] + 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-18T07:43:05.273Z] Sending build context to Docker daemon 10.55MB [2023-02-18T07:43:05.273Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-18T07:43:05.273Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-18T07:43:05.273Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-18T07:43:05.273Z] 213ec9aee27d: Pulling fs layer [2023-02-18T07:43:05.273Z] 4583459ba037: Pulling fs layer [2023-02-18T07:43:05.273Z] 93c1e223e6f2: Pulling fs layer [2023-02-18T07:43:05.273Z] 53926ce57604: Pulling fs layer [2023-02-18T07:43:05.273Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-18T07:43:05.273Z] 22ff95d597cd: Pulling fs layer [2023-02-18T07:43:05.273Z] 12d6caf4c0d1: Pulling fs layer [2023-02-18T07:43:05.273Z] 96b7cbca73a9: Pulling fs layer [2023-02-18T07:43:05.273Z] a7acece74701: Pulling fs layer [2023-02-18T07:43:05.273Z] 53926ce57604: Waiting [2023-02-18T07:43:05.273Z] 12d6caf4c0d1: Waiting [2023-02-18T07:43:05.273Z] 21b2b0c7a3f4: Waiting [2023-02-18T07:43:05.273Z] 22ff95d597cd: Waiting [2023-02-18T07:43:05.273Z] 96b7cbca73a9: Waiting [2023-02-18T07:43:05.273Z] a7acece74701: Waiting [2023-02-18T07:43:05.273Z] 93c1e223e6f2: Verifying Checksum [2023-02-18T07:43:05.273Z] 93c1e223e6f2: Download complete [2023-02-18T07:43:05.273Z] 4583459ba037: Verifying Checksum [2023-02-18T07:43:05.273Z] 4583459ba037: Download complete [2023-02-18T07:43:05.536Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-18T07:43:05.536Z] 21b2b0c7a3f4: Download complete [2023-02-18T07:43:05.536Z] 22ff95d597cd: Verifying Checksum [2023-02-18T07:43:05.536Z] 22ff95d597cd: Download complete [2023-02-18T07:43:05.536Z] 213ec9aee27d: Verifying Checksum [2023-02-18T07:43:05.536Z] 213ec9aee27d: Download complete [2023-02-18T07:43:05.536Z] 12d6caf4c0d1: Verifying Checksum [2023-02-18T07:43:05.536Z] 12d6caf4c0d1: Download complete [2023-02-18T07:43:05.536Z] 213ec9aee27d: Pull complete [2023-02-18T07:43:05.810Z] 4583459ba037: Pull complete [2023-02-18T07:43:05.810Z] 93c1e223e6f2: Pull complete [2023-02-18T07:43:06.428Z] a7acece74701: Verifying Checksum [2023-02-18T07:43:06.428Z] a7acece74701: Download complete [2023-02-18T07:43:06.428Z] 53926ce57604: Verifying Checksum [2023-02-18T07:43:06.428Z] 53926ce57604: Download complete [2023-02-18T07:43:06.686Z] 96b7cbca73a9: Verifying Checksum [2023-02-18T07:43:06.686Z] 96b7cbca73a9: Download complete [2023-02-18T07:43:09.971Z] 53926ce57604: Pull complete [2023-02-18T07:43:09.971Z] 21b2b0c7a3f4: Pull complete [2023-02-18T07:43:09.971Z] 22ff95d597cd: Pull complete [2023-02-18T07:43:10.230Z] 12d6caf4c0d1: Pull complete [2023-02-18T07:43:12.788Z] 96b7cbca73a9: Pull complete [2023-02-18T07:43:13.469Z] a7acece74701: Pull complete [2023-02-18T07:43:13.469Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-18T07:43:13.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-18T07:43:13.469Z] ---> db6d94c90886 [2023-02-18T07:43:13.469Z] Step 3/10 : ARG MAKE=make build [2023-02-18T07:43:14.848Z] ---> Running in b7413c6620d7 [2023-02-18T07:43:14.848Z] Removing intermediate container b7413c6620d7 [2023-02-18T07:43:14.848Z] ---> 8c647efa7477 [2023-02-18T07:43:14.848Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-18T07:43:15.108Z] ---> Running in c42b96b76bc8 [2023-02-18T07:43:15.108Z] Removing intermediate container c42b96b76bc8 [2023-02-18T07:43:15.108Z] ---> d1becc93fb89 [2023-02-18T07:43:15.108Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-18T07:43:15.108Z] ---> Running in be4bccdc1543 [2023-02-18T07:43:15.367Z] Removing intermediate container be4bccdc1543 [2023-02-18T07:43:15.367Z] ---> 8fbdfb3ad1d5 [2023-02-18T07:43:15.367Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-18T07:43:15.367Z] ---> Running in caea5d488793 [2023-02-18T07:43:15.626Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-18T07:43:15.626Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-18T07:43:15.885Z] OK: 211 MiB in 51 packages [2023-02-18T07:43:16.144Z] Removing intermediate container caea5d488793 [2023-02-18T07:43:16.144Z] ---> 7459a4aa4d0d [2023-02-18T07:43:16.144Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-18T07:43:16.144Z] ---> dc98ccd26a9f [2023-02-18T07:43:16.144Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-18T07:43:16.144Z] ---> Running in 1132a3cc0327 [2023-02-18T07:43:18.474Z] Still waiting to schedule task [2023-02-18T07:43:18.474Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-18T07:44:24.944Z] Removing intermediate container 1132a3cc0327 [2023-02-18T07:44:24.944Z] ---> 17a72f0a1300 [2023-02-18T07:44:24.944Z] Step 9/10 : COPY . . [2023-02-18T07:44:24.944Z] ---> 5b32e369b1f5 [2023-02-18T07:44:24.944Z] Step 10/10 : RUN ${MAKE} [2023-02-18T07:44:24.944Z] ---> Running in f548768075c5 [2023-02-18T07:44:24.944Z] noop [2023-02-18T07:44:24.944Z] Removing intermediate container f548768075c5 [2023-02-18T07:44:24.944Z] ---> 1d77cfa1224d [2023-02-18T07:44:24.944Z] Successfully built 1d77cfa1224d [2023-02-18T07:44:24.944Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T07:44:25.380Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-18T07:44:25.380Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-18T07:44:25.533Z] prd-ubuntu20.04-docker-8c-8g-6565 does not seem to be running inside a container [2023-02-18T07:44:25.560Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1333 -v /w/workspace/gexfoundry_device-sdk-go_PR-1333:/w/workspace/gexfoundry_device-sdk-go_PR-1333:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1333@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1333@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 ******** ci-base-image-x86_64 cat [2023-02-18T07:44:25.887Z] $ docker top 60a87bba62268cab0e4426d8c36ac327362d8334c1e5a7ab07abc7392bf36ff9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-18T07:44:26.284Z] + go version [2023-02-18T07:44:26.284Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-18T07:44:26.313Z] $ docker stop --time=1 60a87bba62268cab0e4426d8c36ac327362d8334c1e5a7ab07abc7392bf36ff9 [2023-02-18T07:44:27.600Z] $ docker rm -f --volumes 60a87bba62268cab0e4426d8c36ac327362d8334c1e5a7ab07abc7392bf36ff9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T07:44:28.309Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-18T07:44:28.309Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-18T07:44:28.463Z] prd-ubuntu20.04-docker-8c-8g-6565 does not seem to be running inside a container [2023-02-18T07:44:28.490Z] $ 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-1333 -v /w/workspace/gexfoundry_device-sdk-go_PR-1333:/w/workspace/gexfoundry_device-sdk-go_PR-1333:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1333@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1333@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 ******** ci-base-image-x86_64 cat [2023-02-18T07:44:28.800Z] $ docker top 7e1003f7ba8ecd277ede884634358cd065cfd3916856c36ea0d5aa22f251f97d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-18T07:44:29.200Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1333 [Pipeline] fileExists [Pipeline] sh [2023-02-18T07:44:29.562Z] + make test [2023-02-18T07:44:29.563Z] go test -race -coverprofile=coverage.out ./... [2023-02-18T07:44:36.129Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-18T07:44:50.808Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6566 in /w/workspace/gexfoundry_device-sdk-go_PR-1333 [Pipeline] { [Pipeline] ws [2023-02-18T07:44:50.863Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-02-18T07:44:50.942Z] The recommended git tool is: git [2023-02-18T07:44:51.002Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-18T07:44:51.002Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-18T07:44:51.002Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-18T07:44:51.002Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-18T07:44:51.002Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-18T07:44:51.002Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.070s coverage: 27.6% of statements [2023-02-18T07:44:51.002Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.071s coverage: 78.9% of statements [2023-02-18T07:44:51.002Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-18T07:44:51.002Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.100s coverage: 86.0% of statements [2023-02-18T07:44:51.002Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-18T07:44:51.002Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-18T07:44:51.002Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.108s coverage: 77.0% of statements [2023-02-18T07:44:51.002Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-18T07:44:51.002Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-18T07:44:51.002Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-18T07:44:51.002Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.106s coverage: 65.2% of statements [2023-02-18T07:44:51.002Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-18T07:44:51.002Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-18T07:44:51.002Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.752s coverage: 89.2% of statements [2023-02-18T07:44:51.002Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-18T07:44:51.002Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.068s coverage: 4.7% of statements [2023-02-18T07:44:51.002Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-18T07:44:55.804Z] using credential edgex-jenkins-ssh [2023-02-18T07:44:55.821Z] Cloning the remote Git repository [2023-02-18T07:44:55.873Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-18T07:44:55.943Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-02-18T07:44:56.082Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-18T07:44:56.083Z] > git --version # timeout=10 [2023-02-18T07:44:56.102Z] > git --version # 'git version 2.25.1' [2023-02-18T07:44:56.103Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-18T07:44:56.153Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-18T07:44:57.704Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-18T07:44:57.728Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-18T07:44:59.240Z] Merging remotes/origin/main commit f03d932b600fd46a3b503f339d4d9f330fd6c1ce into PR head commit 05593f97ea58a69a8866ffde7712cb38d97b5670 [2023-02-18T07:44:59.464Z] Merge succeeded, producing 05593f97ea58a69a8866ffde7712cb38d97b5670 [2023-02-18T07:44:59.464Z] Checking out Revision 05593f97ea58a69a8866ffde7712cb38d97b5670 (PR-1333) [2023-02-18T07:44:58.495Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-18T07:44:58.533Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-18T07:44:58.534Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-18T07:44:58.548Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1333/head:refs/remotes/origin/PR-1333 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-18T07:44:59.255Z] > git config core.sparsecheckout # timeout=10 [2023-02-18T07:44:59.278Z] > git checkout -f 05593f97ea58a69a8866ffde7712cb38d97b5670 # timeout=10 [2023-02-18T07:44:59.374Z] > git remote # timeout=10 [2023-02-18T07:44:59.389Z] > git config --get remote.origin.url # timeout=10 [2023-02-18T07:44:59.409Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-18T07:44:59.421Z] > git merge f03d932b600fd46a3b503f339d4d9f330fd6c1ce # timeout=10 [2023-02-18T07:44:59.444Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-18T07:44:59.469Z] > git config core.sparsecheckout # timeout=10 [2023-02-18T07:44:59.482Z] > git checkout -f 05593f97ea58a69a8866ffde7712cb38d97b5670 # timeout=10 [2023-02-18T07:45:02.941Z] Commit message: "fix: Update swagger to match latest changes in go-mod-core-contracts Device dto" [2023-02-18T07:45:02.987Z] > git --version # timeout=10 [2023-02-18T07:45:03.000Z] > git --version # 'git version 2.25.1' [2023-02-18T07:45:03.018Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-18T07:45:04.081Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-18T07:45:04.082Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-18T07:45:04.082Z] Dload Upload Total Spent Left Speed [2023-02-18T07:45:04.082Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh [2023-02-18T07:45:04.819Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-18T07:45:05.164Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-18T07:45:05.164Z] + sudo tee /etc/docker/daemon.new [2023-02-18T07:45:05.164Z] { [2023-02-18T07:45:05.164Z] "registry-mirrors": [ [2023-02-18T07:45:05.164Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-18T07:45:05.164Z] ], [2023-02-18T07:45:05.164Z] "bip": "10.250.0.254/24", [2023-02-18T07:45:05.164Z] "hosts": [ [2023-02-18T07:45:05.164Z] "tcp://0.0.0.0:5555", [2023-02-18T07:45:05.164Z] "unix:///var/run/docker.sock" [2023-02-18T07:45:05.164Z] ], [2023-02-18T07:45:05.164Z] "mtu": 1458, [2023-02-18T07:45:05.164Z] "selinux-enabled": true, [2023-02-18T07:45:05.164Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-18T07:45:05.164Z] } [Pipeline] sh [2023-02-18T07:45:05.516Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-18T07:45:05.861Z] + sudo service docker restart [2023-02-18T07:45:11.223Z] 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-18T07:45:11.223Z] GO111MODULE=on go vet ./... [2023-02-18T07:45:15.803Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-18T07:45:15.803Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-18T07:45:15.803Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-18T07:45:16.656Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-18T07:45:16.684Z] $ docker stop --time=1 7e1003f7ba8ecd277ede884634358cd065cfd3916856c36ea0d5aa22f251f97d [2023-02-18T07:45:20.448Z] $ docker rm -f --volumes 7e1003f7ba8ecd277ede884634358cd065cfd3916856c36ea0d5aa22f251f97d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-18T07:45:21.023Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-18T07:45:21.112Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-18T07:45:21.816Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-18T07:45:22.132Z] + ls -al . [2023-02-18T07:45:22.132Z] total 272 [2023-02-18T07:45:22.132Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 18 07:44 . [2023-02-18T07:45:22.132Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 07:42 .. [2023-02-18T07:45:22.132Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 18 07:42 .dockerignore [2023-02-18T07:45:22.132Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 07:44 .git [2023-02-18T07:45:22.132Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 07:42 .github [2023-02-18T07:45:22.132Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 18 07:42 .gitignore [2023-02-18T07:45:22.132Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 18 07:42 .golangci.yml [2023-02-18T07:45:22.132Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 18 07:43 .semver [2023-02-18T07:45:22.132Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 18 07:42 CHANGELOG.md [2023-02-18T07:45:22.132Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 18 07:42 GOVERNANCE.md [2023-02-18T07:45:22.132Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 18 07:42 Jenkinsfile [2023-02-18T07:45:22.132Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 18 07:42 LICENSE [2023-02-18T07:45:22.132Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 18 07:42 Makefile [2023-02-18T07:45:22.132Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 18 07:42 OWNERS.md [2023-02-18T07:45:22.132Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 18 07:42 README.md [2023-02-18T07:45:22.132Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 18 07:43 VERSION [2023-02-18T07:45:22.132Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 07:42 bin [2023-02-18T07:45:22.132Z] -rw-r--r-- 1 jenkins jenkins 98530 Feb 18 07:44 coverage.out [2023-02-18T07:45:22.132Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 18 07:42 example [2023-02-18T07:45:22.132Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 18 07:42 go.mod [2023-02-18T07:45:22.132Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 18 07:42 go.sum [2023-02-18T07:45:22.132Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 18 07:42 internal [2023-02-18T07:45:22.132Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 18 07:42 openapi [2023-02-18T07:45:22.132Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 18 07:42 pkg [2023-02-18T07:45:22.132Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 07:42 snap [2023-02-18T07:45:22.132Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 18 07:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T07:45:22.531Z] + 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=05593f97ea58a69a8866ffde7712cb38d97b5670 --label arch=amd64 --label version=0.0.0 . [2023-02-18T07:45:22.531Z] Sending build context to Docker daemon 10.65MB [2023-02-18T07:45:22.531Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-18T07:45:22.531Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-18T07:45:22.531Z] ---> 1d77cfa1224d [2023-02-18T07:45:22.531Z] Step 3/23 : ARG MAKE=make build [2023-02-18T07:45:22.789Z] ---> Running in bc4c756fc71c [2023-02-18T07:45:23.048Z] Removing intermediate container bc4c756fc71c [2023-02-18T07:45:23.048Z] ---> ce2da63c867c [2023-02-18T07:45:23.048Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-18T07:45:23.048Z] ---> Running in bde2c44cea07 [2023-02-18T07:45:23.048Z] Removing intermediate container bde2c44cea07 [2023-02-18T07:45:23.048Z] ---> e942b593f494 [2023-02-18T07:45:23.048Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-18T07:45:23.048Z] ---> Running in 40c942b81de1 [2023-02-18T07:45:23.308Z] Removing intermediate container 40c942b81de1 [2023-02-18T07:45:23.309Z] ---> ed18cd49e539 [2023-02-18T07:45:23.309Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-18T07:45:23.309Z] ---> Running in 28dfca2d586c [2023-02-18T07:45:23.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-18T07:45:23.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-18T07:45:23.825Z] OK: 211 MiB in 51 packages [2023-02-18T07:45:24.083Z] Removing intermediate container 28dfca2d586c [2023-02-18T07:45:24.083Z] ---> dd2f9d8d5856 [2023-02-18T07:45:24.083Z] Step 7/23 : COPY go.mod vendor* ./ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-18T07:45:24.177Z] provisioning config files... [2023-02-18T07:45:24.200Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config16178530395751339137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-18T07:45:24.420Z] ---> dad766348064 [2023-02-18T07:45:24.420Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-18T07:45:24.420Z] ---> Running in ae52521524dd [2023-02-18T07:45:24.580Z] ---> docker-login.sh [2023-02-18T07:45:24.580Z] nexus3.edgexfoundry.org:10001 [2023-02-18T07:45:24.987Z] Removing intermediate container ae52521524dd [2023-02-18T07:45:24.987Z] ---> 3d8464b5312b [2023-02-18T07:45:24.987Z] Step 9/23 : COPY . . [2023-02-18T07:45:25.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T07:45:25.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T07:45:25.169Z] Configure a credential helper to remove this warning. See [2023-02-18T07:45:25.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T07:45:25.169Z] [2023-02-18T07:45:25.169Z] Login Succeeded [2023-02-18T07:45:25.169Z] nexus3.edgexfoundry.org:10002 [2023-02-18T07:45:25.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T07:45:25.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T07:45:25.716Z] Configure a credential helper to remove this warning. See [2023-02-18T07:45:25.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T07:45:25.716Z] [2023-02-18T07:45:25.716Z] Login Succeeded [2023-02-18T07:45:25.716Z] nexus3.edgexfoundry.org:10003 [2023-02-18T07:45:25.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T07:45:25.944Z] ---> 20e6118fccd5 [2023-02-18T07:45:25.944Z] Step 10/23 : RUN ${MAKE} [2023-02-18T07:45:25.944Z] ---> Running in 0ec7089562e0 [2023-02-18T07:45:25.944Z] 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-18T07:45:25.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T07:45:25.989Z] Configure a credential helper to remove this warning. See [2023-02-18T07:45:25.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T07:45:25.989Z] [2023-02-18T07:45:25.989Z] Login Succeeded [2023-02-18T07:45:25.989Z] nexus3.edgexfoundry.org:10004 [2023-02-18T07:45:26.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T07:45:26.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T07:45:26.260Z] Configure a credential helper to remove this warning. See [2023-02-18T07:45:26.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T07:45:26.260Z] [2023-02-18T07:45:26.260Z] Login Succeeded [2023-02-18T07:45:26.260Z] docker.io [2023-02-18T07:45:26.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-18T07:45:26.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-18T07:45:26.798Z] Configure a credential helper to remove this warning. See [2023-02-18T07:45:26.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-18T07:45:26.798Z] [2023-02-18T07:45:26.798Z] Login Succeeded [2023-02-18T07:45:26.798Z] ---> docker-login.sh ends [Pipeline] } [2023-02-18T07:45:26.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-18T07:45:27.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-18T07:45:27.279Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-18T07:45:27.318Z] ========================================================= [2023-02-18T07:45:27.318Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-18T07:45:27.318Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T07:45:27.821Z] + 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-18T07:45:28.091Z] Sending build context to Docker daemon 5.664MB [2023-02-18T07:45:28.091Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-18T07:45:28.091Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-18T07:45:28.363Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-18T07:45:28.363Z] 9b18e9b68314: Pulling fs layer [2023-02-18T07:45:28.363Z] 35d82f9e3411: Pulling fs layer [2023-02-18T07:45:28.363Z] e16973657156: Pulling fs layer [2023-02-18T07:45:28.363Z] fc693d55d65f: Pulling fs layer [2023-02-18T07:45:28.363Z] 7e9fc2657dce: Pulling fs layer [2023-02-18T07:45:28.363Z] dda99020689f: Pulling fs layer [2023-02-18T07:45:28.363Z] db1c61fa0a46: Pulling fs layer [2023-02-18T07:45:28.363Z] 891c053d2c06: Pulling fs layer [2023-02-18T07:45:28.363Z] dda99020689f: Waiting [2023-02-18T07:45:28.363Z] db1c61fa0a46: Waiting [2023-02-18T07:45:28.363Z] 891c053d2c06: Waiting [2023-02-18T07:45:28.363Z] fc693d55d65f: Waiting [2023-02-18T07:45:28.363Z] 7e9fc2657dce: Waiting [2023-02-18T07:45:28.363Z] e16973657156: Verifying Checksum [2023-02-18T07:45:28.363Z] e16973657156: Download complete [2023-02-18T07:45:28.363Z] 35d82f9e3411: Download complete [2023-02-18T07:45:28.363Z] 7e9fc2657dce: Verifying Checksum [2023-02-18T07:45:28.363Z] 7e9fc2657dce: Download complete [2023-02-18T07:45:28.363Z] dda99020689f: Verifying Checksum [2023-02-18T07:45:28.363Z] dda99020689f: Download complete [2023-02-18T07:45:28.363Z] 9b18e9b68314: Verifying Checksum [2023-02-18T07:45:28.363Z] 9b18e9b68314: Download complete [2023-02-18T07:45:29.808Z] 891c053d2c06: Verifying Checksum [2023-02-18T07:45:29.808Z] 891c053d2c06: Download complete [2023-02-18T07:45:30.780Z] db1c61fa0a46: Verifying Checksum [2023-02-18T07:45:30.780Z] db1c61fa0a46: Download complete [2023-02-18T07:45:31.367Z] fc693d55d65f: Verifying Checksum [2023-02-18T07:45:31.367Z] fc693d55d65f: Download complete [2023-02-18T07:45:31.637Z] 9b18e9b68314: Pull complete [2023-02-18T07:45:31.904Z] 35d82f9e3411: Pull complete [2023-02-18T07:45:32.174Z] e16973657156: Pull complete [2023-02-18T07:45:44.512Z] fc693d55d65f: Pull complete [2023-02-18T07:45:44.512Z] 7e9fc2657dce: Pull complete [2023-02-18T07:45:44.780Z] dda99020689f: Pull complete [2023-02-18T07:45:47.872Z] Removing intermediate container 0ec7089562e0 [2023-02-18T07:45:47.872Z] ---> d4891eeb9fb8 [2023-02-18T07:45:47.872Z] Step 11/23 : FROM alpine:3.16 [2023-02-18T07:45:47.872Z] 3.16: Pulling from library/alpine [2023-02-18T07:45:48.135Z] ef5531b6e74e: Pulling fs layer [2023-02-18T07:45:48.135Z] ef5531b6e74e: Verifying Checksum [2023-02-18T07:45:48.135Z] ef5531b6e74e: Download complete [2023-02-18T07:45:48.398Z] ef5531b6e74e: Pull complete [2023-02-18T07:45:48.398Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-18T07:45:48.398Z] Status: Downloaded newer image for alpine:3.16 [2023-02-18T07:45:48.398Z] ---> dfd21b5a31f5 [2023-02-18T07:45:48.398Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-18T07:45:48.398Z] ---> Running in a8c274b97a0e [2023-02-18T07:45:48.398Z] Removing intermediate container a8c274b97a0e [2023-02-18T07:45:48.398Z] ---> 5d530c07ef71 [2023-02-18T07:45:48.398Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-18T07:45:48.656Z] ---> Running in a6e39d34faea [2023-02-18T07:45:48.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-18T07:45:48.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-18T07:45:49.174Z] OK: 6 MiB in 14 packages [2023-02-18T07:45:49.741Z] Removing intermediate container a6e39d34faea [2023-02-18T07:45:49.741Z] ---> 3de5f347ad2c [2023-02-18T07:45:49.741Z] Step 14/23 : WORKDIR / [2023-02-18T07:45:49.741Z] ---> Running in 052e265e1465 [2023-02-18T07:45:49.741Z] Removing intermediate container 052e265e1465 [2023-02-18T07:45:49.741Z] ---> 6615e48b5ac9 [2023-02-18T07:45:49.741Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-18T07:45:49.741Z] ---> 8bb38aca05a9 [2023-02-18T07:45:49.741Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-18T07:45:50.678Z] ---> 52048a535f4a [2023-02-18T07:45:50.678Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-18T07:45:50.678Z] ---> 957ea33865e2 [2023-02-18T07:45:50.678Z] Step 18/23 : EXPOSE 59999 [2023-02-18T07:45:50.678Z] ---> Running in f65018ea79d7 [2023-02-18T07:45:50.938Z] Removing intermediate container f65018ea79d7 [2023-02-18T07:45:50.938Z] ---> 83502274a643 [2023-02-18T07:45:50.938Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-18T07:45:50.938Z] ---> Running in a855d2872fce [2023-02-18T07:45:50.938Z] Removing intermediate container a855d2872fce [2023-02-18T07:45:50.938Z] ---> 4f0697af3176 [2023-02-18T07:45:50.938Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-18T07:45:50.938Z] ---> Running in ddea0504de0e [2023-02-18T07:45:50.938Z] Removing intermediate container ddea0504de0e [2023-02-18T07:45:50.938Z] ---> 9d76895c6288 [2023-02-18T07:45:50.938Z] Step 21/23 : LABEL arch=amd64 [2023-02-18T07:45:51.198Z] ---> Running in ffc8e75e3240 [2023-02-18T07:45:51.198Z] Removing intermediate container ffc8e75e3240 [2023-02-18T07:45:51.198Z] ---> f76b01ebe472 [2023-02-18T07:45:51.198Z] Step 22/23 : LABEL git_sha=05593f97ea58a69a8866ffde7712cb38d97b5670 [2023-02-18T07:45:51.198Z] ---> Running in 558a61669418 [2023-02-18T07:45:51.198Z] Removing intermediate container 558a61669418 [2023-02-18T07:45:51.198Z] ---> 8dc161585dec [2023-02-18T07:45:51.198Z] Step 23/23 : LABEL version=0.0.0 [2023-02-18T07:45:51.198Z] ---> Running in 1a153a3944e5 [2023-02-18T07:45:51.458Z] Removing intermediate container 1a153a3944e5 [2023-02-18T07:45:51.458Z] ---> 4698a05e0f7b [2023-02-18T07:45:51.458Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-18T07:45:51.458Z] Successfully built 4698a05e0f7b [2023-02-18T07:45:51.458Z] Successfully tagged device-sdk-simple:latest [2023-02-18T07:45:51.462Z] db1c61fa0a46: Pull complete [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-18T07:45:52.390Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-18T07:45:52.390Z] [2023-02-18T07:45:52.390Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [2023-02-18T07:45:52.425Z] 891c053d2c06: Pull complete [2023-02-18T07:45:52.425Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-18T07:45:52.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-18T07:45:52.425Z] ---> f96f9c87975a [2023-02-18T07:45:52.425Z] Step 3/10 : ARG MAKE=make build [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T07:45:52.787Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-18T07:45:52.787Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-18T07:45:52.787Z] 5eb5b503b376: Pulling fs layer [2023-02-18T07:45:52.787Z] 5c69ac0246d0: Pulling fs layer [2023-02-18T07:45:52.787Z] ec43610c2a17: Pulling fs layer [2023-02-18T07:45:52.788Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-18T07:45:52.788Z] 33b1e0a273af: Pulling fs layer [2023-02-18T07:45:52.788Z] 5d3b04190fa2: Pulling fs layer [2023-02-18T07:45:52.788Z] 2f39f015ded8: Pulling fs layer [2023-02-18T07:45:52.788Z] 5d3b04190fa2: Waiting [2023-02-18T07:45:52.788Z] 33b1e0a273af: Waiting [2023-02-18T07:45:52.788Z] 3a2ae6a8a46f: Waiting [2023-02-18T07:45:52.788Z] 2f39f015ded8: Waiting [2023-02-18T07:45:52.788Z] 5c69ac0246d0: Verifying Checksum [2023-02-18T07:45:52.788Z] 5c69ac0246d0: Download complete [2023-02-18T07:45:52.788Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-18T07:45:52.788Z] 3a2ae6a8a46f: Download complete [2023-02-18T07:45:53.048Z] 33b1e0a273af: Verifying Checksum [2023-02-18T07:45:53.048Z] 33b1e0a273af: Download complete [2023-02-18T07:45:53.048Z] 5d3b04190fa2: Download complete [2023-02-18T07:45:53.048Z] ec43610c2a17: Verifying Checksum [2023-02-18T07:45:53.048Z] 5eb5b503b376: Download complete [2023-02-18T07:45:53.615Z] 2f39f015ded8: Download complete [2023-02-18T07:45:54.551Z] 5eb5b503b376: Pull complete [2023-02-18T07:45:54.551Z] 5c69ac0246d0: Pull complete [2023-02-18T07:45:55.118Z] ec43610c2a17: Pull complete [2023-02-18T07:45:55.118Z] 3a2ae6a8a46f: Pull complete [2023-02-18T07:45:55.376Z] 33b1e0a273af: Pull complete [2023-02-18T07:45:55.376Z] 5d3b04190fa2: Pull complete [2023-02-18T07:45:56.676Z] ---> Running in 794afb0b527a [2023-02-18T07:45:56.676Z] Removing intermediate container 794afb0b527a [2023-02-18T07:45:56.676Z] ---> ebbbd7daeaed [2023-02-18T07:45:56.676Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-18T07:45:56.676Z] ---> Running in ca3388b6c572 [2023-02-18T07:45:56.944Z] Removing intermediate container ca3388b6c572 [2023-02-18T07:45:56.944Z] ---> c06cba99a052 [2023-02-18T07:45:56.944Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-18T07:45:57.211Z] ---> Running in 19d26402ebf9 [2023-02-18T07:45:57.479Z] Removing intermediate container 19d26402ebf9 [2023-02-18T07:45:57.479Z] ---> fbf5e731879a [2023-02-18T07:45:57.479Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-18T07:45:57.479Z] ---> Running in 9afb35ea3433 [2023-02-18T07:45:58.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-18T07:45:59.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-18T07:45:59.990Z] OK: 221 MiB in 51 packages [2023-02-18T07:46:00.576Z] Removing intermediate container 9afb35ea3433 [2023-02-18T07:46:00.576Z] ---> 6ac67880ad0e [2023-02-18T07:46:00.576Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-18T07:46:00.638Z] 2f39f015ded8: Pull complete [2023-02-18T07:46:00.638Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-18T07:46:00.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-18T07:46:00.638Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-18T07:46:00.874Z] prd-ubuntu20.04-docker-8c-8g-6565 does not seem to be running inside a container [2023-02-18T07:46:00.899Z] $ 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-1333 -v /w/workspace/gexfoundry_device-sdk-go_PR-1333:/w/workspace/gexfoundry_device-sdk-go_PR-1333:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1333@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1333@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-lftools-log-publisher:latest cat [2023-02-18T07:46:01.163Z] ---> 53a1f9381085 [2023-02-18T07:46:01.163Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-18T07:46:01.163Z] ---> Running in 419d9d3429da [2023-02-18T07:46:05.992Z] $ docker top f0be8f70ab6e5abad0665e70ade4ad7b6187002e83ca38fcc4fd483ae2b05932 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-18T07:46:06.474Z] ---> job-cost.sh [2023-02-18T07:46:06.474Z] lf-activate-venv: SKIPPING [2023-02-18T07:46:06.474Z] INFO: No Stack... [2023-02-18T07:46:06.734Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-18T07:46:06.993Z] INFO: Archiving Costs [Pipeline] sh [2023-02-18T07:46:07.312Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1333/archives/cost.csv [2023-02-18T07:46:07.312Z] + cut -d, -f6 [Pipeline] lock [2023-02-18T07:46:07.351Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1333-1-stack-cost] [2023-02-18T07:46:07.356Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1333-1-stack-cost] did not exist. Created. [2023-02-18T07:46:07.357Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1333-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-18T07:46:07.751Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-18T07:46:07.802Z] Stashed 1 file(s) [Pipeline] } [2023-02-18T07:46:07.828Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1333-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-18T07:46:07.898Z] $ docker stop --time=1 f0be8f70ab6e5abad0665e70ade4ad7b6187002e83ca38fcc4fd483ae2b05932 [2023-02-18T07:46:09.057Z] $ docker rm -f --volumes f0be8f70ab6e5abad0665e70ade4ad7b6187002e83ca38fcc4fd483ae2b05932 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-18T07:46:57.569Z] Removing intermediate container 419d9d3429da [2023-02-18T07:46:57.569Z] ---> 812df018b170 [2023-02-18T07:46:57.569Z] Step 9/10 : COPY . . [2023-02-18T07:46:57.569Z] ---> 05ba81621603 [2023-02-18T07:46:57.569Z] Step 10/10 : RUN ${MAKE} [2023-02-18T07:46:57.569Z] ---> Running in 55b671a95fe2 [2023-02-18T07:46:57.569Z] noop [2023-02-18T07:46:58.155Z] Removing intermediate container 55b671a95fe2 [2023-02-18T07:46:58.155Z] ---> c5fbae0f90d9 [2023-02-18T07:46:58.155Z] Successfully built c5fbae0f90d9 [2023-02-18T07:46:58.155Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T07:46:58.616Z] + docker inspect -f . ci-base-image-arm64 [2023-02-18T07:46:58.616Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-18T07:46:58.879Z] prd-ubuntu20.04-docker-arm64-4c-16g-6566 does not seem to be running inside a container [2023-02-18T07:46:58.941Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2023-02-18T07:47:00.620Z] $ docker top 4c959911e4e6141d8f4902cc9e9f74903389ccdff4f46f31ec8085bfdd57f013 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-18T07:47:01.516Z] + go version [2023-02-18T07:47:01.516Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-18T07:47:01.550Z] $ docker stop --time=1 4c959911e4e6141d8f4902cc9e9f74903389ccdff4f46f31ec8085bfdd57f013 [2023-02-18T07:47:03.184Z] $ docker rm -f --volumes 4c959911e4e6141d8f4902cc9e9f74903389ccdff4f46f31ec8085bfdd57f013 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T07:47:04.028Z] + docker inspect -f . ci-base-image-arm64 [2023-02-18T07:47:04.028Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-18T07:47:04.273Z] prd-ubuntu20.04-docker-arm64-4c-16g-6566 does not seem to be running inside a container [2023-02-18T07:47:04.335Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2023-02-18T07:47:05.537Z] $ docker top ef8b3aef2380d9dde02d955fe3b1078d9f736d84c50203998d09af114e5964d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-18T07:47:06.414Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-18T07:47:06.803Z] + make test [2023-02-18T07:47:07.071Z] go test -race -coverprofile=coverage.out ./... [2023-02-18T07:47:41.893Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-18T07:49:18.544Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-18T07:49:18.544Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-18T07:49:18.544Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-18T07:49:18.544Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-18T07:49:18.545Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-18T07:49:25.188Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.332s coverage: 27.6% of statements [2023-02-18T07:49:26.150Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.365s coverage: 78.9% of statements [2023-02-18T07:49:26.150Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-18T07:49:36.301Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.792s coverage: 86.0% of statements [2023-02-18T07:49:36.301Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-18T07:49:36.301Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-18T07:49:39.214Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.663s coverage: 77.0% of statements [2023-02-18T07:49:39.214Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-18T07:49:39.214Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-18T07:49:39.214Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-18T07:49:39.484Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.466s coverage: 65.2% of statements [2023-02-18T07:49:39.484Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-18T07:49:39.484Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-18T07:49:40.450Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.634s coverage: 89.2% of statements [2023-02-18T07:49:40.450Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-18T07:49:40.450Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.364s coverage: 4.7% of statements [2023-02-18T07:49:40.450Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-18T07:49:41.036Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-18T07:49:41.036Z] GO111MODULE=on go vet ./... [2023-02-18T07:51:17.702Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-18T07:51:17.702Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-18T07:51:17.702Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-18T07:51:17.744Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-18T07:51:17.779Z] $ docker stop --time=1 ef8b3aef2380d9dde02d955fe3b1078d9f736d84c50203998d09af114e5964d8 [2023-02-18T07:51:19.588Z] $ docker rm -f --volumes ef8b3aef2380d9dde02d955fe3b1078d9f736d84c50203998d09af114e5964d8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-18T07:51:20.942Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-18T07:51:20.984Z] Warning: overwriting stash ‘coverage-report’ [2023-02-18T07:51:21.497Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-18T07:51:22.103Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-18T07:51:22.443Z] + ls -al . [2023-02-18T07:51:22.443Z] total 268 [2023-02-18T07:51:22.443Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 18 07:47 . [2023-02-18T07:51:22.443Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 07:44 .. [2023-02-18T07:51:22.443Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 18 07:44 .dockerignore [2023-02-18T07:51:22.443Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 07:44 .git [2023-02-18T07:51:22.443Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 07:44 .github [2023-02-18T07:51:22.443Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 18 07:44 .gitignore [2023-02-18T07:51:22.443Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 18 07:44 .golangci.yml [2023-02-18T07:51:22.443Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 18 07:44 CHANGELOG.md [2023-02-18T07:51:22.443Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 18 07:44 GOVERNANCE.md [2023-02-18T07:51:22.443Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 18 07:44 Jenkinsfile [2023-02-18T07:51:22.443Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 18 07:44 LICENSE [2023-02-18T07:51:22.443Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 18 07:44 Makefile [2023-02-18T07:51:22.443Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 18 07:44 OWNERS.md [2023-02-18T07:51:22.443Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 18 07:44 README.md [2023-02-18T07:51:22.443Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 18 07:43 VERSION [2023-02-18T07:51:22.443Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 07:44 bin [2023-02-18T07:51:22.443Z] -rw-r--r-- 1 jenkins jenkins 98530 Feb 18 07:49 coverage.out [2023-02-18T07:51:22.443Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 18 07:44 example [2023-02-18T07:51:22.443Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 18 07:44 go.mod [2023-02-18T07:51:22.443Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 18 07:44 go.sum [2023-02-18T07:51:22.443Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 18 07:44 internal [2023-02-18T07:51:22.443Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 18 07:44 openapi [2023-02-18T07:51:22.443Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 18 07:44 pkg [2023-02-18T07:51:22.443Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 07:44 snap [2023-02-18T07:51:22.443Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 18 07:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T07:51:22.872Z] + 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=05593f97ea58a69a8866ffde7712cb38d97b5670 --label arch=arm64 --label version=0.0.0 . [2023-02-18T07:51:23.144Z] Sending build context to Docker daemon 5.763MB [2023-02-18T07:51:23.144Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-18T07:51:23.144Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-18T07:51:23.144Z] ---> c5fbae0f90d9 [2023-02-18T07:51:23.144Z] Step 3/23 : ARG MAKE=make build [2023-02-18T07:51:23.414Z] ---> Running in 9774129c6c94 [2023-02-18T07:51:23.680Z] Removing intermediate container 9774129c6c94 [2023-02-18T07:51:23.680Z] ---> e122d4a840d8 [2023-02-18T07:51:23.680Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-18T07:51:23.680Z] ---> Running in 225fe035a80f [2023-02-18T07:51:23.948Z] Removing intermediate container 225fe035a80f [2023-02-18T07:51:23.948Z] ---> ef7babcb66a3 [2023-02-18T07:51:23.948Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-18T07:51:23.948Z] ---> Running in da027bde6357 [2023-02-18T07:51:24.217Z] Removing intermediate container da027bde6357 [2023-02-18T07:51:24.217Z] ---> 35ce4743b7a5 [2023-02-18T07:51:24.217Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-18T07:51:24.484Z] ---> Running in 394ad64d2966 [2023-02-18T07:51:25.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-18T07:51:25.718Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-18T07:51:26.675Z] OK: 221 MiB in 51 packages [2023-02-18T07:51:28.631Z] Removing intermediate container 394ad64d2966 [2023-02-18T07:51:28.631Z] ---> 9dfe0c1fa05c [2023-02-18T07:51:28.631Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-18T07:51:30.568Z] ---> 18468bc5c891 [2023-02-18T07:51:30.568Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-18T07:51:30.568Z] ---> Running in b97f31ea6ba9 [2023-02-18T07:51:33.152Z] Removing intermediate container b97f31ea6ba9 [2023-02-18T07:51:33.152Z] ---> e9c58ea58d56 [2023-02-18T07:51:33.152Z] Step 9/23 : COPY . . [2023-02-18T07:51:34.106Z] ---> 08f19004f744 [2023-02-18T07:51:34.106Z] Step 10/23 : RUN ${MAKE} [2023-02-18T07:51:34.372Z] ---> Running in 8024efd09ba1 [2023-02-18T07:51:35.357Z] 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-18T07:53:26.979Z] Removing intermediate container 8024efd09ba1 [2023-02-18T07:53:26.979Z] ---> 0976a0f44362 [2023-02-18T07:53:26.979Z] Step 11/23 : FROM alpine:3.16 [2023-02-18T07:53:26.979Z] 3.16: Pulling from library/alpine [2023-02-18T07:53:26.979Z] 3760b48202b3: Pulling fs layer [2023-02-18T07:53:26.979Z] 3760b48202b3: Download complete [2023-02-18T07:53:26.979Z] 3760b48202b3: Pull complete [2023-02-18T07:53:26.979Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-18T07:53:26.979Z] Status: Downloaded newer image for alpine:3.16 [2023-02-18T07:53:26.979Z] ---> 4c81e5bf8899 [2023-02-18T07:53:26.979Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-18T07:53:26.979Z] ---> Running in 6d29b84fea8e [2023-02-18T07:53:26.979Z] Removing intermediate container 6d29b84fea8e [2023-02-18T07:53:26.979Z] ---> defc95f1fd43 [2023-02-18T07:53:26.979Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-18T07:53:26.979Z] ---> Running in 75dd8ab7065f [2023-02-18T07:53:26.979Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-18T07:53:27.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-18T07:53:28.517Z] OK: 5 MiB in 14 packages [2023-02-18T07:53:29.098Z] Removing intermediate container 75dd8ab7065f [2023-02-18T07:53:29.098Z] ---> f91ba3c4a927 [2023-02-18T07:53:29.098Z] Step 14/23 : WORKDIR / [2023-02-18T07:53:29.098Z] ---> Running in 676a25f24569 [2023-02-18T07:53:29.375Z] Removing intermediate container 676a25f24569 [2023-02-18T07:53:29.375Z] ---> 1275af78e1be [2023-02-18T07:53:29.375Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-18T07:53:29.645Z] ---> c5730bd8b1e5 [2023-02-18T07:53:29.645Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-18T07:53:31.049Z] ---> b7d896467054 [2023-02-18T07:53:31.049Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-18T07:53:31.317Z] ---> 6d39a4882574 [2023-02-18T07:53:31.317Z] Step 18/23 : EXPOSE 59999 [2023-02-18T07:53:31.583Z] ---> Running in 19bb53c08777 [2023-02-18T07:53:31.583Z] Removing intermediate container 19bb53c08777 [2023-02-18T07:53:31.583Z] ---> e1c62ea6ff9b [2023-02-18T07:53:31.583Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-18T07:53:31.849Z] ---> Running in f9d19ffcb075 [2023-02-18T07:53:32.116Z] Removing intermediate container f9d19ffcb075 [2023-02-18T07:53:32.116Z] ---> 377b72d07869 [2023-02-18T07:53:32.116Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-18T07:53:32.116Z] ---> Running in d1cbc0aac000 [2023-02-18T07:53:32.381Z] Removing intermediate container d1cbc0aac000 [2023-02-18T07:53:32.381Z] ---> 4b1a02982fea [2023-02-18T07:53:32.381Z] Step 21/23 : LABEL arch=arm64 [2023-02-18T07:53:32.381Z] ---> Running in cd6350c4c253 [2023-02-18T07:53:32.646Z] Removing intermediate container cd6350c4c253 [2023-02-18T07:53:32.646Z] ---> f7b55e430ae8 [2023-02-18T07:53:32.646Z] Step 22/23 : LABEL git_sha=05593f97ea58a69a8866ffde7712cb38d97b5670 [2023-02-18T07:53:32.646Z] ---> Running in ddec3e02a1ad [2023-02-18T07:53:32.912Z] Removing intermediate container ddec3e02a1ad [2023-02-18T07:53:32.912Z] ---> 1f42dda6bc46 [2023-02-18T07:53:32.912Z] Step 23/23 : LABEL version=0.0.0 [2023-02-18T07:53:32.912Z] ---> Running in 00e2c2643fb7 [2023-02-18T07:53:33.177Z] Removing intermediate container 00e2c2643fb7 [2023-02-18T07:53:33.177Z] ---> cb0a605a6703 [2023-02-18T07:53:33.177Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-18T07:53:33.177Z] Successfully built cb0a605a6703 [2023-02-18T07:53:33.445Z] 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-18T07:53:34.214Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-18T07:53:34.214Z] [2023-02-18T07:53:34.214Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T07:53:34.623Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-18T07:53:34.623Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-18T07:53:34.623Z] 8998bd30e6a1: Pulling fs layer [2023-02-18T07:53:34.623Z] 04944245beec: Pulling fs layer [2023-02-18T07:53:34.623Z] 699f458cf7ca: Pulling fs layer [2023-02-18T07:53:34.623Z] 765212b225bb: Pulling fs layer [2023-02-18T07:53:34.623Z] f23df028b6ca: Pulling fs layer [2023-02-18T07:53:34.623Z] 765212b225bb: Waiting [2023-02-18T07:53:34.623Z] f23df028b6ca: Waiting [2023-02-18T07:53:34.623Z] d65c8cfc05b1: Pulling fs layer [2023-02-18T07:53:34.623Z] 2437ff75d9bd: Pulling fs layer [2023-02-18T07:53:34.623Z] d65c8cfc05b1: Waiting [2023-02-18T07:53:34.623Z] 2437ff75d9bd: Waiting [2023-02-18T07:53:34.892Z] 04944245beec: Verifying Checksum [2023-02-18T07:53:34.892Z] 04944245beec: Download complete [2023-02-18T07:53:34.892Z] 765212b225bb: Verifying Checksum [2023-02-18T07:53:34.892Z] 765212b225bb: Download complete [2023-02-18T07:53:34.892Z] f23df028b6ca: Verifying Checksum [2023-02-18T07:53:34.892Z] f23df028b6ca: Download complete [2023-02-18T07:53:34.892Z] d65c8cfc05b1: Download complete [2023-02-18T07:53:35.159Z] 699f458cf7ca: Download complete [2023-02-18T07:53:35.424Z] 8998bd30e6a1: Download complete [2023-02-18T07:53:37.373Z] 2437ff75d9bd: Verifying Checksum [2023-02-18T07:53:37.373Z] 2437ff75d9bd: Download complete [2023-02-18T07:53:39.314Z] 8998bd30e6a1: Pull complete [2023-02-18T07:53:39.582Z] 04944245beec: Pull complete [2023-02-18T07:53:40.994Z] 699f458cf7ca: Pull complete [2023-02-18T07:53:40.994Z] 765212b225bb: Pull complete [2023-02-18T07:53:41.954Z] f23df028b6ca: Pull complete [2023-02-18T07:53:41.954Z] d65c8cfc05b1: Pull complete [2023-02-18T07:53:56.957Z] 2437ff75d9bd: Pull complete [2023-02-18T07:53:56.957Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-18T07:53:56.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-18T07:53:56.957Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-18T07:53:57.280Z] prd-ubuntu20.04-docker-arm64-4c-16g-6566 does not seem to be running inside a container [2023-02-18T07:53:57.356Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-18T07:53:59.847Z] $ docker top 2495e7f49b0fb2d1e4b229c8df85273e7b7a06ae2a84c92e462c201864faaf7e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-18T07:54:00.761Z] ---> job-cost.sh [2023-02-18T07:54:00.761Z] lf-activate-venv: SKIPPING [2023-02-18T07:54:00.761Z] INFO: No Stack... [2023-02-18T07:54:01.342Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-18T07:54:01.924Z] INFO: Archiving Costs [Pipeline] sh [2023-02-18T07:54:02.262Z] + + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-02-18T07:54:02.262Z] cut -d, -f6 [Pipeline] lock [2023-02-18T07:54:02.315Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1333-1-stack-cost] [2023-02-18T07:54:02.326Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1333-1-stack-cost] did not exist. Created. [2023-02-18T07:54:02.326Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1333-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-18T07:54:02.737Z] /w/workspace/device-sdk-go/1@tmp/durable-47c9935a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-18T07:54:03.087Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-18T07:54:03.120Z] Warning: overwriting stash ‘stack-cost’ [2023-02-18T07:54:03.176Z] Stashed 1 file(s) [Pipeline] } [2023-02-18T07:54:03.190Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1333-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-18T07:54:03.262Z] $ docker stop --time=1 2495e7f49b0fb2d1e4b229c8df85273e7b7a06ae2a84c92e462c201864faaf7e [2023-02-18T07:54:04.769Z] $ docker rm -f --volumes 2495e7f49b0fb2d1e4b229c8df85273e7b7a06ae2a84c92e462c201864faaf7e [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-18T07:54:05.678Z] provisioning config files... [2023-02-18T07:54:05.684Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1333@tmp/config4053476842925459516tmp [Pipeline] { [Pipeline] sh [2023-02-18T07:54:06.024Z] + set +x [2023-02-18T07:54:06.024Z] + bash -s -- [2023-02-18T07:54:06.024Z] + curl -s https://codecov.io/bash [2023-02-18T07:54:06.024Z] [2023-02-18T07:54:06.024Z] _____ _ [2023-02-18T07:54:06.024Z] / ____| | | [2023-02-18T07:54:06.024Z] | | ___ __| | ___ ___ _____ __ [2023-02-18T07:54:06.024Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-18T07:54:06.024Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-18T07:54:06.024Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-18T07:54:06.024Z] Bash-1.0.6 [2023-02-18T07:54:06.024Z] [2023-02-18T07:54:06.024Z] [2023-02-18T07:54:06.024Z] ==> git version 2.25.1 found [2023-02-18T07:54:06.024Z] ==> 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-18T07:54:06.024Z] Release-Date: 2020-01-08 [2023-02-18T07:54:06.024Z] 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-18T07:54:06.024Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-18T07:54:06.024Z] ==> Jenkins CI detected. [2023-02-18T07:54:06.024Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1333 [2023-02-18T07:54:06.024Z] project root: . [2023-02-18T07:54:06.024Z] --> token set from env [2023-02-18T07:54:06.025Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-18T07:54:06.025Z] ==> Running gcov in . (disable via -X gcov) [2023-02-18T07:54:06.025Z] ==> Python coveragepy not found [2023-02-18T07:54:06.025Z] ==> Searching for coverage reports in: [2023-02-18T07:54:06.025Z] + . [2023-02-18T07:54:06.025Z] -> Found 1 reports [2023-02-18T07:54:06.025Z] ==> Detecting git/mercurial file structure [2023-02-18T07:54:06.025Z] ==> Reading reports [2023-02-18T07:54:06.285Z] + ./coverage.out bytes=98530 [2023-02-18T07:54:06.285Z] ==> Appending adjustments [2023-02-18T07:54:06.285Z] https://docs.codecov.io/docs/fixing-reports [2023-02-18T07:54:06.543Z] + Found adjustments [2023-02-18T07:54:06.543Z] ==> Gzipping contents [2023-02-18T07:54:06.544Z] 16K /tmp/codecov.7If4XX.gz [2023-02-18T07:54:06.544Z] ==> Uploading reports [2023-02-18T07:54:06.544Z] url: https://codecov.io [2023-02-18T07:54:06.544Z] query: branch=PR-1333&commit=05593f97ea58a69a8866ffde7712cb38d97b5670&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1333%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1333&job=&cmd_args= [2023-02-18T07:54:06.544Z] -> Pinging Codecov [2023-02-18T07:54:06.544Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1333&commit=05593f97ea58a69a8866ffde7712cb38d97b5670&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1333%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1333&job=&cmd_args= [2023-02-18T07:54:06.544Z] -> Uploading to [2023-02-18T07:54:06.544Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-18/7E55EF52A471D76F132DFD9A03CDDE97/05593f97ea58a69a8866ffde7712cb38d97b5670/c4429233-579f-4be1-82b4-0a2222fe7553.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230218%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230218T075406Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d1c27d9b26e76487b27edb70a47c21e7b5f76e9d4f807a952f92de73ab34f2c2 [2023-02-18T07:54:06.544Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-18T07:54:06.544Z] Dload Upload Total Spent Left Speed [2023-02-18T07:54:06.804Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14361 0 0 100 14361 0 46475 --:--:-- --:--:-- --:--:-- 46475 [2023-02-18T07:54:07.063Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/05593f97ea58a69a8866ffde7712cb38d97b5670 [Pipeline] } [2023-02-18T07:54:07.090Z] 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-18T07:54:08.803Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1333/archives ] [2023-02-18T07:54:08.803Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1333/archives [2023-02-18T07:54:08.803Z] total 16 [2023-02-18T07:54:08.803Z] drwxr-xr-x 3 root root 4096 Feb 18 07:46 . [2023-02-18T07:54:08.803Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 18 07:46 .. [2023-02-18T07:54:08.803Z] drwxr-xr-x 2 root root 4096 Feb 18 07:46 cost [2023-02-18T07:54:08.803Z] -rw-r--r-- 1 root root 86 Feb 18 07:46 cost.csv [2023-02-18T07:54:08.803Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1333/archives [2023-02-18T07:54:08.803Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1333/archives [2023-02-18T07:54:08.803Z] total 16 [2023-02-18T07:54:08.803Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 18 07:46 . [2023-02-18T07:54:08.803Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 18 07:46 .. [2023-02-18T07:54:08.803Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 18 07:46 cost [2023-02-18T07:54:08.803Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 18 07:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-18T07:54:09.134Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-18T07:54:10.042Z] ---> package-listing.sh [2023-02-18T07:54:10.042Z] ++ facter osfamily [2023-02-18T07:54:10.042Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-18T07:54:10.301Z] + OS_FAMILY=debian [2023-02-18T07:54:10.301Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1333 [2023-02-18T07:54:10.301Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-18T07:54:10.301Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-18T07:54:10.301Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-18T07:54:10.301Z] + PACKAGES=/tmp/packages_start.txt [2023-02-18T07:54:10.301Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1333 ']' [2023-02-18T07:54:10.301Z] + PACKAGES=/tmp/packages_end.txt [2023-02-18T07:54:10.301Z] + case "${OS_FAMILY}" in [2023-02-18T07:54:10.301Z] + dpkg -l [2023-02-18T07:54:10.301Z] + grep '^ii' [2023-02-18T07:54:10.301Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-18T07:54:10.301Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-18T07:54:10.301Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-18T07:54:10.301Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1333 ']' [2023-02-18T07:54:10.301Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1333/archives/ [2023-02-18T07:54:10.301Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1333/archives/ [Pipeline] echo [2023-02-18T07:54:10.333Z] 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-1333/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-18T07:54:10.626Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-18T07:54:11.253Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-18T07:54:11.253Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-18T07:54:11.400Z] prd-ubuntu20.04-docker-8c-8g-6565 does not seem to be running inside a container [2023-02-18T07:54:11.422Z] $ 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-1333/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-1333 -v /w/workspace/gexfoundry_device-sdk-go_PR-1333:/w/workspace/gexfoundry_device-sdk-go_PR-1333:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1333@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1333@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-18T07:54:11.633Z] $ docker top 5044270785c1cc0365fc7e605aafcef288b17295091933ba2bf6af896d6e2a84 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-18T07:54:12.027Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-18T07:54:12.332Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-18T07:54:12.642Z] + ls /var/log/sa-host [2023-02-18T07:54:12.642Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-18T07:54:12.848Z] provisioning config files... [2023-02-18T07:54:12.856Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1333@tmp/config400907187032804692tmp [Pipeline] { [Pipeline] echo [2023-02-18T07:54:12.903Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-18T07:54:13.215Z] ---> create-netrc.sh [Pipeline] } [2023-02-18T07:54:13.243Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-18T07:54:13.627Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-18T07:54:13.661Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-18T07:54:13.972Z] ---> sudo-logs.sh [2023-02-18T07:54:13.972Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-18T07:54:14.054Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-18T07:54:14.365Z] ---> job-cost.sh [2023-02-18T07:54:14.366Z] lf-activate-venv: SKIPPING [2023-02-18T07:54:14.366Z] DEBUG: total: 0.2199999988079071 [2023-02-18T07:54:14.366Z] INFO: Retrieving Stack Cost... [2023-02-18T07:54:14.628Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-18T07:54:15.196Z] INFO: Archiving Costs [Pipeline] echo [2023-02-18T07:54:15.234Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-18T07:54:15.550Z] ---> logs-deploy.sh [2023-02-18T07:54:15.550Z] lf-activate-venv: SKIPPING [2023-02-18T07:54:15.550Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1333/1 [2023-02-18T07:54:15.550Z] INFO: archiving workspace using pattern(s): [2023-02-18T07:54:16.488Z] Archives upload complete. [2023-02-18T07:54:16.488Z] INFO: archiving logs to Nexus