Pull request #1633 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 888d0147f37d1b0cb5e12db1661dbf13e1e18e03+1b8f5c3fc1bdd6f1c6be262479a15f7fdf116ab9 (8f78896d6264ac4c26d3aa5d544d8dbfdf6e099d) 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-ssh5927832088286659261.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-ssh14690525601969016273.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-1633/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-1633/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3236151452308105208.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-1633/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16115502852212560600.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-ssh3514602379111951960.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-1633/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-1633/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16273864604768594477.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16952 in /w/workspace/gexfoundry_device-sdk-go_PR-1633 [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-1633 # 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/1633/head:refs/remotes/origin/PR-1633 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1b8f5c3fc1bdd6f1c6be262479a15f7fdf116ab9 into PR head commit 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 Merge succeeded, producing 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 Checking out Revision 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 (PR-1633) > git config core.sparsecheckout # timeout=10 > git checkout -f 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 # 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 1b8f5c3fc1bdd6f1c6be262479a15f7fdf116ab9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 # timeout=10 Commit message: "feat: Allow reading value to be null" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-04T08:15:41.267Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-04T08:15:41.508Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-04T08:15:41.648Z] ========================================================= [2024-10-04T08:15:41.648Z] EdgeX Global Pipelines Version Info [2024-10-04T08:15:41.648Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-04T08:15:42.460Z] ------------------- [2024-10-04T08:15:42.460Z] stable info: [2024-10-04T08:15:42.460Z] ------------------- [2024-10-04T08:15:42.460Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-04T08:15:42.460Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-04T08:15:42.460Z] Message: update stable to v1.0.265 [2024-10-04T08:15:43.031Z] ------------------- [2024-10-04T08:15:43.031Z] experimental info: [2024-10-04T08:15:43.031Z] ------------------- [2024-10-04T08:15:43.031Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-04T08:15:43.031Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-04T08:15:43.031Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-04T08:15:43.287Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-10-04T08:15:43.348Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-10-04T08:15:43.408Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-04T08:15:43.478Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-04T08:15:43.540Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-04T08:15:43.599Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-04T08:15:43.662Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-04T08:15:43.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-10-04T08:15:43.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-04T08:15:43.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-04T08:15:43.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-04T08:15:43.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-10-04T08:15:44.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-04T08:15:44.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-04T08:15:44.182Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T08:15:44.252Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T08:15:44.316Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T08:15:44.378Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T08:15:44.447Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-04T08:15:44.514Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-04T08:15:44.581Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-04T08:15:44.647Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-10-04T08:15:44.708Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-04T08:15:44.777Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-04T08:15:44.841Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-04T08:15:44.910Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-04T08:15:44.978Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-04T08:15:45.042Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1633 [Pipeline] echo [2024-10-04T08:15:45.126Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1633 [Pipeline] echo [2024-10-04T08:15:45.188Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1633 [Pipeline] echo [2024-10-04T08:15:45.253Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 [Pipeline] echo [2024-10-04T08:15:45.318Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 888d014 [Pipeline] echo [2024-10-04T08:15:45.383Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T08:15:45.564Z] provisioning config files... [2024-10-04T08:15:45.578Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp/config18411222856112031974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T08:15:45.992Z] ---> ****-login.sh [2024-10-04T08:15:45.992Z] nexus3.edgexfoundry.org:10001 [2024-10-04T08:15:46.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:15:46.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:15:46.252Z] Configure a credential helper to remove this warning. See [2024-10-04T08:15:46.252Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:15:46.252Z] [2024-10-04T08:15:46.252Z] Login Succeeded [2024-10-04T08:15:46.513Z] nexus3.edgexfoundry.org:10002 [2024-10-04T08:15:46.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:15:46.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:15:46.513Z] Configure a credential helper to remove this warning. See [2024-10-04T08:15:46.513Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:15:46.513Z] [2024-10-04T08:15:46.513Z] Login Succeeded [2024-10-04T08:15:46.513Z] nexus3.edgexfoundry.org:10003 [2024-10-04T08:15:46.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:15:46.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:15:46.513Z] Configure a credential helper to remove this warning. See [2024-10-04T08:15:46.513Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:15:46.513Z] [2024-10-04T08:15:46.513Z] Login Succeeded [2024-10-04T08:15:46.513Z] nexus3.edgexfoundry.org:10004 [2024-10-04T08:15:46.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:15:46.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:15:46.774Z] Configure a credential helper to remove this warning. See [2024-10-04T08:15:46.774Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:15:46.774Z] [2024-10-04T08:15:46.774Z] Login Succeeded [2024-10-04T08:15:46.774Z] ****.io [2024-10-04T08:15:46.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:15:47.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:15:47.035Z] Configure a credential helper to remove this warning. See [2024-10-04T08:15:47.035Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:15:47.035Z] [2024-10-04T08:15:47.035Z] Login Succeeded [2024-10-04T08:15:47.035Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T08:15:47.067Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-04T08:15:47.782Z] + git rev-list -1 --merges 888d0147f37d1b0cb5e12db1661dbf13e1e18e03~1..888d0147f37d1b0cb5e12db1661dbf13e1e18e03 [Pipeline] echo [2024-10-04T08:15:47.837Z] -----------> git rev-list -1 --merges 888d0147f37d1b0cb5e12db1661dbf13e1e18e03~1..888d0147f37d1b0cb5e12db1661dbf13e1e18e03 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 [false] [Pipeline] sh [2024-10-04T08:15:48.167Z] + git log --format=format:%s -1 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 [Pipeline] echo [2024-10-04T08:15:48.210Z] ========================================================= [2024-10-04T08:15:48.210Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-04T08:15:48.210Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T08:15:48.695Z] + git log --format=format:%s -1 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 [Pipeline] echo [2024-10-04T08:15:48.736Z] [semverPrep] GIT_COMMIT: 888d0147f37d1b0cb5e12db1661dbf13e1e18e03, Commit Message: feat: Allow reading value to be null [Pipeline] echo [2024-10-04T08:15:48.779Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-04T08:15:49.194Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-04T08:15:49.194Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-04T08:15:49.194Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-04T08:15:49.194Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-04T08:15:49.194Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-04T08:15:49.194Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-04T08:15:49.194Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T08:15:49.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T08:15:49.664Z] [2024-10-04T08:15:49.664Z] 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-04T08:15:50.068Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T08:15:50.068Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-04T08:15:50.068Z] b85a868b505f: Pulling fs layer [2024-10-04T08:15:50.068Z] e2be974225ed: Pulling fs layer [2024-10-04T08:15:50.068Z] 339a4e72a1f5: Pulling fs layer [2024-10-04T08:15:50.068Z] 988bab9f4d93: Pulling fs layer [2024-10-04T08:15:50.068Z] 1469e6f7b9e6: Pulling fs layer [2024-10-04T08:15:50.068Z] eaf3925da568: Pulling fs layer [2024-10-04T08:15:50.068Z] bab4dde63d76: Pulling fs layer [2024-10-04T08:15:50.068Z] 1469e6f7b9e6: Waiting [2024-10-04T08:15:50.068Z] 988bab9f4d93: Waiting [2024-10-04T08:15:50.068Z] bab4dde63d76: Waiting [2024-10-04T08:15:50.068Z] eaf3925da568: Waiting [2024-10-04T08:15:50.068Z] bde34c3a00c8: Pulling fs layer [2024-10-04T08:15:50.068Z] b352a97aabf1: Pulling fs layer [2024-10-04T08:15:50.068Z] 4872d77fe225: Pulling fs layer [2024-10-04T08:15:50.068Z] 5851b861e8e6: Pulling fs layer [2024-10-04T08:15:50.068Z] bde34c3a00c8: Waiting [2024-10-04T08:15:50.068Z] b352a97aabf1: Waiting [2024-10-04T08:15:50.068Z] 4872d77fe225: Waiting [2024-10-04T08:15:50.068Z] e2be974225ed: Download complete [2024-10-04T08:15:50.068Z] 988bab9f4d93: Download complete [2024-10-04T08:15:50.328Z] 1469e6f7b9e6: Verifying Checksum [2024-10-04T08:15:50.328Z] 1469e6f7b9e6: Download complete [2024-10-04T08:15:50.328Z] 339a4e72a1f5: Verifying Checksum [2024-10-04T08:15:50.328Z] 339a4e72a1f5: Download complete [2024-10-04T08:15:50.328Z] eaf3925da568: Download complete [2024-10-04T08:15:50.328Z] bde34c3a00c8: Verifying Checksum [2024-10-04T08:15:50.328Z] bde34c3a00c8: Download complete [2024-10-04T08:15:50.328Z] b352a97aabf1: Download complete [2024-10-04T08:15:50.328Z] 4872d77fe225: Verifying Checksum [2024-10-04T08:15:50.328Z] 4872d77fe225: Download complete [2024-10-04T08:15:50.328Z] 5851b861e8e6: Verifying Checksum [2024-10-04T08:15:50.328Z] 5851b861e8e6: Download complete [2024-10-04T08:15:50.328Z] b85a868b505f: Download complete [2024-10-04T08:15:50.895Z] bab4dde63d76: Verifying Checksum [2024-10-04T08:15:50.895Z] bab4dde63d76: Download complete [2024-10-04T08:15:51.832Z] b85a868b505f: Pull complete [2024-10-04T08:15:51.832Z] e2be974225ed: Pull complete [2024-10-04T08:15:52.092Z] 339a4e72a1f5: Pull complete [2024-10-04T08:15:52.351Z] 988bab9f4d93: Pull complete [2024-10-04T08:15:52.610Z] 1469e6f7b9e6: Pull complete [2024-10-04T08:15:52.610Z] eaf3925da568: Pull complete [2024-10-04T08:15:54.509Z] bab4dde63d76: Pull complete [2024-10-04T08:15:54.509Z] bde34c3a00c8: Pull complete [2024-10-04T08:15:54.509Z] b352a97aabf1: Pull complete [2024-10-04T08:15:54.768Z] 4872d77fe225: Pull complete [2024-10-04T08:15:54.768Z] 5851b861e8e6: Pull complete [2024-10-04T08:15:54.768Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-04T08:15:54.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T08:15:54.768Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T08:15:55.142Z] prd-ubuntu20.04-docker-8c-8g-16952 does not seem to be running inside a container [2024-10-04T08:15:55.172Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1633 -v /w/workspace/gexfoundry_device-sdk-go_PR-1633:/w/workspace/gexfoundry_device-sdk-go_PR-1633:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-04T08:15:58.756Z] $ docker top 53d15f9c5574d332631d0525ae57ca35978c962537d3c2b996c6bd42868c7732 -eo pid,comm [2024-10-04T08:15:58.820Z] 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-04T08:15:58.820Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-04T08:15:58.989Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T08:15:58.989Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T08:15:59.107Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T08:15:59.107Z] $ docker exec 53d15f9c5574d332631d0525ae57ca35978c962537d3c2b996c6bd42868c7732 ssh-agent [2024-10-04T08:15:59.226Z] SSH_AUTH_SOCK=/tmp/ssh-p8V2W0RW9OjY/agent.32 [2024-10-04T08:15:59.226Z] SSH_AGENT_PID=38 [2024-10-04T08:15:59.232Z] Running ssh-add (command line suppressed) [2024-10-04T08:15:59.333Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp/private_key_10905487573913890769.key (/w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp/private_key_10905487573913890769.key) [2024-10-04T08:15:59.348Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T08:15:59.698Z] + git tag --points-at HEAD [Pipeline] } [2024-10-04T08:15:59.722Z] $ docker exec --env ******** --env ******** 53d15f9c5574d332631d0525ae57ca35978c962537d3c2b996c6bd42868c7732 ssh-agent -k [2024-10-04T08:15:59.814Z] unset SSH_AUTH_SOCK; [2024-10-04T08:15:59.814Z] unset SSH_AGENT_PID; [2024-10-04T08:15:59.814Z] echo Agent pid 38 killed; [2024-10-04T08:15:59.827Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-04T08:15:59.947Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T08:15:59.947Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T08:16:00.068Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T08:16:00.069Z] $ docker exec 53d15f9c5574d332631d0525ae57ca35978c962537d3c2b996c6bd42868c7732 ssh-agent [2024-10-04T08:16:00.167Z] SSH_AUTH_SOCK=/tmp/ssh-qiiAmwTAotzO/agent.71 [2024-10-04T08:16:00.167Z] SSH_AGENT_PID=77 [2024-10-04T08:16:00.172Z] Running ssh-add (command line suppressed) [2024-10-04T08:16:00.270Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp/private_key_7094586498252052426.key (/w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp/private_key_7094586498252052426.key) [2024-10-04T08:16:00.284Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T08:16:00.625Z] + git semver init [2024-10-04T08:16:00.883Z] 2024-10-04 08:16:00,770 [run_init] DEBUG init version:0.0.0 force:False [2024-10-04T08:16:00.883Z] 2024-10-04 08:16:00,771 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1633/.semver [2024-10-04T08:16:00.883Z] 2024-10-04 08:16:00,771 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1633/.semver [2024-10-04T08:16:00.883Z] 2024-10-04 08:16:00,771 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1633/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1633, universal_newlines=False, shell=None, istream=None) [2024-10-04T08:16:03.424Z] 2024-10-04 08:16:02,819 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1633/.git/info/exclude [2024-10-04T08:16:03.424Z] 2024-10-04 08:16:02,819 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1633/.semver/PR-1633 with force:False [2024-10-04T08:16:03.424Z] 2024-10-04 08:16:02,819 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1633/.semver/PR-1633 [2024-10-04T08:16:03.424Z] 2024-10-04 08:16:02,823 [execute] INFO git cat-file --batch-check [2024-10-04T08:16:03.424Z] 2024-10-04 08:16:02,823 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1633/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T08:16:03.424Z] 2024-10-04 08:16:02,830 [execute] INFO git cat-file --batch [2024-10-04T08:16:03.424Z] 2024-10-04 08:16:02,830 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1633/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T08:16:03.424Z] 2024-10-04 08:16:02,836 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1633/.semver/PR-1633 [2024-10-04T08:16:03.424Z] 0.0.0 [Pipeline] } [2024-10-04T08:16:03.452Z] $ docker exec --env ******** --env ******** 53d15f9c5574d332631d0525ae57ca35978c962537d3c2b996c6bd42868c7732 ssh-agent -k [2024-10-04T08:16:03.536Z] unset SSH_AUTH_SOCK; [2024-10-04T08:16:03.537Z] unset SSH_AGENT_PID; [2024-10-04T08:16:03.537Z] echo Agent pid 77 killed; [2024-10-04T08:16:03.548Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-04T08:16:04.010Z] + git semver [Pipeline] } [2024-10-04T08:16:04.302Z] $ docker stop --time=1 53d15f9c5574d332631d0525ae57ca35978c962537d3c2b996c6bd42868c7732 [2024-10-04T08:16:05.580Z] $ docker rm -f --volumes 53d15f9c5574d332631d0525ae57ca35978c962537d3c2b996c6bd42868c7732 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T08:16:05.992Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-04T08:16:06.326Z] Stashed 1 file(s) [Pipeline] echo [2024-10-04T08:16:06.353Z] [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-04T08:16:07.144Z] provisioning config files... [2024-10-04T08:16:07.153Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp/config5015717437464209818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T08:16:07.577Z] ---> ****-login.sh [2024-10-04T08:16:07.577Z] nexus3.edgexfoundry.org:10001 [2024-10-04T08:16:07.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:16:07.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:16:07.577Z] Configure a credential helper to remove this warning. See [2024-10-04T08:16:07.577Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:16:07.577Z] [2024-10-04T08:16:07.577Z] Login Succeeded [2024-10-04T08:16:07.577Z] nexus3.edgexfoundry.org:10002 [2024-10-04T08:16:07.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:16:07.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:16:07.577Z] Configure a credential helper to remove this warning. See [2024-10-04T08:16:07.577Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:16:07.577Z] [2024-10-04T08:16:07.577Z] Login Succeeded [2024-10-04T08:16:07.577Z] nexus3.edgexfoundry.org:10003 [2024-10-04T08:16:07.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:16:07.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:16:07.835Z] Configure a credential helper to remove this warning. See [2024-10-04T08:16:07.835Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:16:07.835Z] [2024-10-04T08:16:07.835Z] Login Succeeded [2024-10-04T08:16:07.835Z] nexus3.edgexfoundry.org:10004 [2024-10-04T08:16:07.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:16:07.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:16:07.836Z] Configure a credential helper to remove this warning. See [2024-10-04T08:16:07.836Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:16:07.836Z] [2024-10-04T08:16:07.836Z] Login Succeeded [2024-10-04T08:16:07.836Z] ****.io [2024-10-04T08:16:07.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T08:16:08.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T08:16:08.093Z] Configure a credential helper to remove this warning. See [2024-10-04T08:16:08.093Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T08:16:08.093Z] [2024-10-04T08:16:08.093Z] Login Succeeded [2024-10-04T08:16:08.093Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T08:16:08.133Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T08:16:08.377Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T08:16:08.436Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T08:16:08.491Z] ========================================================= [2024-10-04T08:16:08.491Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-04T08:16:08.491Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T08:16:09.030Z] + 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-04T08:16:09.030Z] Sending build context to Docker daemon 25.43MB [2024-10-04T08:16:09.030Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T08:16:09.030Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-04T08:16:09.030Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-04T08:16:09.289Z] 43c4264eed91: Pulling fs layer [2024-10-04T08:16:09.289Z] 4cc291be95ef: Pulling fs layer [2024-10-04T08:16:09.289Z] 2ac1f1163629: Pulling fs layer [2024-10-04T08:16:09.289Z] 5c3c966382ef: Pulling fs layer [2024-10-04T08:16:09.289Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T08:16:09.289Z] 5d5c8e513c77: Pulling fs layer [2024-10-04T08:16:09.289Z] 9f66e0745190: Pulling fs layer [2024-10-04T08:16:09.289Z] f49a43e4bbc0: Pulling fs layer [2024-10-04T08:16:09.289Z] 561ebcabdf7f: Pulling fs layer [2024-10-04T08:16:09.289Z] 4f4fb700ef54: Waiting [2024-10-04T08:16:09.289Z] 5d5c8e513c77: Waiting [2024-10-04T08:16:09.289Z] 9f66e0745190: Waiting [2024-10-04T08:16:09.289Z] f49a43e4bbc0: Waiting [2024-10-04T08:16:09.289Z] 561ebcabdf7f: Waiting [2024-10-04T08:16:09.289Z] 5c3c966382ef: Waiting [2024-10-04T08:16:09.289Z] 4cc291be95ef: Verifying Checksum [2024-10-04T08:16:09.289Z] 4cc291be95ef: Download complete [2024-10-04T08:16:09.289Z] 5c3c966382ef: Verifying Checksum [2024-10-04T08:16:09.289Z] 5c3c966382ef: Download complete [2024-10-04T08:16:09.289Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T08:16:09.289Z] 4f4fb700ef54: Download complete [2024-10-04T08:16:09.289Z] 5d5c8e513c77: Download complete [2024-10-04T08:16:09.289Z] 43c4264eed91: Download complete [2024-10-04T08:16:09.289Z] 9f66e0745190: Verifying Checksum [2024-10-04T08:16:09.289Z] 9f66e0745190: Download complete [2024-10-04T08:16:09.550Z] 43c4264eed91: Pull complete [2024-10-04T08:16:09.550Z] 561ebcabdf7f: Download complete [2024-10-04T08:16:09.550Z] 4cc291be95ef: Pull complete [2024-10-04T08:16:09.809Z] 2ac1f1163629: Download complete [2024-10-04T08:16:10.071Z] f49a43e4bbc0: Verifying Checksum [2024-10-04T08:16:10.071Z] f49a43e4bbc0: Download complete [2024-10-04T08:16:13.355Z] 2ac1f1163629: Pull complete [2024-10-04T08:16:13.614Z] 5c3c966382ef: Pull complete [2024-10-04T08:16:13.614Z] 4f4fb700ef54: Pull complete [2024-10-04T08:16:13.614Z] 5d5c8e513c77: Pull complete [2024-10-04T08:16:13.614Z] 9f66e0745190: Pull complete [2024-10-04T08:16:16.144Z] f49a43e4bbc0: Pull complete [2024-10-04T08:16:16.144Z] 561ebcabdf7f: Pull complete [2024-10-04T08:16:16.404Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-04T08:16:16.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-04T08:16:16.404Z] ---> 3a752c3f9dda [2024-10-04T08:16:16.404Z] Step 3/10 : ARG MAKE=make build [2024-10-04T08:16:21.675Z] ---> Running in b9adf830147d [2024-10-04T08:16:21.675Z] Removing intermediate container b9adf830147d [2024-10-04T08:16:21.675Z] ---> 74e674b111de [2024-10-04T08:16:21.675Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-04T08:16:21.675Z] ---> Running in 4fc1238727c4 [2024-10-04T08:16:21.675Z] Removing intermediate container 4fc1238727c4 [2024-10-04T08:16:21.675Z] ---> 6b8a39380c4f [2024-10-04T08:16:21.675Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-04T08:16:21.675Z] ---> Running in 6f462d598b31 [2024-10-04T08:16:21.675Z] Removing intermediate container 6f462d598b31 [2024-10-04T08:16:21.675Z] ---> 6f7677f1d35d [2024-10-04T08:16:21.675Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-04T08:16:21.675Z] ---> Running in 71d51081ab63 [2024-10-04T08:16:21.901Z] Still waiting to schedule task [2024-10-04T08:16:21.901Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16704’ [2024-10-04T08:16:21.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T08:16:22.193Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T08:16:22.452Z] OK: 246 MiB in 54 packages [2024-10-04T08:16:22.710Z] Removing intermediate container 71d51081ab63 [2024-10-04T08:16:22.710Z] ---> 76c61667adae [2024-10-04T08:16:22.710Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-04T08:16:22.969Z] ---> d962ab4234c2 [2024-10-04T08:16:22.969Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T08:16:22.969Z] ---> Running in 2bf02a266eec [2024-10-04T08:17:09.661Z] Removing intermediate container 2bf02a266eec [2024-10-04T08:17:09.661Z] ---> 036ea29fd90d [2024-10-04T08:17:09.661Z] Step 9/10 : COPY . . [2024-10-04T08:17:09.661Z] ---> b8311cc286ad [2024-10-04T08:17:09.661Z] Step 10/10 : RUN ${MAKE} [2024-10-04T08:17:09.661Z] ---> Running in 58c3f4f5383f [2024-10-04T08:17:09.661Z] noop [2024-10-04T08:17:09.661Z] Removing intermediate container 58c3f4f5383f [2024-10-04T08:17:09.661Z] ---> 980ae6541fcf [2024-10-04T08:17:09.661Z] Successfully built 980ae6541fcf [2024-10-04T08:17:09.661Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T08:17:10.203Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T08:17:10.204Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T08:17:10.388Z] prd-ubuntu20.04-docker-8c-8g-16952 does not seem to be running inside a container [2024-10-04T08:17:10.425Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1633 -v /w/workspace/gexfoundry_device-sdk-go_PR-1633:/w/workspace/gexfoundry_device-sdk-go_PR-1633:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-04T08:17:10.762Z] $ docker top 37d15d066dcb7aa4d97c2dc7d5c6ed961cc92d3fb9a696b8a9c0325b6bde407c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T08:17:11.196Z] + go version [2024-10-04T08:17:11.196Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-04T08:17:11.242Z] $ docker stop --time=1 37d15d066dcb7aa4d97c2dc7d5c6ed961cc92d3fb9a696b8a9c0325b6bde407c [2024-10-04T08:17:12.537Z] $ docker rm -f --volumes 37d15d066dcb7aa4d97c2dc7d5c6ed961cc92d3fb9a696b8a9c0325b6bde407c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T08:17:13.343Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T08:17:13.343Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T08:17:13.596Z] prd-ubuntu20.04-docker-8c-8g-16952 does not seem to be running inside a container [2024-10-04T08:17:13.633Z] $ 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-1633 -v /w/workspace/gexfoundry_device-sdk-go_PR-1633:/w/workspace/gexfoundry_device-sdk-go_PR-1633:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-04T08:17:13.987Z] $ docker top e1e77f521d2f7ab2699ab00f89a4e7c6488155e947463d2c02b423cea5ed1568 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T08:17:14.416Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1633 [Pipeline] fileExists [Pipeline] sh [2024-10-04T08:17:14.802Z] + make test [2024-10-04T08:17:14.802Z] go test -race -coverprofile=coverage.out ./... [2024-10-04T08:17:22.963Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-04T08:18:01.754Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-04T08:18:01.754Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-04T08:18:01.754Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-04T08:18:01.754Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-04T08:18:01.754Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-04T08:18:01.754Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.035s coverage: 26.0% of statements [2024-10-04T08:18:01.754Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.030s coverage: 79.4% of statements [2024-10-04T08:18:01.754Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-04T08:18:01.754Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-04T08:18:01.754Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-04T08:18:01.754Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.049s coverage: 86.0% of statements [2024-10-04T08:18:01.754Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-04T08:18:01.754Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-04T08:18:01.754Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-04T08:18:01.754Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.079s coverage: 45.2% of statements [2024-10-04T08:18:02.013Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-04T08:18:03.919Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.040s coverage: 14.1% of statements [2024-10-04T08:18:03.919Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.133s coverage: 44.6% of statements [2024-10-04T08:18:03.919Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.055s coverage: 68.3% of statements [2024-10-04T08:18:03.919Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.136s coverage: 88.3% of statements [2024-10-04T08:18:03.919Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.051s coverage: 5.3% of statements [2024-10-04T08:18:36.022Z] GO111MODULE=on go vet ./... [2024-10-04T08:18:39.325Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T08:18:39.325Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T08:18:39.325Z] ./bin/test-attribution-txt.sh [2024-10-04T08:18:39.584Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-10-04T08:18:39.584Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-10-04T08:18:39.633Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T08:18:39.688Z] $ docker stop --time=1 e1e77f521d2f7ab2699ab00f89a4e7c6488155e947463d2c02b423cea5ed1568 [2024-10-04T08:18:50.061Z] $ docker rm -f --volumes e1e77f521d2f7ab2699ab00f89a4e7c6488155e947463d2c02b423cea5ed1568 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T08:18:50.827Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T08:18:50.944Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-04T08:18:51.946Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T08:18:52.285Z] + ls -al . [2024-10-04T08:18:52.285Z] total 712 [2024-10-04T08:18:52.285Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 08:17 . [2024-10-04T08:18:52.285Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 08:15 .. [2024-10-04T08:18:52.285Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 08:15 .dockerignore [2024-10-04T08:18:52.285Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 08:18 .git [2024-10-04T08:18:52.285Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 08:15 .github [2024-10-04T08:18:52.285Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 4 08:15 .gitignore [2024-10-04T08:18:52.285Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 08:15 .golangci.yml [2024-10-04T08:18:52.285Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 08:16 .semver [2024-10-04T08:18:52.285Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 4 08:15 CHANGELOG.md [2024-10-04T08:18:52.285Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 08:15 GOVERNANCE.md [2024-10-04T08:18:52.285Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 4 08:15 Jenkinsfile [2024-10-04T08:18:52.285Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 08:15 LICENSE [2024-10-04T08:18:52.285Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 4 08:15 Makefile [2024-10-04T08:18:52.285Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 08:15 OWNERS.md [2024-10-04T08:18:52.285Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 4 08:15 README.md [2024-10-04T08:18:52.285Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 08:16 VERSION [2024-10-04T08:18:52.285Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 08:15 bin [2024-10-04T08:18:52.285Z] -rw-r--r-- 1 jenkins jenkins 466603 Oct 4 08:18 coverage.out [2024-10-04T08:18:52.285Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 08:15 example [2024-10-04T08:18:52.285Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 4 08:15 go.mod [2024-10-04T08:18:52.285Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 4 08:15 go.sum [2024-10-04T08:18:52.285Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 4 08:15 internal [2024-10-04T08:18:52.285Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 08:15 openapi [2024-10-04T08:18:52.285Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 08:15 pkg [2024-10-04T08:18:52.285Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 08:15 snap [2024-10-04T08:18:52.285Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 08:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T08:18:52.717Z] + 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=888d0147f37d1b0cb5e12db1661dbf13e1e18e03 --label arch=amd64 --label version=0.0.0 . [2024-10-04T08:18:52.717Z] Sending build context to Docker daemon 25.89MB [2024-10-04T08:18:52.717Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T08:18:52.717Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-04T08:18:52.717Z] ---> 980ae6541fcf [2024-10-04T08:18:52.717Z] Step 3/24 : ARG MAKE=make build [2024-10-04T08:18:53.672Z] ---> Running in c0dfea757d1b [2024-10-04T08:18:53.672Z] Removing intermediate container c0dfea757d1b [2024-10-04T08:18:53.672Z] ---> f37c423b1123 [2024-10-04T08:18:53.672Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-04T08:18:53.672Z] ---> Running in 3bff8052b133 [2024-10-04T08:18:53.672Z] Removing intermediate container 3bff8052b133 [2024-10-04T08:18:53.672Z] ---> 907be96eadf9 [2024-10-04T08:18:53.672Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-04T08:18:53.930Z] ---> Running in 7e9bd1b10c1f [2024-10-04T08:18:53.930Z] Removing intermediate container 7e9bd1b10c1f [2024-10-04T08:18:53.930Z] ---> f0efdbb635af [2024-10-04T08:18:53.930Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-04T08:18:53.930Z] ---> Running in f76f06d7f849 [2024-10-04T08:18:54.190Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T08:18:54.449Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T08:18:54.709Z] OK: 246 MiB in 54 packages [2024-10-04T08:18:54.969Z] Removing intermediate container f76f06d7f849 [2024-10-04T08:18:54.969Z] ---> 527859896f43 [2024-10-04T08:18:54.969Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-04T08:18:55.227Z] ---> 64b127121a21 [2024-10-04T08:18:55.227Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T08:18:55.227Z] ---> Running in cb0003a1f152 [2024-10-04T08:18:56.165Z] Removing intermediate container cb0003a1f152 [2024-10-04T08:18:56.165Z] ---> 580eccafd5bd [2024-10-04T08:18:56.165Z] Step 9/24 : COPY . . [2024-10-04T08:18:57.541Z] ---> 292e396fe2e2 [2024-10-04T08:18:57.541Z] Step 10/24 : RUN ${MAKE} [2024-10-04T08:18:57.541Z] ---> Running in e28fa84b0ee6 [2024-10-04T08:18:57.541Z] 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-04T08:19:44.217Z] Removing intermediate container e28fa84b0ee6 [2024-10-04T08:19:44.217Z] ---> d5dc79016e39 [2024-10-04T08:19:44.217Z] Step 11/24 : FROM alpine:3.20 [2024-10-04T08:19:44.217Z] 3.20: Pulling from library/alpine [2024-10-04T08:19:44.217Z] 43c4264eed91: Already exists [2024-10-04T08:19:44.217Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T08:19:44.217Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T08:19:44.217Z] ---> 91ef0af61f39 [2024-10-04T08:19:44.217Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-04T08:19:44.217Z] ---> Running in 3c3f693c1757 [2024-10-04T08:19:44.217Z] Removing intermediate container 3c3f693c1757 [2024-10-04T08:19:44.217Z] ---> d058ae7a5309 [2024-10-04T08:19:44.217Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-04T08:19:44.217Z] ---> Running in c83f6d95e9b6 [2024-10-04T08:19:44.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T08:19:44.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T08:19:44.217Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T08:19:44.217Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T08:19:44.217Z] OK: 8 MiB in 15 packages [2024-10-04T08:19:44.217Z] Removing intermediate container c83f6d95e9b6 [2024-10-04T08:19:44.217Z] ---> 3e8c37a9c3c4 [2024-10-04T08:19:44.217Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-04T08:19:44.217Z] ---> Running in 8746e934963f [2024-10-04T08:19:44.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T08:19:44.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T08:19:44.217Z] Upgrading critical system libraries and apk-tools: [2024-10-04T08:19:44.217Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T08:19:44.217Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T08:19:44.217Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T08:19:44.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T08:19:44.217Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T08:19:44.217Z] OK: 8 MiB in 15 packages [2024-10-04T08:19:44.217Z] Removing intermediate container 8746e934963f [2024-10-04T08:19:44.217Z] ---> 340fb7d5815d [2024-10-04T08:19:44.217Z] Step 15/24 : WORKDIR / [2024-10-04T08:19:44.217Z] ---> Running in 99c6fe3144db [2024-10-04T08:19:44.217Z] Removing intermediate container 99c6fe3144db [2024-10-04T08:19:44.217Z] ---> 6c1c5f59ca0c [2024-10-04T08:19:44.217Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-04T08:19:44.217Z] ---> ea81ebb08133 [2024-10-04T08:19:44.217Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-04T08:19:44.217Z] ---> 388f4b7df34b [2024-10-04T08:19:44.217Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-04T08:19:44.217Z] ---> ebe6288745ed [2024-10-04T08:19:44.217Z] Step 19/24 : EXPOSE 59999 [2024-10-04T08:19:44.217Z] ---> Running in 5319e3c9856f [2024-10-04T08:19:44.217Z] Removing intermediate container 5319e3c9856f [2024-10-04T08:19:44.217Z] ---> 43c0de668a26 [2024-10-04T08:19:44.217Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-04T08:19:44.217Z] ---> Running in d7207466cdf8 [2024-10-04T08:19:44.217Z] Removing intermediate container d7207466cdf8 [2024-10-04T08:19:44.217Z] ---> 2b3782a2c02e [2024-10-04T08:19:44.217Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-04T08:19:44.217Z] ---> Running in 7978f07a5f32 [2024-10-04T08:19:44.217Z] Removing intermediate container 7978f07a5f32 [2024-10-04T08:19:44.217Z] ---> a8729ed138cc [2024-10-04T08:19:44.217Z] Step 22/24 : LABEL arch=amd64 [2024-10-04T08:19:44.217Z] ---> Running in 3b19bbdebc56 [2024-10-04T08:19:44.217Z] Removing intermediate container 3b19bbdebc56 [2024-10-04T08:19:44.217Z] ---> 0a9efc69a742 [2024-10-04T08:19:44.217Z] Step 23/24 : LABEL git_sha=888d0147f37d1b0cb5e12db1661dbf13e1e18e03 [2024-10-04T08:19:44.217Z] ---> Running in 6d137d721637 [2024-10-04T08:19:44.217Z] Removing intermediate container 6d137d721637 [2024-10-04T08:19:44.217Z] ---> ad6fa8191b50 [2024-10-04T08:19:44.217Z] Step 24/24 : LABEL version=0.0.0 [2024-10-04T08:19:44.217Z] ---> Running in c56906869f90 [2024-10-04T08:19:44.217Z] Removing intermediate container c56906869f90 [2024-10-04T08:19:44.217Z] ---> f6f4e11c966b [2024-10-04T08:19:44.217Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T08:19:44.217Z] Successfully built f6f4e11c966b [2024-10-04T08:19:44.217Z] 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-04T08:19:45.355Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T08:19:45.355Z] [2024-10-04T08:19:45.355Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T08:19:45.759Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T08:19:45.759Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-04T08:19:45.759Z] 5eb5b503b376: Pulling fs layer [2024-10-04T08:19:45.759Z] 5c69ac0246d0: Pulling fs layer [2024-10-04T08:19:45.759Z] ec43610c2a17: Pulling fs layer [2024-10-04T08:19:45.759Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-04T08:19:45.759Z] 33b1e0a273af: Pulling fs layer [2024-10-04T08:19:45.759Z] 5d3b04190fa2: Pulling fs layer [2024-10-04T08:19:45.759Z] 2f39f015ded8: Pulling fs layer [2024-10-04T08:19:45.759Z] 3a2ae6a8a46f: Waiting [2024-10-04T08:19:45.759Z] 33b1e0a273af: Waiting [2024-10-04T08:19:45.759Z] 5d3b04190fa2: Waiting [2024-10-04T08:19:45.759Z] 2f39f015ded8: Waiting [2024-10-04T08:19:45.759Z] 5c69ac0246d0: Download complete [2024-10-04T08:19:45.759Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-04T08:19:45.759Z] 3a2ae6a8a46f: Download complete [2024-10-04T08:19:45.759Z] 33b1e0a273af: Verifying Checksum [2024-10-04T08:19:45.759Z] 33b1e0a273af: Download complete [2024-10-04T08:19:45.759Z] 5d3b04190fa2: Verifying Checksum [2024-10-04T08:19:45.759Z] 5d3b04190fa2: Download complete [2024-10-04T08:19:45.759Z] ec43610c2a17: Download complete [2024-10-04T08:19:46.018Z] 5eb5b503b376: Verifying Checksum [2024-10-04T08:19:46.018Z] 5eb5b503b376: Download complete [2024-10-04T08:19:46.584Z] 2f39f015ded8: Download complete [2024-10-04T08:19:47.159Z] 5eb5b503b376: Pull complete [2024-10-04T08:19:47.422Z] 5c69ac0246d0: Pull complete [2024-10-04T08:19:47.681Z] ec43610c2a17: Pull complete [2024-10-04T08:19:47.939Z] 3a2ae6a8a46f: Pull complete [2024-10-04T08:19:48.198Z] 33b1e0a273af: Pull complete [2024-10-04T08:19:48.456Z] 5d3b04190fa2: Pull complete [2024-10-04T08:19:52.650Z] 2f39f015ded8: Pull complete [2024-10-04T08:19:52.650Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-04T08:19:52.650Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T08:19:52.650Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T08:19:52.966Z] prd-ubuntu20.04-docker-8c-8g-16952 does not seem to be running inside a container [2024-10-04T08:19:53.017Z] $ 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-1633 -v /w/workspace/gexfoundry_device-sdk-go_PR-1633:/w/workspace/gexfoundry_device-sdk-go_PR-1633:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-04T08:19:58.851Z] $ docker top 75b4b1670bb59941badbe0b7948661faf218408c2e57e596c510d7a882e93c9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T08:19:59.352Z] ---> job-cost.sh [2024-10-04T08:19:59.352Z] lf-activate-venv: SKIPPING [2024-10-04T08:19:59.352Z] INFO: No Stack... [2024-10-04T08:19:59.611Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T08:19:59.872Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T08:20:00.206Z] + cut -d,+ -f6 [2024-10-04T08:20:00.206Z] cat /w/workspace/gexfoundry_device-sdk-go_PR-1633/archives/cost.csv [Pipeline] lock [2024-10-04T08:20:00.259Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1633-1-stack-cost] [2024-10-04T08:20:00.266Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1633-1-stack-cost] did not exist. Created. [2024-10-04T08:20:00.273Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1633-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T08:20:00.705Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-04T08:20:00.834Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T08:20:00.865Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1633-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T08:20:00.976Z] $ docker stop --time=1 75b4b1670bb59941badbe0b7948661faf218408c2e57e596c510d7a882e93c9a [2024-10-04T08:20:02.413Z] $ docker rm -f --volumes 75b4b1670bb59941badbe0b7948661faf218408c2e57e596c510d7a882e93c9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-04T09:53:36.073Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20459 in /w/workspace/gexfoundry_device-sdk-go_PR-1633 [Pipeline] { [Pipeline] ws [2024-10-04T09:53:36.153Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-10-04T09:53:39.261Z] The recommended git tool is: git [2024-10-04T09:53:44.111Z] using credential edgex-jenkins-ssh [2024-10-04T09:53:44.141Z] Cloning the remote Git repository [2024-10-04T09:53:44.186Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-10-04T09:53:44.280Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-10-04T09:53:44.417Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-04T09:53:44.418Z] > git --version # timeout=10 [2024-10-04T09:53:44.439Z] > git --version # 'git version 2.25.1' [2024-10-04T09:53:44.441Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T09:53:44.580Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T09:53:48.043Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-04T09:53:48.064Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T09:53:48.981Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-04T09:53:49.019Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-04T09:53:49.020Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T09:53:49.043Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1633/head:refs/remotes/origin/PR-1633 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-04T09:53:49.734Z] Merging remotes/origin/main commit 1b8f5c3fc1bdd6f1c6be262479a15f7fdf116ab9 into PR head commit 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 [2024-10-04T09:53:50.048Z] Merge succeeded, producing 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 [2024-10-04T09:53:50.049Z] Checking out Revision 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 (PR-1633) [2024-10-04T09:53:49.754Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T09:53:49.839Z] > git checkout -f 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 # timeout=10 [2024-10-04T09:53:49.950Z] > git remote # timeout=10 [2024-10-04T09:53:49.968Z] > git config --get remote.origin.url # timeout=10 [2024-10-04T09:53:49.987Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T09:53:50.007Z] > git merge 1b8f5c3fc1bdd6f1c6be262479a15f7fdf116ab9 # timeout=10 [2024-10-04T09:53:50.033Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-04T09:53:50.058Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T09:53:50.072Z] > git checkout -f 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 # timeout=10 [2024-10-04T09:53:53.681Z] Commit message: "feat: Allow reading value to be null" [2024-10-04T09:53:53.729Z] > git --version # timeout=10 [2024-10-04T09:53:53.743Z] > git --version # 'git version 2.25.1' [2024-10-04T09:53:53.755Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T09:53:55.685Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-04T09:53:55.685Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T09:53:55.685Z] Dload Upload Total Spent Left Speed [2024-10-04T09:53:55.685Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 114k 0 --:--:-- --:--:-- --:--:-- 115k [Pipeline] sh [2024-10-04T09:53:56.050Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-04T09:53:56.395Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-04T09:53:56.395Z] + sudo tee /etc/docker/daemon.new [2024-10-04T09:53:56.395Z] { [2024-10-04T09:53:56.395Z] "registry-mirrors": [ [2024-10-04T09:53:56.395Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-04T09:53:56.395Z] ], [2024-10-04T09:53:56.395Z] "bip": "10.250.0.254/24", [2024-10-04T09:53:56.395Z] "hosts": [ [2024-10-04T09:53:56.395Z] "tcp://0.0.0.0:5555", [2024-10-04T09:53:56.395Z] "unix:///var/run/docker.sock" [2024-10-04T09:53:56.395Z] ], [2024-10-04T09:53:56.395Z] "mtu": 1458, [2024-10-04T09:53:56.395Z] "selinux-enabled": true, [2024-10-04T09:53:56.395Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-04T09:53:56.395Z] } [Pipeline] sh [2024-10-04T09:53:56.758Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-04T09:53:57.125Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T09:54:15.512Z] provisioning config files... [2024-10-04T09:54:15.546Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5107264427485563079tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T09:54:16.038Z] ---> ****-login.sh [2024-10-04T09:54:16.039Z] nexus3.edgexfoundry.org:10001 [2024-10-04T09:54:16.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T09:54:16.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T09:54:16.624Z] Configure a credential helper to remove this warning. See [2024-10-04T09:54:16.624Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T09:54:16.624Z] [2024-10-04T09:54:16.624Z] Login Succeeded [2024-10-04T09:54:16.624Z] nexus3.edgexfoundry.org:10002 [2024-10-04T09:54:16.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T09:54:16.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T09:54:16.895Z] Configure a credential helper to remove this warning. See [2024-10-04T09:54:16.895Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T09:54:16.895Z] [2024-10-04T09:54:16.895Z] Login Succeeded [2024-10-04T09:54:16.895Z] nexus3.edgexfoundry.org:10003 [2024-10-04T09:54:17.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T09:54:17.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T09:54:17.436Z] Configure a credential helper to remove this warning. See [2024-10-04T09:54:17.436Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T09:54:17.436Z] [2024-10-04T09:54:17.436Z] Login Succeeded [2024-10-04T09:54:17.436Z] nexus3.edgexfoundry.org:10004 [2024-10-04T09:54:17.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T09:54:17.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T09:54:17.704Z] Configure a credential helper to remove this warning. See [2024-10-04T09:54:17.704Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T09:54:17.704Z] [2024-10-04T09:54:17.704Z] Login Succeeded [2024-10-04T09:54:17.704Z] ****.io [2024-10-04T09:54:17.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T09:54:18.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T09:54:18.236Z] Configure a credential helper to remove this warning. See [2024-10-04T09:54:18.236Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T09:54:18.236Z] [2024-10-04T09:54:18.236Z] Login Succeeded [2024-10-04T09:54:18.236Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T09:54:18.268Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T09:54:18.719Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T09:54:18.774Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T09:54:18.822Z] ========================================================= [2024-10-04T09:54:18.822Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-04T09:54:18.822Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:54:19.378Z] + 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-04T09:54:19.963Z] Sending build context to Docker daemon 13.18MB [2024-10-04T09:54:19.963Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T09:54:19.963Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-04T09:54:19.963Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-04T09:54:19.963Z] cf04c63912e1: Pulling fs layer [2024-10-04T09:54:19.963Z] 55b35a11ae5e: Pulling fs layer [2024-10-04T09:54:19.963Z] a37a00ec5f00: Pulling fs layer [2024-10-04T09:54:19.963Z] 50b3750afda1: Pulling fs layer [2024-10-04T09:54:19.963Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T09:54:19.963Z] 80978eb59214: Pulling fs layer [2024-10-04T09:54:19.963Z] c9f46d7d2bd2: Pulling fs layer [2024-10-04T09:54:19.963Z] c5a475d317c9: Pulling fs layer [2024-10-04T09:54:19.963Z] 4f4fb700ef54: Waiting [2024-10-04T09:54:19.963Z] 80978eb59214: Waiting [2024-10-04T09:54:19.963Z] c9f46d7d2bd2: Waiting [2024-10-04T09:54:19.963Z] c5a475d317c9: Waiting [2024-10-04T09:54:20.236Z] 55b35a11ae5e: Verifying Checksum [2024-10-04T09:54:20.236Z] 55b35a11ae5e: Download complete [2024-10-04T09:54:20.236Z] 50b3750afda1: Verifying Checksum [2024-10-04T09:54:20.236Z] 50b3750afda1: Download complete [2024-10-04T09:54:20.236Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T09:54:20.236Z] 4f4fb700ef54: Download complete [2024-10-04T09:54:20.236Z] 80978eb59214: Verifying Checksum [2024-10-04T09:54:20.236Z] 80978eb59214: Download complete [2024-10-04T09:54:20.236Z] cf04c63912e1: Verifying Checksum [2024-10-04T09:54:20.236Z] cf04c63912e1: Download complete [2024-10-04T09:54:20.503Z] c5a475d317c9: Verifying Checksum [2024-10-04T09:54:20.503Z] c5a475d317c9: Download complete [2024-10-04T09:54:21.092Z] cf04c63912e1: Pull complete [2024-10-04T09:54:21.678Z] 55b35a11ae5e: Pull complete [2024-10-04T09:54:21.945Z] a37a00ec5f00: Verifying Checksum [2024-10-04T09:54:21.945Z] a37a00ec5f00: Download complete [2024-10-04T09:54:22.924Z] c9f46d7d2bd2: Verifying Checksum [2024-10-04T09:54:22.924Z] c9f46d7d2bd2: Download complete [2024-10-04T09:54:35.268Z] a37a00ec5f00: Pull complete [2024-10-04T09:54:35.535Z] 50b3750afda1: Pull complete [2024-10-04T09:54:36.123Z] 4f4fb700ef54: Pull complete [2024-10-04T09:54:37.083Z] 80978eb59214: Pull complete [2024-10-04T09:54:45.287Z] c9f46d7d2bd2: Pull complete [2024-10-04T09:54:46.247Z] c5a475d317c9: Pull complete [2024-10-04T09:54:46.247Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-04T09:54:46.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-04T09:54:46.247Z] ---> be29e6b0f0d4 [2024-10-04T09:54:46.247Z] Step 3/10 : ARG MAKE=make build [2024-10-04T09:54:46.831Z] ---> Running in 82fb10ba189c [2024-10-04T09:54:47.096Z] Removing intermediate container 82fb10ba189c [2024-10-04T09:54:47.096Z] ---> fb8199c99ba2 [2024-10-04T09:54:47.096Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-04T09:54:47.362Z] ---> Running in 08dae232b958 [2024-10-04T09:54:47.629Z] Removing intermediate container 08dae232b958 [2024-10-04T09:54:47.629Z] ---> e57f39922eca [2024-10-04T09:54:47.629Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-04T09:54:47.629Z] ---> Running in e3d7ec2e69c0 [2024-10-04T09:54:47.901Z] Removing intermediate container e3d7ec2e69c0 [2024-10-04T09:54:47.901Z] ---> 9acf23c71514 [2024-10-04T09:54:47.901Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-04T09:54:47.901Z] ---> Running in 9391e3104139 [2024-10-04T09:54:48.865Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T09:54:49.445Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T09:54:50.849Z] OK: 238 MiB in 54 packages [2024-10-04T09:54:51.431Z] Removing intermediate container 9391e3104139 [2024-10-04T09:54:51.431Z] ---> f50d0c55bfa2 [2024-10-04T09:54:51.431Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-04T09:54:52.015Z] ---> 6be01a98072d [2024-10-04T09:54:52.015Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T09:54:52.015Z] ---> Running in 76769dfb3a41 [2024-10-04T09:56:58.713Z] Removing intermediate container 76769dfb3a41 [2024-10-04T09:56:58.713Z] ---> 19d9759dc140 [2024-10-04T09:56:58.713Z] Step 9/10 : COPY . . [2024-10-04T09:56:58.713Z] ---> 0b3d567071d7 [2024-10-04T09:56:58.713Z] Step 10/10 : RUN ${MAKE} [2024-10-04T09:56:58.713Z] ---> Running in d885e88f62cd [2024-10-04T09:56:58.713Z] noop [2024-10-04T09:56:58.713Z] Removing intermediate container d885e88f62cd [2024-10-04T09:56:58.713Z] ---> f514b2144fe1 [2024-10-04T09:56:58.713Z] Successfully built f514b2144fe1 [2024-10-04T09:56:58.713Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:56:59.227Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T09:56:59.227Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T09:56:59.519Z] prd-ubuntu20.04-docker-arm64-4c-16g-20459 does not seem to be running inside a container [2024-10-04T09:56:59.655Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T09:57:00.874Z] $ docker top d7c9b574666e0dd22130dba93e7845158d5784e3d51e89f3efabc6d4d7913c46 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T09:57:01.809Z] + go version [2024-10-04T09:57:01.809Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-04T09:57:01.851Z] $ docker stop --time=1 d7c9b574666e0dd22130dba93e7845158d5784e3d51e89f3efabc6d4d7913c46 [2024-10-04T09:57:03.474Z] $ docker rm -f --volumes d7c9b574666e0dd22130dba93e7845158d5784e3d51e89f3efabc6d4d7913c46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T09:57:04.410Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T09:57:04.410Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T09:57:04.697Z] prd-ubuntu20.04-docker-arm64-4c-16g-20459 does not seem to be running inside a container [2024-10-04T09:57:04.761Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T09:57:05.943Z] $ docker top 0d4001d23b0e238884d3649e3bf0bd1346f89d1502eefdb4a78b77f5210e946e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T09:57:06.514Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-04T09:57:07.231Z] + make test [2024-10-04T09:57:07.231Z] go test -race -coverprofile=coverage.out ./... [2024-10-04T09:57:54.053Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-04T10:01:15.862Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-04T10:01:15.862Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-04T10:01:15.862Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-04T10:01:15.862Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-04T10:01:15.862Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-04T10:01:22.505Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.156s coverage: 26.0% of statements [2024-10-04T10:01:25.857Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.182s coverage: 79.4% of statements [2024-10-04T10:01:35.951Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-04T10:01:35.951Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-04T10:01:36.906Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.273s coverage: 86.0% of statements [2024-10-04T10:01:49.208Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-04T10:01:49.208Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.559s coverage: 45.2% of statements [2024-10-04T10:01:51.779Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.267s coverage: 14.1% of statements [2024-10-04T10:01:51.779Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.358s coverage: 44.6% of statements [2024-10-04T10:01:56.058Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-04T10:01:56.058Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-04T10:01:56.058Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-04T10:01:57.029Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.371s coverage: 68.3% of statements [2024-10-04T10:02:02.408Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.339s coverage: 88.3% of statements [2024-10-04T10:02:07.756Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-04T10:02:09.186Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.289s coverage: 5.3% of statements [2024-10-04T10:02:10.149Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-04T10:02:10.149Z] GO111MODULE=on go vet ./... [2024-10-04T10:05:31.942Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T10:05:31.942Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T10:05:31.942Z] ./bin/test-attribution-txt.sh [2024-10-04T10:05:31.942Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-10-04T10:05:31.942Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-10-04T10:05:32.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T10:05:32.050Z] $ docker stop --time=1 0d4001d23b0e238884d3649e3bf0bd1346f89d1502eefdb4a78b77f5210e946e [2024-10-04T10:05:33.931Z] $ docker rm -f --volumes 0d4001d23b0e238884d3649e3bf0bd1346f89d1502eefdb4a78b77f5210e946e [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T10:05:36.237Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T10:05:36.277Z] Warning: overwriting stash ‘coverage-report’ [2024-10-04T10:05:37.006Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T10:05:37.662Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T10:05:38.002Z] + ls -al . [2024-10-04T10:05:38.002Z] total 708 [2024-10-04T10:05:38.002Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 09:57 . [2024-10-04T10:05:38.002Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 09:53 .. [2024-10-04T10:05:38.002Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 09:53 .dockerignore [2024-10-04T10:05:38.002Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 09:53 .git [2024-10-04T10:05:38.002Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 09:53 .github [2024-10-04T10:05:38.002Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 4 09:53 .gitignore [2024-10-04T10:05:38.002Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 09:53 .golangci.yml [2024-10-04T10:05:38.002Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 4 09:53 CHANGELOG.md [2024-10-04T10:05:38.002Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 09:53 GOVERNANCE.md [2024-10-04T10:05:38.002Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 4 09:53 Jenkinsfile [2024-10-04T10:05:38.002Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 09:53 LICENSE [2024-10-04T10:05:38.002Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 4 09:53 Makefile [2024-10-04T10:05:38.002Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 09:53 OWNERS.md [2024-10-04T10:05:38.002Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 4 09:53 README.md [2024-10-04T10:05:38.002Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 08:16 VERSION [2024-10-04T10:05:38.002Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 09:53 bin [2024-10-04T10:05:38.002Z] -rw-r--r-- 1 jenkins jenkins 466603 Oct 4 10:02 coverage.out [2024-10-04T10:05:38.002Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 09:53 example [2024-10-04T10:05:38.002Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 4 09:53 go.mod [2024-10-04T10:05:38.002Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 4 09:53 go.sum [2024-10-04T10:05:38.002Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 4 09:53 internal [2024-10-04T10:05:38.002Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 09:53 openapi [2024-10-04T10:05:38.002Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 09:53 pkg [2024-10-04T10:05:38.002Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 09:53 snap [2024-10-04T10:05:38.002Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 09:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T10:05:38.462Z] + 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=888d0147f37d1b0cb5e12db1661dbf13e1e18e03 --label arch=arm64 --label version=0.0.0 . [2024-10-04T10:05:39.045Z] Sending build context to Docker daemon 13.65MB [2024-10-04T10:05:39.045Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T10:05:39.045Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-04T10:05:39.045Z] ---> f514b2144fe1 [2024-10-04T10:05:39.045Z] Step 3/24 : ARG MAKE=make build [2024-10-04T10:05:39.046Z] ---> Running in 92f867d3ab6a [2024-10-04T10:05:39.312Z] Removing intermediate container 92f867d3ab6a [2024-10-04T10:05:39.312Z] ---> 5b9f2c8ba5a3 [2024-10-04T10:05:39.312Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-04T10:05:39.580Z] ---> Running in 7159c9cc5eb2 [2024-10-04T10:05:39.856Z] Removing intermediate container 7159c9cc5eb2 [2024-10-04T10:05:39.856Z] ---> 00f217b9d112 [2024-10-04T10:05:39.856Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-04T10:05:39.856Z] ---> Running in 378c3dc5d863 [2024-10-04T10:05:40.126Z] Removing intermediate container 378c3dc5d863 [2024-10-04T10:05:40.126Z] ---> 91e74c0b4f18 [2024-10-04T10:05:40.126Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-04T10:05:40.126Z] ---> Running in b2a21e4f1ca8 [2024-10-04T10:05:41.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T10:05:41.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T10:05:42.882Z] OK: 238 MiB in 54 packages [2024-10-04T10:05:43.464Z] Removing intermediate container b2a21e4f1ca8 [2024-10-04T10:05:43.464Z] ---> 64a06a003e28 [2024-10-04T10:05:43.464Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-04T10:05:44.054Z] ---> 1d873133af69 [2024-10-04T10:05:44.054Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T10:05:44.054Z] ---> Running in 50fdb8070a2a [2024-10-04T10:05:45.994Z] Removing intermediate container 50fdb8070a2a [2024-10-04T10:05:45.994Z] ---> ecf9d4b29f36 [2024-10-04T10:05:45.994Z] Step 9/24 : COPY . . [2024-10-04T10:05:47.944Z] ---> a4ffeb461b47 [2024-10-04T10:05:47.944Z] Step 10/24 : RUN ${MAKE} [2024-10-04T10:05:47.944Z] ---> Running in 0fa98f1c2712 [2024-10-04T10:05:48.908Z] 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-04T10:09:26.713Z] Removing intermediate container 0fa98f1c2712 [2024-10-04T10:09:26.713Z] ---> 846cef83c440 [2024-10-04T10:09:26.713Z] Step 11/24 : FROM alpine:3.20 [2024-10-04T10:09:26.713Z] 3.20: Pulling from library/alpine [2024-10-04T10:09:26.713Z] cf04c63912e1: Already exists [2024-10-04T10:09:26.713Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T10:09:26.713Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T10:09:26.713Z] ---> c157a85ed455 [2024-10-04T10:09:26.713Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-04T10:09:26.713Z] ---> Running in c962173a7171 [2024-10-04T10:09:26.713Z] Removing intermediate container c962173a7171 [2024-10-04T10:09:26.713Z] ---> a4d5bf4bd7e5 [2024-10-04T10:09:26.713Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-04T10:09:26.713Z] ---> Running in 170d4e52e047 [2024-10-04T10:09:26.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T10:09:26.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T10:09:26.713Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T10:09:26.713Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T10:09:26.713Z] OK: 9 MiB in 15 packages [2024-10-04T10:09:26.713Z] Removing intermediate container 170d4e52e047 [2024-10-04T10:09:26.713Z] ---> a42e22f7cce2 [2024-10-04T10:09:26.713Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-04T10:09:26.713Z] ---> Running in d7259d5e1639 [2024-10-04T10:09:26.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T10:09:26.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T10:09:26.713Z] Upgrading critical system libraries and apk-tools: [2024-10-04T10:09:26.713Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T10:09:26.713Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T10:09:26.713Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T10:09:26.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T10:09:26.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T10:09:26.713Z] OK: 9 MiB in 15 packages [2024-10-04T10:09:26.713Z] Removing intermediate container d7259d5e1639 [2024-10-04T10:09:26.713Z] ---> 95e424afa285 [2024-10-04T10:09:26.713Z] Step 15/24 : WORKDIR / [2024-10-04T10:09:26.713Z] ---> Running in 74d7a20b14e5 [2024-10-04T10:09:26.713Z] Removing intermediate container 74d7a20b14e5 [2024-10-04T10:09:26.713Z] ---> a78f0e26ef74 [2024-10-04T10:09:26.713Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-04T10:09:26.714Z] ---> a81de5c4191e [2024-10-04T10:09:26.714Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-04T10:09:26.714Z] ---> d486fbaf6fed [2024-10-04T10:09:26.714Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-04T10:09:26.714Z] ---> 540eeb6463f8 [2024-10-04T10:09:26.714Z] Step 19/24 : EXPOSE 59999 [2024-10-04T10:09:26.714Z] ---> Running in f464e84c0e0a [2024-10-04T10:09:26.714Z] Removing intermediate container f464e84c0e0a [2024-10-04T10:09:26.714Z] ---> 7f52edf54f78 [2024-10-04T10:09:26.714Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-04T10:09:26.714Z] ---> Running in 0e5c16f3e5d9 [2024-10-04T10:09:26.714Z] Removing intermediate container 0e5c16f3e5d9 [2024-10-04T10:09:26.714Z] ---> 7bea2ece44c8 [2024-10-04T10:09:26.714Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-04T10:09:26.714Z] ---> Running in 919a3cfdd93a [2024-10-04T10:09:26.714Z] Removing intermediate container 919a3cfdd93a [2024-10-04T10:09:26.714Z] ---> 2feed2dfe282 [2024-10-04T10:09:26.714Z] Step 22/24 : LABEL arch=arm64 [2024-10-04T10:09:26.714Z] ---> Running in 359d1ae46568 [2024-10-04T10:09:26.714Z] Removing intermediate container 359d1ae46568 [2024-10-04T10:09:26.714Z] ---> 69bd6efc9369 [2024-10-04T10:09:26.714Z] Step 23/24 : LABEL git_sha=888d0147f37d1b0cb5e12db1661dbf13e1e18e03 [2024-10-04T10:09:26.714Z] ---> Running in 2323c98e3a1a [2024-10-04T10:09:27.297Z] Removing intermediate container 2323c98e3a1a [2024-10-04T10:09:27.297Z] ---> 0ec45af86561 [2024-10-04T10:09:27.297Z] Step 24/24 : LABEL version=0.0.0 [2024-10-04T10:09:27.297Z] ---> Running in b980cc762106 [2024-10-04T10:09:27.563Z] Removing intermediate container b980cc762106 [2024-10-04T10:09:27.563Z] ---> 76ef864471fc [2024-10-04T10:09:27.563Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T10:09:27.563Z] Successfully built 76ef864471fc [2024-10-04T10:09:27.564Z] 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-04T10:09:28.486Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T10:09:28.486Z] [2024-10-04T10:09:28.486Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T10:09:28.916Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T10:09:28.917Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-04T10:09:28.917Z] 8998bd30e6a1: Pulling fs layer [2024-10-04T10:09:28.917Z] 04944245beec: Pulling fs layer [2024-10-04T10:09:28.917Z] 699f458cf7ca: Pulling fs layer [2024-10-04T10:09:28.917Z] 765212b225bb: Pulling fs layer [2024-10-04T10:09:28.917Z] f23df028b6ca: Pulling fs layer [2024-10-04T10:09:28.917Z] d65c8cfc05b1: Pulling fs layer [2024-10-04T10:09:28.917Z] 2437ff75d9bd: Pulling fs layer [2024-10-04T10:09:28.917Z] 765212b225bb: Waiting [2024-10-04T10:09:28.917Z] f23df028b6ca: Waiting [2024-10-04T10:09:28.917Z] d65c8cfc05b1: Waiting [2024-10-04T10:09:28.917Z] 2437ff75d9bd: Waiting [2024-10-04T10:09:29.186Z] 04944245beec: Verifying Checksum [2024-10-04T10:09:29.186Z] 04944245beec: Download complete [2024-10-04T10:09:29.186Z] 765212b225bb: Verifying Checksum [2024-10-04T10:09:29.186Z] 765212b225bb: Download complete [2024-10-04T10:09:29.186Z] f23df028b6ca: Verifying Checksum [2024-10-04T10:09:29.186Z] f23df028b6ca: Download complete [2024-10-04T10:09:29.186Z] d65c8cfc05b1: Download complete [2024-10-04T10:09:29.455Z] 699f458cf7ca: Verifying Checksum [2024-10-04T10:09:29.455Z] 699f458cf7ca: Download complete [2024-10-04T10:09:29.722Z] 8998bd30e6a1: Verifying Checksum [2024-10-04T10:09:29.723Z] 8998bd30e6a1: Download complete [2024-10-04T10:09:32.310Z] 2437ff75d9bd: Verifying Checksum [2024-10-04T10:09:32.310Z] 2437ff75d9bd: Download complete [2024-10-04T10:09:34.254Z] 8998bd30e6a1: Pull complete [2024-10-04T10:09:34.835Z] 04944245beec: Pull complete [2024-10-04T10:09:36.238Z] 699f458cf7ca: Pull complete [2024-10-04T10:09:36.238Z] 765212b225bb: Pull complete [2024-10-04T10:09:37.197Z] f23df028b6ca: Pull complete [2024-10-04T10:09:37.463Z] d65c8cfc05b1: Pull complete [2024-10-04T10:09:52.434Z] 2437ff75d9bd: Pull complete [2024-10-04T10:09:52.434Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-04T10:09:52.434Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T10:09:52.434Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T10:09:52.795Z] prd-ubuntu20.04-docker-arm64-4c-16g-20459 does not seem to be running inside a container [2024-10-04T10:09:52.845Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-04T10:09:55.506Z] $ docker top e7a052dedf728b1e95c990d30db025420b74ef0f448494d3b2dfe2c4660ba543 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:09:56.440Z] ---> job-cost.sh [2024-10-04T10:09:56.440Z] lf-activate-venv: SKIPPING [2024-10-04T10:09:56.440Z] INFO: No Stack... [2024-10-04T10:09:57.026Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-04T10:09:57.989Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T10:09:58.651Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-10-04T10:09:58.651Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T10:09:58.712Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1633-1-stack-cost] [2024-10-04T10:09:58.718Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1633-1-stack-cost] did not exist. Created. [2024-10-04T10:09:58.723Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1633-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T10:09:59.479Z] /w/workspace/device-sdk-go/1@tmp/durable-459a5465/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-04T10:10:00.158Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-04T10:10:00.205Z] Warning: overwriting stash ‘stack-cost’ [2024-10-04T10:10:00.290Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T10:10:00.310Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1633-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T10:10:00.396Z] $ docker stop --time=1 e7a052dedf728b1e95c990d30db025420b74ef0f448494d3b2dfe2c4660ba543 [2024-10-04T10:10:01.914Z] $ docker rm -f --volumes e7a052dedf728b1e95c990d30db025420b74ef0f448494d3b2dfe2c4660ba543 [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-04T10:10:03.097Z] provisioning config files... [2024-10-04T10:10:03.105Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp/config14724900244070400827tmp [Pipeline] { [Pipeline] sh [2024-10-04T10:10:03.457Z] + set +x [2024-10-04T10:10:03.458Z] + bash -s -- [2024-10-04T10:10:03.458Z] + curl -s https://codecov.io/bash [2024-10-04T10:10:03.458Z] [2024-10-04T10:10:03.458Z] _____ _ [2024-10-04T10:10:03.458Z] / ____| | | [2024-10-04T10:10:03.458Z] | | ___ __| | ___ ___ _____ __ [2024-10-04T10:10:03.458Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-04T10:10:03.458Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-04T10:10:03.458Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-04T10:10:03.458Z] Bash-1.0.6 [2024-10-04T10:10:03.458Z] [2024-10-04T10:10:03.458Z] [2024-10-04T10:10:03.458Z] ==> git version 2.25.1 found [2024-10-04T10:10:03.458Z] ==> 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-04T10:10:03.458Z] Release-Date: 2020-01-08 [2024-10-04T10:10:03.458Z] 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-04T10:10:03.458Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-04T10:10:03.458Z] ==> Jenkins CI detected. [2024-10-04T10:10:03.458Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1633 [2024-10-04T10:10:03.458Z] project root: . [2024-10-04T10:10:03.458Z] --> token set from env [2024-10-04T10:10:03.458Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-04T10:10:03.458Z] ==> Running gcov in . (disable via -X gcov) [2024-10-04T10:10:03.458Z] ==> Python coveragepy not found [2024-10-04T10:10:03.458Z] ==> Searching for coverage reports in: [2024-10-04T10:10:03.458Z] + . [2024-10-04T10:10:03.458Z] -> Found 1 reports [2024-10-04T10:10:03.458Z] ==> Detecting git/mercurial file structure [2024-10-04T10:10:03.720Z] ==> Reading reports [2024-10-04T10:10:03.720Z] + ./coverage.out bytes=466603 [2024-10-04T10:10:03.720Z] ==> Appending adjustments [2024-10-04T10:10:03.720Z] https://docs.codecov.io/docs/fixing-reports [2024-10-04T10:10:03.980Z] + Found adjustments [2024-10-04T10:10:03.980Z] ==> Gzipping contents [2024-10-04T10:10:03.980Z] 44K /tmp/codecov.y6tw3T.gz [2024-10-04T10:10:03.980Z] ==> Uploading reports [2024-10-04T10:10:03.980Z] url: https://codecov.io [2024-10-04T10:10:03.980Z] query: branch=PR-1633&commit=888d0147f37d1b0cb5e12db1661dbf13e1e18e03&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1633%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1633&job=&cmd_args= [2024-10-04T10:10:03.980Z] -> Pinging Codecov [2024-10-04T10:10:03.980Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1633&commit=888d0147f37d1b0cb5e12db1661dbf13e1e18e03&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1633%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1633&job=&cmd_args= [2024-10-04T10:10:03.980Z] -> Uploading to [2024-10-04T10:10:03.981Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/888d0147f37d1b0cb5e12db1661dbf13e1e18e03/c8f93b44-0f20-4373-991e-3a3088617ea4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T101003Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=6a48b0cbba5db2acea6302ed9e4f5deceeefd71f1845d7b88f77bc23b8268668 [2024-10-04T10:10:03.981Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T10:10:03.981Z] Dload Upload Total Spent Left Speed [2024-10-04T10:10:04.241Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44659 0 0 100 44659 0 172k --:--:-- --:--:-- --:--:-- 173k [2024-10-04T10:10:04.241Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/888d0147f37d1b0cb5e12db1661dbf13e1e18e03 [Pipeline] } [2024-10-04T10:10:04.276Z] 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-04T10:10:06.752Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1633/archives ] [2024-10-04T10:10:06.752Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1633/archives [2024-10-04T10:10:06.752Z] total 16 [2024-10-04T10:10:06.752Z] drwxr-xr-x 3 root root 4096 Oct 4 08:19 . [2024-10-04T10:10:06.752Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 08:20 .. [2024-10-04T10:10:06.752Z] drwxr-xr-x 2 root root 4096 Oct 4 08:19 cost [2024-10-04T10:10:06.752Z] -rw-r--r-- 1 root root 86 Oct 4 08:19 cost.csv [2024-10-04T10:10:06.752Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1633/archives [2024-10-04T10:10:06.752Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1633/archives [2024-10-04T10:10:06.752Z] total 16 [2024-10-04T10:10:06.752Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 08:19 . [2024-10-04T10:10:06.752Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 08:20 .. [2024-10-04T10:10:06.752Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 08:19 cost [2024-10-04T10:10:06.752Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 4 08:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:10:07.274Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:10:07.870Z] ---> package-listing.sh [2024-10-04T10:10:07.870Z] ++ facter osfamily [2024-10-04T10:10:07.870Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-04T10:10:08.129Z] + OS_FAMILY=debian [2024-10-04T10:10:08.129Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1633 [2024-10-04T10:10:08.129Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-04T10:10:08.129Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-04T10:10:08.129Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-04T10:10:08.129Z] + PACKAGES=/tmp/packages_start.txt [2024-10-04T10:10:08.129Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1633 ']' [2024-10-04T10:10:08.129Z] + PACKAGES=/tmp/packages_end.txt [2024-10-04T10:10:08.129Z] + case "${OS_FAMILY}" in [2024-10-04T10:10:08.129Z] + dpkg -l [2024-10-04T10:10:08.129Z] + grep '^ii' [2024-10-04T10:10:08.129Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-04T10:10:08.129Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-04T10:10:08.129Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-04T10:10:08.129Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1633 ']' [2024-10-04T10:10:08.129Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1633/archives/ [2024-10-04T10:10:08.129Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1633/archives/ [Pipeline] echo [2024-10-04T10:10:08.171Z] 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-1633/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-04T10:10:08.465Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T10:10:09.112Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T10:10:09.112Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T10:10:09.294Z] prd-ubuntu20.04-docker-8c-8g-16952 does not seem to be running inside a container [2024-10-04T10:10:09.332Z] $ 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-1633/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-1633 -v /w/workspace/gexfoundry_device-sdk-go_PR-1633:/w/workspace/gexfoundry_device-sdk-go_PR-1633:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-04T10:10:09.567Z] $ docker top a14436af42807b4f05137e46373bcabe793caf2cb9cac84dcde3c9ceaa3b6446 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T10:10:09.969Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-04T10:10:10.287Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-04T10:10:10.600Z] + ls /var/log/sa-host [2024-10-04T10:10:10.600Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T10:10:10.840Z] provisioning config files... [2024-10-04T10:10:10.849Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp/config5521660568284163900tmp [Pipeline] { [Pipeline] echo [2024-10-04T10:10:10.918Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:10:11.242Z] ---> create-netrc.sh [Pipeline] } [2024-10-04T10:10:11.277Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:10:11.731Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-04T10:10:11.767Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:10:12.086Z] ---> sudo-logs.sh [2024-10-04T10:10:12.086Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-04T10:10:12.188Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:10:12.515Z] ---> job-cost.sh [2024-10-04T10:10:12.515Z] lf-activate-venv: SKIPPING [2024-10-04T10:10:12.515Z] DEBUG: total: 0.2199999988079071 [2024-10-04T10:10:12.515Z] INFO: Retrieving Stack Cost... [2024-10-04T10:10:12.773Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T10:10:13.340Z] INFO: Archiving Costs [Pipeline] echo [2024-10-04T10:10:13.387Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T10:10:13.710Z] ---> logs-deploy.sh [2024-10-04T10:10:13.710Z] lf-activate-venv: SKIPPING [2024-10-04T10:10:13.710Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1633/1 [2024-10-04T10:10:13.710Z] INFO: archiving workspace using pattern(s): [2024-10-04T10:10:14.648Z] Archives upload complete. [2024-10-04T10:10:14.648Z] INFO: archiving logs to Nexus