Pull request #1616 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 3e6ea3748ded273ffde4075f5b9e91a329ef63b3+a573d62abfd76acfce2b94ed3564a5c4c2542b9a (939efb5de3899681690274dd0a40f737b5e05066) 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-ssh10081777474330119744.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-ssh1971815271937708945.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-1616/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-1616/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8348250422577141303.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-1616/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1552551216907511889.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-ssh8486857384176521557.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-1616/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-1616/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18152664634968230216.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8726 in /w/workspace/gexfoundry_device-sdk-go_PR-1616 [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-1616 # 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 Merging remotes/origin/main commit a573d62abfd76acfce2b94ed3564a5c4c2542b9a into PR head commit 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 > 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/1616/head:refs/remotes/origin/PR-1616 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 # timeout=10 Merge succeeded, producing 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 Checking out Revision 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 (PR-1616) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a573d62abfd76acfce2b94ed3564a5c4c2542b9a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 # timeout=10 Commit message: "feat: Publish System Events for device discovery and profile scan progress" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-27T01:58:37.229Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-27T01:58:37.469Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-27T01:58:37.578Z] ========================================================= [2024-08-27T01:58:37.578Z] EdgeX Global Pipelines Version Info [2024-08-27T01:58:37.578Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-27T01:58:38.375Z] ------------------- [2024-08-27T01:58:38.375Z] stable info: [2024-08-27T01:58:38.375Z] ------------------- [2024-08-27T01:58:38.375Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-08-27T01:58:38.375Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-27T01:58:38.375Z] Message: update stable to v1.0.263 [2024-08-27T01:58:38.949Z] ------------------- [2024-08-27T01:58:38.949Z] experimental info: [2024-08-27T01:58:38.949Z] ------------------- [2024-08-27T01:58:38.950Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-08-27T01:58:38.950Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-27T01:58:38.950Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-27T01:58:39.201Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-08-27T01:58:39.276Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-08-27T01:58:39.339Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-27T01:58:39.392Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-27T01:58:39.454Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-27T01:58:39.520Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-27T01:58:39.581Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-27T01:58:39.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-08-27T01:58:39.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-27T01:58:39.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-27T01:58:39.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-27T01:58:39.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-08-27T01:58:39.964Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-27T01:58:40.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-27T01:58:40.092Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-27T01:58:40.153Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-08-27T01:58:40.219Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-27T01:58:40.287Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-27T01:58:40.352Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-27T01:58:40.416Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-27T01:58:40.476Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-08-27T01:58:40.544Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-08-27T01:58:40.605Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-27T01:58:40.666Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-27T01:58:40.730Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-27T01:58:40.797Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-27T01:58:40.860Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-27T01:58:40.921Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1616 [Pipeline] echo [2024-08-27T01:58:40.982Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1616 [Pipeline] echo [2024-08-27T01:58:41.040Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1616 [Pipeline] echo [2024-08-27T01:58:41.105Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 [Pipeline] echo [2024-08-27T01:58:41.181Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e6ea37 [Pipeline] echo [2024-08-27T01:58:41.241Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-27T01:58:41.408Z] provisioning config files... [2024-08-27T01:58:41.422Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/config6117775243981947905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-27T01:58:41.828Z] ---> ****-login.sh [2024-08-27T01:58:41.828Z] nexus3.edgexfoundry.org:10001 [2024-08-27T01:58:42.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T01:58:42.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T01:58:42.089Z] Configure a credential helper to remove this warning. See [2024-08-27T01:58:42.089Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T01:58:42.089Z] [2024-08-27T01:58:42.089Z] Login Succeeded [2024-08-27T01:58:42.089Z] nexus3.edgexfoundry.org:10002 [2024-08-27T01:58:42.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T01:58:42.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T01:58:42.349Z] Configure a credential helper to remove this warning. See [2024-08-27T01:58:42.349Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T01:58:42.349Z] [2024-08-27T01:58:42.349Z] Login Succeeded [2024-08-27T01:58:42.349Z] nexus3.edgexfoundry.org:10003 [2024-08-27T01:58:42.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T01:58:42.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T01:58:42.349Z] Configure a credential helper to remove this warning. See [2024-08-27T01:58:42.350Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T01:58:42.350Z] [2024-08-27T01:58:42.350Z] Login Succeeded [2024-08-27T01:58:42.350Z] nexus3.edgexfoundry.org:10004 [2024-08-27T01:58:42.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T01:58:42.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T01:58:42.611Z] Configure a credential helper to remove this warning. See [2024-08-27T01:58:42.611Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T01:58:42.611Z] [2024-08-27T01:58:42.611Z] Login Succeeded [2024-08-27T01:58:42.611Z] ****.io [2024-08-27T01:58:42.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T01:58:42.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T01:58:42.872Z] Configure a credential helper to remove this warning. See [2024-08-27T01:58:42.872Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T01:58:42.872Z] [2024-08-27T01:58:42.872Z] Login Succeeded [2024-08-27T01:58:42.872Z] ---> ****-login.sh ends [Pipeline] } [2024-08-27T01:58:42.904Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-27T01:58:43.720Z] + git rev-list -1 --merges 3e6ea3748ded273ffde4075f5b9e91a329ef63b3~1..3e6ea3748ded273ffde4075f5b9e91a329ef63b3 [Pipeline] echo [2024-08-27T01:58:43.774Z] -----------> git rev-list -1 --merges 3e6ea3748ded273ffde4075f5b9e91a329ef63b3~1..3e6ea3748ded273ffde4075f5b9e91a329ef63b3 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 [false] [Pipeline] sh [2024-08-27T01:58:44.103Z] + git log --format=format:%s -1 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 [Pipeline] echo [2024-08-27T01:58:44.156Z] ========================================================= [2024-08-27T01:58:44.156Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-27T01:58:44.156Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-27T01:58:44.644Z] + git log --format=format:%s -1 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 [Pipeline] echo [2024-08-27T01:58:44.687Z] [semverPrep] GIT_COMMIT: 3e6ea3748ded273ffde4075f5b9e91a329ef63b3, Commit Message: feat: Publish System Events for device discovery and profile scan progress [Pipeline] echo [2024-08-27T01:58:44.741Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-27T01:58:45.170Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-27T01:58:45.170Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-27T01:58:45.170Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-27T01:58:45.170Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-27T01:58:45.170Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-27T01:58:45.170Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-27T01:58:45.170Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T01:58:45.639Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-27T01:58:45.639Z] [2024-08-27T01:58:45.639Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T01:58:46.072Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-27T01:58:46.072Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-27T01:58:46.072Z] b85a868b505f: Pulling fs layer [2024-08-27T01:58:46.072Z] e2be974225ed: Pulling fs layer [2024-08-27T01:58:46.072Z] 339a4e72a1f5: Pulling fs layer [2024-08-27T01:58:46.072Z] 988bab9f4d93: Pulling fs layer [2024-08-27T01:58:46.072Z] 1469e6f7b9e6: Pulling fs layer [2024-08-27T01:58:46.072Z] eaf3925da568: Pulling fs layer [2024-08-27T01:58:46.072Z] bab4dde63d76: Pulling fs layer [2024-08-27T01:58:46.072Z] bde34c3a00c8: Pulling fs layer [2024-08-27T01:58:46.072Z] b352a97aabf1: Pulling fs layer [2024-08-27T01:58:46.072Z] 4872d77fe225: Pulling fs layer [2024-08-27T01:58:46.072Z] 5851b861e8e6: Pulling fs layer [2024-08-27T01:58:46.072Z] bab4dde63d76: Waiting [2024-08-27T01:58:46.072Z] 1469e6f7b9e6: Waiting [2024-08-27T01:58:46.072Z] bde34c3a00c8: Waiting [2024-08-27T01:58:46.072Z] eaf3925da568: Waiting [2024-08-27T01:58:46.072Z] 4872d77fe225: Waiting [2024-08-27T01:58:46.072Z] b352a97aabf1: Waiting [2024-08-27T01:58:46.072Z] 988bab9f4d93: Waiting [2024-08-27T01:58:46.072Z] 5851b861e8e6: Waiting [2024-08-27T01:58:46.072Z] e2be974225ed: Verifying Checksum [2024-08-27T01:58:46.072Z] e2be974225ed: Download complete [2024-08-27T01:58:46.072Z] 988bab9f4d93: Verifying Checksum [2024-08-27T01:58:46.072Z] 988bab9f4d93: Download complete [2024-08-27T01:58:46.072Z] 339a4e72a1f5: Verifying Checksum [2024-08-27T01:58:46.072Z] 339a4e72a1f5: Download complete [2024-08-27T01:58:46.333Z] eaf3925da568: Verifying Checksum [2024-08-27T01:58:46.333Z] eaf3925da568: Download complete [2024-08-27T01:58:46.333Z] 1469e6f7b9e6: Verifying Checksum [2024-08-27T01:58:46.333Z] 1469e6f7b9e6: Download complete [2024-08-27T01:58:46.333Z] bde34c3a00c8: Verifying Checksum [2024-08-27T01:58:46.333Z] bde34c3a00c8: Download complete [2024-08-27T01:58:46.333Z] b352a97aabf1: Verifying Checksum [2024-08-27T01:58:46.333Z] b352a97aabf1: Download complete [2024-08-27T01:58:46.333Z] 4872d77fe225: Download complete [2024-08-27T01:58:46.333Z] 5851b861e8e6: Verifying Checksum [2024-08-27T01:58:46.333Z] 5851b861e8e6: Download complete [2024-08-27T01:58:46.333Z] b85a868b505f: Verifying Checksum [2024-08-27T01:58:46.333Z] b85a868b505f: Download complete [2024-08-27T01:58:46.594Z] bab4dde63d76: Verifying Checksum [2024-08-27T01:58:46.594Z] bab4dde63d76: Download complete [2024-08-27T01:58:47.974Z] b85a868b505f: Pull complete [2024-08-27T01:58:47.974Z] e2be974225ed: Pull complete [2024-08-27T01:58:48.234Z] 339a4e72a1f5: Pull complete [2024-08-27T01:58:48.234Z] 988bab9f4d93: Pull complete [2024-08-27T01:58:48.495Z] 1469e6f7b9e6: Pull complete [2024-08-27T01:58:48.754Z] eaf3925da568: Pull complete [2024-08-27T01:58:50.665Z] bab4dde63d76: Pull complete [2024-08-27T01:58:50.665Z] bde34c3a00c8: Pull complete [2024-08-27T01:58:50.665Z] b352a97aabf1: Pull complete [2024-08-27T01:58:50.665Z] 4872d77fe225: Pull complete [2024-08-27T01:58:50.665Z] 5851b861e8e6: Pull complete [2024-08-27T01:58:50.925Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-27T01:58:50.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-27T01:58:50.925Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T01:58:51.271Z] prd-ubuntu20.04-docker-8c-8g-8726 does not seem to be running inside a container [2024-08-27T01:58:51.301Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1616 -v /w/workspace/gexfoundry_device-sdk-go_PR-1616:/w/workspace/gexfoundry_device-sdk-go_PR-1616:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1616@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-devops/py-git-semver:0.1.4 cat [2024-08-27T01:58:54.057Z] $ docker top 0613e8d53d4a43059d0520a5a57fba07174b0dc298055d50243b1884f6f34593 -eo pid,comm [2024-08-27T01:58:54.118Z] 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-08-27T01:58:54.118Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-27T01:58:54.298Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-27T01:58:54.298Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-27T01:58:54.416Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-27T01:58:54.418Z] $ docker exec 0613e8d53d4a43059d0520a5a57fba07174b0dc298055d50243b1884f6f34593 ssh-agent [2024-08-27T01:58:54.533Z] SSH_AUTH_SOCK=/tmp/ssh-tGcxzIwyIEBJ/agent.31 [2024-08-27T01:58:54.533Z] SSH_AGENT_PID=36 [2024-08-27T01:58:54.539Z] Running ssh-add (command line suppressed) [2024-08-27T01:58:54.644Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/private_key_17946681114642043940.key (/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/private_key_17946681114642043940.key) [2024-08-27T01:58:54.661Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-27T01:58:55.021Z] + git tag --points-at HEAD [Pipeline] } [2024-08-27T01:58:55.051Z] $ docker exec --env ******** --env ******** 0613e8d53d4a43059d0520a5a57fba07174b0dc298055d50243b1884f6f34593 ssh-agent -k [2024-08-27T01:58:55.155Z] unset SSH_AUTH_SOCK; [2024-08-27T01:58:55.156Z] unset SSH_AGENT_PID; [2024-08-27T01:58:55.156Z] echo Agent pid 36 killed; [2024-08-27T01:58:55.165Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-27T01:58:55.286Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-27T01:58:55.286Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-27T01:58:55.390Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-27T01:58:55.393Z] $ docker exec 0613e8d53d4a43059d0520a5a57fba07174b0dc298055d50243b1884f6f34593 ssh-agent [2024-08-27T01:58:55.487Z] SSH_AUTH_SOCK=/tmp/ssh-2tqs65ls5uzA/agent.69 [2024-08-27T01:58:55.487Z] SSH_AGENT_PID=75 [2024-08-27T01:58:55.491Z] Running ssh-add (command line suppressed) [2024-08-27T01:58:55.582Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/private_key_7601906104141905916.key (/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/private_key_7601906104141905916.key) [2024-08-27T01:58:55.595Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-27T01:58:55.941Z] + git semver init [2024-08-27T01:58:56.201Z] 2024-08-27 01:58:56,116 [run_init] DEBUG init version:0.0.0 force:False [2024-08-27T01:58:56.201Z] 2024-08-27 01:58:56,116 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver [2024-08-27T01:58:56.201Z] 2024-08-27 01:58:56,117 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver [2024-08-27T01:58:56.201Z] 2024-08-27 01:58:56,117 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1616, universal_newlines=False, shell=None, istream=None) [2024-08-27T01:58:58.742Z] 2024-08-27 01:58:58,135 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1616/.git/info/exclude [2024-08-27T01:58:58.742Z] 2024-08-27 01:58:58,136 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver/PR-1616 with force:False [2024-08-27T01:58:58.742Z] 2024-08-27 01:58:58,136 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver/PR-1616 [2024-08-27T01:58:58.742Z] 2024-08-27 01:58:58,140 [execute] INFO git cat-file --batch-check [2024-08-27T01:58:58.742Z] 2024-08-27 01:58:58,141 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver, universal_newlines=False, shell=None, istream=) [2024-08-27T01:58:58.742Z] 2024-08-27 01:58:58,145 [execute] INFO git cat-file --batch [2024-08-27T01:58:58.742Z] 2024-08-27 01:58:58,146 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver, universal_newlines=False, shell=None, istream=) [2024-08-27T01:58:58.742Z] 2024-08-27 01:58:58,150 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver/PR-1616 [2024-08-27T01:58:58.742Z] 0.0.0 [Pipeline] } [2024-08-27T01:58:58.781Z] $ docker exec --env ******** --env ******** 0613e8d53d4a43059d0520a5a57fba07174b0dc298055d50243b1884f6f34593 ssh-agent -k [2024-08-27T01:58:58.879Z] unset SSH_AUTH_SOCK; [2024-08-27T01:58:58.880Z] unset SSH_AGENT_PID; [2024-08-27T01:58:58.882Z] echo Agent pid 75 killed; [2024-08-27T01:58:58.888Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-27T01:58:59.364Z] + git semver [Pipeline] } [2024-08-27T01:58:59.650Z] $ docker stop --time=1 0613e8d53d4a43059d0520a5a57fba07174b0dc298055d50243b1884f6f34593 [2024-08-27T01:59:00.912Z] $ docker rm -f --volumes 0613e8d53d4a43059d0520a5a57fba07174b0dc298055d50243b1884f6f34593 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-27T01:59:01.338Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-27T01:59:01.630Z] Stashed 1 file(s) [Pipeline] echo [2024-08-27T01:59:01.654Z] [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-08-27T01:59:02.424Z] provisioning config files... [2024-08-27T01:59:02.435Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/config1318920042841782441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-27T01:59:02.811Z] ---> ****-login.sh [2024-08-27T01:59:02.812Z] nexus3.edgexfoundry.org:10001 [2024-08-27T01:59:02.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T01:59:02.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T01:59:02.812Z] Configure a credential helper to remove this warning. See [2024-08-27T01:59:02.812Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T01:59:02.812Z] [2024-08-27T01:59:02.812Z] Login Succeeded [2024-08-27T01:59:02.812Z] nexus3.edgexfoundry.org:10002 [2024-08-27T01:59:02.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T01:59:02.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T01:59:02.812Z] Configure a credential helper to remove this warning. See [2024-08-27T01:59:02.812Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T01:59:02.812Z] [2024-08-27T01:59:02.812Z] Login Succeeded [2024-08-27T01:59:02.812Z] nexus3.edgexfoundry.org:10003 [2024-08-27T01:59:03.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T01:59:03.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T01:59:03.073Z] Configure a credential helper to remove this warning. See [2024-08-27T01:59:03.073Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T01:59:03.073Z] [2024-08-27T01:59:03.073Z] Login Succeeded [2024-08-27T01:59:03.073Z] nexus3.edgexfoundry.org:10004 [2024-08-27T01:59:03.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T01:59:03.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T01:59:03.073Z] Configure a credential helper to remove this warning. See [2024-08-27T01:59:03.073Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T01:59:03.073Z] [2024-08-27T01:59:03.073Z] Login Succeeded [2024-08-27T01:59:03.073Z] ****.io [2024-08-27T01:59:03.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T01:59:03.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T01:59:03.333Z] Configure a credential helper to remove this warning. See [2024-08-27T01:59:03.333Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T01:59:03.333Z] [2024-08-27T01:59:03.333Z] Login Succeeded [2024-08-27T01:59:03.333Z] ---> ****-login.sh ends [Pipeline] } [2024-08-27T01:59:03.366Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-27T01:59:03.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-27T01:59:03.681Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-27T01:59:03.735Z] ========================================================= [2024-08-27T01:59:03.735Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-27T01:59:03.735Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T01:59:04.384Z] + 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-08-27T01:59:04.384Z] Sending build context to Docker daemon 25.21MB [2024-08-27T01:59:04.384Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-27T01:59:04.384Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-27T01:59:04.643Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-27T01:59:04.643Z] 619be1103602: Pulling fs layer [2024-08-27T01:59:04.643Z] 7862e08f4a3e: Pulling fs layer [2024-08-27T01:59:04.643Z] 5df492c9dc93: Pulling fs layer [2024-08-27T01:59:04.643Z] 7629e6793208: Pulling fs layer [2024-08-27T01:59:04.643Z] 4f4fb700ef54: Pulling fs layer [2024-08-27T01:59:04.643Z] fb5054dd5b73: Pulling fs layer [2024-08-27T01:59:04.643Z] eeca6798cff9: Pulling fs layer [2024-08-27T01:59:04.643Z] aa269ceb94a6: Pulling fs layer [2024-08-27T01:59:04.643Z] ada007ff1a6a: Pulling fs layer [2024-08-27T01:59:04.643Z] 7629e6793208: Waiting [2024-08-27T01:59:04.643Z] aa269ceb94a6: Waiting [2024-08-27T01:59:04.643Z] 4f4fb700ef54: Waiting [2024-08-27T01:59:04.643Z] ada007ff1a6a: Waiting [2024-08-27T01:59:04.643Z] fb5054dd5b73: Waiting [2024-08-27T01:59:04.643Z] eeca6798cff9: Waiting [2024-08-27T01:59:04.643Z] 7862e08f4a3e: Download complete [2024-08-27T01:59:04.643Z] 7629e6793208: Download complete [2024-08-27T01:59:04.643Z] 4f4fb700ef54: Download complete [2024-08-27T01:59:04.643Z] 619be1103602: Verifying Checksum [2024-08-27T01:59:04.643Z] 619be1103602: Download complete [2024-08-27T01:59:04.643Z] fb5054dd5b73: Verifying Checksum [2024-08-27T01:59:04.643Z] fb5054dd5b73: Download complete [2024-08-27T01:59:04.643Z] eeca6798cff9: Verifying Checksum [2024-08-27T01:59:04.643Z] eeca6798cff9: Download complete [2024-08-27T01:59:04.643Z] 619be1103602: Pull complete [2024-08-27T01:59:04.903Z] 7862e08f4a3e: Pull complete [2024-08-27T01:59:04.903Z] ada007ff1a6a: Verifying Checksum [2024-08-27T01:59:04.903Z] ada007ff1a6a: Download complete [2024-08-27T01:59:05.163Z] 5df492c9dc93: Verifying Checksum [2024-08-27T01:59:05.163Z] 5df492c9dc93: Download complete [2024-08-27T01:59:05.422Z] aa269ceb94a6: Verifying Checksum [2024-08-27T01:59:05.422Z] aa269ceb94a6: Download complete [2024-08-27T01:59:08.708Z] 5df492c9dc93: Pull complete [2024-08-27T01:59:08.708Z] 7629e6793208: Pull complete [2024-08-27T01:59:08.708Z] 4f4fb700ef54: Pull complete [2024-08-27T01:59:08.708Z] fb5054dd5b73: Pull complete [2024-08-27T01:59:08.708Z] eeca6798cff9: Pull complete [2024-08-27T01:59:11.255Z] aa269ceb94a6: Pull complete [2024-08-27T01:59:11.515Z] ada007ff1a6a: Pull complete [2024-08-27T01:59:11.515Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-27T01:59:11.515Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-27T01:59:11.515Z] ---> f489d0715acc [2024-08-27T01:59:11.515Z] Step 3/10 : ARG MAKE=make build [2024-08-27T01:59:15.715Z] ---> Running in 6b1a7d0afda1 [2024-08-27T01:59:15.715Z] Removing intermediate container 6b1a7d0afda1 [2024-08-27T01:59:15.715Z] ---> a5f2eeb86f25 [2024-08-27T01:59:15.715Z] Step 4/10 : WORKDIR /device-sdk-go [2024-08-27T01:59:15.715Z] ---> Running in 95512e2f6a37 [2024-08-27T01:59:15.715Z] Removing intermediate container 95512e2f6a37 [2024-08-27T01:59:15.715Z] ---> d6c87fc5bc5c [2024-08-27T01:59:15.715Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-27T01:59:15.715Z] ---> Running in 32b49b620923 [2024-08-27T01:59:15.715Z] Removing intermediate container 32b49b620923 [2024-08-27T01:59:15.715Z] ---> 79eedb104e74 [2024-08-27T01:59:15.715Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-08-27T01:59:15.715Z] ---> Running in f79f3d942726 [2024-08-27T01:59:15.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-27T01:59:15.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-27T01:59:15.975Z] OK: 264 MiB in 52 packages [2024-08-27T01:59:16.544Z] Removing intermediate container f79f3d942726 [2024-08-27T01:59:16.544Z] ---> 0bad490aa2df [2024-08-27T01:59:16.544Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-27T01:59:16.544Z] ---> eddd76fdd0ca [2024-08-27T01:59:16.544Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-27T01:59:16.544Z] ---> Running in 90ba5ac45562 [2024-08-27T01:59:17.196Z] Still waiting to schedule task [2024-08-27T01:59:17.197Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-08-27T02:00:03.385Z] Removing intermediate container 90ba5ac45562 [2024-08-27T02:00:03.385Z] ---> bd7bf9c3d761 [2024-08-27T02:00:03.385Z] Step 9/10 : COPY . . [2024-08-27T02:00:03.385Z] ---> 7bfef652d721 [2024-08-27T02:00:03.385Z] Step 10/10 : RUN ${MAKE} [2024-08-27T02:00:03.385Z] ---> Running in eeaa763f0189 [2024-08-27T02:00:03.642Z] noop [2024-08-27T02:00:03.901Z] Removing intermediate container eeaa763f0189 [2024-08-27T02:00:03.901Z] ---> 5c2aad4cb9b8 [2024-08-27T02:00:03.901Z] Successfully built 5c2aad4cb9b8 [2024-08-27T02:00:03.901Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T02:00:04.397Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-27T02:00:04.397Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T02:00:04.574Z] prd-ubuntu20.04-docker-8c-8g-8726 does not seem to be running inside a container [2024-08-27T02:00:04.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1616 -v /w/workspace/gexfoundry_device-sdk-go_PR-1616:/w/workspace/gexfoundry_device-sdk-go_PR-1616:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-27T02:00:04.931Z] $ docker top 2646878aefbd78685cad0e7f17854307dc00aa0ca1e7c6e1a1b6e0263f45390a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-27T02:00:05.339Z] + go version [2024-08-27T02:00:05.339Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-27T02:00:05.376Z] $ docker stop --time=1 2646878aefbd78685cad0e7f17854307dc00aa0ca1e7c6e1a1b6e0263f45390a [2024-08-27T02:00:06.620Z] $ docker rm -f --volumes 2646878aefbd78685cad0e7f17854307dc00aa0ca1e7c6e1a1b6e0263f45390a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T02:00:07.457Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-27T02:00:07.457Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T02:00:07.614Z] prd-ubuntu20.04-docker-8c-8g-8726 does not seem to be running inside a container [2024-08-27T02:00:07.643Z] $ 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-1616 -v /w/workspace/gexfoundry_device-sdk-go_PR-1616:/w/workspace/gexfoundry_device-sdk-go_PR-1616:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-27T02:00:07.962Z] $ docker top ad97e16903fb4ff53bedd37e8a62976527bb45455a23c31c3dc7f2bb75142236 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-27T02:00:08.367Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1616 [Pipeline] fileExists [Pipeline] sh [2024-08-27T02:00:08.776Z] + make test [2024-08-27T02:00:08.776Z] go test -race -coverprofile=coverage.out ./... [2024-08-27T02:00:16.892Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-08-27T02:00:57.182Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-08-27T02:00:57.182Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-08-27T02:00:57.182Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-08-27T02:00:57.182Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-08-27T02:00:57.182Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-08-27T02:00:57.182Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.023s coverage: 26.0% of statements [2024-08-27T02:00:57.182Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.044s coverage: 79.4% of statements [2024-08-27T02:00:57.182Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-08-27T02:00:57.182Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-08-27T02:00:57.182Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-08-27T02:00:57.182Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.037s coverage: 86.0% of statements [2024-08-27T02:00:57.182Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-08-27T02:00:57.182Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-08-27T02:00:57.182Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-27T02:00:57.182Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.082s coverage: 51.6% of statements [2024-08-27T02:00:57.182Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-08-27T02:00:59.089Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.037s coverage: 14.4% of statements [2024-08-27T02:00:59.089Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.827s coverage: 44.6% of statements [2024-08-27T02:00:59.089Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.052s coverage: 68.5% of statements [2024-08-27T02:00:59.089Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.094s coverage: 89.2% of statements [2024-08-27T02:00:59.089Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.053s coverage: 5.3% of statements [2024-08-27T02:01:37.806Z] GO111MODULE=on go vet ./... [2024-08-27T02:01:41.088Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-27T02:01:41.088Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-27T02:01:41.088Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-27T02:01:41.136Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-27T02:01:41.178Z] $ docker stop --time=1 ad97e16903fb4ff53bedd37e8a62976527bb45455a23c31c3dc7f2bb75142236 [2024-08-27T02:01:45.471Z] $ docker rm -f --volumes ad97e16903fb4ff53bedd37e8a62976527bb45455a23c31c3dc7f2bb75142236 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-27T02:01:46.290Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-27T02:01:46.384Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-27T02:01:47.113Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-27T02:01:47.431Z] + ls -al . [2024-08-27T02:01:47.431Z] total 380 [2024-08-27T02:01:47.431Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 27 02:00 . [2024-08-27T02:01:47.431Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 01:58 .. [2024-08-27T02:01:47.431Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 27 01:58 .dockerignore [2024-08-27T02:01:47.431Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 02:01 .git [2024-08-27T02:01:47.431Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 01:58 .github [2024-08-27T02:01:47.431Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 27 01:58 .gitignore [2024-08-27T02:01:47.431Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 27 01:58 .golangci.yml [2024-08-27T02:01:47.431Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 27 01:58 .semver [2024-08-27T02:01:47.431Z] -rw-rw-r-- 1 jenkins jenkins 48109 Aug 27 01:58 CHANGELOG.md [2024-08-27T02:01:47.431Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 27 01:58 GOVERNANCE.md [2024-08-27T02:01:47.431Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 27 01:58 Jenkinsfile [2024-08-27T02:01:47.431Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 27 01:58 LICENSE [2024-08-27T02:01:47.431Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 27 01:58 Makefile [2024-08-27T02:01:47.431Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 27 01:58 OWNERS.md [2024-08-27T02:01:47.431Z] -rw-rw-r-- 1 jenkins jenkins 4937 Aug 27 01:58 README.md [2024-08-27T02:01:47.431Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 27 01:59 VERSION [2024-08-27T02:01:47.431Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 01:58 bin [2024-08-27T02:01:47.431Z] -rw-r--r-- 1 jenkins jenkins 126494 Aug 27 02:00 coverage.out [2024-08-27T02:01:47.431Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 27 01:58 example [2024-08-27T02:01:47.431Z] -rw-rw-r-- 1 jenkins jenkins 6984 Aug 27 01:58 go.mod [2024-08-27T02:01:47.431Z] -rw-rw-r-- 1 jenkins jenkins 101460 Aug 27 01:58 go.sum [2024-08-27T02:01:47.431Z] drwxrwxr-x 13 jenkins jenkins 4096 Aug 27 01:58 internal [2024-08-27T02:01:47.431Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 01:58 openapi [2024-08-27T02:01:47.431Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 27 01:58 pkg [2024-08-27T02:01:47.431Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 01:58 snap [2024-08-27T02:01:47.431Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 27 01:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T02:01:47.967Z] + 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=3e6ea3748ded273ffde4075f5b9e91a329ef63b3 --label arch=amd64 --label version=0.0.0 . [2024-08-27T02:01:47.968Z] Sending build context to Docker daemon 25.34MB [2024-08-27T02:01:47.968Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-27T02:01:47.968Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-27T02:01:47.968Z] ---> 5c2aad4cb9b8 [2024-08-27T02:01:47.968Z] Step 3/24 : ARG MAKE=make build [2024-08-27T02:01:48.232Z] ---> Running in 0875e57ef02f [2024-08-27T02:01:48.232Z] Removing intermediate container 0875e57ef02f [2024-08-27T02:01:48.232Z] ---> a9460e0de748 [2024-08-27T02:01:48.232Z] Step 4/24 : WORKDIR /device-sdk-go [2024-08-27T02:01:48.232Z] ---> Running in 655fdfb40546 [2024-08-27T02:01:48.490Z] Removing intermediate container 655fdfb40546 [2024-08-27T02:01:48.490Z] ---> fce1893c3c9a [2024-08-27T02:01:48.490Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-27T02:01:48.490Z] ---> Running in 2cfa5e94ea6e [2024-08-27T02:01:48.490Z] Removing intermediate container 2cfa5e94ea6e [2024-08-27T02:01:48.490Z] ---> fb3f9e7297c7 [2024-08-27T02:01:48.490Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-08-27T02:01:48.490Z] ---> Running in 011da8d1fe35 [2024-08-27T02:01:48.749Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-27T02:01:49.013Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-27T02:01:49.273Z] OK: 264 MiB in 52 packages [2024-08-27T02:01:49.533Z] Removing intermediate container 011da8d1fe35 [2024-08-27T02:01:49.533Z] ---> 974438dd6abe [2024-08-27T02:01:49.533Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-27T02:01:49.792Z] ---> eac899fc6e90 [2024-08-27T02:01:49.792Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-27T02:01:49.792Z] ---> Running in fd6f83932999 [2024-08-27T02:01:50.360Z] Removing intermediate container fd6f83932999 [2024-08-27T02:01:50.360Z] ---> 60d1db48af0f [2024-08-27T02:01:50.360Z] Step 9/24 : COPY . . [2024-08-27T02:01:51.300Z] ---> b19ba39f75db [2024-08-27T02:01:51.300Z] Step 10/24 : RUN ${MAKE} [2024-08-27T02:01:51.300Z] ---> Running in 3c363a05819e [2024-08-27T02:01:51.559Z] 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-08-27T02:02:16.067Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8728 in /w/workspace/gexfoundry_device-sdk-go_PR-1616 [Pipeline] { [Pipeline] ws [2024-08-27T02:02:16.144Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-08-27T02:02:19.293Z] The recommended git tool is: git [2024-08-27T02:02:29.043Z] using credential edgex-jenkins-ssh [2024-08-27T02:02:29.073Z] Cloning the remote Git repository [2024-08-27T02:02:29.142Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-08-27T02:02:29.356Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-08-27T02:02:29.689Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-08-27T02:02:29.691Z] > git --version # timeout=10 [2024-08-27T02:02:29.740Z] > git --version # 'git version 2.25.1' [2024-08-27T02:02:29.744Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-27T02:02:30.276Z] Removing intermediate container 3c363a05819e [2024-08-27T02:02:30.276Z] ---> 6c2f75ae4c6c [2024-08-27T02:02:30.276Z] Step 11/24 : FROM alpine:3.18 [2024-08-27T02:02:30.276Z] 3.18: Pulling from library/alpine [2024-08-27T02:02:30.276Z] 930bdd4d222e: Pulling fs layer [2024-08-27T02:02:30.276Z] 930bdd4d222e: Verifying Checksum [2024-08-27T02:02:30.276Z] 930bdd4d222e: Download complete [2024-08-27T02:02:30.276Z] 930bdd4d222e: Pull complete [2024-08-27T02:02:30.276Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-27T02:02:30.276Z] Status: Downloaded newer image for alpine:3.18 [2024-08-27T02:02:30.276Z] ---> 18f865063206 [2024-08-27T02:02:30.276Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-08-27T02:02:30.276Z] ---> Running in 08caabb9f3cd [2024-08-27T02:02:30.276Z] Removing intermediate container 08caabb9f3cd [2024-08-27T02:02:30.276Z] ---> 83c3f2b36202 [2024-08-27T02:02:30.276Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-27T02:02:30.276Z] ---> Running in 45a6efbaf38e [2024-08-27T02:02:30.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-27T02:02:30.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-27T02:02:30.276Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-27T02:02:30.276Z] Executing busybox-1.36.1-r7.trigger [2024-08-27T02:02:30.276Z] OK: 7 MiB in 16 packages [2024-08-27T02:02:30.276Z] Removing intermediate container 45a6efbaf38e [2024-08-27T02:02:30.276Z] ---> c66d3efb5ef9 [2024-08-27T02:02:30.276Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-27T02:02:30.276Z] ---> Running in 0eda751281a9 [2024-08-27T02:02:30.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-27T02:02:30.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-27T02:02:30.276Z] OK: 7 MiB in 16 packages [2024-08-27T02:02:30.276Z] Removing intermediate container 0eda751281a9 [2024-08-27T02:02:30.276Z] ---> 7438471dfe6f [2024-08-27T02:02:30.276Z] Step 15/24 : WORKDIR / [2024-08-27T02:02:30.276Z] ---> Running in b2a4c5ef7f19 [2024-08-27T02:02:30.276Z] Removing intermediate container b2a4c5ef7f19 [2024-08-27T02:02:30.276Z] ---> afa54883a269 [2024-08-27T02:02:30.276Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-08-27T02:02:30.276Z] ---> ceef07aac848 [2024-08-27T02:02:30.276Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-08-27T02:02:30.535Z] ---> bde96981e8cd [2024-08-27T02:02:30.535Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-08-27T02:02:30.535Z] ---> 8e04670e9010 [2024-08-27T02:02:30.535Z] Step 19/24 : EXPOSE 59999 [2024-08-27T02:02:30.535Z] ---> Running in 04316c52fec3 [2024-08-27T02:02:30.535Z] Removing intermediate container 04316c52fec3 [2024-08-27T02:02:30.535Z] ---> 050794508048 [2024-08-27T02:02:30.535Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-08-27T02:02:30.535Z] ---> Running in 15872d2b66e6 [2024-08-27T02:02:30.795Z] Removing intermediate container 15872d2b66e6 [2024-08-27T02:02:30.795Z] ---> bb87b399162d [2024-08-27T02:02:30.795Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-27T02:02:30.795Z] ---> Running in 2f33e4a8c374 [2024-08-27T02:02:30.795Z] Removing intermediate container 2f33e4a8c374 [2024-08-27T02:02:30.795Z] ---> 29fd3cf1a916 [2024-08-27T02:02:30.795Z] Step 22/24 : LABEL arch=amd64 [2024-08-27T02:02:30.795Z] ---> Running in 16dd89ccb973 [2024-08-27T02:02:30.795Z] Removing intermediate container 16dd89ccb973 [2024-08-27T02:02:30.795Z] ---> e3dcd15c7873 [2024-08-27T02:02:30.795Z] Step 23/24 : LABEL git_sha=3e6ea3748ded273ffde4075f5b9e91a329ef63b3 [2024-08-27T02:02:31.055Z] ---> Running in 9c86d524194c [2024-08-27T02:02:31.055Z] Removing intermediate container 9c86d524194c [2024-08-27T02:02:31.055Z] ---> 0f47e046ad9a [2024-08-27T02:02:31.055Z] Step 24/24 : LABEL version=0.0.0 [2024-08-27T02:02:31.055Z] ---> Running in 0619c1d718eb [2024-08-27T02:02:31.055Z] Removing intermediate container 0619c1d718eb [2024-08-27T02:02:31.055Z] ---> 6cc98edaeceb [2024-08-27T02:02:31.055Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-27T02:02:31.055Z] Successfully built 6cc98edaeceb [2024-08-27T02:02:31.055Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [2024-08-27T02:02:30.000Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T02:02:32.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-27T02:02:32.062Z] [2024-08-27T02:02:32.062Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T02:02:32.438Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-27T02:02:32.439Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-27T02:02:32.439Z] 5eb5b503b376: Pulling fs layer [2024-08-27T02:02:32.439Z] 5c69ac0246d0: Pulling fs layer [2024-08-27T02:02:32.439Z] ec43610c2a17: Pulling fs layer [2024-08-27T02:02:32.439Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-27T02:02:32.439Z] 33b1e0a273af: Pulling fs layer [2024-08-27T02:02:32.439Z] 5d3b04190fa2: Pulling fs layer [2024-08-27T02:02:32.439Z] 2f39f015ded8: Pulling fs layer [2024-08-27T02:02:32.439Z] 3a2ae6a8a46f: Waiting [2024-08-27T02:02:32.439Z] 33b1e0a273af: Waiting [2024-08-27T02:02:32.439Z] 5d3b04190fa2: Waiting [2024-08-27T02:02:32.439Z] 2f39f015ded8: Waiting [2024-08-27T02:02:32.439Z] 5c69ac0246d0: Verifying Checksum [2024-08-27T02:02:32.439Z] 5c69ac0246d0: Download complete [2024-08-27T02:02:32.439Z] 3a2ae6a8a46f: Verifying Checksum [2024-08-27T02:02:32.439Z] 3a2ae6a8a46f: Download complete [2024-08-27T02:02:32.439Z] ec43610c2a17: Verifying Checksum [2024-08-27T02:02:32.439Z] ec43610c2a17: Download complete [2024-08-27T02:02:32.439Z] 33b1e0a273af: Verifying Checksum [2024-08-27T02:02:32.439Z] 33b1e0a273af: Download complete [2024-08-27T02:02:32.439Z] 5d3b04190fa2: Download complete [2024-08-27T02:02:32.698Z] 5eb5b503b376: Download complete [2024-08-27T02:02:33.265Z] 2f39f015ded8: Download complete [2024-08-27T02:02:33.833Z] 5eb5b503b376: Pull complete [2024-08-27T02:02:34.091Z] 5c69ac0246d0: Pull complete [2024-08-27T02:02:34.349Z] ec43610c2a17: Pull complete [2024-08-27T02:02:34.349Z] 3a2ae6a8a46f: Pull complete [2024-08-27T02:02:34.607Z] 33b1e0a273af: Pull complete [2024-08-27T02:02:34.079Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-08-27T02:02:34.118Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-27T02:02:34.867Z] 5d3b04190fa2: Pull complete [2024-08-27T02:02:36.130Z] Merging remotes/origin/main commit a573d62abfd76acfce2b94ed3564a5c4c2542b9a into PR head commit 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 [2024-08-27T02:02:35.348Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-08-27T02:02:35.398Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-08-27T02:02:35.399Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-27T02:02:35.425Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1616/head:refs/remotes/origin/PR-1616 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-27T02:02:36.148Z] > git config core.sparsecheckout # timeout=10 [2024-08-27T02:02:36.240Z] > git checkout -f 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 # timeout=10 [2024-08-27T02:02:36.505Z] Merge succeeded, producing 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 [2024-08-27T02:02:36.505Z] Checking out Revision 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 (PR-1616) [2024-08-27T02:02:36.375Z] > git remote # timeout=10 [2024-08-27T02:02:36.400Z] > git config --get remote.origin.url # timeout=10 [2024-08-27T02:02:36.424Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-27T02:02:36.450Z] > git merge a573d62abfd76acfce2b94ed3564a5c4c2542b9a # timeout=10 [2024-08-27T02:02:36.482Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-27T02:02:36.510Z] > git config core.sparsecheckout # timeout=10 [2024-08-27T02:02:36.524Z] > git checkout -f 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 # timeout=10 [2024-08-27T02:02:39.050Z] 2f39f015ded8: Pull complete [2024-08-27T02:02:39.050Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-27T02:02:39.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-27T02:02:39.050Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T02:02:39.332Z] prd-ubuntu20.04-docker-8c-8g-8726 does not seem to be running inside a container [2024-08-27T02:02:39.360Z] $ 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-1616 -v /w/workspace/gexfoundry_device-sdk-go_PR-1616:/w/workspace/gexfoundry_device-sdk-go_PR-1616:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-27T02:02:40.362Z] Commit message: "feat: Publish System Events for device discovery and profile scan progress" [2024-08-27T02:02:40.423Z] > git --version # timeout=10 [2024-08-27T02:02:40.441Z] > git --version # 'git version 2.25.1' [2024-08-27T02:02:40.457Z] fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-27T02:02:41.860Z] [2024-08-27T02:02:41.860Z] GitHub has been notified of this commit’s build result [2024-08-27T02:02:41.860Z] [2024-08-27T02:02:42.872Z] $ docker top 901a45bb1722612687940b6c287bfd2a90ba236e55bf16b66358c444439d6b61 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [2024-08-27T02:02:43.370Z] ---> job-cost.sh [2024-08-27T02:02:43.370Z] lf-activate-venv: SKIPPING [2024-08-27T02:02:43.370Z] INFO: No Stack... [Pipeline] { [Pipeline] sh [2024-08-27T02:02:43.629Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-27T02:02:43.889Z] INFO: Archiving Costs [Pipeline] sh [2024-08-27T02:02:44.030Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-27T02:02:44.030Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-27T02:02:44.030Z] Dload Upload Total Spent Left Speed [2024-08-27T02:02:44.030Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 102k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2024-08-27T02:02:44.213Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1616/archives/cost.csv [2024-08-27T02:02:44.213Z] + cut -d, -f6 [Pipeline] lock [2024-08-27T02:02:44.266Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1616-1-stack-cost] [2024-08-27T02:02:44.273Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1616-1-stack-cost] did not exist. Created. [2024-08-27T02:02:44.280Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1616-1-stack-cost] [Pipeline] { [Pipeline] unstash [2024-08-27T02:02:44.393Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [Pipeline] sh [2024-08-27T02:02:44.715Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-27T02:02:44.791Z] Stashed 1 file(s) [Pipeline] } [2024-08-27T02:02:44.821Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1616-1-stack-cost] [2024-08-27T02:02:44.832Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-27T02:02:44.832Z] + sudo tee /etc/docker/daemon.new [2024-08-27T02:02:44.832Z] { [2024-08-27T02:02:44.832Z] "registry-mirrors": [ [2024-08-27T02:02:44.832Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-27T02:02:44.832Z] ], [2024-08-27T02:02:44.832Z] "bip": "10.250.0.254/24", [2024-08-27T02:02:44.832Z] "hosts": [ [2024-08-27T02:02:44.832Z] "tcp://0.0.0.0:5555", [2024-08-27T02:02:44.832Z] "unix:///var/run/docker.sock" [2024-08-27T02:02:44.832Z] ], [2024-08-27T02:02:44.832Z] "mtu": 1458, [2024-08-27T02:02:44.832Z] "selinux-enabled": true, [2024-08-27T02:02:44.832Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-27T02:02:44.832Z] } [Pipeline] // lock [Pipeline] } [2024-08-27T02:02:44.937Z] $ docker stop --time=1 901a45bb1722612687940b6c287bfd2a90ba236e55bf16b66358c444439d6b61 [2024-08-27T02:02:46.125Z] $ docker rm -f --volumes 901a45bb1722612687940b6c287bfd2a90ba236e55bf16b66358c444439d6b61 [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2024-08-27T02:02:46.516Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // stage [Pipeline] } [Pipeline] sh [2024-08-27T02:02:46.942Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-27T02:03:05.348Z] provisioning config files... [2024-08-27T02:03:05.445Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config14873305550710538801tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-27T02:03:05.978Z] ---> ****-login.sh [2024-08-27T02:03:05.978Z] nexus3.edgexfoundry.org:10001 [2024-08-27T02:03:06.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T02:03:06.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T02:03:06.571Z] Configure a credential helper to remove this warning. See [2024-08-27T02:03:06.571Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T02:03:06.571Z] [2024-08-27T02:03:06.852Z] Login Succeeded [2024-08-27T02:03:06.852Z] nexus3.edgexfoundry.org:10002 [2024-08-27T02:03:06.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T02:03:07.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T02:03:07.122Z] Configure a credential helper to remove this warning. See [2024-08-27T02:03:07.122Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T02:03:07.122Z] [2024-08-27T02:03:07.122Z] Login Succeeded [2024-08-27T02:03:07.122Z] nexus3.edgexfoundry.org:10003 [2024-08-27T02:03:07.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T02:03:07.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T02:03:07.399Z] Configure a credential helper to remove this warning. See [2024-08-27T02:03:07.399Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T02:03:07.399Z] [2024-08-27T02:03:07.399Z] Login Succeeded [2024-08-27T02:03:07.399Z] nexus3.edgexfoundry.org:10004 [2024-08-27T02:03:07.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T02:03:07.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T02:03:07.937Z] Configure a credential helper to remove this warning. See [2024-08-27T02:03:07.937Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T02:03:07.937Z] [2024-08-27T02:03:07.937Z] Login Succeeded [2024-08-27T02:03:07.937Z] ****.io [2024-08-27T02:03:08.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T02:03:08.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T02:03:08.478Z] Configure a credential helper to remove this warning. See [2024-08-27T02:03:08.478Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T02:03:08.478Z] [2024-08-27T02:03:08.478Z] Login Succeeded [2024-08-27T02:03:08.478Z] ---> ****-login.sh ends [Pipeline] } [2024-08-27T02:03:08.522Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-27T02:03:09.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-27T02:03:09.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-27T02:03:09.125Z] ========================================================= [2024-08-27T02:03:09.125Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-27T02:03:09.125Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T02:03:09.669Z] + 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-08-27T02:03:10.281Z] Sending build context to Docker daemon 13.08MB [2024-08-27T02:03:10.281Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-27T02:03:10.281Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-27T02:03:10.617Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-27T02:03:10.617Z] c6b39de5b339: Pulling fs layer [2024-08-27T02:03:10.617Z] a69c41024577: Pulling fs layer [2024-08-27T02:03:10.617Z] d6de4b400683: Pulling fs layer [2024-08-27T02:03:10.617Z] 35cb2a7552d0: Pulling fs layer [2024-08-27T02:03:10.617Z] 4f4fb700ef54: Pulling fs layer [2024-08-27T02:03:10.617Z] 464afbd9ba4c: Pulling fs layer [2024-08-27T02:03:10.617Z] 00f215d4a9da: Pulling fs layer [2024-08-27T02:03:10.617Z] d496ad576159: Pulling fs layer [2024-08-27T02:03:10.617Z] 4f4fb700ef54: Waiting [2024-08-27T02:03:10.617Z] 464afbd9ba4c: Waiting [2024-08-27T02:03:10.617Z] 00f215d4a9da: Waiting [2024-08-27T02:03:10.617Z] 35cb2a7552d0: Waiting [2024-08-27T02:03:10.617Z] d496ad576159: Waiting [2024-08-27T02:03:10.617Z] a69c41024577: Verifying Checksum [2024-08-27T02:03:10.617Z] a69c41024577: Download complete [2024-08-27T02:03:10.617Z] 35cb2a7552d0: Verifying Checksum [2024-08-27T02:03:10.617Z] 35cb2a7552d0: Download complete [2024-08-27T02:03:10.617Z] 4f4fb700ef54: Verifying Checksum [2024-08-27T02:03:10.617Z] 4f4fb700ef54: Download complete [2024-08-27T02:03:10.617Z] 464afbd9ba4c: Verifying Checksum [2024-08-27T02:03:10.617Z] 464afbd9ba4c: Download complete [2024-08-27T02:03:10.617Z] c6b39de5b339: Verifying Checksum [2024-08-27T02:03:10.617Z] c6b39de5b339: Download complete [2024-08-27T02:03:11.216Z] d496ad576159: Verifying Checksum [2024-08-27T02:03:11.216Z] d496ad576159: Download complete [2024-08-27T02:03:11.813Z] c6b39de5b339: Pull complete [2024-08-27T02:03:12.411Z] a69c41024577: Pull complete [2024-08-27T02:03:12.689Z] d6de4b400683: Verifying Checksum [2024-08-27T02:03:12.689Z] d6de4b400683: Download complete [2024-08-27T02:03:14.118Z] 00f215d4a9da: Verifying Checksum [2024-08-27T02:03:14.118Z] 00f215d4a9da: Download complete [2024-08-27T02:03:26.469Z] d6de4b400683: Pull complete [2024-08-27T02:03:26.469Z] 35cb2a7552d0: Pull complete [2024-08-27T02:03:26.739Z] 4f4fb700ef54: Pull complete [2024-08-27T02:03:27.011Z] 464afbd9ba4c: Pull complete [2024-08-27T02:03:37.117Z] 00f215d4a9da: Pull complete [2024-08-27T02:03:38.543Z] d496ad576159: Pull complete [2024-08-27T02:03:38.543Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-27T02:03:38.543Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-27T02:03:38.543Z] ---> f246e2811388 [2024-08-27T02:03:38.543Z] Step 3/10 : ARG MAKE=make build [2024-08-27T02:03:40.507Z] ---> Running in 5c420b0c78f2 [2024-08-27T02:03:40.781Z] Removing intermediate container 5c420b0c78f2 [2024-08-27T02:03:40.781Z] ---> 9322989a299d [2024-08-27T02:03:40.781Z] Step 4/10 : WORKDIR /device-sdk-go [2024-08-27T02:03:40.781Z] ---> Running in 2ca23c173af5 [2024-08-27T02:03:41.371Z] Removing intermediate container 2ca23c173af5 [2024-08-27T02:03:41.371Z] ---> 6ecb83c557f2 [2024-08-27T02:03:41.371Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-27T02:03:41.371Z] ---> Running in 22e593393d74 [2024-08-27T02:03:41.639Z] Removing intermediate container 22e593393d74 [2024-08-27T02:03:41.639Z] ---> fa29e2008c96 [2024-08-27T02:03:41.639Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-08-27T02:03:41.639Z] ---> Running in 0079ba372f10 [2024-08-27T02:03:43.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-27T02:03:43.337Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-27T02:03:44.755Z] OK: 266 MiB in 52 packages [2024-08-27T02:03:45.349Z] Removing intermediate container 0079ba372f10 [2024-08-27T02:03:45.349Z] ---> e681a0e0b7f6 [2024-08-27T02:03:45.349Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-27T02:03:45.942Z] ---> a08e1e428c25 [2024-08-27T02:03:45.942Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-27T02:03:46.211Z] ---> Running in dfc68968df45 [2024-08-27T02:05:52.939Z] Removing intermediate container dfc68968df45 [2024-08-27T02:05:52.939Z] ---> 4515d35dcece [2024-08-27T02:05:52.939Z] Step 9/10 : COPY . . [2024-08-27T02:05:52.939Z] ---> dc7627730268 [2024-08-27T02:05:52.939Z] Step 10/10 : RUN ${MAKE} [2024-08-27T02:05:53.206Z] ---> Running in 62fd1a99a3b8 [2024-08-27T02:05:54.165Z] noop [2024-08-27T02:05:54.750Z] Removing intermediate container 62fd1a99a3b8 [2024-08-27T02:05:54.750Z] ---> 25be9cb55b03 [2024-08-27T02:05:55.019Z] Successfully built 25be9cb55b03 [2024-08-27T02:05:55.019Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T02:05:55.558Z] + docker inspect -f . ci-base-image-arm64 [2024-08-27T02:05:55.558Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T02:05:55.903Z] prd-ubuntu20.04-docker-arm64-4c-16g-8728 does not seem to be running inside a container [2024-08-27T02:05:55.972Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-27T02:05:57.333Z] $ docker top d476c5be93ef3fba9ee9114fc7143e6af693d80fe3d37dfaf1530493148bba9a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-27T02:05:58.294Z] + go version [2024-08-27T02:05:58.294Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-27T02:05:58.340Z] $ docker stop --time=1 d476c5be93ef3fba9ee9114fc7143e6af693d80fe3d37dfaf1530493148bba9a [2024-08-27T02:06:00.030Z] $ docker rm -f --volumes d476c5be93ef3fba9ee9114fc7143e6af693d80fe3d37dfaf1530493148bba9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T02:06:01.337Z] + docker inspect -f . ci-base-image-arm64 [2024-08-27T02:06:01.337Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T02:06:01.654Z] prd-ubuntu20.04-docker-arm64-4c-16g-8728 does not seem to be running inside a container [2024-08-27T02:06:01.728Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-27T02:06:03.051Z] $ docker top a833c9ed55c97bfa53a40051776a48e91e840f79506d5c917a6a48bd4d8cabbf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-27T02:06:03.995Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-08-27T02:06:04.734Z] + make test [2024-08-27T02:06:04.734Z] go test -race -coverprofile=coverage.out ./... [2024-08-27T02:07:01.165Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-08-27T02:10:38.963Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-08-27T02:10:38.963Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-08-27T02:10:38.963Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-08-27T02:10:38.963Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-08-27T02:10:38.963Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-08-27T02:10:39.928Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.124s coverage: 26.0% of statements [2024-08-27T02:10:46.599Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.217s coverage: 79.4% of statements [2024-08-27T02:10:53.276Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-08-27T02:10:53.276Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-08-27T02:10:54.690Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.296s coverage: 86.0% of statements [2024-08-27T02:10:58.953Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-08-27T02:11:00.366Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.471s coverage: 51.6% of statements [2024-08-27T02:11:04.647Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.148s coverage: 14.4% of statements [2024-08-27T02:11:04.926Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.116s coverage: 44.6% of statements [2024-08-27T02:11:06.345Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-08-27T02:11:06.345Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-08-27T02:11:06.345Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-27T02:11:07.756Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.315s coverage: 68.5% of statements [2024-08-27T02:11:12.024Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.380s coverage: 89.2% of statements [2024-08-27T02:11:16.303Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-08-27T02:11:16.929Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.248s coverage: 5.3% of statements [2024-08-27T02:11:18.340Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-27T02:11:18.340Z] GO111MODULE=on go vet ./... [2024-08-27T02:15:25.172Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-27T02:15:25.172Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-27T02:15:25.172Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-27T02:15:25.280Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-27T02:15:25.324Z] $ docker stop --time=1 a833c9ed55c97bfa53a40051776a48e91e840f79506d5c917a6a48bd4d8cabbf [2024-08-27T02:15:27.305Z] $ docker rm -f --volumes a833c9ed55c97bfa53a40051776a48e91e840f79506d5c917a6a48bd4d8cabbf [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-27T02:15:29.802Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-27T02:15:29.849Z] Warning: overwriting stash ‘coverage-report’ [2024-08-27T02:15:30.568Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-27T02:15:31.581Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-27T02:15:31.939Z] + ls -al . [2024-08-27T02:15:31.939Z] total 376 [2024-08-27T02:15:31.939Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 27 02:06 . [2024-08-27T02:15:31.939Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 02:02 .. [2024-08-27T02:15:31.939Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 27 02:02 .dockerignore [2024-08-27T02:15:31.939Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 02:02 .git [2024-08-27T02:15:31.939Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 02:02 .github [2024-08-27T02:15:31.939Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 27 02:02 .gitignore [2024-08-27T02:15:31.939Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 27 02:02 .golangci.yml [2024-08-27T02:15:31.939Z] -rw-rw-r-- 1 jenkins jenkins 48109 Aug 27 02:02 CHANGELOG.md [2024-08-27T02:15:31.939Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 27 02:02 GOVERNANCE.md [2024-08-27T02:15:31.939Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 27 02:02 Jenkinsfile [2024-08-27T02:15:31.939Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 27 02:02 LICENSE [2024-08-27T02:15:31.939Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 27 02:02 Makefile [2024-08-27T02:15:31.939Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 27 02:02 OWNERS.md [2024-08-27T02:15:31.939Z] -rw-rw-r-- 1 jenkins jenkins 4937 Aug 27 02:02 README.md [2024-08-27T02:15:31.939Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 27 01:59 VERSION [2024-08-27T02:15:31.939Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 02:02 bin [2024-08-27T02:15:31.939Z] -rw-r--r-- 1 jenkins jenkins 126492 Aug 27 02:11 coverage.out [2024-08-27T02:15:31.939Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 27 02:02 example [2024-08-27T02:15:31.939Z] -rw-rw-r-- 1 jenkins jenkins 6984 Aug 27 02:02 go.mod [2024-08-27T02:15:31.939Z] -rw-rw-r-- 1 jenkins jenkins 101460 Aug 27 02:02 go.sum [2024-08-27T02:15:31.939Z] drwxrwxr-x 13 jenkins jenkins 4096 Aug 27 02:02 internal [2024-08-27T02:15:31.939Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 02:02 openapi [2024-08-27T02:15:31.939Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 27 02:02 pkg [2024-08-27T02:15:31.939Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 02:02 snap [2024-08-27T02:15:31.939Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 27 02:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T02:15:32.510Z] + 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=3e6ea3748ded273ffde4075f5b9e91a329ef63b3 --label arch=arm64 --label version=0.0.0 . [2024-08-27T02:15:33.103Z] Sending build context to Docker daemon 13.21MB [2024-08-27T02:15:33.103Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-27T02:15:33.103Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-27T02:15:33.103Z] ---> 25be9cb55b03 [2024-08-27T02:15:33.103Z] Step 3/24 : ARG MAKE=make build [2024-08-27T02:15:33.370Z] ---> Running in f49226861d50 [2024-08-27T02:15:33.638Z] Removing intermediate container f49226861d50 [2024-08-27T02:15:33.638Z] ---> 2e3ff5f8c53d [2024-08-27T02:15:33.638Z] Step 4/24 : WORKDIR /device-sdk-go [2024-08-27T02:15:33.905Z] ---> Running in a7d145a6b905 [2024-08-27T02:15:34.173Z] Removing intermediate container a7d145a6b905 [2024-08-27T02:15:34.173Z] ---> dbd4e09200c9 [2024-08-27T02:15:34.173Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-27T02:15:34.173Z] ---> Running in 657bdf275d56 [2024-08-27T02:15:34.441Z] Removing intermediate container 657bdf275d56 [2024-08-27T02:15:34.441Z] ---> 6c996c1527a0 [2024-08-27T02:15:34.441Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-08-27T02:15:34.708Z] ---> Running in ec6110eb9b46 [2024-08-27T02:15:35.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-27T02:15:36.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-27T02:15:37.212Z] OK: 266 MiB in 52 packages [2024-08-27T02:15:38.187Z] Removing intermediate container ec6110eb9b46 [2024-08-27T02:15:38.187Z] ---> efb87e54b19a [2024-08-27T02:15:38.187Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-27T02:15:38.773Z] ---> 967db1eaa9e0 [2024-08-27T02:15:38.773Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-27T02:15:39.039Z] ---> Running in b6825af73ff8 [2024-08-27T02:15:41.622Z] Removing intermediate container b6825af73ff8 [2024-08-27T02:15:41.622Z] ---> c89e6005c932 [2024-08-27T02:15:41.622Z] Step 9/24 : COPY . . [2024-08-27T02:15:43.054Z] ---> d6f19ba3f859 [2024-08-27T02:15:43.054Z] Step 10/24 : RUN ${MAKE} [2024-08-27T02:15:43.054Z] ---> Running in c07d8c2dd7bf [2024-08-27T02:15:44.018Z] 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-08-27T02:19:36.780Z] Removing intermediate container c07d8c2dd7bf [2024-08-27T02:19:36.780Z] ---> 3d5f0435d2ca [2024-08-27T02:19:36.780Z] Step 11/24 : FROM alpine:3.18 [2024-08-27T02:19:36.780Z] 3.18: Pulling from library/alpine [2024-08-27T02:19:36.780Z] 4983c3fe2029: Pulling fs layer [2024-08-27T02:19:36.780Z] 4983c3fe2029: Download complete [2024-08-27T02:19:36.780Z] 4983c3fe2029: Pull complete [2024-08-27T02:19:36.780Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-27T02:19:36.780Z] Status: Downloaded newer image for alpine:3.18 [2024-08-27T02:19:36.780Z] ---> a0237000ae83 [2024-08-27T02:19:36.780Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-08-27T02:19:36.780Z] ---> Running in 22ec4d2253ad [2024-08-27T02:19:36.780Z] Removing intermediate container 22ec4d2253ad [2024-08-27T02:19:36.780Z] ---> 1924953515d3 [2024-08-27T02:19:36.780Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-27T02:19:36.780Z] ---> Running in dcc3a62787c6 [2024-08-27T02:19:36.780Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-27T02:19:36.780Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-27T02:19:37.366Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-27T02:19:37.366Z] Executing busybox-1.36.1-r7.trigger [2024-08-27T02:19:37.366Z] OK: 8 MiB in 16 packages [2024-08-27T02:19:38.332Z] Removing intermediate container dcc3a62787c6 [2024-08-27T02:19:38.332Z] ---> b3804a8350dd [2024-08-27T02:19:38.332Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-27T02:19:38.332Z] ---> Running in 68cefd5433ea [2024-08-27T02:19:39.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-27T02:19:39.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-27T02:19:40.525Z] OK: 8 MiB in 16 packages [2024-08-27T02:19:41.486Z] Removing intermediate container 68cefd5433ea [2024-08-27T02:19:41.486Z] ---> c286dccabe65 [2024-08-27T02:19:41.486Z] Step 15/24 : WORKDIR / [2024-08-27T02:19:41.486Z] ---> Running in 1a5b44e50acc [2024-08-27T02:19:41.754Z] Removing intermediate container 1a5b44e50acc [2024-08-27T02:19:41.754Z] ---> e5d02b868c37 [2024-08-27T02:19:41.754Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-08-27T02:19:42.350Z] ---> 1f1dbb2f4a26 [2024-08-27T02:19:42.350Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-08-27T02:19:44.300Z] ---> 2727f9e1b191 [2024-08-27T02:19:44.300Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-08-27T02:19:44.889Z] ---> 57ea9a634d64 [2024-08-27T02:19:44.889Z] Step 19/24 : EXPOSE 59999 [2024-08-27T02:19:45.157Z] ---> Running in 7a7c61d1b2bd [2024-08-27T02:19:45.426Z] Removing intermediate container 7a7c61d1b2bd [2024-08-27T02:19:45.426Z] ---> 831727fcb4bf [2024-08-27T02:19:45.426Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-08-27T02:19:45.426Z] ---> Running in acc3e2937599 [2024-08-27T02:19:45.700Z] Removing intermediate container acc3e2937599 [2024-08-27T02:19:45.700Z] ---> 2ef5e4cf27e5 [2024-08-27T02:19:45.700Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-27T02:19:45.700Z] ---> Running in 158bfda1ed47 [2024-08-27T02:19:45.968Z] Removing intermediate container 158bfda1ed47 [2024-08-27T02:19:45.968Z] ---> 48ff5378e1ab [2024-08-27T02:19:45.968Z] Step 22/24 : LABEL arch=arm64 [2024-08-27T02:19:46.239Z] ---> Running in ecca420d9b81 [2024-08-27T02:19:46.505Z] Removing intermediate container ecca420d9b81 [2024-08-27T02:19:46.505Z] ---> 40c0e1020060 [2024-08-27T02:19:46.505Z] Step 23/24 : LABEL git_sha=3e6ea3748ded273ffde4075f5b9e91a329ef63b3 [2024-08-27T02:19:46.505Z] ---> Running in 89fa7827fee7 [2024-08-27T02:19:46.770Z] Removing intermediate container 89fa7827fee7 [2024-08-27T02:19:46.770Z] ---> 785dea43e173 [2024-08-27T02:19:46.770Z] Step 24/24 : LABEL version=0.0.0 [2024-08-27T02:19:46.770Z] ---> Running in 9c64395e2654 [2024-08-27T02:19:47.035Z] Removing intermediate container 9c64395e2654 [2024-08-27T02:19:47.035Z] ---> 01644dca74a9 [2024-08-27T02:19:47.035Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-27T02:19:47.300Z] Successfully built 01644dca74a9 [2024-08-27T02:19:47.300Z] 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-08-27T02:19:48.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-27T02:19:48.258Z] [2024-08-27T02:19:48.258Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T02:19:48.703Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-27T02:19:48.703Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-27T02:19:48.703Z] 8998bd30e6a1: Pulling fs layer [2024-08-27T02:19:48.703Z] 04944245beec: Pulling fs layer [2024-08-27T02:19:48.703Z] 699f458cf7ca: Pulling fs layer [2024-08-27T02:19:48.703Z] 765212b225bb: Pulling fs layer [2024-08-27T02:19:48.703Z] f23df028b6ca: Pulling fs layer [2024-08-27T02:19:48.703Z] d65c8cfc05b1: Pulling fs layer [2024-08-27T02:19:48.703Z] 2437ff75d9bd: Pulling fs layer [2024-08-27T02:19:48.703Z] f23df028b6ca: Waiting [2024-08-27T02:19:48.703Z] d65c8cfc05b1: Waiting [2024-08-27T02:19:48.703Z] 2437ff75d9bd: Waiting [2024-08-27T02:19:48.703Z] 765212b225bb: Waiting [2024-08-27T02:19:48.975Z] 04944245beec: Verifying Checksum [2024-08-27T02:19:48.975Z] 04944245beec: Download complete [2024-08-27T02:19:48.975Z] 765212b225bb: Verifying Checksum [2024-08-27T02:19:48.975Z] 765212b225bb: Download complete [2024-08-27T02:19:48.975Z] f23df028b6ca: Download complete [2024-08-27T02:19:48.975Z] d65c8cfc05b1: Verifying Checksum [2024-08-27T02:19:48.975Z] d65c8cfc05b1: Download complete [2024-08-27T02:19:48.975Z] 699f458cf7ca: Verifying Checksum [2024-08-27T02:19:48.975Z] 699f458cf7ca: Download complete [2024-08-27T02:19:49.563Z] 8998bd30e6a1: Verifying Checksum [2024-08-27T02:19:49.563Z] 8998bd30e6a1: Download complete [2024-08-27T02:19:52.144Z] 2437ff75d9bd: Verifying Checksum [2024-08-27T02:19:52.144Z] 2437ff75d9bd: Download complete [2024-08-27T02:19:54.087Z] 8998bd30e6a1: Pull complete [2024-08-27T02:19:54.668Z] 04944245beec: Pull complete [2024-08-27T02:19:56.614Z] 699f458cf7ca: Pull complete [2024-08-27T02:19:56.614Z] 765212b225bb: Pull complete [2024-08-27T02:19:57.577Z] f23df028b6ca: Pull complete [2024-08-27T02:19:57.846Z] d65c8cfc05b1: Pull complete [2024-08-27T02:20:16.253Z] 2437ff75d9bd: Pull complete [2024-08-27T02:20:16.253Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-27T02:20:16.253Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-27T02:20:16.253Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T02:20:16.628Z] prd-ubuntu20.04-docker-arm64-4c-16g-8728 does not seem to be running inside a container [2024-08-27T02:20:16.694Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-08-27T02:20:19.640Z] $ docker top dab10d6088347a3843134bf2d6c63b78d03c468bd6047f243f1b72fe80cd734c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-27T02:20:20.609Z] ---> job-cost.sh [2024-08-27T02:20:20.609Z] lf-activate-venv: SKIPPING [2024-08-27T02:20:20.609Z] INFO: No Stack... [2024-08-27T02:20:21.190Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-27T02:20:21.771Z] INFO: Archiving Costs [Pipeline] sh [2024-08-27T02:20:22.437Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-08-27T02:20:22.438Z] + cut -d, -f6 [Pipeline] lock [2024-08-27T02:20:22.547Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1616-1-stack-cost] [2024-08-27T02:20:22.553Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1616-1-stack-cost] did not exist. Created. [2024-08-27T02:20:22.559Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1616-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-27T02:20:23.379Z] /w/workspace/device-sdk-go/1@tmp/durable-d0465e0b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-27T02:20:24.056Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-27T02:20:24.098Z] Warning: overwriting stash ‘stack-cost’ [2024-08-27T02:20:24.186Z] Stashed 1 file(s) [Pipeline] } [2024-08-27T02:20:24.208Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1616-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-27T02:20:24.306Z] $ docker stop --time=1 dab10d6088347a3843134bf2d6c63b78d03c468bd6047f243f1b72fe80cd734c [2024-08-27T02:20:25.817Z] $ docker rm -f --volumes dab10d6088347a3843134bf2d6c63b78d03c468bd6047f243f1b72fe80cd734c [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-08-27T02:20:27.104Z] provisioning config files... [2024-08-27T02:20:27.114Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/config12910714299268676475tmp [Pipeline] { [Pipeline] sh [2024-08-27T02:20:27.475Z] + set +x [2024-08-27T02:20:27.475Z] + curl -s https://codecov.io/bash [2024-08-27T02:20:27.475Z] + bash -s -- [2024-08-27T02:20:27.737Z] [2024-08-27T02:20:27.737Z] _____ _ [2024-08-27T02:20:27.737Z] / ____| | | [2024-08-27T02:20:27.737Z] | | ___ __| | ___ ___ _____ __ [2024-08-27T02:20:27.737Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-27T02:20:27.737Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-27T02:20:27.737Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-27T02:20:27.737Z] Bash-1.0.6 [2024-08-27T02:20:27.737Z] [2024-08-27T02:20:27.737Z] [2024-08-27T02:20:27.737Z] ==> git version 2.25.1 found [2024-08-27T02:20:27.737Z] ==> 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-08-27T02:20:27.737Z] Release-Date: 2020-01-08 [2024-08-27T02:20:27.737Z] 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-08-27T02:20:27.737Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-27T02:20:27.737Z] ==> Jenkins CI detected. [2024-08-27T02:20:27.737Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1616 [2024-08-27T02:20:27.737Z] project root: . [2024-08-27T02:20:27.737Z] --> token set from env [2024-08-27T02:20:27.737Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-27T02:20:27.737Z] ==> Running gcov in . (disable via -X gcov) [2024-08-27T02:20:27.737Z] ==> Python coveragepy not found [2024-08-27T02:20:27.737Z] ==> Searching for coverage reports in: [2024-08-27T02:20:27.737Z] + . [2024-08-27T02:20:27.737Z] -> Found 1 reports [2024-08-27T02:20:27.737Z] ==> Detecting git/mercurial file structure [2024-08-27T02:20:27.737Z] ==> Reading reports [2024-08-27T02:20:27.737Z] + ./coverage.out bytes=126492 [2024-08-27T02:20:27.737Z] ==> Appending adjustments [2024-08-27T02:20:27.737Z] https://docs.codecov.io/docs/fixing-reports [2024-08-27T02:20:27.998Z] + Found adjustments [2024-08-27T02:20:27.998Z] ==> Gzipping contents [2024-08-27T02:20:27.998Z] 20K /tmp/codecov.NS0Giv.gz [2024-08-27T02:20:27.998Z] ==> Uploading reports [2024-08-27T02:20:27.998Z] url: https://codecov.io [2024-08-27T02:20:27.998Z] query: branch=PR-1616&commit=3e6ea3748ded273ffde4075f5b9e91a329ef63b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1616%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1616&job=&cmd_args= [2024-08-27T02:20:27.998Z] -> Pinging Codecov [2024-08-27T02:20:27.998Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1616&commit=3e6ea3748ded273ffde4075f5b9e91a329ef63b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1616%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1616&job=&cmd_args= [2024-08-27T02:20:28.258Z] -> Uploading to [2024-08-27T02:20:28.258Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-27/7E55EF52A471D76F132DFD9A03CDDE97/3e6ea3748ded273ffde4075f5b9e91a329ef63b3/6a0725b6-2e7b-490a-8466-0c52cdb34129.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240827%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240827T022028Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b8d9547d01ec84ca40803707fa46c7816d84e1034a3afcba66fedf5bc83193fc [2024-08-27T02:20:28.258Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-27T02:20:28.258Z] Dload Upload Total Spent Left Speed [2024-08-27T02:20:28.520Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17285 0 0 100 17285 0 62854 --:--:-- --:--:-- --:--:-- 62854 [2024-08-27T02:20:28.520Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/3e6ea3748ded273ffde4075f5b9e91a329ef63b3 [Pipeline] } [2024-08-27T02:20:28.556Z] 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-08-27T02:20:31.121Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1616/archives ] [2024-08-27T02:20:31.121Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1616/archives [2024-08-27T02:20:31.121Z] total 16 [2024-08-27T02:20:31.121Z] drwxr-xr-x 3 root root 4096 Aug 27 02:02 . [2024-08-27T02:20:31.121Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 27 02:02 .. [2024-08-27T02:20:31.121Z] drwxr-xr-x 2 root root 4096 Aug 27 02:02 cost [2024-08-27T02:20:31.121Z] -rw-r--r-- 1 root root 86 Aug 27 02:02 cost.csv [2024-08-27T02:20:31.121Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1616/archives [2024-08-27T02:20:31.121Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1616/archives [2024-08-27T02:20:31.121Z] total 16 [2024-08-27T02:20:31.121Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 27 02:02 . [2024-08-27T02:20:31.122Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 27 02:02 .. [2024-08-27T02:20:31.122Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 27 02:02 cost [2024-08-27T02:20:31.122Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 27 02:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-27T02:20:31.473Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-27T02:20:32.381Z] ---> package-listing.sh [2024-08-27T02:20:32.381Z] ++ facter osfamily [2024-08-27T02:20:32.381Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-27T02:20:32.641Z] + OS_FAMILY=debian [2024-08-27T02:20:32.641Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1616 [2024-08-27T02:20:32.641Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-27T02:20:32.641Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-27T02:20:32.641Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-27T02:20:32.641Z] + PACKAGES=/tmp/packages_start.txt [2024-08-27T02:20:32.641Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1616 ']' [2024-08-27T02:20:32.641Z] + PACKAGES=/tmp/packages_end.txt [2024-08-27T02:20:32.641Z] + case "${OS_FAMILY}" in [2024-08-27T02:20:32.641Z] + dpkg -l [2024-08-27T02:20:32.641Z] + grep '^ii' [2024-08-27T02:20:32.641Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-27T02:20:32.641Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-27T02:20:32.641Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-27T02:20:32.641Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1616 ']' [2024-08-27T02:20:32.641Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1616/archives/ [2024-08-27T02:20:32.641Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1616/archives/ [Pipeline] echo [2024-08-27T02:20:32.689Z] 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-1616/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-27T02:20:32.994Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T02:20:33.655Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-27T02:20:33.655Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T02:20:33.833Z] prd-ubuntu20.04-docker-8c-8g-8726 does not seem to be running inside a container [2024-08-27T02:20:33.860Z] $ 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-1616/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-1616 -v /w/workspace/gexfoundry_device-sdk-go_PR-1616:/w/workspace/gexfoundry_device-sdk-go_PR-1616:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-27T02:20:34.076Z] $ docker top d5005de82037be89085d3004175e7f150df84dd55d97144dda246bca9ac7d234 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-27T02:20:34.519Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-27T02:20:34.841Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-27T02:20:35.158Z] + ls /var/log/sa-host [2024-08-27T02:20:35.158Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-27T02:20:35.438Z] provisioning config files... [2024-08-27T02:20:35.449Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/config6299147424865822374tmp [Pipeline] { [Pipeline] echo [2024-08-27T02:20:35.518Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-27T02:20:35.905Z] ---> create-netrc.sh [Pipeline] } [2024-08-27T02:20:35.952Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-27T02:20:36.424Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-27T02:20:36.462Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-27T02:20:36.863Z] ---> sudo-logs.sh [2024-08-27T02:20:36.863Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-27T02:20:36.966Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-27T02:20:37.296Z] ---> job-cost.sh [2024-08-27T02:20:37.296Z] lf-activate-venv: SKIPPING [2024-08-27T02:20:37.296Z] DEBUG: total: 0.2199999988079071 [2024-08-27T02:20:37.296Z] INFO: Retrieving Stack Cost... [2024-08-27T02:20:37.555Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-27T02:20:37.814Z] INFO: Archiving Costs [Pipeline] echo [2024-08-27T02:20:37.862Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-27T02:20:38.191Z] ---> logs-deploy.sh [2024-08-27T02:20:38.191Z] lf-activate-venv: SKIPPING [2024-08-27T02:20:38.191Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1616/1 [2024-08-27T02:20:38.191Z] INFO: archiving workspace using pattern(s): [2024-08-27T02:20:39.129Z] Archives upload complete. [2024-08-27T02:20:39.388Z] INFO: archiving logs to Nexus