Pull request #1647 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6e397c3164c0f326d303eef9738a37ea5cdc1d78+7f77e0e62202159fe6913cf9abaefab1a89f7492 (c2f778e9c626f72b275023b3f7723edbcc110842) 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-ssh3518782287639127356.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5419044659153868967.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1647/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1647/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8321367190797090890.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1647/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9300881178680464460.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17011705328231499151.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1647/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1647/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13594747716825100310.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-25866 in /w/workspace/gexfoundry_device-sdk-go_PR-1647 [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-1647 # 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/1647/head:refs/remotes/origin/PR-1647 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7f77e0e62202159fe6913cf9abaefab1a89f7492 into PR head commit 6e397c3164c0f326d303eef9738a37ea5cdc1d78 Merge succeeded, producing 6e397c3164c0f326d303eef9738a37ea5cdc1d78 Checking out Revision 6e397c3164c0f326d303eef9738a37ea5cdc1d78 (PR-1647) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f 6e397c3164c0f326d303eef9738a37ea5cdc1d78 # 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 7f77e0e62202159fe6913cf9abaefab1a89f7492 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6e397c3164c0f326d303eef9738a37ea5cdc1d78 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-08T04:49:57.276Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-08T04:49:57.511Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-08T04:49:57.639Z] ========================================================= [2024-11-08T04:49:57.639Z] EdgeX Global Pipelines Version Info [2024-11-08T04:49:57.639Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-08T04:49:58.432Z] ------------------- [2024-11-08T04:49:58.432Z] stable info: [2024-11-08T04:49:58.432Z] ------------------- [2024-11-08T04:49:58.432Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-08T04:49:58.432Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-08T04:49:58.432Z] Message: update stable to v1.0.265 [2024-11-08T04:49:59.003Z] ------------------- [2024-11-08T04:49:59.003Z] experimental info: [2024-11-08T04:49:59.003Z] ------------------- [2024-11-08T04:49:59.003Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-08T04:49:59.003Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-08T04:49:59.003Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-08T04:49:59.220Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-11-08T04:49:59.284Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-11-08T04:49:59.346Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-08T04:49:59.403Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-08T04:49:59.464Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-08T04:49:59.531Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-08T04:49:59.594Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-08T04:49:59.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-11-08T04:49:59.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-08T04:49:59.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-08T04:49:59.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-08T04:49:59.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-11-08T04:49:59.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-08T04:50:00.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-08T04:50:00.076Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T04:50:00.136Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T04:50:00.204Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T04:50:00.264Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T04:50:00.323Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-08T04:50:00.383Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-08T04:50:00.447Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-11-08T04:50:00.510Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo [2024-11-08T04:50:00.578Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-08T04:50:00.645Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-08T04:50:00.712Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-08T04:50:00.782Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-08T04:50:00.847Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-08T04:50:00.908Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1647 [Pipeline] echo [2024-11-08T04:50:00.970Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1647 [Pipeline] echo [2024-11-08T04:50:01.033Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1647 [Pipeline] echo [2024-11-08T04:50:01.095Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6e397c3164c0f326d303eef9738a37ea5cdc1d78 [Pipeline] echo [2024-11-08T04:50:01.156Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6e397c3 [Pipeline] echo [2024-11-08T04:50:01.216Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T04:50:01.376Z] provisioning config files... [2024-11-08T04:50:01.391Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp/config12174358360881387066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T04:50:01.800Z] ---> ****-login.sh [2024-11-08T04:50:01.800Z] nexus3.edgexfoundry.org:10001 [2024-11-08T04:50:02.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T04:50:02.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T04:50:02.067Z] Configure a credential helper to remove this warning. See [2024-11-08T04:50:02.067Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T04:50:02.067Z] [2024-11-08T04:50:02.067Z] Login Succeeded [2024-11-08T04:50:02.067Z] nexus3.edgexfoundry.org:10002 [2024-11-08T04:50:02.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T04:50:02.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T04:50:02.328Z] Configure a credential helper to remove this warning. See [2024-11-08T04:50:02.328Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T04:50:02.328Z] [2024-11-08T04:50:02.328Z] Login Succeeded [2024-11-08T04:50:02.328Z] nexus3.edgexfoundry.org:10003 [2024-11-08T04:50:02.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T04:50:02.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T04:50:02.328Z] Configure a credential helper to remove this warning. See [2024-11-08T04:50:02.328Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T04:50:02.328Z] [2024-11-08T04:50:02.328Z] Login Succeeded [2024-11-08T04:50:02.328Z] nexus3.edgexfoundry.org:10004 [2024-11-08T04:50:02.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T04:50:02.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T04:50:02.328Z] Configure a credential helper to remove this warning. See [2024-11-08T04:50:02.329Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T04:50:02.329Z] [2024-11-08T04:50:02.329Z] Login Succeeded [2024-11-08T04:50:02.329Z] ****.io [2024-11-08T04:50:02.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T04:50:02.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T04:50:02.588Z] Configure a credential helper to remove this warning. See [2024-11-08T04:50:02.588Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T04:50:02.588Z] [2024-11-08T04:50:02.588Z] Login Succeeded [2024-11-08T04:50:02.588Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T04:50:02.622Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-08T04:50:03.331Z] + git rev-list -1 --merges 6e397c3164c0f326d303eef9738a37ea5cdc1d78~1..6e397c3164c0f326d303eef9738a37ea5cdc1d78 [Pipeline] echo [2024-11-08T04:50:03.384Z] -----------> git rev-list -1 --merges 6e397c3164c0f326d303eef9738a37ea5cdc1d78~1..6e397c3164c0f326d303eef9738a37ea5cdc1d78 6e397c3164c0f326d303eef9738a37ea5cdc1d78 [false] [Pipeline] sh [2024-11-08T04:50:03.727Z] + git log --format=format:%s -1 6e397c3164c0f326d303eef9738a37ea5cdc1d78 [Pipeline] echo [2024-11-08T04:50:03.769Z] ========================================================= [2024-11-08T04:50:03.769Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-08T04:50:03.769Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T04:50:04.255Z] + git log --format=format:%s -1 6e397c3164c0f326d303eef9738a37ea5cdc1d78 [Pipeline] echo [2024-11-08T04:50:04.297Z] [semverPrep] GIT_COMMIT: 6e397c3164c0f326d303eef9738a37ea5cdc1d78, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v4 [Pipeline] echo [2024-11-08T04:50:04.338Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-08T04:50:04.752Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-08T04:50:04.752Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-08T04:50:04.752Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-08T04:50:04.752Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-08T04:50:04.752Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-08T04:50:04.752Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-08T04:50:04.752Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T04:50:05.225Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T04:50:05.225Z] [2024-11-08T04:50:05.225Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T04:50:05.633Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T04:50:05.633Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-08T04:50:05.633Z] b85a868b505f: Pulling fs layer [2024-11-08T04:50:05.633Z] e2be974225ed: Pulling fs layer [2024-11-08T04:50:05.633Z] 339a4e72a1f5: Pulling fs layer [2024-11-08T04:50:05.633Z] 988bab9f4d93: Pulling fs layer [2024-11-08T04:50:05.633Z] 1469e6f7b9e6: Pulling fs layer [2024-11-08T04:50:05.633Z] eaf3925da568: Pulling fs layer [2024-11-08T04:50:05.633Z] bab4dde63d76: Pulling fs layer [2024-11-08T04:50:05.633Z] bde34c3a00c8: Pulling fs layer [2024-11-08T04:50:05.633Z] b352a97aabf1: Pulling fs layer [2024-11-08T04:50:05.633Z] 4872d77fe225: Pulling fs layer [2024-11-08T04:50:05.633Z] 5851b861e8e6: Pulling fs layer [2024-11-08T04:50:05.633Z] eaf3925da568: Waiting [2024-11-08T04:50:05.633Z] bab4dde63d76: Waiting [2024-11-08T04:50:05.633Z] 988bab9f4d93: Waiting [2024-11-08T04:50:05.633Z] 5851b861e8e6: Waiting [2024-11-08T04:50:05.633Z] bde34c3a00c8: Waiting [2024-11-08T04:50:05.633Z] 4872d77fe225: Waiting [2024-11-08T04:50:05.633Z] b352a97aabf1: Waiting [2024-11-08T04:50:05.633Z] 1469e6f7b9e6: Waiting [2024-11-08T04:50:05.633Z] e2be974225ed: Verifying Checksum [2024-11-08T04:50:05.633Z] e2be974225ed: Download complete [2024-11-08T04:50:05.633Z] 988bab9f4d93: Verifying Checksum [2024-11-08T04:50:05.633Z] 988bab9f4d93: Download complete [2024-11-08T04:50:05.633Z] 339a4e72a1f5: Verifying Checksum [2024-11-08T04:50:05.633Z] 339a4e72a1f5: Download complete [2024-11-08T04:50:05.633Z] 1469e6f7b9e6: Verifying Checksum [2024-11-08T04:50:05.633Z] 1469e6f7b9e6: Download complete [2024-11-08T04:50:05.893Z] eaf3925da568: Download complete [2024-11-08T04:50:05.893Z] bde34c3a00c8: Verifying Checksum [2024-11-08T04:50:05.893Z] bde34c3a00c8: Download complete [2024-11-08T04:50:05.893Z] b352a97aabf1: Verifying Checksum [2024-11-08T04:50:05.893Z] b352a97aabf1: Download complete [2024-11-08T04:50:05.893Z] 4872d77fe225: Download complete [2024-11-08T04:50:05.893Z] 5851b861e8e6: Download complete [2024-11-08T04:50:05.893Z] b85a868b505f: Verifying Checksum [2024-11-08T04:50:05.893Z] b85a868b505f: Download complete [2024-11-08T04:50:06.152Z] bab4dde63d76: Verifying Checksum [2024-11-08T04:50:06.152Z] bab4dde63d76: Download complete [2024-11-08T04:50:07.088Z] b85a868b505f: Pull complete [2024-11-08T04:50:07.346Z] e2be974225ed: Pull complete [2024-11-08T04:50:07.916Z] 339a4e72a1f5: Pull complete [2024-11-08T04:50:07.916Z] 988bab9f4d93: Pull complete [2024-11-08T04:50:08.175Z] 1469e6f7b9e6: Pull complete [2024-11-08T04:50:08.175Z] eaf3925da568: Pull complete [2024-11-08T04:50:10.081Z] bab4dde63d76: Pull complete [2024-11-08T04:50:10.081Z] bde34c3a00c8: Pull complete [2024-11-08T04:50:10.339Z] b352a97aabf1: Pull complete [2024-11-08T04:50:10.339Z] 4872d77fe225: Pull complete [2024-11-08T04:50:10.601Z] 5851b861e8e6: Pull complete [2024-11-08T04:50:10.601Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-08T04:50:10.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T04:50:10.601Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T04:50:10.910Z] prd-ubuntu20.04-docker-8c-8g-25866 does not seem to be running inside a container [2024-11-08T04:50:10.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1647 -v /w/workspace/gexfoundry_device-sdk-go_PR-1647:/w/workspace/gexfoundry_device-sdk-go_PR-1647:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1647@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-08T04:50:13.948Z] $ docker top e586d26a3cab7957ffb617de7415091201ee4ee644199cf3255af374d0fc65a9 -eo pid,comm [2024-11-08T04:50:14.007Z] 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-11-08T04:50:14.007Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-08T04:50:14.159Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T04:50:14.159Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T04:50:14.270Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T04:50:14.278Z] $ docker exec e586d26a3cab7957ffb617de7415091201ee4ee644199cf3255af374d0fc65a9 ssh-agent [2024-11-08T04:50:14.395Z] SSH_AUTH_SOCK=/tmp/ssh-dujto5hgm4Uw/agent.34 [2024-11-08T04:50:14.395Z] SSH_AGENT_PID=40 [2024-11-08T04:50:14.402Z] Running ssh-add (command line suppressed) [2024-11-08T04:50:14.515Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp/private_key_8859792100684348285.key (/w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp/private_key_8859792100684348285.key) [2024-11-08T04:50:14.526Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T04:50:14.872Z] + git tag --points-at HEAD [Pipeline] } [2024-11-08T04:50:14.906Z] $ docker exec --env ******** --env ******** e586d26a3cab7957ffb617de7415091201ee4ee644199cf3255af374d0fc65a9 ssh-agent -k [2024-11-08T04:50:15.001Z] unset SSH_AUTH_SOCK; [2024-11-08T04:50:15.002Z] unset SSH_AGENT_PID; [2024-11-08T04:50:15.002Z] echo Agent pid 40 killed; [2024-11-08T04:50:15.009Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-08T04:50:15.121Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T04:50:15.121Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T04:50:15.230Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T04:50:15.237Z] $ docker exec e586d26a3cab7957ffb617de7415091201ee4ee644199cf3255af374d0fc65a9 ssh-agent [2024-11-08T04:50:15.340Z] SSH_AUTH_SOCK=/tmp/ssh-eDpgnxjj3F2m/agent.73 [2024-11-08T04:50:15.340Z] SSH_AGENT_PID=79 [2024-11-08T04:50:15.345Z] Running ssh-add (command line suppressed) [2024-11-08T04:50:15.460Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp/private_key_10317909862185300063.key (/w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp/private_key_10317909862185300063.key) [2024-11-08T04:50:15.470Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T04:50:15.810Z] + git semver init [2024-11-08T04:50:16.069Z] 2024-11-08 04:50:16,029 [run_init] DEBUG init version:0.0.0 force:False [2024-11-08T04:50:16.069Z] 2024-11-08 04:50:16,031 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1647/.semver [2024-11-08T04:50:16.069Z] 2024-11-08 04:50:16,031 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1647/.semver [2024-11-08T04:50:16.069Z] 2024-11-08 04:50:16,031 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1647/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1647, universal_newlines=False, shell=None, istream=None) [2024-11-08T04:50:18.612Z] 2024-11-08 04:50:18,190 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1647/.git/info/exclude [2024-11-08T04:50:18.612Z] 2024-11-08 04:50:18,190 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1647/.semver/PR-1647 with force:False [2024-11-08T04:50:18.612Z] 2024-11-08 04:50:18,190 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1647/.semver/PR-1647 [2024-11-08T04:50:18.612Z] 2024-11-08 04:50:18,195 [execute] INFO git cat-file --batch-check [2024-11-08T04:50:18.612Z] 2024-11-08 04:50:18,195 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1647/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T04:50:18.612Z] 2024-11-08 04:50:18,200 [execute] INFO git cat-file --batch [2024-11-08T04:50:18.612Z] 2024-11-08 04:50:18,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1647/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T04:50:18.612Z] 2024-11-08 04:50:18,204 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1647/.semver/PR-1647 [2024-11-08T04:50:18.612Z] 0.0.0 [Pipeline] } [2024-11-08T04:50:18.643Z] $ docker exec --env ******** --env ******** e586d26a3cab7957ffb617de7415091201ee4ee644199cf3255af374d0fc65a9 ssh-agent -k [2024-11-08T04:50:18.741Z] unset SSH_AUTH_SOCK; [2024-11-08T04:50:18.742Z] unset SSH_AGENT_PID; [2024-11-08T04:50:18.742Z] echo Agent pid 79 killed; [2024-11-08T04:50:18.749Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-08T04:50:19.196Z] + git semver [Pipeline] } [2024-11-08T04:50:19.490Z] $ docker stop --time=1 e586d26a3cab7957ffb617de7415091201ee4ee644199cf3255af374d0fc65a9 [2024-11-08T04:50:20.808Z] $ docker rm -f --volumes e586d26a3cab7957ffb617de7415091201ee4ee644199cf3255af374d0fc65a9 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T04:50:21.229Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-08T04:50:21.542Z] Stashed 1 file(s) [Pipeline] echo [2024-11-08T04:50:21.566Z] [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-11-08T04:50:22.287Z] provisioning config files... [2024-11-08T04:50:22.299Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp/config5376438762776459013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T04:50:22.670Z] ---> ****-login.sh [2024-11-08T04:50:22.670Z] nexus3.edgexfoundry.org:10001 [2024-11-08T04:50:22.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T04:50:22.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T04:50:22.670Z] Configure a credential helper to remove this warning. See [2024-11-08T04:50:22.670Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T04:50:22.670Z] [2024-11-08T04:50:22.670Z] Login Succeeded [2024-11-08T04:50:22.670Z] nexus3.edgexfoundry.org:10002 [2024-11-08T04:50:22.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T04:50:22.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T04:50:22.670Z] Configure a credential helper to remove this warning. See [2024-11-08T04:50:22.670Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T04:50:22.670Z] [2024-11-08T04:50:22.670Z] Login Succeeded [2024-11-08T04:50:22.670Z] nexus3.edgexfoundry.org:10003 [2024-11-08T04:50:22.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T04:50:22.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T04:50:22.930Z] Configure a credential helper to remove this warning. See [2024-11-08T04:50:22.930Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T04:50:22.930Z] [2024-11-08T04:50:22.930Z] Login Succeeded [2024-11-08T04:50:22.930Z] nexus3.edgexfoundry.org:10004 [2024-11-08T04:50:22.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T04:50:22.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T04:50:22.930Z] Configure a credential helper to remove this warning. See [2024-11-08T04:50:22.930Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T04:50:22.930Z] [2024-11-08T04:50:22.930Z] Login Succeeded [2024-11-08T04:50:22.930Z] ****.io [2024-11-08T04:50:23.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T04:50:23.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T04:50:23.191Z] Configure a credential helper to remove this warning. See [2024-11-08T04:50:23.191Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T04:50:23.191Z] [2024-11-08T04:50:23.191Z] Login Succeeded [2024-11-08T04:50:23.191Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T04:50:23.227Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T04:50:23.460Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T04:50:23.507Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T04:50:23.552Z] ========================================================= [2024-11-08T04:50:23.552Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-08T04:50:23.552Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T04:50:24.081Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-08T04:50:24.081Z] Sending build context to Docker daemon 25.6MB [2024-11-08T04:50:24.081Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T04:50:24.081Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-08T04:50:24.341Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-08T04:50:24.341Z] 43c4264eed91: Pulling fs layer [2024-11-08T04:50:24.341Z] 4cc291be95ef: Pulling fs layer [2024-11-08T04:50:24.341Z] 2ac1f1163629: Pulling fs layer [2024-11-08T04:50:24.341Z] 5c3c966382ef: Pulling fs layer [2024-11-08T04:50:24.341Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T04:50:24.341Z] 5d5c8e513c77: Pulling fs layer [2024-11-08T04:50:24.341Z] 9f66e0745190: Pulling fs layer [2024-11-08T04:50:24.341Z] f49a43e4bbc0: Pulling fs layer [2024-11-08T04:50:24.341Z] 561ebcabdf7f: Pulling fs layer [2024-11-08T04:50:24.341Z] 5c3c966382ef: Waiting [2024-11-08T04:50:24.341Z] 4f4fb700ef54: Waiting [2024-11-08T04:50:24.341Z] 5d5c8e513c77: Waiting [2024-11-08T04:50:24.341Z] 9f66e0745190: Waiting [2024-11-08T04:50:24.341Z] f49a43e4bbc0: Waiting [2024-11-08T04:50:24.341Z] 561ebcabdf7f: Waiting [2024-11-08T04:50:24.341Z] 4cc291be95ef: Verifying Checksum [2024-11-08T04:50:24.341Z] 4cc291be95ef: Download complete [2024-11-08T04:50:24.341Z] 4f4fb700ef54: Verifying Checksum [2024-11-08T04:50:24.341Z] 4f4fb700ef54: Download complete [2024-11-08T04:50:24.341Z] 5d5c8e513c77: Verifying Checksum [2024-11-08T04:50:24.341Z] 5d5c8e513c77: Download complete [2024-11-08T04:50:24.341Z] 43c4264eed91: Verifying Checksum [2024-11-08T04:50:24.341Z] 43c4264eed91: Download complete [2024-11-08T04:50:24.341Z] 9f66e0745190: Verifying Checksum [2024-11-08T04:50:24.341Z] 9f66e0745190: Download complete [2024-11-08T04:50:24.599Z] 43c4264eed91: Pull complete [2024-11-08T04:50:24.599Z] 561ebcabdf7f: Download complete [2024-11-08T04:50:24.599Z] 4cc291be95ef: Pull complete [2024-11-08T04:50:24.857Z] 2ac1f1163629: Verifying Checksum [2024-11-08T04:50:24.857Z] 2ac1f1163629: Download complete [2024-11-08T04:50:25.115Z] f49a43e4bbc0: Verifying Checksum [2024-11-08T04:50:25.115Z] f49a43e4bbc0: Download complete [2024-11-08T04:50:28.443Z] 2ac1f1163629: Pull complete [2024-11-08T04:50:28.443Z] 5c3c966382ef: Pull complete [2024-11-08T04:50:28.443Z] 4f4fb700ef54: Pull complete [2024-11-08T04:50:28.443Z] 5d5c8e513c77: Pull complete [2024-11-08T04:50:28.443Z] 9f66e0745190: Pull complete [2024-11-08T04:50:30.969Z] f49a43e4bbc0: Pull complete [2024-11-08T04:50:31.226Z] 561ebcabdf7f: Pull complete [2024-11-08T04:50:31.226Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-08T04:50:31.226Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-08T04:50:31.226Z] ---> 3a752c3f9dda [2024-11-08T04:50:31.226Z] Step 3/10 : ARG MAKE=make build [2024-11-08T04:50:35.428Z] ---> Running in 40115aee2ec5 [2024-11-08T04:50:35.428Z] Removing intermediate container 40115aee2ec5 [2024-11-08T04:50:35.428Z] ---> f45d8a220232 [2024-11-08T04:50:35.428Z] Step 4/10 : WORKDIR /device-sdk-go [2024-11-08T04:50:35.428Z] ---> Running in df258ddcd024 [2024-11-08T04:50:35.428Z] Removing intermediate container df258ddcd024 [2024-11-08T04:50:35.428Z] ---> 9b364fc8b371 [2024-11-08T04:50:35.428Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-08T04:50:35.428Z] ---> Running in efb31ce9ca01 [2024-11-08T04:50:35.428Z] Removing intermediate container efb31ce9ca01 [2024-11-08T04:50:35.428Z] ---> 6635733b37e0 [2024-11-08T04:50:35.428Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-11-08T04:50:35.428Z] ---> Running in b79bb1cbb5ac [2024-11-08T04:50:35.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T04:50:35.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T04:50:36.257Z] OK: 246 MiB in 54 packages [2024-11-08T04:50:36.516Z] Removing intermediate container b79bb1cbb5ac [2024-11-08T04:50:36.516Z] ---> 449f11b88c86 [2024-11-08T04:50:36.516Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-08T04:50:36.775Z] ---> b03be6ede9da [2024-11-08T04:50:36.775Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T04:50:36.775Z] ---> Running in e7508ba850b6 [2024-11-08T04:50:37.071Z] Still waiting to schedule task [2024-11-08T04:50:37.071Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-08T04:51:23.512Z] Removing intermediate container e7508ba850b6 [2024-11-08T04:51:23.512Z] ---> 11b096b49606 [2024-11-08T04:51:23.512Z] Step 9/10 : COPY . . [2024-11-08T04:51:23.512Z] ---> 3c004c0cbe11 [2024-11-08T04:51:23.512Z] Step 10/10 : RUN ${MAKE} [2024-11-08T04:51:23.512Z] ---> Running in 1f6fa29d70dc [2024-11-08T04:51:23.512Z] noop [2024-11-08T04:51:23.512Z] Removing intermediate container 1f6fa29d70dc [2024-11-08T04:51:23.512Z] ---> 56160613c927 [2024-11-08T04:51:23.512Z] Successfully built 56160613c927 [2024-11-08T04:51:23.512Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T04:51:24.001Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T04:51:24.002Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T04:51:24.170Z] prd-ubuntu20.04-docker-8c-8g-25866 does not seem to be running inside a container [2024-11-08T04:51:24.213Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1647 -v /w/workspace/gexfoundry_device-sdk-go_PR-1647:/w/workspace/gexfoundry_device-sdk-go_PR-1647:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1647@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 ******** ci-base-image-x86_64 cat [2024-11-08T04:51:24.586Z] $ docker top f03843e593f7e93dbb5df850698a1375ea8e5df5d111ec9663eca0f28071f312 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T04:51:24.983Z] + go version [2024-11-08T04:51:24.983Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-08T04:51:25.022Z] $ docker stop --time=1 f03843e593f7e93dbb5df850698a1375ea8e5df5d111ec9663eca0f28071f312 [2024-11-08T04:51:26.311Z] $ docker rm -f --volumes f03843e593f7e93dbb5df850698a1375ea8e5df5d111ec9663eca0f28071f312 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T04:51:27.079Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T04:51:27.079Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T04:51:27.253Z] prd-ubuntu20.04-docker-8c-8g-25866 does not seem to be running inside a container [2024-11-08T04:51:27.289Z] $ 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-1647 -v /w/workspace/gexfoundry_device-sdk-go_PR-1647:/w/workspace/gexfoundry_device-sdk-go_PR-1647:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1647@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 ******** ci-base-image-x86_64 cat [2024-11-08T04:51:27.627Z] $ docker top 92484f3587f6fb3e855212504077c5907f14a8d5d64f8cac6e3241c478fc511f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T04:51:28.034Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1647 [Pipeline] fileExists [Pipeline] sh [2024-11-08T04:51:28.402Z] + make test [2024-11-08T04:51:28.402Z] go test -race -coverprofile=coverage.out ./... [2024-11-08T04:51:36.511Z] ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] [2024-11-08T04:52:15.207Z] github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements [2024-11-08T04:52:15.208Z] github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements [2024-11-08T04:52:15.208Z] github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements [2024-11-08T04:52:15.208Z] github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements [2024-11-08T04:52:15.208Z] github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements [2024-11-08T04:52:15.208Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.041s coverage: 28.7% of statements [2024-11-08T04:52:15.208Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.035s coverage: 79.4% of statements [2024-11-08T04:52:15.208Z] github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements [2024-11-08T04:52:15.208Z] github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements [2024-11-08T04:52:15.208Z] github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements [2024-11-08T04:52:15.208Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.048s coverage: 86.0% of statements [2024-11-08T04:52:15.208Z] ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] [2024-11-08T04:52:15.208Z] github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements [2024-11-08T04:52:15.208Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements [2024-11-08T04:52:15.208Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.085s coverage: 45.2% of statements [2024-11-08T04:52:16.595Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements [2024-11-08T04:52:18.531Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.043s coverage: 14.1% of statements [2024-11-08T04:52:18.531Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 2.882s coverage: 44.6% of statements [2024-11-08T04:52:18.531Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.054s coverage: 68.4% of statements [2024-11-08T04:52:18.531Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.082s coverage: 88.3% of statements [2024-11-08T04:52:18.531Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.057s coverage: 5.3% of statements [2024-11-08T04:52:50.603Z] GO111MODULE=on go vet ./... [2024-11-08T04:52:57.153Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T04:52:57.153Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T04:52:57.153Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T04:52:57.196Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T04:52:57.243Z] $ docker stop --time=1 92484f3587f6fb3e855212504077c5907f14a8d5d64f8cac6e3241c478fc511f [2024-11-08T04:53:01.088Z] $ docker rm -f --volumes 92484f3587f6fb3e855212504077c5907f14a8d5d64f8cac6e3241c478fc511f [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T04:53:01.808Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T04:53:01.926Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-08T04:53:02.618Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T04:53:02.939Z] + ls -al . [2024-11-08T04:53:02.939Z] total 704 [2024-11-08T04:53:02.939Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 04:51 . [2024-11-08T04:53:02.939Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 04:49 .. [2024-11-08T04:53:02.939Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 04:49 .dockerignore [2024-11-08T04:53:02.939Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 04:52 .git [2024-11-08T04:53:02.939Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 04:49 .github [2024-11-08T04:53:02.939Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 8 04:49 .gitignore [2024-11-08T04:53:02.939Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 8 04:49 .golangci.yml [2024-11-08T04:53:02.939Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 04:50 .semver [2024-11-08T04:53:02.939Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 8 04:49 CHANGELOG.md [2024-11-08T04:53:02.939Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 04:49 GOVERNANCE.md [2024-11-08T04:53:02.939Z] -rw-rw-r-- 1 jenkins jenkins 882 Nov 8 04:49 Jenkinsfile [2024-11-08T04:53:02.939Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 8 04:49 LICENSE [2024-11-08T04:53:02.939Z] -rw-rw-r-- 1 jenkins jenkins 2424 Nov 8 04:49 Makefile [2024-11-08T04:53:02.939Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 8 04:49 OWNERS.md [2024-11-08T04:53:02.939Z] -rw-rw-r-- 1 jenkins jenkins 4937 Nov 8 04:49 README.md [2024-11-08T04:53:02.939Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 04:50 VERSION [2024-11-08T04:53:02.939Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 04:49 bin [2024-11-08T04:53:02.939Z] -rw-r--r-- 1 jenkins jenkins 468089 Nov 8 04:52 coverage.out [2024-11-08T04:53:02.939Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 8 04:49 example [2024-11-08T04:53:02.939Z] -rw-rw-r-- 1 jenkins jenkins 6229 Nov 8 04:49 go.mod [2024-11-08T04:53:02.939Z] -rw-rw-r-- 1 jenkins jenkins 87126 Nov 8 04:49 go.sum [2024-11-08T04:53:02.939Z] drwxrwxr-x 13 jenkins jenkins 4096 Nov 8 04:49 internal [2024-11-08T04:53:02.939Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 04:49 openapi [2024-11-08T04:53:02.939Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 04:49 pkg [2024-11-08T04:53:02.939Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 04:49 snap [2024-11-08T04:53:02.939Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 8 04:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T04:53:03.370Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=6e397c3164c0f326d303eef9738a37ea5cdc1d78 --label arch=amd64 --label version=0.0.0 . [2024-11-08T04:53:03.370Z] Sending build context to Docker daemon 26.07MB [2024-11-08T04:53:03.370Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T04:53:03.370Z] Step 2/24 : FROM ${BASE} AS builder [2024-11-08T04:53:03.370Z] ---> 56160613c927 [2024-11-08T04:53:03.370Z] Step 3/24 : ARG MAKE=make build [2024-11-08T04:53:03.938Z] ---> Running in 7092d4da1fd3 [2024-11-08T04:53:03.938Z] Removing intermediate container 7092d4da1fd3 [2024-11-08T04:53:03.938Z] ---> 9ca14323d477 [2024-11-08T04:53:03.938Z] Step 4/24 : WORKDIR /device-sdk-go [2024-11-08T04:53:03.938Z] ---> Running in a4562820d07e [2024-11-08T04:53:03.938Z] Removing intermediate container a4562820d07e [2024-11-08T04:53:03.938Z] ---> b2b737e823fb [2024-11-08T04:53:03.938Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-08T04:53:03.938Z] ---> Running in c314719243c3 [2024-11-08T04:53:04.197Z] Removing intermediate container c314719243c3 [2024-11-08T04:53:04.197Z] ---> 7927dd61550c [2024-11-08T04:53:04.197Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-11-08T04:53:04.197Z] ---> Running in bd844f0c39ce [2024-11-08T04:53:04.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T04:53:04.716Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T04:53:04.978Z] OK: 246 MiB in 54 packages [2024-11-08T04:53:05.237Z] Removing intermediate container bd844f0c39ce [2024-11-08T04:53:05.237Z] ---> d4835b1ec108 [2024-11-08T04:53:05.237Z] Step 7/24 : COPY go.mod vendor* ./ [2024-11-08T04:53:05.495Z] ---> 9d470641852c [2024-11-08T04:53:05.495Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T04:53:05.495Z] ---> Running in 38d1dfa44ac3 [2024-11-08T04:53:06.064Z] Removing intermediate container 38d1dfa44ac3 [2024-11-08T04:53:06.064Z] ---> 8bf931c6f9d2 [2024-11-08T04:53:06.064Z] Step 9/24 : COPY . . [2024-11-08T04:53:07.000Z] ---> aa94b1e3b549 [2024-11-08T04:53:07.000Z] Step 10/24 : RUN ${MAKE} [2024-11-08T04:53:07.000Z] ---> Running in 92093e1afc99 [2024-11-08T04:53:07.261Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-11-08T04:53:12.799Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-25867 in /w/workspace/gexfoundry_device-sdk-go_PR-1647 [Pipeline] { [Pipeline] ws [2024-11-08T04:53:12.877Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-11-08T04:53:12.964Z] The recommended git tool is: git [2024-11-08T04:53:18.397Z] using credential edgex-jenkins-ssh [2024-11-08T04:53:18.419Z] Cloning the remote Git repository [2024-11-08T04:53:18.470Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-11-08T04:53:18.572Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-11-08T04:53:18.739Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-11-08T04:53:18.740Z] > git --version # timeout=10 [2024-11-08T04:53:18.760Z] > git --version # 'git version 2.25.1' [2024-11-08T04:53:18.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T04:53:18.933Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T04:53:22.729Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-11-08T04:53:22.760Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T04:53:24.254Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-11-08T04:53:24.320Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-11-08T04:53:24.323Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T04:53:24.367Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1647/head:refs/remotes/origin/PR-1647 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-08T04:53:24.973Z] Merging remotes/origin/main commit 7f77e0e62202159fe6913cf9abaefab1a89f7492 into PR head commit 6e397c3164c0f326d303eef9738a37ea5cdc1d78 [2024-11-08T04:53:25.365Z] Merge succeeded, producing 6e397c3164c0f326d303eef9738a37ea5cdc1d78 [2024-11-08T04:53:25.365Z] Checking out Revision 6e397c3164c0f326d303eef9738a37ea5cdc1d78 (PR-1647) [2024-11-08T04:53:26.283Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v4" [2024-11-08T04:53:26.342Z] > git --version # timeout=10 [2024-11-08T04:53:26.356Z] > git --version # 'git version 2.25.1' [2024-11-08T04:53:26.375Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-08T04:53:25.002Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T04:53:25.098Z] > git checkout -f 6e397c3164c0f326d303eef9738a37ea5cdc1d78 # timeout=10 [2024-11-08T04:53:25.246Z] > git remote # timeout=10 [2024-11-08T04:53:25.270Z] > git config --get remote.origin.url # timeout=10 [2024-11-08T04:53:25.290Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T04:53:25.318Z] > git merge 7f77e0e62202159fe6913cf9abaefab1a89f7492 # timeout=10 [2024-11-08T04:53:25.348Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-08T04:53:25.377Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T04:53:25.395Z] > git checkout -f 6e397c3164c0f326d303eef9738a37ea5cdc1d78 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T04:53:31.507Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-08T04:53:31.507Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T04:53:31.507Z] Dload Upload Total Spent Left Speed [2024-11-08T04:53:31.507Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 195k 0 --:--:-- --:--:-- --:--:-- 195k [Pipeline] sh [2024-11-08T04:53:31.899Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-08T04:53:32.279Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-08T04:53:32.279Z] + sudo tee /etc/docker/daemon.new [2024-11-08T04:53:32.279Z] { [2024-11-08T04:53:32.279Z] "registry-mirrors": [ [2024-11-08T04:53:32.279Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-08T04:53:32.279Z] ], [2024-11-08T04:53:32.279Z] "bip": "10.250.0.254/24", [2024-11-08T04:53:32.279Z] "hosts": [ [2024-11-08T04:53:32.279Z] "tcp://0.0.0.0:5555", [2024-11-08T04:53:32.279Z] "unix:///var/run/docker.sock" [2024-11-08T04:53:32.279Z] ], [2024-11-08T04:53:32.279Z] "mtu": 1458, [2024-11-08T04:53:32.279Z] "selinux-enabled": true, [2024-11-08T04:53:32.279Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-08T04:53:32.279Z] } [Pipeline] sh [2024-11-08T04:53:32.664Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-08T04:53:33.057Z] + sudo service docker restart [2024-11-08T04:53:39.350Z] Removing intermediate container 92093e1afc99 [2024-11-08T04:53:39.350Z] ---> 72c39718a7e1 [2024-11-08T04:53:39.350Z] Step 11/24 : FROM alpine:3.20 [2024-11-08T04:53:39.350Z] 3.20: Pulling from library/alpine [2024-11-08T04:53:39.350Z] 43c4264eed91: Already exists [2024-11-08T04:53:39.350Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T04:53:39.350Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T04:53:39.350Z] ---> 91ef0af61f39 [2024-11-08T04:53:39.350Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-11-08T04:53:39.350Z] ---> Running in 32c2ac1e83ad [2024-11-08T04:53:39.350Z] Removing intermediate container 32c2ac1e83ad [2024-11-08T04:53:39.350Z] ---> ccae23593487 [2024-11-08T04:53:39.350Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-11-08T04:53:39.350Z] ---> Running in 901d2e6bedce [2024-11-08T04:53:39.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T04:53:39.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T04:53:39.350Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T04:53:39.350Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T04:53:39.350Z] OK: 8 MiB in 15 packages [2024-11-08T04:53:39.921Z] Removing intermediate container 901d2e6bedce [2024-11-08T04:53:39.921Z] ---> 0dba089d7d6e [2024-11-08T04:53:39.921Z] Step 14/24 : RUN apk --no-cache upgrade [2024-11-08T04:53:39.921Z] ---> Running in 67926ef11d8b [2024-11-08T04:53:40.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T04:53:40.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T04:53:40.440Z] Upgrading critical system libraries and apk-tools: [2024-11-08T04:53:40.440Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T04:53:40.440Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T04:53:40.440Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T04:53:40.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T04:53:40.700Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T04:53:40.958Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T04:53:40.958Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T04:53:40.958Z] OK: 8 MiB in 15 packages [2024-11-08T04:53:41.631Z] Removing intermediate container 67926ef11d8b [2024-11-08T04:53:41.631Z] ---> aa2cb60c63b4 [2024-11-08T04:53:41.631Z] Step 15/24 : WORKDIR / [2024-11-08T04:53:41.631Z] ---> Running in db3769931808 [2024-11-08T04:53:41.631Z] Removing intermediate container db3769931808 [2024-11-08T04:53:41.631Z] ---> a27bedb13567 [2024-11-08T04:53:41.631Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-11-08T04:53:41.631Z] ---> dd82d9522b4c [2024-11-08T04:53:41.631Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-11-08T04:53:43.009Z] ---> c0ef0434c312 [2024-11-08T04:53:43.009Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-11-08T04:53:43.009Z] ---> 91ddda7e350b [2024-11-08T04:53:43.009Z] Step 19/24 : EXPOSE 59999 [2024-11-08T04:53:43.267Z] ---> Running in 2d9297b510bc [2024-11-08T04:53:43.268Z] Removing intermediate container 2d9297b510bc [2024-11-08T04:53:43.268Z] ---> 4e6dae38d2c7 [2024-11-08T04:53:43.268Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-11-08T04:53:43.268Z] ---> Running in 871aaa16a202 [2024-11-08T04:53:43.268Z] Removing intermediate container 871aaa16a202 [2024-11-08T04:53:43.268Z] ---> 748194534b4e [2024-11-08T04:53:43.268Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-11-08T04:53:43.268Z] ---> Running in edeb15aaa01a [2024-11-08T04:53:43.533Z] Removing intermediate container edeb15aaa01a [2024-11-08T04:53:43.533Z] ---> 52937fe24383 [2024-11-08T04:53:43.533Z] Step 22/24 : LABEL arch=amd64 [2024-11-08T04:53:43.533Z] ---> Running in 75951fc22c28 [2024-11-08T04:53:43.533Z] Removing intermediate container 75951fc22c28 [2024-11-08T04:53:43.533Z] ---> a023832bec82 [2024-11-08T04:53:43.533Z] Step 23/24 : LABEL git_sha=6e397c3164c0f326d303eef9738a37ea5cdc1d78 [2024-11-08T04:53:43.533Z] ---> Running in ffb2a3acaf77 [2024-11-08T04:53:43.533Z] Removing intermediate container ffb2a3acaf77 [2024-11-08T04:53:43.533Z] ---> 4bcdc073fbe9 [2024-11-08T04:53:43.533Z] Step 24/24 : LABEL version=0.0.0 [2024-11-08T04:53:43.793Z] ---> Running in 637ff47561c1 [2024-11-08T04:53:43.793Z] Removing intermediate container 637ff47561c1 [2024-11-08T04:53:43.793Z] ---> 4f94cb7ed708 [2024-11-08T04:53:43.793Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T04:53:43.793Z] Successfully built 4f94cb7ed708 [2024-11-08T04:53:43.793Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T04:53:44.763Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T04:53:44.763Z] [2024-11-08T04:53:44.763Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T04:53:45.172Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T04:53:45.172Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-08T04:53:45.172Z] 5eb5b503b376: Pulling fs layer [2024-11-08T04:53:45.172Z] 5c69ac0246d0: Pulling fs layer [2024-11-08T04:53:45.172Z] ec43610c2a17: Pulling fs layer [2024-11-08T04:53:45.172Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-08T04:53:45.172Z] 33b1e0a273af: Pulling fs layer [2024-11-08T04:53:45.172Z] 5d3b04190fa2: Pulling fs layer [2024-11-08T04:53:45.172Z] 2f39f015ded8: Pulling fs layer [2024-11-08T04:53:45.172Z] 3a2ae6a8a46f: Waiting [2024-11-08T04:53:45.172Z] 33b1e0a273af: Waiting [2024-11-08T04:53:45.172Z] 5d3b04190fa2: Waiting [2024-11-08T04:53:45.172Z] 2f39f015ded8: Waiting [2024-11-08T04:53:45.172Z] 5c69ac0246d0: Verifying Checksum [2024-11-08T04:53:45.172Z] 5c69ac0246d0: Download complete [2024-11-08T04:53:45.172Z] 3a2ae6a8a46f: Download complete [2024-11-08T04:53:45.172Z] 33b1e0a273af: Download complete [2024-11-08T04:53:45.172Z] 5d3b04190fa2: Verifying Checksum [2024-11-08T04:53:45.172Z] 5d3b04190fa2: Download complete [2024-11-08T04:53:45.172Z] ec43610c2a17: Verifying Checksum [2024-11-08T04:53:45.172Z] ec43610c2a17: Download complete [2024-11-08T04:53:45.432Z] 5eb5b503b376: Download complete [2024-11-08T04:53:46.003Z] 2f39f015ded8: Download complete [2024-11-08T04:53:46.570Z] 5eb5b503b376: Pull complete [2024-11-08T04:53:46.828Z] 5c69ac0246d0: Pull complete [2024-11-08T04:53:47.087Z] ec43610c2a17: Pull complete [2024-11-08T04:53:47.345Z] 3a2ae6a8a46f: Pull complete [2024-11-08T04:53:47.604Z] 33b1e0a273af: Pull complete [2024-11-08T04:53:47.604Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T04:53:51.497Z] provisioning config files... [2024-11-08T04:53:51.547Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config10283622152107089344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T04:53:51.792Z] 2f39f015ded8: Pull complete [2024-11-08T04:53:51.792Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-08T04:53:51.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T04:53:51.792Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T04:53:52.100Z] ---> ****-login.sh [2024-11-08T04:53:52.100Z] nexus3.edgexfoundry.org:10001 [2024-11-08T04:53:52.130Z] prd-ubuntu20.04-docker-8c-8g-25866 does not seem to be running inside a container [2024-11-08T04:53:52.159Z] $ 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-1647 -v /w/workspace/gexfoundry_device-sdk-go_PR-1647:/w/workspace/gexfoundry_device-sdk-go_PR-1647:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T04:53:52.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T04:53:52.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T04:53:52.688Z] Configure a credential helper to remove this warning. See [2024-11-08T04:53:52.688Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T04:53:52.688Z] [2024-11-08T04:53:52.688Z] Login Succeeded [2024-11-08T04:53:52.688Z] nexus3.edgexfoundry.org:10002 [2024-11-08T04:53:52.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T04:53:53.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T04:53:53.226Z] Configure a credential helper to remove this warning. See [2024-11-08T04:53:53.226Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T04:53:53.226Z] [2024-11-08T04:53:53.226Z] Login Succeeded [2024-11-08T04:53:53.226Z] nexus3.edgexfoundry.org:10003 [2024-11-08T04:53:53.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T04:53:53.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T04:53:53.497Z] Configure a credential helper to remove this warning. See [2024-11-08T04:53:53.497Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T04:53:53.497Z] [2024-11-08T04:53:53.497Z] Login Succeeded [2024-11-08T04:53:53.497Z] nexus3.edgexfoundry.org:10004 [2024-11-08T04:53:53.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T04:53:53.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T04:53:53.765Z] Configure a credential helper to remove this warning. See [2024-11-08T04:53:53.765Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T04:53:53.765Z] [2024-11-08T04:53:53.765Z] Login Succeeded [2024-11-08T04:53:53.765Z] ****.io [2024-11-08T04:53:54.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T04:53:54.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T04:53:54.307Z] Configure a credential helper to remove this warning. See [2024-11-08T04:53:54.307Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T04:53:54.307Z] [2024-11-08T04:53:54.307Z] Login Succeeded [2024-11-08T04:53:54.307Z] ---> ****-login.sh ends [2024-11-08T04:53:54.969Z] $ docker top b1c3d45557c4e8dfea58f6043e3e14e8917a44d10691ac44000ab1029def2fb2 -eo pid,comm [Pipeline] { [Pipeline] } [2024-11-08T04:53:55.209Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-11-08T04:53:55.601Z] ---> job-cost.sh [2024-11-08T04:53:55.602Z] lf-activate-venv: SKIPPING [2024-11-08T04:53:55.602Z] INFO: No Stack... [2024-11-08T04:53:55.865Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] echo [2024-11-08T04:53:55.885Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T04:53:55.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T04:53:55.999Z] ========================================================= [2024-11-08T04:53:55.999Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-08T04:53:55.999Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [2024-11-08T04:53:56.124Z] INFO: Archiving Costs [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh [2024-11-08T04:53:56.507Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1647/archives/cost.csv [2024-11-08T04:53:56.507Z] + cut -d, -f6 [Pipeline] lock [2024-11-08T04:53:56.561Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1647-1-stack-cost] [2024-11-08T04:53:56.567Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1647-1-stack-cost] did not exist. Created. [2024-11-08T04:53:56.573Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1647-1-stack-cost] [Pipeline] { [Pipeline] unstash [2024-11-08T04:53:56.633Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [Pipeline] sh [2024-11-08T04:53:57.007Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-08T04:53:57.074Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T04:53:57.106Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1647-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T04:53:57.204Z] $ docker stop --time=1 b1c3d45557c4e8dfea58f6043e3e14e8917a44d10691ac44000ab1029def2fb2 [2024-11-08T04:53:57.238Z] Sending build context to Docker daemon 13.26MB [2024-11-08T04:53:57.238Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T04:53:57.238Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-08T04:53:57.518Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-08T04:53:57.518Z] cf04c63912e1: Pulling fs layer [2024-11-08T04:53:57.518Z] 55b35a11ae5e: Pulling fs layer [2024-11-08T04:53:57.518Z] a37a00ec5f00: Pulling fs layer [2024-11-08T04:53:57.518Z] 50b3750afda1: Pulling fs layer [2024-11-08T04:53:57.518Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T04:53:57.518Z] 80978eb59214: Pulling fs layer [2024-11-08T04:53:57.518Z] c9f46d7d2bd2: Pulling fs layer [2024-11-08T04:53:57.518Z] c5a475d317c9: Pulling fs layer [2024-11-08T04:53:57.518Z] 50b3750afda1: Waiting [2024-11-08T04:53:57.518Z] 4f4fb700ef54: Waiting [2024-11-08T04:53:57.518Z] 80978eb59214: Waiting [2024-11-08T04:53:57.518Z] c5a475d317c9: Waiting [2024-11-08T04:53:57.518Z] c9f46d7d2bd2: Waiting [2024-11-08T04:53:57.518Z] 55b35a11ae5e: Download complete [2024-11-08T04:53:57.518Z] 50b3750afda1: Verifying Checksum [2024-11-08T04:53:57.518Z] 50b3750afda1: Download complete [2024-11-08T04:53:57.518Z] 4f4fb700ef54: Verifying Checksum [2024-11-08T04:53:57.518Z] 4f4fb700ef54: Download complete [2024-11-08T04:53:57.518Z] 80978eb59214: Verifying Checksum [2024-11-08T04:53:57.518Z] 80978eb59214: Download complete [2024-11-08T04:53:57.794Z] cf04c63912e1: Verifying Checksum [2024-11-08T04:53:57.794Z] cf04c63912e1: Download complete [2024-11-08T04:53:58.380Z] $ docker rm -f --volumes b1c3d45557c4e8dfea58f6043e3e14e8917a44d10691ac44000ab1029def2fb2 [2024-11-08T04:53:58.387Z] c5a475d317c9: Verifying Checksum [2024-11-08T04:53:58.388Z] c5a475d317c9: Download complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-08T04:53:58.991Z] cf04c63912e1: Pull complete [2024-11-08T04:53:59.471Z] 55b35a11ae5e: Pull complete [2024-11-08T04:54:00.065Z] a37a00ec5f00: Verifying Checksum [2024-11-08T04:54:00.065Z] a37a00ec5f00: Download complete [2024-11-08T04:54:01.035Z] c9f46d7d2bd2: Verifying Checksum [2024-11-08T04:54:01.035Z] c9f46d7d2bd2: Download complete [2024-11-08T04:54:16.076Z] a37a00ec5f00: Pull complete [2024-11-08T04:54:16.076Z] 50b3750afda1: Pull complete [2024-11-08T04:54:16.076Z] 4f4fb700ef54: Pull complete [2024-11-08T04:54:16.076Z] 80978eb59214: Pull complete [2024-11-08T04:54:24.442Z] c9f46d7d2bd2: Pull complete [2024-11-08T04:54:25.879Z] c5a475d317c9: Pull complete [2024-11-08T04:54:25.879Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-08T04:54:25.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-08T04:54:25.880Z] ---> be29e6b0f0d4 [2024-11-08T04:54:25.880Z] Step 3/10 : ARG MAKE=make build [2024-11-08T04:54:27.549Z] ---> Running in 5638e6b6abca [2024-11-08T04:54:27.550Z] Removing intermediate container 5638e6b6abca [2024-11-08T04:54:27.550Z] ---> 00d878085eea [2024-11-08T04:54:27.550Z] Step 4/10 : WORKDIR /device-sdk-go [2024-11-08T04:54:27.550Z] ---> Running in 06361b5d2418 [2024-11-08T04:54:28.142Z] Removing intermediate container 06361b5d2418 [2024-11-08T04:54:28.142Z] ---> 6d2c97853601 [2024-11-08T04:54:28.142Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-08T04:54:28.142Z] ---> Running in 3f8857592869 [2024-11-08T04:54:28.416Z] Removing intermediate container 3f8857592869 [2024-11-08T04:54:28.416Z] ---> 855ded5baec7 [2024-11-08T04:54:28.416Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-11-08T04:54:28.416Z] ---> Running in 2b911b33427f [2024-11-08T04:54:29.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T04:54:30.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T04:54:31.539Z] OK: 238 MiB in 54 packages [2024-11-08T04:54:32.506Z] Removing intermediate container 2b911b33427f [2024-11-08T04:54:32.506Z] ---> 41a27e352a1c [2024-11-08T04:54:32.506Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-08T04:54:33.102Z] ---> 36860e3684df [2024-11-08T04:54:33.102Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T04:54:33.102Z] ---> Running in def4df71a66f [2024-11-08T04:56:39.849Z] Removing intermediate container def4df71a66f [2024-11-08T04:56:39.849Z] ---> 50686ae7b2fb [2024-11-08T04:56:39.849Z] Step 9/10 : COPY . . [2024-11-08T04:56:39.849Z] ---> 5a8cc8ac702e [2024-11-08T04:56:39.849Z] Step 10/10 : RUN ${MAKE} [2024-11-08T04:56:39.849Z] ---> Running in f0a6dfe2e52d [2024-11-08T04:56:39.849Z] noop [2024-11-08T04:56:39.849Z] Removing intermediate container f0a6dfe2e52d [2024-11-08T04:56:39.849Z] ---> 6ec3258ec705 [2024-11-08T04:56:39.849Z] Successfully built 6ec3258ec705 [2024-11-08T04:56:39.849Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T04:56:40.367Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T04:56:40.367Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T04:56:40.712Z] prd-ubuntu20.04-docker-arm64-4c-16g-25867 does not seem to be running inside a container [2024-11-08T04:56:40.811Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-08T04:56:42.141Z] $ docker top 95f11b21875edbaccf9141b235f9a68f4ca7083c09012223da13ee20e439d561 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T04:56:43.073Z] + go version [2024-11-08T04:56:43.073Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-08T04:56:43.114Z] $ docker stop --time=1 95f11b21875edbaccf9141b235f9a68f4ca7083c09012223da13ee20e439d561 [2024-11-08T04:56:44.829Z] $ docker rm -f --volumes 95f11b21875edbaccf9141b235f9a68f4ca7083c09012223da13ee20e439d561 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T04:56:45.876Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T04:56:45.876Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T04:56:46.171Z] prd-ubuntu20.04-docker-arm64-4c-16g-25867 does not seem to be running inside a container [2024-11-08T04:56:46.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-08T04:56:48.265Z] $ docker top 19a428c23b3f3203ce6a8040b727e936cf269d863ae5667ec0e0e2ac686948b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T04:56:49.233Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-11-08T04:56:49.979Z] + make test [2024-11-08T04:56:49.979Z] go test -race -coverprofile=coverage.out ./... [2024-11-08T04:57:46.435Z] ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] [2024-11-08T05:02:23.541Z] github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements [2024-11-08T05:02:23.541Z] github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements [2024-11-08T05:02:23.541Z] github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements [2024-11-08T05:02:23.541Z] github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements [2024-11-08T05:02:23.541Z] github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements [2024-11-08T05:02:31.835Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.204s coverage: 28.7% of statements [2024-11-08T05:02:35.219Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.193s coverage: 79.4% of statements [2024-11-08T05:02:50.290Z] github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements [2024-11-08T05:02:50.290Z] github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements [2024-11-08T05:02:50.290Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.335s coverage: 86.0% of statements [2024-11-08T05:03:00.396Z] github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements [2024-11-08T05:03:02.338Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.587s coverage: 45.2% of statements [2024-11-08T05:03:05.035Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.256s coverage: 14.1% of statements [2024-11-08T05:03:05.035Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 4.023s coverage: 44.6% of statements [2024-11-08T05:03:08.422Z] ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] [2024-11-08T05:03:08.422Z] github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements [2024-11-08T05:03:08.422Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements [2024-11-08T05:03:09.382Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.391s coverage: 68.4% of statements [2024-11-08T05:03:14.747Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.361s coverage: 88.3% of statements [2024-11-08T05:03:20.097Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements [2024-11-08T05:03:21.053Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.325s coverage: 5.3% of statements [2024-11-08T05:03:22.456Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-08T05:03:22.456Z] GO111MODULE=on go vet ./... [2024-11-08T05:07:59.329Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T05:07:59.329Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T05:07:59.329Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T05:07:59.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T05:07:59.415Z] $ docker stop --time=1 19a428c23b3f3203ce6a8040b727e936cf269d863ae5667ec0e0e2ac686948b3 [2024-11-08T05:08:01.562Z] $ docker rm -f --volumes 19a428c23b3f3203ce6a8040b727e936cf269d863ae5667ec0e0e2ac686948b3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T05:08:04.734Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T05:08:04.774Z] Warning: overwriting stash ‘coverage-report’ [2024-11-08T05:08:05.831Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T05:08:06.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T05:08:06.883Z] + ls -al . [2024-11-08T05:08:06.883Z] total 700 [2024-11-08T05:08:06.883Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 04:56 . [2024-11-08T05:08:06.883Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 04:53 .. [2024-11-08T05:08:06.883Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 04:53 .dockerignore [2024-11-08T05:08:06.883Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 04:53 .git [2024-11-08T05:08:06.883Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 04:53 .github [2024-11-08T05:08:06.883Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 8 04:53 .gitignore [2024-11-08T05:08:06.883Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 8 04:53 .golangci.yml [2024-11-08T05:08:06.883Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 8 04:53 CHANGELOG.md [2024-11-08T05:08:06.883Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 04:53 GOVERNANCE.md [2024-11-08T05:08:06.883Z] -rw-rw-r-- 1 jenkins jenkins 882 Nov 8 04:53 Jenkinsfile [2024-11-08T05:08:06.883Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 8 04:53 LICENSE [2024-11-08T05:08:06.883Z] -rw-rw-r-- 1 jenkins jenkins 2424 Nov 8 04:53 Makefile [2024-11-08T05:08:06.883Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 8 04:53 OWNERS.md [2024-11-08T05:08:06.883Z] -rw-rw-r-- 1 jenkins jenkins 4937 Nov 8 04:53 README.md [2024-11-08T05:08:06.883Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 04:50 VERSION [2024-11-08T05:08:06.883Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 04:53 bin [2024-11-08T05:08:06.883Z] -rw-r--r-- 1 jenkins jenkins 468087 Nov 8 05:03 coverage.out [2024-11-08T05:08:06.883Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 8 04:53 example [2024-11-08T05:08:06.883Z] -rw-rw-r-- 1 jenkins jenkins 6229 Nov 8 04:53 go.mod [2024-11-08T05:08:06.883Z] -rw-rw-r-- 1 jenkins jenkins 87126 Nov 8 04:53 go.sum [2024-11-08T05:08:06.883Z] drwxrwxr-x 13 jenkins jenkins 4096 Nov 8 04:53 internal [2024-11-08T05:08:06.883Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 04:53 openapi [2024-11-08T05:08:06.883Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 04:53 pkg [2024-11-08T05:08:06.883Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 04:53 snap [2024-11-08T05:08:06.884Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 8 04:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T05:08:07.355Z] + 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=6e397c3164c0f326d303eef9738a37ea5cdc1d78 --label arch=arm64 --label version=0.0.0 . [2024-11-08T05:08:07.950Z] Sending build context to Docker daemon 13.73MB [2024-11-08T05:08:08.228Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T05:08:08.228Z] Step 2/24 : FROM ${BASE} AS builder [2024-11-08T05:08:08.228Z] ---> 6ec3258ec705 [2024-11-08T05:08:08.228Z] Step 3/24 : ARG MAKE=make build [2024-11-08T05:08:08.228Z] ---> Running in 682d68fe7e8f [2024-11-08T05:08:08.823Z] Removing intermediate container 682d68fe7e8f [2024-11-08T05:08:08.823Z] ---> 4437fe7f6708 [2024-11-08T05:08:08.823Z] Step 4/24 : WORKDIR /device-sdk-go [2024-11-08T05:08:08.823Z] ---> Running in ada017e39d07 [2024-11-08T05:08:09.423Z] Removing intermediate container ada017e39d07 [2024-11-08T05:08:09.423Z] ---> 4aec50020a1d [2024-11-08T05:08:09.423Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-08T05:08:09.423Z] ---> Running in 13f7f94f9129 [2024-11-08T05:08:09.697Z] Removing intermediate container 13f7f94f9129 [2024-11-08T05:08:09.697Z] ---> 3e7ec5b13ccd [2024-11-08T05:08:09.697Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-11-08T05:08:09.971Z] ---> Running in 6442019a78da [2024-11-08T05:08:11.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T05:08:11.682Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T05:08:13.668Z] OK: 238 MiB in 54 packages [2024-11-08T05:08:14.638Z] Removing intermediate container 6442019a78da [2024-11-08T05:08:14.638Z] ---> 7bb0e831ef42 [2024-11-08T05:08:14.638Z] Step 7/24 : COPY go.mod vendor* ./ [2024-11-08T05:08:15.228Z] ---> 1b42dcafaba9 [2024-11-08T05:08:15.228Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T05:08:15.228Z] ---> Running in 355f1c75d391 [2024-11-08T05:08:17.843Z] Removing intermediate container 355f1c75d391 [2024-11-08T05:08:17.843Z] ---> 5b73cd8cd39b [2024-11-08T05:08:17.843Z] Step 9/24 : COPY . . [2024-11-08T05:08:19.822Z] ---> a8cbed1a6524 [2024-11-08T05:08:19.822Z] Step 10/24 : RUN ${MAKE} [2024-11-08T05:08:19.822Z] ---> Running in 8e08b29ae73b [2024-11-08T05:08:21.261Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-11-08T05:12:59.751Z] Removing intermediate container 8e08b29ae73b [2024-11-08T05:12:59.751Z] ---> ac47355210a2 [2024-11-08T05:12:59.751Z] Step 11/24 : FROM alpine:3.20 [2024-11-08T05:12:59.751Z] 3.20: Pulling from library/alpine [2024-11-08T05:12:59.751Z] cf04c63912e1: Already exists [2024-11-08T05:12:59.751Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T05:12:59.751Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T05:12:59.751Z] ---> c157a85ed455 [2024-11-08T05:12:59.751Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-11-08T05:12:59.751Z] ---> Running in c249e90dbbac [2024-11-08T05:12:59.751Z] Removing intermediate container c249e90dbbac [2024-11-08T05:12:59.751Z] ---> 3909cfdce234 [2024-11-08T05:12:59.751Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-11-08T05:12:59.751Z] ---> Running in 713ae2a3eb1b [2024-11-08T05:13:01.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T05:13:01.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T05:13:03.684Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T05:13:03.684Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T05:13:03.684Z] OK: 9 MiB in 15 packages [2024-11-08T05:13:05.109Z] Removing intermediate container 713ae2a3eb1b [2024-11-08T05:13:05.109Z] ---> 3ffb58e1af88 [2024-11-08T05:13:05.109Z] Step 14/24 : RUN apk --no-cache upgrade [2024-11-08T05:13:05.109Z] ---> Running in 7a4fa04ee92f [2024-11-08T05:13:06.532Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T05:13:06.532Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T05:13:07.976Z] Upgrading critical system libraries and apk-tools: [2024-11-08T05:13:07.976Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T05:13:07.976Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T05:13:08.251Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T05:13:08.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T05:13:08.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T05:13:09.952Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T05:13:09.952Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T05:13:09.952Z] OK: 9 MiB in 15 packages [2024-11-08T05:13:11.385Z] Removing intermediate container 7a4fa04ee92f [2024-11-08T05:13:11.385Z] ---> eee8e87f94be [2024-11-08T05:13:11.385Z] Step 15/24 : WORKDIR / [2024-11-08T05:13:11.385Z] ---> Running in cbc2c0a8608d [2024-11-08T05:13:11.660Z] Removing intermediate container cbc2c0a8608d [2024-11-08T05:13:11.660Z] ---> bb0bf966267a [2024-11-08T05:13:11.660Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-11-08T05:13:13.625Z] ---> 44b23396c0bf [2024-11-08T05:13:13.625Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-11-08T05:13:16.223Z] ---> 1c1b8c91fddc [2024-11-08T05:13:16.223Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-11-08T05:13:16.812Z] ---> f089e2ecf450 [2024-11-08T05:13:16.812Z] Step 19/24 : EXPOSE 59999 [2024-11-08T05:13:16.812Z] ---> Running in 5c91ab725890 [2024-11-08T05:13:17.086Z] Removing intermediate container 5c91ab725890 [2024-11-08T05:13:17.086Z] ---> de79f038943d [2024-11-08T05:13:17.086Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-11-08T05:13:17.358Z] ---> Running in 390f2571710e [2024-11-08T05:13:17.632Z] Removing intermediate container 390f2571710e [2024-11-08T05:13:17.632Z] ---> ba7bdf7e0134 [2024-11-08T05:13:17.632Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-11-08T05:13:17.632Z] ---> Running in 98b49832e261 [2024-11-08T05:13:18.222Z] Removing intermediate container 98b49832e261 [2024-11-08T05:13:18.222Z] ---> 3c0cb00923a6 [2024-11-08T05:13:18.222Z] Step 22/24 : LABEL arch=arm64 [2024-11-08T05:13:18.222Z] ---> Running in 663460ac40a1 [2024-11-08T05:13:18.509Z] Removing intermediate container 663460ac40a1 [2024-11-08T05:13:18.509Z] ---> 40b9fda2590a [2024-11-08T05:13:18.509Z] Step 23/24 : LABEL git_sha=6e397c3164c0f326d303eef9738a37ea5cdc1d78 [2024-11-08T05:13:18.776Z] ---> Running in 429d7d85b0a5 [2024-11-08T05:13:19.046Z] Removing intermediate container 429d7d85b0a5 [2024-11-08T05:13:19.046Z] ---> 3da270f23473 [2024-11-08T05:13:19.046Z] Step 24/24 : LABEL version=0.0.0 [2024-11-08T05:13:19.046Z] ---> Running in 81a73006202a [2024-11-08T05:13:19.629Z] Removing intermediate container 81a73006202a [2024-11-08T05:13:19.629Z] ---> 3ea35af2851e [2024-11-08T05:13:19.629Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T05:13:19.629Z] Successfully built 3ea35af2851e [2024-11-08T05:13:19.629Z] 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-11-08T05:13:20.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T05:13:20.534Z] [2024-11-08T05:13:20.534Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T05:13:20.976Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T05:13:21.242Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-08T05:13:21.242Z] 8998bd30e6a1: Pulling fs layer [2024-11-08T05:13:21.242Z] 04944245beec: Pulling fs layer [2024-11-08T05:13:21.242Z] 699f458cf7ca: Pulling fs layer [2024-11-08T05:13:21.242Z] 765212b225bb: Pulling fs layer [2024-11-08T05:13:21.242Z] f23df028b6ca: Pulling fs layer [2024-11-08T05:13:21.242Z] d65c8cfc05b1: Pulling fs layer [2024-11-08T05:13:21.242Z] 2437ff75d9bd: Pulling fs layer [2024-11-08T05:13:21.242Z] 765212b225bb: Waiting [2024-11-08T05:13:21.242Z] f23df028b6ca: Waiting [2024-11-08T05:13:21.242Z] d65c8cfc05b1: Waiting [2024-11-08T05:13:21.242Z] 2437ff75d9bd: Waiting [2024-11-08T05:13:21.242Z] 04944245beec: Verifying Checksum [2024-11-08T05:13:21.242Z] 04944245beec: Download complete [2024-11-08T05:13:21.242Z] 765212b225bb: Verifying Checksum [2024-11-08T05:13:21.242Z] 765212b225bb: Download complete [2024-11-08T05:13:21.242Z] f23df028b6ca: Download complete [2024-11-08T05:13:21.242Z] d65c8cfc05b1: Verifying Checksum [2024-11-08T05:13:21.242Z] d65c8cfc05b1: Download complete [2024-11-08T05:13:21.512Z] 699f458cf7ca: Verifying Checksum [2024-11-08T05:13:21.512Z] 699f458cf7ca: Download complete [2024-11-08T05:13:22.098Z] 8998bd30e6a1: Verifying Checksum [2024-11-08T05:13:22.098Z] 8998bd30e6a1: Download complete [2024-11-08T05:13:24.687Z] 2437ff75d9bd: Verifying Checksum [2024-11-08T05:13:24.687Z] 2437ff75d9bd: Download complete [2024-11-08T05:13:27.262Z] 8998bd30e6a1: Pull complete [2024-11-08T05:13:27.527Z] 04944245beec: Pull complete [2024-11-08T05:13:29.469Z] 699f458cf7ca: Pull complete [2024-11-08T05:13:29.469Z] 765212b225bb: Pull complete [2024-11-08T05:13:30.429Z] f23df028b6ca: Pull complete [2024-11-08T05:13:30.698Z] d65c8cfc05b1: Pull complete [2024-11-08T05:13:49.051Z] 2437ff75d9bd: Pull complete [2024-11-08T05:13:49.051Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-08T05:13:49.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T05:13:49.051Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T05:13:49.456Z] prd-ubuntu20.04-docker-arm64-4c-16g-25867 does not seem to be running inside a container [2024-11-08T05:13:49.557Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-08T05:13:52.886Z] $ docker top 8d4448a514d31be823f32bae693c20f25ff6f6f8436ce304a29488f8285a57d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T05:13:53.877Z] ---> job-cost.sh [2024-11-08T05:13:53.877Z] lf-activate-venv: SKIPPING [2024-11-08T05:13:53.877Z] INFO: No Stack... [2024-11-08T05:13:54.837Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-08T05:13:55.434Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T05:13:56.106Z] + cut -d,+ -f6 [2024-11-08T05:13:56.106Z] cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2024-11-08T05:13:56.197Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1647-1-stack-cost] [2024-11-08T05:13:56.203Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1647-1-stack-cost] did not exist. Created. [2024-11-08T05:13:56.210Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1647-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T05:13:56.950Z] /w/workspace/device-sdk-go/1@tmp/durable-874cf657/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-08T05:13:57.628Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-08T05:13:57.669Z] Warning: overwriting stash ‘stack-cost’ [2024-11-08T05:13:57.780Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T05:13:57.803Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1647-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T05:13:57.898Z] $ docker stop --time=1 8d4448a514d31be823f32bae693c20f25ff6f6f8436ce304a29488f8285a57d0 [2024-11-08T05:13:59.395Z] $ docker rm -f --volumes 8d4448a514d31be823f32bae693c20f25ff6f6f8436ce304a29488f8285a57d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-11-08T05:14:00.497Z] provisioning config files... [2024-11-08T05:14:00.504Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp/config11016039853035249958tmp [Pipeline] { [Pipeline] sh [2024-11-08T05:14:00.865Z] + set +x [2024-11-08T05:14:00.865Z] + bash -s -- [2024-11-08T05:14:00.865Z] + curl -s https://codecov.io/bash [2024-11-08T05:14:00.865Z] [2024-11-08T05:14:00.865Z] _____ _ [2024-11-08T05:14:00.865Z] / ____| | | [2024-11-08T05:14:00.865Z] | | ___ __| | ___ ___ _____ __ [2024-11-08T05:14:00.865Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-08T05:14:00.865Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-08T05:14:00.865Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-08T05:14:00.865Z] Bash-1.0.6 [2024-11-08T05:14:00.865Z] [2024-11-08T05:14:00.865Z] [2024-11-08T05:14:00.865Z] ==> git version 2.25.1 found [2024-11-08T05:14:00.865Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-11-08T05:14:00.865Z] Release-Date: 2020-01-08 [2024-11-08T05:14:00.865Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-11-08T05:14:00.865Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-08T05:14:00.865Z] ==> Jenkins CI detected. [2024-11-08T05:14:00.865Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1647 [2024-11-08T05:14:00.865Z] project root: . [2024-11-08T05:14:00.865Z] --> token set from env [2024-11-08T05:14:00.865Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-08T05:14:00.865Z] ==> Running gcov in . (disable via -X gcov) [2024-11-08T05:14:00.865Z] ==> Python coveragepy not found [2024-11-08T05:14:00.865Z] ==> Searching for coverage reports in: [2024-11-08T05:14:00.865Z] + . [2024-11-08T05:14:01.124Z] -> Found 1 reports [2024-11-08T05:14:01.124Z] ==> Detecting git/mercurial file structure [2024-11-08T05:14:01.124Z] ==> Reading reports [2024-11-08T05:14:01.124Z] + ./coverage.out bytes=468087 [2024-11-08T05:14:01.124Z] ==> Appending adjustments [2024-11-08T05:14:01.124Z] https://docs.codecov.io/docs/fixing-reports [2024-11-08T05:14:01.383Z] + Found adjustments [2024-11-08T05:14:01.383Z] ==> Gzipping contents [2024-11-08T05:14:01.383Z] 44K /tmp/codecov.HjmrsX.gz [2024-11-08T05:14:01.383Z] ==> Uploading reports [2024-11-08T05:14:01.383Z] url: https://codecov.io [2024-11-08T05:14:01.383Z] query: branch=PR-1647&commit=6e397c3164c0f326d303eef9738a37ea5cdc1d78&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1647%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1647&job=&cmd_args= [2024-11-08T05:14:01.384Z] -> Pinging Codecov [2024-11-08T05:14:01.384Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1647&commit=6e397c3164c0f326d303eef9738a37ea5cdc1d78&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1647%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1647&job=&cmd_args= [2024-11-08T05:14:01.643Z] -> Uploading to [2024-11-08T05:14:01.643Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/6e397c3164c0f326d303eef9738a37ea5cdc1d78/c6d76b05-2af5-4fd2-9241-87c73e12bc3b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241108T051401Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=b3271584b9263644ebb231991ae3733e2cb0f3aa89a6dcd3a19ba204ec585272 [2024-11-08T05:14:01.643Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T05:14:01.643Z] Dload Upload Total Spent Left Speed [2024-11-08T05:14:01.903Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44776 0 0 100 44776 0 157k --:--:-- --:--:-- --:--:-- 157k [2024-11-08T05:14:01.903Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6e397c3164c0f326d303eef9738a37ea5cdc1d78 [Pipeline] } [2024-11-08T05:14:01.935Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-11-08T05:14:04.355Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1647/archives ] [2024-11-08T05:14:04.355Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1647/archives [2024-11-08T05:14:04.355Z] total 16 [2024-11-08T05:14:04.356Z] drwxr-xr-x 3 root root 4096 Nov 8 04:53 . [2024-11-08T05:14:04.356Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 8 04:53 .. [2024-11-08T05:14:04.356Z] drwxr-xr-x 2 root root 4096 Nov 8 04:53 cost [2024-11-08T05:14:04.356Z] -rw-r--r-- 1 root root 86 Nov 8 04:53 cost.csv [2024-11-08T05:14:04.356Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1647/archives [2024-11-08T05:14:04.356Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1647/archives [2024-11-08T05:14:04.356Z] total 16 [2024-11-08T05:14:04.356Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 04:53 . [2024-11-08T05:14:04.356Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 8 04:53 .. [2024-11-08T05:14:04.356Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 04:53 cost [2024-11-08T05:14:04.356Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 8 04:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-08T05:14:04.690Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T05:14:05.601Z] ---> package-listing.sh [2024-11-08T05:14:05.601Z] ++ facter osfamily [2024-11-08T05:14:05.601Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-08T05:14:05.861Z] + OS_FAMILY=debian [2024-11-08T05:14:05.861Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1647 [2024-11-08T05:14:05.861Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-08T05:14:05.861Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-08T05:14:05.861Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-08T05:14:05.861Z] + PACKAGES=/tmp/packages_start.txt [2024-11-08T05:14:05.861Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1647 ']' [2024-11-08T05:14:05.861Z] + PACKAGES=/tmp/packages_end.txt [2024-11-08T05:14:05.861Z] + case "${OS_FAMILY}" in [2024-11-08T05:14:05.861Z] + dpkg -l [2024-11-08T05:14:05.861Z] + grep '^ii' [2024-11-08T05:14:05.861Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-08T05:14:05.861Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-08T05:14:05.861Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-08T05:14:05.861Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1647 ']' [2024-11-08T05:14:05.861Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1647/archives/ [2024-11-08T05:14:05.861Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1647/archives/ [Pipeline] echo [2024-11-08T05:14:05.906Z] 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-1647/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-08T05:14:06.208Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T05:14:06.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T05:14:06.849Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T05:14:07.015Z] prd-ubuntu20.04-docker-8c-8g-25866 does not seem to be running inside a container [2024-11-08T05:14:07.046Z] $ 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-1647/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-1647 -v /w/workspace/gexfoundry_device-sdk-go_PR-1647:/w/workspace/gexfoundry_device-sdk-go_PR-1647:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T05:14:07.245Z] $ docker top c62d20c29657a8be2ca9a8c51e9c1021d793c947f8aae702bb25f627432e787d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T05:14:07.650Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-08T05:14:08.096Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-08T05:14:08.438Z] + ls /var/log/sa-host [2024-11-08T05:14:08.438Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T05:14:08.598Z] provisioning config files... [2024-11-08T05:14:08.607Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1647@tmp/config4134793633639159079tmp [Pipeline] { [Pipeline] echo [2024-11-08T05:14:08.674Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T05:14:09.000Z] ---> create-netrc.sh [Pipeline] } [2024-11-08T05:14:09.034Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-08T05:14:09.451Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-08T05:14:09.486Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T05:14:09.811Z] ---> sudo-logs.sh [2024-11-08T05:14:09.811Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-08T05:14:09.922Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T05:14:10.248Z] ---> job-cost.sh [2024-11-08T05:14:10.248Z] lf-activate-venv: SKIPPING [2024-11-08T05:14:10.248Z] DEBUG: total: 0.2199999988079071 [2024-11-08T05:14:10.248Z] INFO: Retrieving Stack Cost... [2024-11-08T05:14:10.817Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T05:14:11.076Z] INFO: Archiving Costs [Pipeline] echo [2024-11-08T05:14:11.120Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T05:14:11.456Z] ---> logs-deploy.sh [2024-11-08T05:14:11.456Z] lf-activate-venv: SKIPPING [2024-11-08T05:14:11.456Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1647/1 [2024-11-08T05:14:11.456Z] INFO: archiving workspace using pattern(s): [2024-11-08T05:14:12.400Z] Archives upload complete. [2024-11-08T05:14:12.400Z] INFO: archiving logs to Nexus