Pull request #1626 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 84bab1506d64f738ceaa35eb47361f1b8d059c85+224db1e0e192554ed613955b9810071aef8a346e (7513cee2d0079763ef0ca72915f3714a490375b8) 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-ssh13216402391082528617.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh3491521892344140197.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 f3350a1713306dce7682ed7e37d5774890d03277 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-1626/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-1626/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10591884447687583571.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-1626/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4328338717403907622.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh5189456178603662559.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-1626/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-1626/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3506520735251375753.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 f3350a1713306dce7682ed7e37d5774890d03277 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10098 in /w/workspace/gexfoundry_device-sdk-go_PR-1626 [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-1626 # 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/1626/head:refs/remotes/origin/PR-1626 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 224db1e0e192554ed613955b9810071aef8a346e into PR head commit 84bab1506d64f738ceaa35eb47361f1b8d059c85 Merge succeeded, producing 84bab1506d64f738ceaa35eb47361f1b8d059c85 Checking out Revision 84bab1506d64f738ceaa35eb47361f1b8d059c85 (PR-1626) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 > git config core.sparsecheckout # timeout=10 > git checkout -f 84bab1506d64f738ceaa35eb47361f1b8d059c85 # 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 224db1e0e192554ed613955b9810071aef8a346e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 84bab1506d64f738ceaa35eb47361f1b8d059c85 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-11T04:38:37.758Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-11T04:38:38.019Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-11T04:38:38.203Z] ========================================================= [2024-09-11T04:38:38.203Z] EdgeX Global Pipelines Version Info [2024-09-11T04:38:38.203Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-11T04:38:39.351Z] ------------------- [2024-09-11T04:38:39.351Z] stable info: [2024-09-11T04:38:39.351Z] ------------------- [2024-09-11T04:38:39.351Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-11T04:38:39.351Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-11T04:38:39.351Z] Message: update stable to v1.0.263 [2024-09-11T04:38:40.290Z] ------------------- [2024-09-11T04:38:40.290Z] experimental info: [2024-09-11T04:38:40.290Z] ------------------- [2024-09-11T04:38:40.290Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-11T04:38:40.290Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-11T04:38:40.290Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-11T04:38:40.633Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-09-11T04:38:40.698Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-09-11T04:38:41.012Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-11T04:38:41.145Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-11T04:38:41.281Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-11T04:38:41.350Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-09-11T04:38:41.409Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-09-11T04:38:41.466Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-09-11T04:38:41.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-09-11T04:38:41.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-11T04:38:41.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-11T04:38:42.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-09-11T04:38:42.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-11T04:38:42.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-11T04:38:42.313Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-11T04:38:42.377Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-09-11T04:38:42.449Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-09-11T04:38:42.515Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-09-11T04:38:42.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-11T04:38:42.635Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-11T04:38:42.703Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-09-11T04:38:42.757Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-09-11T04:38:42.813Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-09-11T04:38:42.873Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-09-11T04:38:42.929Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-09-11T04:38:42.982Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-11T04:38:43.039Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-09-11T04:38:43.105Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1626 [Pipeline] echo [2024-09-11T04:38:43.163Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1626 [Pipeline] echo [2024-09-11T04:38:43.227Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1626 [Pipeline] echo [2024-09-11T04:38:43.302Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84bab1506d64f738ceaa35eb47361f1b8d059c85 [Pipeline] echo [2024-09-11T04:38:43.364Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 84bab15 [Pipeline] echo [2024-09-11T04:38:43.424Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-11T04:38:43.626Z] provisioning config files... [2024-09-11T04:38:43.641Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/config5536981934224727674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-11T04:38:44.059Z] ---> ****-login.sh [2024-09-11T04:38:44.060Z] nexus3.edgexfoundry.org:10001 [2024-09-11T04:38:44.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-11T04:38:44.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-11T04:38:44.320Z] Configure a credential helper to remove this warning. See [2024-09-11T04:38:44.320Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-11T04:38:44.320Z] [2024-09-11T04:38:44.320Z] Login Succeeded [2024-09-11T04:38:44.320Z] nexus3.edgexfoundry.org:10002 [2024-09-11T04:38:44.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-11T04:38:44.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-11T04:38:44.583Z] Configure a credential helper to remove this warning. See [2024-09-11T04:38:44.583Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-11T04:38:44.583Z] [2024-09-11T04:38:44.583Z] Login Succeeded [2024-09-11T04:38:44.583Z] nexus3.edgexfoundry.org:10003 [2024-09-11T04:38:44.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-11T04:38:44.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-11T04:38:44.583Z] Configure a credential helper to remove this warning. See [2024-09-11T04:38:44.583Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-11T04:38:44.583Z] [2024-09-11T04:38:44.583Z] Login Succeeded [2024-09-11T04:38:44.583Z] nexus3.edgexfoundry.org:10004 [2024-09-11T04:38:44.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-11T04:38:44.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-11T04:38:44.583Z] Configure a credential helper to remove this warning. See [2024-09-11T04:38:44.583Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-11T04:38:44.583Z] [2024-09-11T04:38:44.583Z] Login Succeeded [2024-09-11T04:38:44.583Z] ****.io [2024-09-11T04:38:44.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-11T04:38:44.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-11T04:38:44.845Z] Configure a credential helper to remove this warning. See [2024-09-11T04:38:44.845Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-11T04:38:44.845Z] [2024-09-11T04:38:44.845Z] Login Succeeded [2024-09-11T04:38:44.845Z] ---> ****-login.sh ends [Pipeline] } [2024-09-11T04:38:44.877Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-11T04:38:45.654Z] + git rev-list -1 --merges 84bab1506d64f738ceaa35eb47361f1b8d059c85~1..84bab1506d64f738ceaa35eb47361f1b8d059c85 [Pipeline] echo [2024-09-11T04:38:45.707Z] -----------> git rev-list -1 --merges 84bab1506d64f738ceaa35eb47361f1b8d059c85~1..84bab1506d64f738ceaa35eb47361f1b8d059c85 84bab1506d64f738ceaa35eb47361f1b8d059c85 [false] [Pipeline] sh [2024-09-11T04:38:46.073Z] + git log --format=format:%s -1 84bab1506d64f738ceaa35eb47361f1b8d059c85 [Pipeline] echo [2024-09-11T04:38:46.117Z] ========================================================= [2024-09-11T04:38:46.117Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-11T04:38:46.117Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-11T04:38:46.589Z] + git log --format=format:%s -1 84bab1506d64f738ceaa35eb47361f1b8d059c85 [Pipeline] echo [2024-09-11T04:38:46.652Z] [semverPrep] GIT_COMMIT: 84bab1506d64f738ceaa35eb47361f1b8d059c85, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2024-09-11T04:38:46.735Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-09-11T04:38:47.150Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-11T04:38:47.151Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-11T04:38:47.151Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-11T04:38:47.151Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-11T04:38:47.151Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-11T04:38:47.151Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-11T04:38:47.151Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-11T04:38:47.674Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-11T04:38:47.674Z] [2024-09-11T04:38:47.674Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-11T04:38:48.195Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-11T04:38:48.195Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-11T04:38:48.195Z] b85a868b505f: Pulling fs layer [2024-09-11T04:38:48.195Z] e2be974225ed: Pulling fs layer [2024-09-11T04:38:48.195Z] 339a4e72a1f5: Pulling fs layer [2024-09-11T04:38:48.195Z] 988bab9f4d93: Pulling fs layer [2024-09-11T04:38:48.195Z] 1469e6f7b9e6: Pulling fs layer [2024-09-11T04:38:48.195Z] eaf3925da568: Pulling fs layer [2024-09-11T04:38:48.195Z] bab4dde63d76: Pulling fs layer [2024-09-11T04:38:48.195Z] bde34c3a00c8: Pulling fs layer [2024-09-11T04:38:48.195Z] b352a97aabf1: Pulling fs layer [2024-09-11T04:38:48.195Z] 4872d77fe225: Pulling fs layer [2024-09-11T04:38:48.195Z] 5851b861e8e6: Pulling fs layer [2024-09-11T04:38:48.195Z] 988bab9f4d93: Waiting [2024-09-11T04:38:48.195Z] 1469e6f7b9e6: Waiting [2024-09-11T04:38:48.195Z] bde34c3a00c8: Waiting [2024-09-11T04:38:48.195Z] b352a97aabf1: Waiting [2024-09-11T04:38:48.195Z] eaf3925da568: Waiting [2024-09-11T04:38:48.195Z] bab4dde63d76: Waiting [2024-09-11T04:38:48.195Z] 4872d77fe225: Waiting [2024-09-11T04:38:48.195Z] 5851b861e8e6: Waiting [2024-09-11T04:38:48.195Z] e2be974225ed: Verifying Checksum [2024-09-11T04:38:48.195Z] e2be974225ed: Download complete [2024-09-11T04:38:48.195Z] 988bab9f4d93: Verifying Checksum [2024-09-11T04:38:48.195Z] 988bab9f4d93: Download complete [2024-09-11T04:38:48.195Z] 1469e6f7b9e6: Verifying Checksum [2024-09-11T04:38:48.195Z] 1469e6f7b9e6: Download complete [2024-09-11T04:38:48.195Z] 339a4e72a1f5: Verifying Checksum [2024-09-11T04:38:48.195Z] 339a4e72a1f5: Download complete [2024-09-11T04:38:48.195Z] eaf3925da568: Download complete [2024-09-11T04:38:48.454Z] bde34c3a00c8: Verifying Checksum [2024-09-11T04:38:48.454Z] bde34c3a00c8: Download complete [2024-09-11T04:38:48.454Z] b352a97aabf1: Verifying Checksum [2024-09-11T04:38:48.454Z] b352a97aabf1: Download complete [2024-09-11T04:38:48.454Z] 4872d77fe225: Verifying Checksum [2024-09-11T04:38:48.454Z] 4872d77fe225: Download complete [2024-09-11T04:38:48.454Z] 5851b861e8e6: Verifying Checksum [2024-09-11T04:38:48.454Z] 5851b861e8e6: Download complete [2024-09-11T04:38:48.454Z] b85a868b505f: Verifying Checksum [2024-09-11T04:38:48.454Z] b85a868b505f: Download complete [2024-09-11T04:38:48.712Z] bab4dde63d76: Verifying Checksum [2024-09-11T04:38:48.712Z] bab4dde63d76: Download complete [2024-09-11T04:38:49.648Z] b85a868b505f: Pull complete [2024-09-11T04:38:49.648Z] e2be974225ed: Pull complete [2024-09-11T04:38:50.218Z] 339a4e72a1f5: Pull complete [2024-09-11T04:38:50.218Z] 988bab9f4d93: Pull complete [2024-09-11T04:38:50.480Z] 1469e6f7b9e6: Pull complete [2024-09-11T04:38:50.480Z] eaf3925da568: Pull complete [2024-09-11T04:38:52.386Z] bab4dde63d76: Pull complete [2024-09-11T04:38:52.386Z] bde34c3a00c8: Pull complete [2024-09-11T04:38:52.386Z] b352a97aabf1: Pull complete [2024-09-11T04:38:52.386Z] 4872d77fe225: Pull complete [2024-09-11T04:38:52.646Z] 5851b861e8e6: Pull complete [2024-09-11T04:38:52.646Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-11T04:38:52.646Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-11T04:38:52.646Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-11T04:38:52.970Z] prd-ubuntu20.04-docker-8c-8g-10098 does not seem to be running inside a container [2024-09-11T04:38:53.003Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1626 -v /w/workspace/gexfoundry_device-sdk-go_PR-1626:/w/workspace/gexfoundry_device-sdk-go_PR-1626:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-11T04:38:56.365Z] $ docker top cbae087c725cd9fb2f7f5f2f79941183458b8359b1c014e8cd01f681a504b888 -eo pid,comm [2024-09-11T04:38:56.425Z] 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-09-11T04:38:56.425Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-11T04:38:56.593Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-11T04:38:56.593Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-11T04:38:56.709Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-11T04:38:56.711Z] $ docker exec cbae087c725cd9fb2f7f5f2f79941183458b8359b1c014e8cd01f681a504b888 ssh-agent [2024-09-11T04:38:56.837Z] SSH_AUTH_SOCK=/tmp/ssh-J7o77SlNwEon/agent.32 [2024-09-11T04:38:56.837Z] SSH_AGENT_PID=38 [2024-09-11T04:38:56.842Z] Running ssh-add (command line suppressed) [2024-09-11T04:38:56.941Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/private_key_10229032537615305873.key (/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/private_key_10229032537615305873.key) [2024-09-11T04:38:56.957Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-11T04:38:57.361Z] + git tag --points-at HEAD [Pipeline] } [2024-09-11T04:38:57.391Z] $ docker exec --env ******** --env ******** cbae087c725cd9fb2f7f5f2f79941183458b8359b1c014e8cd01f681a504b888 ssh-agent -k [2024-09-11T04:38:57.498Z] unset SSH_AUTH_SOCK; [2024-09-11T04:38:57.498Z] unset SSH_AGENT_PID; [2024-09-11T04:38:57.498Z] echo Agent pid 38 killed; [2024-09-11T04:38:57.511Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-11T04:38:57.644Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-11T04:38:57.644Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-11T04:38:57.766Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-11T04:38:57.768Z] $ docker exec cbae087c725cd9fb2f7f5f2f79941183458b8359b1c014e8cd01f681a504b888 ssh-agent [2024-09-11T04:38:57.897Z] SSH_AUTH_SOCK=/tmp/ssh-j2UD7upimXE1/agent.71 [2024-09-11T04:38:57.897Z] SSH_AGENT_PID=77 [2024-09-11T04:38:57.904Z] Running ssh-add (command line suppressed) [2024-09-11T04:38:58.014Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/private_key_15306863294899463118.key (/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/private_key_15306863294899463118.key) [2024-09-11T04:38:58.035Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-11T04:38:58.394Z] + git semver init [2024-09-11T04:38:58.654Z] 2024-09-11 04:38:58,560 [run_init] DEBUG init version:0.0.0 force:False [2024-09-11T04:38:58.654Z] 2024-09-11 04:38:58,561 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver [2024-09-11T04:38:58.654Z] 2024-09-11 04:38:58,561 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver [2024-09-11T04:38:58.654Z] 2024-09-11 04:38:58,561 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1626, universal_newlines=False, shell=None, istream=None) [2024-09-11T04:39:02.004Z] 2024-09-11 04:39:01,398 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1626/.git/info/exclude [2024-09-11T04:39:02.004Z] 2024-09-11 04:39:01,398 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver/PR-1626 with force:False [2024-09-11T04:39:02.004Z] 2024-09-11 04:39:01,398 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver/PR-1626 [2024-09-11T04:39:02.004Z] 2024-09-11 04:39:01,403 [execute] INFO git cat-file --batch-check [2024-09-11T04:39:02.004Z] 2024-09-11 04:39:01,404 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver, universal_newlines=False, shell=None, istream=) [2024-09-11T04:39:02.004Z] 2024-09-11 04:39:01,408 [execute] INFO git cat-file --batch [2024-09-11T04:39:02.004Z] 2024-09-11 04:39:01,408 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver, universal_newlines=False, shell=None, istream=) [2024-09-11T04:39:02.004Z] 2024-09-11 04:39:01,413 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver/PR-1626 [2024-09-11T04:39:02.004Z] 0.0.0 [Pipeline] } [2024-09-11T04:39:02.039Z] $ docker exec --env ******** --env ******** cbae087c725cd9fb2f7f5f2f79941183458b8359b1c014e8cd01f681a504b888 ssh-agent -k [2024-09-11T04:39:02.152Z] unset SSH_AUTH_SOCK; [2024-09-11T04:39:02.152Z] unset SSH_AGENT_PID; [2024-09-11T04:39:02.152Z] echo Agent pid 77 killed; [2024-09-11T04:39:02.162Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-11T04:39:02.623Z] + git semver [Pipeline] } [2024-09-11T04:39:02.937Z] $ docker stop --time=1 cbae087c725cd9fb2f7f5f2f79941183458b8359b1c014e8cd01f681a504b888 [2024-09-11T04:39:04.280Z] $ docker rm -f --volumes cbae087c725cd9fb2f7f5f2f79941183458b8359b1c014e8cd01f681a504b888 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-11T04:39:04.721Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-11T04:39:05.038Z] Stashed 1 file(s) [Pipeline] echo [2024-09-11T04:39:05.064Z] [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-09-11T04:39:05.858Z] provisioning config files... [2024-09-11T04:39:05.868Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/config16166628676422616896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-11T04:39:06.269Z] ---> ****-login.sh [2024-09-11T04:39:06.269Z] nexus3.edgexfoundry.org:10001 [2024-09-11T04:39:06.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-11T04:39:06.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-11T04:39:06.269Z] Configure a credential helper to remove this warning. See [2024-09-11T04:39:06.269Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-11T04:39:06.269Z] [2024-09-11T04:39:06.269Z] Login Succeeded [2024-09-11T04:39:06.269Z] nexus3.edgexfoundry.org:10002 [2024-09-11T04:39:06.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-11T04:39:06.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-11T04:39:06.269Z] Configure a credential helper to remove this warning. See [2024-09-11T04:39:06.269Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-11T04:39:06.269Z] [2024-09-11T04:39:06.269Z] Login Succeeded [2024-09-11T04:39:06.269Z] nexus3.edgexfoundry.org:10003 [2024-09-11T04:39:06.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-11T04:39:06.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-11T04:39:06.529Z] Configure a credential helper to remove this warning. See [2024-09-11T04:39:06.529Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-11T04:39:06.529Z] [2024-09-11T04:39:06.529Z] Login Succeeded [2024-09-11T04:39:06.529Z] nexus3.edgexfoundry.org:10004 [2024-09-11T04:39:06.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-11T04:39:06.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-11T04:39:06.529Z] Configure a credential helper to remove this warning. See [2024-09-11T04:39:06.529Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-11T04:39:06.529Z] [2024-09-11T04:39:06.529Z] Login Succeeded [2024-09-11T04:39:06.529Z] ****.io [2024-09-11T04:39:06.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-11T04:39:06.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-11T04:39:06.790Z] Configure a credential helper to remove this warning. See [2024-09-11T04:39:06.790Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-11T04:39:06.790Z] [2024-09-11T04:39:06.790Z] Login Succeeded [2024-09-11T04:39:06.790Z] ---> ****-login.sh ends [Pipeline] } [2024-09-11T04:39:06.897Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-11T04:39:07.146Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-11T04:39:07.199Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-11T04:39:07.245Z] ========================================================= [2024-09-11T04:39:07.245Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-09-11T04:39:07.245Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-11T04:39:07.795Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-09-11T04:39:07.795Z] Sending build context to Docker daemon 25.32MB [2024-09-11T04:39:07.795Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-11T04:39:07.795Z] Step 2/10 : FROM ${BASE} AS builder [2024-09-11T04:39:08.074Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-09-11T04:39:08.074Z] 619be1103602: Pulling fs layer [2024-09-11T04:39:08.074Z] 7862e08f4a3e: Pulling fs layer [2024-09-11T04:39:08.074Z] 5df492c9dc93: Pulling fs layer [2024-09-11T04:39:08.074Z] 7629e6793208: Pulling fs layer [2024-09-11T04:39:08.074Z] 4f4fb700ef54: Pulling fs layer [2024-09-11T04:39:08.074Z] fb5054dd5b73: Pulling fs layer [2024-09-11T04:39:08.074Z] eeca6798cff9: Pulling fs layer [2024-09-11T04:39:08.074Z] aa269ceb94a6: Pulling fs layer [2024-09-11T04:39:08.074Z] ada007ff1a6a: Pulling fs layer [2024-09-11T04:39:08.074Z] 7629e6793208: Waiting [2024-09-11T04:39:08.074Z] fb5054dd5b73: Waiting [2024-09-11T04:39:08.074Z] eeca6798cff9: Waiting [2024-09-11T04:39:08.074Z] 4f4fb700ef54: Waiting [2024-09-11T04:39:08.074Z] ada007ff1a6a: Waiting [2024-09-11T04:39:08.074Z] aa269ceb94a6: Waiting [2024-09-11T04:39:08.074Z] 7862e08f4a3e: Download complete [2024-09-11T04:39:08.074Z] 7629e6793208: Verifying Checksum [2024-09-11T04:39:08.074Z] 7629e6793208: Download complete [2024-09-11T04:39:08.074Z] 4f4fb700ef54: Verifying Checksum [2024-09-11T04:39:08.074Z] 4f4fb700ef54: Download complete [2024-09-11T04:39:08.074Z] fb5054dd5b73: Verifying Checksum [2024-09-11T04:39:08.074Z] fb5054dd5b73: Download complete [2024-09-11T04:39:08.074Z] 619be1103602: Download complete [2024-09-11T04:39:08.074Z] eeca6798cff9: Verifying Checksum [2024-09-11T04:39:08.074Z] eeca6798cff9: Download complete [2024-09-11T04:39:08.332Z] 619be1103602: Pull complete [2024-09-11T04:39:08.332Z] ada007ff1a6a: Verifying Checksum [2024-09-11T04:39:08.332Z] ada007ff1a6a: Download complete [2024-09-11T04:39:08.332Z] 7862e08f4a3e: Pull complete [2024-09-11T04:39:08.589Z] 5df492c9dc93: Download complete [2024-09-11T04:39:08.848Z] aa269ceb94a6: Verifying Checksum [2024-09-11T04:39:08.848Z] aa269ceb94a6: Download complete [2024-09-11T04:39:11.377Z] 5df492c9dc93: Pull complete [2024-09-11T04:39:11.636Z] 7629e6793208: Pull complete [2024-09-11T04:39:11.636Z] 4f4fb700ef54: Pull complete [2024-09-11T04:39:11.636Z] fb5054dd5b73: Pull complete [2024-09-11T04:39:11.636Z] eeca6798cff9: Pull complete [2024-09-11T04:39:14.186Z] aa269ceb94a6: Pull complete [2024-09-11T04:39:14.445Z] ada007ff1a6a: Pull complete [2024-09-11T04:39:14.446Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-09-11T04:39:14.446Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-09-11T04:39:14.446Z] ---> f489d0715acc [2024-09-11T04:39:14.446Z] Step 3/10 : ARG MAKE=make build [2024-09-11T04:39:20.611Z] Still waiting to schedule task [2024-09-11T04:39:20.611Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-10100’ is offline [2024-09-11T04:39:22.576Z] ---> Running in c407f8d7b5c1 [2024-09-11T04:39:22.576Z] Removing intermediate container c407f8d7b5c1 [2024-09-11T04:39:22.576Z] ---> 5388e05a3c84 [2024-09-11T04:39:22.576Z] Step 4/10 : WORKDIR /device-sdk-go [2024-09-11T04:39:22.576Z] ---> Running in a812f99863dc [2024-09-11T04:39:22.576Z] Removing intermediate container a812f99863dc [2024-09-11T04:39:22.576Z] ---> f50a60b7c32b [2024-09-11T04:39:22.576Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-11T04:39:22.576Z] ---> Running in 22a5357efd99 [2024-09-11T04:39:22.576Z] Removing intermediate container 22a5357efd99 [2024-09-11T04:39:22.576Z] ---> 33854367d493 [2024-09-11T04:39:22.576Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-09-11T04:39:22.576Z] ---> Running in 4ab42e01c864 [2024-09-11T04:39:22.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-11T04:39:22.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-11T04:39:22.576Z] OK: 264 MiB in 52 packages [2024-09-11T04:39:22.576Z] Removing intermediate container 4ab42e01c864 [2024-09-11T04:39:22.576Z] ---> 3b9a892323dc [2024-09-11T04:39:22.576Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-11T04:39:22.576Z] ---> 3065c5601405 [2024-09-11T04:39:22.576Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-11T04:39:22.576Z] ---> Running in 3f52c2b7cb54 [2024-09-11T04:40:18.813Z] Removing intermediate container 3f52c2b7cb54 [2024-09-11T04:40:18.813Z] ---> e1228c90cb14 [2024-09-11T04:40:18.813Z] Step 9/10 : COPY . . [2024-09-11T04:40:18.813Z] ---> 44c063ec9391 [2024-09-11T04:40:18.813Z] Step 10/10 : RUN ${MAKE} [2024-09-11T04:40:18.813Z] ---> Running in 24392e29c888 [2024-09-11T04:40:18.813Z] noop [2024-09-11T04:40:18.813Z] Removing intermediate container 24392e29c888 [2024-09-11T04:40:18.813Z] ---> 23bf9536f404 [2024-09-11T04:40:18.813Z] Successfully built 23bf9536f404 [2024-09-11T04:40:18.813Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-11T04:40:19.319Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-11T04:40:19.319Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-11T04:40:19.503Z] prd-ubuntu20.04-docker-8c-8g-10098 does not seem to be running inside a container [2024-09-11T04:40:19.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1626 -v /w/workspace/gexfoundry_device-sdk-go_PR-1626:/w/workspace/gexfoundry_device-sdk-go_PR-1626:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-11T04:40:19.889Z] $ docker top 7867fb9ebe6a60989e9aa786f92ffc5446e9900f2609fc257b0f163598298969 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-11T04:40:20.439Z] + go version [2024-09-11T04:40:20.440Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-09-11T04:40:20.477Z] $ docker stop --time=1 7867fb9ebe6a60989e9aa786f92ffc5446e9900f2609fc257b0f163598298969 [2024-09-11T04:40:21.717Z] $ docker rm -f --volumes 7867fb9ebe6a60989e9aa786f92ffc5446e9900f2609fc257b0f163598298969 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-11T04:40:22.511Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-11T04:40:22.511Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-11T04:40:22.680Z] prd-ubuntu20.04-docker-8c-8g-10098 does not seem to be running inside a container [2024-09-11T04:40:22.708Z] $ 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-1626 -v /w/workspace/gexfoundry_device-sdk-go_PR-1626:/w/workspace/gexfoundry_device-sdk-go_PR-1626:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-11T04:40:23.007Z] $ docker top 39f52d90eadb936be5a8a8d57ba7468ed9f67a7ce959312f0bf5793e91febc9b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-11T04:40:23.429Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1626 [Pipeline] fileExists [Pipeline] sh [2024-09-11T04:40:23.801Z] + make test [2024-09-11T04:40:23.802Z] go test -race -coverprofile=coverage.out ./... [2024-09-11T04:40:30.365Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-09-11T04:40:56.890Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-09-11T04:40:56.890Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-09-11T04:40:56.890Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-09-11T04:40:56.890Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-09-11T04:40:56.890Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-09-11T04:40:56.890Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-09-11T04:40:56.890Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-09-11T04:40:56.890Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.022s coverage: 26.0% of statements [2024-09-11T04:40:56.890Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.031s coverage: 79.4% of statements [2024-09-11T04:40:56.890Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.045s coverage: 86.0% of statements [2024-09-11T04:40:56.890Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-09-11T04:40:57.207Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-09-11T04:40:57.207Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-09-11T04:40:57.207Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-09-11T04:40:57.773Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.070s coverage: 45.2% of statements [2024-09-11T04:40:59.689Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-09-11T04:41:01.072Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.030s coverage: 14.4% of statements [2024-09-11T04:41:01.072Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.154s coverage: 44.6% of statements [2024-09-11T04:41:01.072Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.037s coverage: 68.5% of statements [2024-09-11T04:41:01.072Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.085s coverage: 89.2% of statements [2024-09-11T04:41:01.072Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.050s coverage: 5.3% of statements [2024-09-11T04:41:33.157Z] GO111MODULE=on go vet ./... [2024-09-11T04:41:35.688Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-11T04:41:35.688Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-11T04:41:35.688Z] ./bin/test-attribution-txt.sh [2024-09-11T04:41:35.947Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-09-11T04:41:35.947Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-09-11T04:41:36.000Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-11T04:41:36.039Z] $ docker stop --time=1 39f52d90eadb936be5a8a8d57ba7468ed9f67a7ce959312f0bf5793e91febc9b [2024-09-11T04:41:41.729Z] $ docker rm -f --volumes 39f52d90eadb936be5a8a8d57ba7468ed9f67a7ce959312f0bf5793e91febc9b [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-11T04:41:42.385Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10102 in /w/workspace/gexfoundry_device-sdk-go_PR-1626 [Pipeline] { [Pipeline] ws [2024-09-11T04:41:42.461Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [2024-09-11T04:41:42.487Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] checkout [2024-09-11T04:41:42.603Z] Stashed 1 file(s) [Pipeline] } [2024-09-11T04:41:42.662Z] The recommended git tool is: git [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-09-11T04:41:43.480Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-11T04:41:43.800Z] + ls -al . [2024-09-11T04:41:43.800Z] total 384 [2024-09-11T04:41:43.800Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 11 04:40 . [2024-09-11T04:41:43.800Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 04:38 .. [2024-09-11T04:41:43.800Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 11 04:38 .dockerignore [2024-09-11T04:41:43.800Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 04:41 .git [2024-09-11T04:41:43.800Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 04:38 .github [2024-09-11T04:41:43.800Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 11 04:38 .gitignore [2024-09-11T04:41:43.800Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 11 04:38 .golangci.yml [2024-09-11T04:41:43.800Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 04:39 .semver [2024-09-11T04:41:43.800Z] -rw-rw-r-- 1 jenkins jenkins 48109 Sep 11 04:38 CHANGELOG.md [2024-09-11T04:41:43.800Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 04:38 GOVERNANCE.md [2024-09-11T04:41:43.800Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 11 04:38 Jenkinsfile [2024-09-11T04:41:43.800Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 11 04:38 LICENSE [2024-09-11T04:41:43.800Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 11 04:38 Makefile [2024-09-11T04:41:43.800Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 11 04:38 OWNERS.md [2024-09-11T04:41:43.800Z] -rw-rw-r-- 1 jenkins jenkins 4937 Sep 11 04:38 README.md [2024-09-11T04:41:43.800Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 11 04:39 VERSION [2024-09-11T04:41:43.800Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 04:38 bin [2024-09-11T04:41:43.800Z] -rw-r--r-- 1 jenkins jenkins 127940 Sep 11 04:41 coverage.out [2024-09-11T04:41:43.800Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 11 04:38 example [2024-09-11T04:41:43.800Z] -rw-rw-r-- 1 jenkins jenkins 6984 Sep 11 04:38 go.mod [2024-09-11T04:41:43.800Z] -rw-rw-r-- 1 jenkins jenkins 101627 Sep 11 04:38 go.sum [2024-09-11T04:41:43.800Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 11 04:38 internal [2024-09-11T04:41:43.800Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 04:38 openapi [2024-09-11T04:41:43.800Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 11 04:38 pkg [2024-09-11T04:41:43.800Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 04:38 snap [2024-09-11T04:41:43.800Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 11 04:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-11T04:41:44.228Z] + 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=84bab1506d64f738ceaa35eb47361f1b8d059c85 --label arch=amd64 --label version=0.0.0 . [2024-09-11T04:41:44.228Z] Sending build context to Docker daemon 25.44MB [2024-09-11T04:41:44.228Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-09-11T04:41:44.228Z] Step 2/24 : FROM ${BASE} AS builder [2024-09-11T04:41:44.228Z] ---> 23bf9536f404 [2024-09-11T04:41:44.228Z] Step 3/24 : ARG MAKE=make build [2024-09-11T04:41:44.851Z] ---> Running in 8f610a012b61 [2024-09-11T04:41:44.851Z] Removing intermediate container 8f610a012b61 [2024-09-11T04:41:44.851Z] ---> ab6bd3025f65 [2024-09-11T04:41:44.851Z] Step 4/24 : WORKDIR /device-sdk-go [2024-09-11T04:41:44.851Z] ---> Running in 4d50d0c77d00 [2024-09-11T04:41:44.851Z] Removing intermediate container 4d50d0c77d00 [2024-09-11T04:41:44.851Z] ---> b22c6ae408e3 [2024-09-11T04:41:44.851Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-11T04:41:45.108Z] ---> Running in 634444bb9822 [2024-09-11T04:41:45.108Z] Removing intermediate container 634444bb9822 [2024-09-11T04:41:45.108Z] ---> f2436f8e52b0 [2024-09-11T04:41:45.108Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-09-11T04:41:45.108Z] ---> Running in 99f17c3a88b0 [2024-09-11T04:41:45.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-11T04:41:45.623Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-11T04:41:45.881Z] OK: 264 MiB in 52 packages [2024-09-11T04:41:46.138Z] Removing intermediate container 99f17c3a88b0 [2024-09-11T04:41:46.138Z] ---> 6f7a5c72e63b [2024-09-11T04:41:46.138Z] Step 7/24 : COPY go.mod vendor* ./ [2024-09-11T04:41:46.138Z] ---> 72ecb66b642d [2024-09-11T04:41:46.138Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-11T04:41:46.138Z] ---> Running in 0084ebe7eb58 [2024-09-11T04:41:46.702Z] Removing intermediate container 0084ebe7eb58 [2024-09-11T04:41:46.702Z] ---> f2e5886d2781 [2024-09-11T04:41:46.702Z] Step 9/24 : COPY . . [2024-09-11T04:41:47.670Z] ---> 03a84f309f7c [2024-09-11T04:41:47.670Z] Step 10/24 : RUN ${MAKE} [2024-09-11T04:41:47.670Z] ---> Running in e39cd0502107 [2024-09-11T04:41:47.927Z] 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-09-11T04:41:52.580Z] using credential edgex-jenkins-ssh [2024-09-11T04:41:52.616Z] Cloning the remote Git repository [2024-09-11T04:41:52.664Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-09-11T04:41:52.767Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-09-11T04:41:53.067Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-09-11T04:41:53.068Z] > git --version # timeout=10 [2024-09-11T04:41:53.104Z] > git --version # 'git version 2.25.1' [2024-09-11T04:41:53.108Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-11T04:41:53.365Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-11T04:41:57.912Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-09-11T04:41:57.944Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-11T04:41:59.136Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-09-11T04:41:59.184Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-09-11T04:41:59.185Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-11T04:41:59.218Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1626/head:refs/remotes/origin/PR-1626 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-11T04:42:00.341Z] Merging remotes/origin/main commit 224db1e0e192554ed613955b9810071aef8a346e into PR head commit 84bab1506d64f738ceaa35eb47361f1b8d059c85 [2024-09-11T04:42:00.733Z] Merge succeeded, producing 84bab1506d64f738ceaa35eb47361f1b8d059c85 [2024-09-11T04:42:00.734Z] Checking out Revision 84bab1506d64f738ceaa35eb47361f1b8d059c85 (PR-1626) [2024-09-11T04:42:01.579Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2024-09-11T04:42:01.634Z] > git --version # timeout=10 [2024-09-11T04:42:01.648Z] > git --version # 'git version 2.25.1' [2024-09-11T04:42:01.668Z] fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-11T04:42:00.373Z] > git config core.sparsecheckout # timeout=10 [2024-09-11T04:42:00.470Z] > git checkout -f 84bab1506d64f738ceaa35eb47361f1b8d059c85 # timeout=10 [2024-09-11T04:42:00.594Z] > git remote # timeout=10 [2024-09-11T04:42:00.616Z] > git config --get remote.origin.url # timeout=10 [2024-09-11T04:42:00.640Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-11T04:42:00.664Z] > git merge 224db1e0e192554ed613955b9810071aef8a346e # timeout=10 [2024-09-11T04:42:00.701Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-11T04:42:00.735Z] > git config core.sparsecheckout # timeout=10 [2024-09-11T04:42:00.756Z] > git checkout -f 84bab1506d64f738ceaa35eb47361f1b8d059c85 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-11T04:42:07.163Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-11T04:42:07.164Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-11T04:42:07.164Z] Dload Upload Total Spent Left Speed [2024-09-11T04:42:07.164Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 219k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh [2024-09-11T04:42:07.525Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-11T04:42:07.889Z] + sudo tee /etc/docker/daemon.new [2024-09-11T04:42:07.890Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-11T04:42:07.890Z] { [2024-09-11T04:42:07.890Z] "registry-mirrors": [ [2024-09-11T04:42:07.890Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-11T04:42:07.890Z] ], [2024-09-11T04:42:07.890Z] "bip": "10.250.0.254/24", [2024-09-11T04:42:07.890Z] "hosts": [ [2024-09-11T04:42:07.890Z] "tcp://0.0.0.0:5555", [2024-09-11T04:42:07.890Z] "unix:///var/run/docker.sock" [2024-09-11T04:42:07.890Z] ], [2024-09-11T04:42:07.890Z] "mtu": 1458, [2024-09-11T04:42:07.890Z] "selinux-enabled": true, [2024-09-11T04:42:07.890Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-11T04:42:07.890Z] } [Pipeline] sh [2024-09-11T04:42:08.270Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-11T04:42:08.657Z] + sudo service docker restart [2024-09-11T04:42:26.633Z] Removing intermediate container e39cd0502107 [2024-09-11T04:42:26.633Z] ---> a5cff333f087 [2024-09-11T04:42:26.633Z] Step 11/24 : FROM alpine:3.18 [2024-09-11T04:42:26.633Z] 3.18: Pulling from library/alpine [2024-09-11T04:42:26.633Z] 1cc3d825d8b2: Pulling fs layer [2024-09-11T04:42:26.633Z] 1cc3d825d8b2: Download complete [2024-09-11T04:42:26.633Z] 1cc3d825d8b2: Pull complete [2024-09-11T04:42:26.633Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-09-11T04:42:26.633Z] Status: Downloaded newer image for alpine:3.18 [2024-09-11T04:42:26.633Z] ---> 2c64cf60f6f0 [2024-09-11T04:42:26.633Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-09-11T04:42:26.633Z] ---> Running in d02ce71cc4c5 [2024-09-11T04:42:26.633Z] Removing intermediate container d02ce71cc4c5 [2024-09-11T04:42:26.633Z] ---> 4b343c00afaa [2024-09-11T04:42:26.633Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-09-11T04:42:26.633Z] ---> Running in b7eff343cc08 [2024-09-11T04:42:26.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-11T04:42:26.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-11T04:42:26.633Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-11T04:42:26.633Z] Executing busybox-1.36.1-r7.trigger [2024-09-11T04:42:26.633Z] OK: 7 MiB in 16 packages [2024-09-11T04:42:26.633Z] Removing intermediate container b7eff343cc08 [2024-09-11T04:42:26.633Z] ---> 81efe46a49f9 [2024-09-11T04:42:26.633Z] Step 14/24 : RUN apk --no-cache upgrade [2024-09-11T04:42:26.633Z] ---> Running in 71765cdc1127 [2024-09-11T04:42:26.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-11T04:42:26.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-11T04:42:26.633Z] OK: 7 MiB in 16 packages [2024-09-11T04:42:26.633Z] Removing intermediate container 71765cdc1127 [2024-09-11T04:42:26.633Z] ---> 4ebd2fc1f6ff [2024-09-11T04:42:26.633Z] Step 15/24 : WORKDIR / [2024-09-11T04:42:26.633Z] ---> Running in 8ec525bc4a90 [2024-09-11T04:42:26.633Z] Removing intermediate container 8ec525bc4a90 [2024-09-11T04:42:26.633Z] ---> f770cbe8ee19 [2024-09-11T04:42:26.633Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-09-11T04:42:26.633Z] ---> c49626a64f27 [2024-09-11T04:42:26.633Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-09-11T04:42:26.633Z] ---> aef11c448bb3 [2024-09-11T04:42:26.633Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-09-11T04:42:26.633Z] ---> 1eaa863de34c [2024-09-11T04:42:26.633Z] Step 19/24 : EXPOSE 59999 [2024-09-11T04:42:26.633Z] ---> Running in 0822aa1652da [2024-09-11T04:42:26.633Z] Removing intermediate container 0822aa1652da [2024-09-11T04:42:26.633Z] ---> 4a8564575e8b [2024-09-11T04:42:26.633Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-09-11T04:42:26.633Z] ---> Running in 52587f6193f9 [2024-09-11T04:42:26.893Z] Removing intermediate container 52587f6193f9 [2024-09-11T04:42:26.893Z] ---> d1ea1192ab56 [2024-09-11T04:42:26.893Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-11T04:42:26.893Z] ---> Running in eeafe96fe622 [2024-09-11T04:42:26.893Z] Removing intermediate container eeafe96fe622 [2024-09-11T04:42:26.893Z] ---> 5a42c5430194 [2024-09-11T04:42:26.893Z] Step 22/24 : LABEL arch=amd64 [2024-09-11T04:42:26.893Z] ---> Running in f0212c6cf380 [2024-09-11T04:42:26.893Z] Removing intermediate container f0212c6cf380 [2024-09-11T04:42:26.893Z] ---> b99973920d16 [2024-09-11T04:42:26.893Z] Step 23/24 : LABEL git_sha=84bab1506d64f738ceaa35eb47361f1b8d059c85 [2024-09-11T04:42:26.893Z] ---> Running in a677a5eef533 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-11T04:42:27.043Z] provisioning config files... [2024-09-11T04:42:27.078Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2371979693784023055tmp [Pipeline] { [2024-09-11T04:42:27.169Z] Removing intermediate container a677a5eef533 [2024-09-11T04:42:27.169Z] ---> 895612a20656 [2024-09-11T04:42:27.169Z] Step 24/24 : LABEL version=0.0.0 [2024-09-11T04:42:27.169Z] ---> Running in 8225e46a459c [2024-09-11T04:42:27.169Z] Removing intermediate container 8225e46a459c [2024-09-11T04:42:27.169Z] ---> 7fd64dc300cf [2024-09-11T04:42:27.169Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-11T04:42:27.169Z] Successfully built 7fd64dc300cf [2024-09-11T04:42:27.169Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [2024-09-11T04:42:27.675Z] ---> ****-login.sh [2024-09-11T04:42:27.676Z] nexus3.edgexfoundry.org:10001 [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 [2024-09-11T04:42:28.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-11T04:42:28.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-11T04:42:28.263Z] Configure a credential helper to remove this warning. See [2024-09-11T04:42:28.263Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-11T04:42:28.263Z] [2024-09-11T04:42:28.263Z] Login Succeeded [2024-09-11T04:42:28.263Z] nexus3.edgexfoundry.org:10002 [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-11T04:42:28.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-11T04:42:28.688Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-11T04:42:28.688Z] [2024-09-11T04:42:28.688Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-11T04:42:28.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-11T04:42:28.803Z] Configure a credential helper to remove this warning. See [2024-09-11T04:42:28.803Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-11T04:42:28.803Z] [2024-09-11T04:42:28.803Z] Login Succeeded [2024-09-11T04:42:28.803Z] nexus3.edgexfoundry.org:10003 [2024-09-11T04:42:28.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-11T04:42:29.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-11T04:42:29.076Z] Configure a credential helper to remove this warning. See [2024-09-11T04:42:29.076Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-11T04:42:29.076Z] [2024-09-11T04:42:29.076Z] Login Succeeded [2024-09-11T04:42:29.076Z] nexus3.edgexfoundry.org:10004 [2024-09-11T04:42:29.093Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-11T04:42:29.093Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-11T04:42:29.093Z] 5eb5b503b376: Pulling fs layer [2024-09-11T04:42:29.093Z] 5c69ac0246d0: Pulling fs layer [2024-09-11T04:42:29.093Z] ec43610c2a17: Pulling fs layer [2024-09-11T04:42:29.093Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-11T04:42:29.093Z] 33b1e0a273af: Pulling fs layer [2024-09-11T04:42:29.093Z] 5d3b04190fa2: Pulling fs layer [2024-09-11T04:42:29.093Z] 2f39f015ded8: Pulling fs layer [2024-09-11T04:42:29.093Z] 2f39f015ded8: Waiting [2024-09-11T04:42:29.093Z] 33b1e0a273af: Waiting [2024-09-11T04:42:29.093Z] 5d3b04190fa2: Waiting [2024-09-11T04:42:29.093Z] 3a2ae6a8a46f: Waiting [2024-09-11T04:42:29.093Z] 5c69ac0246d0: Verifying Checksum [2024-09-11T04:42:29.093Z] 5c69ac0246d0: Download complete [2024-09-11T04:42:29.093Z] 3a2ae6a8a46f: Verifying Checksum [2024-09-11T04:42:29.093Z] 3a2ae6a8a46f: Download complete [2024-09-11T04:42:29.094Z] 33b1e0a273af: Verifying Checksum [2024-09-11T04:42:29.094Z] 33b1e0a273af: Download complete [2024-09-11T04:42:29.094Z] ec43610c2a17: Verifying Checksum [2024-09-11T04:42:29.094Z] ec43610c2a17: Download complete [2024-09-11T04:42:29.094Z] 5d3b04190fa2: Download complete [2024-09-11T04:42:29.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-11T04:42:29.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-11T04:42:29.345Z] Configure a credential helper to remove this warning. See [2024-09-11T04:42:29.345Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-11T04:42:29.345Z] [2024-09-11T04:42:29.345Z] Login Succeeded [2024-09-11T04:42:29.345Z] ****.io [2024-09-11T04:42:29.352Z] 5eb5b503b376: Download complete [2024-09-11T04:42:29.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-11T04:42:29.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-11T04:42:29.883Z] Configure a credential helper to remove this warning. See [2024-09-11T04:42:29.883Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-11T04:42:29.883Z] [2024-09-11T04:42:29.883Z] Login Succeeded [2024-09-11T04:42:29.883Z] ---> ****-login.sh ends [Pipeline] } [2024-09-11T04:42:29.918Z] 2f39f015ded8: Download complete [2024-09-11T04:42:29.920Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-11T04:42:30.443Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [2024-09-11T04:42:30.484Z] 5eb5b503b376: Pull complete [Pipeline] echo [2024-09-11T04:42:30.497Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-11T04:42:30.569Z] ========================================================= [2024-09-11T04:42:30.569Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-09-11T04:42:30.569Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [2024-09-11T04:42:30.742Z] 5c69ac0246d0: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-11T04:42:31.003Z] ec43610c2a17: Pull complete [2024-09-11T04:42:31.003Z] 3a2ae6a8a46f: Pull complete [2024-09-11T04:42:31.164Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-09-11T04:42:31.271Z] 33b1e0a273af: Pull complete [2024-09-11T04:42:31.529Z] 5d3b04190fa2: Pull complete [2024-09-11T04:42:31.751Z] Sending build context to Docker daemon 13.11MB [2024-09-11T04:42:31.751Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-11T04:42:31.751Z] Step 2/10 : FROM ${BASE} AS builder [2024-09-11T04:42:32.020Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-09-11T04:42:32.020Z] c6b39de5b339: Pulling fs layer [2024-09-11T04:42:32.020Z] a69c41024577: Pulling fs layer [2024-09-11T04:42:32.020Z] d6de4b400683: Pulling fs layer [2024-09-11T04:42:32.020Z] 35cb2a7552d0: Pulling fs layer [2024-09-11T04:42:32.020Z] 4f4fb700ef54: Pulling fs layer [2024-09-11T04:42:32.020Z] 35cb2a7552d0: Waiting [2024-09-11T04:42:32.020Z] 464afbd9ba4c: Pulling fs layer [2024-09-11T04:42:32.020Z] 00f215d4a9da: Pulling fs layer [2024-09-11T04:42:32.020Z] d496ad576159: Pulling fs layer [2024-09-11T04:42:32.020Z] 4f4fb700ef54: Waiting [2024-09-11T04:42:32.020Z] 464afbd9ba4c: Waiting [2024-09-11T04:42:32.020Z] 00f215d4a9da: Waiting [2024-09-11T04:42:32.020Z] d496ad576159: Waiting [2024-09-11T04:42:32.020Z] a69c41024577: Download complete [2024-09-11T04:42:32.020Z] 35cb2a7552d0: Verifying Checksum [2024-09-11T04:42:32.020Z] 35cb2a7552d0: Download complete [2024-09-11T04:42:32.020Z] 4f4fb700ef54: Verifying Checksum [2024-09-11T04:42:32.020Z] 4f4fb700ef54: Download complete [2024-09-11T04:42:32.020Z] c6b39de5b339: Download complete [2024-09-11T04:42:32.289Z] 464afbd9ba4c: Verifying Checksum [2024-09-11T04:42:32.289Z] 464afbd9ba4c: Download complete [2024-09-11T04:42:32.940Z] d496ad576159: Verifying Checksum [2024-09-11T04:42:32.940Z] d496ad576159: Download complete [2024-09-11T04:42:33.530Z] c6b39de5b339: Pull complete [2024-09-11T04:42:34.117Z] a69c41024577: Pull complete [2024-09-11T04:42:34.386Z] d6de4b400683: Verifying Checksum [2024-09-11T04:42:34.386Z] d6de4b400683: Download complete [2024-09-11T04:42:35.802Z] 00f215d4a9da: Verifying Checksum [2024-09-11T04:42:35.802Z] 00f215d4a9da: Download complete [2024-09-11T04:42:39.732Z] 2f39f015ded8: Pull complete [2024-09-11T04:42:41.122Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-11T04:42:41.122Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-11T04:42:41.122Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-11T04:42:41.412Z] prd-ubuntu20.04-docker-8c-8g-10098 does not seem to be running inside a container [2024-09-11T04:42:41.441Z] $ 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-1626 -v /w/workspace/gexfoundry_device-sdk-go_PR-1626:/w/workspace/gexfoundry_device-sdk-go_PR-1626:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-11T04:42:41.679Z] $ docker top 1a152655db8767e815000b34cd08989c1c0b28db18be1f9bea4288146602e48b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-11T04:42:42.172Z] ---> job-cost.sh [2024-09-11T04:42:42.173Z] lf-activate-venv: SKIPPING [2024-09-11T04:42:42.173Z] INFO: No Stack... [2024-09-11T04:42:42.432Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-11T04:42:42.690Z] INFO: Archiving Costs [Pipeline] sh [2024-09-11T04:42:43.010Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1626/archives/cost.csv [2024-09-11T04:42:43.011Z] + cut -d, -f6 [Pipeline] lock [2024-09-11T04:42:43.065Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1626-1-stack-cost] [2024-09-11T04:42:43.071Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1626-1-stack-cost] did not exist. Created. [2024-09-11T04:42:43.078Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1626-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-11T04:42:43.510Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-11T04:42:43.577Z] Stashed 1 file(s) [Pipeline] } [2024-09-11T04:42:43.622Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1626-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-11T04:42:43.726Z] $ docker stop --time=1 1a152655db8767e815000b34cd08989c1c0b28db18be1f9bea4288146602e48b [2024-09-11T04:42:44.883Z] $ docker rm -f --volumes 1a152655db8767e815000b34cd08989c1c0b28db18be1f9bea4288146602e48b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-11T04:42:48.151Z] d6de4b400683: Pull complete [2024-09-11T04:42:48.151Z] 35cb2a7552d0: Pull complete [2024-09-11T04:42:48.151Z] 4f4fb700ef54: Pull complete [2024-09-11T04:42:48.151Z] 464afbd9ba4c: Pull complete [2024-09-11T04:42:58.234Z] 00f215d4a9da: Pull complete [2024-09-11T04:42:59.206Z] d496ad576159: Pull complete [2024-09-11T04:42:59.206Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-09-11T04:42:59.206Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-09-11T04:42:59.206Z] ---> f246e2811388 [2024-09-11T04:42:59.206Z] Step 3/10 : ARG MAKE=make build [2024-09-11T04:43:00.635Z] ---> Running in fac3072ca4bb [2024-09-11T04:43:01.248Z] Removing intermediate container fac3072ca4bb [2024-09-11T04:43:01.248Z] ---> 41a68a8505c0 [2024-09-11T04:43:01.248Z] Step 4/10 : WORKDIR /device-sdk-go [2024-09-11T04:43:01.248Z] ---> Running in ea762aee9d55 [2024-09-11T04:43:01.518Z] Removing intermediate container ea762aee9d55 [2024-09-11T04:43:01.518Z] ---> 1929925541b1 [2024-09-11T04:43:01.518Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-11T04:43:01.788Z] ---> Running in c46719168ac2 [2024-09-11T04:43:02.060Z] Removing intermediate container c46719168ac2 [2024-09-11T04:43:02.060Z] ---> 5e3349362979 [2024-09-11T04:43:02.060Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-09-11T04:43:02.331Z] ---> Running in bcd8f7c002c8 [2024-09-11T04:43:03.764Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-11T04:43:04.353Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-11T04:43:05.325Z] OK: 266 MiB in 52 packages [2024-09-11T04:43:06.292Z] Removing intermediate container bcd8f7c002c8 [2024-09-11T04:43:06.292Z] ---> cd7651d4ea72 [2024-09-11T04:43:06.292Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-11T04:43:06.887Z] ---> 7a79df2ee252 [2024-09-11T04:43:06.887Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-11T04:43:06.887Z] ---> Running in d735628f1e4a [2024-09-11T04:45:17.428Z] Removing intermediate container d735628f1e4a [2024-09-11T04:45:17.428Z] ---> 38909c47f700 [2024-09-11T04:45:17.428Z] Step 9/10 : COPY . . [2024-09-11T04:45:17.428Z] ---> d09f5fd086af [2024-09-11T04:45:17.428Z] Step 10/10 : RUN ${MAKE} [2024-09-11T04:45:17.428Z] ---> Running in 19f2f3c4e041 [2024-09-11T04:45:17.428Z] noop [2024-09-11T04:45:17.428Z] Removing intermediate container 19f2f3c4e041 [2024-09-11T04:45:17.428Z] ---> 0b1e66dc4728 [2024-09-11T04:45:17.428Z] Successfully built 0b1e66dc4728 [2024-09-11T04:45:17.428Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-11T04:45:18.169Z] + docker inspect -f . ci-base-image-arm64 [2024-09-11T04:45:18.169Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-11T04:45:18.487Z] prd-ubuntu20.04-docker-arm64-4c-16g-10102 does not seem to be running inside a container [2024-09-11T04:45:18.555Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-09-11T04:45:19.813Z] $ docker top c9fd2297682a1f8ce10bc87b6586f551b3b72523e1c7506ab842cdddc6eb232c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-11T04:45:20.863Z] + go version [2024-09-11T04:45:20.863Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-09-11T04:45:20.903Z] $ docker stop --time=1 c9fd2297682a1f8ce10bc87b6586f551b3b72523e1c7506ab842cdddc6eb232c [2024-09-11T04:45:22.583Z] $ docker rm -f --volumes c9fd2297682a1f8ce10bc87b6586f551b3b72523e1c7506ab842cdddc6eb232c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-11T04:45:23.666Z] + docker inspect -f . ci-base-image-arm64 [2024-09-11T04:45:23.666Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-11T04:45:23.989Z] prd-ubuntu20.04-docker-arm64-4c-16g-10102 does not seem to be running inside a container [2024-09-11T04:45:24.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-09-11T04:45:25.325Z] $ docker top 595825321ef612554bbab20c28ae6ffb1a4d2ff5bac06726c5e67ad6d6cbe355 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-11T04:45:26.675Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-09-11T04:45:27.396Z] + make test [2024-09-11T04:45:27.396Z] go test -race -coverprofile=coverage.out ./... [2024-09-11T04:46:14.232Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-09-11T04:49:51.018Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-09-11T04:49:51.018Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-09-11T04:49:51.018Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-09-11T04:49:51.018Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-09-11T04:49:51.018Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-09-11T04:49:59.216Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.124s coverage: 26.0% of statements [2024-09-11T04:50:04.564Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.179s coverage: 79.4% of statements [2024-09-11T04:50:12.775Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-09-11T04:50:12.776Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-09-11T04:50:14.192Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.312s coverage: 86.0% of statements [2024-09-11T04:50:22.410Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-09-11T04:50:22.994Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.488s coverage: 45.2% of statements [2024-09-11T04:50:25.570Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.158s coverage: 14.4% of statements [2024-09-11T04:50:25.570Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.836s coverage: 44.6% of statements [2024-09-11T04:50:28.165Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-09-11T04:50:28.165Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-09-11T04:50:28.165Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-09-11T04:50:29.573Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.351s coverage: 68.5% of statements [2024-09-11T04:50:33.844Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.406s coverage: 89.2% of statements [2024-09-11T04:50:37.233Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-09-11T04:50:38.652Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.283s coverage: 5.3% of statements [2024-09-11T04:50:40.066Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-09-11T04:50:40.066Z] GO111MODULE=on go vet ./... [2024-09-11T04:55:01.945Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-11T04:55:01.945Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-11T04:55:01.945Z] ./bin/test-attribution-txt.sh [2024-09-11T04:55:02.529Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-09-11T04:55:02.796Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-09-11T04:55:02.846Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-11T04:55:02.894Z] $ docker stop --time=1 595825321ef612554bbab20c28ae6ffb1a4d2ff5bac06726c5e67ad6d6cbe355 [2024-09-11T04:55:05.025Z] $ docker rm -f --volumes 595825321ef612554bbab20c28ae6ffb1a4d2ff5bac06726c5e67ad6d6cbe355 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-11T04:55:07.860Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-11T04:55:07.906Z] Warning: overwriting stash ‘coverage-report’ [2024-09-11T04:55:08.598Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-11T04:55:09.270Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-11T04:55:09.641Z] + ls -al . [2024-09-11T04:55:09.641Z] total 380 [2024-09-11T04:55:09.641Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 11 04:45 . [2024-09-11T04:55:09.641Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 04:41 .. [2024-09-11T04:55:09.641Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 11 04:42 .dockerignore [2024-09-11T04:55:09.641Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 04:42 .git [2024-09-11T04:55:09.641Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 04:42 .github [2024-09-11T04:55:09.641Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 11 04:42 .gitignore [2024-09-11T04:55:09.641Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 11 04:42 .golangci.yml [2024-09-11T04:55:09.641Z] -rw-rw-r-- 1 jenkins jenkins 48109 Sep 11 04:42 CHANGELOG.md [2024-09-11T04:55:09.641Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 04:42 GOVERNANCE.md [2024-09-11T04:55:09.641Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 11 04:42 Jenkinsfile [2024-09-11T04:55:09.641Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 11 04:42 LICENSE [2024-09-11T04:55:09.641Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 11 04:42 Makefile [2024-09-11T04:55:09.641Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 11 04:42 OWNERS.md [2024-09-11T04:55:09.641Z] -rw-rw-r-- 1 jenkins jenkins 4937 Sep 11 04:42 README.md [2024-09-11T04:55:09.641Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 11 04:39 VERSION [2024-09-11T04:55:09.641Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 04:42 bin [2024-09-11T04:55:09.641Z] -rw-r--r-- 1 jenkins jenkins 127940 Sep 11 04:50 coverage.out [2024-09-11T04:55:09.641Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 11 04:42 example [2024-09-11T04:55:09.641Z] -rw-rw-r-- 1 jenkins jenkins 6984 Sep 11 04:42 go.mod [2024-09-11T04:55:09.641Z] -rw-rw-r-- 1 jenkins jenkins 101627 Sep 11 04:42 go.sum [2024-09-11T04:55:09.641Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 11 04:42 internal [2024-09-11T04:55:09.641Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 04:42 openapi [2024-09-11T04:55:09.641Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 11 04:42 pkg [2024-09-11T04:55:09.641Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 04:42 snap [2024-09-11T04:55:09.641Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 11 04:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-11T04:55:10.104Z] + 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=84bab1506d64f738ceaa35eb47361f1b8d059c85 --label arch=arm64 --label version=0.0.0 . [2024-09-11T04:55:10.689Z] Sending build context to Docker daemon 13.24MB [2024-09-11T04:55:10.689Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-09-11T04:55:10.689Z] Step 2/24 : FROM ${BASE} AS builder [2024-09-11T04:55:10.689Z] ---> 0b1e66dc4728 [2024-09-11T04:55:10.689Z] Step 3/24 : ARG MAKE=make build [2024-09-11T04:55:10.959Z] ---> Running in b2bb613826ae [2024-09-11T04:55:11.229Z] Removing intermediate container b2bb613826ae [2024-09-11T04:55:11.229Z] ---> 5d02e49babe1 [2024-09-11T04:55:11.229Z] Step 4/24 : WORKDIR /device-sdk-go [2024-09-11T04:55:11.229Z] ---> Running in 994629443e04 [2024-09-11T04:55:11.509Z] Removing intermediate container 994629443e04 [2024-09-11T04:55:11.509Z] ---> eed5cbd9c56f [2024-09-11T04:55:11.509Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-11T04:55:11.780Z] ---> Running in dad776d70876 [2024-09-11T04:55:12.051Z] Removing intermediate container dad776d70876 [2024-09-11T04:55:12.051Z] ---> f2447f75c932 [2024-09-11T04:55:12.051Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-09-11T04:55:12.051Z] ---> Running in 49cbc9451758 [2024-09-11T04:55:13.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-11T04:55:13.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-11T04:55:14.710Z] OK: 266 MiB in 52 packages [2024-09-11T04:55:15.677Z] Removing intermediate container 49cbc9451758 [2024-09-11T04:55:15.677Z] ---> bd19f2705c4f [2024-09-11T04:55:15.677Z] Step 7/24 : COPY go.mod vendor* ./ [2024-09-11T04:55:15.950Z] ---> a6ae38a13d97 [2024-09-11T04:55:15.950Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-11T04:55:16.216Z] ---> Running in 6e3e119bca48 [2024-09-11T04:55:18.157Z] Removing intermediate container 6e3e119bca48 [2024-09-11T04:55:18.157Z] ---> 84aef3337643 [2024-09-11T04:55:18.157Z] Step 9/24 : COPY . . [2024-09-11T04:55:20.100Z] ---> 6c9e35180423 [2024-09-11T04:55:20.100Z] Step 10/24 : RUN ${MAKE} [2024-09-11T04:55:20.100Z] ---> Running in ee8547a7b799 [2024-09-11T04:55:21.058Z] 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-09-11T04:59:12.848Z] Removing intermediate container ee8547a7b799 [2024-09-11T04:59:12.848Z] ---> 7e96bd71c751 [2024-09-11T04:59:12.848Z] Step 11/24 : FROM alpine:3.18 [2024-09-11T04:59:12.848Z] 3.18: Pulling from library/alpine [2024-09-11T04:59:12.848Z] 720f3032cd11: Pulling fs layer [2024-09-11T04:59:12.848Z] 720f3032cd11: Verifying Checksum [2024-09-11T04:59:12.848Z] 720f3032cd11: Download complete [2024-09-11T04:59:12.848Z] 720f3032cd11: Pull complete [2024-09-11T04:59:12.848Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-09-11T04:59:12.848Z] Status: Downloaded newer image for alpine:3.18 [2024-09-11T04:59:12.848Z] ---> 3e834921e367 [2024-09-11T04:59:12.848Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-09-11T04:59:12.848Z] ---> Running in 2cee9ecbdd7e [2024-09-11T04:59:12.848Z] Removing intermediate container 2cee9ecbdd7e [2024-09-11T04:59:12.848Z] ---> 842326054570 [2024-09-11T04:59:12.848Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-09-11T04:59:12.848Z] ---> Running in 42552e29dcc1 [2024-09-11T04:59:12.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-11T04:59:12.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-11T04:59:12.848Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-11T04:59:12.848Z] Executing busybox-1.36.1-r7.trigger [2024-09-11T04:59:12.848Z] OK: 8 MiB in 16 packages [2024-09-11T04:59:12.848Z] Removing intermediate container 42552e29dcc1 [2024-09-11T04:59:12.848Z] ---> 4259ca93c67b [2024-09-11T04:59:12.848Z] Step 14/24 : RUN apk --no-cache upgrade [2024-09-11T04:59:12.848Z] ---> Running in 9e4ea0b042a4 [2024-09-11T04:59:12.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-11T04:59:12.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-11T04:59:12.848Z] OK: 8 MiB in 16 packages [2024-09-11T04:59:12.848Z] Removing intermediate container 9e4ea0b042a4 [2024-09-11T04:59:12.848Z] ---> e79215c8571e [2024-09-11T04:59:12.848Z] Step 15/24 : WORKDIR / [2024-09-11T04:59:12.848Z] ---> Running in b414226d86a8 [2024-09-11T04:59:12.848Z] Removing intermediate container b414226d86a8 [2024-09-11T04:59:12.848Z] ---> fbcef3f0667a [2024-09-11T04:59:12.848Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-09-11T04:59:12.848Z] ---> b203830fb925 [2024-09-11T04:59:12.848Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-09-11T04:59:12.848Z] ---> 06f5e9f168d9 [2024-09-11T04:59:12.848Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-09-11T04:59:12.848Z] ---> 5fc238df0eb7 [2024-09-11T04:59:12.848Z] Step 19/24 : EXPOSE 59999 [2024-09-11T04:59:12.848Z] ---> Running in 6b47f055b7ea [2024-09-11T04:59:12.848Z] Removing intermediate container 6b47f055b7ea [2024-09-11T04:59:12.848Z] ---> e71d4a0c7165 [2024-09-11T04:59:12.848Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-09-11T04:59:12.848Z] ---> Running in a32c66852036 [2024-09-11T04:59:12.848Z] Removing intermediate container a32c66852036 [2024-09-11T04:59:12.848Z] ---> eb2c41337b01 [2024-09-11T04:59:12.848Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-11T04:59:12.848Z] ---> Running in 5d896a905eb8 [2024-09-11T04:59:12.848Z] Removing intermediate container 5d896a905eb8 [2024-09-11T04:59:12.848Z] ---> 53b078f9bf4f [2024-09-11T04:59:12.848Z] Step 22/24 : LABEL arch=arm64 [2024-09-11T04:59:12.848Z] ---> Running in 9f2bb8bba119 [2024-09-11T04:59:12.848Z] Removing intermediate container 9f2bb8bba119 [2024-09-11T04:59:12.848Z] ---> d5382475c726 [2024-09-11T04:59:12.848Z] Step 23/24 : LABEL git_sha=84bab1506d64f738ceaa35eb47361f1b8d059c85 [2024-09-11T04:59:12.848Z] ---> Running in fa42b8487298 [2024-09-11T04:59:12.848Z] Removing intermediate container fa42b8487298 [2024-09-11T04:59:12.848Z] ---> 0553847078ec [2024-09-11T04:59:12.848Z] Step 24/24 : LABEL version=0.0.0 [2024-09-11T04:59:12.848Z] ---> Running in 3b0b0bb7f858 [2024-09-11T04:59:12.848Z] Removing intermediate container 3b0b0bb7f858 [2024-09-11T04:59:12.848Z] ---> 79dab8ba845f [2024-09-11T04:59:12.848Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-11T04:59:12.848Z] Successfully built 79dab8ba845f [2024-09-11T04:59:12.848Z] 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-09-11T04:59:13.909Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-11T04:59:13.909Z] [2024-09-11T04:59:13.909Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-11T04:59:14.352Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-11T04:59:14.622Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-11T04:59:14.622Z] 8998bd30e6a1: Pulling fs layer [2024-09-11T04:59:14.622Z] 04944245beec: Pulling fs layer [2024-09-11T04:59:14.622Z] 699f458cf7ca: Pulling fs layer [2024-09-11T04:59:14.622Z] 765212b225bb: Pulling fs layer [2024-09-11T04:59:14.622Z] f23df028b6ca: Pulling fs layer [2024-09-11T04:59:14.622Z] d65c8cfc05b1: Pulling fs layer [2024-09-11T04:59:14.622Z] 2437ff75d9bd: Pulling fs layer [2024-09-11T04:59:14.622Z] 765212b225bb: Waiting [2024-09-11T04:59:14.622Z] f23df028b6ca: Waiting [2024-09-11T04:59:14.622Z] d65c8cfc05b1: Waiting [2024-09-11T04:59:14.622Z] 2437ff75d9bd: Waiting [2024-09-11T04:59:14.622Z] 04944245beec: Verifying Checksum [2024-09-11T04:59:14.622Z] 04944245beec: Download complete [2024-09-11T04:59:14.622Z] 765212b225bb: Verifying Checksum [2024-09-11T04:59:14.622Z] 765212b225bb: Download complete [2024-09-11T04:59:14.622Z] f23df028b6ca: Verifying Checksum [2024-09-11T04:59:14.622Z] f23df028b6ca: Download complete [2024-09-11T04:59:14.622Z] d65c8cfc05b1: Verifying Checksum [2024-09-11T04:59:14.622Z] d65c8cfc05b1: Download complete [2024-09-11T04:59:14.891Z] 699f458cf7ca: Download complete [2024-09-11T04:59:15.160Z] 8998bd30e6a1: Verifying Checksum [2024-09-11T04:59:15.160Z] 8998bd30e6a1: Download complete [2024-09-11T04:59:17.836Z] 2437ff75d9bd: Verifying Checksum [2024-09-11T04:59:17.836Z] 2437ff75d9bd: Download complete [2024-09-11T04:59:19.816Z] 8998bd30e6a1: Pull complete [2024-09-11T04:59:20.407Z] 04944245beec: Pull complete [2024-09-11T04:59:22.391Z] 699f458cf7ca: Pull complete [2024-09-11T04:59:22.391Z] 765212b225bb: Pull complete [2024-09-11T04:59:23.350Z] f23df028b6ca: Pull complete [2024-09-11T04:59:23.350Z] d65c8cfc05b1: Pull complete [2024-09-11T04:59:41.541Z] 2437ff75d9bd: Pull complete [2024-09-11T04:59:41.541Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-11T04:59:41.541Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-11T04:59:41.541Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-11T04:59:41.873Z] prd-ubuntu20.04-docker-arm64-4c-16g-10102 does not seem to be running inside a container [2024-09-11T04:59:41.940Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-09-11T04:59:44.541Z] $ docker top e8ffb2f1a5408d88ccdb942d24c5d32f3ecbf845079c9667d667faabd0482c5d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-11T04:59:45.459Z] ---> job-cost.sh [2024-09-11T04:59:45.459Z] lf-activate-venv: SKIPPING [2024-09-11T04:59:45.459Z] INFO: No Stack... [2024-09-11T04:59:45.724Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-11T04:59:46.675Z] INFO: Archiving Costs [Pipeline] sh [2024-09-11T04:59:47.332Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-09-11T04:59:47.332Z] + cut -d, -f6 [Pipeline] lock [2024-09-11T04:59:47.393Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1626-1-stack-cost] [2024-09-11T04:59:47.398Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1626-1-stack-cost] did not exist. Created. [2024-09-11T04:59:47.405Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1626-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-11T04:59:47.845Z] /w/workspace/device-sdk-go/1@tmp/durable-024d499b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-11T04:59:48.773Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-11T04:59:48.819Z] Warning: overwriting stash ‘stack-cost’ [2024-09-11T04:59:48.893Z] Stashed 1 file(s) [Pipeline] } [2024-09-11T04:59:48.918Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1626-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-11T04:59:49.016Z] $ docker stop --time=1 e8ffb2f1a5408d88ccdb942d24c5d32f3ecbf845079c9667d667faabd0482c5d [2024-09-11T04:59:50.513Z] $ docker rm -f --volumes e8ffb2f1a5408d88ccdb942d24c5d32f3ecbf845079c9667d667faabd0482c5d [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-09-11T04:59:51.664Z] provisioning config files... [2024-09-11T04:59:51.672Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/config3791233599486121028tmp [Pipeline] { [Pipeline] sh [2024-09-11T04:59:52.028Z] + set +x [2024-09-11T04:59:52.028Z] + bash -s -- [2024-09-11T04:59:52.028Z] + curl -s https://codecov.io/bash [2024-09-11T04:59:52.028Z] [2024-09-11T04:59:52.028Z] _____ _ [2024-09-11T04:59:52.028Z] / ____| | | [2024-09-11T04:59:52.028Z] | | ___ __| | ___ ___ _____ __ [2024-09-11T04:59:52.028Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-09-11T04:59:52.028Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-09-11T04:59:52.028Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-09-11T04:59:52.028Z] Bash-1.0.6 [2024-09-11T04:59:52.028Z] [2024-09-11T04:59:52.028Z] [2024-09-11T04:59:52.028Z] ==> git version 2.25.1 found [2024-09-11T04:59:52.028Z] ==> 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-09-11T04:59:52.028Z] Release-Date: 2020-01-08 [2024-09-11T04:59:52.028Z] 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-09-11T04:59:52.028Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-09-11T04:59:52.028Z] ==> Jenkins CI detected. [2024-09-11T04:59:52.028Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1626 [2024-09-11T04:59:52.028Z] project root: . [2024-09-11T04:59:52.028Z] --> token set from env [2024-09-11T04:59:52.029Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-09-11T04:59:52.029Z] ==> Running gcov in . (disable via -X gcov) [2024-09-11T04:59:52.029Z] ==> Python coveragepy not found [2024-09-11T04:59:52.029Z] ==> Searching for coverage reports in: [2024-09-11T04:59:52.029Z] + . [2024-09-11T04:59:52.029Z] -> Found 1 reports [2024-09-11T04:59:52.029Z] ==> Detecting git/mercurial file structure [2024-09-11T04:59:52.029Z] ==> Reading reports [2024-09-11T04:59:52.029Z] + ./coverage.out bytes=127940 [2024-09-11T04:59:52.029Z] ==> Appending adjustments [2024-09-11T04:59:52.029Z] https://docs.codecov.io/docs/fixing-reports [2024-09-11T04:59:52.646Z] + Found adjustments [2024-09-11T04:59:52.646Z] ==> Gzipping contents [2024-09-11T04:59:52.646Z] 20K /tmp/codecov.x9FzP0.gz [2024-09-11T04:59:52.646Z] ==> Uploading reports [2024-09-11T04:59:52.646Z] url: https://codecov.io [2024-09-11T04:59:52.646Z] query: branch=PR-1626&commit=84bab1506d64f738ceaa35eb47361f1b8d059c85&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1626%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1626&job=&cmd_args= [2024-09-11T04:59:52.646Z] -> Pinging Codecov [2024-09-11T04:59:52.646Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1626&commit=84bab1506d64f738ceaa35eb47361f1b8d059c85&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1626%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1626&job=&cmd_args= [2024-09-11T04:59:52.646Z] -> Uploading to [2024-09-11T04:59:52.646Z] https://storage.googleapis.com/codecov/v4/raw/2024-09-11/7E55EF52A471D76F132DFD9A03CDDE97/84bab1506d64f738ceaa35eb47361f1b8d059c85/d6287727-0718-4fbe-b150-9d26d21b52a1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240911%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240911T045952Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e3a49a9d5b53ce5126079b409027d682fb4e29a4745bafdce7e8bd5cb98b6348 [2024-09-11T04:59:52.646Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-11T04:59:52.646Z] Dload Upload Total Spent Left Speed [2024-09-11T04:59:52.941Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17671 0 0 100 17671 0 76497 --:--:-- --:--:-- --:--:-- 76497 [2024-09-11T04:59:52.941Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/84bab1506d64f738ceaa35eb47361f1b8d059c85 [Pipeline] } [2024-09-11T04:59:52.985Z] 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-09-11T04:59:55.276Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1626/archives ] [2024-09-11T04:59:55.276Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1626/archives [2024-09-11T04:59:55.276Z] total 16 [2024-09-11T04:59:55.276Z] drwxr-xr-x 3 root root 4096 Sep 11 04:42 . [2024-09-11T04:59:55.276Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 11 04:42 .. [2024-09-11T04:59:55.276Z] drwxr-xr-x 2 root root 4096 Sep 11 04:42 cost [2024-09-11T04:59:55.276Z] -rw-r--r-- 1 root root 86 Sep 11 04:42 cost.csv [2024-09-11T04:59:55.276Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1626/archives [2024-09-11T04:59:55.276Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1626/archives [2024-09-11T04:59:55.276Z] total 16 [2024-09-11T04:59:55.276Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 04:42 . [2024-09-11T04:59:55.276Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 11 04:42 .. [2024-09-11T04:59:55.276Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 11 04:42 cost [2024-09-11T04:59:55.276Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 11 04:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-11T04:59:55.634Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-11T04:59:56.534Z] ---> package-listing.sh [2024-09-11T04:59:56.534Z] ++ facter osfamily [2024-09-11T04:59:56.534Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-11T04:59:56.793Z] + OS_FAMILY=debian [2024-09-11T04:59:56.793Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1626 [2024-09-11T04:59:56.793Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-11T04:59:56.793Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-11T04:59:56.793Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-11T04:59:56.793Z] + PACKAGES=/tmp/packages_start.txt [2024-09-11T04:59:56.793Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1626 ']' [2024-09-11T04:59:56.793Z] + PACKAGES=/tmp/packages_end.txt [2024-09-11T04:59:56.793Z] + case "${OS_FAMILY}" in [2024-09-11T04:59:56.793Z] + dpkg -l [2024-09-11T04:59:56.793Z] + grep '^ii' [2024-09-11T04:59:56.793Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-11T04:59:56.793Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-11T04:59:56.793Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-11T04:59:56.793Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1626 ']' [2024-09-11T04:59:56.793Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1626/archives/ [2024-09-11T04:59:56.793Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1626/archives/ [Pipeline] echo [2024-09-11T04:59:56.833Z] 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-1626/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-11T04:59:57.131Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-11T04:59:57.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-11T04:59:57.785Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-11T04:59:57.960Z] prd-ubuntu20.04-docker-8c-8g-10098 does not seem to be running inside a container [2024-09-11T04:59:57.990Z] $ 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-1626/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-1626 -v /w/workspace/gexfoundry_device-sdk-go_PR-1626:/w/workspace/gexfoundry_device-sdk-go_PR-1626:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-11T04:59:58.229Z] $ docker top 0ee834824de072b2cba6fb4b3101188e689a3903c6134339a13ea56a6082e3fb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-11T04:59:58.626Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-11T04:59:58.945Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-11T04:59:59.266Z] + ls /var/log/sa-host [2024-09-11T04:59:59.266Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-11T04:59:59.415Z] provisioning config files... [2024-09-11T04:59:59.423Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/config13806478475767271138tmp [Pipeline] { [Pipeline] echo [2024-09-11T04:59:59.492Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-11T04:59:59.814Z] ---> create-netrc.sh [Pipeline] } [2024-09-11T04:59:59.846Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-11T05:00:00.259Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-11T05:00:00.296Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-11T05:00:00.617Z] ---> sudo-logs.sh [2024-09-11T05:00:00.617Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-11T05:00:00.722Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-11T05:00:01.047Z] ---> job-cost.sh [2024-09-11T05:00:01.047Z] lf-activate-venv: SKIPPING [2024-09-11T05:00:01.047Z] DEBUG: total: 0.2199999988079071 [2024-09-11T05:00:01.047Z] INFO: Retrieving Stack Cost... [2024-09-11T05:00:01.307Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-11T05:00:01.875Z] INFO: Archiving Costs [Pipeline] echo [2024-09-11T05:00:01.919Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-11T05:00:02.270Z] ---> logs-deploy.sh [2024-09-11T05:00:02.270Z] lf-activate-venv: SKIPPING [2024-09-11T05:00:02.270Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1626/1 [2024-09-11T05:00:02.270Z] INFO: archiving workspace using pattern(s): [2024-09-11T05:00:03.208Z] Archives upload complete. [2024-09-11T05:00:03.208Z] INFO: archiving logs to Nexus