Pull request #1597 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a1441aee9b855ff821669546a869293969d7956c+f8542394c296a874d7c1548ccc4fc92a877959fa (806c31601eb84ae495a1228c76d11f0c2f581792) 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-ssh14788438043581089063.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh7639733455933597195.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 590556114a56c6d90cc8043840e039c2f74196dc 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-1597/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-1597/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17809637332326366285.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh16948608981424878009.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-1597/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-1597/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8783590110553656284.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5620 in /w/workspace/gexfoundry_device-sdk-go_PR-1597 [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-1597 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1597/head:refs/remotes/origin/PR-1597 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f8542394c296a874d7c1548ccc4fc92a877959fa into PR head commit a1441aee9b855ff821669546a869293969d7956c Merge succeeded, producing a1441aee9b855ff821669546a869293969d7956c Checking out Revision a1441aee9b855ff821669546a869293969d7956c (PR-1597) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git config core.sparsecheckout # timeout=10 > git checkout -f a1441aee9b855ff821669546a869293969d7956c # 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 f8542394c296a874d7c1548ccc4fc92a877959fa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a1441aee9b855ff821669546a869293969d7956c # timeout=10 > git rev-list --no-walk 1af24a6f4cc1814c82bc38288bd5421000374608 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-15T08:42:56.180Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-15T08:42:56.266Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-15T08:42:56.289Z] ========================================================= [2024-07-15T08:42:56.289Z] EdgeX Global Pipelines Version Info [2024-07-15T08:42:56.289Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-15T08:42:57.043Z] ------------------- [2024-07-15T08:42:57.043Z] stable info: [2024-07-15T08:42:57.043Z] ------------------- [2024-07-15T08:42:57.043Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-15T08:42:57.043Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-15T08:42:57.043Z] Message: update stable to v1.0.260 [2024-07-15T08:42:57.613Z] ------------------- [2024-07-15T08:42:57.613Z] experimental info: [2024-07-15T08:42:57.613Z] ------------------- [2024-07-15T08:42:57.613Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-15T08:42:57.613Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-15T08:42:57.613Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-15T08:42:57.690Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-07-15T08:42:57.708Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-07-15T08:42:57.732Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-15T08:42:57.754Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-15T08:42:57.775Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-15T08:42:57.796Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-15T08:42:57.822Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-15T08:42:57.841Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-07-15T08:42:57.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-15T08:42:57.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-15T08:42:57.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-15T08:42:57.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-07-15T08:42:57.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-15T08:42:57.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-15T08:42:57.986Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-15T08:42:58.008Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-07-15T08:42:58.029Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-15T08:42:58.051Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-15T08:42:58.075Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-15T08:42:58.101Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-15T08:42:58.126Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-07-15T08:42:58.150Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-07-15T08:42:58.175Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-15T08:42:58.200Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-15T08:42:58.226Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-15T08:42:58.250Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-15T08:42:58.273Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-15T08:42:58.296Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1597 [Pipeline] echo [2024-07-15T08:42:58.318Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1597 [Pipeline] echo [2024-07-15T08:42:58.343Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1597 [Pipeline] echo [2024-07-15T08:42:58.366Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a1441aee9b855ff821669546a869293969d7956c [Pipeline] echo [2024-07-15T08:42:58.385Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a1441ae [Pipeline] echo [2024-07-15T08:42:58.410Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-15T08:42:58.475Z] provisioning config files... [2024-07-15T08:42:58.486Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1597@tmp/config13960324604853147304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-15T08:42:58.812Z] ---> ****-login.sh [2024-07-15T08:42:58.812Z] nexus3.edgexfoundry.org:10001 [2024-07-15T08:42:59.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T08:42:59.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T08:42:59.071Z] Configure a credential helper to remove this warning. See [2024-07-15T08:42:59.071Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T08:42:59.071Z] [2024-07-15T08:42:59.071Z] Login Succeeded [2024-07-15T08:42:59.071Z] nexus3.edgexfoundry.org:10002 [2024-07-15T08:42:59.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T08:42:59.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T08:42:59.072Z] Configure a credential helper to remove this warning. See [2024-07-15T08:42:59.072Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T08:42:59.072Z] [2024-07-15T08:42:59.072Z] Login Succeeded [2024-07-15T08:42:59.072Z] nexus3.edgexfoundry.org:10003 [2024-07-15T08:42:59.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T08:42:59.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T08:42:59.332Z] Configure a credential helper to remove this warning. See [2024-07-15T08:42:59.332Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T08:42:59.332Z] [2024-07-15T08:42:59.332Z] Login Succeeded [2024-07-15T08:42:59.332Z] nexus3.edgexfoundry.org:10004 [2024-07-15T08:42:59.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T08:42:59.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T08:42:59.332Z] Configure a credential helper to remove this warning. See [2024-07-15T08:42:59.332Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T08:42:59.332Z] [2024-07-15T08:42:59.332Z] Login Succeeded [2024-07-15T08:42:59.332Z] ****.io [2024-07-15T08:42:59.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T08:42:59.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T08:42:59.592Z] Configure a credential helper to remove this warning. See [2024-07-15T08:42:59.592Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T08:42:59.592Z] [2024-07-15T08:42:59.593Z] Login Succeeded [2024-07-15T08:42:59.593Z] ---> ****-login.sh ends [Pipeline] } [2024-07-15T08:42:59.599Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-15T08:43:00.006Z] + git rev-list -1 --merges a1441aee9b855ff821669546a869293969d7956c~1..a1441aee9b855ff821669546a869293969d7956c [Pipeline] echo [2024-07-15T08:43:00.029Z] -----------> git rev-list -1 --merges a1441aee9b855ff821669546a869293969d7956c~1..a1441aee9b855ff821669546a869293969d7956c a1441aee9b855ff821669546a869293969d7956c [false] [Pipeline] sh [2024-07-15T08:43:00.330Z] + git log --format=format:%s -1 a1441aee9b855ff821669546a869293969d7956c [Pipeline] echo [2024-07-15T08:43:00.347Z] ========================================================= [2024-07-15T08:43:00.347Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-15T08:43:00.347Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-15T08:43:00.703Z] + git log --format=format:%s -1 a1441aee9b855ff821669546a869293969d7956c [Pipeline] echo [2024-07-15T08:43:00.716Z] [semverPrep] GIT_COMMIT: a1441aee9b855ff821669546a869293969d7956c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2024-07-15T08:43:00.730Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-15T08:43:01.080Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-15T08:43:01.080Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-15T08:43:01.080Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-15T08:43:01.080Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-15T08:43:01.080Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-15T08:43:01.080Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-15T08:43:01.080Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T08:43:01.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-15T08:43:01.420Z] [2024-07-15T08:43:01.420Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T08:43:01.726Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-15T08:43:01.726Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-15T08:43:01.726Z] b85a868b505f: Pulling fs layer [2024-07-15T08:43:01.726Z] e2be974225ed: Pulling fs layer [2024-07-15T08:43:01.726Z] 339a4e72a1f5: Pulling fs layer [2024-07-15T08:43:01.726Z] 988bab9f4d93: Pulling fs layer [2024-07-15T08:43:01.726Z] 1469e6f7b9e6: Pulling fs layer [2024-07-15T08:43:01.726Z] eaf3925da568: Pulling fs layer [2024-07-15T08:43:01.726Z] bab4dde63d76: Pulling fs layer [2024-07-15T08:43:01.726Z] bde34c3a00c8: Pulling fs layer [2024-07-15T08:43:01.726Z] b352a97aabf1: Pulling fs layer [2024-07-15T08:43:01.726Z] 4872d77fe225: Pulling fs layer [2024-07-15T08:43:01.726Z] 5851b861e8e6: Pulling fs layer [2024-07-15T08:43:01.726Z] 1469e6f7b9e6: Waiting [2024-07-15T08:43:01.726Z] eaf3925da568: Waiting [2024-07-15T08:43:01.726Z] bab4dde63d76: Waiting [2024-07-15T08:43:01.726Z] bde34c3a00c8: Waiting [2024-07-15T08:43:01.726Z] b352a97aabf1: Waiting [2024-07-15T08:43:01.726Z] 4872d77fe225: Waiting [2024-07-15T08:43:01.726Z] 5851b861e8e6: Waiting [2024-07-15T08:43:01.726Z] 988bab9f4d93: Waiting [2024-07-15T08:43:01.726Z] e2be974225ed: Verifying Checksum [2024-07-15T08:43:01.726Z] e2be974225ed: Download complete [2024-07-15T08:43:01.726Z] 988bab9f4d93: Verifying Checksum [2024-07-15T08:43:01.726Z] 988bab9f4d93: Download complete [2024-07-15T08:43:01.726Z] 1469e6f7b9e6: Verifying Checksum [2024-07-15T08:43:01.726Z] 1469e6f7b9e6: Download complete [2024-07-15T08:43:01.726Z] eaf3925da568: Verifying Checksum [2024-07-15T08:43:01.726Z] eaf3925da568: Download complete [2024-07-15T08:43:01.987Z] 339a4e72a1f5: Verifying Checksum [2024-07-15T08:43:01.987Z] 339a4e72a1f5: Download complete [2024-07-15T08:43:01.987Z] bde34c3a00c8: Download complete [2024-07-15T08:43:01.987Z] b352a97aabf1: Download complete [2024-07-15T08:43:01.987Z] 4872d77fe225: Download complete [2024-07-15T08:43:01.987Z] 5851b861e8e6: Verifying Checksum [2024-07-15T08:43:01.987Z] 5851b861e8e6: Download complete [2024-07-15T08:43:01.987Z] b85a868b505f: Verifying Checksum [2024-07-15T08:43:01.987Z] b85a868b505f: Download complete [2024-07-15T08:43:02.248Z] bab4dde63d76: Verifying Checksum [2024-07-15T08:43:02.248Z] bab4dde63d76: Download complete [2024-07-15T08:43:03.190Z] b85a868b505f: Pull complete [2024-07-15T08:43:03.449Z] e2be974225ed: Pull complete [2024-07-15T08:43:04.017Z] 339a4e72a1f5: Pull complete [2024-07-15T08:43:04.017Z] 988bab9f4d93: Pull complete [2024-07-15T08:43:04.279Z] 1469e6f7b9e6: Pull complete [2024-07-15T08:43:04.279Z] eaf3925da568: Pull complete [2024-07-15T08:43:08.533Z] bab4dde63d76: Pull complete [2024-07-15T08:43:08.533Z] bde34c3a00c8: Pull complete [2024-07-15T08:43:08.533Z] b352a97aabf1: Pull complete [2024-07-15T08:43:08.533Z] 4872d77fe225: Pull complete [2024-07-15T08:43:08.797Z] 5851b861e8e6: Pull complete [2024-07-15T08:43:08.797Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-15T08:43:08.797Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-15T08:43:08.797Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T08:43:08.950Z] prd-ubuntu20.04-docker-8c-8g-5620 does not seem to be running inside a container [2024-07-15T08:43:08.985Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1597 -v /w/workspace/gexfoundry_device-sdk-go_PR-1597:/w/workspace/gexfoundry_device-sdk-go_PR-1597:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1597@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1597@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-15T08:43:12.537Z] $ docker top a095f4b68268677ab5636442c1fb3f8b0107c54c22246d14197ade9e1714c7f6 -eo pid,comm [2024-07-15T08:43:12.595Z] 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). [2024-07-15T08:43:12.595Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-15T08:43:12.654Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-15T08:43:12.654Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-15T08:43:12.772Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-15T08:43:12.775Z] $ docker exec a095f4b68268677ab5636442c1fb3f8b0107c54c22246d14197ade9e1714c7f6 ssh-agent [2024-07-15T08:43:12.877Z] SSH_AUTH_SOCK=/tmp/ssh-kW27BE7vQCvT/agent.31 [2024-07-15T08:43:12.877Z] SSH_AGENT_PID=37 [2024-07-15T08:43:12.883Z] Running ssh-add (command line suppressed) [2024-07-15T08:43:13.003Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1597@tmp/private_key_5160018924145957612.key (/w/workspace/gexfoundry_device-sdk-go_PR-1597@tmp/private_key_5160018924145957612.key) [2024-07-15T08:43:13.022Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-15T08:43:13.315Z] + git tag --points-at HEAD [Pipeline] } [2024-07-15T08:43:13.328Z] $ docker exec --env ******** --env ******** a095f4b68268677ab5636442c1fb3f8b0107c54c22246d14197ade9e1714c7f6 ssh-agent -k [2024-07-15T08:43:13.430Z] unset SSH_AUTH_SOCK; [2024-07-15T08:43:13.431Z] unset SSH_AGENT_PID; [2024-07-15T08:43:13.431Z] echo Agent pid 37 killed; [2024-07-15T08:43:13.439Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-15T08:43:13.478Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-15T08:43:13.478Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-15T08:43:13.593Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-15T08:43:13.597Z] $ docker exec a095f4b68268677ab5636442c1fb3f8b0107c54c22246d14197ade9e1714c7f6 ssh-agent [2024-07-15T08:43:13.705Z] SSH_AUTH_SOCK=/tmp/ssh-6Q9dlcXQXJ2I/agent.70 [2024-07-15T08:43:13.705Z] SSH_AGENT_PID=76 [2024-07-15T08:43:13.709Z] Running ssh-add (command line suppressed) [2024-07-15T08:43:13.802Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1597@tmp/private_key_16477647307034616732.key (/w/workspace/gexfoundry_device-sdk-go_PR-1597@tmp/private_key_16477647307034616732.key) [2024-07-15T08:43:13.816Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-15T08:43:14.113Z] + git semver init [2024-07-15T08:43:14.371Z] 2024-07-15 08:43:14,306 [run_init] DEBUG init version:0.0.0 force:False [2024-07-15T08:43:14.371Z] 2024-07-15 08:43:14,306 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1597/.semver [2024-07-15T08:43:14.371Z] 2024-07-15 08:43:14,307 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1597/.semver [2024-07-15T08:43:14.371Z] 2024-07-15 08:43:14,307 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1597/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1597, universal_newlines=False, shell=None, istream=None) [2024-07-15T08:43:16.283Z] 2024-07-15 08:43:16,258 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1597/.git/info/exclude [2024-07-15T08:43:16.283Z] 2024-07-15 08:43:16,259 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1597/.semver/PR-1597 with force:False [2024-07-15T08:43:16.283Z] 2024-07-15 08:43:16,259 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1597/.semver/PR-1597 [2024-07-15T08:43:16.283Z] 2024-07-15 08:43:16,264 [execute] INFO git cat-file --batch-check [2024-07-15T08:43:16.283Z] 2024-07-15 08:43:16,264 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1597/.semver, universal_newlines=False, shell=None, istream=) [2024-07-15T08:43:16.283Z] 2024-07-15 08:43:16,270 [execute] INFO git cat-file --batch [2024-07-15T08:43:16.283Z] 2024-07-15 08:43:16,270 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1597/.semver, universal_newlines=False, shell=None, istream=) [2024-07-15T08:43:16.283Z] 2024-07-15 08:43:16,274 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1597/.semver/PR-1597 [2024-07-15T08:43:16.283Z] 0.0.0 [Pipeline] } [2024-07-15T08:43:16.555Z] $ docker exec --env ******** --env ******** a095f4b68268677ab5636442c1fb3f8b0107c54c22246d14197ade9e1714c7f6 ssh-agent -k [2024-07-15T08:43:16.660Z] unset SSH_AUTH_SOCK; [2024-07-15T08:43:16.660Z] unset SSH_AGENT_PID; [2024-07-15T08:43:16.661Z] echo Agent pid 76 killed; [2024-07-15T08:43:16.669Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-15T08:43:16.991Z] + git semver [Pipeline] } [2024-07-15T08:43:17.264Z] $ docker stop --time=1 a095f4b68268677ab5636442c1fb3f8b0107c54c22246d14197ade9e1714c7f6 [2024-07-15T08:43:18.568Z] $ docker rm -f --volumes a095f4b68268677ab5636442c1fb3f8b0107c54c22246d14197ade9e1714c7f6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-15T08:43:18.911Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-15T08:43:19.149Z] Stashed 1 file(s) [Pipeline] echo [2024-07-15T08:43:19.153Z] [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 [2024-07-15T08:43:19.335Z] provisioning config files... [2024-07-15T08:43:19.345Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1597@tmp/config11520201207699642043tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-15T08:43:19.643Z] ---> ****-login.sh [2024-07-15T08:43:19.643Z] nexus3.edgexfoundry.org:10001 [2024-07-15T08:43:19.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T08:43:19.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T08:43:19.643Z] Configure a credential helper to remove this warning. See [2024-07-15T08:43:19.643Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T08:43:19.643Z] [2024-07-15T08:43:19.643Z] Login Succeeded [2024-07-15T08:43:19.643Z] nexus3.edgexfoundry.org:10002 [2024-07-15T08:43:19.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T08:43:19.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T08:43:19.643Z] Configure a credential helper to remove this warning. See [2024-07-15T08:43:19.643Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T08:43:19.643Z] [2024-07-15T08:43:19.643Z] Login Succeeded [2024-07-15T08:43:19.643Z] nexus3.edgexfoundry.org:10003 [2024-07-15T08:43:19.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T08:43:19.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T08:43:19.902Z] Configure a credential helper to remove this warning. See [2024-07-15T08:43:19.902Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T08:43:19.902Z] [2024-07-15T08:43:19.902Z] Login Succeeded [2024-07-15T08:43:19.902Z] nexus3.edgexfoundry.org:10004 [2024-07-15T08:43:19.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T08:43:19.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T08:43:19.902Z] Configure a credential helper to remove this warning. See [2024-07-15T08:43:19.902Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T08:43:19.902Z] [2024-07-15T08:43:19.902Z] Login Succeeded [2024-07-15T08:43:19.902Z] ****.io [2024-07-15T08:43:20.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T08:43:20.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T08:43:20.163Z] Configure a credential helper to remove this warning. See [2024-07-15T08:43:20.163Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T08:43:20.163Z] [2024-07-15T08:43:20.163Z] Login Succeeded [2024-07-15T08:43:20.163Z] ---> ****-login.sh ends [Pipeline] } [2024-07-15T08:43:20.171Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-15T08:43:20.272Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-15T08:43:20.290Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-15T08:43:20.307Z] ========================================================= [2024-07-15T08:43:20.307Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-15T08:43:20.307Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T08:43:20.680Z] + 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 . [2024-07-15T08:43:20.680Z] Sending build context to Docker daemon 25.06MB [2024-07-15T08:43:20.680Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-15T08:43:20.680Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-15T08:43:20.962Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-15T08:43:20.962Z] 619be1103602: Pulling fs layer [2024-07-15T08:43:20.962Z] 7862e08f4a3e: Pulling fs layer [2024-07-15T08:43:20.962Z] 5df492c9dc93: Pulling fs layer [2024-07-15T08:43:20.962Z] 7629e6793208: Pulling fs layer [2024-07-15T08:43:20.962Z] 4f4fb700ef54: Pulling fs layer [2024-07-15T08:43:20.962Z] fb5054dd5b73: Pulling fs layer [2024-07-15T08:43:20.962Z] eeca6798cff9: Pulling fs layer [2024-07-15T08:43:20.962Z] aa269ceb94a6: Pulling fs layer [2024-07-15T08:43:20.962Z] ada007ff1a6a: Pulling fs layer [2024-07-15T08:43:20.962Z] fb5054dd5b73: Waiting [2024-07-15T08:43:20.962Z] eeca6798cff9: Waiting [2024-07-15T08:43:20.962Z] ada007ff1a6a: Waiting [2024-07-15T08:43:20.962Z] aa269ceb94a6: Waiting [2024-07-15T08:43:20.962Z] 7629e6793208: Waiting [2024-07-15T08:43:20.962Z] 4f4fb700ef54: Waiting [2024-07-15T08:43:20.962Z] 7862e08f4a3e: Verifying Checksum [2024-07-15T08:43:20.962Z] 7862e08f4a3e: Download complete [2024-07-15T08:43:20.962Z] 7629e6793208: Verifying Checksum [2024-07-15T08:43:20.962Z] 7629e6793208: Download complete [2024-07-15T08:43:20.962Z] 4f4fb700ef54: Verifying Checksum [2024-07-15T08:43:20.962Z] 4f4fb700ef54: Download complete [2024-07-15T08:43:20.962Z] 619be1103602: Verifying Checksum [2024-07-15T08:43:20.962Z] 619be1103602: Download complete [2024-07-15T08:43:20.962Z] fb5054dd5b73: Verifying Checksum [2024-07-15T08:43:20.962Z] fb5054dd5b73: Download complete [2024-07-15T08:43:20.962Z] eeca6798cff9: Verifying Checksum [2024-07-15T08:43:20.962Z] eeca6798cff9: Download complete [2024-07-15T08:43:21.221Z] 619be1103602: Pull complete [2024-07-15T08:43:21.221Z] ada007ff1a6a: Verifying Checksum [2024-07-15T08:43:21.221Z] ada007ff1a6a: Download complete [2024-07-15T08:43:21.221Z] 7862e08f4a3e: Pull complete [2024-07-15T08:43:21.479Z] 5df492c9dc93: Verifying Checksum [2024-07-15T08:43:21.479Z] 5df492c9dc93: Download complete [2024-07-15T08:43:21.737Z] aa269ceb94a6: Verifying Checksum [2024-07-15T08:43:21.737Z] aa269ceb94a6: Download complete [2024-07-15T08:43:25.025Z] 5df492c9dc93: Pull complete [2024-07-15T08:43:25.025Z] 7629e6793208: Pull complete [2024-07-15T08:43:25.025Z] 4f4fb700ef54: Pull complete [2024-07-15T08:43:25.025Z] fb5054dd5b73: Pull complete [2024-07-15T08:43:25.025Z] eeca6798cff9: Pull complete [2024-07-15T08:43:27.556Z] aa269ceb94a6: Pull complete [2024-07-15T08:43:27.556Z] ada007ff1a6a: Pull complete [2024-07-15T08:43:27.815Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-15T08:43:27.815Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-15T08:43:27.815Z] ---> f489d0715acc [2024-07-15T08:43:27.815Z] Step 3/10 : ARG MAKE=make build [2024-07-15T08:43:32.093Z] ---> Running in 572206b56f16 [2024-07-15T08:43:32.093Z] Removing intermediate container 572206b56f16 [2024-07-15T08:43:32.093Z] ---> 6a6035c1e00a [2024-07-15T08:43:32.093Z] Step 4/10 : WORKDIR /device-sdk-go [2024-07-15T08:43:32.093Z] ---> Running in e8fa5d1891b1 [2024-07-15T08:43:32.351Z] Removing intermediate container e8fa5d1891b1 [2024-07-15T08:43:32.351Z] ---> d458c85cc91c [2024-07-15T08:43:32.351Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-15T08:43:32.351Z] ---> Running in 05b00367c8e9 [2024-07-15T08:43:32.351Z] Removing intermediate container 05b00367c8e9 [2024-07-15T08:43:32.351Z] ---> 2ab82cf5bd7c [2024-07-15T08:43:32.351Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-07-15T08:43:32.351Z] ---> Running in 9d100c3c2940 [2024-07-15T08:43:32.610Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-15T08:43:32.868Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-15T08:43:33.126Z] OK: 264 MiB in 52 packages [2024-07-15T08:43:33.384Z] Removing intermediate container 9d100c3c2940 [2024-07-15T08:43:33.384Z] ---> e2192ae680be [2024-07-15T08:43:33.384Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-15T08:43:33.642Z] ---> 664e7e26c50f [2024-07-15T08:43:33.643Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-15T08:43:33.643Z] ---> Running in 20da7a78c4dd [2024-07-15T08:43:34.279Z] Still waiting to schedule task [2024-07-15T08:43:34.279Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5619’ [2024-07-15T08:44:36.693Z] Removing intermediate container 20da7a78c4dd [2024-07-15T08:44:36.693Z] ---> fa803c880908 [2024-07-15T08:44:36.693Z] Step 9/10 : COPY . . [2024-07-15T08:44:36.693Z] ---> 50efc05c88cb [2024-07-15T08:44:36.693Z] Step 10/10 : RUN ${MAKE} [2024-07-15T08:44:36.693Z] ---> Running in 992f68294fdc [2024-07-15T08:44:36.693Z] noop [2024-07-15T08:44:36.693Z] Removing intermediate container 992f68294fdc [2024-07-15T08:44:36.693Z] ---> 13b2549e8425 [2024-07-15T08:44:36.693Z] Successfully built 13b2549e8425 [2024-07-15T08:44:36.693Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T08:44:37.027Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-15T08:44:37.027Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T08:44:37.109Z] prd-ubuntu20.04-docker-8c-8g-5620 does not seem to be running inside a container [2024-07-15T08:44:37.150Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1597 -v /w/workspace/gexfoundry_device-sdk-go_PR-1597:/w/workspace/gexfoundry_device-sdk-go_PR-1597:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1597@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1597@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 ******** ci-base-image-x86_64 cat [2024-07-15T08:44:37.516Z] $ docker top 3ab207b3ae74a33af0c7798e7c50350a690561a7f6f6315561c8fd05f1ff58bf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-15T08:44:37.862Z] + go version [2024-07-15T08:44:37.862Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-15T08:44:37.878Z] $ docker stop --time=1 3ab207b3ae74a33af0c7798e7c50350a690561a7f6f6315561c8fd05f1ff58bf [2024-07-15T08:44:39.172Z] $ docker rm -f --volumes 3ab207b3ae74a33af0c7798e7c50350a690561a7f6f6315561c8fd05f1ff58bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T08:44:39.595Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-15T08:44:39.595Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T08:44:39.682Z] prd-ubuntu20.04-docker-8c-8g-5620 does not seem to be running inside a container [2024-07-15T08:44:39.719Z] $ 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-1597 -v /w/workspace/gexfoundry_device-sdk-go_PR-1597:/w/workspace/gexfoundry_device-sdk-go_PR-1597:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1597@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1597@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 ******** ci-base-image-x86_64 cat [2024-07-15T08:44:40.043Z] $ docker top 913ce53017ee6cc6fa2e448dcf23f7e051a5ba2aada0a34f2bc6d3b610aabc42 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-15T08:44:40.391Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1597 [Pipeline] fileExists [Pipeline] sh [2024-07-15T08:44:40.693Z] + make test [2024-07-15T08:44:40.693Z] go test -race -coverprofile=coverage.out ./... [2024-07-15T08:44:47.254Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-07-15T08:45:26.111Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-07-15T08:45:26.111Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-07-15T08:45:26.111Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-07-15T08:45:26.111Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-07-15T08:45:26.111Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-07-15T08:45:26.111Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-07-15T08:45:26.111Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-07-15T08:45:26.111Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.026s coverage: 27.0% of statements [2024-07-15T08:45:26.111Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.042s coverage: 80.0% of statements [2024-07-15T08:45:26.111Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.042s coverage: 86.0% of statements [2024-07-15T08:45:26.111Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-07-15T08:45:26.111Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-07-15T08:45:26.111Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-07-15T08:45:26.111Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.075s coverage: 55.2% of statements [2024-07-15T08:45:26.111Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-07-15T08:45:28.650Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.032s coverage: 14.4% of statements [2024-07-15T08:45:28.650Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.951s coverage: 44.6% of statements [2024-07-15T08:45:28.650Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.048s coverage: 68.5% of statements [2024-07-15T08:45:28.650Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.086s coverage: 89.2% of statements [2024-07-15T08:45:28.650Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.047s coverage: 5.4% of statements [2024-07-15T08:46:36.406Z] GO111MODULE=on go vet ./... [2024-07-15T08:46:36.406Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-15T08:46:36.406Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-15T08:46:36.406Z] ./bin/test-attribution-txt.sh [2024-07-15T08:46:36.406Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-15T08:46:36.406Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-15T08:46:36.406Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-15T08:46:36.406Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-15T08:46:36.406Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-15T08:46:36.406Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-15T08:46:36.406Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-15T08:46:36.406Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-15T08:46:36.406Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-15T08:46:36.406Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-15T08:46:36.406Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-15T08:46:36.406Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-15T08:46:36.406Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-15T08:46:36.406Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-15T08:46:36.407Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-15T08:46:36.420Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-15T08:46:36.439Z] $ docker stop --time=1 913ce53017ee6cc6fa2e448dcf23f7e051a5ba2aada0a34f2bc6d3b610aabc42 [2024-07-15T08:46:43.157Z] $ docker rm -f --volumes 913ce53017ee6cc6fa2e448dcf23f7e051a5ba2aada0a34f2bc6d3b610aabc42 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-15T08:46:43.972Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-15T08:46:44.070Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-15T08:46:44.525Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-15T08:46:44.813Z] + ls -al . [2024-07-15T08:46:44.813Z] total 380 [2024-07-15T08:46:44.813Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 15 08:44 . [2024-07-15T08:46:44.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 08:42 .. [2024-07-15T08:46:44.813Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 15 08:42 .dockerignore [2024-07-15T08:46:44.813Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 08:45 .git [2024-07-15T08:46:44.813Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 08:42 .github [2024-07-15T08:46:44.813Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 15 08:42 .gitignore [2024-07-15T08:46:44.813Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 08:42 .golangci.yml [2024-07-15T08:46:44.813Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 08:43 .semver [2024-07-15T08:46:44.813Z] -rw-rw-r-- 1 jenkins jenkins 48109 Jul 15 08:42 CHANGELOG.md [2024-07-15T08:46:44.813Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 08:42 GOVERNANCE.md [2024-07-15T08:46:44.813Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 15 08:42 Jenkinsfile [2024-07-15T08:46:44.813Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 15 08:42 LICENSE [2024-07-15T08:46:44.813Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 15 08:42 Makefile [2024-07-15T08:46:44.813Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 15 08:42 OWNERS.md [2024-07-15T08:46:44.813Z] -rw-rw-r-- 1 jenkins jenkins 4937 Jul 15 08:42 README.md [2024-07-15T08:46:44.813Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 08:43 VERSION [2024-07-15T08:46:44.813Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 08:42 bin [2024-07-15T08:46:44.813Z] -rw-r--r-- 1 jenkins jenkins 125161 Jul 15 08:45 coverage.out [2024-07-15T08:46:44.813Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 15 08:42 example [2024-07-15T08:46:44.813Z] -rw-rw-r-- 1 jenkins jenkins 6995 Jul 15 08:42 go.mod [2024-07-15T08:46:44.813Z] -rw-rw-r-- 1 jenkins jenkins 101715 Jul 15 08:42 go.sum [2024-07-15T08:46:44.813Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 08:42 internal [2024-07-15T08:46:44.813Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 08:42 openapi [2024-07-15T08:46:44.813Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 15 08:42 pkg [2024-07-15T08:46:44.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 08:42 snap [2024-07-15T08:46:44.813Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 15 08:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T08:46:45.150Z] + 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=a1441aee9b855ff821669546a869293969d7956c --label arch=amd64 --label version=0.0.0 . [2024-07-15T08:46:45.150Z] Sending build context to Docker daemon 25.19MB [2024-07-15T08:46:45.150Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-07-15T08:46:45.150Z] Step 2/24 : FROM ${BASE} AS builder [2024-07-15T08:46:45.150Z] ---> 13b2549e8425 [2024-07-15T08:46:45.150Z] Step 3/24 : ARG MAKE=make build [2024-07-15T08:46:47.053Z] ---> Running in fa47311695e7 [2024-07-15T08:46:47.053Z] Removing intermediate container fa47311695e7 [2024-07-15T08:46:47.053Z] ---> 1dfcb8192a46 [2024-07-15T08:46:47.053Z] Step 4/24 : WORKDIR /device-sdk-go [2024-07-15T08:46:47.618Z] ---> Running in 0768214228ca [2024-07-15T08:46:47.882Z] Removing intermediate container 0768214228ca [2024-07-15T08:46:47.882Z] ---> c28e7f746234 [2024-07-15T08:46:47.882Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-15T08:46:48.141Z] ---> Running in 807ba836403e [2024-07-15T08:46:48.705Z] Removing intermediate container 807ba836403e [2024-07-15T08:46:48.705Z] ---> 3038e414156e [2024-07-15T08:46:48.705Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-07-15T08:46:48.705Z] ---> Running in 42c55eae2c5f [2024-07-15T08:46:49.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-15T08:46:49.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-15T08:46:49.789Z] OK: 264 MiB in 52 packages [2024-07-15T08:46:50.363Z] Removing intermediate container 42c55eae2c5f [2024-07-15T08:46:50.363Z] ---> 29e07154914e [2024-07-15T08:46:50.363Z] Step 7/24 : COPY go.mod vendor* ./ [2024-07-15T08:46:50.621Z] ---> 93b82d593a66 [2024-07-15T08:46:50.621Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-15T08:46:50.621Z] ---> Running in 7aade2c378ef [2024-07-15T08:46:51.998Z] Removing intermediate container 7aade2c378ef [2024-07-15T08:46:51.998Z] ---> ad26a0ff5efc [2024-07-15T08:46:51.998Z] Step 9/24 : COPY . . [2024-07-15T08:46:53.371Z] ---> 77c8719f640c [2024-07-15T08:46:53.371Z] Step 10/24 : RUN ${MAKE} [2024-07-15T08:46:53.371Z] ---> Running in b1be69b86f2f [2024-07-15T08:46:53.629Z] 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 [2024-07-15T08:46:59.579Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5621 in /w/workspace/gexfoundry_device-sdk-go_PR-1597 [Pipeline] { [Pipeline] ws [2024-07-15T08:46:59.597Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2024-07-15T08:46:59.637Z] The recommended git tool is: git [2024-07-15T08:47:08.411Z] using credential edgex-jenkins-ssh [2024-07-15T08:47:08.441Z] Cloning the remote Git repository [2024-07-15T08:47:08.532Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-07-15T08:47:08.643Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2024-07-15T08:47:08.822Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-07-15T08:47:08.823Z] > git --version # timeout=10 [2024-07-15T08:47:08.864Z] > git --version # 'git version 2.25.1' [2024-07-15T08:47:08.867Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-15T08:47:09.083Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-15T08:47:12.832Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-07-15T08:47:12.856Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-15T08:47:14.325Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-07-15T08:47:14.402Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-07-15T08:47:14.403Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-15T08:47:14.434Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1597/head:refs/remotes/origin/PR-1597 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-15T08:47:14.982Z] Merging remotes/origin/main commit f8542394c296a874d7c1548ccc4fc92a877959fa into PR head commit a1441aee9b855ff821669546a869293969d7956c [2024-07-15T08:47:15.342Z] Merge succeeded, producing a1441aee9b855ff821669546a869293969d7956c [2024-07-15T08:47:15.344Z] Checking out Revision a1441aee9b855ff821669546a869293969d7956c (PR-1597) [2024-07-15T08:47:15.980Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2024-07-15T08:47:15.002Z] > git config core.sparsecheckout # timeout=10 [2024-07-15T08:47:15.090Z] > git checkout -f a1441aee9b855ff821669546a869293969d7956c # timeout=10 [2024-07-15T08:47:15.204Z] > git remote # timeout=10 [2024-07-15T08:47:15.230Z] > git config --get remote.origin.url # timeout=10 [2024-07-15T08:47:15.254Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-15T08:47:15.281Z] > git merge f8542394c296a874d7c1548ccc4fc92a877959fa # timeout=10 [2024-07-15T08:47:15.322Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-15T08:47:15.354Z] > git config core.sparsecheckout # timeout=10 [2024-07-15T08:47:15.370Z] > git checkout -f a1441aee9b855ff821669546a869293969d7956c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-15T08:47:20.968Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-15T08:47:20.968Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-15T08:47:20.968Z] Dload Upload Total Spent Left Speed [2024-07-15T08:47:20.968Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 227k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh [2024-07-15T08:47:21.310Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-15T08:47:21.641Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-15T08:47:21.641Z] + sudo tee /etc/docker/daemon.new [2024-07-15T08:47:21.641Z] { [2024-07-15T08:47:21.641Z] "registry-mirrors": [ [2024-07-15T08:47:21.641Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-15T08:47:21.641Z] ], [2024-07-15T08:47:21.641Z] "bip": "10.250.0.254/24", [2024-07-15T08:47:21.641Z] "hosts": [ [2024-07-15T08:47:21.641Z] "tcp://0.0.0.0:5555", [2024-07-15T08:47:21.641Z] "unix:///var/run/docker.sock" [2024-07-15T08:47:21.641Z] ], [2024-07-15T08:47:21.641Z] "mtu": 1458, [2024-07-15T08:47:21.641Z] "selinux-enabled": true, [2024-07-15T08:47:21.641Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-15T08:47:21.641Z] } [Pipeline] sh [2024-07-15T08:47:21.972Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-15T08:47:22.301Z] + sudo service docker restart [2024-07-15T08:47:32.754Z] Removing intermediate container b1be69b86f2f [2024-07-15T08:47:32.755Z] ---> fd3be296efcd [2024-07-15T08:47:32.755Z] Step 11/24 : FROM alpine:3.18 [2024-07-15T08:47:32.755Z] 3.18: Pulling from library/alpine [2024-07-15T08:47:32.755Z] 73baa7ef167e: Pulling fs layer [2024-07-15T08:47:32.755Z] 73baa7ef167e: Verifying Checksum [2024-07-15T08:47:32.755Z] 73baa7ef167e: Download complete [2024-07-15T08:47:32.755Z] 73baa7ef167e: Pull complete [2024-07-15T08:47:32.755Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-15T08:47:32.755Z] Status: Downloaded newer image for alpine:3.18 [2024-07-15T08:47:32.755Z] ---> 8fd7cac70a4a [2024-07-15T08:47:32.755Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-07-15T08:47:32.755Z] ---> Running in a82b4f42723c [2024-07-15T08:47:32.755Z] Removing intermediate container a82b4f42723c [2024-07-15T08:47:32.755Z] ---> c96eba14cd72 [2024-07-15T08:47:32.755Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-07-15T08:47:32.755Z] ---> Running in b9e730ec7f71 [2024-07-15T08:47:32.755Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-15T08:47:32.755Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-15T08:47:32.755Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-15T08:47:32.755Z] Executing busybox-1.36.1-r7.trigger [2024-07-15T08:47:32.755Z] OK: 7 MiB in 16 packages [2024-07-15T08:47:33.334Z] Removing intermediate container b9e730ec7f71 [2024-07-15T08:47:33.334Z] ---> 0d0fb525c452 [2024-07-15T08:47:33.334Z] Step 14/24 : RUN apk --no-cache upgrade [2024-07-15T08:47:33.334Z] ---> Running in 5ce5d04ed69a [2024-07-15T08:47:33.595Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-15T08:47:33.595Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-15T08:47:33.855Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-15T08:47:34.113Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-15T08:47:34.113Z] OK: 7 MiB in 16 packages [2024-07-15T08:47:34.680Z] Removing intermediate container 5ce5d04ed69a [2024-07-15T08:47:34.680Z] ---> 2257adbfbc6b [2024-07-15T08:47:34.680Z] Step 15/24 : WORKDIR / [2024-07-15T08:47:34.938Z] ---> Running in 5380ed2325ca [2024-07-15T08:47:34.938Z] Removing intermediate container 5380ed2325ca [2024-07-15T08:47:34.938Z] ---> 187d3e6ddd66 [2024-07-15T08:47:34.938Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-07-15T08:47:35.195Z] ---> 499b4b4bd2f1 [2024-07-15T08:47:35.195Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-07-15T08:47:37.726Z] ---> 70828b37dd73 [2024-07-15T08:47:37.726Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-07-15T08:47:37.726Z] ---> 7178fbc75bf1 [2024-07-15T08:47:37.726Z] Step 19/24 : EXPOSE 59999 [2024-07-15T08:47:37.726Z] ---> Running in 54969cf3752b [2024-07-15T08:47:37.726Z] Removing intermediate container 54969cf3752b [2024-07-15T08:47:37.726Z] ---> 1f3f7681b2be [2024-07-15T08:47:37.726Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-07-15T08:47:37.726Z] ---> Running in eeeed5681663 [2024-07-15T08:47:37.726Z] Removing intermediate container eeeed5681663 [2024-07-15T08:47:37.726Z] ---> 777aed1c40aa [2024-07-15T08:47:37.726Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-15T08:47:37.985Z] ---> Running in db02ea35f035 [2024-07-15T08:47:37.985Z] Removing intermediate container db02ea35f035 [2024-07-15T08:47:37.985Z] ---> bc1777be56a2 [2024-07-15T08:47:37.985Z] Step 22/24 : LABEL arch=amd64 [2024-07-15T08:47:37.985Z] ---> Running in 99dd96ab5f09 [2024-07-15T08:47:37.985Z] Removing intermediate container 99dd96ab5f09 [2024-07-15T08:47:37.985Z] ---> a05aa273cc1e [2024-07-15T08:47:37.985Z] Step 23/24 : LABEL git_sha=a1441aee9b855ff821669546a869293969d7956c [2024-07-15T08:47:37.985Z] ---> Running in 5ac73e3e6b2b [2024-07-15T08:47:38.243Z] Removing intermediate container 5ac73e3e6b2b [2024-07-15T08:47:38.243Z] ---> 03b73a0a1ed1 [2024-07-15T08:47:38.243Z] Step 24/24 : LABEL version=0.0.0 [2024-07-15T08:47:38.243Z] ---> Running in cf046b6bd9c1 [2024-07-15T08:47:38.243Z] Removing intermediate container cf046b6bd9c1 [2024-07-15T08:47:38.243Z] ---> 6bf2999317e5 [2024-07-15T08:47:38.243Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-15T08:47:38.243Z] Successfully built 6bf2999317e5 [2024-07-15T08:47:38.243Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T08:47:38.716Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-15T08:47:38.716Z] [2024-07-15T08:47:38.716Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T08:47:39.027Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-15T08:47:39.595Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-15T08:47:39.595Z] 5eb5b503b376: Pulling fs layer [2024-07-15T08:47:39.595Z] 5c69ac0246d0: Pulling fs layer [2024-07-15T08:47:39.595Z] ec43610c2a17: Pulling fs layer [2024-07-15T08:47:39.595Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-15T08:47:39.595Z] 33b1e0a273af: Pulling fs layer [2024-07-15T08:47:39.595Z] 5d3b04190fa2: Pulling fs layer [2024-07-15T08:47:39.595Z] 2f39f015ded8: Pulling fs layer [2024-07-15T08:47:39.595Z] 3a2ae6a8a46f: Waiting [2024-07-15T08:47:39.595Z] 33b1e0a273af: Waiting [2024-07-15T08:47:39.595Z] 5d3b04190fa2: Waiting [2024-07-15T08:47:39.595Z] 2f39f015ded8: Waiting [2024-07-15T08:47:39.855Z] 5c69ac0246d0: Download complete [2024-07-15T08:47:39.855Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-15T08:47:39.855Z] 3a2ae6a8a46f: Download complete [2024-07-15T08:47:39.855Z] 33b1e0a273af: Verifying Checksum [2024-07-15T08:47:39.855Z] 33b1e0a273af: Download complete [2024-07-15T08:47:39.855Z] 5d3b04190fa2: Download complete [2024-07-15T08:47:39.855Z] ec43610c2a17: Verifying Checksum [2024-07-15T08:47:39.855Z] ec43610c2a17: Download complete [2024-07-15T08:47:39.855Z] 5eb5b503b376: Verifying Checksum [2024-07-15T08:47:39.855Z] 5eb5b503b376: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-15T08:47:40.619Z] provisioning config files... [2024-07-15T08:47:40.646Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config15490990936939396181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-15T08:47:40.790Z] 2f39f015ded8: Download complete [2024-07-15T08:47:41.106Z] ---> ****-login.sh [2024-07-15T08:47:41.106Z] nexus3.edgexfoundry.org:10001 [2024-07-15T08:47:41.357Z] 5eb5b503b376: Pull complete [2024-07-15T08:47:41.615Z] 5c69ac0246d0: Pull complete [2024-07-15T08:47:41.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T08:47:41.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T08:47:41.697Z] Configure a credential helper to remove this warning. See [2024-07-15T08:47:41.697Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T08:47:41.697Z] [2024-07-15T08:47:41.697Z] Login Succeeded [2024-07-15T08:47:41.697Z] nexus3.edgexfoundry.org:10002 [2024-07-15T08:47:41.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T08:47:42.183Z] ec43610c2a17: Pull complete [2024-07-15T08:47:42.183Z] 3a2ae6a8a46f: Pull complete [2024-07-15T08:47:42.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T08:47:42.243Z] Configure a credential helper to remove this warning. See [2024-07-15T08:47:42.243Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T08:47:42.243Z] [2024-07-15T08:47:42.243Z] Login Succeeded [2024-07-15T08:47:42.243Z] nexus3.edgexfoundry.org:10003 [2024-07-15T08:47:42.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T08:47:42.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T08:47:42.516Z] Configure a credential helper to remove this warning. See [2024-07-15T08:47:42.516Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T08:47:42.516Z] [2024-07-15T08:47:42.516Z] Login Succeeded [2024-07-15T08:47:42.516Z] nexus3.edgexfoundry.org:10004 [2024-07-15T08:47:42.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T08:47:42.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T08:47:42.790Z] Configure a credential helper to remove this warning. See [2024-07-15T08:47:42.790Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T08:47:42.790Z] [2024-07-15T08:47:42.790Z] Login Succeeded [2024-07-15T08:47:42.790Z] ****.io [2024-07-15T08:47:43.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T08:47:43.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T08:47:43.336Z] Configure a credential helper to remove this warning. See [2024-07-15T08:47:43.336Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T08:47:43.336Z] [2024-07-15T08:47:43.336Z] Login Succeeded [2024-07-15T08:47:43.336Z] ---> ****-login.sh ends [Pipeline] } [2024-07-15T08:47:43.353Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-15T08:47:43.694Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-15T08:47:43.711Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-15T08:47:43.734Z] ========================================================= [2024-07-15T08:47:43.734Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-15T08:47:43.734Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T08:47:44.101Z] + 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 . [2024-07-15T08:47:44.684Z] Sending build context to Docker daemon 12.93MB [2024-07-15T08:47:44.684Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-15T08:47:44.684Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-15T08:47:44.951Z] 33b1e0a273af: Pull complete [2024-07-15T08:47:44.952Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-15T08:47:44.952Z] c6b39de5b339: Pulling fs layer [2024-07-15T08:47:44.952Z] a69c41024577: Pulling fs layer [2024-07-15T08:47:44.952Z] d6de4b400683: Pulling fs layer [2024-07-15T08:47:44.952Z] 35cb2a7552d0: Pulling fs layer [2024-07-15T08:47:44.952Z] 4f4fb700ef54: Pulling fs layer [2024-07-15T08:47:44.952Z] 464afbd9ba4c: Pulling fs layer [2024-07-15T08:47:44.952Z] 00f215d4a9da: Pulling fs layer [2024-07-15T08:47:44.952Z] d496ad576159: Pulling fs layer [2024-07-15T08:47:44.952Z] 35cb2a7552d0: Waiting [2024-07-15T08:47:44.952Z] 4f4fb700ef54: Waiting [2024-07-15T08:47:44.952Z] 464afbd9ba4c: Waiting [2024-07-15T08:47:44.952Z] 00f215d4a9da: Waiting [2024-07-15T08:47:44.952Z] a69c41024577: Verifying Checksum [2024-07-15T08:47:44.952Z] a69c41024577: Download complete [2024-07-15T08:47:44.952Z] 35cb2a7552d0: Verifying Checksum [2024-07-15T08:47:44.952Z] 35cb2a7552d0: Download complete [2024-07-15T08:47:44.952Z] 4f4fb700ef54: Verifying Checksum [2024-07-15T08:47:44.952Z] 4f4fb700ef54: Download complete [2024-07-15T08:47:44.952Z] 464afbd9ba4c: Verifying Checksum [2024-07-15T08:47:44.952Z] 464afbd9ba4c: Download complete [2024-07-15T08:47:44.952Z] c6b39de5b339: Verifying Checksum [2024-07-15T08:47:44.952Z] c6b39de5b339: Download complete [2024-07-15T08:47:45.210Z] 5d3b04190fa2: Pull complete [2024-07-15T08:47:45.537Z] d496ad576159: Verifying Checksum [2024-07-15T08:47:45.537Z] d496ad576159: Download complete [2024-07-15T08:47:45.805Z] c6b39de5b339: Pull complete [2024-07-15T08:47:46.399Z] a69c41024577: Pull complete [2024-07-15T08:47:46.999Z] d6de4b400683: Verifying Checksum [2024-07-15T08:47:46.999Z] d6de4b400683: Download complete [2024-07-15T08:47:47.959Z] 00f215d4a9da: Verifying Checksum [2024-07-15T08:47:47.959Z] 00f215d4a9da: Download complete [2024-07-15T08:47:50.469Z] 2f39f015ded8: Pull complete [2024-07-15T08:47:50.470Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-15T08:47:50.470Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-15T08:47:50.470Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T08:47:50.571Z] prd-ubuntu20.04-docker-8c-8g-5620 does not seem to be running inside a container [2024-07-15T08:47:50.609Z] $ 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-1597 -v /w/workspace/gexfoundry_device-sdk-go_PR-1597:/w/workspace/gexfoundry_device-sdk-go_PR-1597:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1597@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1597@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-15T08:47:55.076Z] $ docker top 3f3cd554b960ba69bbcd43eaf0f73ea53205bb0c60ee7c3a59cf9bd032493704 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-15T08:47:55.453Z] ---> job-cost.sh [2024-07-15T08:47:55.453Z] lf-activate-venv: SKIPPING [2024-07-15T08:47:55.453Z] INFO: No Stack... [2024-07-15T08:47:56.027Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-15T08:47:56.301Z] INFO: Archiving Costs [Pipeline] sh [2024-07-15T08:47:56.591Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1597/archives/cost.csv [2024-07-15T08:47:56.591Z] + cut -d, -f6 [Pipeline] lock [2024-07-15T08:47:56.601Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1597-2-stack-cost] [2024-07-15T08:47:56.610Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1597-2-stack-cost] did not exist. Created. [2024-07-15T08:47:56.621Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1597-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-15T08:47:56.925Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-15T08:47:56.955Z] Stashed 1 file(s) [Pipeline] } [2024-07-15T08:47:56.969Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1597-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-15T08:47:56.998Z] $ docker stop --time=1 3f3cd554b960ba69bbcd43eaf0f73ea53205bb0c60ee7c3a59cf9bd032493704 [2024-07-15T08:47:58.171Z] $ docker rm -f --volumes 3f3cd554b960ba69bbcd43eaf0f73ea53205bb0c60ee7c3a59cf9bd032493704 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-15T08:48:00.266Z] d6de4b400683: Pull complete [2024-07-15T08:48:00.266Z] 35cb2a7552d0: Pull complete [2024-07-15T08:48:00.266Z] 4f4fb700ef54: Pull complete [2024-07-15T08:48:00.266Z] 464afbd9ba4c: Pull complete [2024-07-15T08:48:10.368Z] 00f215d4a9da: Pull complete [2024-07-15T08:48:10.636Z] d496ad576159: Pull complete [2024-07-15T08:48:10.636Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-15T08:48:10.636Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-15T08:48:10.636Z] ---> f246e2811388 [2024-07-15T08:48:10.636Z] Step 3/10 : ARG MAKE=make build [2024-07-15T08:48:13.250Z] ---> Running in 655315b076e5 [2024-07-15T08:48:13.250Z] Removing intermediate container 655315b076e5 [2024-07-15T08:48:13.250Z] ---> 2d019b12e43c [2024-07-15T08:48:13.250Z] Step 4/10 : WORKDIR /device-sdk-go [2024-07-15T08:48:13.250Z] ---> Running in 5b8e392924d3 [2024-07-15T08:48:13.518Z] Removing intermediate container 5b8e392924d3 [2024-07-15T08:48:13.518Z] ---> 9b947f925639 [2024-07-15T08:48:13.518Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-15T08:48:13.518Z] ---> Running in a790be9d278f [2024-07-15T08:48:13.788Z] Removing intermediate container a790be9d278f [2024-07-15T08:48:13.788Z] ---> 57311143d396 [2024-07-15T08:48:13.788Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-07-15T08:48:13.788Z] ---> Running in eb0818759012 [2024-07-15T08:48:15.201Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-15T08:48:15.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-15T08:48:16.986Z] OK: 266 MiB in 52 packages [2024-07-15T08:48:17.970Z] Removing intermediate container eb0818759012 [2024-07-15T08:48:17.970Z] ---> 947b9b5bc026 [2024-07-15T08:48:17.970Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-15T08:48:18.559Z] ---> 10ddfd695baf [2024-07-15T08:48:18.559Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-15T08:48:18.559Z] ---> Running in deb985667a3e [2024-07-15T08:50:10.253Z] Removing intermediate container deb985667a3e [2024-07-15T08:50:10.253Z] ---> d21a3cd75cc1 [2024-07-15T08:50:10.253Z] Step 9/10 : COPY . . [2024-07-15T08:50:10.253Z] ---> 7d8131bf399c [2024-07-15T08:50:10.253Z] Step 10/10 : RUN ${MAKE} [2024-07-15T08:50:10.253Z] ---> Running in 911acd368144 [2024-07-15T08:50:10.253Z] noop [2024-07-15T08:50:10.253Z] Removing intermediate container 911acd368144 [2024-07-15T08:50:10.253Z] ---> fa19c63cc3f3 [2024-07-15T08:50:10.253Z] Successfully built fa19c63cc3f3 [2024-07-15T08:50:10.253Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T08:50:10.640Z] + docker inspect -f . ci-base-image-arm64 [2024-07-15T08:50:10.640Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T08:50:10.857Z] prd-ubuntu20.04-docker-arm64-4c-16g-5621 does not seem to be running inside a container [2024-07-15T08:50:10.922Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-15T08:50:12.215Z] $ docker top 8a4168dfde9b52dc8a23c67193bf38f1e36170c6050ac81bf72fd2905beb63e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-15T08:50:13.075Z] + go version [2024-07-15T08:50:13.075Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-15T08:50:13.096Z] $ docker stop --time=1 8a4168dfde9b52dc8a23c67193bf38f1e36170c6050ac81bf72fd2905beb63e2 [2024-07-15T08:50:14.779Z] $ docker rm -f --volumes 8a4168dfde9b52dc8a23c67193bf38f1e36170c6050ac81bf72fd2905beb63e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T08:50:15.377Z] + docker inspect -f . ci-base-image-arm64 [2024-07-15T08:50:15.377Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T08:50:15.574Z] prd-ubuntu20.04-docker-arm64-4c-16g-5621 does not seem to be running inside a container [2024-07-15T08:50:15.641Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-15T08:50:16.882Z] $ docker top 1574463445e802b25945920b563ba048aa5127cacc490c279d6f95e983084f45 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-15T08:50:17.727Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2024-07-15T08:50:18.387Z] + make test [2024-07-15T08:50:18.387Z] go test -race -coverprofile=coverage.out ./... [2024-07-15T08:51:05.271Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-07-15T08:54:42.084Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-07-15T08:54:42.084Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-07-15T08:54:42.084Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-07-15T08:54:42.084Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-07-15T08:54:42.084Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-07-15T08:54:42.350Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.111s coverage: 27.0% of statements [2024-07-15T08:54:46.589Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.156s coverage: 80.0% of statements [2024-07-15T08:54:53.291Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-07-15T08:54:53.291Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-07-15T08:54:53.560Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.260s coverage: 86.0% of statements [2024-07-15T08:54:56.916Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-07-15T08:54:58.336Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.477s coverage: 55.2% of statements [2024-07-15T08:55:02.608Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.146s coverage: 14.4% of statements [2024-07-15T08:55:02.608Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.835s coverage: 44.6% of statements [2024-07-15T08:55:04.025Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-07-15T08:55:04.026Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-07-15T08:55:04.986Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.304s coverage: 68.5% of statements [2024-07-15T08:55:08.331Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.378s coverage: 89.2% of statements [2024-07-15T08:55:13.679Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-07-15T08:55:14.263Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.254s coverage: 5.4% of statements [2024-07-15T08:55:15.680Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-15T08:55:15.680Z] GO111MODULE=on go vet ./... [2024-07-15T08:59:07.510Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-15T08:59:07.510Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-15T08:59:07.510Z] ./bin/test-attribution-txt.sh [2024-07-15T08:59:07.510Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-15T08:59:07.510Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-15T08:59:07.531Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-15T08:59:07.558Z] $ docker stop --time=1 1574463445e802b25945920b563ba048aa5127cacc490c279d6f95e983084f45 [2024-07-15T08:59:09.909Z] $ docker rm -f --volumes 1574463445e802b25945920b563ba048aa5127cacc490c279d6f95e983084f45 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-15T08:59:12.372Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-15T08:59:12.406Z] Warning: overwriting stash ‘coverage-report’ [2024-07-15T08:59:13.129Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-15T08:59:13.536Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-15T08:59:13.853Z] + ls -al . [2024-07-15T08:59:13.853Z] total 376 [2024-07-15T08:59:13.853Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 15 08:50 . [2024-07-15T08:59:13.853Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 08:47 .. [2024-07-15T08:59:13.853Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 15 08:47 .dockerignore [2024-07-15T08:59:13.853Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 08:47 .git [2024-07-15T08:59:13.853Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 08:47 .github [2024-07-15T08:59:13.853Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 15 08:47 .gitignore [2024-07-15T08:59:13.853Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 08:47 .golangci.yml [2024-07-15T08:59:13.853Z] -rw-rw-r-- 1 jenkins jenkins 48109 Jul 15 08:47 CHANGELOG.md [2024-07-15T08:59:13.853Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 08:47 GOVERNANCE.md [2024-07-15T08:59:13.853Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 15 08:47 Jenkinsfile [2024-07-15T08:59:13.853Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 15 08:47 LICENSE [2024-07-15T08:59:13.853Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 15 08:47 Makefile [2024-07-15T08:59:13.853Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 15 08:47 OWNERS.md [2024-07-15T08:59:13.853Z] -rw-rw-r-- 1 jenkins jenkins 4937 Jul 15 08:47 README.md [2024-07-15T08:59:13.853Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 08:43 VERSION [2024-07-15T08:59:13.853Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 08:47 bin [2024-07-15T08:59:13.853Z] -rw-r--r-- 1 jenkins jenkins 125161 Jul 15 08:55 coverage.out [2024-07-15T08:59:13.853Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 15 08:47 example [2024-07-15T08:59:13.853Z] -rw-rw-r-- 1 jenkins jenkins 6995 Jul 15 08:47 go.mod [2024-07-15T08:59:13.853Z] -rw-rw-r-- 1 jenkins jenkins 101715 Jul 15 08:47 go.sum [2024-07-15T08:59:13.853Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 08:47 internal [2024-07-15T08:59:13.853Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 08:47 openapi [2024-07-15T08:59:13.853Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 15 08:47 pkg [2024-07-15T08:59:13.853Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 08:47 snap [2024-07-15T08:59:13.853Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 15 08:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T08:59:14.190Z] + 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=a1441aee9b855ff821669546a869293969d7956c --label arch=arm64 --label version=0.0.0 . [2024-07-15T08:59:14.774Z] Sending build context to Docker daemon 13.06MB [2024-07-15T08:59:14.774Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-07-15T08:59:14.774Z] Step 2/24 : FROM ${BASE} AS builder [2024-07-15T08:59:14.774Z] ---> fa19c63cc3f3 [2024-07-15T08:59:14.774Z] Step 3/24 : ARG MAKE=make build [2024-07-15T08:59:15.041Z] ---> Running in d58729f9b4cf [2024-07-15T08:59:15.308Z] Removing intermediate container d58729f9b4cf [2024-07-15T08:59:15.308Z] ---> 772fbc58a9ca [2024-07-15T08:59:15.308Z] Step 4/24 : WORKDIR /device-sdk-go [2024-07-15T08:59:15.308Z] ---> Running in 8e91c3b0a41e [2024-07-15T08:59:15.578Z] Removing intermediate container 8e91c3b0a41e [2024-07-15T08:59:15.578Z] ---> 74dadf5818d7 [2024-07-15T08:59:15.578Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-15T08:59:15.846Z] ---> Running in d15770e59ad3 [2024-07-15T08:59:16.114Z] Removing intermediate container d15770e59ad3 [2024-07-15T08:59:16.114Z] ---> 9decf718f02f [2024-07-15T08:59:16.114Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-07-15T08:59:16.114Z] ---> Running in 9f2d286530e3 [2024-07-15T08:59:17.075Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-15T08:59:17.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-15T08:59:18.618Z] OK: 266 MiB in 52 packages [2024-07-15T08:59:19.583Z] Removing intermediate container 9f2d286530e3 [2024-07-15T08:59:19.583Z] ---> 76bc0d93c8aa [2024-07-15T08:59:19.583Z] Step 7/24 : COPY go.mod vendor* ./ [2024-07-15T08:59:20.165Z] ---> 8f4d1a44a3c0 [2024-07-15T08:59:20.165Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-15T08:59:20.165Z] ---> Running in 04d27948ae56 [2024-07-15T08:59:22.741Z] Removing intermediate container 04d27948ae56 [2024-07-15T08:59:22.741Z] ---> 83a3cae15ccd [2024-07-15T08:59:22.741Z] Step 9/24 : COPY . . [2024-07-15T08:59:24.159Z] ---> 5faf6361a326 [2024-07-15T08:59:24.159Z] Step 10/24 : RUN ${MAKE} [2024-07-15T08:59:24.159Z] ---> Running in 6a6c9e6b0901 [2024-07-15T08:59:25.118Z] 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 [2024-07-15T09:02:46.861Z] Removing intermediate container 6a6c9e6b0901 [2024-07-15T09:02:46.861Z] ---> 51c839051ebd [2024-07-15T09:02:46.861Z] Step 11/24 : FROM alpine:3.18 [2024-07-15T09:02:46.861Z] 3.18: Pulling from library/alpine [2024-07-15T09:02:46.861Z] 5c905c7ebe2f: Pulling fs layer [2024-07-15T09:02:46.861Z] 5c905c7ebe2f: Download complete [2024-07-15T09:02:46.861Z] 5c905c7ebe2f: Pull complete [2024-07-15T09:02:46.861Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-15T09:02:46.861Z] Status: Downloaded newer image for alpine:3.18 [2024-07-15T09:02:46.861Z] ---> dec292d02e07 [2024-07-15T09:02:46.861Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-07-15T09:02:46.861Z] ---> Running in 47ee1d132404 [2024-07-15T09:02:46.861Z] Removing intermediate container 47ee1d132404 [2024-07-15T09:02:46.861Z] ---> 5db0c002e42d [2024-07-15T09:02:46.861Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-07-15T09:02:46.861Z] ---> Running in ca8736a21169 [2024-07-15T09:02:46.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-15T09:02:46.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-15T09:02:46.861Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-15T09:02:46.861Z] Executing busybox-1.36.1-r7.trigger [2024-07-15T09:02:46.861Z] OK: 8 MiB in 16 packages [2024-07-15T09:02:46.861Z] Removing intermediate container ca8736a21169 [2024-07-15T09:02:46.861Z] ---> 01ee9a6fc43e [2024-07-15T09:02:46.861Z] Step 14/24 : RUN apk --no-cache upgrade [2024-07-15T09:02:46.861Z] ---> Running in 95488a0f3396 [2024-07-15T09:02:47.441Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-15T09:02:47.704Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-15T09:02:48.658Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-15T09:02:48.658Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-15T09:02:48.658Z] OK: 8 MiB in 16 packages [2024-07-15T09:02:50.064Z] Removing intermediate container 95488a0f3396 [2024-07-15T09:02:50.064Z] ---> b123754f0ff2 [2024-07-15T09:02:50.064Z] Step 15/24 : WORKDIR / [2024-07-15T09:02:50.064Z] ---> Running in ffae60125f2d [2024-07-15T09:02:50.064Z] Removing intermediate container ffae60125f2d [2024-07-15T09:02:50.064Z] ---> 4502efdfa876 [2024-07-15T09:02:50.064Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-07-15T09:02:50.642Z] ---> d0d20cefd438 [2024-07-15T09:02:50.642Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-07-15T09:02:53.209Z] ---> 04a3966be581 [2024-07-15T09:02:53.209Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-07-15T09:02:53.209Z] ---> 9de946a52836 [2024-07-15T09:02:53.209Z] Step 19/24 : EXPOSE 59999 [2024-07-15T09:02:53.473Z] ---> Running in 1a110b414bf1 [2024-07-15T09:02:53.737Z] Removing intermediate container 1a110b414bf1 [2024-07-15T09:02:53.737Z] ---> b0b04e2bd642 [2024-07-15T09:02:53.737Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-07-15T09:02:53.737Z] ---> Running in 20c4961e8891 [2024-07-15T09:02:54.003Z] Removing intermediate container 20c4961e8891 [2024-07-15T09:02:54.003Z] ---> f67b49e74a2d [2024-07-15T09:02:54.003Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-15T09:02:54.268Z] ---> Running in c05e42667082 [2024-07-15T09:02:54.531Z] Removing intermediate container c05e42667082 [2024-07-15T09:02:54.531Z] ---> 98492a31e78f [2024-07-15T09:02:54.531Z] Step 22/24 : LABEL arch=arm64 [2024-07-15T09:02:54.531Z] ---> Running in 7d58828080b1 [2024-07-15T09:02:54.800Z] Removing intermediate container 7d58828080b1 [2024-07-15T09:02:54.801Z] ---> 68f4422713fe [2024-07-15T09:02:54.801Z] Step 23/24 : LABEL git_sha=a1441aee9b855ff821669546a869293969d7956c [2024-07-15T09:02:54.801Z] ---> Running in 04449f3ec7c4 [2024-07-15T09:02:55.384Z] Removing intermediate container 04449f3ec7c4 [2024-07-15T09:02:55.384Z] ---> 1da85ab96634 [2024-07-15T09:02:55.384Z] Step 24/24 : LABEL version=0.0.0 [2024-07-15T09:02:55.384Z] ---> Running in 875a559712ad [2024-07-15T09:02:55.650Z] Removing intermediate container 875a559712ad [2024-07-15T09:02:55.650Z] ---> 85aa1d7fa1bd [2024-07-15T09:02:55.650Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-15T09:02:55.650Z] Successfully built 85aa1d7fa1bd [2024-07-15T09:02:55.651Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T09:02:56.129Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-15T09:02:56.129Z] [2024-07-15T09:02:56.129Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T09:02:56.464Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-15T09:02:56.464Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-15T09:02:56.464Z] 8998bd30e6a1: Pulling fs layer [2024-07-15T09:02:56.464Z] 04944245beec: Pulling fs layer [2024-07-15T09:02:56.464Z] 699f458cf7ca: Pulling fs layer [2024-07-15T09:02:56.464Z] 765212b225bb: Pulling fs layer [2024-07-15T09:02:56.464Z] f23df028b6ca: Pulling fs layer [2024-07-15T09:02:56.464Z] d65c8cfc05b1: Pulling fs layer [2024-07-15T09:02:56.464Z] 2437ff75d9bd: Pulling fs layer [2024-07-15T09:02:56.464Z] 765212b225bb: Waiting [2024-07-15T09:02:56.464Z] d65c8cfc05b1: Waiting [2024-07-15T09:02:56.464Z] f23df028b6ca: Waiting [2024-07-15T09:02:56.464Z] 2437ff75d9bd: Waiting [2024-07-15T09:02:56.731Z] 04944245beec: Verifying Checksum [2024-07-15T09:02:56.731Z] 04944245beec: Download complete [2024-07-15T09:02:56.731Z] 765212b225bb: Verifying Checksum [2024-07-15T09:02:56.731Z] 765212b225bb: Download complete [2024-07-15T09:02:56.731Z] f23df028b6ca: Verifying Checksum [2024-07-15T09:02:56.731Z] f23df028b6ca: Download complete [2024-07-15T09:02:56.731Z] d65c8cfc05b1: Verifying Checksum [2024-07-15T09:02:56.731Z] d65c8cfc05b1: Download complete [2024-07-15T09:02:56.731Z] 699f458cf7ca: Verifying Checksum [2024-07-15T09:02:56.731Z] 699f458cf7ca: Download complete [2024-07-15T09:02:57.312Z] 8998bd30e6a1: Download complete [2024-07-15T09:02:59.890Z] 2437ff75d9bd: Verifying Checksum [2024-07-15T09:02:59.890Z] 2437ff75d9bd: Download complete [2024-07-15T09:03:01.826Z] 8998bd30e6a1: Pull complete [2024-07-15T09:03:02.406Z] 04944245beec: Pull complete [2024-07-15T09:03:04.344Z] 699f458cf7ca: Pull complete [2024-07-15T09:03:04.344Z] 765212b225bb: Pull complete [2024-07-15T09:03:04.927Z] f23df028b6ca: Pull complete [2024-07-15T09:03:05.194Z] d65c8cfc05b1: Pull complete [2024-07-15T09:03:23.387Z] 2437ff75d9bd: Pull complete [2024-07-15T09:03:23.387Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-15T09:03:23.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-15T09:03:23.387Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T09:03:23.592Z] prd-ubuntu20.04-docker-arm64-4c-16g-5621 does not seem to be running inside a container [2024-07-15T09:03:23.658Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-15T09:03:26.314Z] $ docker top a9b92178acae105aadc06e8299c341eba4928105db570a9096e24b8724d9924b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-15T09:03:27.138Z] ---> job-cost.sh [2024-07-15T09:03:27.138Z] lf-activate-venv: SKIPPING [2024-07-15T09:03:27.138Z] INFO: No Stack... [2024-07-15T09:03:27.714Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-15T09:03:28.290Z] INFO: Archiving Costs [Pipeline] sh [2024-07-15T09:03:28.923Z] + + cut -d, -f6cat [2024-07-15T09:03:28.923Z] /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2024-07-15T09:03:28.977Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1597-2-stack-cost] [2024-07-15T09:03:28.990Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1597-2-stack-cost] did not exist. Created. [2024-07-15T09:03:28.999Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1597-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-15T09:03:29.647Z] /w/workspace/device-sdk-go/2@tmp/durable-769502e5/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-15T09:03:30.281Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-15T09:03:30.308Z] Warning: overwriting stash ‘stack-cost’ [2024-07-15T09:03:30.387Z] Stashed 1 file(s) [Pipeline] } [2024-07-15T09:03:30.395Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1597-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-15T09:03:30.428Z] $ docker stop --time=1 a9b92178acae105aadc06e8299c341eba4928105db570a9096e24b8724d9924b [2024-07-15T09:03:31.897Z] $ docker rm -f --volumes a9b92178acae105aadc06e8299c341eba4928105db570a9096e24b8724d9924b [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 [2024-07-15T09:03:32.340Z] provisioning config files... [2024-07-15T09:03:32.346Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1597@tmp/config10375635991750085563tmp [Pipeline] { [Pipeline] sh [2024-07-15T09:03:32.644Z] + set +x [2024-07-15T09:03:32.644Z] + bash -s -- [2024-07-15T09:03:32.644Z] + curl -s https://codecov.io/bash [2024-07-15T09:03:32.644Z] [2024-07-15T09:03:32.644Z] _____ _ [2024-07-15T09:03:32.644Z] / ____| | | [2024-07-15T09:03:32.644Z] | | ___ __| | ___ ___ _____ __ [2024-07-15T09:03:32.644Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-15T09:03:32.644Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-15T09:03:32.644Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-15T09:03:32.644Z] Bash-1.0.6 [2024-07-15T09:03:32.644Z] [2024-07-15T09:03:32.644Z] [2024-07-15T09:03:32.644Z] ==> git version 2.25.1 found [2024-07-15T09:03:32.644Z] ==> 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 [2024-07-15T09:03:32.644Z] Release-Date: 2020-01-08 [2024-07-15T09:03:32.644Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-07-15T09:03:32.644Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-15T09:03:32.644Z] ==> Jenkins CI detected. [2024-07-15T09:03:32.644Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1597 [2024-07-15T09:03:32.644Z] project root: . [2024-07-15T09:03:32.644Z] --> token set from env [2024-07-15T09:03:32.644Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-15T09:03:32.644Z] ==> Running gcov in . (disable via -X gcov) [2024-07-15T09:03:32.644Z] ==> Python coveragepy not found [2024-07-15T09:03:32.644Z] ==> Searching for coverage reports in: [2024-07-15T09:03:32.644Z] + . [2024-07-15T09:03:32.644Z] -> Found 1 reports [2024-07-15T09:03:32.644Z] ==> Detecting git/mercurial file structure [2024-07-15T09:03:32.644Z] ==> Reading reports [2024-07-15T09:03:32.905Z] + ./coverage.out bytes=125161 [2024-07-15T09:03:32.905Z] ==> Appending adjustments [2024-07-15T09:03:32.905Z] https://docs.codecov.io/docs/fixing-reports [2024-07-15T09:03:33.165Z] + Found adjustments [2024-07-15T09:03:33.165Z] ==> Gzipping contents [2024-07-15T09:03:33.165Z] 20K /tmp/codecov.uPmXzN.gz [2024-07-15T09:03:33.165Z] ==> Uploading reports [2024-07-15T09:03:33.165Z] url: https://codecov.io [2024-07-15T09:03:33.165Z] query: branch=PR-1597&commit=a1441aee9b855ff821669546a869293969d7956c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1597%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1597&job=&cmd_args= [2024-07-15T09:03:33.165Z] -> Pinging Codecov [2024-07-15T09:03:33.165Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1597&commit=a1441aee9b855ff821669546a869293969d7956c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1597%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1597&job=&cmd_args= [2024-07-15T09:03:33.165Z] -> Uploading to [2024-07-15T09:03:33.165Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-15/7E55EF52A471D76F132DFD9A03CDDE97/a1441aee9b855ff821669546a869293969d7956c/c3c9e7f0-0bee-44c4-aa20-2decaeff803e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240715%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240715T090333Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b904f825580ea640237b5f39efbe575149177a592dfbf769e43d84bf3db6c16b [2024-07-15T09:03:33.165Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-15T09:03:33.165Z] Dload Upload Total Spent Left Speed [2024-07-15T09:03:33.425Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17072 0 0 100 17072 0 74550 --:--:-- --:--:-- --:--:-- 74550 [2024-07-15T09:03:33.425Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a1441aee9b855ff821669546a869293969d7956c [Pipeline] } [2024-07-15T09:03:33.432Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-07-15T09:03:34.328Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1597/archives ] [2024-07-15T09:03:34.328Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1597/archives [2024-07-15T09:03:34.328Z] total 16 [2024-07-15T09:03:34.328Z] drwxr-xr-x 3 root root 4096 Jul 15 08:47 . [2024-07-15T09:03:34.328Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 08:47 .. [2024-07-15T09:03:34.328Z] drwxr-xr-x 2 root root 4096 Jul 15 08:47 cost [2024-07-15T09:03:34.328Z] -rw-r--r-- 1 root root 86 Jul 15 08:47 cost.csv [2024-07-15T09:03:34.328Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1597/archives [2024-07-15T09:03:34.328Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1597/archives [2024-07-15T09:03:34.328Z] total 16 [2024-07-15T09:03:34.328Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 08:47 . [2024-07-15T09:03:34.328Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 08:47 .. [2024-07-15T09:03:34.328Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 15 08:47 cost [2024-07-15T09:03:34.328Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 15 08:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-15T09:03:34.615Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-15T09:03:35.474Z] ---> package-listing.sh [2024-07-15T09:03:35.474Z] ++ facter osfamily [2024-07-15T09:03:35.474Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-15T09:03:35.734Z] + OS_FAMILY=debian [2024-07-15T09:03:35.734Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1597 [2024-07-15T09:03:35.734Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-15T09:03:35.734Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-15T09:03:35.734Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-15T09:03:35.734Z] + PACKAGES=/tmp/packages_start.txt [2024-07-15T09:03:35.734Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1597 ']' [2024-07-15T09:03:35.734Z] + PACKAGES=/tmp/packages_end.txt [2024-07-15T09:03:35.734Z] + case "${OS_FAMILY}" in [2024-07-15T09:03:35.734Z] + dpkg -l [2024-07-15T09:03:35.734Z] + grep '^ii' [2024-07-15T09:03:35.734Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-15T09:03:35.734Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-15T09:03:35.734Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-15T09:03:35.734Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1597 ']' [2024-07-15T09:03:35.734Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1597/archives/ [2024-07-15T09:03:35.734Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1597/archives/ [Pipeline] echo [2024-07-15T09:03:35.745Z] 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-1597/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-15T09:03:36.023Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T09:03:36.585Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-15T09:03:36.585Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T09:03:36.661Z] prd-ubuntu20.04-docker-8c-8g-5620 does not seem to be running inside a container [2024-07-15T09:03:36.699Z] $ 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-1597/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-1597 -v /w/workspace/gexfoundry_device-sdk-go_PR-1597:/w/workspace/gexfoundry_device-sdk-go_PR-1597:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1597@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1597@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-15T09:03:36.911Z] $ docker top dd2ce494f6111032e1c307fa551dc8632c2a5dcbb1b97e9f955d9e1a1c63759a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-15T09:03:37.255Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-15T09:03:37.539Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-15T09:03:37.826Z] + ls /var/log/sa-host [2024-07-15T09:03:37.826Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-15T09:03:37.904Z] provisioning config files... [2024-07-15T09:03:37.912Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1597@tmp/config16354229494683445483tmp [Pipeline] { [Pipeline] echo [2024-07-15T09:03:37.929Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-15T09:03:38.212Z] ---> create-netrc.sh [Pipeline] } [2024-07-15T09:03:38.218Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-15T09:03:38.550Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-15T09:03:38.560Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-15T09:03:38.882Z] ---> sudo-logs.sh [2024-07-15T09:03:38.882Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-15T09:03:38.938Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-15T09:03:39.265Z] ---> job-cost.sh [2024-07-15T09:03:39.265Z] lf-activate-venv: SKIPPING [2024-07-15T09:03:39.265Z] DEBUG: total: 0.2199999988079071 [2024-07-15T09:03:39.265Z] INFO: Retrieving Stack Cost... [2024-07-15T09:03:39.872Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-15T09:03:40.146Z] INFO: Archiving Costs [Pipeline] echo [2024-07-15T09:03:40.163Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-15T09:03:40.466Z] ---> logs-deploy.sh [2024-07-15T09:03:40.466Z] lf-activate-venv: SKIPPING [2024-07-15T09:03:40.466Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1597/2 [2024-07-15T09:03:40.466Z] INFO: archiving workspace using pattern(s): [2024-07-15T09:03:41.403Z] Archives upload complete. [2024-07-15T09:03:41.403Z] INFO: archiving logs to Nexus