Pull request #1641 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cherrycl for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 8f827bd74a4c847a61608dcbc9d76980c13265ba+791e3808a6f22236528886c5f30bc95897a4d2de (25520c789dfe3715faac57806cd3d79f041724d8) 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-ssh13461391049165191806.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh17881679168481564485.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 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1641/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1641/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10675674354114044087.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1641/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4811349418846861314.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1146854660147733481.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1641/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1641/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9933451997030625572.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 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]] ========================================================= [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.23 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 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 ‘prd-ubuntu20.04-docker-8c-8g-23469’ Running on prd-ubuntu20.04-docker-8c-8g-23472 in /w/workspace/gexfoundry_device-sdk-go_PR-1641 [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-1641 # 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/1641/head:refs/remotes/origin/PR-1641 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 791e3808a6f22236528886c5f30bc95897a4d2de into PR head commit 8f827bd74a4c847a61608dcbc9d76980c13265ba Merge succeeded, producing 8f827bd74a4c847a61608dcbc9d76980c13265ba Checking out Revision 8f827bd74a4c847a61608dcbc9d76980c13265ba (PR-1641) > git config core.sparsecheckout # timeout=10 > git checkout -f 8f827bd74a4c847a61608dcbc9d76980c13265ba # 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 791e3808a6f22236528886c5f30bc95897a4d2de # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f827bd74a4c847a61608dcbc9d76980c13265ba # timeout=10 Commit message: "fix: Move API document files from openapi/v3 to openapi" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-22T06:06:12.883Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-22T06:06:13.099Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-22T06:06:13.227Z] ========================================================= [2024-10-22T06:06:13.227Z] EdgeX Global Pipelines Version Info [2024-10-22T06:06:13.227Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-22T06:06:14.376Z] ------------------- [2024-10-22T06:06:14.376Z] stable info: [2024-10-22T06:06:14.376Z] ------------------- [2024-10-22T06:06:14.376Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-22T06:06:14.376Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-22T06:06:14.376Z] Message: update stable to v1.0.265 [2024-10-22T06:06:14.636Z] ------------------- [2024-10-22T06:06:14.636Z] experimental info: [2024-10-22T06:06:14.636Z] ------------------- [2024-10-22T06:06:14.637Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-22T06:06:14.637Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-22T06:06:14.637Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-22T06:06:14.877Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-10-22T06:06:14.938Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-10-22T06:06:14.997Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-22T06:06:15.059Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-22T06:06:15.118Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-22T06:06:15.175Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-22T06:06:15.230Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-22T06:06:15.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-10-22T06:06:15.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-22T06:06:15.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-22T06:06:15.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-22T06:06:15.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-10-22T06:06:15.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-22T06:06:15.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-22T06:06:15.696Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-22T06:06:15.749Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-22T06:06:15.808Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-22T06:06:15.867Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-22T06:06:15.929Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-22T06:06:15.990Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-22T06:06:16.048Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-22T06:06:16.103Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo [2024-10-22T06:06:16.164Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-22T06:06:16.222Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-22T06:06:16.274Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-22T06:06:16.329Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-22T06:06:16.389Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-22T06:06:16.445Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1641 [Pipeline] echo [2024-10-22T06:06:16.500Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1641 [Pipeline] echo [2024-10-22T06:06:16.558Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1641 [Pipeline] echo [2024-10-22T06:06:16.618Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f827bd74a4c847a61608dcbc9d76980c13265ba [Pipeline] echo [2024-10-22T06:06:16.680Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f827bd [Pipeline] echo [2024-10-22T06:06:16.741Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-22T06:06:16.905Z] provisioning config files... [2024-10-22T06:06:16.921Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp/config5021252020152234395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T06:06:17.321Z] ---> ****-login.sh [2024-10-22T06:06:17.321Z] nexus3.edgexfoundry.org:10001 [2024-10-22T06:06:17.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T06:06:17.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T06:06:17.844Z] Configure a credential helper to remove this warning. See [2024-10-22T06:06:17.844Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T06:06:17.844Z] [2024-10-22T06:06:17.844Z] Login Succeeded [2024-10-22T06:06:17.844Z] nexus3.edgexfoundry.org:10002 [2024-10-22T06:06:17.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T06:06:17.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T06:06:17.845Z] Configure a credential helper to remove this warning. See [2024-10-22T06:06:17.845Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T06:06:17.845Z] [2024-10-22T06:06:17.845Z] Login Succeeded [2024-10-22T06:06:17.845Z] nexus3.edgexfoundry.org:10003 [2024-10-22T06:06:17.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T06:06:18.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T06:06:18.126Z] Configure a credential helper to remove this warning. See [2024-10-22T06:06:18.126Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T06:06:18.126Z] [2024-10-22T06:06:18.126Z] Login Succeeded [2024-10-22T06:06:18.126Z] nexus3.edgexfoundry.org:10004 [2024-10-22T06:06:18.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T06:06:18.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T06:06:18.126Z] Configure a credential helper to remove this warning. See [2024-10-22T06:06:18.126Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T06:06:18.126Z] [2024-10-22T06:06:18.126Z] Login Succeeded [2024-10-22T06:06:18.126Z] ****.io [2024-10-22T06:06:18.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T06:06:18.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T06:06:18.388Z] Configure a credential helper to remove this warning. See [2024-10-22T06:06:18.388Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T06:06:18.388Z] [2024-10-22T06:06:18.388Z] Login Succeeded [2024-10-22T06:06:18.388Z] ---> ****-login.sh ends [Pipeline] } [2024-10-22T06:06:18.422Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-22T06:06:19.041Z] + git rev-list -1 --merges 8f827bd74a4c847a61608dcbc9d76980c13265ba~1..8f827bd74a4c847a61608dcbc9d76980c13265ba [Pipeline] echo [2024-10-22T06:06:19.092Z] -----------> git rev-list -1 --merges 8f827bd74a4c847a61608dcbc9d76980c13265ba~1..8f827bd74a4c847a61608dcbc9d76980c13265ba 8f827bd74a4c847a61608dcbc9d76980c13265ba [false] [Pipeline] sh [2024-10-22T06:06:19.415Z] + git log --format=format:%s -1 8f827bd74a4c847a61608dcbc9d76980c13265ba [Pipeline] echo [2024-10-22T06:06:19.460Z] ========================================================= [2024-10-22T06:06:19.460Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-22T06:06:19.460Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-22T06:06:19.941Z] + git log --format=format:%s -1 8f827bd74a4c847a61608dcbc9d76980c13265ba [Pipeline] echo [2024-10-22T06:06:19.982Z] [semverPrep] GIT_COMMIT: 8f827bd74a4c847a61608dcbc9d76980c13265ba, Commit Message: fix: Move API document files from openapi/v3 to openapi [Pipeline] echo [2024-10-22T06:06:20.028Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-22T06:06:20.461Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-22T06:06:20.461Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-22T06:06:20.461Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-22T06:06:20.461Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-22T06:06:20.461Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-22T06:06:20.461Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-22T06:06:20.461Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T06:06:21.022Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-22T06:06:21.022Z] [2024-10-22T06:06:21.022Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T06:06:21.437Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-22T06:06:21.437Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-22T06:06:21.437Z] b85a868b505f: Pulling fs layer [2024-10-22T06:06:21.437Z] e2be974225ed: Pulling fs layer [2024-10-22T06:06:21.437Z] 339a4e72a1f5: Pulling fs layer [2024-10-22T06:06:21.437Z] 988bab9f4d93: Pulling fs layer [2024-10-22T06:06:21.437Z] 1469e6f7b9e6: Pulling fs layer [2024-10-22T06:06:21.437Z] eaf3925da568: Pulling fs layer [2024-10-22T06:06:21.437Z] bab4dde63d76: Pulling fs layer [2024-10-22T06:06:21.437Z] bde34c3a00c8: Pulling fs layer [2024-10-22T06:06:21.437Z] b352a97aabf1: Pulling fs layer [2024-10-22T06:06:21.437Z] 4872d77fe225: Pulling fs layer [2024-10-22T06:06:21.437Z] 5851b861e8e6: Pulling fs layer [2024-10-22T06:06:21.437Z] 988bab9f4d93: Waiting [2024-10-22T06:06:21.437Z] 1469e6f7b9e6: Waiting [2024-10-22T06:06:21.437Z] eaf3925da568: Waiting [2024-10-22T06:06:21.437Z] bab4dde63d76: Waiting [2024-10-22T06:06:21.437Z] bde34c3a00c8: Waiting [2024-10-22T06:06:21.437Z] b352a97aabf1: Waiting [2024-10-22T06:06:21.437Z] 4872d77fe225: Waiting [2024-10-22T06:06:21.437Z] 5851b861e8e6: Waiting [2024-10-22T06:06:21.437Z] e2be974225ed: Verifying Checksum [2024-10-22T06:06:21.437Z] 988bab9f4d93: Verifying Checksum [2024-10-22T06:06:21.437Z] 988bab9f4d93: Download complete [2024-10-22T06:06:21.437Z] 1469e6f7b9e6: Verifying Checksum [2024-10-22T06:06:21.437Z] 1469e6f7b9e6: Download complete [2024-10-22T06:06:21.698Z] 339a4e72a1f5: Verifying Checksum [2024-10-22T06:06:21.698Z] eaf3925da568: Verifying Checksum [2024-10-22T06:06:21.698Z] 339a4e72a1f5: Download complete [2024-10-22T06:06:21.698Z] eaf3925da568: Download complete [2024-10-22T06:06:21.698Z] bde34c3a00c8: Verifying Checksum [2024-10-22T06:06:21.698Z] bde34c3a00c8: Download complete [2024-10-22T06:06:21.698Z] b352a97aabf1: Verifying Checksum [2024-10-22T06:06:21.698Z] b352a97aabf1: Download complete [2024-10-22T06:06:21.698Z] 4872d77fe225: Verifying Checksum [2024-10-22T06:06:21.698Z] 4872d77fe225: Download complete [2024-10-22T06:06:21.698Z] 5851b861e8e6: Verifying Checksum [2024-10-22T06:06:21.698Z] 5851b861e8e6: Download complete [2024-10-22T06:06:21.698Z] b85a868b505f: Verifying Checksum [2024-10-22T06:06:21.698Z] b85a868b505f: Download complete [2024-10-22T06:06:21.964Z] bab4dde63d76: Verifying Checksum [2024-10-22T06:06:21.964Z] bab4dde63d76: Download complete [2024-10-22T06:06:22.903Z] b85a868b505f: Pull complete [2024-10-22T06:06:23.163Z] e2be974225ed: Pull complete [2024-10-22T06:06:23.733Z] 339a4e72a1f5: Pull complete [2024-10-22T06:06:23.733Z] 988bab9f4d93: Pull complete [2024-10-22T06:06:23.994Z] 1469e6f7b9e6: Pull complete [2024-10-22T06:06:23.994Z] eaf3925da568: Pull complete [2024-10-22T06:06:26.541Z] bab4dde63d76: Pull complete [2024-10-22T06:06:26.541Z] bde34c3a00c8: Pull complete [2024-10-22T06:06:26.541Z] b352a97aabf1: Pull complete [2024-10-22T06:06:26.541Z] 4872d77fe225: Pull complete [2024-10-22T06:06:26.541Z] 5851b861e8e6: Pull complete [2024-10-22T06:06:26.541Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-22T06:06:26.541Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-22T06:06:26.541Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T06:06:26.839Z] prd-ubuntu20.04-docker-8c-8g-23472 does not seem to be running inside a container [2024-10-22T06:06:26.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1641 -v /w/workspace/gexfoundry_device-sdk-go_PR-1641:/w/workspace/gexfoundry_device-sdk-go_PR-1641:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1641@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-22T06:06:29.726Z] $ docker top d6857121c5df046a1d909964ff13012463540decf332c7a97812e4615f995be7 -eo pid,comm [2024-10-22T06:06:29.794Z] 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-10-22T06:06:29.794Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-22T06:06:29.968Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-22T06:06:29.968Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-22T06:06:30.090Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-22T06:06:30.087Z] $ docker exec d6857121c5df046a1d909964ff13012463540decf332c7a97812e4615f995be7 ssh-agent [2024-10-22T06:06:30.214Z] SSH_AUTH_SOCK=/tmp/ssh-VYimfItzX5dD/agent.32 [2024-10-22T06:06:30.214Z] SSH_AGENT_PID=38 [2024-10-22T06:06:30.221Z] Running ssh-add (command line suppressed) [2024-10-22T06:06:30.326Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp/private_key_8408336640117504570.key (/w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp/private_key_8408336640117504570.key) [2024-10-22T06:06:30.346Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-22T06:06:30.689Z] + git tag --points-at HEAD [Pipeline] } [2024-10-22T06:06:30.710Z] $ docker exec --env ******** --env ******** d6857121c5df046a1d909964ff13012463540decf332c7a97812e4615f995be7 ssh-agent -k [2024-10-22T06:06:30.806Z] unset SSH_AUTH_SOCK; [2024-10-22T06:06:30.807Z] unset SSH_AGENT_PID; [2024-10-22T06:06:30.807Z] echo Agent pid 38 killed; [2024-10-22T06:06:30.821Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-22T06:06:30.933Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-22T06:06:30.933Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-22T06:06:31.040Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-22T06:06:31.038Z] $ docker exec d6857121c5df046a1d909964ff13012463540decf332c7a97812e4615f995be7 ssh-agent [2024-10-22T06:06:31.163Z] SSH_AUTH_SOCK=/tmp/ssh-olTLqmIEzwuG/agent.71 [2024-10-22T06:06:31.163Z] SSH_AGENT_PID=77 [2024-10-22T06:06:31.169Z] Running ssh-add (command line suppressed) [2024-10-22T06:06:31.273Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp/private_key_951121421202183464.key (/w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp/private_key_951121421202183464.key) [2024-10-22T06:06:31.291Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-22T06:06:31.641Z] + git semver init [2024-10-22T06:06:31.901Z] 2024-10-22 06:06:31,852 [run_init] DEBUG init version:0.0.0 force:False [2024-10-22T06:06:31.901Z] 2024-10-22 06:06:31,853 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1641/.semver [2024-10-22T06:06:31.901Z] 2024-10-22 06:06:31,853 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1641/.semver [2024-10-22T06:06:31.901Z] 2024-10-22 06:06:31,853 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1641/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1641, universal_newlines=False, shell=None, istream=None) [2024-10-22T06:06:34.453Z] 2024-10-22 06:06:33,992 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1641/.git/info/exclude [2024-10-22T06:06:34.453Z] 2024-10-22 06:06:33,992 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1641/.semver/PR-1641 with force:False [2024-10-22T06:06:34.453Z] 2024-10-22 06:06:33,993 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1641/.semver/PR-1641 [2024-10-22T06:06:34.453Z] 2024-10-22 06:06:33,998 [execute] INFO git cat-file --batch-check [2024-10-22T06:06:34.453Z] 2024-10-22 06:06:33,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1641/.semver, universal_newlines=False, shell=None, istream=) [2024-10-22T06:06:34.453Z] 2024-10-22 06:06:34,004 [execute] INFO git cat-file --batch [2024-10-22T06:06:34.453Z] 2024-10-22 06:06:34,004 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1641/.semver, universal_newlines=False, shell=None, istream=) [2024-10-22T06:06:34.453Z] 2024-10-22 06:06:34,010 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1641/.semver/PR-1641 [2024-10-22T06:06:34.453Z] 0.0.0 [Pipeline] } [2024-10-22T06:06:34.475Z] $ docker exec --env ******** --env ******** d6857121c5df046a1d909964ff13012463540decf332c7a97812e4615f995be7 ssh-agent -k [2024-10-22T06:06:34.572Z] unset SSH_AUTH_SOCK; [2024-10-22T06:06:34.572Z] unset SSH_AGENT_PID; [2024-10-22T06:06:34.572Z] echo Agent pid 77 killed; [2024-10-22T06:06:34.590Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-22T06:06:35.093Z] + git semver [Pipeline] } [2024-10-22T06:06:35.377Z] $ docker stop --time=1 d6857121c5df046a1d909964ff13012463540decf332c7a97812e4615f995be7 [2024-10-22T06:06:36.678Z] $ docker rm -f --volumes d6857121c5df046a1d909964ff13012463540decf332c7a97812e4615f995be7 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-22T06:06:37.155Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-22T06:06:37.474Z] Stashed 1 file(s) [Pipeline] echo [2024-10-22T06:06:37.500Z] [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-10-22T06:06:38.414Z] provisioning config files... [2024-10-22T06:06:38.422Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp/config14471667887258937902tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T06:06:38.793Z] ---> ****-login.sh [2024-10-22T06:06:38.794Z] nexus3.edgexfoundry.org:10001 [2024-10-22T06:06:38.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T06:06:38.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T06:06:38.794Z] Configure a credential helper to remove this warning. See [2024-10-22T06:06:38.794Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T06:06:38.794Z] [2024-10-22T06:06:38.794Z] Login Succeeded [2024-10-22T06:06:38.794Z] nexus3.edgexfoundry.org:10002 [2024-10-22T06:06:38.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T06:06:38.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T06:06:38.794Z] Configure a credential helper to remove this warning. See [2024-10-22T06:06:38.794Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T06:06:38.794Z] [2024-10-22T06:06:38.794Z] Login Succeeded [2024-10-22T06:06:38.794Z] nexus3.edgexfoundry.org:10003 [2024-10-22T06:06:39.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T06:06:39.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T06:06:39.059Z] Configure a credential helper to remove this warning. See [2024-10-22T06:06:39.059Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T06:06:39.059Z] [2024-10-22T06:06:39.059Z] Login Succeeded [2024-10-22T06:06:39.059Z] nexus3.edgexfoundry.org:10004 [2024-10-22T06:06:39.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T06:06:39.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T06:06:39.059Z] Configure a credential helper to remove this warning. See [2024-10-22T06:06:39.059Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T06:06:39.059Z] [2024-10-22T06:06:39.059Z] Login Succeeded [2024-10-22T06:06:39.059Z] ****.io [2024-10-22T06:06:39.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T06:06:39.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T06:06:39.319Z] Configure a credential helper to remove this warning. See [2024-10-22T06:06:39.319Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T06:06:39.319Z] [2024-10-22T06:06:39.319Z] Login Succeeded [2024-10-22T06:06:39.319Z] ---> ****-login.sh ends [Pipeline] } [2024-10-22T06:06:39.359Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-22T06:06:39.603Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T06:06:39.650Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T06:06:39.691Z] ========================================================= [2024-10-22T06:06:39.691Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-22T06:06:39.691Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T06:06:40.207Z] + 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.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-22T06:06:40.207Z] Sending build context to Docker daemon 25.49MB [2024-10-22T06:06:40.207Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-22T06:06:40.207Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-22T06:06:40.467Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-22T06:06:40.467Z] 43c4264eed91: Pulling fs layer [2024-10-22T06:06:40.467Z] 4cc291be95ef: Pulling fs layer [2024-10-22T06:06:40.467Z] 2ac1f1163629: Pulling fs layer [2024-10-22T06:06:40.467Z] 5c3c966382ef: Pulling fs layer [2024-10-22T06:06:40.467Z] 4f4fb700ef54: Pulling fs layer [2024-10-22T06:06:40.467Z] 5d5c8e513c77: Pulling fs layer [2024-10-22T06:06:40.467Z] 4f4fb700ef54: Waiting [2024-10-22T06:06:40.467Z] 5c3c966382ef: Waiting [2024-10-22T06:06:40.467Z] 9f66e0745190: Pulling fs layer [2024-10-22T06:06:40.467Z] f49a43e4bbc0: Pulling fs layer [2024-10-22T06:06:40.467Z] 561ebcabdf7f: Pulling fs layer [2024-10-22T06:06:40.467Z] 9f66e0745190: Waiting [2024-10-22T06:06:40.467Z] 5d5c8e513c77: Waiting [2024-10-22T06:06:40.467Z] f49a43e4bbc0: Waiting [2024-10-22T06:06:40.467Z] 561ebcabdf7f: Waiting [2024-10-22T06:06:40.467Z] 4cc291be95ef: Download complete [2024-10-22T06:06:40.467Z] 5c3c966382ef: Verifying Checksum [2024-10-22T06:06:40.467Z] 5c3c966382ef: Download complete [2024-10-22T06:06:40.467Z] 4f4fb700ef54: Verifying Checksum [2024-10-22T06:06:40.467Z] 5d5c8e513c77: Verifying Checksum [2024-10-22T06:06:40.467Z] 5d5c8e513c77: Download complete [2024-10-22T06:06:40.467Z] 43c4264eed91: Verifying Checksum [2024-10-22T06:06:40.467Z] 43c4264eed91: Download complete [2024-10-22T06:06:40.467Z] 9f66e0745190: Verifying Checksum [2024-10-22T06:06:40.467Z] 9f66e0745190: Download complete [2024-10-22T06:06:40.727Z] 43c4264eed91: Pull complete [2024-10-22T06:06:40.727Z] 561ebcabdf7f: Download complete [2024-10-22T06:06:40.727Z] 4cc291be95ef: Pull complete [2024-10-22T06:06:40.986Z] 2ac1f1163629: Verifying Checksum [2024-10-22T06:06:40.986Z] 2ac1f1163629: Download complete [2024-10-22T06:06:41.245Z] f49a43e4bbc0: Verifying Checksum [2024-10-22T06:06:41.245Z] f49a43e4bbc0: Download complete [2024-10-22T06:06:44.530Z] 2ac1f1163629: Pull complete [2024-10-22T06:06:44.530Z] 5c3c966382ef: Pull complete [2024-10-22T06:06:44.530Z] 4f4fb700ef54: Pull complete [2024-10-22T06:06:44.530Z] 5d5c8e513c77: Pull complete [2024-10-22T06:06:44.789Z] 9f66e0745190: Pull complete [2024-10-22T06:06:47.334Z] f49a43e4bbc0: Pull complete [2024-10-22T06:06:47.593Z] 561ebcabdf7f: Pull complete [2024-10-22T06:06:47.593Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-22T06:06:47.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-22T06:06:47.593Z] ---> 3a752c3f9dda [2024-10-22T06:06:47.593Z] Step 3/10 : ARG MAKE=make build [2024-10-22T06:06:51.815Z] ---> Running in d9954292d041 [2024-10-22T06:06:51.815Z] Removing intermediate container d9954292d041 [2024-10-22T06:06:51.815Z] ---> 67be5687ebb7 [2024-10-22T06:06:51.815Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-22T06:06:51.815Z] ---> Running in f755616c7448 [2024-10-22T06:06:51.815Z] Removing intermediate container f755616c7448 [2024-10-22T06:06:51.815Z] ---> ef6124fae7ad [2024-10-22T06:06:51.815Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-22T06:06:51.815Z] ---> Running in ff073ca63a91 [2024-10-22T06:06:52.075Z] Removing intermediate container ff073ca63a91 [2024-10-22T06:06:52.075Z] ---> 7e431a52fa12 [2024-10-22T06:06:52.075Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-22T06:06:52.075Z] ---> Running in 1dd01a71847a [2024-10-22T06:06:52.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-22T06:06:52.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-22T06:06:52.860Z] OK: 246 MiB in 54 packages [2024-10-22T06:06:53.118Z] Removing intermediate container 1dd01a71847a [2024-10-22T06:06:53.118Z] ---> ece0a8c6f0d4 [2024-10-22T06:06:53.118Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-22T06:06:53.118Z] ---> 22a64c089c8c [2024-10-22T06:06:53.118Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-22T06:06:53.118Z] ---> Running in c4d4a674ca8f [2024-10-22T06:06:53.193Z] Still waiting to schedule task [2024-10-22T06:06:53.193Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-23470’ [2024-10-22T06:07:40.155Z] Removing intermediate container c4d4a674ca8f [2024-10-22T06:07:40.155Z] ---> 754c8c6ac522 [2024-10-22T06:07:40.155Z] Step 9/10 : COPY . . [2024-10-22T06:07:41.196Z] ---> 69ceb9ff127c [2024-10-22T06:07:41.196Z] Step 10/10 : RUN ${MAKE} [2024-10-22T06:07:41.196Z] ---> Running in 6eefd3565a2f [2024-10-22T06:07:41.464Z] noop [2024-10-22T06:07:41.725Z] Removing intermediate container 6eefd3565a2f [2024-10-22T06:07:41.725Z] ---> 7557335cbc15 [2024-10-22T06:07:41.725Z] Successfully built 7557335cbc15 [2024-10-22T06:07:41.725Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T06:07:42.210Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-22T06:07:42.210Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T06:07:42.375Z] prd-ubuntu20.04-docker-8c-8g-23472 does not seem to be running inside a container [2024-10-22T06:07:42.404Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1641 -v /w/workspace/gexfoundry_device-sdk-go_PR-1641:/w/workspace/gexfoundry_device-sdk-go_PR-1641:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1641@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-x86_64 cat [2024-10-22T06:07:42.809Z] $ docker top 0cf0cc9cb4c70dc0450cea1eb447d7dac87593aefb00df868da4eeba7f6360df -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T06:07:43.229Z] + go version [2024-10-22T06:07:43.229Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-22T06:07:43.267Z] $ docker stop --time=1 0cf0cc9cb4c70dc0450cea1eb447d7dac87593aefb00df868da4eeba7f6360df [2024-10-22T06:07:44.567Z] $ docker rm -f --volumes 0cf0cc9cb4c70dc0450cea1eb447d7dac87593aefb00df868da4eeba7f6360df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T06:07:45.459Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-22T06:07:45.459Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T06:07:45.648Z] prd-ubuntu20.04-docker-8c-8g-23472 does not seem to be running inside a container [2024-10-22T06:07:45.678Z] $ 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-1641 -v /w/workspace/gexfoundry_device-sdk-go_PR-1641:/w/workspace/gexfoundry_device-sdk-go_PR-1641:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1641@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-x86_64 cat [2024-10-22T06:07:45.991Z] $ docker top 2eb94a3cf4f2fc106599884817f6f72f0e24bf64442f55be933b82618ae5bad0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T06:07:46.401Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1641 [Pipeline] fileExists [Pipeline] sh [2024-10-22T06:07:46.793Z] + make test [2024-10-22T06:07:46.793Z] go test -race -coverprofile=coverage.out ./... [2024-10-22T06:07:54.916Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-22T06:08:22.956Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-22T06:08:22.956Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-22T06:08:22.956Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-22T06:08:22.956Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-22T06:08:22.956Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-22T06:08:22.956Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.028s coverage: 26.0% of statements [2024-10-22T06:08:22.956Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.032s coverage: 79.4% of statements [2024-10-22T06:08:22.956Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-22T06:08:22.956Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-22T06:08:22.956Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-22T06:08:22.956Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.047s coverage: 86.0% of statements [2024-10-22T06:08:22.956Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-22T06:08:22.956Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-22T06:08:22.956Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-22T06:08:22.956Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.124s coverage: 45.2% of statements [2024-10-22T06:08:23.892Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-22T06:08:25.873Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.041s coverage: 14.1% of statements [2024-10-22T06:08:25.873Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.159s coverage: 44.6% of statements [2024-10-22T06:08:25.873Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.058s coverage: 68.4% of statements [2024-10-22T06:08:25.873Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.094s coverage: 88.3% of statements [2024-10-22T06:08:25.873Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.053s coverage: 5.3% of statements [2024-10-22T06:08:57.952Z] GO111MODULE=on go vet ./... [2024-10-22T06:09:01.236Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-22T06:09:01.236Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-22T06:09:01.236Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-22T06:09:01.282Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-22T06:09:01.326Z] $ docker stop --time=1 2eb94a3cf4f2fc106599884817f6f72f0e24bf64442f55be933b82618ae5bad0 [2024-10-22T06:09:05.375Z] $ docker rm -f --volumes 2eb94a3cf4f2fc106599884817f6f72f0e24bf64442f55be933b82618ae5bad0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-22T06:09:07.838Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-22T06:09:07.949Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-22T06:09:08.705Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-22T06:09:09.021Z] + ls -al . [2024-10-22T06:09:09.021Z] total 716 [2024-10-22T06:09:09.021Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 22 06:07 . [2024-10-22T06:09:09.021Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 06:06 .. [2024-10-22T06:09:09.021Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 22 06:06 .dockerignore [2024-10-22T06:09:09.021Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 06:08 .git [2024-10-22T06:09:09.021Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 06:06 .github [2024-10-22T06:09:09.021Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 22 06:06 .gitignore [2024-10-22T06:09:09.021Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 22 06:06 .golangci.yml [2024-10-22T06:09:09.021Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 06:06 .semver [2024-10-22T06:09:09.021Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 22 06:06 CHANGELOG.md [2024-10-22T06:09:09.021Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 06:06 GOVERNANCE.md [2024-10-22T06:09:09.021Z] -rw-rw-r-- 1 jenkins jenkins 882 Oct 22 06:06 Jenkinsfile [2024-10-22T06:09:09.021Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 22 06:06 LICENSE [2024-10-22T06:09:09.021Z] -rw-rw-r-- 1 jenkins jenkins 2379 Oct 22 06:06 Makefile [2024-10-22T06:09:09.021Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 22 06:06 OWNERS.md [2024-10-22T06:09:09.021Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 22 06:06 README.md [2024-10-22T06:09:09.021Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 06:06 VERSION [2024-10-22T06:09:09.021Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 06:06 bin [2024-10-22T06:09:09.021Z] -rw-r--r-- 1 jenkins jenkins 467901 Oct 22 06:08 coverage.out [2024-10-22T06:09:09.021Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 22 06:06 example [2024-10-22T06:09:09.021Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 22 06:06 go.mod [2024-10-22T06:09:09.021Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 22 06:06 go.sum [2024-10-22T06:09:09.021Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 22 06:06 internal [2024-10-22T06:09:09.021Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 06:06 openapi [2024-10-22T06:09:09.021Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 22 06:06 pkg [2024-10-22T06:09:09.021Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 06:06 snap [2024-10-22T06:09:09.021Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 22 06:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T06:09:09.445Z] + 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=8f827bd74a4c847a61608dcbc9d76980c13265ba --label arch=amd64 --label version=0.0.0 . [2024-10-22T06:09:09.445Z] Sending build context to Docker daemon 25.96MB [2024-10-22T06:09:09.445Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-22T06:09:09.445Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-22T06:09:09.445Z] ---> 7557335cbc15 [2024-10-22T06:09:09.445Z] Step 3/24 : ARG MAKE=make build [2024-10-22T06:09:10.010Z] ---> Running in a207c0901406 [2024-10-22T06:09:10.010Z] Removing intermediate container a207c0901406 [2024-10-22T06:09:10.010Z] ---> 4e1930ba3ca3 [2024-10-22T06:09:10.010Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-22T06:09:10.010Z] ---> Running in 6edc869792e4 [2024-10-22T06:09:10.010Z] Removing intermediate container 6edc869792e4 [2024-10-22T06:09:10.010Z] ---> 38b63ef31382 [2024-10-22T06:09:10.010Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-22T06:09:10.010Z] ---> Running in c6a9c8355426 [2024-10-22T06:09:10.269Z] Removing intermediate container c6a9c8355426 [2024-10-22T06:09:10.269Z] ---> fbf607a2a839 [2024-10-22T06:09:10.269Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-22T06:09:10.269Z] ---> Running in 40eea709f5eb [2024-10-22T06:09:10.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-22T06:09:10.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-22T06:09:10.787Z] OK: 246 MiB in 54 packages [2024-10-22T06:09:11.058Z] Removing intermediate container 40eea709f5eb [2024-10-22T06:09:11.058Z] ---> b62ce7806c28 [2024-10-22T06:09:11.058Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-22T06:09:11.317Z] ---> 3aa7077e9f75 [2024-10-22T06:09:11.317Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-22T06:09:11.317Z] ---> Running in 0decae66c161 [2024-10-22T06:09:11.884Z] Removing intermediate container 0decae66c161 [2024-10-22T06:09:11.884Z] ---> 3abc24f68df4 [2024-10-22T06:09:11.884Z] Step 9/24 : COPY . . [2024-10-22T06:09:12.822Z] ---> 16633b45c179 [2024-10-22T06:09:12.822Z] Step 10/24 : RUN ${MAKE} [2024-10-22T06:09:12.822Z] ---> Running in b394e912b42e [2024-10-22T06:09:13.081Z] 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 -ldflags "-bindnow" -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-10-22T06:09:46.034Z] Removing intermediate container b394e912b42e [2024-10-22T06:09:46.034Z] ---> 4c09f42df9f5 [2024-10-22T06:09:46.034Z] Step 11/24 : FROM alpine:3.20 [2024-10-22T06:09:46.034Z] 3.20: Pulling from library/alpine [2024-10-22T06:09:46.034Z] 43c4264eed91: Already exists [2024-10-22T06:09:46.034Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-22T06:09:46.034Z] Status: Downloaded newer image for alpine:3.20 [2024-10-22T06:09:46.034Z] ---> 91ef0af61f39 [2024-10-22T06:09:46.034Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-22T06:09:46.034Z] ---> Running in 07cc8f16a9f3 [2024-10-22T06:09:46.034Z] Removing intermediate container 07cc8f16a9f3 [2024-10-22T06:09:46.034Z] ---> ef55f75c6fd6 [2024-10-22T06:09:46.034Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-22T06:09:46.034Z] ---> Running in d40c9e45d9fd [2024-10-22T06:09:46.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-22T06:09:46.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-22T06:09:46.034Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-22T06:09:46.034Z] Executing busybox-1.36.1-r29.trigger [2024-10-22T06:09:46.034Z] OK: 8 MiB in 15 packages [2024-10-22T06:09:46.034Z] Removing intermediate container d40c9e45d9fd [2024-10-22T06:09:46.034Z] ---> 898f2dd4e59e [2024-10-22T06:09:46.034Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-22T06:09:46.034Z] ---> Running in fe6afd1de369 [2024-10-22T06:09:46.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-22T06:09:46.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-22T06:09:46.034Z] Upgrading critical system libraries and apk-tools: [2024-10-22T06:09:46.034Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-22T06:09:46.034Z] Executing busybox-1.36.1-r29.trigger [2024-10-22T06:09:46.034Z] Continuing the upgrade transaction with new apk-tools: [2024-10-22T06:09:46.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-22T06:09:46.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-22T06:09:46.552Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-22T06:09:46.552Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-22T06:09:46.552Z] OK: 8 MiB in 15 packages [2024-10-22T06:09:47.118Z] Removing intermediate container fe6afd1de369 [2024-10-22T06:09:47.118Z] ---> d312c7ed14d2 [2024-10-22T06:09:47.118Z] Step 15/24 : WORKDIR / [2024-10-22T06:09:47.118Z] ---> Running in 4fd2c1bbf909 [2024-10-22T06:09:47.118Z] Removing intermediate container 4fd2c1bbf909 [2024-10-22T06:09:47.118Z] ---> 75b506fb7800 [2024-10-22T06:09:47.118Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-22T06:09:47.118Z] ---> 51158f3c3107 [2024-10-22T06:09:47.118Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-22T06:09:48.494Z] ---> 2573e06b01c5 [2024-10-22T06:09:48.494Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-22T06:09:48.754Z] ---> d8db68dc5f35 [2024-10-22T06:09:48.754Z] Step 19/24 : EXPOSE 59999 [2024-10-22T06:09:48.754Z] ---> Running in 47bb8547444a [2024-10-22T06:09:48.754Z] Removing intermediate container 47bb8547444a [2024-10-22T06:09:48.754Z] ---> b904519502f4 [2024-10-22T06:09:48.754Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-22T06:09:48.754Z] ---> Running in a2c535833c5b [2024-10-22T06:09:49.013Z] Removing intermediate container a2c535833c5b [2024-10-22T06:09:49.013Z] ---> c0c83c74bb37 [2024-10-22T06:09:49.013Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-22T06:09:49.013Z] ---> Running in b98f6d541c62 [2024-10-22T06:09:49.013Z] Removing intermediate container b98f6d541c62 [2024-10-22T06:09:49.013Z] ---> ab7d301ae6d5 [2024-10-22T06:09:49.013Z] Step 22/24 : LABEL arch=amd64 [2024-10-22T06:09:49.013Z] ---> Running in e93a94580173 [2024-10-22T06:09:49.013Z] Removing intermediate container e93a94580173 [2024-10-22T06:09:49.013Z] ---> 25ffcbc4d190 [2024-10-22T06:09:49.013Z] Step 23/24 : LABEL git_sha=8f827bd74a4c847a61608dcbc9d76980c13265ba [2024-10-22T06:09:49.013Z] ---> Running in 82304c7afd8b [2024-10-22T06:09:49.274Z] Removing intermediate container 82304c7afd8b [2024-10-22T06:09:49.274Z] ---> 8caf562de8bf [2024-10-22T06:09:49.274Z] Step 24/24 : LABEL version=0.0.0 [2024-10-22T06:09:49.274Z] ---> Running in 61ecd000b18a [2024-10-22T06:09:49.274Z] Removing intermediate container 61ecd000b18a [2024-10-22T06:09:49.274Z] ---> 69a0f06f9062 [2024-10-22T06:09:49.274Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-22T06:09:49.274Z] Successfully built 69a0f06f9062 [2024-10-22T06:09:49.274Z] 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-10-22T06:09:50.324Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T06:09:50.324Z] [2024-10-22T06:09:50.324Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T06:09:50.730Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T06:09:50.730Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-22T06:09:50.730Z] 5eb5b503b376: Pulling fs layer [2024-10-22T06:09:50.730Z] 5c69ac0246d0: Pulling fs layer [2024-10-22T06:09:50.730Z] ec43610c2a17: Pulling fs layer [2024-10-22T06:09:50.730Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-22T06:09:50.730Z] 33b1e0a273af: Pulling fs layer [2024-10-22T06:09:50.730Z] 5d3b04190fa2: Pulling fs layer [2024-10-22T06:09:50.730Z] 2f39f015ded8: Pulling fs layer [2024-10-22T06:09:50.730Z] 33b1e0a273af: Waiting [2024-10-22T06:09:50.730Z] 5d3b04190fa2: Waiting [2024-10-22T06:09:50.730Z] 3a2ae6a8a46f: Waiting [2024-10-22T06:09:50.730Z] 2f39f015ded8: Waiting [2024-10-22T06:09:50.730Z] 5c69ac0246d0: Download complete [2024-10-22T06:09:50.730Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-22T06:09:50.730Z] 3a2ae6a8a46f: Download complete [2024-10-22T06:09:50.730Z] 33b1e0a273af: Verifying Checksum [2024-10-22T06:09:50.730Z] 33b1e0a273af: Download complete [2024-10-22T06:09:50.730Z] 5d3b04190fa2: Verifying Checksum [2024-10-22T06:09:50.730Z] 5d3b04190fa2: Download complete [2024-10-22T06:09:50.730Z] ec43610c2a17: Download complete [2024-10-22T06:09:50.988Z] 5eb5b503b376: Verifying Checksum [2024-10-22T06:09:50.988Z] 5eb5b503b376: Download complete [2024-10-22T06:09:51.562Z] 2f39f015ded8: Download complete [2024-10-22T06:09:52.131Z] 5eb5b503b376: Pull complete [2024-10-22T06:09:52.131Z] 5c69ac0246d0: Pull complete [2024-10-22T06:09:52.389Z] ec43610c2a17: Pull complete [2024-10-22T06:09:52.648Z] 3a2ae6a8a46f: Pull complete [2024-10-22T06:09:52.908Z] 33b1e0a273af: Pull complete [2024-10-22T06:09:52.908Z] 5d3b04190fa2: Pull complete [2024-10-22T06:09:57.114Z] 2f39f015ded8: Pull complete [2024-10-22T06:09:57.114Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-22T06:09:57.114Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T06:09:57.114Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T06:09:57.399Z] prd-ubuntu20.04-docker-8c-8g-23472 does not seem to be running inside a container [2024-10-22T06:09:57.433Z] $ 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-1641 -v /w/workspace/gexfoundry_device-sdk-go_PR-1641:/w/workspace/gexfoundry_device-sdk-go_PR-1641:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1641@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-10-22T06:10:00.152Z] $ docker top 9ef1c1f887b3f1f25588114546674c800030b7e44b594d554c676b61b59a627c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T06:10:00.657Z] ---> job-cost.sh [2024-10-22T06:10:00.657Z] lf-activate-venv: SKIPPING [2024-10-22T06:10:00.657Z] INFO: No Stack... [2024-10-22T06:10:00.917Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-22T06:10:01.485Z] INFO: Archiving Costs [Pipeline] sh [2024-10-22T06:10:01.813Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1641/archives/cost.csv [2024-10-22T06:10:01.813Z] + cut -d, -f6 [Pipeline] lock [2024-10-22T06:10:01.863Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1641-1-stack-cost] [2024-10-22T06:10:01.870Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1641-1-stack-cost] did not exist. Created. [2024-10-22T06:10:01.877Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1641-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-22T06:10:02.282Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-22T06:10:02.352Z] Stashed 1 file(s) [Pipeline] } [2024-10-22T06:10:02.370Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1641-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-22T06:10:02.463Z] $ docker stop --time=1 9ef1c1f887b3f1f25588114546674c800030b7e44b594d554c676b61b59a627c [2024-10-22T06:10:03.613Z] $ docker rm -f --volumes 9ef1c1f887b3f1f25588114546674c800030b7e44b594d554c676b61b59a627c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-22T06:10:46.759Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23473 in /w/workspace/gexfoundry_device-sdk-go_PR-1641 [Pipeline] { [Pipeline] ws [2024-10-22T06:10:47.108Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-10-22T06:10:50.211Z] The recommended git tool is: git [2024-10-22T06:10:55.717Z] using credential edgex-jenkins-ssh [2024-10-22T06:10:55.743Z] Cloning the remote Git repository [2024-10-22T06:10:55.798Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-10-22T06:10:55.907Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-10-22T06:10:56.085Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-22T06:10:56.086Z] > git --version # timeout=10 [2024-10-22T06:10:56.110Z] > git --version # 'git version 2.25.1' [2024-10-22T06:10:56.113Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-22T06:10:56.280Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-22T06:10:59.961Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-22T06:11:00.004Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-22T06:11:01.694Z] Merging remotes/origin/main commit 791e3808a6f22236528886c5f30bc95897a4d2de into PR head commit 8f827bd74a4c847a61608dcbc9d76980c13265ba [2024-10-22T06:11:00.981Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-22T06:11:01.028Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-22T06:11:01.029Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-22T06:11:01.056Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1641/head:refs/remotes/origin/PR-1641 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-22T06:11:01.724Z] > git config core.sparsecheckout # timeout=10 [2024-10-22T06:11:01.814Z] > git checkout -f 8f827bd74a4c847a61608dcbc9d76980c13265ba # timeout=10 [2024-10-22T06:11:02.076Z] Merge succeeded, producing 8f827bd74a4c847a61608dcbc9d76980c13265ba [2024-10-22T06:11:02.077Z] Checking out Revision 8f827bd74a4c847a61608dcbc9d76980c13265ba (PR-1641) [2024-10-22T06:11:01.944Z] > git remote # timeout=10 [2024-10-22T06:11:01.966Z] > git config --get remote.origin.url # timeout=10 [2024-10-22T06:11:01.997Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-22T06:11:02.020Z] > git merge 791e3808a6f22236528886c5f30bc95897a4d2de # timeout=10 [2024-10-22T06:11:02.050Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-22T06:11:02.088Z] > git config core.sparsecheckout # timeout=10 [2024-10-22T06:11:02.104Z] > git checkout -f 8f827bd74a4c847a61608dcbc9d76980c13265ba # timeout=10 [2024-10-22T06:11:05.805Z] Commit message: "fix: Move API document files from openapi/v3 to openapi" [2024-10-22T06:11:05.873Z] > git --version # timeout=10 [2024-10-22T06:11:05.951Z] > git --version # 'git version 2.25.1' [2024-10-22T06:11:06.011Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-22T06:11:08.240Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-22T06:11:08.240Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-22T06:11:08.240Z] Dload Upload Total Spent Left Speed [2024-10-22T06:11:08.240Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98k 0 --:--:-- --:--:-- --:--:-- 97k [Pipeline] sh [2024-10-22T06:11:08.609Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-22T06:11:08.974Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-22T06:11:08.975Z] + sudo tee /etc/docker/daemon.new [2024-10-22T06:11:08.975Z] { [2024-10-22T06:11:08.975Z] "registry-mirrors": [ [2024-10-22T06:11:08.975Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-22T06:11:08.975Z] ], [2024-10-22T06:11:08.975Z] "bip": "10.250.0.254/24", [2024-10-22T06:11:08.975Z] "hosts": [ [2024-10-22T06:11:08.975Z] "tcp://0.0.0.0:5555", [2024-10-22T06:11:08.975Z] "unix:///var/run/docker.sock" [2024-10-22T06:11:08.975Z] ], [2024-10-22T06:11:08.975Z] "mtu": 1458, [2024-10-22T06:11:08.975Z] "selinux-enabled": true, [2024-10-22T06:11:08.975Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-22T06:11:08.975Z] } [Pipeline] sh [2024-10-22T06:11:09.342Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-22T06:11:09.716Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-22T06:11:28.129Z] provisioning config files... [2024-10-22T06:11:28.173Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config11820284295487796945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T06:11:28.725Z] ---> ****-login.sh [2024-10-22T06:11:28.725Z] nexus3.edgexfoundry.org:10001 [2024-10-22T06:11:29.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T06:11:29.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T06:11:29.594Z] Configure a credential helper to remove this warning. See [2024-10-22T06:11:29.594Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T06:11:29.594Z] [2024-10-22T06:11:29.594Z] Login Succeeded [2024-10-22T06:11:29.594Z] nexus3.edgexfoundry.org:10002 [2024-10-22T06:11:29.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T06:11:29.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T06:11:29.872Z] Configure a credential helper to remove this warning. See [2024-10-22T06:11:29.872Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T06:11:29.872Z] [2024-10-22T06:11:29.872Z] Login Succeeded [2024-10-22T06:11:29.872Z] nexus3.edgexfoundry.org:10003 [2024-10-22T06:11:30.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T06:11:30.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T06:11:30.431Z] Configure a credential helper to remove this warning. See [2024-10-22T06:11:30.431Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T06:11:30.431Z] [2024-10-22T06:11:30.431Z] Login Succeeded [2024-10-22T06:11:30.431Z] nexus3.edgexfoundry.org:10004 [2024-10-22T06:11:30.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T06:11:30.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T06:11:30.704Z] Configure a credential helper to remove this warning. See [2024-10-22T06:11:30.704Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T06:11:30.704Z] [2024-10-22T06:11:30.704Z] Login Succeeded [2024-10-22T06:11:30.704Z] ****.io [2024-10-22T06:11:30.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T06:11:32.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T06:11:32.952Z] Configure a credential helper to remove this warning. See [2024-10-22T06:11:32.952Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T06:11:32.952Z] [2024-10-22T06:11:32.952Z] Login Succeeded [2024-10-22T06:11:32.952Z] ---> ****-login.sh ends [Pipeline] } [2024-10-22T06:11:32.990Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-22T06:11:33.496Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T06:11:33.545Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T06:11:33.594Z] ========================================================= [2024-10-22T06:11:33.594Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-22T06:11:33.594Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T06:11:34.160Z] + 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.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-22T06:11:34.752Z] Sending build context to Docker daemon 13.21MB [2024-10-22T06:11:34.752Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-22T06:11:34.752Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-22T06:11:35.023Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-22T06:11:35.023Z] cf04c63912e1: Pulling fs layer [2024-10-22T06:11:35.023Z] 55b35a11ae5e: Pulling fs layer [2024-10-22T06:11:35.023Z] a37a00ec5f00: Pulling fs layer [2024-10-22T06:11:35.023Z] 50b3750afda1: Pulling fs layer [2024-10-22T06:11:35.023Z] 4f4fb700ef54: Pulling fs layer [2024-10-22T06:11:35.023Z] 80978eb59214: Pulling fs layer [2024-10-22T06:11:35.023Z] c9f46d7d2bd2: Pulling fs layer [2024-10-22T06:11:35.023Z] c5a475d317c9: Pulling fs layer [2024-10-22T06:11:35.023Z] 4f4fb700ef54: Waiting [2024-10-22T06:11:35.023Z] c9f46d7d2bd2: Waiting [2024-10-22T06:11:35.023Z] 50b3750afda1: Waiting [2024-10-22T06:11:35.023Z] 55b35a11ae5e: Verifying Checksum [2024-10-22T06:11:35.023Z] 55b35a11ae5e: Download complete [2024-10-22T06:11:35.023Z] 50b3750afda1: Verifying Checksum [2024-10-22T06:11:35.023Z] 50b3750afda1: Download complete [2024-10-22T06:11:35.023Z] 4f4fb700ef54: Verifying Checksum [2024-10-22T06:11:35.023Z] 4f4fb700ef54: Download complete [2024-10-22T06:11:35.023Z] 80978eb59214: Verifying Checksum [2024-10-22T06:11:35.023Z] 80978eb59214: Download complete [2024-10-22T06:11:35.296Z] cf04c63912e1: Verifying Checksum [2024-10-22T06:11:35.296Z] cf04c63912e1: Download complete [2024-10-22T06:11:35.571Z] c5a475d317c9: Verifying Checksum [2024-10-22T06:11:35.571Z] c5a475d317c9: Download complete [2024-10-22T06:11:36.167Z] cf04c63912e1: Pull complete [2024-10-22T06:11:36.762Z] 55b35a11ae5e: Pull complete [2024-10-22T06:11:37.353Z] a37a00ec5f00: Verifying Checksum [2024-10-22T06:11:37.353Z] a37a00ec5f00: Download complete [2024-10-22T06:11:37.946Z] c9f46d7d2bd2: Verifying Checksum [2024-10-22T06:11:37.946Z] c9f46d7d2bd2: Download complete [2024-10-22T06:11:52.979Z] a37a00ec5f00: Pull complete [2024-10-22T06:11:52.979Z] 50b3750afda1: Pull complete [2024-10-22T06:11:52.979Z] 4f4fb700ef54: Pull complete [2024-10-22T06:11:52.979Z] 80978eb59214: Pull complete [2024-10-22T06:12:01.209Z] c9f46d7d2bd2: Pull complete [2024-10-22T06:12:02.172Z] c5a475d317c9: Pull complete [2024-10-22T06:12:02.172Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-22T06:12:02.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-22T06:12:02.172Z] ---> be29e6b0f0d4 [2024-10-22T06:12:02.172Z] Step 3/10 : ARG MAKE=make build [2024-10-22T06:12:04.766Z] ---> Running in 1481ad85e888 [2024-10-22T06:12:04.766Z] Removing intermediate container 1481ad85e888 [2024-10-22T06:12:04.766Z] ---> 573eeeaac9a8 [2024-10-22T06:12:04.766Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-22T06:12:04.766Z] ---> Running in 6df1aa41bb70 [2024-10-22T06:12:05.035Z] Removing intermediate container 6df1aa41bb70 [2024-10-22T06:12:05.035Z] ---> 8f722c3bc2ef [2024-10-22T06:12:05.035Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-22T06:12:05.035Z] ---> Running in 070bf73300f4 [2024-10-22T06:12:05.306Z] Removing intermediate container 070bf73300f4 [2024-10-22T06:12:05.306Z] ---> c49bfe60ecf3 [2024-10-22T06:12:05.306Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-22T06:12:05.574Z] ---> Running in 809af9f9e621 [2024-10-22T06:12:06.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-22T06:12:07.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-22T06:12:08.545Z] OK: 238 MiB in 54 packages [2024-10-22T06:12:09.505Z] Removing intermediate container 809af9f9e621 [2024-10-22T06:12:09.505Z] ---> 70b3478e1677 [2024-10-22T06:12:09.505Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-22T06:12:10.090Z] ---> 3420fe2caaf8 [2024-10-22T06:12:10.090Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-22T06:12:10.362Z] ---> Running in 2ca63fd73ca5 [2024-10-22T06:14:02.076Z] Removing intermediate container 2ca63fd73ca5 [2024-10-22T06:14:02.076Z] ---> aebf5aae4dca [2024-10-22T06:14:02.076Z] Step 9/10 : COPY . . [2024-10-22T06:14:02.076Z] ---> 8ad0d416c18d [2024-10-22T06:14:02.076Z] Step 10/10 : RUN ${MAKE} [2024-10-22T06:14:02.076Z] ---> Running in 33989929bec8 [2024-10-22T06:14:03.043Z] noop [2024-10-22T06:14:03.631Z] Removing intermediate container 33989929bec8 [2024-10-22T06:14:03.631Z] ---> 64939fa32262 [2024-10-22T06:14:03.631Z] Successfully built 64939fa32262 [2024-10-22T06:14:03.631Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T06:14:04.144Z] + docker inspect -f . ci-base-image-arm64 [2024-10-22T06:14:04.144Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T06:14:04.480Z] prd-ubuntu20.04-docker-arm64-4c-16g-23473 does not seem to be running inside a container [2024-10-22T06:14:04.552Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-22T06:14:05.807Z] $ docker top 0fb3fe2083466edf39a282364daf41bc944f255b0ea5d51e72673c27f3dc7827 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T06:14:06.728Z] + go version [2024-10-22T06:14:06.728Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-22T06:14:06.777Z] $ docker stop --time=1 0fb3fe2083466edf39a282364daf41bc944f255b0ea5d51e72673c27f3dc7827 [2024-10-22T06:14:08.445Z] $ docker rm -f --volumes 0fb3fe2083466edf39a282364daf41bc944f255b0ea5d51e72673c27f3dc7827 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T06:14:09.447Z] + docker inspect -f . ci-base-image-arm64 [2024-10-22T06:14:09.447Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T06:14:09.750Z] prd-ubuntu20.04-docker-arm64-4c-16g-23473 does not seem to be running inside a container [2024-10-22T06:14:09.827Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-22T06:14:11.126Z] $ docker top 2b8f49b3529be1ceb80a7c90f9ac38c4367034096228f51a43e7fbbcc352aad3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T06:14:12.050Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-22T06:14:12.785Z] + make test [2024-10-22T06:14:12.785Z] go test -race -coverprofile=coverage.out ./... [2024-10-22T06:15:09.244Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-22T06:19:01.278Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-22T06:19:01.278Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-22T06:19:01.278Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-22T06:19:01.278Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-22T06:19:01.278Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-22T06:19:07.966Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.164s coverage: 26.0% of statements [2024-10-22T06:19:12.376Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.192s coverage: 79.4% of statements [2024-10-22T06:19:22.464Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-22T06:19:22.464Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-22T06:19:23.427Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.304s coverage: 86.0% of statements [2024-10-22T06:19:28.792Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-22T06:19:30.750Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.932s coverage: 45.2% of statements [2024-10-22T06:19:36.116Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.298s coverage: 14.1% of statements [2024-10-22T06:19:37.079Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.169s coverage: 44.6% of statements [2024-10-22T06:19:40.433Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-22T06:19:40.433Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-22T06:19:40.433Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-22T06:19:41.399Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.431s coverage: 68.4% of statements [2024-10-22T06:19:48.060Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.389s coverage: 88.3% of statements [2024-10-22T06:19:54.724Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-22T06:19:55.688Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.354s coverage: 5.3% of statements [2024-10-22T06:19:57.633Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-22T06:19:57.633Z] GO111MODULE=on go vet ./... [2024-10-22T06:24:19.523Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-22T06:24:19.523Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-22T06:24:19.523Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-22T06:24:19.570Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-22T06:24:19.621Z] $ docker stop --time=1 2b8f49b3529be1ceb80a7c90f9ac38c4367034096228f51a43e7fbbcc352aad3 [2024-10-22T06:24:21.872Z] $ docker rm -f --volumes 2b8f49b3529be1ceb80a7c90f9ac38c4367034096228f51a43e7fbbcc352aad3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-22T06:24:24.812Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-22T06:24:24.854Z] Warning: overwriting stash ‘coverage-report’ [2024-10-22T06:24:25.724Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-22T06:24:26.398Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-22T06:24:26.750Z] + ls -al . [2024-10-22T06:24:26.750Z] total 712 [2024-10-22T06:24:26.750Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 22 06:14 . [2024-10-22T06:24:26.750Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 06:10 .. [2024-10-22T06:24:26.750Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 22 06:11 .dockerignore [2024-10-22T06:24:26.750Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 06:11 .git [2024-10-22T06:24:26.750Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 06:11 .github [2024-10-22T06:24:26.750Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 22 06:11 .gitignore [2024-10-22T06:24:26.750Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 22 06:11 .golangci.yml [2024-10-22T06:24:26.750Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 22 06:11 CHANGELOG.md [2024-10-22T06:24:26.750Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 06:11 GOVERNANCE.md [2024-10-22T06:24:26.750Z] -rw-rw-r-- 1 jenkins jenkins 882 Oct 22 06:11 Jenkinsfile [2024-10-22T06:24:26.750Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 22 06:11 LICENSE [2024-10-22T06:24:26.750Z] -rw-rw-r-- 1 jenkins jenkins 2379 Oct 22 06:11 Makefile [2024-10-22T06:24:26.750Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 22 06:11 OWNERS.md [2024-10-22T06:24:26.750Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 22 06:11 README.md [2024-10-22T06:24:26.750Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 06:06 VERSION [2024-10-22T06:24:26.750Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 06:11 bin [2024-10-22T06:24:26.750Z] -rw-r--r-- 1 jenkins jenkins 467900 Oct 22 06:19 coverage.out [2024-10-22T06:24:26.750Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 22 06:11 example [2024-10-22T06:24:26.750Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 22 06:11 go.mod [2024-10-22T06:24:26.750Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 22 06:11 go.sum [2024-10-22T06:24:26.750Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 22 06:11 internal [2024-10-22T06:24:26.750Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 06:11 openapi [2024-10-22T06:24:26.750Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 22 06:11 pkg [2024-10-22T06:24:26.750Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 06:11 snap [2024-10-22T06:24:26.750Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 22 06:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T06:24:27.212Z] + 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=8f827bd74a4c847a61608dcbc9d76980c13265ba --label arch=arm64 --label version=0.0.0 . [2024-10-22T06:24:27.798Z] Sending build context to Docker daemon 13.68MB [2024-10-22T06:24:27.798Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-22T06:24:27.798Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-22T06:24:27.798Z] ---> 64939fa32262 [2024-10-22T06:24:27.798Z] Step 3/24 : ARG MAKE=make build [2024-10-22T06:24:28.069Z] ---> Running in 4b4d51339ca1 [2024-10-22T06:24:28.343Z] Removing intermediate container 4b4d51339ca1 [2024-10-22T06:24:28.343Z] ---> 834a92b85662 [2024-10-22T06:24:28.343Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-22T06:24:28.614Z] ---> Running in f98c77cfff51 [2024-10-22T06:24:28.884Z] Removing intermediate container f98c77cfff51 [2024-10-22T06:24:28.884Z] ---> 8bec24408ab1 [2024-10-22T06:24:28.884Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-22T06:24:28.884Z] ---> Running in a1e5c7dc8668 [2024-10-22T06:24:29.478Z] Removing intermediate container a1e5c7dc8668 [2024-10-22T06:24:29.478Z] ---> 768a7f3f8fa1 [2024-10-22T06:24:29.478Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-22T06:24:29.478Z] ---> Running in 896a0f874f95 [2024-10-22T06:24:30.444Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-22T06:24:31.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-22T06:24:32.982Z] OK: 238 MiB in 54 packages [2024-10-22T06:24:33.948Z] Removing intermediate container 896a0f874f95 [2024-10-22T06:24:33.948Z] ---> b1810f249449 [2024-10-22T06:24:33.948Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-22T06:24:34.541Z] ---> 28ba46874f11 [2024-10-22T06:24:34.541Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-22T06:24:34.824Z] ---> Running in 039a27394111 [2024-10-22T06:24:37.421Z] Removing intermediate container 039a27394111 [2024-10-22T06:24:37.421Z] ---> d148c268aa78 [2024-10-22T06:24:37.421Z] Step 9/24 : COPY . . [2024-10-22T06:24:39.387Z] ---> 020d6ba80e19 [2024-10-22T06:24:39.387Z] Step 10/24 : RUN ${MAKE} [2024-10-22T06:24:39.387Z] ---> Running in d4079c0b10ec [2024-10-22T06:24:40.354Z] 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 -ldflags "-bindnow" -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-10-22T06:28:47.217Z] Removing intermediate container d4079c0b10ec [2024-10-22T06:28:47.217Z] ---> eeb8bc684d69 [2024-10-22T06:28:47.217Z] Step 11/24 : FROM alpine:3.20 [2024-10-22T06:28:47.217Z] 3.20: Pulling from library/alpine [2024-10-22T06:28:47.217Z] cf04c63912e1: Already exists [2024-10-22T06:28:47.217Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-22T06:28:47.217Z] Status: Downloaded newer image for alpine:3.20 [2024-10-22T06:28:47.217Z] ---> c157a85ed455 [2024-10-22T06:28:47.217Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-22T06:28:47.217Z] ---> Running in e47143a2a5a1 [2024-10-22T06:28:47.217Z] Removing intermediate container e47143a2a5a1 [2024-10-22T06:28:47.217Z] ---> 5ffed3fc8af1 [2024-10-22T06:28:47.217Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-22T06:28:47.217Z] ---> Running in 813add48c92f [2024-10-22T06:28:47.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-22T06:28:47.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-22T06:28:47.813Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-22T06:28:47.813Z] Executing busybox-1.36.1-r29.trigger [2024-10-22T06:28:47.813Z] OK: 9 MiB in 15 packages [2024-10-22T06:28:49.243Z] Removing intermediate container 813add48c92f [2024-10-22T06:28:49.243Z] ---> 86dd499da521 [2024-10-22T06:28:49.243Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-22T06:28:49.243Z] ---> Running in d8843be14087 [2024-10-22T06:28:50.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-22T06:28:50.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-22T06:28:52.456Z] Upgrading critical system libraries and apk-tools: [2024-10-22T06:28:52.456Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-22T06:28:52.456Z] Executing busybox-1.36.1-r29.trigger [2024-10-22T06:28:52.728Z] Continuing the upgrade transaction with new apk-tools: [2024-10-22T06:28:52.728Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-22T06:28:53.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-22T06:28:55.279Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-22T06:28:55.279Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-22T06:28:55.279Z] OK: 9 MiB in 15 packages [2024-10-22T06:28:56.709Z] Removing intermediate container d8843be14087 [2024-10-22T06:28:56.709Z] ---> bb42fb5e5119 [2024-10-22T06:28:56.709Z] Step 15/24 : WORKDIR / [2024-10-22T06:28:56.709Z] ---> Running in 90551ed6beb4 [2024-10-22T06:28:56.980Z] Removing intermediate container 90551ed6beb4 [2024-10-22T06:28:56.980Z] ---> ab6bf1535aae [2024-10-22T06:28:56.980Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-22T06:28:57.573Z] ---> b3c2f06e55d3 [2024-10-22T06:28:57.573Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-22T06:29:00.182Z] ---> 701de28f7cff [2024-10-22T06:29:00.182Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-22T06:29:00.777Z] ---> 7832304b9dbd [2024-10-22T06:29:00.777Z] Step 19/24 : EXPOSE 59999 [2024-10-22T06:29:01.049Z] ---> Running in 3b735880ffd1 [2024-10-22T06:29:01.321Z] Removing intermediate container 3b735880ffd1 [2024-10-22T06:29:01.321Z] ---> 52069dd617e6 [2024-10-22T06:29:01.321Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-22T06:29:01.321Z] ---> Running in 8b2bd345c780 [2024-10-22T06:29:01.917Z] Removing intermediate container 8b2bd345c780 [2024-10-22T06:29:01.917Z] ---> f1b838fbcd65 [2024-10-22T06:29:01.917Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-22T06:29:01.917Z] ---> Running in 1df635c612bb [2024-10-22T06:29:02.189Z] Removing intermediate container 1df635c612bb [2024-10-22T06:29:02.189Z] ---> d7ce87867768 [2024-10-22T06:29:02.189Z] Step 22/24 : LABEL arch=arm64 [2024-10-22T06:29:02.189Z] ---> Running in 30d70cb22c4b [2024-10-22T06:29:02.779Z] Removing intermediate container 30d70cb22c4b [2024-10-22T06:29:02.779Z] ---> 808ece9da615 [2024-10-22T06:29:02.779Z] Step 23/24 : LABEL git_sha=8f827bd74a4c847a61608dcbc9d76980c13265ba [2024-10-22T06:29:02.779Z] ---> Running in 0f83e2a18d6b [2024-10-22T06:29:03.049Z] Removing intermediate container 0f83e2a18d6b [2024-10-22T06:29:03.049Z] ---> fa6048f97155 [2024-10-22T06:29:03.049Z] Step 24/24 : LABEL version=0.0.0 [2024-10-22T06:29:03.049Z] ---> Running in 980812a86059 [2024-10-22T06:29:03.637Z] Removing intermediate container 980812a86059 [2024-10-22T06:29:03.637Z] ---> 2d75754ec532 [2024-10-22T06:29:03.637Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-22T06:29:03.637Z] Successfully built 2d75754ec532 [2024-10-22T06:29:03.637Z] 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-10-22T06:29:04.599Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-22T06:29:04.599Z] [2024-10-22T06:29:04.599Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T06:29:05.048Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-22T06:29:05.319Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-22T06:29:05.319Z] 8998bd30e6a1: Pulling fs layer [2024-10-22T06:29:05.319Z] 04944245beec: Pulling fs layer [2024-10-22T06:29:05.319Z] 699f458cf7ca: Pulling fs layer [2024-10-22T06:29:05.319Z] 765212b225bb: Pulling fs layer [2024-10-22T06:29:05.319Z] f23df028b6ca: Pulling fs layer [2024-10-22T06:29:05.319Z] d65c8cfc05b1: Pulling fs layer [2024-10-22T06:29:05.319Z] 2437ff75d9bd: Pulling fs layer [2024-10-22T06:29:05.319Z] 765212b225bb: Waiting [2024-10-22T06:29:05.319Z] f23df028b6ca: Waiting [2024-10-22T06:29:05.319Z] d65c8cfc05b1: Waiting [2024-10-22T06:29:05.319Z] 2437ff75d9bd: Waiting [2024-10-22T06:29:05.319Z] 04944245beec: Verifying Checksum [2024-10-22T06:29:05.319Z] 04944245beec: Download complete [2024-10-22T06:29:05.319Z] 765212b225bb: Verifying Checksum [2024-10-22T06:29:05.319Z] 765212b225bb: Download complete [2024-10-22T06:29:05.319Z] f23df028b6ca: Download complete [2024-10-22T06:29:05.319Z] d65c8cfc05b1: Verifying Checksum [2024-10-22T06:29:05.319Z] d65c8cfc05b1: Download complete [2024-10-22T06:29:05.590Z] 699f458cf7ca: Verifying Checksum [2024-10-22T06:29:05.590Z] 699f458cf7ca: Download complete [2024-10-22T06:29:06.177Z] 8998bd30e6a1: Download complete [2024-10-22T06:29:08.767Z] 2437ff75d9bd: Verifying Checksum [2024-10-22T06:29:08.767Z] 2437ff75d9bd: Download complete [2024-10-22T06:29:10.721Z] 8998bd30e6a1: Pull complete [2024-10-22T06:29:11.314Z] 04944245beec: Pull complete [2024-10-22T06:29:13.274Z] 699f458cf7ca: Pull complete [2024-10-22T06:29:13.274Z] 765212b225bb: Pull complete [2024-10-22T06:29:14.243Z] f23df028b6ca: Pull complete [2024-10-22T06:29:14.511Z] d65c8cfc05b1: Pull complete [2024-10-22T06:29:32.745Z] 2437ff75d9bd: Pull complete [2024-10-22T06:29:32.745Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-22T06:29:32.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-22T06:29:32.745Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T06:29:33.182Z] prd-ubuntu20.04-docker-arm64-4c-16g-23473 does not seem to be running inside a container [2024-10-22T06:29:33.304Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-22T06:29:36.662Z] $ docker top 77e7bbb0d3aa45154caca11f01000c6085cb62a2506596417665cc1709f1ca50 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T06:29:37.669Z] ---> job-cost.sh [2024-10-22T06:29:37.669Z] lf-activate-venv: SKIPPING [2024-10-22T06:29:37.669Z] INFO: No Stack... [2024-10-22T06:29:38.281Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-22T06:29:38.887Z] INFO: Archiving Costs [Pipeline] sh [2024-10-22T06:29:39.584Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-10-22T06:29:39.584Z] + cut -d, -f6 [Pipeline] lock [2024-10-22T06:29:39.695Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1641-1-stack-cost] [2024-10-22T06:29:39.702Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1641-1-stack-cost] did not exist. Created. [2024-10-22T06:29:39.709Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1641-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-22T06:29:40.500Z] /w/workspace/device-sdk-go/1@tmp/durable-17be62e6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-22T06:29:41.194Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-22T06:29:41.238Z] Warning: overwriting stash ‘stack-cost’ [2024-10-22T06:29:41.355Z] Stashed 1 file(s) [Pipeline] } [2024-10-22T06:29:41.378Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1641-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-22T06:29:41.495Z] $ docker stop --time=1 77e7bbb0d3aa45154caca11f01000c6085cb62a2506596417665cc1709f1ca50 [2024-10-22T06:29:43.124Z] $ docker rm -f --volumes 77e7bbb0d3aa45154caca11f01000c6085cb62a2506596417665cc1709f1ca50 [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-10-22T06:29:44.263Z] provisioning config files... [2024-10-22T06:29:44.275Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp/config14609386884293844205tmp [Pipeline] { [Pipeline] sh [2024-10-22T06:29:44.657Z] + set +x [2024-10-22T06:29:44.657Z] + + bash -s -- [2024-10-22T06:29:44.657Z] curl -s https://codecov.io/bash [2024-10-22T06:29:44.657Z] [2024-10-22T06:29:44.657Z] _____ _ [2024-10-22T06:29:44.657Z] / ____| | | [2024-10-22T06:29:44.657Z] | | ___ __| | ___ ___ _____ __ [2024-10-22T06:29:44.657Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-22T06:29:44.657Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-22T06:29:44.657Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-22T06:29:44.657Z] Bash-1.0.6 [2024-10-22T06:29:44.657Z] [2024-10-22T06:29:44.657Z] [2024-10-22T06:29:44.657Z] ==> git version 2.25.1 found [2024-10-22T06:29:44.657Z] ==> 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-10-22T06:29:44.657Z] Release-Date: 2020-01-08 [2024-10-22T06:29:44.657Z] 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-10-22T06:29:44.657Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-22T06:29:44.657Z] ==> Jenkins CI detected. [2024-10-22T06:29:44.657Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1641 [2024-10-22T06:29:44.657Z] project root: . [2024-10-22T06:29:44.657Z] --> token set from env [2024-10-22T06:29:44.657Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-22T06:29:44.657Z] ==> Running gcov in . (disable via -X gcov) [2024-10-22T06:29:44.657Z] ==> Python coveragepy not found [2024-10-22T06:29:44.657Z] ==> Searching for coverage reports in: [2024-10-22T06:29:44.657Z] + . [2024-10-22T06:29:44.657Z] -> Found 1 reports [2024-10-22T06:29:44.657Z] ==> Detecting git/mercurial file structure [2024-10-22T06:29:44.657Z] ==> Reading reports [2024-10-22T06:29:44.657Z] + ./coverage.out bytes=467900 [2024-10-22T06:29:44.657Z] ==> Appending adjustments [2024-10-22T06:29:44.657Z] https://docs.codecov.io/docs/fixing-reports [2024-10-22T06:29:44.936Z] + Found adjustments [2024-10-22T06:29:44.936Z] ==> Gzipping contents [2024-10-22T06:29:45.215Z] 44K /tmp/codecov.4l3gKs.gz [2024-10-22T06:29:45.215Z] ==> Uploading reports [2024-10-22T06:29:45.215Z] url: https://codecov.io [2024-10-22T06:29:45.215Z] query: branch=PR-1641&commit=8f827bd74a4c847a61608dcbc9d76980c13265ba&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1641%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1641&job=&cmd_args= [2024-10-22T06:29:45.215Z] -> Pinging Codecov [2024-10-22T06:29:45.215Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1641&commit=8f827bd74a4c847a61608dcbc9d76980c13265ba&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1641%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1641&job=&cmd_args= [2024-10-22T06:29:51.837Z] -> Uploading to [2024-10-22T06:29:51.837Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/8f827bd74a4c847a61608dcbc9d76980c13265ba/501f46cb-278f-4c07-ad7a-1e88f8809aea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241022%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241022T062949Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=b775aec8d12a6e4ccd20b1dd921abb60c75ac4d92d0b82bcaed108a81b08d5c7 [2024-10-22T06:29:51.837Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-22T06:29:51.837Z] Dload Upload Total Spent Left Speed [2024-10-22T06:29:51.837Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 42614 0 0 100 42614 0 203k --:--:-- --:--:-- --:--:-- 203k 100 42614 0 0 100 42614 0 154k --:--:-- --:--:-- --:--:-- 153k [2024-10-22T06:29:51.837Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8f827bd74a4c847a61608dcbc9d76980c13265ba [Pipeline] } [2024-10-22T06:29:51.876Z] 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-10-22T06:29:54.193Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1641/archives ] [2024-10-22T06:29:54.193Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1641/archives [2024-10-22T06:29:54.193Z] total 16 [2024-10-22T06:29:54.193Z] drwxr-xr-x 3 root root 4096 Oct 22 06:10 . [2024-10-22T06:29:54.193Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 22 06:10 .. [2024-10-22T06:29:54.193Z] drwxr-xr-x 2 root root 4096 Oct 22 06:10 cost [2024-10-22T06:29:54.193Z] -rw-r--r-- 1 root root 86 Oct 22 06:10 cost.csv [2024-10-22T06:29:54.193Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1641/archives [2024-10-22T06:29:54.193Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1641/archives [2024-10-22T06:29:54.193Z] total 16 [2024-10-22T06:29:54.193Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 06:10 . [2024-10-22T06:29:54.193Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 22 06:10 .. [2024-10-22T06:29:54.193Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 22 06:10 cost [2024-10-22T06:29:54.193Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 22 06:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-22T06:29:54.537Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T06:29:55.450Z] ---> package-listing.sh [2024-10-22T06:29:55.450Z] ++ facter osfamily [2024-10-22T06:29:55.450Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-22T06:29:55.710Z] + OS_FAMILY=debian [2024-10-22T06:29:55.710Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1641 [2024-10-22T06:29:55.710Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-22T06:29:55.710Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-22T06:29:55.710Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-22T06:29:55.710Z] + PACKAGES=/tmp/packages_start.txt [2024-10-22T06:29:55.710Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1641 ']' [2024-10-22T06:29:55.710Z] + PACKAGES=/tmp/packages_end.txt [2024-10-22T06:29:55.710Z] + case "${OS_FAMILY}" in [2024-10-22T06:29:55.710Z] + dpkg -l [2024-10-22T06:29:55.710Z] + grep '^ii' [2024-10-22T06:29:55.710Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-22T06:29:55.710Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-22T06:29:55.710Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-22T06:29:55.710Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1641 ']' [2024-10-22T06:29:55.710Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1641/archives/ [2024-10-22T06:29:55.710Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1641/archives/ [Pipeline] echo [2024-10-22T06:29:55.749Z] 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-1641/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-22T06:29:56.049Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T06:29:56.703Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T06:29:56.703Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T06:29:56.877Z] prd-ubuntu20.04-docker-8c-8g-23472 does not seem to be running inside a container [2024-10-22T06:29:56.932Z] $ 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-1641/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-1641 -v /w/workspace/gexfoundry_device-sdk-go_PR-1641:/w/workspace/gexfoundry_device-sdk-go_PR-1641:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-22T06:29:57.134Z] $ docker top 5189b066bc2dfe5bbc57abe6a4a99f0d01b89610415818f16380506fcc3fb652 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T06:29:57.516Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-22T06:29:57.844Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-22T06:29:58.173Z] + ls /var/log/sa-host [2024-10-22T06:29:58.173Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-22T06:29:58.341Z] provisioning config files... [2024-10-22T06:29:58.350Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1641@tmp/config18053588223814894804tmp [Pipeline] { [Pipeline] echo [2024-10-22T06:29:58.426Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T06:29:58.758Z] ---> create-netrc.sh [Pipeline] } [2024-10-22T06:29:58.792Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-22T06:29:59.221Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-22T06:29:59.259Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T06:29:59.591Z] ---> sudo-logs.sh [2024-10-22T06:29:59.591Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-22T06:29:59.698Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T06:30:00.018Z] ---> job-cost.sh [2024-10-22T06:30:00.019Z] lf-activate-venv: SKIPPING [2024-10-22T06:30:00.019Z] DEBUG: total: 0.2199999988079071 [2024-10-22T06:30:00.019Z] INFO: Retrieving Stack Cost... [2024-10-22T06:30:00.588Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-22T06:30:00.847Z] INFO: Archiving Costs [Pipeline] echo [2024-10-22T06:30:00.896Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T06:30:01.220Z] ---> logs-deploy.sh [2024-10-22T06:30:01.220Z] lf-activate-venv: SKIPPING [2024-10-22T06:30:01.220Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1641/1 [2024-10-22T06:30:01.220Z] INFO: archiving workspace using pattern(s): [2024-10-22T06:30:02.163Z] Archives upload complete. [2024-10-22T06:30:02.163Z] INFO: archiving logs to Nexus [2024-10-22T06:30:02.732Z] ---> uname -a: [2024-10-22T06:30:02.732Z] Linux prd-ubuntu20-04-docker-8c-8g-23472 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-10-22T06:30:02.732Z] [2024-10-22T06:30:02.732Z] [2024-10-22T06:30:02.732Z] ---> lscpu: [2024-10-22T06:30:02.732Z] Architecture: x86_64 [2024-10-22T06:30:02.732Z] CPU op-mode(s): 32-bit, 64-bit [2024-10-22T06:30:02.732Z] Byte Order: Little Endian [2024-10-22T06:30:02.732Z] Address sizes: 40 bits physical, 48 bits virtual [2024-10-22T06:30:02.732Z] CPU(s): 8 [2024-10-22T06:30:02.732Z] On-line CPU(s) list: 0-7 [2024-10-22T06:30:02.732Z] Thread(s) per core: 1 [2024-10-22T06:30:02.732Z] Core(s) per socket: 1 [2024-10-22T06:30:02.732Z] Socket(s): 8 [2024-10-22T06:30:02.732Z] NUMA node(s): 1 [2024-10-22T06:30:02.732Z] Vendor ID: AuthenticAMD [2024-10-22T06:30:02.732Z] CPU family: 23 [2024-10-22T06:30:02.732Z] Model: 49 [2024-10-22T06:30:02.732Z] Model name: AMD EPYC-Rome Processor [2024-10-22T06:30:02.732Z] Stepping: 0 [2024-10-22T06:30:02.732Z] CPU MHz: 2800.000 [2024-10-22T06:30:02.732Z] BogoMIPS: 5600.00 [2024-10-22T06:30:02.732Z] Virtualization: AMD-V [2024-10-22T06:30:02.732Z] Hypervisor vendor: KVM [2024-10-22T06:30:02.732Z] Virtualization type: full [2024-10-22T06:30:02.732Z] L1d cache: 256 KiB [2024-10-22T06:30:02.732Z] L1i cache: 256 KiB [2024-10-22T06:30:02.732Z] L2 cache: 4 MiB [2024-10-22T06:30:02.732Z] L3 cache: 128 MiB [2024-10-22T06:30:02.732Z] NUMA node0 CPU(s): 0-7 [2024-10-22T06:30:02.732Z] Vulnerability Itlb multihit: Not affected [2024-10-22T06:30:02.732Z] Vulnerability L1tf: Not affected [2024-10-22T06:30:02.732Z] Vulnerability Mds: Not affected [2024-10-22T06:30:02.732Z] Vulnerability Meltdown: Not affected [2024-10-22T06:30:02.732Z] Vulnerability Mmio stale data: Not affected [2024-10-22T06:30:02.732Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2024-10-22T06:30:02.732Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2024-10-22T06:30:02.732Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2024-10-22T06:30:02.732Z] Vulnerability Srbds: Not affected [2024-10-22T06:30:02.732Z] Vulnerability Tsx async abort: Not affected [2024-10-22T06:30:02.732Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2024-10-22T06:30:02.732Z] [2024-10-22T06:30:02.732Z] [2024-10-22T06:30:02.732Z] ---> nproc: [2024-10-22T06:30:02.732Z] 8 [2024-10-22T06:30:02.732Z] [2024-10-22T06:30:02.732Z] [2024-10-22T06:30:02.732Z] ---> df -h: [2024-10-22T06:30:02.732Z] Filesystem Size Used Avail Use% Mounted on [2024-10-22T06:30:02.732Z] overlay 155G 12G 143G 8% / [2024-10-22T06:30:02.732Z] tmpfs 64M 0 64M 0% /dev [2024-10-22T06:30:02.732Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2024-10-22T06:30:02.732Z] shm 64M 0 64M 0% /dev/shm [2024-10-22T06:30:02.732Z] /dev/vda1 155G 12G 143G 8% /facter-os [2024-10-22T06:30:02.732Z] [2024-10-22T06:30:02.732Z]