Pull request #1637 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 35a1e13074cc72864b4bc2af12841bf3e83b8b58+e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 (d2de2ab64f13179474fc3e2cd9041ee0613ad594) 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-ssh14789506373190077135.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-ssh15014951345906963919.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-1637/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-1637/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17435114990932351512.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-1637/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17972411818908593939.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-ssh2873611131367682842.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-1637/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-1637/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11810783416361311771.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/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-22261’ Running on prd-ubuntu20.04-docker-8c-8g-22263 in /w/workspace/gexfoundry_device-sdk-go_PR-1637 [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-1637 # 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/1637/head:refs/remotes/origin/PR-1637 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 into PR head commit 35a1e13074cc72864b4bc2af12841bf3e83b8b58 Merge succeeded, producing 35a1e13074cc72864b4bc2af12841bf3e83b8b58 Checking out Revision 35a1e13074cc72864b4bc2af12841bf3e83b8b58 (PR-1637) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 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 35a1e13074cc72864b4bc2af12841bf3e83b8b58 # 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 e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 35a1e13074cc72864b4bc2af12841bf3e83b8b58 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-09T04:34:47.732Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-09T04:34:47.940Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-09T04:34:48.069Z] ========================================================= [2024-10-09T04:34:48.069Z] EdgeX Global Pipelines Version Info [2024-10-09T04:34:48.069Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-09T04:34:48.831Z] ------------------- [2024-10-09T04:34:48.831Z] stable info: [2024-10-09T04:34:48.831Z] ------------------- [2024-10-09T04:34:48.831Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-09T04:34:48.831Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-09T04:34:48.831Z] Message: update stable to v1.0.265 [2024-10-09T04:34:49.403Z] ------------------- [2024-10-09T04:34:49.403Z] experimental info: [2024-10-09T04:34:49.403Z] ------------------- [2024-10-09T04:34:49.403Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-09T04:34:49.403Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-09T04:34:49.403Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-09T04:34:49.607Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-10-09T04:34:49.659Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-10-09T04:34:49.725Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-09T04:34:49.776Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-09T04:34:49.827Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-09T04:34:49.880Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-09T04:34:49.937Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-09T04:34:50.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-10-09T04:34:50.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-09T04:34:50.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-09T04:34:50.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-09T04:34:50.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-10-09T04:34:50.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-09T04:34:50.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-09T04:34:50.464Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-09T04:34:50.530Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-09T04:34:50.580Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-09T04:34:50.632Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-09T04:34:50.694Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-09T04:34:50.751Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-09T04:34:50.808Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-09T04:34:50.871Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-10-09T04:34:50.931Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-09T04:34:50.991Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-09T04:34:51.052Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-09T04:34:51.128Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-09T04:34:51.185Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-09T04:34:51.282Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1637 [Pipeline] echo [2024-10-09T04:34:51.336Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1637 [Pipeline] echo [2024-10-09T04:34:51.397Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1637 [Pipeline] echo [2024-10-09T04:34:51.460Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 35a1e13074cc72864b4bc2af12841bf3e83b8b58 [Pipeline] echo [2024-10-09T04:34:51.522Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 35a1e13 [Pipeline] echo [2024-10-09T04:34:51.588Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-09T04:34:51.740Z] provisioning config files... [2024-10-09T04:34:51.754Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1637@tmp/config8682882858912976909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-09T04:34:52.165Z] ---> ****-login.sh [2024-10-09T04:34:52.165Z] nexus3.edgexfoundry.org:10001 [2024-10-09T04:34:52.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-09T04:34:52.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-09T04:34:52.425Z] Configure a credential helper to remove this warning. See [2024-10-09T04:34:52.425Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-09T04:34:52.425Z] [2024-10-09T04:34:52.425Z] Login Succeeded [2024-10-09T04:34:52.425Z] nexus3.edgexfoundry.org:10002 [2024-10-09T04:34:52.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-09T04:34:52.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-09T04:34:52.426Z] Configure a credential helper to remove this warning. See [2024-10-09T04:34:52.426Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-09T04:34:52.426Z] [2024-10-09T04:34:52.426Z] Login Succeeded [2024-10-09T04:34:52.426Z] nexus3.edgexfoundry.org:10003 [2024-10-09T04:34:52.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-09T04:34:52.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-09T04:34:52.686Z] Configure a credential helper to remove this warning. See [2024-10-09T04:34:52.686Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-09T04:34:52.686Z] [2024-10-09T04:34:52.686Z] Login Succeeded [2024-10-09T04:34:52.686Z] nexus3.edgexfoundry.org:10004 [2024-10-09T04:34:52.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-09T04:34:52.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-09T04:34:52.686Z] Configure a credential helper to remove this warning. See [2024-10-09T04:34:52.686Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-09T04:34:52.686Z] [2024-10-09T04:34:52.686Z] Login Succeeded [2024-10-09T04:34:52.686Z] ****.io [2024-10-09T04:34:52.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-09T04:34:52.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-09T04:34:52.947Z] Configure a credential helper to remove this warning. See [2024-10-09T04:34:52.947Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-09T04:34:52.947Z] [2024-10-09T04:34:52.947Z] Login Succeeded [2024-10-09T04:34:52.947Z] ---> ****-login.sh ends [Pipeline] } [2024-10-09T04:34:52.997Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-09T04:34:53.673Z] + git rev-list -1 --merges 35a1e13074cc72864b4bc2af12841bf3e83b8b58~1..35a1e13074cc72864b4bc2af12841bf3e83b8b58 [Pipeline] echo [2024-10-09T04:34:53.723Z] -----------> git rev-list -1 --merges 35a1e13074cc72864b4bc2af12841bf3e83b8b58~1..35a1e13074cc72864b4bc2af12841bf3e83b8b58 35a1e13074cc72864b4bc2af12841bf3e83b8b58 [false] [Pipeline] sh [2024-10-09T04:34:54.051Z] + git log --format=format:%s -1 35a1e13074cc72864b4bc2af12841bf3e83b8b58 [Pipeline] echo [2024-10-09T04:34:54.094Z] ========================================================= [2024-10-09T04:34:54.094Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-09T04:34:54.094Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-09T04:34:54.556Z] + git log --format=format:%s -1 35a1e13074cc72864b4bc2af12841bf3e83b8b58 [Pipeline] echo [2024-10-09T04:34:54.594Z] [semverPrep] GIT_COMMIT: 35a1e13074cc72864b4bc2af12841bf3e83b8b58, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2024-10-09T04:34:54.636Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-09T04:34:55.058Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-09T04:34:55.058Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-09T04:34:55.058Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-09T04:34:55.058Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-09T04:34:55.058Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-09T04:34:55.058Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-09T04:34:55.058Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-09T04:34:55.513Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-09T04:34:55.513Z] [2024-10-09T04:34:55.513Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-09T04:34:55.918Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-09T04:34:55.918Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-09T04:34:55.918Z] b85a868b505f: Pulling fs layer [2024-10-09T04:34:55.918Z] e2be974225ed: Pulling fs layer [2024-10-09T04:34:55.918Z] 339a4e72a1f5: Pulling fs layer [2024-10-09T04:34:55.918Z] 988bab9f4d93: Pulling fs layer [2024-10-09T04:34:55.918Z] 1469e6f7b9e6: Pulling fs layer [2024-10-09T04:34:55.918Z] eaf3925da568: Pulling fs layer [2024-10-09T04:34:55.918Z] bab4dde63d76: Pulling fs layer [2024-10-09T04:34:55.918Z] bde34c3a00c8: Pulling fs layer [2024-10-09T04:34:55.918Z] b352a97aabf1: Pulling fs layer [2024-10-09T04:34:55.918Z] 4872d77fe225: Pulling fs layer [2024-10-09T04:34:55.918Z] 5851b861e8e6: Pulling fs layer [2024-10-09T04:34:55.918Z] 988bab9f4d93: Waiting [2024-10-09T04:34:55.918Z] 1469e6f7b9e6: Waiting [2024-10-09T04:34:55.918Z] eaf3925da568: Waiting [2024-10-09T04:34:55.918Z] bab4dde63d76: Waiting [2024-10-09T04:34:55.918Z] 4872d77fe225: Waiting [2024-10-09T04:34:55.918Z] bde34c3a00c8: Waiting [2024-10-09T04:34:55.918Z] b352a97aabf1: Waiting [2024-10-09T04:34:55.918Z] 5851b861e8e6: Waiting [2024-10-09T04:34:55.918Z] e2be974225ed: Verifying Checksum [2024-10-09T04:34:55.918Z] e2be974225ed: Download complete [2024-10-09T04:34:55.918Z] 988bab9f4d93: Download complete [2024-10-09T04:34:55.918Z] 1469e6f7b9e6: Verifying Checksum [2024-10-09T04:34:55.918Z] 1469e6f7b9e6: Download complete [2024-10-09T04:34:55.918Z] eaf3925da568: Download complete [2024-10-09T04:34:56.178Z] 339a4e72a1f5: Download complete [2024-10-09T04:34:56.178Z] bde34c3a00c8: Download complete [2024-10-09T04:34:56.178Z] b352a97aabf1: Download complete [2024-10-09T04:34:56.178Z] 4872d77fe225: Download complete [2024-10-09T04:34:56.178Z] 5851b861e8e6: Verifying Checksum [2024-10-09T04:34:56.178Z] 5851b861e8e6: Download complete [2024-10-09T04:34:56.178Z] b85a868b505f: Verifying Checksum [2024-10-09T04:34:56.178Z] b85a868b505f: Download complete [2024-10-09T04:34:56.446Z] bab4dde63d76: Verifying Checksum [2024-10-09T04:34:56.446Z] bab4dde63d76: Download complete [2024-10-09T04:34:57.417Z] b85a868b505f: Pull complete [2024-10-09T04:34:57.683Z] e2be974225ed: Pull complete [2024-10-09T04:34:58.255Z] 339a4e72a1f5: Pull complete [2024-10-09T04:34:58.255Z] 988bab9f4d93: Pull complete [2024-10-09T04:34:58.514Z] 1469e6f7b9e6: Pull complete [2024-10-09T04:34:58.514Z] eaf3925da568: Pull complete [2024-10-09T04:35:00.417Z] bab4dde63d76: Pull complete [2024-10-09T04:35:00.417Z] bde34c3a00c8: Pull complete [2024-10-09T04:35:00.417Z] b352a97aabf1: Pull complete [2024-10-09T04:35:00.417Z] 4872d77fe225: Pull complete [2024-10-09T04:35:00.677Z] 5851b861e8e6: Pull complete [2024-10-09T04:35:00.677Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-09T04:35:00.677Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-09T04:35:00.677Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-09T04:35:00.984Z] prd-ubuntu20.04-docker-8c-8g-22263 does not seem to be running inside a container [2024-10-09T04:35:01.010Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1637 -v /w/workspace/gexfoundry_device-sdk-go_PR-1637:/w/workspace/gexfoundry_device-sdk-go_PR-1637:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1637@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1637@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-10-09T04:35:02.235Z] $ docker top 35c986cd15200ed10bf8ef8f402b50df9049e80f2bad7334a2700723ae979369 -eo pid,comm [2024-10-09T04:35:02.301Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-09T04:35:02.301Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-09T04:35:02.465Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-09T04:35:02.465Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-09T04:35:02.579Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-09T04:35:02.579Z] $ docker exec 35c986cd15200ed10bf8ef8f402b50df9049e80f2bad7334a2700723ae979369 ssh-agent [2024-10-09T04:35:02.689Z] SSH_AUTH_SOCK=/tmp/ssh-DplaP5vwJGNl/agent.32 [2024-10-09T04:35:02.689Z] SSH_AGENT_PID=38 [2024-10-09T04:35:02.695Z] Running ssh-add (command line suppressed) [2024-10-09T04:35:02.811Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1637@tmp/private_key_5419630131591851945.key (/w/workspace/gexfoundry_device-sdk-go_PR-1637@tmp/private_key_5419630131591851945.key) [2024-10-09T04:35:02.830Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-09T04:35:03.180Z] + git tag --points-at HEAD [Pipeline] } [2024-10-09T04:35:03.204Z] $ docker exec --env ******** --env ******** 35c986cd15200ed10bf8ef8f402b50df9049e80f2bad7334a2700723ae979369 ssh-agent -k [2024-10-09T04:35:03.321Z] unset SSH_AUTH_SOCK; [2024-10-09T04:35:03.322Z] unset SSH_AGENT_PID; [2024-10-09T04:35:03.322Z] echo Agent pid 38 killed; [2024-10-09T04:35:03.334Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-09T04:35:03.448Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-09T04:35:03.448Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-09T04:35:03.565Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-09T04:35:03.564Z] $ docker exec 35c986cd15200ed10bf8ef8f402b50df9049e80f2bad7334a2700723ae979369 ssh-agent [2024-10-09T04:35:03.673Z] SSH_AUTH_SOCK=/tmp/ssh-qAdvE9cd1d7n/agent.71 [2024-10-09T04:35:03.673Z] SSH_AGENT_PID=77 [2024-10-09T04:35:03.677Z] Running ssh-add (command line suppressed) [2024-10-09T04:35:03.788Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1637@tmp/private_key_3683445582670203744.key (/w/workspace/gexfoundry_device-sdk-go_PR-1637@tmp/private_key_3683445582670203744.key) [2024-10-09T04:35:03.804Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-09T04:35:04.154Z] + git semver init [2024-10-09T04:35:04.414Z] 2024-10-09 04:35:04,326 [run_init] DEBUG init version:0.0.0 force:False [2024-10-09T04:35:04.414Z] 2024-10-09 04:35:04,327 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1637/.semver [2024-10-09T04:35:04.414Z] 2024-10-09 04:35:04,327 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1637/.semver [2024-10-09T04:35:04.414Z] 2024-10-09 04:35:04,327 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1637/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1637, universal_newlines=False, shell=None, istream=None) [2024-10-09T04:35:06.347Z] 2024-10-09 04:35:06,234 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1637/.git/info/exclude [2024-10-09T04:35:06.347Z] 2024-10-09 04:35:06,235 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1637/.semver/PR-1637 with force:False [2024-10-09T04:35:06.347Z] 2024-10-09 04:35:06,235 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1637/.semver/PR-1637 [2024-10-09T04:35:06.347Z] 2024-10-09 04:35:06,239 [execute] INFO git cat-file --batch-check [2024-10-09T04:35:06.347Z] 2024-10-09 04:35:06,240 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1637/.semver, universal_newlines=False, shell=None, istream=) [2024-10-09T04:35:06.347Z] 2024-10-09 04:35:06,246 [execute] INFO git cat-file --batch [2024-10-09T04:35:06.347Z] 2024-10-09 04:35:06,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1637/.semver, universal_newlines=False, shell=None, istream=) [2024-10-09T04:35:06.347Z] 2024-10-09 04:35:06,253 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1637/.semver/PR-1637 [2024-10-09T04:35:06.347Z] 0.0.0 [Pipeline] } [2024-10-09T04:35:06.376Z] $ docker exec --env ******** --env ******** 35c986cd15200ed10bf8ef8f402b50df9049e80f2bad7334a2700723ae979369 ssh-agent -k [2024-10-09T04:35:06.477Z] unset SSH_AUTH_SOCK; [2024-10-09T04:35:06.477Z] unset SSH_AGENT_PID; [2024-10-09T04:35:06.477Z] echo Agent pid 77 killed; [2024-10-09T04:35:06.490Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-09T04:35:06.952Z] + git semver [Pipeline] } [2024-10-09T04:35:07.237Z] $ docker stop --time=1 35c986cd15200ed10bf8ef8f402b50df9049e80f2bad7334a2700723ae979369 [2024-10-09T04:35:08.509Z] $ docker rm -f --volumes 35c986cd15200ed10bf8ef8f402b50df9049e80f2bad7334a2700723ae979369 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-09T04:35:08.932Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-09T04:35:09.260Z] Stashed 1 file(s) [Pipeline] echo [2024-10-09T04:35:09.284Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-09T04:35:10.150Z] provisioning config files... [2024-10-09T04:35:10.163Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1637@tmp/config12781697459150554927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-09T04:35:10.539Z] ---> ****-login.sh [2024-10-09T04:35:10.539Z] nexus3.edgexfoundry.org:10001 [2024-10-09T04:35:10.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-09T04:35:10.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-09T04:35:10.539Z] Configure a credential helper to remove this warning. See [2024-10-09T04:35:10.539Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-09T04:35:10.539Z] [2024-10-09T04:35:10.539Z] Login Succeeded [2024-10-09T04:35:10.539Z] nexus3.edgexfoundry.org:10002 [2024-10-09T04:35:10.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-09T04:35:10.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-09T04:35:10.800Z] Configure a credential helper to remove this warning. See [2024-10-09T04:35:10.800Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-09T04:35:10.800Z] [2024-10-09T04:35:10.800Z] Login Succeeded [2024-10-09T04:35:10.800Z] nexus3.edgexfoundry.org:10003 [2024-10-09T04:35:10.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-09T04:35:10.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-09T04:35:10.800Z] Configure a credential helper to remove this warning. See [2024-10-09T04:35:10.800Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-09T04:35:10.800Z] [2024-10-09T04:35:10.800Z] Login Succeeded [2024-10-09T04:35:10.800Z] nexus3.edgexfoundry.org:10004 [2024-10-09T04:35:10.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-09T04:35:11.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-09T04:35:11.077Z] Configure a credential helper to remove this warning. See [2024-10-09T04:35:11.077Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-09T04:35:11.077Z] [2024-10-09T04:35:11.077Z] Login Succeeded [2024-10-09T04:35:11.077Z] ****.io [2024-10-09T04:35:11.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-09T04:35:11.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-09T04:35:11.077Z] Configure a credential helper to remove this warning. See [2024-10-09T04:35:11.077Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-09T04:35:11.077Z] [2024-10-09T04:35:11.077Z] Login Succeeded [2024-10-09T04:35:11.077Z] ---> ****-login.sh ends [Pipeline] } [2024-10-09T04:35:11.112Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-09T04:35:11.379Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-09T04:35:11.425Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-09T04:35:11.478Z] ========================================================= [2024-10-09T04:35:11.478Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-09T04:35:11.478Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-09T04:35:12.027Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-09T04:35:12.027Z] Sending build context to Docker daemon 25.44MB [2024-10-09T04:35:12.027Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-09T04:35:12.027Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-09T04:35:12.287Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-09T04:35:12.287Z] 43c4264eed91: Pulling fs layer [2024-10-09T04:35:12.287Z] 4cc291be95ef: Pulling fs layer [2024-10-09T04:35:12.287Z] 2ac1f1163629: Pulling fs layer [2024-10-09T04:35:12.287Z] 5c3c966382ef: Pulling fs layer [2024-10-09T04:35:12.287Z] 4f4fb700ef54: Pulling fs layer [2024-10-09T04:35:12.287Z] 5d5c8e513c77: Pulling fs layer [2024-10-09T04:35:12.287Z] 9f66e0745190: Pulling fs layer [2024-10-09T04:35:12.287Z] f49a43e4bbc0: Pulling fs layer [2024-10-09T04:35:12.287Z] 561ebcabdf7f: Pulling fs layer [2024-10-09T04:35:12.287Z] 5d5c8e513c77: Waiting [2024-10-09T04:35:12.287Z] 561ebcabdf7f: Waiting [2024-10-09T04:35:12.287Z] 9f66e0745190: Waiting [2024-10-09T04:35:12.287Z] f49a43e4bbc0: Waiting [2024-10-09T04:35:12.287Z] 4f4fb700ef54: Waiting [2024-10-09T04:35:12.287Z] 5c3c966382ef: Waiting [2024-10-09T04:35:12.287Z] 4cc291be95ef: Verifying Checksum [2024-10-09T04:35:12.287Z] 4cc291be95ef: Download complete [2024-10-09T04:35:12.287Z] 5c3c966382ef: Verifying Checksum [2024-10-09T04:35:12.287Z] 5c3c966382ef: Download complete [2024-10-09T04:35:12.287Z] 4f4fb700ef54: Verifying Checksum [2024-10-09T04:35:12.287Z] 4f4fb700ef54: Download complete [2024-10-09T04:35:12.287Z] 5d5c8e513c77: Verifying Checksum [2024-10-09T04:35:12.287Z] 5d5c8e513c77: Download complete [2024-10-09T04:35:12.287Z] 43c4264eed91: Download complete [2024-10-09T04:35:12.287Z] 9f66e0745190: Verifying Checksum [2024-10-09T04:35:12.287Z] 9f66e0745190: Download complete [2024-10-09T04:35:12.546Z] 43c4264eed91: Pull complete [2024-10-09T04:35:12.546Z] 561ebcabdf7f: Download complete [2024-10-09T04:35:12.546Z] 4cc291be95ef: Pull complete [2024-10-09T04:35:12.804Z] 2ac1f1163629: Verifying Checksum [2024-10-09T04:35:12.804Z] 2ac1f1163629: Download complete [2024-10-09T04:35:13.065Z] f49a43e4bbc0: Verifying Checksum [2024-10-09T04:35:13.065Z] f49a43e4bbc0: Download complete [2024-10-09T04:35:16.347Z] 2ac1f1163629: Pull complete [2024-10-09T04:35:16.347Z] 5c3c966382ef: Pull complete [2024-10-09T04:35:16.347Z] 4f4fb700ef54: Pull complete [2024-10-09T04:35:16.347Z] 5d5c8e513c77: Pull complete [2024-10-09T04:35:16.347Z] 9f66e0745190: Pull complete [2024-10-09T04:35:18.877Z] f49a43e4bbc0: Pull complete [2024-10-09T04:35:19.136Z] 561ebcabdf7f: Pull complete [2024-10-09T04:35:19.136Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-09T04:35:19.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-09T04:35:19.136Z] ---> 3a752c3f9dda [2024-10-09T04:35:19.136Z] Step 3/10 : ARG MAKE=make build [2024-10-09T04:35:21.045Z] ---> Running in 00d84932f394 [2024-10-09T04:35:21.045Z] Removing intermediate container 00d84932f394 [2024-10-09T04:35:21.045Z] ---> b8bbd061f7d0 [2024-10-09T04:35:21.045Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-09T04:35:21.045Z] ---> Running in 5b550efb13f2 [2024-10-09T04:35:21.045Z] Removing intermediate container 5b550efb13f2 [2024-10-09T04:35:21.045Z] ---> 38f9b099d3f1 [2024-10-09T04:35:21.045Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-09T04:35:21.045Z] ---> Running in 246b8c34f848 [2024-10-09T04:35:21.045Z] Removing intermediate container 246b8c34f848 [2024-10-09T04:35:21.045Z] ---> f077f0a5d38b [2024-10-09T04:35:21.045Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-09T04:35:21.045Z] ---> Running in bc15944c920c [2024-10-09T04:35:21.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-09T04:35:21.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-09T04:35:21.825Z] OK: 246 MiB in 54 packages [2024-10-09T04:35:22.085Z] Removing intermediate container bc15944c920c [2024-10-09T04:35:22.085Z] ---> 4d1746b3f810 [2024-10-09T04:35:22.085Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-09T04:35:22.085Z] ---> 33683b4d8c0e [2024-10-09T04:35:22.085Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-09T04:35:22.345Z] ---> Running in bab13397afb5 [2024-10-09T04:35:24.900Z] Still waiting to schedule task [2024-10-09T04:35:24.901Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22262’ [2024-10-09T04:36:01.080Z] Removing intermediate container bab13397afb5 [2024-10-09T04:36:01.080Z] ---> e7572dec7fac [2024-10-09T04:36:01.080Z] Step 9/10 : COPY . . [2024-10-09T04:36:01.080Z] ---> 0dd6bb4bcf8e [2024-10-09T04:36:01.080Z] Step 10/10 : RUN ${MAKE} [2024-10-09T04:36:01.080Z] ---> Running in 54c79042745f [2024-10-09T04:36:01.080Z] noop [2024-10-09T04:36:01.080Z] Removing intermediate container 54c79042745f [2024-10-09T04:36:01.080Z] ---> 4fe5292bf03c [2024-10-09T04:36:01.080Z] Successfully built 4fe5292bf03c [2024-10-09T04:36:01.080Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-09T04:36:01.596Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-09T04:36:01.596Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-09T04:36:01.774Z] prd-ubuntu20.04-docker-8c-8g-22263 does not seem to be running inside a container [2024-10-09T04:36:01.814Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1637 -v /w/workspace/gexfoundry_device-sdk-go_PR-1637:/w/workspace/gexfoundry_device-sdk-go_PR-1637:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1637@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1637@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-10-09T04:36:02.184Z] $ docker top 8880a8274d502e2649c51e3f1ef69b0858f3c9bb7ce1f1ce260747beab0b8d76 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-09T04:36:02.606Z] + go version [2024-10-09T04:36:02.606Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-09T04:36:02.650Z] $ docker stop --time=1 8880a8274d502e2649c51e3f1ef69b0858f3c9bb7ce1f1ce260747beab0b8d76 [2024-10-09T04:36:03.910Z] $ docker rm -f --volumes 8880a8274d502e2649c51e3f1ef69b0858f3c9bb7ce1f1ce260747beab0b8d76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-09T04:36:04.867Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-09T04:36:04.867Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-09T04:36:05.048Z] prd-ubuntu20.04-docker-8c-8g-22263 does not seem to be running inside a container [2024-10-09T04:36:05.086Z] $ 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-1637 -v /w/workspace/gexfoundry_device-sdk-go_PR-1637:/w/workspace/gexfoundry_device-sdk-go_PR-1637:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1637@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1637@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-10-09T04:36:05.437Z] $ docker top e02f196306eb7770058586f741557ee3c98e602d72c5cb4488cc4380d9b4deae -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-09T04:36:05.868Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1637 [Pipeline] fileExists [Pipeline] sh [2024-10-09T04:36:06.248Z] + make test [2024-10-09T04:36:06.248Z] go test -race -coverprofile=coverage.out ./... [2024-10-09T04:36:14.371Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-09T04:36:46.463Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-09T04:36:46.463Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-09T04:36:46.463Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-09T04:36:46.463Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-09T04:36:46.463Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-09T04:36:46.463Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.032s coverage: 26.0% of statements [2024-10-09T04:36:46.463Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.034s coverage: 79.4% of statements [2024-10-09T04:36:46.463Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-09T04:36:46.463Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-09T04:36:46.463Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-09T04:36:46.463Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.046s coverage: 86.0% of statements [2024-10-09T04:36:46.463Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-09T04:36:46.463Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-09T04:36:46.463Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-09T04:36:46.463Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.105s coverage: 45.2% of statements [2024-10-09T04:36:47.843Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-09T04:36:49.225Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.048s coverage: 14.1% of statements [2024-10-09T04:36:49.225Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.129s coverage: 44.6% of statements [2024-10-09T04:36:49.225Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.049s coverage: 68.3% of statements [2024-10-09T04:36:49.225Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.095s coverage: 88.3% of statements [2024-10-09T04:36:49.225Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.056s coverage: 5.3% of statements [2024-10-09T04:37:28.114Z] GO111MODULE=on go vet ./... [2024-10-09T04:37:30.647Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-09T04:37:30.647Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-09T04:37:30.647Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-09T04:37:30.945Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-09T04:37:30.990Z] $ docker stop --time=1 e02f196306eb7770058586f741557ee3c98e602d72c5cb4488cc4380d9b4deae [2024-10-09T04:37:33.083Z] $ docker rm -f --volumes e02f196306eb7770058586f741557ee3c98e602d72c5cb4488cc4380d9b4deae [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-09T04:37:33.884Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-09T04:37:34.004Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-09T04:37:34.723Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-09T04:37:35.045Z] + ls -al . [2024-10-09T04:37:35.045Z] total 712 [2024-10-09T04:37:35.045Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 9 04:36 . [2024-10-09T04:37:35.045Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 04:34 .. [2024-10-09T04:37:35.045Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 9 04:34 .dockerignore [2024-10-09T04:37:35.045Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 9 04:36 .git [2024-10-09T04:37:35.045Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 04:34 .github [2024-10-09T04:37:35.045Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 9 04:34 .gitignore [2024-10-09T04:37:35.045Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 9 04:34 .golangci.yml [2024-10-09T04:37:35.045Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 9 04:35 .semver [2024-10-09T04:37:35.045Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 9 04:34 CHANGELOG.md [2024-10-09T04:37:35.045Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 9 04:34 GOVERNANCE.md [2024-10-09T04:37:35.045Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 9 04:34 Jenkinsfile [2024-10-09T04:37:35.045Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 9 04:34 LICENSE [2024-10-09T04:37:35.045Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 9 04:34 Makefile [2024-10-09T04:37:35.045Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 9 04:34 OWNERS.md [2024-10-09T04:37:35.045Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 9 04:34 README.md [2024-10-09T04:37:35.045Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 9 04:35 VERSION [2024-10-09T04:37:35.045Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 04:34 bin [2024-10-09T04:37:35.045Z] -rw-r--r-- 1 jenkins jenkins 466603 Oct 9 04:36 coverage.out [2024-10-09T04:37:35.045Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 9 04:34 example [2024-10-09T04:37:35.045Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 9 04:34 go.mod [2024-10-09T04:37:35.045Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 9 04:34 go.sum [2024-10-09T04:37:35.045Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 9 04:34 internal [2024-10-09T04:37:35.045Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 04:34 openapi [2024-10-09T04:37:35.045Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 9 04:34 pkg [2024-10-09T04:37:35.045Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 04:34 snap [2024-10-09T04:37:35.045Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 9 04:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-09T04:37:35.490Z] + 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=35a1e13074cc72864b4bc2af12841bf3e83b8b58 --label arch=amd64 --label version=0.0.0 . [2024-10-09T04:37:35.490Z] Sending build context to Docker daemon 25.9MB [2024-10-09T04:37:35.490Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-09T04:37:35.490Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-09T04:37:35.490Z] ---> 4fe5292bf03c [2024-10-09T04:37:35.490Z] Step 3/24 : ARG MAKE=make build [2024-10-09T04:37:35.750Z] ---> Running in dd0bf64e67dc [2024-10-09T04:37:35.750Z] Removing intermediate container dd0bf64e67dc [2024-10-09T04:37:35.750Z] ---> 896471817e34 [2024-10-09T04:37:35.750Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-09T04:37:35.750Z] ---> Running in 9c1b0ca4daea [2024-10-09T04:37:35.750Z] Removing intermediate container 9c1b0ca4daea [2024-10-09T04:37:35.750Z] ---> 7ee6822dad73 [2024-10-09T04:37:35.750Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-09T04:37:36.010Z] ---> Running in 2e1fe802f4bd [2024-10-09T04:37:36.010Z] Removing intermediate container 2e1fe802f4bd [2024-10-09T04:37:36.010Z] ---> c9177bcb8e34 [2024-10-09T04:37:36.010Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-09T04:37:36.010Z] ---> Running in 8fe19315ea60 [2024-10-09T04:37:36.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-09T04:37:36.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-09T04:37:36.788Z] OK: 246 MiB in 54 packages [2024-10-09T04:37:37.048Z] Removing intermediate container 8fe19315ea60 [2024-10-09T04:37:37.048Z] ---> e03bb0e0fed1 [2024-10-09T04:37:37.048Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-09T04:37:37.306Z] ---> 6e9573dcc0cf [2024-10-09T04:37:37.306Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-09T04:37:37.306Z] ---> Running in 11072c295a69 [2024-10-09T04:37:37.877Z] Removing intermediate container 11072c295a69 [2024-10-09T04:37:37.877Z] ---> 54efea9915ff [2024-10-09T04:37:37.877Z] Step 9/24 : COPY . . [2024-10-09T04:37:38.444Z] ---> 3dc20ff72765 [2024-10-09T04:37:38.444Z] Step 10/24 : RUN ${MAKE} [2024-10-09T04:37:38.444Z] ---> Running in 8fad1607f725 [2024-10-09T04:37:38.703Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-10-09T04:38:10.779Z] Removing intermediate container 8fad1607f725 [2024-10-09T04:38:10.779Z] ---> 78dcf5970cd6 [2024-10-09T04:38:10.779Z] Step 11/24 : FROM alpine:3.20 [2024-10-09T04:38:10.779Z] 3.20: Pulling from library/alpine [2024-10-09T04:38:10.779Z] 43c4264eed91: Already exists [2024-10-09T04:38:10.779Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-09T04:38:10.779Z] Status: Downloaded newer image for alpine:3.20 [2024-10-09T04:38:10.779Z] ---> 91ef0af61f39 [2024-10-09T04:38:10.779Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-09T04:38:10.779Z] ---> Running in 2a10308a462b [2024-10-09T04:38:10.779Z] Removing intermediate container 2a10308a462b [2024-10-09T04:38:10.779Z] ---> 3f9affbcf90f [2024-10-09T04:38:10.779Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-09T04:38:10.779Z] ---> Running in 0cc384a45850 [2024-10-09T04:38:10.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-09T04:38:10.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-09T04:38:10.779Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-09T04:38:10.779Z] Executing busybox-1.36.1-r29.trigger [2024-10-09T04:38:10.779Z] OK: 8 MiB in 15 packages [2024-10-09T04:38:10.779Z] Removing intermediate container 0cc384a45850 [2024-10-09T04:38:10.779Z] ---> 0c407a5ae3a0 [2024-10-09T04:38:10.779Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-09T04:38:10.779Z] ---> Running in ad75907a2017 [2024-10-09T04:38:11.039Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-09T04:38:11.039Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-09T04:38:11.298Z] Upgrading critical system libraries and apk-tools: [2024-10-09T04:38:11.298Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-09T04:38:11.298Z] Executing busybox-1.36.1-r29.trigger [2024-10-09T04:38:11.298Z] Continuing the upgrade transaction with new apk-tools: [2024-10-09T04:38:11.298Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-09T04:38:11.298Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-09T04:38:11.560Z] OK: 8 MiB in 15 packages [2024-10-09T04:38:12.128Z] Removing intermediate container ad75907a2017 [2024-10-09T04:38:12.128Z] ---> 156f5f1c1c06 [2024-10-09T04:38:12.128Z] Step 15/24 : WORKDIR / [2024-10-09T04:38:12.128Z] ---> Running in cfd4ddae70b1 [2024-10-09T04:38:12.128Z] Removing intermediate container cfd4ddae70b1 [2024-10-09T04:38:12.128Z] ---> 5a113fad10d2 [2024-10-09T04:38:12.128Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-09T04:38:12.128Z] ---> 8392e1e59965 [2024-10-09T04:38:12.128Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-09T04:38:13.066Z] ---> 44c824aa6445 [2024-10-09T04:38:13.066Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-09T04:38:13.066Z] ---> dea7bfd2f03d [2024-10-09T04:38:13.066Z] Step 19/24 : EXPOSE 59999 [2024-10-09T04:38:13.066Z] ---> Running in 1947459e1fa1 [2024-10-09T04:38:13.066Z] Removing intermediate container 1947459e1fa1 [2024-10-09T04:38:13.066Z] ---> 9b98403e3912 [2024-10-09T04:38:13.066Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-09T04:38:13.325Z] ---> Running in b812abd4bf28 [2024-10-09T04:38:13.325Z] Removing intermediate container b812abd4bf28 [2024-10-09T04:38:13.325Z] ---> d8b6f875d96a [2024-10-09T04:38:13.325Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-09T04:38:13.325Z] ---> Running in b72c6c4c9e6d [2024-10-09T04:38:13.325Z] Removing intermediate container b72c6c4c9e6d [2024-10-09T04:38:13.325Z] ---> fa0175607f2f [2024-10-09T04:38:13.325Z] Step 22/24 : LABEL arch=amd64 [2024-10-09T04:38:13.325Z] ---> Running in 8b50b7ad597c [2024-10-09T04:38:13.584Z] Removing intermediate container 8b50b7ad597c [2024-10-09T04:38:13.584Z] ---> 62336be8384a [2024-10-09T04:38:13.584Z] Step 23/24 : LABEL git_sha=35a1e13074cc72864b4bc2af12841bf3e83b8b58 [2024-10-09T04:38:13.584Z] ---> Running in b587b99804a2 [2024-10-09T04:38:13.584Z] Removing intermediate container b587b99804a2 [2024-10-09T04:38:13.584Z] ---> 2a0529285fcf [2024-10-09T04:38:13.584Z] Step 24/24 : LABEL version=0.0.0 [2024-10-09T04:38:13.584Z] ---> Running in 3c18f34f96b8 [2024-10-09T04:38:13.584Z] Removing intermediate container 3c18f34f96b8 [2024-10-09T04:38:13.584Z] ---> 4397b4335070 [2024-10-09T04:38:13.584Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-09T04:38:13.584Z] Successfully built 4397b4335070 [2024-10-09T04:38:13.584Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-09T04:38:14.565Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-09T04:38:14.565Z] [2024-10-09T04:38:14.565Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-09T04:38:14.971Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-09T04:38:14.971Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-09T04:38:14.971Z] 5eb5b503b376: Pulling fs layer [2024-10-09T04:38:14.971Z] 5c69ac0246d0: Pulling fs layer [2024-10-09T04:38:14.971Z] ec43610c2a17: Pulling fs layer [2024-10-09T04:38:14.971Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-09T04:38:14.971Z] 33b1e0a273af: Pulling fs layer [2024-10-09T04:38:14.971Z] 5d3b04190fa2: Pulling fs layer [2024-10-09T04:38:14.971Z] 2f39f015ded8: Pulling fs layer [2024-10-09T04:38:14.971Z] 33b1e0a273af: Waiting [2024-10-09T04:38:14.971Z] 5d3b04190fa2: Waiting [2024-10-09T04:38:14.971Z] 3a2ae6a8a46f: Waiting [2024-10-09T04:38:14.971Z] 2f39f015ded8: Waiting [2024-10-09T04:38:14.971Z] 5c69ac0246d0: Verifying Checksum [2024-10-09T04:38:14.971Z] 5c69ac0246d0: Download complete [2024-10-09T04:38:14.971Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-09T04:38:14.971Z] 3a2ae6a8a46f: Download complete [2024-10-09T04:38:14.971Z] 33b1e0a273af: Verifying Checksum [2024-10-09T04:38:14.971Z] 33b1e0a273af: Download complete [2024-10-09T04:38:14.971Z] 5d3b04190fa2: Verifying Checksum [2024-10-09T04:38:14.971Z] 5d3b04190fa2: Download complete [2024-10-09T04:38:14.971Z] ec43610c2a17: Verifying Checksum [2024-10-09T04:38:14.971Z] ec43610c2a17: Download complete [2024-10-09T04:38:15.230Z] 5eb5b503b376: Verifying Checksum [2024-10-09T04:38:15.230Z] 5eb5b503b376: Download complete [2024-10-09T04:38:15.799Z] 2f39f015ded8: Download complete [2024-10-09T04:38:16.369Z] 5eb5b503b376: Pull complete [2024-10-09T04:38:16.369Z] 5c69ac0246d0: Pull complete [2024-10-09T04:38:16.934Z] ec43610c2a17: Pull complete [2024-10-09T04:38:16.934Z] 3a2ae6a8a46f: Pull complete [2024-10-09T04:38:17.192Z] 33b1e0a273af: Pull complete [2024-10-09T04:38:17.192Z] 5d3b04190fa2: Pull complete [2024-10-09T04:38:21.378Z] 2f39f015ded8: Pull complete [2024-10-09T04:38:21.378Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-09T04:38:21.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-09T04:38:21.378Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-09T04:38:21.622Z] prd-ubuntu20.04-docker-8c-8g-22263 does not seem to be running inside a container [2024-10-09T04:38:21.661Z] $ 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-1637 -v /w/workspace/gexfoundry_device-sdk-go_PR-1637:/w/workspace/gexfoundry_device-sdk-go_PR-1637:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1637@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1637@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-10-09T04:38:22.839Z] $ docker top 5fa6241a9ea99dc8ff52940fe4eb22e2f38e73722911b88f6f8fa50a20ce394d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-09T04:38:23.305Z] ---> job-cost.sh [2024-10-09T04:38:23.305Z] lf-activate-venv: SKIPPING [2024-10-09T04:38:23.305Z] INFO: No Stack... [2024-10-09T04:38:23.875Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-09T04:38:24.138Z] INFO: Archiving Costs [Pipeline] sh [2024-10-09T04:38:24.465Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1637/archives/cost.csv [2024-10-09T04:38:24.465Z] + cut -d, -f6 [Pipeline] lock [2024-10-09T04:38:24.516Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1637-1-stack-cost] [2024-10-09T04:38:24.523Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1637-1-stack-cost] did not exist. Created. [2024-10-09T04:38:24.535Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1637-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-09T04:38:24.950Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-09T04:38:25.018Z] Stashed 1 file(s) [Pipeline] } [2024-10-09T04:38:25.053Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1637-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-09T04:38:25.155Z] $ docker stop --time=1 5fa6241a9ea99dc8ff52940fe4eb22e2f38e73722911b88f6f8fa50a20ce394d [2024-10-09T04:38:26.329Z] $ docker rm -f --volumes 5fa6241a9ea99dc8ff52940fe4eb22e2f38e73722911b88f6f8fa50a20ce394d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-09T04:39:02.596Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22264 in /w/workspace/gexfoundry_device-sdk-go_PR-1637 [Pipeline] { [Pipeline] ws [2024-10-09T04:39:02.672Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-10-09T04:39:05.778Z] The recommended git tool is: git [2024-10-09T04:39:11.042Z] using credential edgex-jenkins-ssh [2024-10-09T04:39:11.065Z] Cloning the remote Git repository [2024-10-09T04:39:11.117Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-10-09T04:39:11.226Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-10-09T04:39:11.405Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-09T04:39:11.406Z] > git --version # timeout=10 [2024-10-09T04:39:11.427Z] > git --version # 'git version 2.25.1' [2024-10-09T04:39:11.430Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-09T04:39:11.614Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-09T04:39:15.121Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-09T04:39:15.149Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-09T04:39:16.770Z] Merging remotes/origin/main commit e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 into PR head commit 35a1e13074cc72864b4bc2af12841bf3e83b8b58 [2024-10-09T04:39:17.140Z] Merge succeeded, producing 35a1e13074cc72864b4bc2af12841bf3e83b8b58 [2024-10-09T04:39:17.141Z] Checking out Revision 35a1e13074cc72864b4bc2af12841bf3e83b8b58 (PR-1637) [2024-10-09T04:39:16.127Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-09T04:39:16.172Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-09T04:39:16.173Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-09T04:39:16.200Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1637/head:refs/remotes/origin/PR-1637 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-09T04:39:16.791Z] > git config core.sparsecheckout # timeout=10 [2024-10-09T04:39:16.889Z] > git checkout -f 35a1e13074cc72864b4bc2af12841bf3e83b8b58 # timeout=10 [2024-10-09T04:39:17.019Z] > git remote # timeout=10 [2024-10-09T04:39:17.041Z] > git config --get remote.origin.url # timeout=10 [2024-10-09T04:39:17.068Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-09T04:39:17.092Z] > git merge e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 # timeout=10 [2024-10-09T04:39:17.121Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-09T04:39:17.147Z] > git config core.sparsecheckout # timeout=10 [2024-10-09T04:39:17.161Z] > git checkout -f 35a1e13074cc72864b4bc2af12841bf3e83b8b58 # timeout=10 [2024-10-09T04:39:18.056Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2024-10-09T04:39:18.115Z] > git --version # timeout=10 [2024-10-09T04:39:18.129Z] > git --version # 'git version 2.25.1' [2024-10-09T04:39:18.145Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-09T04:39:23.150Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-09T04:39:23.150Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-09T04:39:23.150Z] Dload Upload Total Spent Left Speed [2024-10-09T04:39:23.150Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99441 0 --:--:-- --:--:-- --:--:-- 99441 [Pipeline] sh [2024-10-09T04:39:23.511Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-09T04:39:23.867Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-10-09T04:39:23.867Z] /etc/docker/daemon.json [2024-10-09T04:39:23.867Z] { [2024-10-09T04:39:23.867Z] "registry-mirrors": [ [2024-10-09T04:39:23.867Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-09T04:39:23.867Z] ], [2024-10-09T04:39:23.867Z] "bip": "10.250.0.254/24", [2024-10-09T04:39:23.867Z] "hosts": [ [2024-10-09T04:39:23.867Z] "tcp://0.0.0.0:5555", [2024-10-09T04:39:23.867Z] "unix:///var/run/docker.sock" [2024-10-09T04:39:23.867Z] ], [2024-10-09T04:39:23.867Z] "mtu": 1458, [2024-10-09T04:39:23.867Z] "selinux-enabled": true, [2024-10-09T04:39:23.867Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-09T04:39:23.867Z] } [Pipeline] sh [2024-10-09T04:39:24.239Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-09T04:39:24.599Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-09T04:39:42.988Z] provisioning config files... [2024-10-09T04:39:43.034Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6688042356807823161tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-09T04:39:43.559Z] ---> ****-login.sh [2024-10-09T04:39:43.559Z] nexus3.edgexfoundry.org:10001 [2024-10-09T04:39:44.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-09T04:39:44.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-09T04:39:44.146Z] Configure a credential helper to remove this warning. See [2024-10-09T04:39:44.146Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-09T04:39:44.146Z] [2024-10-09T04:39:44.146Z] Login Succeeded [2024-10-09T04:39:44.146Z] nexus3.edgexfoundry.org:10002 [2024-10-09T04:39:44.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-09T04:39:44.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-09T04:39:44.684Z] Configure a credential helper to remove this warning. See [2024-10-09T04:39:44.684Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-09T04:39:44.684Z] [2024-10-09T04:39:44.684Z] Login Succeeded [2024-10-09T04:39:44.684Z] nexus3.edgexfoundry.org:10003 [2024-10-09T04:39:44.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-09T04:39:44.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-09T04:39:44.962Z] Configure a credential helper to remove this warning. See [2024-10-09T04:39:44.962Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-09T04:39:44.962Z] [2024-10-09T04:39:44.962Z] Login Succeeded [2024-10-09T04:39:44.962Z] nexus3.edgexfoundry.org:10004 [2024-10-09T04:39:45.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-09T04:39:45.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-09T04:39:45.232Z] Configure a credential helper to remove this warning. See [2024-10-09T04:39:45.232Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-09T04:39:45.232Z] [2024-10-09T04:39:45.232Z] Login Succeeded [2024-10-09T04:39:45.232Z] ****.io [2024-10-09T04:39:45.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-09T04:39:45.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-09T04:39:45.775Z] Configure a credential helper to remove this warning. See [2024-10-09T04:39:45.775Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-09T04:39:45.775Z] [2024-10-09T04:39:45.775Z] Login Succeeded [2024-10-09T04:39:45.775Z] ---> ****-login.sh ends [Pipeline] } [2024-10-09T04:39:45.821Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-09T04:39:46.284Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-09T04:39:46.332Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-09T04:39:46.388Z] ========================================================= [2024-10-09T04:39:46.388Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-09T04:39:46.388Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-09T04:39:46.951Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-09T04:39:47.556Z] Sending build context to Docker daemon 13.18MB [2024-10-09T04:39:47.556Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-09T04:39:47.556Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-09T04:39:47.827Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-09T04:39:47.827Z] cf04c63912e1: Pulling fs layer [2024-10-09T04:39:47.827Z] 55b35a11ae5e: Pulling fs layer [2024-10-09T04:39:47.827Z] a37a00ec5f00: Pulling fs layer [2024-10-09T04:39:47.827Z] 50b3750afda1: Pulling fs layer [2024-10-09T04:39:47.827Z] 4f4fb700ef54: Pulling fs layer [2024-10-09T04:39:47.827Z] 80978eb59214: Pulling fs layer [2024-10-09T04:39:47.827Z] c9f46d7d2bd2: Pulling fs layer [2024-10-09T04:39:47.827Z] c5a475d317c9: Pulling fs layer [2024-10-09T04:39:47.827Z] 50b3750afda1: Waiting [2024-10-09T04:39:47.827Z] 4f4fb700ef54: Waiting [2024-10-09T04:39:47.827Z] 80978eb59214: Waiting [2024-10-09T04:39:47.827Z] c9f46d7d2bd2: Waiting [2024-10-09T04:39:47.827Z] 55b35a11ae5e: Download complete [2024-10-09T04:39:47.827Z] 50b3750afda1: Verifying Checksum [2024-10-09T04:39:47.827Z] 50b3750afda1: Download complete [2024-10-09T04:39:47.827Z] 4f4fb700ef54: Verifying Checksum [2024-10-09T04:39:47.827Z] 4f4fb700ef54: Download complete [2024-10-09T04:39:47.827Z] 80978eb59214: Verifying Checksum [2024-10-09T04:39:47.827Z] 80978eb59214: Download complete [2024-10-09T04:39:47.827Z] cf04c63912e1: Download complete [2024-10-09T04:39:48.423Z] c5a475d317c9: Verifying Checksum [2024-10-09T04:39:48.423Z] c5a475d317c9: Download complete [2024-10-09T04:39:49.012Z] cf04c63912e1: Pull complete [2024-10-09T04:39:49.601Z] 55b35a11ae5e: Pull complete [2024-10-09T04:39:49.875Z] a37a00ec5f00: Verifying Checksum [2024-10-09T04:39:49.875Z] a37a00ec5f00: Download complete [2024-10-09T04:39:50.855Z] c9f46d7d2bd2: Verifying Checksum [2024-10-09T04:39:50.855Z] c9f46d7d2bd2: Download complete [2024-10-09T04:40:05.899Z] a37a00ec5f00: Pull complete [2024-10-09T04:40:05.899Z] 50b3750afda1: Pull complete [2024-10-09T04:40:05.899Z] 4f4fb700ef54: Pull complete [2024-10-09T04:40:05.899Z] 80978eb59214: Pull complete [2024-10-09T04:40:12.582Z] c9f46d7d2bd2: Pull complete [2024-10-09T04:40:15.172Z] c5a475d317c9: Pull complete [2024-10-09T04:40:15.172Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-09T04:40:15.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-09T04:40:15.172Z] ---> be29e6b0f0d4 [2024-10-09T04:40:15.172Z] Step 3/10 : ARG MAKE=make build [2024-10-09T04:40:17.131Z] ---> Running in 763c2a13d010 [2024-10-09T04:40:17.131Z] Removing intermediate container 763c2a13d010 [2024-10-09T04:40:17.131Z] ---> 3327df1e22b4 [2024-10-09T04:40:17.131Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-09T04:40:17.131Z] ---> Running in 2ce5be0785b1 [2024-10-09T04:40:17.406Z] Removing intermediate container 2ce5be0785b1 [2024-10-09T04:40:17.406Z] ---> a8291297df09 [2024-10-09T04:40:17.406Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-09T04:40:17.677Z] ---> Running in 32a7db3794c4 [2024-10-09T04:40:17.949Z] Removing intermediate container 32a7db3794c4 [2024-10-09T04:40:17.949Z] ---> b21dd9949481 [2024-10-09T04:40:17.949Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-09T04:40:17.949Z] ---> Running in cd2675146c28 [2024-10-09T04:40:18.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-09T04:40:19.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-09T04:40:20.924Z] OK: 238 MiB in 54 packages [2024-10-09T04:40:21.888Z] Removing intermediate container cd2675146c28 [2024-10-09T04:40:21.888Z] ---> c9cb6dab0359 [2024-10-09T04:40:21.888Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-09T04:40:22.474Z] ---> f4b3f48ae877 [2024-10-09T04:40:22.474Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-09T04:40:22.474Z] ---> Running in 1cb9c3f7635b [2024-10-09T04:42:29.197Z] Removing intermediate container 1cb9c3f7635b [2024-10-09T04:42:29.197Z] ---> 92fc8054898a [2024-10-09T04:42:29.197Z] Step 9/10 : COPY . . [2024-10-09T04:42:29.197Z] ---> aa442b07e8c4 [2024-10-09T04:42:29.197Z] Step 10/10 : RUN ${MAKE} [2024-10-09T04:42:29.197Z] ---> Running in 5db1b22f9d36 [2024-10-09T04:42:29.197Z] noop [2024-10-09T04:42:29.197Z] Removing intermediate container 5db1b22f9d36 [2024-10-09T04:42:29.197Z] ---> f2e5578ed363 [2024-10-09T04:42:29.197Z] Successfully built f2e5578ed363 [2024-10-09T04:42:29.197Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-09T04:42:29.701Z] + docker inspect -f . ci-base-image-arm64 [2024-10-09T04:42:29.701Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-09T04:42:29.996Z] prd-ubuntu20.04-docker-arm64-4c-16g-22264 does not seem to be running inside a container [2024-10-09T04:42:30.062Z] $ 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-10-09T04:42:31.215Z] $ docker top 9c1c3461f00a4720958d5028e6f8cd0f7e3755968aa360ec27f629de9a078911 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-09T04:42:32.098Z] + go version [2024-10-09T04:42:32.098Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-09T04:42:32.138Z] $ docker stop --time=1 9c1c3461f00a4720958d5028e6f8cd0f7e3755968aa360ec27f629de9a078911 [2024-10-09T04:42:33.731Z] $ docker rm -f --volumes 9c1c3461f00a4720958d5028e6f8cd0f7e3755968aa360ec27f629de9a078911 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-09T04:42:34.675Z] + docker inspect -f . ci-base-image-arm64 [2024-10-09T04:42:34.675Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-09T04:42:34.937Z] prd-ubuntu20.04-docker-arm64-4c-16g-22264 does not seem to be running inside a container [2024-10-09T04:42:35.018Z] $ 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-10-09T04:42:36.107Z] $ docker top ad56be43c7b96871e5a5d8007aa595c506101470fd1f645dce58c6619b417fcd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-09T04:42:36.676Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-09T04:42:37.094Z] + make test [2024-10-09T04:42:37.363Z] go test -race -coverprofile=coverage.out ./... [2024-10-09T04:43:24.176Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-09T04:47:00.989Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-09T04:47:00.989Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-09T04:47:00.989Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-09T04:47:00.989Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-09T04:47:00.989Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-09T04:47:16.003Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.162s coverage: 26.0% of statements [2024-10-09T04:47:19.360Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.185s coverage: 79.4% of statements [2024-10-09T04:47:31.764Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-09T04:47:31.764Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-09T04:47:31.765Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.266s coverage: 86.0% of statements [2024-10-09T04:47:41.886Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-09T04:47:42.856Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.557s coverage: 45.2% of statements [2024-10-09T04:47:46.195Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.260s coverage: 14.1% of statements [2024-10-09T04:47:46.195Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.617s coverage: 44.6% of statements [2024-10-09T04:47:48.798Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-09T04:47:48.798Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-09T04:47:48.798Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-09T04:47:50.227Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.389s coverage: 68.3% of statements [2024-10-09T04:47:55.563Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.343s coverage: 88.3% of statements [2024-10-09T04:48:02.361Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-09T04:48:02.960Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.289s coverage: 5.3% of statements [2024-10-09T04:48:04.427Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-09T04:48:04.427Z] GO111MODULE=on go vet ./... [2024-10-09T04:51:56.242Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-09T04:51:56.242Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-09T04:51:56.242Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-09T04:51:56.286Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-09T04:51:56.323Z] $ docker stop --time=1 ad56be43c7b96871e5a5d8007aa595c506101470fd1f645dce58c6619b417fcd [2024-10-09T04:51:58.293Z] $ docker rm -f --volumes ad56be43c7b96871e5a5d8007aa595c506101470fd1f645dce58c6619b417fcd [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-09T04:52:00.647Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-09T04:52:00.689Z] Warning: overwriting stash ‘coverage-report’ [2024-10-09T04:52:01.361Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-09T04:52:01.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-09T04:52:02.329Z] + ls -al . [2024-10-09T04:52:02.329Z] total 708 [2024-10-09T04:52:02.329Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 9 04:42 . [2024-10-09T04:52:02.329Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 04:39 .. [2024-10-09T04:52:02.329Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 9 04:39 .dockerignore [2024-10-09T04:52:02.329Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 9 04:39 .git [2024-10-09T04:52:02.329Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 04:39 .github [2024-10-09T04:52:02.329Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 9 04:39 .gitignore [2024-10-09T04:52:02.329Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 9 04:39 .golangci.yml [2024-10-09T04:52:02.329Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 9 04:39 CHANGELOG.md [2024-10-09T04:52:02.329Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 9 04:39 GOVERNANCE.md [2024-10-09T04:52:02.329Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 9 04:39 Jenkinsfile [2024-10-09T04:52:02.329Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 9 04:39 LICENSE [2024-10-09T04:52:02.329Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 9 04:39 Makefile [2024-10-09T04:52:02.329Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 9 04:39 OWNERS.md [2024-10-09T04:52:02.329Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 9 04:39 README.md [2024-10-09T04:52:02.329Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 9 04:35 VERSION [2024-10-09T04:52:02.329Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 04:39 bin [2024-10-09T04:52:02.329Z] -rw-r--r-- 1 jenkins jenkins 466603 Oct 9 04:48 coverage.out [2024-10-09T04:52:02.329Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 9 04:39 example [2024-10-09T04:52:02.329Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 9 04:39 go.mod [2024-10-09T04:52:02.329Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 9 04:39 go.sum [2024-10-09T04:52:02.329Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 9 04:39 internal [2024-10-09T04:52:02.329Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 04:39 openapi [2024-10-09T04:52:02.329Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 9 04:39 pkg [2024-10-09T04:52:02.329Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 04:39 snap [2024-10-09T04:52:02.329Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 9 04:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-09T04:52:02.777Z] + 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=35a1e13074cc72864b4bc2af12841bf3e83b8b58 --label arch=arm64 --label version=0.0.0 . [2024-10-09T04:52:03.360Z] Sending build context to Docker daemon 13.64MB [2024-10-09T04:52:03.360Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-09T04:52:03.360Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-09T04:52:03.360Z] ---> f2e5578ed363 [2024-10-09T04:52:03.360Z] Step 3/24 : ARG MAKE=make build [2024-10-09T04:52:03.626Z] ---> Running in cbab40cbd485 [2024-10-09T04:52:03.892Z] Removing intermediate container cbab40cbd485 [2024-10-09T04:52:03.892Z] ---> 5b5ef6784ae5 [2024-10-09T04:52:03.892Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-09T04:52:03.892Z] ---> Running in 90567cada961 [2024-10-09T04:52:04.165Z] Removing intermediate container 90567cada961 [2024-10-09T04:52:04.165Z] ---> 32a331724e13 [2024-10-09T04:52:04.165Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-09T04:52:04.432Z] ---> Running in 903de4be15c2 [2024-10-09T04:52:04.698Z] Removing intermediate container 903de4be15c2 [2024-10-09T04:52:04.698Z] ---> 1c13fb01638c [2024-10-09T04:52:04.698Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-09T04:52:04.698Z] ---> Running in 4f99c6f2781c [2024-10-09T04:52:05.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-09T04:52:05.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-09T04:52:07.335Z] OK: 238 MiB in 54 packages [2024-10-09T04:52:08.296Z] Removing intermediate container 4f99c6f2781c [2024-10-09T04:52:08.296Z] ---> 0c64ecebe85e [2024-10-09T04:52:08.296Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-09T04:52:08.563Z] ---> b076900c08e8 [2024-10-09T04:52:08.563Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-09T04:52:08.563Z] ---> Running in 5d5ef0bba7d7 [2024-10-09T04:52:11.913Z] Removing intermediate container 5d5ef0bba7d7 [2024-10-09T04:52:11.913Z] ---> 6495a098d131 [2024-10-09T04:52:11.913Z] Step 9/24 : COPY . . [2024-10-09T04:52:13.846Z] ---> a85c926ff2a8 [2024-10-09T04:52:13.846Z] Step 10/24 : RUN ${MAKE} [2024-10-09T04:52:13.846Z] ---> Running in 47b96658bf09 [2024-10-09T04:52:14.423Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-10-09T04:55:36.159Z] Removing intermediate container 47b96658bf09 [2024-10-09T04:55:36.159Z] ---> 5f3680f711bb [2024-10-09T04:55:36.159Z] Step 11/24 : FROM alpine:3.20 [2024-10-09T04:55:36.159Z] 3.20: Pulling from library/alpine [2024-10-09T04:55:36.159Z] cf04c63912e1: Already exists [2024-10-09T04:55:36.159Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-09T04:55:36.159Z] Status: Downloaded newer image for alpine:3.20 [2024-10-09T04:55:36.159Z] ---> c157a85ed455 [2024-10-09T04:55:36.159Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-09T04:55:36.159Z] ---> Running in 1f737bbf6547 [2024-10-09T04:55:36.159Z] Removing intermediate container 1f737bbf6547 [2024-10-09T04:55:36.159Z] ---> 78e2bf90c9ab [2024-10-09T04:55:36.159Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-09T04:55:36.159Z] ---> Running in bc18182b779a [2024-10-09T04:55:36.159Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-09T04:55:36.159Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-09T04:55:37.559Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-09T04:55:37.559Z] Executing busybox-1.36.1-r29.trigger [2024-10-09T04:55:37.559Z] OK: 9 MiB in 15 packages [2024-10-09T04:55:38.526Z] Removing intermediate container bc18182b779a [2024-10-09T04:55:38.526Z] ---> 13ffe984f951 [2024-10-09T04:55:38.526Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-09T04:55:38.526Z] ---> Running in ad40bfb2ec31 [2024-10-09T04:55:39.480Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-09T04:55:39.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-09T04:55:41.144Z] Upgrading critical system libraries and apk-tools: [2024-10-09T04:55:41.144Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-09T04:55:41.144Z] Executing busybox-1.36.1-r29.trigger [2024-10-09T04:55:41.409Z] Continuing the upgrade transaction with new apk-tools: [2024-10-09T04:55:41.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-09T04:55:41.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-09T04:55:42.626Z] OK: 9 MiB in 15 packages [2024-10-09T04:55:43.579Z] Removing intermediate container ad40bfb2ec31 [2024-10-09T04:55:43.579Z] ---> 1a8ed20600a3 [2024-10-09T04:55:43.579Z] Step 15/24 : WORKDIR / [2024-10-09T04:55:43.579Z] ---> Running in 2229dd91892c [2024-10-09T04:55:43.844Z] Removing intermediate container 2229dd91892c [2024-10-09T04:55:43.844Z] ---> b1563cb5cb2f [2024-10-09T04:55:43.844Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-09T04:55:44.424Z] ---> 8718095a82fd [2024-10-09T04:55:44.424Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-09T04:55:46.357Z] ---> 9722e35a8e04 [2024-10-09T04:55:46.357Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-09T04:55:46.935Z] ---> d4646e73ff9c [2024-10-09T04:55:46.935Z] Step 19/24 : EXPOSE 59999 [2024-10-09T04:55:46.935Z] ---> Running in dca0b4c80d25 [2024-10-09T04:55:47.199Z] Removing intermediate container dca0b4c80d25 [2024-10-09T04:55:47.199Z] ---> e344f4581993 [2024-10-09T04:55:47.199Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-09T04:55:47.463Z] ---> Running in 8f78a0351efb [2024-10-09T04:55:47.463Z] Removing intermediate container 8f78a0351efb [2024-10-09T04:55:47.463Z] ---> 859880520b06 [2024-10-09T04:55:47.463Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-09T04:55:47.729Z] ---> Running in 039efb0f3b0a [2024-10-09T04:55:47.996Z] Removing intermediate container 039efb0f3b0a [2024-10-09T04:55:47.996Z] ---> 79321c2925e4 [2024-10-09T04:55:47.996Z] Step 22/24 : LABEL arch=arm64 [2024-10-09T04:55:47.996Z] ---> Running in 99fd4a5c6922 [2024-10-09T04:55:48.259Z] Removing intermediate container 99fd4a5c6922 [2024-10-09T04:55:48.259Z] ---> 045511c526d6 [2024-10-09T04:55:48.259Z] Step 23/24 : LABEL git_sha=35a1e13074cc72864b4bc2af12841bf3e83b8b58 [2024-10-09T04:55:48.259Z] ---> Running in 52661fbba3ed [2024-10-09T04:55:48.527Z] Removing intermediate container 52661fbba3ed [2024-10-09T04:55:48.527Z] ---> 9aea2330e5a9 [2024-10-09T04:55:48.527Z] Step 24/24 : LABEL version=0.0.0 [2024-10-09T04:55:48.527Z] ---> Running in 18f6985008f6 [2024-10-09T04:55:48.791Z] Removing intermediate container 18f6985008f6 [2024-10-09T04:55:48.791Z] ---> b41d8a569771 [2024-10-09T04:55:48.791Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-09T04:55:48.791Z] Successfully built b41d8a569771 [2024-10-09T04:55:49.055Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-09T04:55:49.938Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-09T04:55:49.938Z] [2024-10-09T04:55:49.938Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-09T04:55:50.344Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-09T04:55:50.345Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-09T04:55:50.345Z] 8998bd30e6a1: Pulling fs layer [2024-10-09T04:55:50.345Z] 04944245beec: Pulling fs layer [2024-10-09T04:55:50.345Z] 699f458cf7ca: Pulling fs layer [2024-10-09T04:55:50.345Z] 765212b225bb: Pulling fs layer [2024-10-09T04:55:50.345Z] f23df028b6ca: Pulling fs layer [2024-10-09T04:55:50.345Z] d65c8cfc05b1: Pulling fs layer [2024-10-09T04:55:50.345Z] 2437ff75d9bd: Pulling fs layer [2024-10-09T04:55:50.345Z] f23df028b6ca: Waiting [2024-10-09T04:55:50.345Z] d65c8cfc05b1: Waiting [2024-10-09T04:55:50.345Z] 2437ff75d9bd: Waiting [2024-10-09T04:55:50.619Z] 04944245beec: Verifying Checksum [2024-10-09T04:55:50.619Z] 04944245beec: Download complete [2024-10-09T04:55:50.619Z] 765212b225bb: Verifying Checksum [2024-10-09T04:55:50.619Z] 765212b225bb: Download complete [2024-10-09T04:55:50.619Z] f23df028b6ca: Verifying Checksum [2024-10-09T04:55:50.619Z] f23df028b6ca: Download complete [2024-10-09T04:55:50.619Z] d65c8cfc05b1: Verifying Checksum [2024-10-09T04:55:50.619Z] d65c8cfc05b1: Download complete [2024-10-09T04:55:50.619Z] 699f458cf7ca: Verifying Checksum [2024-10-09T04:55:50.619Z] 699f458cf7ca: Download complete [2024-10-09T04:55:51.198Z] 8998bd30e6a1: Verifying Checksum [2024-10-09T04:55:51.198Z] 8998bd30e6a1: Download complete [2024-10-09T04:55:53.134Z] 2437ff75d9bd: Verifying Checksum [2024-10-09T04:55:53.134Z] 2437ff75d9bd: Download complete [2024-10-09T04:55:55.704Z] 8998bd30e6a1: Pull complete [2024-10-09T04:55:55.969Z] 04944245beec: Pull complete [2024-10-09T04:55:57.371Z] 699f458cf7ca: Pull complete [2024-10-09T04:55:57.638Z] 765212b225bb: Pull complete [2024-10-09T04:55:58.598Z] f23df028b6ca: Pull complete [2024-10-09T04:55:58.862Z] d65c8cfc05b1: Pull complete [2024-10-09T04:56:17.046Z] 2437ff75d9bd: Pull complete [2024-10-09T04:56:17.046Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-09T04:56:17.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-09T04:56:17.046Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-09T04:56:17.405Z] prd-ubuntu20.04-docker-arm64-4c-16g-22264 does not seem to be running inside a container [2024-10-09T04:56:17.457Z] $ 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-10-09T04:56:20.127Z] $ docker top 9ca13c098fe53c45a93178d4b2023ad75bd51ece333dcf279681080a1de0df6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-09T04:56:21.055Z] ---> job-cost.sh [2024-10-09T04:56:21.056Z] lf-activate-venv: SKIPPING [2024-10-09T04:56:21.056Z] INFO: No Stack... [2024-10-09T04:56:21.321Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-09T04:56:22.273Z] INFO: Archiving Costs [Pipeline] sh [2024-10-09T04:56:22.929Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-10-09T04:56:22.929Z] + cut -d, -f6 [Pipeline] lock [2024-10-09T04:56:23.008Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1637-1-stack-cost] [2024-10-09T04:56:23.014Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1637-1-stack-cost] did not exist. Created. [2024-10-09T04:56:23.021Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1637-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-09T04:56:23.767Z] /w/workspace/device-sdk-go/1@tmp/durable-8e0acd1f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-09T04:56:24.433Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-09T04:56:24.482Z] Warning: overwriting stash ‘stack-cost’ [2024-10-09T04:56:24.558Z] Stashed 1 file(s) [Pipeline] } [2024-10-09T04:56:24.580Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1637-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-09T04:56:24.673Z] $ docker stop --time=1 9ca13c098fe53c45a93178d4b2023ad75bd51ece333dcf279681080a1de0df6f [2024-10-09T04:56:26.217Z] $ docker rm -f --volumes 9ca13c098fe53c45a93178d4b2023ad75bd51ece333dcf279681080a1de0df6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-09T04:56:27.366Z] provisioning config files... [2024-10-09T04:56:27.375Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1637@tmp/config6096568013364188035tmp [Pipeline] { [Pipeline] sh [2024-10-09T04:56:27.736Z] + set +x [2024-10-09T04:56:27.736Z] + curl -s https://codecov.io/bash+ [2024-10-09T04:56:27.736Z] bash -s -- [2024-10-09T04:56:27.736Z] [2024-10-09T04:56:27.736Z] _____ _ [2024-10-09T04:56:27.736Z] / ____| | | [2024-10-09T04:56:27.736Z] | | ___ __| | ___ ___ _____ __ [2024-10-09T04:56:27.736Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-09T04:56:27.736Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-09T04:56:27.736Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-09T04:56:27.736Z] Bash-1.0.6 [2024-10-09T04:56:27.736Z] [2024-10-09T04:56:27.736Z] [2024-10-09T04:56:27.736Z] ==> git version 2.25.1 found [2024-10-09T04:56:27.736Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-09T04:56:27.736Z] Release-Date: 2020-01-08 [2024-10-09T04:56:27.736Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-09T04:56:27.736Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-09T04:56:27.736Z] ==> Jenkins CI detected. [2024-10-09T04:56:27.736Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1637 [2024-10-09T04:56:27.736Z] project root: . [2024-10-09T04:56:27.736Z] --> token set from env [2024-10-09T04:56:27.736Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-09T04:56:28.004Z] ==> Running gcov in . (disable via -X gcov) [2024-10-09T04:56:28.004Z] ==> Python coveragepy not found [2024-10-09T04:56:28.004Z] ==> Searching for coverage reports in: [2024-10-09T04:56:28.004Z] + . [2024-10-09T04:56:28.004Z] -> Found 1 reports [2024-10-09T04:56:28.004Z] ==> Detecting git/mercurial file structure [2024-10-09T04:56:28.004Z] ==> Reading reports [2024-10-09T04:56:28.004Z] + ./coverage.out bytes=466603 [2024-10-09T04:56:28.004Z] ==> Appending adjustments [2024-10-09T04:56:28.004Z] https://docs.codecov.io/docs/fixing-reports [2024-10-09T04:56:28.265Z] + Found adjustments [2024-10-09T04:56:28.265Z] ==> Gzipping contents [2024-10-09T04:56:28.265Z] 44K /tmp/codecov.QJ9FrA.gz [2024-10-09T04:56:28.265Z] ==> Uploading reports [2024-10-09T04:56:28.265Z] url: https://codecov.io [2024-10-09T04:56:28.265Z] query: branch=PR-1637&commit=35a1e13074cc72864b4bc2af12841bf3e83b8b58&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1637%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1637&job=&cmd_args= [2024-10-09T04:56:28.265Z] -> Pinging Codecov [2024-10-09T04:56:28.265Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1637&commit=35a1e13074cc72864b4bc2af12841bf3e83b8b58&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1637%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1637&job=&cmd_args= [2024-10-09T04:56:28.526Z] -> Uploading to [2024-10-09T04:56:28.526Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/35a1e13074cc72864b4bc2af12841bf3e83b8b58/c493e975-f1b2-4234-a970-f9979235a1c4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241009%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241009T045628Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=45d875664c89406dacf868ed1eb088584576d610189e786d9c8d80319c25cb7e [2024-10-09T04:56:28.526Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-09T04:56:28.526Z] Dload Upload Total Spent Left Speed [2024-10-09T04:56:28.786Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44675 0 0 100 44675 0 149k --:--:-- --:--:-- --:--:-- 148k 100 44675 0 0 100 44675 0 148k --:--:-- --:--:-- --:--:-- 148k [2024-10-09T04:56:28.786Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/35a1e13074cc72864b4bc2af12841bf3e83b8b58 [Pipeline] } [2024-10-09T04:56:28.819Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-09T04:56:31.164Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1637/archives ] [2024-10-09T04:56:31.164Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1637/archives [2024-10-09T04:56:31.164Z] total 16 [2024-10-09T04:56:31.164Z] drwxr-xr-x 3 root root 4096 Oct 9 04:38 . [2024-10-09T04:56:31.164Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 9 04:38 .. [2024-10-09T04:56:31.164Z] drwxr-xr-x 2 root root 4096 Oct 9 04:38 cost [2024-10-09T04:56:31.164Z] -rw-r--r-- 1 root root 86 Oct 9 04:38 cost.csv [2024-10-09T04:56:31.164Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1637/archives [2024-10-09T04:56:31.164Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1637/archives [2024-10-09T04:56:31.164Z] total 16 [2024-10-09T04:56:31.164Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 9 04:38 . [2024-10-09T04:56:31.164Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 9 04:38 .. [2024-10-09T04:56:31.164Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 9 04:38 cost [2024-10-09T04:56:31.164Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 9 04:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-09T04:56:31.499Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-09T04:56:32.411Z] ---> package-listing.sh [2024-10-09T04:56:32.411Z] ++ facter osfamily [2024-10-09T04:56:32.411Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-09T04:56:32.671Z] + OS_FAMILY=debian [2024-10-09T04:56:32.671Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1637 [2024-10-09T04:56:32.671Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-09T04:56:32.671Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-09T04:56:32.671Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-09T04:56:32.671Z] + PACKAGES=/tmp/packages_start.txt [2024-10-09T04:56:32.671Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1637 ']' [2024-10-09T04:56:32.671Z] + PACKAGES=/tmp/packages_end.txt [2024-10-09T04:56:32.671Z] + case "${OS_FAMILY}" in [2024-10-09T04:56:32.671Z] + dpkg -l [2024-10-09T04:56:32.671Z] + grep '^ii' [2024-10-09T04:56:32.671Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-09T04:56:32.671Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-09T04:56:32.671Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-09T04:56:32.671Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1637 ']' [2024-10-09T04:56:32.671Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1637/archives/ [2024-10-09T04:56:32.671Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1637/archives/ [Pipeline] echo [2024-10-09T04:56:32.713Z] 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-1637/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-09T04:56:33.016Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-09T04:56:33.653Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-09T04:56:33.654Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-09T04:56:33.906Z] prd-ubuntu20.04-docker-8c-8g-22263 does not seem to be running inside a container [2024-10-09T04:56:33.974Z] $ 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-1637/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-1637 -v /w/workspace/gexfoundry_device-sdk-go_PR-1637:/w/workspace/gexfoundry_device-sdk-go_PR-1637:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1637@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1637@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-10-09T04:56:34.170Z] $ docker top 2258a945c410b43264b5a74b6cc2a52514aacc0570f264af181cba0a7bef8472 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-09T04:56:34.621Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-09T04:56:34.944Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-09T04:56:35.266Z] + ls /var/log/sa-host [2024-10-09T04:56:35.266Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-09T04:56:35.438Z] provisioning config files... [2024-10-09T04:56:35.447Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1637@tmp/config11685263412014623968tmp [Pipeline] { [Pipeline] echo [2024-10-09T04:56:35.525Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-09T04:56:35.847Z] ---> create-netrc.sh [Pipeline] } [2024-10-09T04:56:35.880Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-09T04:56:36.296Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-09T04:56:36.339Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-09T04:56:36.666Z] ---> sudo-logs.sh [2024-10-09T04:56:36.666Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-09T04:56:36.776Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-09T04:56:37.099Z] ---> job-cost.sh [2024-10-09T04:56:37.099Z] lf-activate-venv: SKIPPING [2024-10-09T04:56:37.099Z] DEBUG: total: 0.2199999988079071 [2024-10-09T04:56:37.099Z] INFO: Retrieving Stack Cost... [2024-10-09T04:56:37.357Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-09T04:56:37.923Z] INFO: Archiving Costs [Pipeline] echo [2024-10-09T04:56:37.966Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-09T04:56:38.313Z] ---> logs-deploy.sh [2024-10-09T04:56:38.314Z] lf-activate-venv: SKIPPING [2024-10-09T04:56:38.314Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1637/1 [2024-10-09T04:56:38.314Z] INFO: archiving workspace using pattern(s): [2024-10-09T04:56:39.254Z] Archives upload complete. [2024-10-09T04:56:39.254Z] INFO: archiving logs to Nexus