Pull request #1541 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of zyqhpz for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 7730e9b2488ebe82cf8f1ec58f41fa934430b51b rather than a25c6603d76a3663a5d21af09a8aa858ce0f6cda Obtained Jenkinsfile from 7730e9b2488ebe82cf8f1ec58f41fa934430b51b 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-ssh5161366147867195810.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh18310706274132621181.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1541/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1541/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7599981079607486075.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17489309530957222138.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1541/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1541/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7420095079245492523.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 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 ‘prd-ubuntu20.04-docker-8c-8g-211’ is offline Running on prd-ubuntu20.04-docker-8c-8g-213 in /w/workspace/gexfoundry_device-sdk-go_PR-1541 [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-1541 # 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 Merging remotes/origin/main commit 7730e9b2488ebe82cf8f1ec58f41fa934430b51b into PR head commit a25c6603d76a3663a5d21af09a8aa858ce0f6cda Merge succeeded, producing a25c6603d76a3663a5d21af09a8aa858ce0f6cda Checking out Revision a25c6603d76a3663a5d21af09a8aa858ce0f6cda (PR-1541) > 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/1541/head:refs/remotes/origin/PR-1541 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a25c6603d76a3663a5d21af09a8aa858ce0f6cda # 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 7730e9b2488ebe82cf8f1ec58f41fa934430b51b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a25c6603d76a3663a5d21af09a8aa858ce0f6cda # timeout=10 Commit message: "refactor: Remove the version number in Init logs" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-19T07:36:44.310Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-19T07:36:44.377Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-19T07:36:44.409Z] ========================================================= [2023-11-19T07:36:44.409Z] EdgeX Global Pipelines Version Info [2023-11-19T07:36:44.409Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f929f47b3afc488dcc98522ba22b439fedaf45e7 # timeout=10 [2023-11-19T07:36:45.129Z] ------------------- [2023-11-19T07:36:45.129Z] stable info: [2023-11-19T07:36:45.129Z] ------------------- [2023-11-19T07:36:45.129Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-19T07:36:45.129Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-19T07:36:45.129Z] Message: update stable to v1.0.258 [2023-11-19T07:36:45.700Z] ------------------- [2023-11-19T07:36:45.700Z] experimental info: [2023-11-19T07:36:45.700Z] ------------------- [2023-11-19T07:36:45.700Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-19T07:36:45.700Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-19T07:36:45.700Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-19T07:36:45.783Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-11-19T07:36:45.812Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-11-19T07:36:45.836Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-19T07:36:45.863Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-19T07:36:45.897Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-19T07:36:45.929Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-19T07:36:45.955Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-19T07:36:45.984Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-11-19T07:36:46.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-19T07:36:46.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-19T07:36:46.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-19T07:36:46.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-11-19T07:36:46.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-19T07:36:46.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-19T07:36:46.190Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-19T07:36:46.218Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-19T07:36:46.249Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-19T07:36:46.284Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-19T07:36:46.314Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-19T07:36:46.346Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-19T07:36:46.382Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-19T07:36:46.421Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-11-19T07:36:46.450Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-19T07:36:46.488Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-19T07:36:46.523Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-19T07:36:46.565Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-19T07:36:46.611Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-19T07:36:46.654Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1541 [Pipeline] echo [2023-11-19T07:36:46.697Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1541 [Pipeline] echo [2023-11-19T07:36:46.733Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1541 [Pipeline] echo [2023-11-19T07:36:46.765Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a25c6603d76a3663a5d21af09a8aa858ce0f6cda [Pipeline] echo [2023-11-19T07:36:46.803Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a25c660 [Pipeline] echo [2023-11-19T07:36:46.846Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-19T07:36:46.928Z] provisioning config files... [2023-11-19T07:36:46.946Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/config12125716180474457683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-19T07:36:47.331Z] ---> ****-login.sh [2023-11-19T07:36:47.331Z] nexus3.edgexfoundry.org:10001 [2023-11-19T07:36:47.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T07:36:47.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T07:36:47.599Z] Configure a credential helper to remove this warning. See [2023-11-19T07:36:47.599Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T07:36:47.599Z] [2023-11-19T07:36:47.599Z] Login Succeeded [2023-11-19T07:36:47.599Z] nexus3.edgexfoundry.org:10002 [2023-11-19T07:36:47.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T07:36:47.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T07:36:47.860Z] Configure a credential helper to remove this warning. See [2023-11-19T07:36:47.860Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T07:36:47.860Z] [2023-11-19T07:36:47.860Z] Login Succeeded [2023-11-19T07:36:47.860Z] nexus3.edgexfoundry.org:10003 [2023-11-19T07:36:47.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T07:36:47.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T07:36:47.860Z] Configure a credential helper to remove this warning. See [2023-11-19T07:36:47.860Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T07:36:47.861Z] [2023-11-19T07:36:47.861Z] Login Succeeded [2023-11-19T07:36:47.861Z] nexus3.edgexfoundry.org:10004 [2023-11-19T07:36:48.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T07:36:48.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T07:36:48.121Z] Configure a credential helper to remove this warning. See [2023-11-19T07:36:48.121Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T07:36:48.121Z] [2023-11-19T07:36:48.121Z] Login Succeeded [2023-11-19T07:36:48.121Z] ****.io [2023-11-19T07:36:48.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T07:36:48.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T07:36:48.438Z] Configure a credential helper to remove this warning. See [2023-11-19T07:36:48.438Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T07:36:48.438Z] [2023-11-19T07:36:48.438Z] Login Succeeded [2023-11-19T07:36:48.438Z] ---> ****-login.sh ends [Pipeline] } [2023-11-19T07:36:48.447Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-19T07:36:48.944Z] + git rev-list -1 --merges a25c6603d76a3663a5d21af09a8aa858ce0f6cda~1..a25c6603d76a3663a5d21af09a8aa858ce0f6cda [Pipeline] echo [2023-11-19T07:36:48.982Z] -----------> git rev-list -1 --merges a25c6603d76a3663a5d21af09a8aa858ce0f6cda~1..a25c6603d76a3663a5d21af09a8aa858ce0f6cda a25c6603d76a3663a5d21af09a8aa858ce0f6cda [false] [Pipeline] sh [2023-11-19T07:36:49.291Z] + git log --format=format:%s -1 a25c6603d76a3663a5d21af09a8aa858ce0f6cda [Pipeline] echo [2023-11-19T07:36:49.305Z] ========================================================= [2023-11-19T07:36:49.305Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-19T07:36:49.305Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-19T07:36:49.682Z] + git log --format=format:%s -1 a25c6603d76a3663a5d21af09a8aa858ce0f6cda [Pipeline] echo [2023-11-19T07:36:49.692Z] [semverPrep] GIT_COMMIT: a25c6603d76a3663a5d21af09a8aa858ce0f6cda, Commit Message: refactor: Remove the version number in Init logs [Pipeline] echo [2023-11-19T07:36:49.718Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-19T07:36:50.095Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-19T07:36:50.095Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-19T07:36:50.095Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-19T07:36:50.095Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-19T07:36:50.095Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-19T07:36:50.095Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-19T07:36:50.095Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T07:36:50.468Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-19T07:36:50.468Z] [2023-11-19T07:36:50.468Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T07:36:50.789Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-19T07:36:50.789Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-19T07:36:50.789Z] b85a868b505f: Pulling fs layer [2023-11-19T07:36:50.789Z] e2be974225ed: Pulling fs layer [2023-11-19T07:36:50.789Z] 339a4e72a1f5: Pulling fs layer [2023-11-19T07:36:50.789Z] 988bab9f4d93: Pulling fs layer [2023-11-19T07:36:50.789Z] 1469e6f7b9e6: Pulling fs layer [2023-11-19T07:36:50.789Z] eaf3925da568: Pulling fs layer [2023-11-19T07:36:50.789Z] bab4dde63d76: Pulling fs layer [2023-11-19T07:36:50.789Z] bde34c3a00c8: Pulling fs layer [2023-11-19T07:36:50.789Z] b352a97aabf1: Pulling fs layer [2023-11-19T07:36:50.789Z] 4872d77fe225: Pulling fs layer [2023-11-19T07:36:50.789Z] 5851b861e8e6: Pulling fs layer [2023-11-19T07:36:50.789Z] bab4dde63d76: Waiting [2023-11-19T07:36:50.789Z] 1469e6f7b9e6: Waiting [2023-11-19T07:36:50.789Z] bde34c3a00c8: Waiting [2023-11-19T07:36:50.789Z] eaf3925da568: Waiting [2023-11-19T07:36:50.789Z] b352a97aabf1: Waiting [2023-11-19T07:36:50.789Z] 4872d77fe225: Waiting [2023-11-19T07:36:50.789Z] 5851b861e8e6: Waiting [2023-11-19T07:36:50.789Z] 988bab9f4d93: Waiting [2023-11-19T07:36:50.789Z] e2be974225ed: Download complete [2023-11-19T07:36:50.789Z] 988bab9f4d93: Verifying Checksum [2023-11-19T07:36:50.789Z] 988bab9f4d93: Download complete [2023-11-19T07:36:51.050Z] 1469e6f7b9e6: Verifying Checksum [2023-11-19T07:36:51.050Z] 1469e6f7b9e6: Download complete [2023-11-19T07:36:51.050Z] eaf3925da568: Verifying Checksum [2023-11-19T07:36:51.050Z] eaf3925da568: Download complete [2023-11-19T07:36:51.050Z] 339a4e72a1f5: Verifying Checksum [2023-11-19T07:36:51.050Z] 339a4e72a1f5: Download complete [2023-11-19T07:36:51.050Z] bde34c3a00c8: Download complete [2023-11-19T07:36:51.050Z] b352a97aabf1: Verifying Checksum [2023-11-19T07:36:51.050Z] b352a97aabf1: Download complete [2023-11-19T07:36:51.050Z] 4872d77fe225: Verifying Checksum [2023-11-19T07:36:51.050Z] 4872d77fe225: Download complete [2023-11-19T07:36:51.050Z] 5851b861e8e6: Verifying Checksum [2023-11-19T07:36:51.050Z] 5851b861e8e6: Download complete [2023-11-19T07:36:51.309Z] b85a868b505f: Verifying Checksum [2023-11-19T07:36:51.309Z] b85a868b505f: Download complete [2023-11-19T07:36:51.567Z] bab4dde63d76: Verifying Checksum [2023-11-19T07:36:51.567Z] bab4dde63d76: Download complete [2023-11-19T07:36:52.509Z] b85a868b505f: Pull complete [2023-11-19T07:36:52.509Z] e2be974225ed: Pull complete [2023-11-19T07:36:53.079Z] 339a4e72a1f5: Pull complete [2023-11-19T07:36:53.079Z] 988bab9f4d93: Pull complete [2023-11-19T07:36:53.338Z] 1469e6f7b9e6: Pull complete [2023-11-19T07:36:53.338Z] eaf3925da568: Pull complete [2023-11-19T07:36:55.265Z] bab4dde63d76: Pull complete [2023-11-19T07:36:55.265Z] bde34c3a00c8: Pull complete [2023-11-19T07:36:55.526Z] b352a97aabf1: Pull complete [2023-11-19T07:36:55.526Z] 4872d77fe225: Pull complete [2023-11-19T07:36:55.787Z] 5851b861e8e6: Pull complete [2023-11-19T07:36:55.787Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-19T07:36:55.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-19T07:36:55.787Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T07:36:55.991Z] prd-ubuntu20.04-docker-8c-8g-213 does not seem to be running inside a container [2023-11-19T07:36:56.032Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1541 -v /w/workspace/gexfoundry_device-sdk-go_PR-1541:/w/workspace/gexfoundry_device-sdk-go_PR-1541:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-19T07:36:59.175Z] $ docker top 1e8f5a12570dfddeb975c5f7a01111df27d5ea88d1074f776d1949d515450fef -eo pid,comm [2023-11-19T07:36:59.226Z] 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-11-19T07:36:59.226Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-19T07:36:59.322Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-19T07:36:59.323Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-19T07:36:59.442Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-19T07:36:59.451Z] $ docker exec 1e8f5a12570dfddeb975c5f7a01111df27d5ea88d1074f776d1949d515450fef ssh-agent [2023-11-19T07:36:59.544Z] SSH_AUTH_SOCK=/tmp/ssh-q9BxVwXQxCLu/agent.32 [2023-11-19T07:36:59.544Z] SSH_AGENT_PID=38 [2023-11-19T07:36:59.550Z] Running ssh-add (command line suppressed) [2023-11-19T07:36:59.660Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/private_key_12234907195418720598.key (/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/private_key_12234907195418720598.key) [2023-11-19T07:36:59.668Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-19T07:36:59.972Z] + git tag --points-at HEAD [Pipeline] } [2023-11-19T07:36:59.989Z] $ docker exec --env ******** --env ******** 1e8f5a12570dfddeb975c5f7a01111df27d5ea88d1074f776d1949d515450fef ssh-agent -k [2023-11-19T07:37:00.090Z] unset SSH_AUTH_SOCK; [2023-11-19T07:37:00.090Z] unset SSH_AGENT_PID; [2023-11-19T07:37:00.090Z] echo Agent pid 38 killed; [2023-11-19T07:37:00.096Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-19T07:37:00.164Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-19T07:37:00.164Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-19T07:37:00.276Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-19T07:37:00.286Z] $ docker exec 1e8f5a12570dfddeb975c5f7a01111df27d5ea88d1074f776d1949d515450fef ssh-agent [2023-11-19T07:37:00.391Z] SSH_AUTH_SOCK=/tmp/ssh-qk8UPEU3R0kz/agent.70 [2023-11-19T07:37:00.391Z] SSH_AGENT_PID=76 [2023-11-19T07:37:00.396Z] Running ssh-add (command line suppressed) [2023-11-19T07:37:00.510Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/private_key_11750752200279658088.key (/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/private_key_11750752200279658088.key) [2023-11-19T07:37:00.520Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-19T07:37:00.833Z] + git semver init [2023-11-19T07:37:01.093Z] 2023-11-19 07:37:01,013 [run_init] DEBUG init version:0.0.0 force:False [2023-11-19T07:37:01.093Z] 2023-11-19 07:37:01,014 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver [2023-11-19T07:37:01.093Z] 2023-11-19 07:37:01,014 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver [2023-11-19T07:37:01.093Z] 2023-11-19 07:37:01,014 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1541, universal_newlines=False, shell=None, istream=None) [2023-11-19T07:37:02.479Z] 2023-11-19 07:37:02,228 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541/.git/info/exclude [2023-11-19T07:37:02.479Z] 2023-11-19 07:37:02,228 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver/PR-1541 with force:False [2023-11-19T07:37:02.479Z] 2023-11-19 07:37:02,228 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver/PR-1541 [2023-11-19T07:37:02.479Z] 2023-11-19 07:37:02,233 [execute] INFO git cat-file --batch-check [2023-11-19T07:37:02.479Z] 2023-11-19 07:37:02,233 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver, universal_newlines=False, shell=None, istream=) [2023-11-19T07:37:02.479Z] 2023-11-19 07:37:02,240 [execute] INFO git cat-file --batch [2023-11-19T07:37:02.479Z] 2023-11-19 07:37:02,241 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver, universal_newlines=False, shell=None, istream=) [2023-11-19T07:37:02.479Z] 2023-11-19 07:37:02,246 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1541/.semver/PR-1541 [2023-11-19T07:37:02.479Z] 0.0.0 [Pipeline] } [2023-11-19T07:37:02.495Z] $ docker exec --env ******** --env ******** 1e8f5a12570dfddeb975c5f7a01111df27d5ea88d1074f776d1949d515450fef ssh-agent -k [2023-11-19T07:37:02.600Z] unset SSH_AUTH_SOCK; [2023-11-19T07:37:02.600Z] unset SSH_AGENT_PID; [2023-11-19T07:37:02.601Z] echo Agent pid 76 killed; [2023-11-19T07:37:02.605Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-19T07:37:02.986Z] + git semver [Pipeline] } [2023-11-19T07:37:03.269Z] $ docker stop --time=1 1e8f5a12570dfddeb975c5f7a01111df27d5ea88d1074f776d1949d515450fef [2023-11-19T07:37:04.577Z] $ docker rm -f --volumes 1e8f5a12570dfddeb975c5f7a01111df27d5ea88d1074f776d1949d515450fef [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-19T07:37:04.955Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-19T07:37:05.225Z] Stashed 1 file(s) [Pipeline] echo [2023-11-19T07:37:05.228Z] [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-11-19T07:37:05.561Z] provisioning config files... [2023-11-19T07:37:05.572Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/config8979205517336167444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-19T07:37:05.897Z] ---> ****-login.sh [2023-11-19T07:37:05.897Z] nexus3.edgexfoundry.org:10001 [2023-11-19T07:37:05.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T07:37:05.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T07:37:05.897Z] Configure a credential helper to remove this warning. See [2023-11-19T07:37:05.897Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T07:37:05.897Z] [2023-11-19T07:37:05.897Z] Login Succeeded [2023-11-19T07:37:05.897Z] nexus3.edgexfoundry.org:10002 [2023-11-19T07:37:05.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T07:37:05.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T07:37:05.898Z] Configure a credential helper to remove this warning. See [2023-11-19T07:37:05.898Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T07:37:05.898Z] [2023-11-19T07:37:05.898Z] Login Succeeded [2023-11-19T07:37:05.898Z] nexus3.edgexfoundry.org:10003 [2023-11-19T07:37:06.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T07:37:06.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T07:37:06.158Z] Configure a credential helper to remove this warning. See [2023-11-19T07:37:06.158Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T07:37:06.158Z] [2023-11-19T07:37:06.158Z] Login Succeeded [2023-11-19T07:37:06.158Z] nexus3.edgexfoundry.org:10004 [2023-11-19T07:37:06.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T07:37:06.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T07:37:06.158Z] Configure a credential helper to remove this warning. See [2023-11-19T07:37:06.159Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T07:37:06.159Z] [2023-11-19T07:37:06.159Z] Login Succeeded [2023-11-19T07:37:06.159Z] ****.io [2023-11-19T07:37:06.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T07:37:06.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T07:37:06.679Z] Configure a credential helper to remove this warning. See [2023-11-19T07:37:06.680Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T07:37:06.680Z] [2023-11-19T07:37:06.680Z] Login Succeeded [2023-11-19T07:37:06.680Z] ---> ****-login.sh ends [Pipeline] } [2023-11-19T07:37:06.689Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-19T07:37:06.854Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-19T07:37:06.886Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-19T07:37:06.917Z] ========================================================= [2023-11-19T07:37:06.917Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-19T07:37:06.917Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T07:37:07.331Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-19T07:37:07.331Z] Sending build context to Docker daemon 21.96MB [2023-11-19T07:37:07.331Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-19T07:37:07.331Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-19T07:37:07.606Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-19T07:37:07.606Z] 7264a8db6415: Pulling fs layer [2023-11-19T07:37:07.606Z] c4d48a809fc2: Pulling fs layer [2023-11-19T07:37:07.606Z] 4f1c88b9dad5: Pulling fs layer [2023-11-19T07:37:07.606Z] ad3a456e5733: Pulling fs layer [2023-11-19T07:37:07.606Z] 69c7f0334f64: Pulling fs layer [2023-11-19T07:37:07.606Z] 1f1c1a5573a3: Pulling fs layer [2023-11-19T07:37:07.606Z] ce7588e14bc9: Pulling fs layer [2023-11-19T07:37:07.606Z] b5e4710f87ac: Pulling fs layer [2023-11-19T07:37:07.606Z] ad3a456e5733: Waiting [2023-11-19T07:37:07.606Z] ce7588e14bc9: Waiting [2023-11-19T07:37:07.606Z] 69c7f0334f64: Waiting [2023-11-19T07:37:07.606Z] b5e4710f87ac: Waiting [2023-11-19T07:37:07.606Z] 1f1c1a5573a3: Waiting [2023-11-19T07:37:07.606Z] c4d48a809fc2: Download complete [2023-11-19T07:37:07.606Z] ad3a456e5733: Verifying Checksum [2023-11-19T07:37:07.606Z] ad3a456e5733: Download complete [2023-11-19T07:37:07.606Z] 69c7f0334f64: Verifying Checksum [2023-11-19T07:37:07.606Z] 69c7f0334f64: Download complete [2023-11-19T07:37:07.606Z] 7264a8db6415: Verifying Checksum [2023-11-19T07:37:07.606Z] 7264a8db6415: Download complete [2023-11-19T07:37:07.606Z] 1f1c1a5573a3: Download complete [2023-11-19T07:37:07.868Z] 7264a8db6415: Pull complete [2023-11-19T07:37:07.868Z] b5e4710f87ac: Verifying Checksum [2023-11-19T07:37:07.868Z] b5e4710f87ac: Download complete [2023-11-19T07:37:07.868Z] c4d48a809fc2: Pull complete [2023-11-19T07:37:08.128Z] 4f1c88b9dad5: Verifying Checksum [2023-11-19T07:37:08.128Z] 4f1c88b9dad5: Download complete [2023-11-19T07:37:08.386Z] ce7588e14bc9: Verifying Checksum [2023-11-19T07:37:08.386Z] ce7588e14bc9: Download complete [2023-11-19T07:37:11.786Z] 4f1c88b9dad5: Pull complete [2023-11-19T07:37:11.786Z] ad3a456e5733: Pull complete [2023-11-19T07:37:11.786Z] 69c7f0334f64: Pull complete [2023-11-19T07:37:11.786Z] 1f1c1a5573a3: Pull complete [2023-11-19T07:37:14.317Z] ce7588e14bc9: Pull complete [2023-11-19T07:37:14.883Z] b5e4710f87ac: Pull complete [2023-11-19T07:37:14.883Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-19T07:37:14.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-19T07:37:14.883Z] ---> 88b5674ff536 [2023-11-19T07:37:14.883Z] Step 3/10 : ARG MAKE=make build [2023-11-19T07:37:19.090Z] ---> Running in 153c63d4f91a [2023-11-19T07:37:19.350Z] Removing intermediate container 153c63d4f91a [2023-11-19T07:37:19.350Z] ---> bbd40465fc0a [2023-11-19T07:37:19.350Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-19T07:37:19.350Z] ---> Running in 08565e44df0c [2023-11-19T07:37:19.350Z] Removing intermediate container 08565e44df0c [2023-11-19T07:37:19.350Z] ---> d23432697a8a [2023-11-19T07:37:19.350Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-19T07:37:19.350Z] ---> Running in 867cfcee47ce [2023-11-19T07:37:19.350Z] Removing intermediate container 867cfcee47ce [2023-11-19T07:37:19.350Z] ---> e24af03dd281 [2023-11-19T07:37:19.350Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-19T07:37:19.350Z] ---> Running in 6fb5193110f9 [2023-11-19T07:37:19.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-19T07:37:19.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-19T07:37:20.125Z] OK: 264 MiB in 52 packages [2023-11-19T07:37:20.468Z] Still waiting to schedule task [2023-11-19T07:37:20.468Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-11-19T07:37:20.694Z] Removing intermediate container 6fb5193110f9 [2023-11-19T07:37:20.694Z] ---> bb93a0f54803 [2023-11-19T07:37:20.694Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-19T07:37:20.694Z] ---> 7e9691f913b4 [2023-11-19T07:37:20.694Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-19T07:37:20.694Z] ---> Running in 9e59d2954757 [2023-11-19T07:38:07.387Z] Removing intermediate container 9e59d2954757 [2023-11-19T07:38:07.387Z] ---> 89ab22dc5ee2 [2023-11-19T07:38:07.387Z] Step 9/10 : COPY . . [2023-11-19T07:38:07.387Z] ---> 9d32a16ba84c [2023-11-19T07:38:07.387Z] Step 10/10 : RUN ${MAKE} [2023-11-19T07:38:07.387Z] ---> Running in 64b4f5f7d0bb [2023-11-19T07:38:07.387Z] noop [2023-11-19T07:38:07.387Z] Removing intermediate container 64b4f5f7d0bb [2023-11-19T07:38:07.387Z] ---> 2ef0777016f8 [2023-11-19T07:38:07.387Z] Successfully built 2ef0777016f8 [2023-11-19T07:38:07.387Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T07:38:07.768Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-19T07:38:07.768Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T07:38:07.879Z] prd-ubuntu20.04-docker-8c-8g-213 does not seem to be running inside a container [2023-11-19T07:38:07.914Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1541 -v /w/workspace/gexfoundry_device-sdk-go_PR-1541:/w/workspace/gexfoundry_device-sdk-go_PR-1541:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-19T07:38:08.255Z] $ docker top 96ef405bb4a6fa7f8c2503bca1ba258045979dd8f39e0c5b08a9262ab39e4791 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-19T07:38:08.642Z] + go version [2023-11-19T07:38:08.642Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-19T07:38:08.658Z] $ docker stop --time=1 96ef405bb4a6fa7f8c2503bca1ba258045979dd8f39e0c5b08a9262ab39e4791 [2023-11-19T07:38:09.905Z] $ docker rm -f --volumes 96ef405bb4a6fa7f8c2503bca1ba258045979dd8f39e0c5b08a9262ab39e4791 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T07:38:10.517Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-19T07:38:10.518Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T07:38:10.637Z] prd-ubuntu20.04-docker-8c-8g-213 does not seem to be running inside a container [2023-11-19T07:38:10.673Z] $ 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-1541 -v /w/workspace/gexfoundry_device-sdk-go_PR-1541:/w/workspace/gexfoundry_device-sdk-go_PR-1541:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-19T07:38:10.980Z] $ docker top c205d217aef15c67bb63faf061ccde0d47c9d3bc79bf316bc987d82df064800b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-19T07:38:11.445Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1541 [Pipeline] fileExists [Pipeline] sh [2023-11-19T07:38:11.793Z] + make test [2023-11-19T07:38:11.793Z] go test -race -coverprofile=coverage.out ./... [2023-11-19T07:38:18.366Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-19T07:38:33.242Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-19T07:38:33.242Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-19T07:38:33.242Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-19T07:38:33.242Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-19T07:38:33.242Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-19T07:38:33.242Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-19T07:38:33.242Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-19T07:38:33.808Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.041s coverage: 27.6% of statements [2023-11-19T07:38:34.066Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-19T07:38:34.066Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.045s coverage: 81.5% of statements [2023-11-19T07:38:34.066Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.060s coverage: 86.0% of statements [2023-11-19T07:38:35.000Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.080s coverage: 71.8% of statements [2023-11-19T07:38:35.259Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-19T07:38:35.259Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-19T07:38:35.259Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-19T07:38:38.544Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.057s coverage: 14.4% of statements [2023-11-19T07:38:38.544Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.982s coverage: 45.9% of statements [2023-11-19T07:38:38.544Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.091s coverage: 68.5% of statements [2023-11-19T07:38:38.544Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.091s coverage: 89.2% of statements [2023-11-19T07:38:38.544Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.043s coverage: 5.5% of statements [2023-11-19T07:38:56.617Z] GO111MODULE=on go vet ./... [2023-11-19T07:38:58.513Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-19T07:38:58.771Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-19T07:38:58.771Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-19T07:38:58.782Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-19T07:38:58.825Z] $ docker stop --time=1 c205d217aef15c67bb63faf061ccde0d47c9d3bc79bf316bc987d82df064800b [2023-11-19T07:39:01.812Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-214 in /w/workspace/gexfoundry_device-sdk-go_PR-1541 [2023-11-19T07:39:01.818Z] $ docker rm -f --volumes c205d217aef15c67bb63faf061ccde0d47c9d3bc79bf316bc987d82df064800b [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2023-11-19T07:39:02.154Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2023-11-19T07:39:02.376Z] + sudo chown -R jenkins:jenkins . [2023-11-19T07:39:05.225Z] The recommended git tool is: git [Pipeline] stash [2023-11-19T07:39:05.330Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-19T07:39:05.868Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-19T07:39:06.147Z] + ls -al . [2023-11-19T07:39:06.147Z] total 308 [2023-11-19T07:39:06.147Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 19 07:38 . [2023-11-19T07:39:06.147Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 07:36 .. [2023-11-19T07:39:06.147Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 19 07:36 .dockerignore [2023-11-19T07:39:06.147Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 07:38 .git [2023-11-19T07:39:06.147Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 07:36 .github [2023-11-19T07:39:06.147Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 19 07:36 .gitignore [2023-11-19T07:39:06.147Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 19 07:36 .golangci.yml [2023-11-19T07:39:06.147Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 07:37 .semver [2023-11-19T07:39:06.147Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 19 07:36 CHANGELOG.md [2023-11-19T07:39:06.147Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 07:36 GOVERNANCE.md [2023-11-19T07:39:06.147Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 19 07:36 Jenkinsfile [2023-11-19T07:39:06.147Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 19 07:36 LICENSE [2023-11-19T07:39:06.147Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 19 07:36 Makefile [2023-11-19T07:39:06.147Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 19 07:36 OWNERS.md [2023-11-19T07:39:06.147Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 19 07:36 README.md [2023-11-19T07:39:06.147Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 19 07:37 VERSION [2023-11-19T07:39:06.147Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 07:36 bin [2023-11-19T07:39:06.147Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 19 07:38 coverage.out [2023-11-19T07:39:06.147Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 19 07:36 example [2023-11-19T07:39:06.147Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 19 07:36 go.mod [2023-11-19T07:39:06.147Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 19 07:36 go.sum [2023-11-19T07:39:06.147Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 07:36 internal [2023-11-19T07:39:06.147Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 07:36 openapi [2023-11-19T07:39:06.147Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 19 07:36 pkg [2023-11-19T07:39:06.147Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 07:36 snap [2023-11-19T07:39:06.147Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 19 07:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T07:39:06.501Z] + 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=a25c6603d76a3663a5d21af09a8aa858ce0f6cda --label arch=amd64 --label version=0.0.0 . [2023-11-19T07:39:06.501Z] Sending build context to Docker daemon 22.08MB [2023-11-19T07:39:06.501Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-19T07:39:06.501Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-19T07:39:06.501Z] ---> 2ef0777016f8 [2023-11-19T07:39:06.501Z] Step 3/23 : ARG MAKE=make build [2023-11-19T07:39:07.069Z] ---> Running in 9894492c6f16 [2023-11-19T07:39:07.069Z] Removing intermediate container 9894492c6f16 [2023-11-19T07:39:07.069Z] ---> be43ccd87783 [2023-11-19T07:39:07.069Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-19T07:39:07.069Z] ---> Running in 95050991c0a2 [2023-11-19T07:39:07.069Z] Removing intermediate container 95050991c0a2 [2023-11-19T07:39:07.069Z] ---> b6397145afea [2023-11-19T07:39:07.069Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-19T07:39:07.069Z] ---> Running in 36fae077441b [2023-11-19T07:39:07.327Z] Removing intermediate container 36fae077441b [2023-11-19T07:39:07.327Z] ---> 7079f3aeead3 [2023-11-19T07:39:07.327Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-19T07:39:07.327Z] ---> Running in bbc84e5af6f5 [2023-11-19T07:39:07.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-19T07:39:07.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-19T07:39:07.844Z] OK: 264 MiB in 52 packages [2023-11-19T07:39:08.413Z] Removing intermediate container bbc84e5af6f5 [2023-11-19T07:39:08.414Z] ---> 15c621a82fdc [2023-11-19T07:39:08.414Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-19T07:39:08.414Z] ---> ec030cdff41f [2023-11-19T07:39:08.414Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-19T07:39:08.414Z] ---> Running in fd0e4debcb26 [2023-11-19T07:39:08.981Z] Removing intermediate container fd0e4debcb26 [2023-11-19T07:39:08.981Z] ---> 553bbc0b03d0 [2023-11-19T07:39:08.981Z] Step 9/23 : COPY . . [2023-11-19T07:39:09.547Z] ---> 535eb8971382 [2023-11-19T07:39:09.547Z] Step 10/23 : RUN ${MAKE} [2023-11-19T07:39:09.547Z] ---> Running in f735d1254c30 [2023-11-19T07:39:09.805Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-19T07:39:12.800Z] using credential edgex-jenkins-ssh [2023-11-19T07:39:12.820Z] Cloning the remote Git repository [2023-11-19T07:39:12.871Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-11-19T07:39:12.968Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2023-11-19T07:39:13.129Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-19T07:39:13.130Z] > git --version # timeout=10 [2023-11-19T07:39:13.153Z] > git --version # 'git version 2.25.1' [2023-11-19T07:39:13.156Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-19T07:39:13.338Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-19T07:39:15.965Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-19T07:39:15.988Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-19T07:39:16.879Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-19T07:39:16.934Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-19T07:39:16.935Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-19T07:39:16.950Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1541/head:refs/remotes/origin/PR-1541 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-19T07:39:17.612Z] Merging remotes/origin/main commit 7730e9b2488ebe82cf8f1ec58f41fa934430b51b into PR head commit a25c6603d76a3663a5d21af09a8aa858ce0f6cda [2023-11-19T07:39:17.883Z] Merge succeeded, producing a25c6603d76a3663a5d21af09a8aa858ce0f6cda [2023-11-19T07:39:17.883Z] Checking out Revision a25c6603d76a3663a5d21af09a8aa858ce0f6cda (PR-1541) [2023-11-19T07:39:17.637Z] > git config core.sparsecheckout # timeout=10 [2023-11-19T07:39:17.699Z] > git checkout -f a25c6603d76a3663a5d21af09a8aa858ce0f6cda # timeout=10 [2023-11-19T07:39:17.802Z] > git remote # timeout=10 [2023-11-19T07:39:17.821Z] > git config --get remote.origin.url # timeout=10 [2023-11-19T07:39:17.836Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-19T07:39:17.848Z] > git merge 7730e9b2488ebe82cf8f1ec58f41fa934430b51b # timeout=10 [2023-11-19T07:39:17.872Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-19T07:39:17.895Z] > git config core.sparsecheckout # timeout=10 [2023-11-19T07:39:17.908Z] > git checkout -f a25c6603d76a3663a5d21af09a8aa858ce0f6cda # timeout=10 [2023-11-19T07:39:22.640Z] Commit message: "refactor: Remove the version number in Init logs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-19T07:39:23.660Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-19T07:39:23.660Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-19T07:39:23.660Z] Dload Upload Total Spent Left Speed [2023-11-19T07:39:23.660Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 99858 0 --:--:-- --:--:-- --:--:-- 99858 [Pipeline] sh [2023-11-19T07:39:24.005Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-19T07:39:24.345Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-19T07:39:24.345Z] + sudo tee /etc/docker/daemon.new [2023-11-19T07:39:24.345Z] { [2023-11-19T07:39:24.345Z] "registry-mirrors": [ [2023-11-19T07:39:24.345Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-19T07:39:24.345Z] ], [2023-11-19T07:39:24.345Z] "bip": "10.250.0.254/24", [2023-11-19T07:39:24.345Z] "hosts": [ [2023-11-19T07:39:24.345Z] "tcp://0.0.0.0:5555", [2023-11-19T07:39:24.345Z] "unix:///var/run/docker.sock" [2023-11-19T07:39:24.345Z] ], [2023-11-19T07:39:24.345Z] "mtu": 1458, [2023-11-19T07:39:24.345Z] "selinux-enabled": true, [2023-11-19T07:39:24.345Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-19T07:39:24.345Z] } [Pipeline] sh [2023-11-19T07:39:24.683Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-19T07:39:25.007Z] + sudo service docker restart [2023-11-19T07:39:28.452Z] Removing intermediate container f735d1254c30 [2023-11-19T07:39:28.452Z] ---> ec1fc58db28d [2023-11-19T07:39:28.452Z] Step 11/23 : FROM alpine:3.18 [2023-11-19T07:39:28.712Z] 3.18: Pulling from library/alpine [2023-11-19T07:39:28.712Z] 96526aa774ef: Pulling fs layer [2023-11-19T07:39:28.712Z] 96526aa774ef: Verifying Checksum [2023-11-19T07:39:28.712Z] 96526aa774ef: Download complete [2023-11-19T07:39:28.971Z] 96526aa774ef: Pull complete [2023-11-19T07:39:28.971Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-19T07:39:28.971Z] Status: Downloaded newer image for alpine:3.18 [2023-11-19T07:39:28.972Z] ---> 8ca4688f4f35 [2023-11-19T07:39:28.972Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-19T07:39:29.232Z] ---> Running in 47393e8f3b78 [2023-11-19T07:39:29.232Z] Removing intermediate container 47393e8f3b78 [2023-11-19T07:39:29.232Z] ---> 3a3b5c0c1a54 [2023-11-19T07:39:29.232Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-19T07:39:29.232Z] ---> Running in 44ec651ef261 [2023-11-19T07:39:29.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-19T07:39:29.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-19T07:39:30.058Z] OK: 7 MiB in 15 packages [2023-11-19T07:39:30.317Z] Removing intermediate container 44ec651ef261 [2023-11-19T07:39:30.317Z] ---> d671e2812a47 [2023-11-19T07:39:30.317Z] Step 14/23 : WORKDIR / [2023-11-19T07:39:30.317Z] ---> Running in de71c8b6cf6d [2023-11-19T07:39:30.317Z] Removing intermediate container de71c8b6cf6d [2023-11-19T07:39:30.317Z] ---> 49eb6a4e87ee [2023-11-19T07:39:30.317Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-19T07:39:30.317Z] ---> f3e73103cc37 [2023-11-19T07:39:30.317Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-19T07:39:31.255Z] ---> 47e18f5b0df4 [2023-11-19T07:39:31.255Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-19T07:39:31.255Z] ---> 27659d64a2ea [2023-11-19T07:39:31.255Z] Step 18/23 : EXPOSE 59999 [2023-11-19T07:39:31.255Z] ---> Running in d548f7ddbcc4 [2023-11-19T07:39:31.255Z] Removing intermediate container d548f7ddbcc4 [2023-11-19T07:39:31.255Z] ---> c6d802f7d1d2 [2023-11-19T07:39:31.255Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-19T07:39:31.255Z] ---> Running in fa196dbf8ce5 [2023-11-19T07:39:31.255Z] Removing intermediate container fa196dbf8ce5 [2023-11-19T07:39:31.255Z] ---> 0664082b32fc [2023-11-19T07:39:31.255Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-19T07:39:31.513Z] ---> Running in a0fb1ac2273b [2023-11-19T07:39:31.513Z] Removing intermediate container a0fb1ac2273b [2023-11-19T07:39:31.513Z] ---> 34ba78c519ef [2023-11-19T07:39:31.513Z] Step 21/23 : LABEL arch=amd64 [2023-11-19T07:39:31.513Z] ---> Running in 76835a380dae [2023-11-19T07:39:31.513Z] Removing intermediate container 76835a380dae [2023-11-19T07:39:31.513Z] ---> 9bc7340e8535 [2023-11-19T07:39:31.513Z] Step 22/23 : LABEL git_sha=a25c6603d76a3663a5d21af09a8aa858ce0f6cda [2023-11-19T07:39:31.513Z] ---> Running in f1acbad0d061 [2023-11-19T07:39:31.513Z] Removing intermediate container f1acbad0d061 [2023-11-19T07:39:31.513Z] ---> 0d83cffd8b6f [2023-11-19T07:39:31.513Z] Step 23/23 : LABEL version=0.0.0 [2023-11-19T07:39:31.513Z] ---> Running in f016752677d7 [2023-11-19T07:39:31.772Z] Removing intermediate container f016752677d7 [2023-11-19T07:39:31.772Z] ---> 1c6f35a88041 [2023-11-19T07:39:31.772Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-19T07:39:31.772Z] Successfully built 1c6f35a88041 [2023-11-19T07:39:31.772Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T07:39:32.490Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-19T07:39:32.490Z] [2023-11-19T07:39:32.490Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T07:39:32.810Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-19T07:39:32.810Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-19T07:39:32.810Z] 5eb5b503b376: Pulling fs layer [2023-11-19T07:39:32.810Z] 5c69ac0246d0: Pulling fs layer [2023-11-19T07:39:32.810Z] ec43610c2a17: Pulling fs layer [2023-11-19T07:39:32.810Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-19T07:39:32.810Z] 33b1e0a273af: Pulling fs layer [2023-11-19T07:39:32.810Z] 5d3b04190fa2: Pulling fs layer [2023-11-19T07:39:32.810Z] 2f39f015ded8: Pulling fs layer [2023-11-19T07:39:32.810Z] 3a2ae6a8a46f: Waiting [2023-11-19T07:39:32.810Z] 33b1e0a273af: Waiting [2023-11-19T07:39:32.810Z] 5d3b04190fa2: Waiting [2023-11-19T07:39:32.810Z] 2f39f015ded8: Waiting [2023-11-19T07:39:32.810Z] 5c69ac0246d0: Verifying Checksum [2023-11-19T07:39:32.810Z] 5c69ac0246d0: Download complete [2023-11-19T07:39:32.810Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-19T07:39:32.810Z] 3a2ae6a8a46f: Download complete [2023-11-19T07:39:33.068Z] 33b1e0a273af: Verifying Checksum [2023-11-19T07:39:33.068Z] 33b1e0a273af: Download complete [2023-11-19T07:39:33.068Z] ec43610c2a17: Verifying Checksum [2023-11-19T07:39:33.068Z] ec43610c2a17: Download complete [2023-11-19T07:39:33.068Z] 5d3b04190fa2: Download complete [2023-11-19T07:39:33.068Z] 5eb5b503b376: Verifying Checksum [2023-11-19T07:39:33.068Z] 5eb5b503b376: Download complete [2023-11-19T07:39:33.636Z] 2f39f015ded8: Download complete [2023-11-19T07:39:34.201Z] 5eb5b503b376: Pull complete [2023-11-19T07:39:34.459Z] 5c69ac0246d0: Pull complete [2023-11-19T07:39:34.717Z] ec43610c2a17: Pull complete [2023-11-19T07:39:34.717Z] 3a2ae6a8a46f: Pull complete [2023-11-19T07:39:34.975Z] 33b1e0a273af: Pull complete [2023-11-19T07:39:34.975Z] 5d3b04190fa2: Pull complete [2023-11-19T07:39:39.163Z] 2f39f015ded8: Pull complete [2023-11-19T07:39:39.163Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-19T07:39:39.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-19T07:39:39.163Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T07:39:39.391Z] prd-ubuntu20.04-docker-8c-8g-213 does not seem to be running inside a container [2023-11-19T07:39:39.427Z] $ 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-1541 -v /w/workspace/gexfoundry_device-sdk-go_PR-1541:/w/workspace/gexfoundry_device-sdk-go_PR-1541:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-19T07:39:44.730Z] $ docker top 5beb899aedfa116c7032445377bd59d03aedb92ab15d2f303ec8ee5ffa666f86 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2023-11-19T07:39:44.927Z] provisioning config files... [2023-11-19T07:39:44.952Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config2956780245778326181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-19T07:39:45.180Z] ---> job-cost.sh [2023-11-19T07:39:45.180Z] lf-activate-venv: SKIPPING [2023-11-19T07:39:45.180Z] INFO: No Stack... [2023-11-19T07:39:45.395Z] ---> ****-login.sh [2023-11-19T07:39:45.395Z] nexus3.edgexfoundry.org:10001 [2023-11-19T07:39:45.439Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-19T07:39:45.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T07:39:45.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T07:39:45.936Z] Configure a credential helper to remove this warning. See [2023-11-19T07:39:45.936Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T07:39:45.936Z] [2023-11-19T07:39:45.936Z] Login Succeeded [2023-11-19T07:39:45.936Z] nexus3.edgexfoundry.org:10002 [2023-11-19T07:39:46.005Z] INFO: Archiving Costs [Pipeline] sh [2023-11-19T07:39:46.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T07:39:46.290Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives/cost.csv [2023-11-19T07:39:46.290Z] + cut -d, -f6 [Pipeline] lock [2023-11-19T07:39:46.304Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1541-6-stack-cost] [2023-11-19T07:39:46.312Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1541-6-stack-cost] did not exist. Created. [2023-11-19T07:39:46.312Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1541-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-19T07:39:46.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T07:39:46.482Z] Configure a credential helper to remove this warning. See [2023-11-19T07:39:46.482Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T07:39:46.482Z] [2023-11-19T07:39:46.482Z] Login Succeeded [2023-11-19T07:39:46.482Z] nexus3.edgexfoundry.org:10003 [2023-11-19T07:39:46.678Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-19T07:39:46.742Z] Stashed 1 file(s) [Pipeline] } [2023-11-19T07:39:46.748Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1541-6-stack-cost] [2023-11-19T07:39:46.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T07:39:46.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T07:39:46.752Z] Configure a credential helper to remove this warning. See [2023-11-19T07:39:46.752Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T07:39:46.752Z] [2023-11-19T07:39:46.752Z] Login Succeeded [2023-11-19T07:39:46.753Z] nexus3.edgexfoundry.org:10004 [Pipeline] // lock [Pipeline] } [2023-11-19T07:39:46.835Z] $ docker stop --time=1 5beb899aedfa116c7032445377bd59d03aedb92ab15d2f303ec8ee5ffa666f86 [2023-11-19T07:39:47.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T07:39:47.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T07:39:47.024Z] Configure a credential helper to remove this warning. See [2023-11-19T07:39:47.024Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T07:39:47.024Z] [2023-11-19T07:39:47.300Z] Login Succeeded [2023-11-19T07:39:47.300Z] ****.io [2023-11-19T07:39:47.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T07:39:47.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T07:39:47.568Z] Configure a credential helper to remove this warning. See [2023-11-19T07:39:47.568Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T07:39:47.568Z] [2023-11-19T07:39:47.568Z] Login Succeeded [2023-11-19T07:39:47.568Z] ---> ****-login.sh ends [2023-11-19T07:39:47.977Z] $ docker rm -f --volumes 5beb899aedfa116c7032445377bd59d03aedb92ab15d2f303ec8ee5ffa666f86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-11-19T07:39:48.049Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2023-11-19T07:39:48.430Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-19T07:39:48.473Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-19T07:39:48.519Z] ========================================================= [2023-11-19T07:39:48.519Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-19T07:39:48.519Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T07:39:48.990Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-19T07:39:49.580Z] Sending build context to Docker daemon 11.39MB [2023-11-19T07:39:49.580Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-19T07:39:49.580Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-19T07:39:49.580Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-19T07:39:49.580Z] 9fda8d8052c6: Pulling fs layer [2023-11-19T07:39:49.580Z] 5d54e960e981: Pulling fs layer [2023-11-19T07:39:49.580Z] c4a7e357bf2a: Pulling fs layer [2023-11-19T07:39:49.580Z] f0e02332f6b5: Pulling fs layer [2023-11-19T07:39:49.580Z] 872ee5b61b7b: Pulling fs layer [2023-11-19T07:39:49.580Z] 0c6a40ed1a82: Pulling fs layer [2023-11-19T07:39:49.580Z] 94ae7d8d031c: Pulling fs layer [2023-11-19T07:39:49.580Z] 872ee5b61b7b: Waiting [2023-11-19T07:39:49.580Z] 0c6a40ed1a82: Waiting [2023-11-19T07:39:49.580Z] 94ae7d8d031c: Waiting [2023-11-19T07:39:49.580Z] f0e02332f6b5: Waiting [2023-11-19T07:39:49.850Z] 5d54e960e981: Download complete [2023-11-19T07:39:49.850Z] f0e02332f6b5: Verifying Checksum [2023-11-19T07:39:49.850Z] f0e02332f6b5: Download complete [2023-11-19T07:39:49.850Z] 872ee5b61b7b: Verifying Checksum [2023-11-19T07:39:49.850Z] 872ee5b61b7b: Download complete [2023-11-19T07:39:49.850Z] 9fda8d8052c6: Verifying Checksum [2023-11-19T07:39:49.850Z] 9fda8d8052c6: Download complete [2023-11-19T07:39:50.439Z] 94ae7d8d031c: Verifying Checksum [2023-11-19T07:39:50.439Z] 94ae7d8d031c: Download complete [2023-11-19T07:39:51.410Z] c4a7e357bf2a: Verifying Checksum [2023-11-19T07:39:51.410Z] c4a7e357bf2a: Download complete [2023-11-19T07:39:52.376Z] 0c6a40ed1a82: Verifying Checksum [2023-11-19T07:39:52.376Z] 0c6a40ed1a82: Download complete [2023-11-19T07:39:54.965Z] 9fda8d8052c6: Pull complete [2023-11-19T07:39:54.965Z] 5d54e960e981: Pull complete [2023-11-19T07:40:09.989Z] c4a7e357bf2a: Pull complete [2023-11-19T07:40:09.989Z] f0e02332f6b5: Pull complete [2023-11-19T07:40:09.989Z] 872ee5b61b7b: Pull complete [2023-11-19T07:40:16.661Z] 0c6a40ed1a82: Pull complete [2023-11-19T07:40:18.618Z] 94ae7d8d031c: Pull complete [2023-11-19T07:40:18.618Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-19T07:40:18.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-19T07:40:18.618Z] ---> 86de565de09d [2023-11-19T07:40:18.618Z] Step 3/10 : ARG MAKE=make build [2023-11-19T07:40:20.564Z] ---> Running in 3f4b593800ce [2023-11-19T07:40:20.832Z] Removing intermediate container 3f4b593800ce [2023-11-19T07:40:20.832Z] ---> ec1f17a3c792 [2023-11-19T07:40:20.832Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-19T07:40:20.832Z] ---> Running in b99be26d12ba [2023-11-19T07:40:21.100Z] Removing intermediate container b99be26d12ba [2023-11-19T07:40:21.100Z] ---> 90c5f610236c [2023-11-19T07:40:21.100Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-19T07:40:21.100Z] ---> Running in 4c6b9fc31651 [2023-11-19T07:40:21.367Z] Removing intermediate container 4c6b9fc31651 [2023-11-19T07:40:21.367Z] ---> 76205a32d7f3 [2023-11-19T07:40:21.367Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-19T07:40:21.644Z] ---> Running in 5af69d999fd2 [2023-11-19T07:40:22.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-19T07:40:23.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-19T07:40:26.904Z] OK: 266 MiB in 52 packages [2023-11-19T07:40:27.495Z] Removing intermediate container 5af69d999fd2 [2023-11-19T07:40:27.495Z] ---> 5fa4d783bb0d [2023-11-19T07:40:27.495Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-19T07:40:28.089Z] ---> a15f20676451 [2023-11-19T07:40:28.089Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-19T07:40:28.089Z] ---> Running in b13d79ca346e [2023-11-19T07:42:04.744Z] Removing intermediate container b13d79ca346e [2023-11-19T07:42:04.744Z] ---> 3256ed42c5c5 [2023-11-19T07:42:04.744Z] Step 9/10 : COPY . . [2023-11-19T07:42:04.744Z] ---> 74be68f17139 [2023-11-19T07:42:04.744Z] Step 10/10 : RUN ${MAKE} [2023-11-19T07:42:04.744Z] ---> Running in ad2c93b172e1 [2023-11-19T07:42:04.744Z] noop [2023-11-19T07:42:04.744Z] Removing intermediate container ad2c93b172e1 [2023-11-19T07:42:04.744Z] ---> b29e79039be3 [2023-11-19T07:42:04.744Z] Successfully built b29e79039be3 [2023-11-19T07:42:04.744Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T07:42:05.208Z] + docker inspect -f . ci-base-image-arm64 [2023-11-19T07:42:05.208Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T07:42:05.473Z] prd-ubuntu20.04-docker-arm64-4c-16g-214 does not seem to be running inside a container [2023-11-19T07:42:05.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-19T07:42:06.859Z] $ docker top b058f079b35140eb6ab8bf1fbd63c21b8dcc4aab3a939cb3f9b55b0067405ffe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-19T07:42:07.795Z] + go version [2023-11-19T07:42:07.795Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-19T07:42:07.817Z] $ docker stop --time=1 b058f079b35140eb6ab8bf1fbd63c21b8dcc4aab3a939cb3f9b55b0067405ffe [2023-11-19T07:42:09.464Z] $ docker rm -f --volumes b058f079b35140eb6ab8bf1fbd63c21b8dcc4aab3a939cb3f9b55b0067405ffe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T07:42:10.327Z] + docker inspect -f . ci-base-image-arm64 [2023-11-19T07:42:10.327Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T07:42:10.605Z] prd-ubuntu20.04-docker-arm64-4c-16g-214 does not seem to be running inside a container [2023-11-19T07:42:10.682Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-19T07:42:14.337Z] $ docker top 0f10a62a65edd60d5c27167572e5eee425b7871f9ef121ac4a596191ae622395 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-19T07:42:14.940Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/6 [Pipeline] fileExists [Pipeline] sh [2023-11-19T07:42:15.903Z] + make test [2023-11-19T07:42:15.903Z] go test -race -coverprofile=coverage.out ./... [2023-11-19T07:42:56.442Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-19T07:44:48.364Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-19T07:44:48.364Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-19T07:44:48.364Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-19T07:44:48.364Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-19T07:44:48.364Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-19T07:44:49.323Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.189s coverage: 27.6% of statements [2023-11-19T07:44:57.539Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.236s coverage: 81.5% of statements [2023-11-19T07:45:04.183Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-19T07:45:04.183Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-19T07:45:05.163Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.304s coverage: 86.0% of statements [2023-11-19T07:45:09.441Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-19T07:45:10.856Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.572s coverage: 71.8% of statements [2023-11-19T07:45:14.202Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-19T07:45:14.202Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-19T07:45:14.202Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.249s coverage: 14.4% of statements [2023-11-19T07:45:14.202Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.726s coverage: 45.9% of statements [2023-11-19T07:45:15.614Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.382s coverage: 68.5% of statements [2023-11-19T07:45:18.863Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.405s coverage: 89.2% of statements [2023-11-19T07:45:18.864Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-19T07:45:20.266Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.217s coverage: 5.5% of statements [2023-11-19T07:45:20.864Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-19T07:45:20.864Z] GO111MODULE=on go vet ./... [2023-11-19T07:46:57.506Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-19T07:46:57.506Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-19T07:46:57.506Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-19T07:46:57.523Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-19T07:46:57.571Z] $ docker stop --time=1 0f10a62a65edd60d5c27167572e5eee425b7871f9ef121ac4a596191ae622395 [2023-11-19T07:46:59.383Z] $ docker rm -f --volumes 0f10a62a65edd60d5c27167572e5eee425b7871f9ef121ac4a596191ae622395 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-19T07:47:01.069Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-19T07:47:01.124Z] Warning: overwriting stash ‘coverage-report’ [2023-11-19T07:47:01.660Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-19T07:47:02.228Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-19T07:47:02.544Z] + ls -al . [2023-11-19T07:47:02.544Z] total 304 [2023-11-19T07:47:02.544Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 19 07:42 . [2023-11-19T07:47:02.544Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 07:39 .. [2023-11-19T07:47:02.544Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 19 07:39 .dockerignore [2023-11-19T07:47:02.544Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 07:39 .git [2023-11-19T07:47:02.544Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 07:39 .github [2023-11-19T07:47:02.544Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 19 07:39 .gitignore [2023-11-19T07:47:02.544Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 19 07:39 .golangci.yml [2023-11-19T07:47:02.544Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 19 07:39 CHANGELOG.md [2023-11-19T07:47:02.544Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 07:39 GOVERNANCE.md [2023-11-19T07:47:02.544Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 19 07:39 Jenkinsfile [2023-11-19T07:47:02.544Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 19 07:39 LICENSE [2023-11-19T07:47:02.544Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 19 07:39 Makefile [2023-11-19T07:47:02.544Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 19 07:39 OWNERS.md [2023-11-19T07:47:02.544Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 19 07:39 README.md [2023-11-19T07:47:02.544Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 19 07:37 VERSION [2023-11-19T07:47:02.544Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 07:39 bin [2023-11-19T07:47:02.544Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 19 07:45 coverage.out [2023-11-19T07:47:02.544Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 19 07:39 example [2023-11-19T07:47:02.544Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 19 07:39 go.mod [2023-11-19T07:47:02.544Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 19 07:39 go.sum [2023-11-19T07:47:02.544Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 07:39 internal [2023-11-19T07:47:02.544Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 07:39 openapi [2023-11-19T07:47:02.544Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 19 07:39 pkg [2023-11-19T07:47:02.544Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 07:39 snap [2023-11-19T07:47:02.544Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 19 07:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T07:47:02.951Z] + 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=a25c6603d76a3663a5d21af09a8aa858ce0f6cda --label arch=arm64 --label version=0.0.0 . [2023-11-19T07:47:03.536Z] Sending build context to Docker daemon 11.51MB [2023-11-19T07:47:03.536Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-19T07:47:03.536Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-19T07:47:03.536Z] ---> b29e79039be3 [2023-11-19T07:47:03.536Z] Step 3/23 : ARG MAKE=make build [2023-11-19T07:47:03.536Z] ---> Running in a80149cc33eb [2023-11-19T07:47:03.804Z] Removing intermediate container a80149cc33eb [2023-11-19T07:47:03.804Z] ---> 9cfba9d8d2e2 [2023-11-19T07:47:03.804Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-19T07:47:04.069Z] ---> Running in fc1380908af1 [2023-11-19T07:47:04.336Z] Removing intermediate container fc1380908af1 [2023-11-19T07:47:04.336Z] ---> e12a9f06e574 [2023-11-19T07:47:04.336Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-19T07:47:04.336Z] ---> Running in 832243a2de74 [2023-11-19T07:47:04.607Z] Removing intermediate container 832243a2de74 [2023-11-19T07:47:04.607Z] ---> 8232f5f30879 [2023-11-19T07:47:04.607Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-19T07:47:04.607Z] ---> Running in 8dc371a0b19e [2023-11-19T07:47:05.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-19T07:47:06.152Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-19T07:47:07.108Z] OK: 266 MiB in 52 packages [2023-11-19T07:47:08.078Z] Removing intermediate container 8dc371a0b19e [2023-11-19T07:47:08.078Z] ---> f1c5ef6b0984 [2023-11-19T07:47:08.078Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-19T07:47:12.129Z] ---> a209bd9f6657 [2023-11-19T07:47:12.129Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-19T07:47:12.129Z] ---> Running in f049b65955cc [2023-11-19T07:47:14.069Z] Removing intermediate container f049b65955cc [2023-11-19T07:47:14.069Z] ---> 8d9d9179d682 [2023-11-19T07:47:14.069Z] Step 9/23 : COPY . . [2023-11-19T07:47:15.472Z] ---> 7973e875e70e [2023-11-19T07:47:15.473Z] Step 10/23 : RUN ${MAKE} [2023-11-19T07:47:15.473Z] ---> Running in f747155a6ca4 [2023-11-19T07:47:16.429Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-19T07:49:08.078Z] Removing intermediate container f747155a6ca4 [2023-11-19T07:49:08.078Z] ---> 30242c55f2c2 [2023-11-19T07:49:08.078Z] Step 11/23 : FROM alpine:3.18 [2023-11-19T07:49:08.078Z] 3.18: Pulling from library/alpine [2023-11-19T07:49:08.078Z] 579b34f0a95b: Pulling fs layer [2023-11-19T07:49:08.078Z] 579b34f0a95b: Verifying Checksum [2023-11-19T07:49:08.078Z] 579b34f0a95b: Download complete [2023-11-19T07:49:08.078Z] 579b34f0a95b: Pull complete [2023-11-19T07:49:08.078Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-19T07:49:08.078Z] Status: Downloaded newer image for alpine:3.18 [2023-11-19T07:49:08.078Z] ---> 3cc203321400 [2023-11-19T07:49:08.078Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-19T07:49:08.078Z] ---> Running in 8025764a12b7 [2023-11-19T07:49:08.078Z] Removing intermediate container 8025764a12b7 [2023-11-19T07:49:08.078Z] ---> 7b8d5f0bd14b [2023-11-19T07:49:08.078Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-19T07:49:08.078Z] ---> Running in 0999e9a49654 [2023-11-19T07:49:08.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-19T07:49:08.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-19T07:49:08.078Z] OK: 8 MiB in 15 packages [2023-11-19T07:49:08.078Z] Removing intermediate container 0999e9a49654 [2023-11-19T07:49:08.078Z] ---> 4745b24b63fc [2023-11-19T07:49:08.078Z] Step 14/23 : WORKDIR / [2023-11-19T07:49:08.078Z] ---> Running in 367c10be3d8e [2023-11-19T07:49:08.078Z] Removing intermediate container 367c10be3d8e [2023-11-19T07:49:08.078Z] ---> fb3c6aadb8c3 [2023-11-19T07:49:08.078Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-19T07:49:08.078Z] ---> 45de6ffcbbc5 [2023-11-19T07:49:08.078Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-19T07:49:08.078Z] ---> 7eb9e0c8553c [2023-11-19T07:49:08.078Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-19T07:49:08.078Z] ---> 2938c36f1361 [2023-11-19T07:49:08.078Z] Step 18/23 : EXPOSE 59999 [2023-11-19T07:49:08.078Z] ---> Running in ea259f2d12e0 [2023-11-19T07:49:08.078Z] Removing intermediate container ea259f2d12e0 [2023-11-19T07:49:08.078Z] ---> dab197b5af28 [2023-11-19T07:49:08.078Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-19T07:49:08.078Z] ---> Running in 380c38f2713e [2023-11-19T07:49:08.078Z] Removing intermediate container 380c38f2713e [2023-11-19T07:49:08.078Z] ---> 89c077ce8382 [2023-11-19T07:49:08.078Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-19T07:49:08.078Z] ---> Running in f4610d541d60 [2023-11-19T07:49:08.078Z] Removing intermediate container f4610d541d60 [2023-11-19T07:49:08.078Z] ---> 6b35466406b8 [2023-11-19T07:49:08.078Z] Step 21/23 : LABEL arch=arm64 [2023-11-19T07:49:08.078Z] ---> Running in 1ef84b541c23 [2023-11-19T07:49:08.078Z] Removing intermediate container 1ef84b541c23 [2023-11-19T07:49:08.078Z] ---> 96cb7cf171bf [2023-11-19T07:49:08.078Z] Step 22/23 : LABEL git_sha=a25c6603d76a3663a5d21af09a8aa858ce0f6cda [2023-11-19T07:49:08.343Z] ---> Running in fa5a6255edc7 [2023-11-19T07:49:08.608Z] Removing intermediate container fa5a6255edc7 [2023-11-19T07:49:08.608Z] ---> 768ed8b692ba [2023-11-19T07:49:08.608Z] Step 23/23 : LABEL version=0.0.0 [2023-11-19T07:49:08.608Z] ---> Running in 0db9003e894e [2023-11-19T07:49:08.871Z] Removing intermediate container 0db9003e894e [2023-11-19T07:49:08.871Z] ---> c5fa7df8db28 [2023-11-19T07:49:08.871Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-19T07:49:08.871Z] Successfully built c5fa7df8db28 [2023-11-19T07:49:08.871Z] 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-11-19T07:49:09.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-19T07:49:09.714Z] [2023-11-19T07:49:09.714Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T07:49:10.074Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-19T07:49:10.075Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-19T07:49:10.075Z] 8998bd30e6a1: Pulling fs layer [2023-11-19T07:49:10.075Z] 04944245beec: Pulling fs layer [2023-11-19T07:49:10.075Z] 699f458cf7ca: Pulling fs layer [2023-11-19T07:49:10.075Z] 765212b225bb: Pulling fs layer [2023-11-19T07:49:10.075Z] f23df028b6ca: Pulling fs layer [2023-11-19T07:49:10.075Z] d65c8cfc05b1: Pulling fs layer [2023-11-19T07:49:10.075Z] 2437ff75d9bd: Pulling fs layer [2023-11-19T07:49:10.075Z] f23df028b6ca: Waiting [2023-11-19T07:49:10.075Z] d65c8cfc05b1: Waiting [2023-11-19T07:49:10.075Z] 2437ff75d9bd: Waiting [2023-11-19T07:49:10.075Z] 765212b225bb: Waiting [2023-11-19T07:49:10.340Z] 04944245beec: Verifying Checksum [2023-11-19T07:49:10.340Z] 04944245beec: Download complete [2023-11-19T07:49:10.340Z] 765212b225bb: Verifying Checksum [2023-11-19T07:49:10.340Z] 765212b225bb: Download complete [2023-11-19T07:49:10.340Z] f23df028b6ca: Download complete [2023-11-19T07:49:10.340Z] d65c8cfc05b1: Verifying Checksum [2023-11-19T07:49:10.340Z] d65c8cfc05b1: Download complete [2023-11-19T07:49:10.340Z] 699f458cf7ca: Verifying Checksum [2023-11-19T07:49:10.340Z] 699f458cf7ca: Download complete [2023-11-19T07:49:10.922Z] 8998bd30e6a1: Verifying Checksum [2023-11-19T07:49:10.922Z] 8998bd30e6a1: Download complete [2023-11-19T07:49:13.499Z] 2437ff75d9bd: Verifying Checksum [2023-11-19T07:49:13.499Z] 2437ff75d9bd: Download complete [2023-11-19T07:49:15.434Z] 8998bd30e6a1: Pull complete [2023-11-19T07:49:15.698Z] 04944245beec: Pull complete [2023-11-19T07:49:17.638Z] 699f458cf7ca: Pull complete [2023-11-19T07:49:17.638Z] 765212b225bb: Pull complete [2023-11-19T07:49:18.219Z] f23df028b6ca: Pull complete [2023-11-19T07:49:18.485Z] d65c8cfc05b1: Pull complete [2023-11-19T07:49:36.690Z] 2437ff75d9bd: Pull complete [2023-11-19T07:49:36.690Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-19T07:49:36.690Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-19T07:49:36.690Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T07:49:37.009Z] prd-ubuntu20.04-docker-arm64-4c-16g-214 does not seem to be running inside a container [2023-11-19T07:49:37.073Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-19T07:49:39.720Z] $ docker top 135250571d0bbdb61fcbf2cf8bbe97eee4a29e6e8f8f5a55d9522ab8181fa6ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-19T07:49:40.626Z] ---> job-cost.sh [2023-11-19T07:49:40.626Z] lf-activate-venv: SKIPPING [2023-11-19T07:49:40.626Z] INFO: No Stack... [2023-11-19T07:49:40.891Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-19T07:49:41.858Z] INFO: Archiving Costs [Pipeline] sh [2023-11-19T07:49:42.503Z] + cut -d, -f6 [2023-11-19T07:49:42.503Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [Pipeline] lock [2023-11-19T07:49:42.535Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1541-6-stack-cost] [2023-11-19T07:49:42.545Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1541-6-stack-cost] did not exist. Created. [2023-11-19T07:49:42.545Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1541-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-19T07:49:43.267Z] /w/workspace/device-sdk-go/6@tmp/durable-e8878c96/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-19T07:49:43.587Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-19T07:49:43.867Z] Warning: overwriting stash ‘stack-cost’ [2023-11-19T07:49:43.939Z] Stashed 1 file(s) [Pipeline] } [2023-11-19T07:49:43.946Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1541-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-19T07:49:44.048Z] $ docker stop --time=1 135250571d0bbdb61fcbf2cf8bbe97eee4a29e6e8f8f5a55d9522ab8181fa6ce [2023-11-19T07:49:46.376Z] $ docker rm -f --volumes 135250571d0bbdb61fcbf2cf8bbe97eee4a29e6e8f8f5a55d9522ab8181fa6ce [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-11-19T07:49:47.558Z] provisioning config files... [2023-11-19T07:49:47.565Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/config17753139606005564302tmp [Pipeline] { [Pipeline] sh [2023-11-19T07:49:47.927Z] + set +x [2023-11-19T07:49:47.927Z] + curl -s https://codecov.io/bash [2023-11-19T07:49:47.927Z] + bash -s -- [2023-11-19T07:49:48.187Z] [2023-11-19T07:49:48.187Z] _____ _ [2023-11-19T07:49:48.187Z] / ____| | | [2023-11-19T07:49:48.187Z] | | ___ __| | ___ ___ _____ __ [2023-11-19T07:49:48.187Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-19T07:49:48.187Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-19T07:49:48.187Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-19T07:49:48.187Z] Bash-1.0.6 [2023-11-19T07:49:48.187Z] [2023-11-19T07:49:48.187Z] [2023-11-19T07:49:48.187Z] ==> git version 2.25.1 found [2023-11-19T07:49:48.187Z] ==> 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-11-19T07:49:48.187Z] Release-Date: 2020-01-08 [2023-11-19T07:49:48.187Z] 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-11-19T07:49:48.187Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-19T07:49:48.187Z] ==> Jenkins CI detected. [2023-11-19T07:49:48.187Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1541 [2023-11-19T07:49:48.187Z] project root: . [2023-11-19T07:49:48.187Z] --> token set from env [2023-11-19T07:49:48.187Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-19T07:49:48.187Z] ==> Running gcov in . (disable via -X gcov) [2023-11-19T07:49:48.187Z] ==> Python coveragepy not found [2023-11-19T07:49:48.187Z] ==> Searching for coverage reports in: [2023-11-19T07:49:48.187Z] + . [2023-11-19T07:49:48.187Z] -> Found 1 reports [2023-11-19T07:49:48.187Z] ==> Detecting git/mercurial file structure [2023-11-19T07:49:48.187Z] ==> Reading reports [2023-11-19T07:49:48.187Z] + ./coverage.out bytes=122153 [2023-11-19T07:49:48.187Z] ==> Appending adjustments [2023-11-19T07:49:48.187Z] https://docs.codecov.io/docs/fixing-reports [2023-11-19T07:49:48.447Z] + Found adjustments [2023-11-19T07:49:48.447Z] ==> Gzipping contents [2023-11-19T07:49:48.447Z] 20K /tmp/codecov.0IrwBd.gz [2023-11-19T07:49:48.447Z] ==> Uploading reports [2023-11-19T07:49:48.447Z] url: https://codecov.io [2023-11-19T07:49:48.447Z] query: branch=PR-1541&commit=a25c6603d76a3663a5d21af09a8aa858ce0f6cda&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1541%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1541&job=&cmd_args= [2023-11-19T07:49:48.447Z] -> Pinging Codecov [2023-11-19T07:49:48.447Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1541&commit=a25c6603d76a3663a5d21af09a8aa858ce0f6cda&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1541%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1541&job=&cmd_args= [2023-11-19T07:49:48.707Z] -> Uploading to [2023-11-19T07:49:48.707Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-19/7E55EF52A471D76F132DFD9A03CDDE97/a25c6603d76a3663a5d21af09a8aa858ce0f6cda/15807d7d-3f7e-4de3-a720-8b9a458bf1b3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231119T074948Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=661c71f4b6d657b281a79a0b15fe1e19f9ee2410ac95b1dffecc9d480660591f [2023-11-19T07:49:48.707Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-19T07:49:48.707Z] Dload Upload Total Spent Left Speed [2023-11-19T07:49:48.968Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16747 0 0 100 16747 0 52171 --:--:-- --:--:-- --:--:-- 52009 100 16747 0 0 100 16747 0 52171 --:--:-- --:--:-- --:--:-- 52009 [2023-11-19T07:49:48.968Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a25c6603d76a3663a5d21af09a8aa858ce0f6cda [Pipeline] } [2023-11-19T07:49:48.975Z] 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-11-19T07:49:50.910Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives ] [2023-11-19T07:49:50.910Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives [2023-11-19T07:49:50.910Z] total 16 [2023-11-19T07:49:50.910Z] drwxr-xr-x 3 root root 4096 Nov 19 07:39 . [2023-11-19T07:49:50.910Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 07:39 .. [2023-11-19T07:49:50.910Z] drwxr-xr-x 2 root root 4096 Nov 19 07:39 cost [2023-11-19T07:49:50.910Z] -rw-r--r-- 1 root root 86 Nov 19 07:39 cost.csv [2023-11-19T07:49:50.910Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives [2023-11-19T07:49:50.910Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives [2023-11-19T07:49:50.910Z] total 16 [2023-11-19T07:49:50.910Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 07:39 . [2023-11-19T07:49:50.910Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 07:39 .. [2023-11-19T07:49:50.910Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 19 07:39 cost [2023-11-19T07:49:50.910Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 19 07:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-19T07:49:51.200Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T07:49:52.064Z] ---> package-listing.sh [2023-11-19T07:49:52.064Z] ++ facter osfamily [2023-11-19T07:49:52.064Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-19T07:49:52.323Z] + OS_FAMILY=debian [2023-11-19T07:49:52.323Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1541 [2023-11-19T07:49:52.323Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-19T07:49:52.323Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-19T07:49:52.323Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-19T07:49:52.323Z] + PACKAGES=/tmp/packages_start.txt [2023-11-19T07:49:52.323Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1541 ']' [2023-11-19T07:49:52.323Z] + PACKAGES=/tmp/packages_end.txt [2023-11-19T07:49:52.323Z] + case "${OS_FAMILY}" in [2023-11-19T07:49:52.323Z] + dpkg -l [2023-11-19T07:49:52.323Z] + grep '^ii' [2023-11-19T07:49:52.323Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-19T07:49:52.323Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-19T07:49:52.323Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-19T07:49:52.323Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1541 ']' [2023-11-19T07:49:52.323Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives/ [2023-11-19T07:49:52.323Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1541/archives/ [Pipeline] echo [2023-11-19T07:49:52.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-1541/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-19T07:49:52.609Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T07:49:53.205Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-19T07:49:53.205Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T07:49:53.349Z] prd-ubuntu20.04-docker-8c-8g-213 does not seem to be running inside a container [2023-11-19T07:49:53.387Z] $ 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-1541/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-1541 -v /w/workspace/gexfoundry_device-sdk-go_PR-1541:/w/workspace/gexfoundry_device-sdk-go_PR-1541:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-19T07:49:53.587Z] $ docker top f5e70d3dc50c841fa915f6da336d80a3e135890da9149f13e1ff50ca084e2a9c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-19T07:49:54.006Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-19T07:49:54.292Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-19T07:49:54.582Z] + ls /var/log/sa-host [2023-11-19T07:49:54.582Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-19T07:49:54.776Z] provisioning config files... [2023-11-19T07:49:54.784Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1541@tmp/config1548204716423768289tmp [Pipeline] { [Pipeline] echo [2023-11-19T07:49:54.870Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T07:49:55.153Z] ---> create-netrc.sh [Pipeline] } [2023-11-19T07:49:55.160Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-19T07:49:55.582Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-19T07:49:55.590Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T07:49:55.882Z] ---> sudo-logs.sh [2023-11-19T07:49:55.882Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-19T07:49:55.949Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T07:49:56.232Z] ---> job-cost.sh [2023-11-19T07:49:56.232Z] lf-activate-venv: SKIPPING [2023-11-19T07:49:56.232Z] DEBUG: total: 0.2199999988079071 [2023-11-19T07:49:56.232Z] INFO: Retrieving Stack Cost... [2023-11-19T07:49:56.800Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-19T07:49:57.060Z] INFO: Archiving Costs [Pipeline] echo [2023-11-19T07:49:57.071Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T07:49:57.352Z] ---> logs-deploy.sh [2023-11-19T07:49:57.352Z] lf-activate-venv: SKIPPING [2023-11-19T07:49:57.352Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1541/6 [2023-11-19T07:49:57.352Z] INFO: archiving workspace using pattern(s): [2023-11-19T07:49:58.287Z] Archives upload complete. [2023-11-19T07:49:58.287Z] INFO: archiving logs to Nexus