Pull request #1594 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from d8a40c0890ccea5e20f95572cd1093eff0cfc096+50e812dd0fc65b097297637d35e073c818e89983 (3c20d2dbedf8fff65f0664b68320b6acc1fb3195) 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-ssh15043824552679384342.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13610687545755161309.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1594/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1594/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5926085842319219324.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5086602459260364793.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1594/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1594/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1344597572729906730.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5582 in /w/workspace/gexfoundry_device-sdk-go_PR-1594 [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-1594 # 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/1594/head:refs/remotes/origin/PR-1594 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 50e812dd0fc65b097297637d35e073c818e89983 into PR head commit d8a40c0890ccea5e20f95572cd1093eff0cfc096 Merge succeeded, producing d8a40c0890ccea5e20f95572cd1093eff0cfc096 Checking out Revision d8a40c0890ccea5e20f95572cd1093eff0cfc096 (PR-1594) > git config core.sparsecheckout # timeout=10 > git checkout -f d8a40c0890ccea5e20f95572cd1093eff0cfc096 # 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 50e812dd0fc65b097297637d35e073c818e89983 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d8a40c0890ccea5e20f95572cd1093eff0cfc096 # timeout=10 Commit message: "feat: Add /profilescan API" First time build. Skipping changelog. > git rev-list --no-walk 1ed37a69e8b276466ddbede54cacb54d1ac0c712 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-15T01:23:57.220Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-15T01:23:57.288Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-15T01:23:57.311Z] ========================================================= [2024-07-15T01:23:57.311Z] EdgeX Global Pipelines Version Info [2024-07-15T01:23:57.311Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-15T01:23:58.063Z] ------------------- [2024-07-15T01:23:58.063Z] stable info: [2024-07-15T01:23:58.063Z] ------------------- [2024-07-15T01:23:58.063Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-15T01:23:58.063Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-15T01:23:58.063Z] Message: update stable to v1.0.260 [2024-07-15T01:23:58.631Z] ------------------- [2024-07-15T01:23:58.631Z] experimental info: [2024-07-15T01:23:58.631Z] ------------------- [2024-07-15T01:23:58.631Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-15T01:23:58.631Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-15T01:23:58.631Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-15T01:23:58.701Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-07-15T01:23:58.718Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-07-15T01:23:58.740Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-15T01:23:58.760Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-15T01:23:58.784Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-15T01:23:58.806Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-15T01:23:58.829Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-15T01:23:58.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-07-15T01:23:58.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-15T01:23:58.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-15T01:23:58.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-15T01:23:58.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-07-15T01:23:58.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-15T01:23:58.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-15T01:23:59.019Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-15T01:23:59.046Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-07-15T01:23:59.073Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-15T01:23:59.098Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-15T01:23:59.117Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-15T01:23:59.138Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-15T01:23:59.166Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-07-15T01:23:59.193Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-07-15T01:23:59.212Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-15T01:23:59.234Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-15T01:23:59.252Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-15T01:23:59.271Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-15T01:23:59.290Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-15T01:23:59.309Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1594 [Pipeline] echo [2024-07-15T01:23:59.334Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1594 [Pipeline] echo [2024-07-15T01:23:59.356Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1594 [Pipeline] echo [2024-07-15T01:23:59.375Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d8a40c0890ccea5e20f95572cd1093eff0cfc096 [Pipeline] echo [2024-07-15T01:23:59.397Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d8a40c0 [Pipeline] echo [2024-07-15T01:23:59.416Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-15T01:23:59.479Z] provisioning config files... [2024-07-15T01:23:59.493Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/config14583724840305422024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-15T01:23:59.831Z] ---> ****-login.sh [2024-07-15T01:23:59.831Z] nexus3.edgexfoundry.org:10001 [2024-07-15T01:24:00.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T01:24:00.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T01:24:00.091Z] Configure a credential helper to remove this warning. See [2024-07-15T01:24:00.091Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T01:24:00.091Z] [2024-07-15T01:24:00.091Z] Login Succeeded [2024-07-15T01:24:00.091Z] nexus3.edgexfoundry.org:10002 [2024-07-15T01:24:00.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T01:24:00.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T01:24:00.352Z] Configure a credential helper to remove this warning. See [2024-07-15T01:24:00.352Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T01:24:00.352Z] [2024-07-15T01:24:00.352Z] Login Succeeded [2024-07-15T01:24:00.352Z] nexus3.edgexfoundry.org:10003 [2024-07-15T01:24:00.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T01:24:00.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T01:24:00.352Z] Configure a credential helper to remove this warning. See [2024-07-15T01:24:00.352Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T01:24:00.352Z] [2024-07-15T01:24:00.352Z] Login Succeeded [2024-07-15T01:24:00.352Z] nexus3.edgexfoundry.org:10004 [2024-07-15T01:24:00.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T01:24:00.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T01:24:00.613Z] Configure a credential helper to remove this warning. See [2024-07-15T01:24:00.613Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T01:24:00.613Z] [2024-07-15T01:24:00.613Z] Login Succeeded [2024-07-15T01:24:00.613Z] ****.io [2024-07-15T01:24:00.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T01:24:00.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T01:24:00.873Z] Configure a credential helper to remove this warning. See [2024-07-15T01:24:00.873Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T01:24:00.873Z] [2024-07-15T01:24:00.873Z] Login Succeeded [2024-07-15T01:24:00.873Z] ---> ****-login.sh ends [Pipeline] } [2024-07-15T01:24:00.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-15T01:24:01.285Z] + git rev-list -1 --merges d8a40c0890ccea5e20f95572cd1093eff0cfc096~1..d8a40c0890ccea5e20f95572cd1093eff0cfc096 [Pipeline] echo [2024-07-15T01:24:01.313Z] -----------> git rev-list -1 --merges d8a40c0890ccea5e20f95572cd1093eff0cfc096~1..d8a40c0890ccea5e20f95572cd1093eff0cfc096 d8a40c0890ccea5e20f95572cd1093eff0cfc096 [false] [Pipeline] sh [2024-07-15T01:24:01.610Z] + git log --format=format:%s -1 d8a40c0890ccea5e20f95572cd1093eff0cfc096 [Pipeline] echo [2024-07-15T01:24:01.625Z] ========================================================= [2024-07-15T01:24:01.625Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-15T01:24:01.625Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-15T01:24:01.954Z] + git log --format=format:%s -1 d8a40c0890ccea5e20f95572cd1093eff0cfc096 [Pipeline] echo [2024-07-15T01:24:01.966Z] [semverPrep] GIT_COMMIT: d8a40c0890ccea5e20f95572cd1093eff0cfc096, Commit Message: feat: Add /profilescan API [Pipeline] echo [2024-07-15T01:24:01.980Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-15T01:24:02.360Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-15T01:24:02.360Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-15T01:24:02.360Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-15T01:24:02.360Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-15T01:24:02.360Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-15T01:24:02.360Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-15T01:24:02.360Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T01:24:02.804Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-15T01:24:02.804Z] [2024-07-15T01:24:02.804Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T01:24:03.112Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-15T01:24:03.112Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-15T01:24:03.112Z] b85a868b505f: Pulling fs layer [2024-07-15T01:24:03.112Z] e2be974225ed: Pulling fs layer [2024-07-15T01:24:03.112Z] 339a4e72a1f5: Pulling fs layer [2024-07-15T01:24:03.112Z] 988bab9f4d93: Pulling fs layer [2024-07-15T01:24:03.112Z] 1469e6f7b9e6: Pulling fs layer [2024-07-15T01:24:03.112Z] eaf3925da568: Pulling fs layer [2024-07-15T01:24:03.112Z] bab4dde63d76: Pulling fs layer [2024-07-15T01:24:03.112Z] bde34c3a00c8: Pulling fs layer [2024-07-15T01:24:03.112Z] b352a97aabf1: Pulling fs layer [2024-07-15T01:24:03.112Z] 4872d77fe225: Pulling fs layer [2024-07-15T01:24:03.112Z] 5851b861e8e6: Pulling fs layer [2024-07-15T01:24:03.112Z] bde34c3a00c8: Waiting [2024-07-15T01:24:03.112Z] bab4dde63d76: Waiting [2024-07-15T01:24:03.112Z] 988bab9f4d93: Waiting [2024-07-15T01:24:03.112Z] 5851b861e8e6: Waiting [2024-07-15T01:24:03.112Z] eaf3925da568: Waiting [2024-07-15T01:24:03.112Z] 1469e6f7b9e6: Waiting [2024-07-15T01:24:03.112Z] 4872d77fe225: Waiting [2024-07-15T01:24:03.112Z] b352a97aabf1: Waiting [2024-07-15T01:24:03.112Z] e2be974225ed: Download complete [2024-07-15T01:24:03.112Z] 988bab9f4d93: Verifying Checksum [2024-07-15T01:24:03.112Z] 988bab9f4d93: Download complete [2024-07-15T01:24:03.112Z] 1469e6f7b9e6: Verifying Checksum [2024-07-15T01:24:03.112Z] 1469e6f7b9e6: Download complete [2024-07-15T01:24:03.112Z] 339a4e72a1f5: Verifying Checksum [2024-07-15T01:24:03.112Z] 339a4e72a1f5: Download complete [2024-07-15T01:24:03.371Z] eaf3925da568: Verifying Checksum [2024-07-15T01:24:03.371Z] eaf3925da568: Download complete [2024-07-15T01:24:03.371Z] bde34c3a00c8: Download complete [2024-07-15T01:24:03.371Z] b352a97aabf1: Verifying Checksum [2024-07-15T01:24:03.371Z] b352a97aabf1: Download complete [2024-07-15T01:24:03.371Z] 4872d77fe225: Verifying Checksum [2024-07-15T01:24:03.371Z] 4872d77fe225: Download complete [2024-07-15T01:24:03.371Z] 5851b861e8e6: Verifying Checksum [2024-07-15T01:24:03.371Z] 5851b861e8e6: Download complete [2024-07-15T01:24:03.371Z] b85a868b505f: Download complete [2024-07-15T01:24:03.637Z] bab4dde63d76: Verifying Checksum [2024-07-15T01:24:03.637Z] bab4dde63d76: Download complete [2024-07-15T01:24:04.574Z] b85a868b505f: Pull complete [2024-07-15T01:24:04.832Z] e2be974225ed: Pull complete [2024-07-15T01:24:05.400Z] 339a4e72a1f5: Pull complete [2024-07-15T01:24:05.400Z] 988bab9f4d93: Pull complete [2024-07-15T01:24:05.659Z] 1469e6f7b9e6: Pull complete [2024-07-15T01:24:05.918Z] eaf3925da568: Pull complete [2024-07-15T01:24:07.820Z] bab4dde63d76: Pull complete [2024-07-15T01:24:07.821Z] bde34c3a00c8: Pull complete [2024-07-15T01:24:07.821Z] b352a97aabf1: Pull complete [2024-07-15T01:24:07.821Z] 4872d77fe225: Pull complete [2024-07-15T01:24:07.821Z] 5851b861e8e6: Pull complete [2024-07-15T01:24:07.821Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-15T01:24:07.821Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-15T01:24:07.821Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T01:24:07.969Z] prd-ubuntu20.04-docker-8c-8g-5582 does not seem to be running inside a container [2024-07-15T01:24:08.003Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1594 -v /w/workspace/gexfoundry_device-sdk-go_PR-1594:/w/workspace/gexfoundry_device-sdk-go_PR-1594:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-15T01:24:10.354Z] $ docker top 2b56a3a0c12fd5271205ad18a3c6621c61a66214b5752237669be5636e70f6ff -eo pid,comm [2024-07-15T01:24:10.418Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-07-15T01:24:10.418Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-15T01:24:10.468Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-15T01:24:10.468Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-15T01:24:10.578Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-15T01:24:10.578Z] $ docker exec 2b56a3a0c12fd5271205ad18a3c6621c61a66214b5752237669be5636e70f6ff ssh-agent [2024-07-15T01:24:10.698Z] SSH_AUTH_SOCK=/tmp/ssh-uHq8lgvL3DFc/agent.32 [2024-07-15T01:24:10.698Z] SSH_AGENT_PID=38 [2024-07-15T01:24:10.707Z] Running ssh-add (command line suppressed) [2024-07-15T01:24:10.803Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/private_key_14490279307771164790.key (/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/private_key_14490279307771164790.key) [2024-07-15T01:24:10.817Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-15T01:24:11.108Z] + git tag --points-at HEAD [Pipeline] } [2024-07-15T01:24:11.118Z] $ docker exec --env ******** --env ******** 2b56a3a0c12fd5271205ad18a3c6621c61a66214b5752237669be5636e70f6ff ssh-agent -k [2024-07-15T01:24:11.231Z] unset SSH_AUTH_SOCK; [2024-07-15T01:24:11.232Z] unset SSH_AGENT_PID; [2024-07-15T01:24:11.232Z] echo Agent pid 38 killed; [2024-07-15T01:24:11.244Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-15T01:24:11.284Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-15T01:24:11.284Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-15T01:24:11.411Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-15T01:24:11.411Z] $ docker exec 2b56a3a0c12fd5271205ad18a3c6621c61a66214b5752237669be5636e70f6ff ssh-agent [2024-07-15T01:24:11.538Z] SSH_AUTH_SOCK=/tmp/ssh-O7T62r25qHXg/agent.71 [2024-07-15T01:24:11.538Z] SSH_AGENT_PID=77 [2024-07-15T01:24:11.542Z] Running ssh-add (command line suppressed) [2024-07-15T01:24:11.642Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/private_key_16241624299320239339.key (/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/private_key_16241624299320239339.key) [2024-07-15T01:24:11.657Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-15T01:24:11.949Z] + git semver init [2024-07-15T01:24:12.207Z] 2024-07-15 01:24:12,131 [run_init] DEBUG init version:0.0.0 force:False [2024-07-15T01:24:12.207Z] 2024-07-15 01:24:12,132 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver [2024-07-15T01:24:12.207Z] 2024-07-15 01:24:12,132 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver [2024-07-15T01:24:12.207Z] 2024-07-15 01:24:12,132 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1594, universal_newlines=False, shell=None, istream=None) [2024-07-15T01:24:14.114Z] 2024-07-15 01:24:14,074 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594/.git/info/exclude [2024-07-15T01:24:14.114Z] 2024-07-15 01:24:14,075 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver/PR-1594 with force:False [2024-07-15T01:24:14.114Z] 2024-07-15 01:24:14,075 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver/PR-1594 [2024-07-15T01:24:14.114Z] 2024-07-15 01:24:14,080 [execute] INFO git cat-file --batch-check [2024-07-15T01:24:14.114Z] 2024-07-15 01:24:14,080 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver, universal_newlines=False, shell=None, istream=) [2024-07-15T01:24:14.114Z] 2024-07-15 01:24:14,087 [execute] INFO git cat-file --batch [2024-07-15T01:24:14.114Z] 2024-07-15 01:24:14,087 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver, universal_newlines=False, shell=None, istream=) [2024-07-15T01:24:14.114Z] 2024-07-15 01:24:14,091 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver/PR-1594 [2024-07-15T01:24:14.114Z] 0.0.0 [Pipeline] } [2024-07-15T01:24:14.121Z] $ docker exec --env ******** --env ******** 2b56a3a0c12fd5271205ad18a3c6621c61a66214b5752237669be5636e70f6ff ssh-agent -k [2024-07-15T01:24:14.219Z] unset SSH_AUTH_SOCK; [2024-07-15T01:24:14.220Z] unset SSH_AGENT_PID; [2024-07-15T01:24:14.220Z] echo Agent pid 77 killed; [2024-07-15T01:24:14.239Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-15T01:24:14.566Z] + git semver [Pipeline] } [2024-07-15T01:24:14.838Z] $ docker stop --time=1 2b56a3a0c12fd5271205ad18a3c6621c61a66214b5752237669be5636e70f6ff [2024-07-15T01:24:16.168Z] $ docker rm -f --volumes 2b56a3a0c12fd5271205ad18a3c6621c61a66214b5752237669be5636e70f6ff [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-15T01:24:16.524Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-15T01:24:16.771Z] Stashed 1 file(s) [Pipeline] echo [2024-07-15T01:24:16.775Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-15T01:24:16.931Z] provisioning config files... [2024-07-15T01:24:16.940Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/config7461546192738834455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-15T01:24:17.241Z] ---> ****-login.sh [2024-07-15T01:24:17.241Z] nexus3.edgexfoundry.org:10001 [2024-07-15T01:24:17.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T01:24:17.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T01:24:17.241Z] Configure a credential helper to remove this warning. See [2024-07-15T01:24:17.241Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T01:24:17.241Z] [2024-07-15T01:24:17.241Z] Login Succeeded [2024-07-15T01:24:17.241Z] nexus3.edgexfoundry.org:10002 [2024-07-15T01:24:17.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T01:24:17.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T01:24:17.241Z] Configure a credential helper to remove this warning. See [2024-07-15T01:24:17.241Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T01:24:17.241Z] [2024-07-15T01:24:17.242Z] Login Succeeded [2024-07-15T01:24:17.242Z] nexus3.edgexfoundry.org:10003 [2024-07-15T01:24:17.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T01:24:17.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T01:24:17.503Z] Configure a credential helper to remove this warning. See [2024-07-15T01:24:17.503Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T01:24:17.503Z] [2024-07-15T01:24:17.503Z] Login Succeeded [2024-07-15T01:24:17.503Z] nexus3.edgexfoundry.org:10004 [2024-07-15T01:24:17.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T01:24:17.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T01:24:17.503Z] Configure a credential helper to remove this warning. See [2024-07-15T01:24:17.503Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T01:24:17.503Z] [2024-07-15T01:24:17.503Z] Login Succeeded [2024-07-15T01:24:17.503Z] ****.io [2024-07-15T01:24:17.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T01:24:17.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T01:24:17.763Z] Configure a credential helper to remove this warning. See [2024-07-15T01:24:17.763Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T01:24:17.763Z] [2024-07-15T01:24:17.763Z] Login Succeeded [2024-07-15T01:24:17.763Z] ---> ****-login.sh ends [Pipeline] } [2024-07-15T01:24:17.771Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-15T01:24:17.864Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-15T01:24:17.887Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-15T01:24:17.902Z] ========================================================= [2024-07-15T01:24:17.902Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-15T01:24:17.902Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T01:24:18.235Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-15T01:24:18.235Z] Sending build context to Docker daemon 25.1MB [2024-07-15T01:24:18.235Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-15T01:24:18.235Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-15T01:24:18.507Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-15T01:24:18.507Z] 619be1103602: Pulling fs layer [2024-07-15T01:24:18.507Z] 7862e08f4a3e: Pulling fs layer [2024-07-15T01:24:18.507Z] 5df492c9dc93: Pulling fs layer [2024-07-15T01:24:18.507Z] 7629e6793208: Pulling fs layer [2024-07-15T01:24:18.507Z] 4f4fb700ef54: Pulling fs layer [2024-07-15T01:24:18.507Z] fb5054dd5b73: Pulling fs layer [2024-07-15T01:24:18.507Z] eeca6798cff9: Pulling fs layer [2024-07-15T01:24:18.507Z] aa269ceb94a6: Pulling fs layer [2024-07-15T01:24:18.507Z] ada007ff1a6a: Pulling fs layer [2024-07-15T01:24:18.507Z] 7629e6793208: Waiting [2024-07-15T01:24:18.507Z] eeca6798cff9: Waiting [2024-07-15T01:24:18.507Z] 4f4fb700ef54: Waiting [2024-07-15T01:24:18.507Z] fb5054dd5b73: Waiting [2024-07-15T01:24:18.507Z] aa269ceb94a6: Waiting [2024-07-15T01:24:18.507Z] ada007ff1a6a: Waiting [2024-07-15T01:24:18.507Z] 7862e08f4a3e: Download complete [2024-07-15T01:24:18.507Z] 7629e6793208: Verifying Checksum [2024-07-15T01:24:18.507Z] 7629e6793208: Download complete [2024-07-15T01:24:18.507Z] fb5054dd5b73: Verifying Checksum [2024-07-15T01:24:18.507Z] fb5054dd5b73: Download complete [2024-07-15T01:24:18.507Z] 619be1103602: Verifying Checksum [2024-07-15T01:24:18.507Z] 619be1103602: Download complete [2024-07-15T01:24:18.507Z] eeca6798cff9: Verifying Checksum [2024-07-15T01:24:18.507Z] eeca6798cff9: Download complete [2024-07-15T01:24:18.769Z] 619be1103602: Pull complete [2024-07-15T01:24:18.769Z] ada007ff1a6a: Verifying Checksum [2024-07-15T01:24:18.769Z] ada007ff1a6a: Download complete [2024-07-15T01:24:18.769Z] 7862e08f4a3e: Pull complete [2024-07-15T01:24:18.769Z] 5df492c9dc93: Verifying Checksum [2024-07-15T01:24:18.769Z] 5df492c9dc93: Download complete [2024-07-15T01:24:19.337Z] aa269ceb94a6: Verifying Checksum [2024-07-15T01:24:19.337Z] aa269ceb94a6: Download complete [2024-07-15T01:24:22.622Z] 5df492c9dc93: Pull complete [2024-07-15T01:24:22.622Z] 7629e6793208: Pull complete [2024-07-15T01:24:22.622Z] 4f4fb700ef54: Pull complete [2024-07-15T01:24:22.622Z] fb5054dd5b73: Pull complete [2024-07-15T01:24:22.622Z] eeca6798cff9: Pull complete [2024-07-15T01:24:25.152Z] aa269ceb94a6: Pull complete [2024-07-15T01:24:25.718Z] ada007ff1a6a: Pull complete [2024-07-15T01:24:25.718Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-15T01:24:25.718Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-15T01:24:25.718Z] ---> f489d0715acc [2024-07-15T01:24:25.718Z] Step 3/10 : ARG MAKE=make build [2024-07-15T01:24:29.008Z] ---> Running in c7bf69a58890 [2024-07-15T01:24:29.008Z] Removing intermediate container c7bf69a58890 [2024-07-15T01:24:29.008Z] ---> c10a9a061fca [2024-07-15T01:24:29.008Z] Step 4/10 : WORKDIR /device-sdk-go [2024-07-15T01:24:29.008Z] ---> Running in d0ab8f338278 [2024-07-15T01:24:29.008Z] Removing intermediate container d0ab8f338278 [2024-07-15T01:24:29.008Z] ---> c6c6236e1991 [2024-07-15T01:24:29.008Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-15T01:24:29.008Z] ---> Running in db92830477f7 [2024-07-15T01:24:29.008Z] Removing intermediate container db92830477f7 [2024-07-15T01:24:29.008Z] ---> 7e73607d97e3 [2024-07-15T01:24:29.008Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-07-15T01:24:29.008Z] ---> Running in dc2a580817ba [2024-07-15T01:24:29.268Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-15T01:24:29.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-15T01:24:29.784Z] OK: 264 MiB in 52 packages [2024-07-15T01:24:30.041Z] Removing intermediate container dc2a580817ba [2024-07-15T01:24:30.041Z] ---> b2730c4c0753 [2024-07-15T01:24:30.041Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-15T01:24:30.041Z] ---> e1d043fa7ad6 [2024-07-15T01:24:30.041Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-15T01:24:30.041Z] ---> Running in 0b1ccbad1b5a [2024-07-15T01:24:31.894Z] Still waiting to schedule task [2024-07-15T01:24:31.895Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5580’ is offline [2024-07-15T01:25:16.736Z] Removing intermediate container 0b1ccbad1b5a [2024-07-15T01:25:16.736Z] ---> da7eb1fc4a99 [2024-07-15T01:25:16.736Z] Step 9/10 : COPY . . [2024-07-15T01:25:16.736Z] ---> 22b1b47761ba [2024-07-15T01:25:16.736Z] Step 10/10 : RUN ${MAKE} [2024-07-15T01:25:16.736Z] ---> Running in 0b420eeda767 [2024-07-15T01:25:16.736Z] noop [2024-07-15T01:25:16.736Z] Removing intermediate container 0b420eeda767 [2024-07-15T01:25:16.736Z] ---> 5a34e1044f50 [2024-07-15T01:25:16.736Z] Successfully built 5a34e1044f50 [2024-07-15T01:25:16.736Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T01:25:17.061Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-15T01:25:17.061Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T01:25:17.138Z] prd-ubuntu20.04-docker-8c-8g-5582 does not seem to be running inside a container [2024-07-15T01:25:17.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1594 -v /w/workspace/gexfoundry_device-sdk-go_PR-1594:/w/workspace/gexfoundry_device-sdk-go_PR-1594:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-15T01:25:17.493Z] $ docker top 64d70db3c180d454a6ae70415dff58add08d296dded4443ccab9d17bd30ecf2c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-15T01:25:17.847Z] + go version [2024-07-15T01:25:17.847Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-15T01:25:17.855Z] $ docker stop --time=1 64d70db3c180d454a6ae70415dff58add08d296dded4443ccab9d17bd30ecf2c [2024-07-15T01:25:19.112Z] $ docker rm -f --volumes 64d70db3c180d454a6ae70415dff58add08d296dded4443ccab9d17bd30ecf2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T01:25:19.545Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-15T01:25:19.545Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T01:25:19.626Z] prd-ubuntu20.04-docker-8c-8g-5582 does not seem to be running inside a container [2024-07-15T01:25:19.651Z] $ 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-1594 -v /w/workspace/gexfoundry_device-sdk-go_PR-1594:/w/workspace/gexfoundry_device-sdk-go_PR-1594:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-15T01:25:20.000Z] $ docker top ce7f2c72bceeca93d6312797c9f432ddebdd5107ee2b914a3db1afb10711e0be -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-15T01:25:20.352Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1594 [Pipeline] fileExists [Pipeline] sh [2024-07-15T01:25:20.651Z] + make test [2024-07-15T01:25:20.651Z] go test -race -coverprofile=coverage.out ./... [2024-07-15T01:25:28.765Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-07-15T01:26:07.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-07-15T01:26:07.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-07-15T01:26:07.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-07-15T01:26:07.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-07-15T01:26:07.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-07-15T01:26:07.482Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.025s coverage: 27.0% of statements [2024-07-15T01:26:07.482Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.032s coverage: 80.0% of statements [2024-07-15T01:26:07.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-07-15T01:26:07.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-07-15T01:26:07.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-07-15T01:26:07.482Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.041s coverage: 86.0% of statements [2024-07-15T01:26:07.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-07-15T01:26:07.482Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-07-15T01:26:08.053Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.092s coverage: 54.9% of statements [2024-07-15T01:26:09.005Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-07-15T01:26:10.941Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.036s coverage: 14.4% of statements [2024-07-15T01:26:10.941Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.002s coverage: 44.6% of statements [2024-07-15T01:26:10.941Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.053s coverage: 68.5% of statements [2024-07-15T01:26:10.941Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.126s coverage: 89.2% of statements [2024-07-15T01:26:10.941Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.059s coverage: 5.4% of statements [2024-07-15T01:26:14.751Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5584 in /w/workspace/gexfoundry_device-sdk-go_PR-1594 [Pipeline] { [Pipeline] ws [2024-07-15T01:26:14.768Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2024-07-15T01:26:17.830Z] The recommended git tool is: git [2024-07-15T01:26:25.844Z] using credential edgex-jenkins-ssh [2024-07-15T01:26:25.876Z] Cloning the remote Git repository [2024-07-15T01:26:25.934Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-07-15T01:26:26.116Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2024-07-15T01:26:26.324Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-07-15T01:26:26.325Z] > git --version # timeout=10 [2024-07-15T01:26:26.360Z] > git --version # 'git version 2.25.1' [2024-07-15T01:26:26.362Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-15T01:26:26.535Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-15T01:26:29.846Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-07-15T01:26:29.882Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-15T01:26:31.510Z] Merging remotes/origin/main commit 50e812dd0fc65b097297637d35e073c818e89983 into PR head commit d8a40c0890ccea5e20f95572cd1093eff0cfc096 [2024-07-15T01:26:30.795Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-07-15T01:26:30.836Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-07-15T01:26:30.837Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-15T01:26:30.863Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1594/head:refs/remotes/origin/PR-1594 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-15T01:26:31.528Z] > git config core.sparsecheckout # timeout=10 [2024-07-15T01:26:31.597Z] > git checkout -f d8a40c0890ccea5e20f95572cd1093eff0cfc096 # timeout=10 [2024-07-15T01:26:31.836Z] Merge succeeded, producing d8a40c0890ccea5e20f95572cd1093eff0cfc096 [2024-07-15T01:26:31.837Z] Checking out Revision d8a40c0890ccea5e20f95572cd1093eff0cfc096 (PR-1594) [2024-07-15T01:26:31.715Z] > git remote # timeout=10 [2024-07-15T01:26:31.734Z] > git config --get remote.origin.url # timeout=10 [2024-07-15T01:26:31.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-15T01:26:31.784Z] > git merge 50e812dd0fc65b097297637d35e073c818e89983 # timeout=10 [2024-07-15T01:26:31.811Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-15T01:26:31.841Z] > git config core.sparsecheckout # timeout=10 [2024-07-15T01:26:31.858Z] > git checkout -f d8a40c0890ccea5e20f95572cd1093eff0cfc096 # timeout=10 [2024-07-15T01:26:35.553Z] Commit message: "feat: Add /profilescan API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-15T01:26:37.233Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-15T01:26:37.233Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-15T01:26:37.233Z] Dload Upload Total Spent Left Speed [2024-07-15T01:26:37.233Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 115k 0 --:--:-- --:--:-- --:--:-- 115k [Pipeline] sh [2024-07-15T01:26:37.565Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-15T01:26:37.905Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-15T01:26:37.905Z] + sudo tee /etc/docker/daemon.new [2024-07-15T01:26:37.905Z] { [2024-07-15T01:26:37.905Z] "registry-mirrors": [ [2024-07-15T01:26:37.905Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-15T01:26:37.905Z] ], [2024-07-15T01:26:37.905Z] "bip": "10.250.0.254/24", [2024-07-15T01:26:37.905Z] "hosts": [ [2024-07-15T01:26:37.905Z] "tcp://0.0.0.0:5555", [2024-07-15T01:26:37.905Z] "unix:///var/run/docker.sock" [2024-07-15T01:26:37.905Z] ], [2024-07-15T01:26:37.905Z] "mtu": 1458, [2024-07-15T01:26:37.905Z] "selinux-enabled": true, [2024-07-15T01:26:37.905Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-15T01:26:37.905Z] } [Pipeline] sh [2024-07-15T01:26:38.234Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-15T01:26:38.569Z] + sudo service docker restart [2024-07-15T01:26:49.645Z] internal/controller/http/discovery.go:101:92: S1039: unnecessary use of fmt.Sprintf (gosimple) [2024-07-15T01:26:49.645Z] return sdkModels.ProfileScanRequest{}, errors.NewCommonEdgeX(errors.KindContractInvalid, fmt.Sprintf("request body validation failed"), err) [2024-07-15T01:26:49.645Z] ^ [2024-07-15T01:26:49.645Z] make: *** [Makefile:42: lint] Error 1 [Pipeline] } [2024-07-15T01:26:49.653Z] $ docker stop --time=1 ce7f2c72bceeca93d6312797c9f432ddebdd5107ee2b914a3db1afb10711e0be [2024-07-15T01:26:53.477Z] $ docker rm -f --volumes ce7f2c72bceeca93d6312797c9f432ddebdd5107ee2b914a3db1afb10711e0be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T01:26:54.344Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-15T01:26:54.344Z] [2024-07-15T01:26:54.344Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T01:26:54.640Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-15T01:26:54.640Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-15T01:26:54.640Z] 5eb5b503b376: Pulling fs layer [2024-07-15T01:26:54.640Z] 5c69ac0246d0: Pulling fs layer [2024-07-15T01:26:54.640Z] ec43610c2a17: Pulling fs layer [2024-07-15T01:26:54.640Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-15T01:26:54.640Z] 33b1e0a273af: Pulling fs layer [2024-07-15T01:26:54.640Z] 5d3b04190fa2: Pulling fs layer [2024-07-15T01:26:54.640Z] 2f39f015ded8: Pulling fs layer [2024-07-15T01:26:54.640Z] 33b1e0a273af: Waiting [2024-07-15T01:26:54.640Z] 5d3b04190fa2: Waiting [2024-07-15T01:26:54.640Z] 2f39f015ded8: Waiting [2024-07-15T01:26:54.640Z] 3a2ae6a8a46f: Waiting [2024-07-15T01:26:54.900Z] 5c69ac0246d0: Download complete [2024-07-15T01:26:54.900Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-15T01:26:54.900Z] 3a2ae6a8a46f: Download complete [2024-07-15T01:26:54.900Z] 33b1e0a273af: Verifying Checksum [2024-07-15T01:26:54.900Z] 33b1e0a273af: Download complete [2024-07-15T01:26:54.900Z] 5d3b04190fa2: Verifying Checksum [2024-07-15T01:26:54.900Z] 5d3b04190fa2: Download complete [2024-07-15T01:26:54.900Z] ec43610c2a17: Verifying Checksum [2024-07-15T01:26:54.900Z] ec43610c2a17: Download complete [2024-07-15T01:26:55.159Z] 5eb5b503b376: Verifying Checksum [2024-07-15T01:26:55.159Z] 5eb5b503b376: Download complete [2024-07-15T01:26:55.727Z] 2f39f015ded8: Download complete [2024-07-15T01:26:56.293Z] 5eb5b503b376: Pull complete [2024-07-15T01:26:56.551Z] 5c69ac0246d0: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-15T01:26:56.861Z] provisioning config files... [2024-07-15T01:26:56.883Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config7985072190494578783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-15T01:26:57.117Z] ec43610c2a17: Pull complete [2024-07-15T01:26:57.117Z] 3a2ae6a8a46f: Pull complete [2024-07-15T01:26:57.117Z] 33b1e0a273af: Pull complete [2024-07-15T01:26:57.311Z] ---> ****-login.sh [2024-07-15T01:26:57.311Z] nexus3.edgexfoundry.org:10001 [2024-07-15T01:26:57.374Z] 5d3b04190fa2: Pull complete [2024-07-15T01:26:57.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T01:26:57.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T01:26:57.851Z] Configure a credential helper to remove this warning. See [2024-07-15T01:26:57.851Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T01:26:57.851Z] [2024-07-15T01:26:57.851Z] Login Succeeded [2024-07-15T01:26:57.851Z] nexus3.edgexfoundry.org:10002 [2024-07-15T01:26:58.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T01:26:58.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T01:26:58.121Z] Configure a credential helper to remove this warning. See [2024-07-15T01:26:58.121Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T01:26:58.121Z] [2024-07-15T01:26:58.121Z] Login Succeeded [2024-07-15T01:26:58.395Z] nexus3.edgexfoundry.org:10003 [2024-07-15T01:26:58.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T01:26:58.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T01:26:58.669Z] Configure a credential helper to remove this warning. See [2024-07-15T01:26:58.669Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T01:26:58.669Z] [2024-07-15T01:26:58.669Z] Login Succeeded [2024-07-15T01:26:58.669Z] nexus3.edgexfoundry.org:10004 [2024-07-15T01:26:58.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T01:26:58.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T01:26:58.940Z] Configure a credential helper to remove this warning. See [2024-07-15T01:26:58.940Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T01:26:58.940Z] [2024-07-15T01:26:58.940Z] Login Succeeded [2024-07-15T01:26:58.940Z] ****.io [2024-07-15T01:26:59.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-15T01:26:59.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-15T01:26:59.475Z] Configure a credential helper to remove this warning. See [2024-07-15T01:26:59.475Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-15T01:26:59.475Z] [2024-07-15T01:26:59.475Z] Login Succeeded [2024-07-15T01:26:59.475Z] ---> ****-login.sh ends [Pipeline] } [2024-07-15T01:26:59.489Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-15T01:26:59.824Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-15T01:26:59.844Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-15T01:26:59.861Z] ========================================================= [2024-07-15T01:26:59.861Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-15T01:26:59.861Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T01:27:00.229Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-15T01:27:00.815Z] Sending build context to Docker daemon 13.02MB [2024-07-15T01:27:00.815Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-07-15T01:27:00.815Z] Step 2/10 : FROM ${BASE} AS builder [2024-07-15T01:27:01.084Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-15T01:27:01.084Z] c6b39de5b339: Pulling fs layer [2024-07-15T01:27:01.084Z] a69c41024577: Pulling fs layer [2024-07-15T01:27:01.084Z] d6de4b400683: Pulling fs layer [2024-07-15T01:27:01.084Z] 35cb2a7552d0: Pulling fs layer [2024-07-15T01:27:01.084Z] 4f4fb700ef54: Pulling fs layer [2024-07-15T01:27:01.084Z] 464afbd9ba4c: Pulling fs layer [2024-07-15T01:27:01.084Z] 00f215d4a9da: Pulling fs layer [2024-07-15T01:27:01.084Z] d496ad576159: Pulling fs layer [2024-07-15T01:27:01.084Z] 4f4fb700ef54: Waiting [2024-07-15T01:27:01.084Z] 464afbd9ba4c: Waiting [2024-07-15T01:27:01.084Z] 00f215d4a9da: Waiting [2024-07-15T01:27:01.084Z] d496ad576159: Waiting [2024-07-15T01:27:01.084Z] 35cb2a7552d0: Waiting [2024-07-15T01:27:01.084Z] a69c41024577: Verifying Checksum [2024-07-15T01:27:01.084Z] a69c41024577: Download complete [2024-07-15T01:27:01.084Z] 35cb2a7552d0: Verifying Checksum [2024-07-15T01:27:01.084Z] 35cb2a7552d0: Download complete [2024-07-15T01:27:01.084Z] 4f4fb700ef54: Verifying Checksum [2024-07-15T01:27:01.084Z] 4f4fb700ef54: Download complete [2024-07-15T01:27:01.084Z] 464afbd9ba4c: Verifying Checksum [2024-07-15T01:27:01.084Z] 464afbd9ba4c: Download complete [2024-07-15T01:27:01.084Z] c6b39de5b339: Verifying Checksum [2024-07-15T01:27:01.084Z] c6b39de5b339: Download complete [2024-07-15T01:27:01.554Z] 2f39f015ded8: Pull complete [2024-07-15T01:27:01.554Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-15T01:27:01.554Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-15T01:27:01.554Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T01:27:01.657Z] prd-ubuntu20.04-docker-8c-8g-5582 does not seem to be running inside a container [2024-07-15T01:27:01.672Z] d496ad576159: Verifying Checksum [2024-07-15T01:27:01.672Z] d496ad576159: Download complete [2024-07-15T01:27:01.684Z] $ 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-1594 -v /w/workspace/gexfoundry_device-sdk-go_PR-1594:/w/workspace/gexfoundry_device-sdk-go_PR-1594:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-15T01:27:01.940Z] c6b39de5b339: Pull complete [2024-07-15T01:27:02.528Z] a69c41024577: Pull complete [2024-07-15T01:27:02.800Z] d6de4b400683: Verifying Checksum [2024-07-15T01:27:02.800Z] d6de4b400683: Download complete [2024-07-15T01:27:03.960Z] $ docker top 3a7be20cc921f1c7c4e418a9c6e3b66579add8902bea2f12058e95543491b0f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-15T01:27:04.215Z] 00f215d4a9da: Verifying Checksum [2024-07-15T01:27:04.215Z] 00f215d4a9da: Download complete [2024-07-15T01:27:04.373Z] ---> job-cost.sh [2024-07-15T01:27:04.373Z] lf-activate-venv: SKIPPING [2024-07-15T01:27:04.373Z] INFO: No Stack... [2024-07-15T01:27:04.632Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-15T01:27:04.890Z] INFO: Archiving Costs [Pipeline] sh [2024-07-15T01:27:05.172Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives/cost.csv [2024-07-15T01:27:05.172Z] + cut -d, -f6 [Pipeline] lock [2024-07-15T01:27:05.185Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-4-stack-cost] [2024-07-15T01:27:05.201Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1594-4-stack-cost] did not exist. Created. [2024-07-15T01:27:05.208Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-15T01:27:05.512Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-15T01:27:05.562Z] Stashed 1 file(s) [Pipeline] } [2024-07-15T01:27:05.576Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-4-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-15T01:27:05.595Z] $ docker stop --time=1 3a7be20cc921f1c7c4e418a9c6e3b66579add8902bea2f12058e95543491b0f2 [2024-07-15T01:27:06.777Z] $ docker rm -f --volumes 3a7be20cc921f1c7c4e418a9c6e3b66579add8902bea2f12058e95543491b0f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-15T01:27:06.931Z] Failed in branch amd64 [2024-07-15T01:27:16.620Z] d6de4b400683: Pull complete [2024-07-15T01:27:16.620Z] 35cb2a7552d0: Pull complete [2024-07-15T01:27:16.620Z] 4f4fb700ef54: Pull complete [2024-07-15T01:27:16.620Z] 464afbd9ba4c: Pull complete [2024-07-15T01:27:26.701Z] 00f215d4a9da: Pull complete [2024-07-15T01:27:26.968Z] d496ad576159: Pull complete [2024-07-15T01:27:26.968Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-15T01:27:26.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-15T01:27:26.968Z] ---> f246e2811388 [2024-07-15T01:27:26.968Z] Step 3/10 : ARG MAKE=make build [2024-07-15T01:27:29.581Z] ---> Running in 38f4a099021c [2024-07-15T01:27:29.581Z] Removing intermediate container 38f4a099021c [2024-07-15T01:27:29.581Z] ---> 8da442b10acd [2024-07-15T01:27:29.581Z] Step 4/10 : WORKDIR /device-sdk-go [2024-07-15T01:27:29.848Z] ---> Running in e1b022b132b5 [2024-07-15T01:27:30.116Z] Removing intermediate container e1b022b132b5 [2024-07-15T01:27:30.116Z] ---> 9f6188051bb4 [2024-07-15T01:27:30.116Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-15T01:27:30.116Z] ---> Running in 874150f2dae3 [2024-07-15T01:27:30.384Z] Removing intermediate container 874150f2dae3 [2024-07-15T01:27:30.384Z] ---> b050e1af7b0c [2024-07-15T01:27:30.384Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-07-15T01:27:30.384Z] ---> Running in 41bb590b9cce [2024-07-15T01:27:31.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-15T01:27:32.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-15T01:27:33.193Z] OK: 266 MiB in 52 packages [2024-07-15T01:27:33.780Z] Removing intermediate container 41bb590b9cce [2024-07-15T01:27:33.780Z] ---> e4543ad14d6b [2024-07-15T01:27:33.780Z] Step 7/10 : COPY go.mod vendor* ./ [2024-07-15T01:27:34.367Z] ---> 3d9488412337 [2024-07-15T01:27:34.367Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-15T01:27:34.367Z] ---> Running in 12cd879d14f1 [2024-07-15T01:29:41.064Z] Removing intermediate container 12cd879d14f1 [2024-07-15T01:29:41.064Z] ---> 475e23e8ff6f [2024-07-15T01:29:41.064Z] Step 9/10 : COPY . . [2024-07-15T01:29:41.064Z] ---> 23d2cfa892b3 [2024-07-15T01:29:41.064Z] Step 10/10 : RUN ${MAKE} [2024-07-15T01:29:41.064Z] ---> Running in 61d0e81fc918 [2024-07-15T01:29:41.064Z] noop [2024-07-15T01:29:41.064Z] Removing intermediate container 61d0e81fc918 [2024-07-15T01:29:41.064Z] ---> 62bf4b5d9870 [2024-07-15T01:29:41.064Z] Successfully built 62bf4b5d9870 [2024-07-15T01:29:41.064Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T01:29:41.428Z] + docker inspect -f . ci-base-image-arm64 [2024-07-15T01:29:41.428Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T01:29:41.650Z] prd-ubuntu20.04-docker-arm64-4c-16g-5584 does not seem to be running inside a container [2024-07-15T01:29:41.718Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-15T01:29:42.939Z] $ docker top 3397c1a4765ea16d63c30d7401d9526a5ecd01c85fea15bbd03a9c1365fc35bd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-15T01:29:43.768Z] + go version [2024-07-15T01:29:43.768Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-15T01:29:43.784Z] $ docker stop --time=1 3397c1a4765ea16d63c30d7401d9526a5ecd01c85fea15bbd03a9c1365fc35bd [2024-07-15T01:29:45.416Z] $ docker rm -f --volumes 3397c1a4765ea16d63c30d7401d9526a5ecd01c85fea15bbd03a9c1365fc35bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T01:29:45.983Z] + docker inspect -f . ci-base-image-arm64 [2024-07-15T01:29:45.983Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T01:29:46.151Z] prd-ubuntu20.04-docker-arm64-4c-16g-5584 does not seem to be running inside a container [2024-07-15T01:29:46.210Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-15T01:29:47.297Z] $ docker top 132c5a6e9a5b33f59dbc6b10b88f6f4e580e87971aef57d08a2653984af1de25 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-15T01:29:47.799Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2024-07-15T01:29:48.411Z] + make test [2024-07-15T01:29:48.677Z] go test -race -coverprofile=coverage.out ./... [2024-07-15T01:30:35.507Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-07-15T01:33:57.555Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-07-15T01:33:57.555Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-07-15T01:33:57.555Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-07-15T01:33:57.555Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-07-15T01:33:57.555Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-07-15T01:34:05.760Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.124s coverage: 27.0% of statements [2024-07-15T01:34:10.007Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.168s coverage: 80.0% of statements [2024-07-15T01:34:15.511Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-07-15T01:34:15.511Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-07-15T01:34:16.923Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.290s coverage: 86.0% of statements [2024-07-15T01:34:21.181Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-07-15T01:34:22.591Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.528s coverage: 54.9% of statements [2024-07-15T01:34:26.834Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.153s coverage: 14.4% of statements [2024-07-15T01:34:26.834Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.681s coverage: 44.6% of statements [2024-07-15T01:34:27.794Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-07-15T01:34:27.794Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-07-15T01:34:29.206Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.299s coverage: 68.5% of statements [2024-07-15T01:34:32.545Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.400s coverage: 89.2% of statements [2024-07-15T01:34:35.907Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-07-15T01:34:37.313Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.250s coverage: 5.4% of statements [2024-07-15T01:34:38.290Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-15T01:34:38.290Z] GO111MODULE=on go vet ./... [2024-07-15T01:38:30.080Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-15T01:38:30.080Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-15T01:38:30.080Z] ./bin/test-attribution-txt.sh [2024-07-15T01:38:30.080Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-15T01:38:30.080Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-15T01:38:30.099Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-15T01:38:30.113Z] $ docker stop --time=1 132c5a6e9a5b33f59dbc6b10b88f6f4e580e87971aef57d08a2653984af1de25 [2024-07-15T01:38:32.033Z] $ docker rm -f --volumes 132c5a6e9a5b33f59dbc6b10b88f6f4e580e87971aef57d08a2653984af1de25 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-15T01:38:34.373Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-15T01:38:35.013Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-15T01:38:35.817Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-15T01:38:36.127Z] + ls -al . [2024-07-15T01:38:36.127Z] total 376 [2024-07-15T01:38:36.127Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 15 01:29 . [2024-07-15T01:38:36.127Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 01:26 .. [2024-07-15T01:38:36.127Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 15 01:26 .dockerignore [2024-07-15T01:38:36.127Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 01:26 .git [2024-07-15T01:38:36.127Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 01:26 .github [2024-07-15T01:38:36.127Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 15 01:26 .gitignore [2024-07-15T01:38:36.127Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 01:26 .golangci.yml [2024-07-15T01:38:36.127Z] -rw-rw-r-- 1 jenkins jenkins 48109 Jul 15 01:26 CHANGELOG.md [2024-07-15T01:38:36.127Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 01:26 GOVERNANCE.md [2024-07-15T01:38:36.127Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 15 01:26 Jenkinsfile [2024-07-15T01:38:36.127Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 15 01:26 LICENSE [2024-07-15T01:38:36.127Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jul 15 01:26 Makefile [2024-07-15T01:38:36.127Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 15 01:26 OWNERS.md [2024-07-15T01:38:36.127Z] -rw-rw-r-- 1 jenkins jenkins 4937 Jul 15 01:26 README.md [2024-07-15T01:38:36.127Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 01:24 VERSION [2024-07-15T01:38:36.127Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 01:26 bin [2024-07-15T01:38:36.127Z] -rw-r--r-- 1 jenkins jenkins 125353 Jul 15 01:34 coverage.out [2024-07-15T01:38:36.127Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 15 01:26 example [2024-07-15T01:38:36.127Z] -rw-rw-r-- 1 jenkins jenkins 7102 Jul 15 01:26 go.mod [2024-07-15T01:38:36.127Z] -rw-rw-r-- 1 jenkins jenkins 102003 Jul 15 01:26 go.sum [2024-07-15T01:38:36.127Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 01:26 internal [2024-07-15T01:38:36.127Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 01:26 openapi [2024-07-15T01:38:36.127Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 15 01:26 pkg [2024-07-15T01:38:36.127Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 01:26 snap [2024-07-15T01:38:36.127Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 15 01:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T01:38:36.468Z] + 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=d8a40c0890ccea5e20f95572cd1093eff0cfc096 --label arch=arm64 --label version=0.0.0 . [2024-07-15T01:38:38.854Z] Sending build context to Docker daemon 13.14MB [2024-07-15T01:38:38.854Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-07-15T01:38:38.854Z] Step 2/24 : FROM ${BASE} AS builder [2024-07-15T01:38:38.854Z] ---> 62bf4b5d9870 [2024-07-15T01:38:38.854Z] Step 3/24 : ARG MAKE=make build [2024-07-15T01:38:38.854Z] ---> Running in b39d5b6e6961 [2024-07-15T01:38:38.854Z] Removing intermediate container b39d5b6e6961 [2024-07-15T01:38:38.854Z] ---> 7f56d29374b8 [2024-07-15T01:38:38.854Z] Step 4/24 : WORKDIR /device-sdk-go [2024-07-15T01:38:38.854Z] ---> Running in 7bf694aaa6d9 [2024-07-15T01:38:38.854Z] Removing intermediate container 7bf694aaa6d9 [2024-07-15T01:38:38.854Z] ---> e3f0acdf09f0 [2024-07-15T01:38:38.854Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-15T01:38:38.854Z] ---> Running in 938c6e316841 [2024-07-15T01:38:38.854Z] Removing intermediate container 938c6e316841 [2024-07-15T01:38:38.854Z] ---> 4a61f5487c37 [2024-07-15T01:38:38.854Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-07-15T01:38:38.854Z] ---> Running in 761c76e5df41 [2024-07-15T01:38:39.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-15T01:38:40.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-15T01:38:40.967Z] OK: 266 MiB in 52 packages [2024-07-15T01:38:41.932Z] Removing intermediate container 761c76e5df41 [2024-07-15T01:38:41.932Z] ---> f8e36c8585d7 [2024-07-15T01:38:41.932Z] Step 7/24 : COPY go.mod vendor* ./ [2024-07-15T01:38:42.513Z] ---> 9e2881fd3c01 [2024-07-15T01:38:42.513Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-15T01:38:42.513Z] ---> Running in b7ec6ed532c4 [2024-07-15T01:38:45.084Z] Removing intermediate container b7ec6ed532c4 [2024-07-15T01:38:45.084Z] ---> 52f80fd84298 [2024-07-15T01:38:45.084Z] Step 9/24 : COPY . . [2024-07-15T01:38:46.488Z] ---> 853dd0d049c4 [2024-07-15T01:38:46.488Z] Step 10/24 : RUN ${MAKE} [2024-07-15T01:38:46.488Z] ---> Running in aa2ea76a7918 [2024-07-15T01:38:47.446Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-07-15T01:42:24.496Z] Removing intermediate container aa2ea76a7918 [2024-07-15T01:42:24.496Z] ---> 98ac9c0ea13b [2024-07-15T01:42:24.496Z] Step 11/24 : FROM alpine:3.18 [2024-07-15T01:42:24.496Z] 3.18: Pulling from library/alpine [2024-07-15T01:42:24.496Z] 5c905c7ebe2f: Pulling fs layer [2024-07-15T01:42:24.496Z] 5c905c7ebe2f: Download complete [2024-07-15T01:42:24.496Z] 5c905c7ebe2f: Pull complete [2024-07-15T01:42:24.496Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-15T01:42:24.496Z] Status: Downloaded newer image for alpine:3.18 [2024-07-15T01:42:24.496Z] ---> dec292d02e07 [2024-07-15T01:42:24.496Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-07-15T01:42:24.496Z] ---> Running in 2705e898ec6d [2024-07-15T01:42:24.496Z] Removing intermediate container 2705e898ec6d [2024-07-15T01:42:24.496Z] ---> 595d09b17408 [2024-07-15T01:42:24.496Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-07-15T01:42:24.496Z] ---> Running in 1149f691bba7 [2024-07-15T01:42:24.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-15T01:42:24.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-15T01:42:24.496Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-15T01:42:24.496Z] Executing busybox-1.36.1-r7.trigger [2024-07-15T01:42:24.496Z] OK: 8 MiB in 16 packages [2024-07-15T01:42:24.496Z] Removing intermediate container 1149f691bba7 [2024-07-15T01:42:24.496Z] ---> 4caf8dbd88db [2024-07-15T01:42:24.496Z] Step 14/24 : RUN apk --no-cache upgrade [2024-07-15T01:42:24.496Z] ---> Running in 9e1a990e66bf [2024-07-15T01:42:24.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-15T01:42:24.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-15T01:42:24.496Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-15T01:42:24.496Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-15T01:42:24.496Z] OK: 8 MiB in 16 packages [2024-07-15T01:42:24.496Z] Removing intermediate container 9e1a990e66bf [2024-07-15T01:42:24.496Z] ---> 3f15ee249784 [2024-07-15T01:42:24.496Z] Step 15/24 : WORKDIR / [2024-07-15T01:42:24.496Z] ---> Running in d6f642535dc6 [2024-07-15T01:42:24.496Z] Removing intermediate container d6f642535dc6 [2024-07-15T01:42:24.496Z] ---> a5c0cc85fb19 [2024-07-15T01:42:24.496Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-07-15T01:42:24.496Z] ---> 6ff710d103e2 [2024-07-15T01:42:24.496Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-07-15T01:42:24.496Z] ---> 88178f1325bd [2024-07-15T01:42:24.496Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-07-15T01:42:24.496Z] ---> e9ca49778f58 [2024-07-15T01:42:24.496Z] Step 19/24 : EXPOSE 59999 [2024-07-15T01:42:24.496Z] ---> Running in 9c2149c97a26 [2024-07-15T01:42:24.496Z] Removing intermediate container 9c2149c97a26 [2024-07-15T01:42:24.496Z] ---> 2e98a73bffbe [2024-07-15T01:42:24.496Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-07-15T01:42:24.762Z] ---> Running in fb4a509413ce [2024-07-15T01:42:25.026Z] Removing intermediate container fb4a509413ce [2024-07-15T01:42:25.026Z] ---> 5625cef612e8 [2024-07-15T01:42:25.026Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-07-15T01:42:25.026Z] ---> Running in 122b01d8f71a [2024-07-15T01:42:25.292Z] Removing intermediate container 122b01d8f71a [2024-07-15T01:42:25.292Z] ---> 22aaae528ebb [2024-07-15T01:42:25.292Z] Step 22/24 : LABEL arch=arm64 [2024-07-15T01:42:25.292Z] ---> Running in 614eb9c6c9d7 [2024-07-15T01:42:25.559Z] Removing intermediate container 614eb9c6c9d7 [2024-07-15T01:42:25.560Z] ---> 4abc70ccce24 [2024-07-15T01:42:25.560Z] Step 23/24 : LABEL git_sha=d8a40c0890ccea5e20f95572cd1093eff0cfc096 [2024-07-15T01:42:25.824Z] ---> Running in d134824c87ff [2024-07-15T01:42:26.090Z] Removing intermediate container d134824c87ff [2024-07-15T01:42:26.090Z] ---> c6b6392c5acf [2024-07-15T01:42:26.090Z] Step 24/24 : LABEL version=0.0.0 [2024-07-15T01:42:26.090Z] ---> Running in 2b0455ba65a2 [2024-07-15T01:42:26.355Z] Removing intermediate container 2b0455ba65a2 [2024-07-15T01:42:26.355Z] ---> 92a13b2120ff [2024-07-15T01:42:26.355Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-15T01:42:26.355Z] Successfully built 92a13b2120ff [2024-07-15T01:42:26.355Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T01:42:26.820Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-15T01:42:26.820Z] [2024-07-15T01:42:26.820Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T01:42:27.160Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-15T01:42:27.160Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-15T01:42:27.160Z] 8998bd30e6a1: Pulling fs layer [2024-07-15T01:42:27.160Z] 04944245beec: Pulling fs layer [2024-07-15T01:42:27.160Z] 699f458cf7ca: Pulling fs layer [2024-07-15T01:42:27.160Z] 765212b225bb: Pulling fs layer [2024-07-15T01:42:27.160Z] f23df028b6ca: Pulling fs layer [2024-07-15T01:42:27.160Z] d65c8cfc05b1: Pulling fs layer [2024-07-15T01:42:27.160Z] 2437ff75d9bd: Pulling fs layer [2024-07-15T01:42:27.160Z] 765212b225bb: Waiting [2024-07-15T01:42:27.160Z] d65c8cfc05b1: Waiting [2024-07-15T01:42:27.160Z] f23df028b6ca: Waiting [2024-07-15T01:42:27.160Z] 2437ff75d9bd: Waiting [2024-07-15T01:42:27.428Z] 04944245beec: Verifying Checksum [2024-07-15T01:42:27.428Z] 04944245beec: Download complete [2024-07-15T01:42:27.428Z] 765212b225bb: Verifying Checksum [2024-07-15T01:42:27.428Z] 765212b225bb: Download complete [2024-07-15T01:42:27.428Z] f23df028b6ca: Download complete [2024-07-15T01:42:27.428Z] d65c8cfc05b1: Verifying Checksum [2024-07-15T01:42:27.428Z] d65c8cfc05b1: Download complete [2024-07-15T01:42:27.695Z] 699f458cf7ca: Verifying Checksum [2024-07-15T01:42:27.695Z] 699f458cf7ca: Download complete [2024-07-15T01:42:27.961Z] 8998bd30e6a1: Download complete [2024-07-15T01:42:30.541Z] 2437ff75d9bd: Verifying Checksum [2024-07-15T01:42:30.541Z] 2437ff75d9bd: Download complete [2024-07-15T01:42:33.116Z] 8998bd30e6a1: Pull complete [2024-07-15T01:42:33.116Z] 04944245beec: Pull complete [2024-07-15T01:42:35.054Z] 699f458cf7ca: Pull complete [2024-07-15T01:42:35.054Z] 765212b225bb: Pull complete [2024-07-15T01:42:36.059Z] f23df028b6ca: Pull complete [2024-07-15T01:42:36.340Z] d65c8cfc05b1: Pull complete [2024-07-15T01:42:54.583Z] 2437ff75d9bd: Pull complete [2024-07-15T01:42:54.583Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-15T01:42:54.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-15T01:42:54.583Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T01:42:54.778Z] prd-ubuntu20.04-docker-arm64-4c-16g-5584 does not seem to be running inside a container [2024-07-15T01:42:54.831Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-15T01:42:57.558Z] $ docker top c91b7512b90e35c45ddbb5bb64b4a9e1368703a8c72913035e4745dd0a49da73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-15T01:42:58.404Z] ---> job-cost.sh [2024-07-15T01:42:58.404Z] lf-activate-venv: SKIPPING [2024-07-15T01:42:58.404Z] INFO: No Stack... [2024-07-15T01:42:58.986Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-15T01:42:59.568Z] INFO: Archiving Costs [Pipeline] sh [2024-07-15T01:43:00.196Z] + cut -d, -f6 [2024-07-15T01:43:00.196Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [Pipeline] lock [2024-07-15T01:43:00.254Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-4-stack-cost] [2024-07-15T01:43:00.262Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1594-4-stack-cost] did not exist. Created. [2024-07-15T01:43:00.271Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-15T01:43:00.937Z] /w/workspace/device-sdk-go/4@tmp/durable-4ed93fe8/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-15T01:43:01.573Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-15T01:43:01.595Z] Warning: overwriting stash ‘stack-cost’ [2024-07-15T01:43:01.676Z] Stashed 1 file(s) [Pipeline] } [2024-07-15T01:43:01.697Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-4-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-15T01:43:01.722Z] $ docker stop --time=1 c91b7512b90e35c45ddbb5bb64b4a9e1368703a8c72913035e4745dd0a49da73 [2024-07-15T01:43:03.256Z] $ docker rm -f --volumes c91b7512b90e35c45ddbb5bb64b4a9e1368703a8c72913035e4745dd0a49da73 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-07-15T01:43:04.429Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives ] [2024-07-15T01:43:04.429Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives [2024-07-15T01:43:04.429Z] total 16 [2024-07-15T01:43:04.429Z] drwxr-xr-x 3 root root 4096 Jul 15 01:27 . [2024-07-15T01:43:04.429Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 01:27 .. [2024-07-15T01:43:04.429Z] drwxr-xr-x 2 root root 4096 Jul 15 01:27 cost [2024-07-15T01:43:04.429Z] -rw-r--r-- 1 root root 86 Jul 15 01:27 cost.csv [2024-07-15T01:43:04.429Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives [2024-07-15T01:43:04.429Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives [2024-07-15T01:43:04.429Z] total 16 [2024-07-15T01:43:04.429Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 01:27 . [2024-07-15T01:43:04.429Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 01:27 .. [2024-07-15T01:43:04.429Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 15 01:27 cost [2024-07-15T01:43:04.429Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 15 01:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-15T01:43:04.721Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-15T01:43:05.584Z] ---> package-listing.sh [2024-07-15T01:43:05.584Z] ++ facter osfamily [2024-07-15T01:43:05.584Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-15T01:43:05.844Z] + OS_FAMILY=debian [2024-07-15T01:43:05.844Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1594 [2024-07-15T01:43:05.844Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-15T01:43:05.844Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-15T01:43:05.844Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-15T01:43:05.844Z] + PACKAGES=/tmp/packages_start.txt [2024-07-15T01:43:05.844Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1594 ']' [2024-07-15T01:43:05.844Z] + PACKAGES=/tmp/packages_end.txt [2024-07-15T01:43:05.844Z] + case "${OS_FAMILY}" in [2024-07-15T01:43:05.844Z] + dpkg -l [2024-07-15T01:43:05.844Z] + grep '^ii' [2024-07-15T01:43:05.844Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-15T01:43:05.844Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-15T01:43:05.844Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-15T01:43:05.844Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1594 ']' [2024-07-15T01:43:05.844Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives/ [2024-07-15T01:43:05.844Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives/ [Pipeline] echo [2024-07-15T01:43:05.855Z] 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-1594/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-15T01:43:06.136Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-15T01:43:06.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-15T01:43:06.695Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-15T01:43:06.783Z] prd-ubuntu20.04-docker-8c-8g-5582 does not seem to be running inside a container [2024-07-15T01:43:06.801Z] $ 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-1594/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-1594 -v /w/workspace/gexfoundry_device-sdk-go_PR-1594:/w/workspace/gexfoundry_device-sdk-go_PR-1594:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-15T01:43:07.047Z] $ docker top de428e94ae8f9e5faa7c55eb2ad93d6d29826ffd03a426ffb4286f127dec893e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-15T01:43:07.424Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-15T01:43:07.718Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-15T01:43:08.002Z] + ls /var/log/sa-host [2024-07-15T01:43:08.002Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-15T01:43:08.164Z] provisioning config files... [2024-07-15T01:43:08.173Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/config16104546488807848198tmp [Pipeline] { [Pipeline] echo [2024-07-15T01:43:08.190Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-15T01:43:08.477Z] ---> create-netrc.sh [Pipeline] } [2024-07-15T01:43:08.484Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-15T01:43:08.833Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-15T01:43:08.841Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-15T01:43:09.124Z] ---> sudo-logs.sh [2024-07-15T01:43:09.124Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-15T01:43:09.157Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-15T01:43:09.440Z] ---> job-cost.sh [2024-07-15T01:43:09.440Z] lf-activate-venv: SKIPPING [2024-07-15T01:43:09.440Z] DEBUG: total: 0.2199999988079071 [2024-07-15T01:43:09.440Z] INFO: Retrieving Stack Cost... [2024-07-15T01:43:09.699Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-15T01:43:10.268Z] INFO: Archiving Costs [Pipeline] echo [2024-07-15T01:43:10.280Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-15T01:43:10.563Z] ---> logs-deploy.sh [2024-07-15T01:43:10.563Z] lf-activate-venv: SKIPPING [2024-07-15T01:43:10.563Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1594/4 [2024-07-15T01:43:10.563Z] INFO: archiving workspace using pattern(s): [2024-07-15T01:43:11.501Z] Archives upload complete. [2024-07-15T01:43:11.761Z] INFO: archiving logs to Nexus