Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 84bab1506d64f738ceaa35eb47361f1b8d059c85+0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd (0a8264338e46c6d6df4d1c2c238f1ee962ff88b7) 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-ssh18416336347417509439.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh14537175956665029286.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1626/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1626/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10240299190885657343.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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 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-ssh11409364303537606671.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1626/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1626/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16212872137423329905.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 ‘prd-ubuntu20.04-docker-8c-8g-12485’ Running on prd-ubuntu20.04-docker-8c-8g-12488 in /w/workspace/gexfoundry_device-sdk-go_PR-1626 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1626 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1626/head:refs/remotes/origin/PR-1626 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd into PR head commit 84bab1506d64f738ceaa35eb47361f1b8d059c85 Merge succeeded, producing 0c4cd94f71968d7b30ca27b91f24897f268ea7b4 Checking out Revision 0c4cd94f71968d7b30ca27b91f24897f268ea7b4 (PR-1626) > git config core.sparsecheckout # timeout=10 > git checkout -f 84bab1506d64f738ceaa35eb47361f1b8d059c85 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c4cd94f71968d7b30ca27b91f24897f268ea7b4 # timeout=10 Commit message: "Merge commit '0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd' into HEAD" > git rev-list --no-walk 84bab1506d64f738ceaa35eb47361f1b8d059c85 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-01T18:43:02.522Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-01T18:43:02.600Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-01T18:43:02.627Z] ========================================================= [2024-10-01T18:43:02.627Z] EdgeX Global Pipelines Version Info [2024-10-01T18:43:02.627Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-01T18:43:03.401Z] ------------------- [2024-10-01T18:43:03.401Z] stable info: [2024-10-01T18:43:03.401Z] ------------------- [2024-10-01T18:43:03.401Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-01T18:43:03.401Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-01T18:43:03.401Z] Message: update stable to v1.0.264 [2024-10-01T18:43:03.974Z] ------------------- [2024-10-01T18:43:03.974Z] experimental info: [2024-10-01T18:43:03.974Z] ------------------- [2024-10-01T18:43:03.974Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-01T18:43:03.974Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-01T18:43:03.974Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-01T18:43:04.049Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-10-01T18:43:04.070Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-10-01T18:43:04.093Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-01T18:43:04.118Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-01T18:43:04.143Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-01T18:43:04.169Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-10-01T18:43:04.192Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-01T18:43:04.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-10-01T18:43:04.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-01T18:43:04.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-01T18:43:04.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-01T18:43:04.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-10-01T18:43:04.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-01T18:43:04.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-01T18:43:04.384Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-01T18:43:04.411Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-01T18:43:04.433Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-01T18:43:04.459Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-01T18:43:04.482Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-01T18:43:04.508Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-01T18:43:04.528Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-01T18:43:04.547Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-10-01T18:43:04.563Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-01T18:43:04.584Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-01T18:43:04.608Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-01T18:43:04.628Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-01T18:43:04.649Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-01T18:43:04.670Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1626 [Pipeline] echo [2024-10-01T18:43:04.687Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1626 [Pipeline] echo [2024-10-01T18:43:04.706Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1626 [Pipeline] echo [2024-10-01T18:43:04.727Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c4cd94f71968d7b30ca27b91f24897f268ea7b4 [Pipeline] echo [2024-10-01T18:43:04.747Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c4cd94 [Pipeline] echo [2024-10-01T18:43:04.770Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-01T18:43:04.831Z] provisioning config files... [2024-10-01T18:43:04.844Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/config12579817341159961760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T18:43:05.173Z] ---> ****-login.sh [2024-10-01T18:43:05.173Z] nexus3.edgexfoundry.org:10001 [2024-10-01T18:43:05.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:43:05.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:43:05.436Z] Configure a credential helper to remove this warning. See [2024-10-01T18:43:05.436Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:43:05.436Z] [2024-10-01T18:43:05.436Z] Login Succeeded [2024-10-01T18:43:05.436Z] nexus3.edgexfoundry.org:10002 [2024-10-01T18:43:05.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:43:05.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:43:05.699Z] Configure a credential helper to remove this warning. See [2024-10-01T18:43:05.699Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:43:05.699Z] [2024-10-01T18:43:05.699Z] Login Succeeded [2024-10-01T18:43:05.699Z] nexus3.edgexfoundry.org:10003 [2024-10-01T18:43:05.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:43:05.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:43:05.699Z] Configure a credential helper to remove this warning. See [2024-10-01T18:43:05.700Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:43:05.700Z] [2024-10-01T18:43:05.700Z] Login Succeeded [2024-10-01T18:43:05.700Z] nexus3.edgexfoundry.org:10004 [2024-10-01T18:43:05.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:43:05.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:43:05.700Z] Configure a credential helper to remove this warning. See [2024-10-01T18:43:05.700Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:43:05.700Z] [2024-10-01T18:43:05.700Z] Login Succeeded [2024-10-01T18:43:05.700Z] ****.io [2024-10-01T18:43:05.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:43:06.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:43:06.224Z] Configure a credential helper to remove this warning. See [2024-10-01T18:43:06.224Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:43:06.224Z] [2024-10-01T18:43:06.224Z] Login Succeeded [2024-10-01T18:43:06.224Z] ---> ****-login.sh ends [Pipeline] } [2024-10-01T18:43:06.233Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-01T18:43:06.655Z] + git rev-list -1 --merges 0c4cd94f71968d7b30ca27b91f24897f268ea7b4~1..0c4cd94f71968d7b30ca27b91f24897f268ea7b4 [Pipeline] echo [2024-10-01T18:43:06.688Z] -----------> git rev-list -1 --merges 0c4cd94f71968d7b30ca27b91f24897f268ea7b4~1..0c4cd94f71968d7b30ca27b91f24897f268ea7b4 0c4cd94f71968d7b30ca27b91f24897f268ea7b4 [2024-10-01T18:43:06.689Z] 0c4cd94f71968d7b30ca27b91f24897f268ea7b4 [false] [Pipeline] sh [2024-10-01T18:43:06.989Z] + git log --format=format:%s -1 0c4cd94f71968d7b30ca27b91f24897f268ea7b4 [Pipeline] echo [2024-10-01T18:43:07.007Z] ========================================================= [2024-10-01T18:43:07.007Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-01T18:43:07.007Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-01T18:43:07.364Z] + git log --format=format:%s -1 0c4cd94f71968d7b30ca27b91f24897f268ea7b4 [Pipeline] echo [2024-10-01T18:43:07.379Z] [semverPrep] GIT_COMMIT: 0c4cd94f71968d7b30ca27b91f24897f268ea7b4, Commit Message: Merge commit '0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd' into HEAD [Pipeline] echo [2024-10-01T18:43:07.395Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-01T18:43:07.761Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-01T18:43:07.761Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-01T18:43:07.761Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-01T18:43:07.761Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-01T18:43:07.761Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-01T18:43:07.761Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-01T18:43:07.761Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:43:08.122Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-01T18:43:08.122Z] [2024-10-01T18:43:08.122Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:43:08.436Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-01T18:43:08.436Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-01T18:43:08.436Z] b85a868b505f: Pulling fs layer [2024-10-01T18:43:08.436Z] e2be974225ed: Pulling fs layer [2024-10-01T18:43:08.436Z] 339a4e72a1f5: Pulling fs layer [2024-10-01T18:43:08.436Z] 988bab9f4d93: Pulling fs layer [2024-10-01T18:43:08.436Z] 1469e6f7b9e6: Pulling fs layer [2024-10-01T18:43:08.436Z] eaf3925da568: Pulling fs layer [2024-10-01T18:43:08.436Z] bab4dde63d76: Pulling fs layer [2024-10-01T18:43:08.436Z] bde34c3a00c8: Pulling fs layer [2024-10-01T18:43:08.436Z] b352a97aabf1: Pulling fs layer [2024-10-01T18:43:08.436Z] 1469e6f7b9e6: Waiting [2024-10-01T18:43:08.436Z] 4872d77fe225: Pulling fs layer [2024-10-01T18:43:08.436Z] 5851b861e8e6: Pulling fs layer [2024-10-01T18:43:08.436Z] eaf3925da568: Waiting [2024-10-01T18:43:08.436Z] bab4dde63d76: Waiting [2024-10-01T18:43:08.436Z] 4872d77fe225: Waiting [2024-10-01T18:43:08.436Z] bde34c3a00c8: Waiting [2024-10-01T18:43:08.436Z] 5851b861e8e6: Waiting [2024-10-01T18:43:08.436Z] b352a97aabf1: Waiting [2024-10-01T18:43:08.436Z] e2be974225ed: Verifying Checksum [2024-10-01T18:43:08.436Z] e2be974225ed: Download complete [2024-10-01T18:43:08.436Z] 988bab9f4d93: Verifying Checksum [2024-10-01T18:43:08.436Z] 988bab9f4d93: Download complete [2024-10-01T18:43:08.697Z] 1469e6f7b9e6: Verifying Checksum [2024-10-01T18:43:08.697Z] 1469e6f7b9e6: Download complete [2024-10-01T18:43:08.697Z] eaf3925da568: Verifying Checksum [2024-10-01T18:43:08.697Z] eaf3925da568: Download complete [2024-10-01T18:43:08.697Z] 339a4e72a1f5: Verifying Checksum [2024-10-01T18:43:08.697Z] 339a4e72a1f5: Download complete [2024-10-01T18:43:08.697Z] bde34c3a00c8: Download complete [2024-10-01T18:43:08.697Z] b352a97aabf1: Download complete [2024-10-01T18:43:08.697Z] 5851b861e8e6: Verifying Checksum [2024-10-01T18:43:08.697Z] 5851b861e8e6: Download complete [2024-10-01T18:43:08.697Z] b85a868b505f: Verifying Checksum [2024-10-01T18:43:08.697Z] b85a868b505f: Download complete [2024-10-01T18:43:08.956Z] bab4dde63d76: Verifying Checksum [2024-10-01T18:43:09.892Z] b85a868b505f: Pull complete [2024-10-01T18:43:10.151Z] e2be974225ed: Pull complete [2024-10-01T18:43:10.721Z] 339a4e72a1f5: Pull complete [2024-10-01T18:43:10.721Z] 988bab9f4d93: Pull complete [2024-10-01T18:43:10.980Z] 1469e6f7b9e6: Pull complete [2024-10-01T18:43:10.980Z] eaf3925da568: Pull complete [2024-10-01T18:43:12.883Z] bab4dde63d76: Pull complete [2024-10-01T18:43:12.883Z] bde34c3a00c8: Pull complete [2024-10-01T18:43:12.883Z] b352a97aabf1: Pull complete [2024-10-01T18:43:12.883Z] 4872d77fe225: Pull complete [2024-10-01T18:43:13.144Z] 5851b861e8e6: Pull complete [2024-10-01T18:43:13.144Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-01T18:43:13.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-01T18:43:13.144Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T18:43:13.287Z] prd-ubuntu20.04-docker-8c-8g-12488 does not seem to be running inside a container [2024-10-01T18:43:13.325Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1626 -v /w/workspace/gexfoundry_device-sdk-go_PR-1626:/w/workspace/gexfoundry_device-sdk-go_PR-1626:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-01T18:43:16.413Z] $ docker top a61f24026790ecaa700706cc970d0657e5a1c7ed4bc187230b2c8b220d2ed45d -eo pid,comm [2024-10-01T18:43:16.471Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-01T18:43:16.471Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-01T18:43:16.535Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-01T18:43:16.536Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-01T18:43:16.666Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-01T18:43:16.667Z] $ docker exec a61f24026790ecaa700706cc970d0657e5a1c7ed4bc187230b2c8b220d2ed45d ssh-agent [2024-10-01T18:43:16.775Z] SSH_AUTH_SOCK=/tmp/ssh-UE9oRakRiorP/agent.32 [2024-10-01T18:43:16.775Z] SSH_AGENT_PID=38 [2024-10-01T18:43:16.782Z] Running ssh-add (command line suppressed) [2024-10-01T18:43:16.874Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/private_key_7375894640225282703.key (/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/private_key_7375894640225282703.key) [2024-10-01T18:43:16.897Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-01T18:43:17.194Z] + git tag --points-at HEAD [Pipeline] } [2024-10-01T18:43:17.206Z] $ docker exec --env ******** --env ******** a61f24026790ecaa700706cc970d0657e5a1c7ed4bc187230b2c8b220d2ed45d ssh-agent -k [2024-10-01T18:43:17.304Z] unset SSH_AUTH_SOCK; [2024-10-01T18:43:17.305Z] unset SSH_AGENT_PID; [2024-10-01T18:43:17.306Z] echo Agent pid 38 killed; [2024-10-01T18:43:17.317Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-01T18:43:17.357Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-01T18:43:17.357Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-01T18:43:17.485Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-01T18:43:17.486Z] $ docker exec a61f24026790ecaa700706cc970d0657e5a1c7ed4bc187230b2c8b220d2ed45d ssh-agent [2024-10-01T18:43:17.589Z] SSH_AUTH_SOCK=/tmp/ssh-kOgzRsoXgBL7/agent.71 [2024-10-01T18:43:17.589Z] SSH_AGENT_PID=77 [2024-10-01T18:43:17.594Z] Running ssh-add (command line suppressed) [2024-10-01T18:43:17.706Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/private_key_9755344152500614776.key (/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/private_key_9755344152500614776.key) [2024-10-01T18:43:17.722Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-01T18:43:18.021Z] + git semver init [2024-10-01T18:43:18.284Z] 2024-10-01 18:43:18,203 [run_init] DEBUG init version:0.0.0 force:False [2024-10-01T18:43:18.284Z] 2024-10-01 18:43:18,204 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver [2024-10-01T18:43:18.284Z] 2024-10-01 18:43:18,205 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver [2024-10-01T18:43:18.284Z] 2024-10-01 18:43:18,205 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1626, universal_newlines=False, shell=None, istream=None) [2024-10-01T18:43:20.831Z] 2024-10-01 18:43:20,340 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1626/.git/info/exclude [2024-10-01T18:43:20.831Z] 2024-10-01 18:43:20,341 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver/PR-1626 with force:False [2024-10-01T18:43:20.831Z] 2024-10-01 18:43:20,341 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver/PR-1626 [2024-10-01T18:43:20.831Z] 2024-10-01 18:43:20,346 [execute] INFO git cat-file --batch-check [2024-10-01T18:43:20.831Z] 2024-10-01 18:43:20,346 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver, universal_newlines=False, shell=None, istream=) [2024-10-01T18:43:20.831Z] 2024-10-01 18:43:20,353 [execute] INFO git cat-file --batch [2024-10-01T18:43:20.831Z] 2024-10-01 18:43:20,354 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver, universal_newlines=False, shell=None, istream=) [2024-10-01T18:43:20.831Z] 2024-10-01 18:43:20,360 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1626/.semver/PR-1626 [2024-10-01T18:43:20.831Z] 0.0.0 [Pipeline] } [2024-10-01T18:43:20.841Z] $ docker exec --env ******** --env ******** a61f24026790ecaa700706cc970d0657e5a1c7ed4bc187230b2c8b220d2ed45d ssh-agent -k [2024-10-01T18:43:20.942Z] unset SSH_AUTH_SOCK; [2024-10-01T18:43:20.943Z] unset SSH_AGENT_PID; [2024-10-01T18:43:20.943Z] echo Agent pid 77 killed; [2024-10-01T18:43:20.957Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-01T18:43:21.281Z] + git semver [Pipeline] } [2024-10-01T18:43:21.554Z] $ docker stop --time=1 a61f24026790ecaa700706cc970d0657e5a1c7ed4bc187230b2c8b220d2ed45d [2024-10-01T18:43:22.864Z] $ docker rm -f --volumes a61f24026790ecaa700706cc970d0657e5a1c7ed4bc187230b2c8b220d2ed45d [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-01T18:43:23.224Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-01T18:43:23.467Z] Stashed 1 file(s) [Pipeline] echo [2024-10-01T18:43:23.472Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-01T18:43:23.673Z] provisioning config files... [2024-10-01T18:43:23.683Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/config10849315444400492373tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T18:43:23.990Z] ---> ****-login.sh [2024-10-01T18:43:23.990Z] nexus3.edgexfoundry.org:10001 [2024-10-01T18:43:23.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:43:23.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:43:23.990Z] Configure a credential helper to remove this warning. See [2024-10-01T18:43:23.990Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:43:23.990Z] [2024-10-01T18:43:23.990Z] Login Succeeded [2024-10-01T18:43:23.991Z] nexus3.edgexfoundry.org:10002 [2024-10-01T18:43:23.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:43:23.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:43:23.991Z] Configure a credential helper to remove this warning. See [2024-10-01T18:43:23.991Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:43:23.991Z] [2024-10-01T18:43:23.991Z] Login Succeeded [2024-10-01T18:43:23.991Z] nexus3.edgexfoundry.org:10003 [2024-10-01T18:43:24.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:43:24.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:43:24.250Z] Configure a credential helper to remove this warning. See [2024-10-01T18:43:24.250Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:43:24.250Z] [2024-10-01T18:43:24.250Z] Login Succeeded [2024-10-01T18:43:24.250Z] nexus3.edgexfoundry.org:10004 [2024-10-01T18:43:24.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:43:24.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:43:24.250Z] Configure a credential helper to remove this warning. See [2024-10-01T18:43:24.250Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:43:24.250Z] [2024-10-01T18:43:24.250Z] Login Succeeded [2024-10-01T18:43:24.250Z] ****.io [2024-10-01T18:43:24.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:43:24.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:43:24.510Z] Configure a credential helper to remove this warning. See [2024-10-01T18:43:24.510Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:43:24.510Z] [2024-10-01T18:43:24.510Z] Login Succeeded [2024-10-01T18:43:24.510Z] ---> ****-login.sh ends [Pipeline] } [2024-10-01T18:43:24.518Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-01T18:43:24.602Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-01T18:43:24.624Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-01T18:43:24.644Z] ========================================================= [2024-10-01T18:43:24.644Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-10-01T18:43:24.644Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:43:24.987Z] + 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-10-01T18:43:24.987Z] Sending build context to Docker daemon 25.33MB [2024-10-01T18:43:24.987Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-10-01T18:43:24.987Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-01T18:43:25.247Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-01T18:43:25.247Z] 619be1103602: Pulling fs layer [2024-10-01T18:43:25.247Z] 7862e08f4a3e: Pulling fs layer [2024-10-01T18:43:25.247Z] 5df492c9dc93: Pulling fs layer [2024-10-01T18:43:25.247Z] 7629e6793208: Pulling fs layer [2024-10-01T18:43:25.247Z] 4f4fb700ef54: Pulling fs layer [2024-10-01T18:43:25.247Z] fb5054dd5b73: Pulling fs layer [2024-10-01T18:43:25.247Z] eeca6798cff9: Pulling fs layer [2024-10-01T18:43:25.247Z] aa269ceb94a6: Pulling fs layer [2024-10-01T18:43:25.247Z] ada007ff1a6a: Pulling fs layer [2024-10-01T18:43:25.247Z] 7629e6793208: Waiting [2024-10-01T18:43:25.247Z] fb5054dd5b73: Waiting [2024-10-01T18:43:25.247Z] eeca6798cff9: Waiting [2024-10-01T18:43:25.247Z] 4f4fb700ef54: Waiting [2024-10-01T18:43:25.247Z] aa269ceb94a6: Waiting [2024-10-01T18:43:25.247Z] ada007ff1a6a: Waiting [2024-10-01T18:43:25.247Z] 7862e08f4a3e: Verifying Checksum [2024-10-01T18:43:25.247Z] 7862e08f4a3e: Download complete [2024-10-01T18:43:25.247Z] 7629e6793208: Verifying Checksum [2024-10-01T18:43:25.247Z] 7629e6793208: Download complete [2024-10-01T18:43:25.506Z] 4f4fb700ef54: Download complete [2024-10-01T18:43:25.506Z] fb5054dd5b73: Download complete [2024-10-01T18:43:25.506Z] 619be1103602: Verifying Checksum [2024-10-01T18:43:25.506Z] 619be1103602: Download complete [2024-10-01T18:43:25.764Z] eeca6798cff9: Verifying Checksum [2024-10-01T18:43:25.764Z] eeca6798cff9: Download complete [2024-10-01T18:43:25.764Z] 619be1103602: Pull complete [2024-10-01T18:43:25.764Z] 7862e08f4a3e: Pull complete [2024-10-01T18:43:25.764Z] ada007ff1a6a: Verifying Checksum [2024-10-01T18:43:25.764Z] ada007ff1a6a: Download complete [2024-10-01T18:43:26.023Z] 5df492c9dc93: Download complete [2024-10-01T18:43:26.281Z] aa269ceb94a6: Verifying Checksum [2024-10-01T18:43:26.281Z] aa269ceb94a6: Download complete [2024-10-01T18:43:29.568Z] 5df492c9dc93: Pull complete [2024-10-01T18:43:29.568Z] 7629e6793208: Pull complete [2024-10-01T18:43:29.568Z] 4f4fb700ef54: Pull complete [2024-10-01T18:43:29.568Z] fb5054dd5b73: Pull complete [2024-10-01T18:43:29.568Z] eeca6798cff9: Pull complete [2024-10-01T18:43:31.489Z] aa269ceb94a6: Pull complete [2024-10-01T18:43:32.056Z] ada007ff1a6a: Pull complete [2024-10-01T18:43:32.056Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-10-01T18:43:32.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-10-01T18:43:32.056Z] ---> f489d0715acc [2024-10-01T18:43:32.056Z] Step 3/10 : ARG MAKE=make build [2024-10-01T18:43:38.616Z] Still waiting to schedule task [2024-10-01T18:43:38.617Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-01T18:43:38.661Z] ---> Running in 044d65f2978b [2024-10-01T18:43:38.661Z] Removing intermediate container 044d65f2978b [2024-10-01T18:43:38.661Z] ---> a37057be258a [2024-10-01T18:43:38.661Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-01T18:43:38.661Z] ---> Running in b789744863a2 [2024-10-01T18:43:38.661Z] Removing intermediate container b789744863a2 [2024-10-01T18:43:38.661Z] ---> 2fc3238b263c [2024-10-01T18:43:38.661Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-01T18:43:38.661Z] ---> Running in 8f9064c4eee1 [2024-10-01T18:43:38.661Z] Removing intermediate container 8f9064c4eee1 [2024-10-01T18:43:38.661Z] ---> 56a73e74315f [2024-10-01T18:43:38.661Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-01T18:43:38.661Z] ---> Running in b9ffbbb34a94 [2024-10-01T18:43:38.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-01T18:43:38.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-01T18:43:39.178Z] OK: 264 MiB in 52 packages [2024-10-01T18:43:39.437Z] Removing intermediate container b9ffbbb34a94 [2024-10-01T18:43:39.437Z] ---> b44b575726e3 [2024-10-01T18:43:39.437Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-01T18:43:39.696Z] ---> 4a58bf1be862 [2024-10-01T18:43:39.696Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-01T18:43:39.696Z] ---> Running in 98ecdc57ef2c [2024-10-01T18:44:37.291Z] Removing intermediate container 98ecdc57ef2c [2024-10-01T18:44:37.291Z] ---> f114717a87bd [2024-10-01T18:44:37.291Z] Step 9/10 : COPY . . [2024-10-01T18:44:38.284Z] ---> 75a96ae26b49 [2024-10-01T18:44:38.284Z] Step 10/10 : RUN ${MAKE} [2024-10-01T18:44:38.284Z] ---> Running in 8e3dbaf16acd [2024-10-01T18:44:38.543Z] noop [2024-10-01T18:44:38.802Z] Removing intermediate container 8e3dbaf16acd [2024-10-01T18:44:38.802Z] ---> 3da01940dcc6 [2024-10-01T18:44:38.802Z] Successfully built 3da01940dcc6 [2024-10-01T18:44:38.802Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:44:39.130Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-01T18:44:39.130Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T18:44:39.207Z] prd-ubuntu20.04-docker-8c-8g-12488 does not seem to be running inside a container [2024-10-01T18:44:39.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1626 -v /w/workspace/gexfoundry_device-sdk-go_PR-1626:/w/workspace/gexfoundry_device-sdk-go_PR-1626:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-01T18:44:39.550Z] $ docker top ac82c29b2f160a652a4eefee6852b25152307ef00dde91c2ae3aa82e64e5abff -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T18:44:39.892Z] + go version [2024-10-01T18:44:39.892Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-10-01T18:44:39.904Z] $ docker stop --time=1 ac82c29b2f160a652a4eefee6852b25152307ef00dde91c2ae3aa82e64e5abff [2024-10-01T18:44:41.215Z] $ docker rm -f --volumes ac82c29b2f160a652a4eefee6852b25152307ef00dde91c2ae3aa82e64e5abff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:44:41.638Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-01T18:44:41.639Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T18:44:41.716Z] prd-ubuntu20.04-docker-8c-8g-12488 does not seem to be running inside a container [2024-10-01T18:44:41.747Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1626 -v /w/workspace/gexfoundry_device-sdk-go_PR-1626:/w/workspace/gexfoundry_device-sdk-go_PR-1626:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-01T18:44:42.113Z] $ docker top c9dc63a9ee192e05eedb8a162b65a66bccd422dfc0dddd0ab9188bd369cf85cc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T18:44:42.563Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1626 [Pipeline] fileExists [Pipeline] sh [2024-10-01T18:44:42.865Z] + make test [2024-10-01T18:44:42.865Z] go test -race -coverprofile=coverage.out ./... [2024-10-01T18:44:49.425Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-01T18:45:22.457Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-10-01T18:45:22.457Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-10-01T18:45:22.457Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-10-01T18:45:22.457Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-10-01T18:45:22.457Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-10-01T18:45:22.457Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.023s coverage: 26.0% of statements [2024-10-01T18:45:22.457Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.032s coverage: 79.4% of statements [2024-10-01T18:45:23.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-10-01T18:45:23.395Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-10-01T18:45:24.334Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-10-01T18:45:24.334Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.040s coverage: 86.0% of statements [2024-10-01T18:45:24.334Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-10-01T18:45:24.334Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-01T18:45:24.334Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-10-01T18:45:25.271Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.075s coverage: 45.2% of statements [2024-10-01T18:45:26.210Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-10-01T18:45:28.117Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.034s coverage: 14.1% of statements [2024-10-01T18:45:28.117Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.499s coverage: 44.6% of statements [2024-10-01T18:45:28.117Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.051s coverage: 68.5% of statements [2024-10-01T18:45:28.117Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.091s coverage: 89.2% of statements [2024-10-01T18:45:28.117Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.056s coverage: 5.3% of statements [2024-10-01T18:46:00.185Z] GO111MODULE=on go vet ./... [2024-10-01T18:46:04.367Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-01T18:46:04.367Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-01T18:46:04.367Z] ./bin/test-attribution-txt.sh [2024-10-01T18:46:04.367Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-10-01T18:46:04.367Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-10-01T18:46:04.381Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-01T18:46:04.402Z] $ docker stop --time=1 c9dc63a9ee192e05eedb8a162b65a66bccd422dfc0dddd0ab9188bd369cf85cc [2024-10-01T18:46:09.940Z] $ docker rm -f --volumes c9dc63a9ee192e05eedb8a162b65a66bccd422dfc0dddd0ab9188bd369cf85cc [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-01T18:46:10.600Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-01T18:46:10.664Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-01T18:46:11.211Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-01T18:46:11.495Z] + ls -al . [2024-10-01T18:46:11.495Z] total 384 [2024-10-01T18:46:11.495Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 1 18:44 . [2024-10-01T18:46:11.495Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 18:42 .. [2024-10-01T18:46:11.495Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 1 18:42 .dockerignore [2024-10-01T18:46:11.495Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 18:45 .git [2024-10-01T18:46:11.495Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 18:42 .github [2024-10-01T18:46:11.495Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 1 18:42 .gitignore [2024-10-01T18:46:11.495Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 1 18:42 .golangci.yml [2024-10-01T18:46:11.495Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 1 18:43 .semver [2024-10-01T18:46:11.495Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 1 18:42 CHANGELOG.md [2024-10-01T18:46:11.495Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 1 18:42 GOVERNANCE.md [2024-10-01T18:46:11.495Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 1 18:42 Jenkinsfile [2024-10-01T18:46:11.495Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 1 18:42 LICENSE [2024-10-01T18:46:11.495Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 1 18:42 Makefile [2024-10-01T18:46:11.495Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 1 18:42 OWNERS.md [2024-10-01T18:46:11.495Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 1 18:42 README.md [2024-10-01T18:46:11.495Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 1 18:43 VERSION [2024-10-01T18:46:11.495Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 18:42 bin [2024-10-01T18:46:11.495Z] -rw-r--r-- 1 jenkins jenkins 128347 Oct 1 18:45 coverage.out [2024-10-01T18:46:11.495Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 1 18:42 example [2024-10-01T18:46:11.495Z] -rw-rw-r-- 1 jenkins jenkins 6984 Oct 1 18:42 go.mod [2024-10-01T18:46:11.495Z] -rw-rw-r-- 1 jenkins jenkins 101627 Oct 1 18:42 go.sum [2024-10-01T18:46:11.495Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 1 18:42 internal [2024-10-01T18:46:11.495Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 18:42 openapi [2024-10-01T18:46:11.495Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 1 18:42 pkg [2024-10-01T18:46:11.495Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 18:42 snap [2024-10-01T18:46:11.495Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 1 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:46:11.841Z] + 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=0c4cd94f71968d7b30ca27b91f24897f268ea7b4 --label arch=amd64 --label version=0.0.0 . [2024-10-01T18:46:11.842Z] Sending build context to Docker daemon 25.46MB [2024-10-01T18:46:11.842Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-10-01T18:46:11.842Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-01T18:46:11.842Z] ---> 3da01940dcc6 [2024-10-01T18:46:11.842Z] Step 3/24 : ARG MAKE=make build [2024-10-01T18:46:12.135Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12492 in /w/workspace/gexfoundry_device-sdk-go_PR-1626 [Pipeline] { [Pipeline] ws [2024-10-01T18:46:12.154Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2024-10-01T18:46:12.207Z] The recommended git tool is: git [2024-10-01T18:46:12.409Z] ---> Running in 84aafb35b75e [2024-10-01T18:46:12.409Z] Removing intermediate container 84aafb35b75e [2024-10-01T18:46:12.409Z] ---> 582541e38292 [2024-10-01T18:46:12.409Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-01T18:46:12.668Z] ---> Running in 9c0a1be6b9fe [2024-10-01T18:46:12.668Z] Removing intermediate container 9c0a1be6b9fe [2024-10-01T18:46:12.668Z] ---> 3cebf542662a [2024-10-01T18:46:12.668Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-01T18:46:12.668Z] ---> Running in 13d3e6ebd543 [2024-10-01T18:46:12.668Z] Removing intermediate container 13d3e6ebd543 [2024-10-01T18:46:12.668Z] ---> 065a760f3f18 [2024-10-01T18:46:12.668Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-01T18:46:12.668Z] ---> Running in 1ea84397159c [2024-10-01T18:46:12.927Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-01T18:46:13.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-01T18:46:13.445Z] OK: 264 MiB in 52 packages [2024-10-01T18:46:13.704Z] Removing intermediate container 1ea84397159c [2024-10-01T18:46:13.704Z] ---> d7ed0155a860 [2024-10-01T18:46:13.704Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-01T18:46:13.704Z] ---> c2ebf24a2b8e [2024-10-01T18:46:13.704Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-01T18:46:13.704Z] ---> Running in d077e615cdd1 [2024-10-01T18:46:14.640Z] Removing intermediate container d077e615cdd1 [2024-10-01T18:46:14.640Z] ---> 258101df7162 [2024-10-01T18:46:14.640Z] Step 9/24 : COPY . . [2024-10-01T18:46:15.206Z] ---> b4546cb74e30 [2024-10-01T18:46:15.206Z] Step 10/24 : RUN ${MAKE} [2024-10-01T18:46:15.206Z] ---> Running in a6d0a1d8697b [2024-10-01T18:46:15.466Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-10-01T18:46:20.091Z] using credential edgex-jenkins-ssh [2024-10-01T18:46:20.114Z] Cloning the remote Git repository [2024-10-01T18:46:20.156Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-10-01T18:46:20.245Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2024-10-01T18:46:20.443Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-01T18:46:20.444Z] > git --version # timeout=10 [2024-10-01T18:46:20.472Z] > git --version # 'git version 2.25.1' [2024-10-01T18:46:20.475Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-01T18:46:20.666Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-01T18:46:24.149Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-01T18:46:24.182Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-01T18:46:25.860Z] Merging remotes/origin/main commit 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd into PR head commit 84bab1506d64f738ceaa35eb47361f1b8d059c85 [2024-10-01T18:46:25.212Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-01T18:46:25.260Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-01T18:46:25.261Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-01T18:46:25.286Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1626/head:refs/remotes/origin/PR-1626 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-01T18:46:25.880Z] > git config core.sparsecheckout # timeout=10 [2024-10-01T18:46:25.961Z] > git checkout -f 84bab1506d64f738ceaa35eb47361f1b8d059c85 # timeout=10 [2024-10-01T18:46:26.237Z] Merge succeeded, producing 03474d35ded7400538500ac4b20abafd48bace27 [2024-10-01T18:46:26.238Z] Checking out Revision 03474d35ded7400538500ac4b20abafd48bace27 (PR-1626) [2024-10-01T18:46:26.091Z] > git remote # timeout=10 [2024-10-01T18:46:26.110Z] > git config --get remote.origin.url # timeout=10 [2024-10-01T18:46:26.128Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-01T18:46:26.150Z] > git merge 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd # timeout=10 [2024-10-01T18:46:26.217Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-01T18:46:26.240Z] > git config core.sparsecheckout # timeout=10 [2024-10-01T18:46:26.253Z] > git checkout -f 03474d35ded7400538500ac4b20abafd48bace27 # timeout=10 [2024-10-01T18:46:29.971Z] Commit message: "Merge commit '0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd' into HEAD" [2024-10-01T18:46:29.977Z] > git rev-list --no-walk 84bab1506d64f738ceaa35eb47361f1b8d059c85 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-01T18:46:32.044Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-01T18:46:32.044Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-01T18:46:32.044Z] Dload Upload Total Spent Left Speed [2024-10-01T18:46:32.044Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 212k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh [2024-10-01T18:46:32.393Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-01T18:46:32.727Z] + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-01T18:46:32.727Z] sudo tee /etc/docker/daemon.new [2024-10-01T18:46:32.727Z] { [2024-10-01T18:46:32.727Z] "registry-mirrors": [ [2024-10-01T18:46:32.727Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-01T18:46:32.727Z] ], [2024-10-01T18:46:32.727Z] "bip": "10.250.0.254/24", [2024-10-01T18:46:32.727Z] "hosts": [ [2024-10-01T18:46:32.727Z] "tcp://0.0.0.0:5555", [2024-10-01T18:46:32.727Z] "unix:///var/run/docker.sock" [2024-10-01T18:46:32.727Z] ], [2024-10-01T18:46:32.727Z] "mtu": 1458, [2024-10-01T18:46:32.727Z] "selinux-enabled": true, [2024-10-01T18:46:32.727Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-01T18:46:32.727Z] } [Pipeline] sh [2024-10-01T18:46:33.075Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-01T18:46:33.416Z] + sudo service docker restart [2024-10-01T18:46:47.534Z] Removing intermediate container a6d0a1d8697b [2024-10-01T18:46:47.535Z] ---> 40f63e979c92 [2024-10-01T18:46:47.535Z] Step 11/24 : FROM alpine:3.18 [2024-10-01T18:46:47.535Z] 3.18: Pulling from library/alpine [2024-10-01T18:46:47.535Z] 1cc3d825d8b2: Pulling fs layer [2024-10-01T18:46:47.535Z] 1cc3d825d8b2: Download complete [2024-10-01T18:46:47.535Z] 1cc3d825d8b2: Pull complete [2024-10-01T18:46:47.535Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-10-01T18:46:47.535Z] Status: Downloaded newer image for alpine:3.18 [2024-10-01T18:46:47.535Z] ---> 2c64cf60f6f0 [2024-10-01T18:46:47.535Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-01T18:46:47.535Z] ---> Running in 5a862191717f [2024-10-01T18:46:47.535Z] Removing intermediate container 5a862191717f [2024-10-01T18:46:47.535Z] ---> 4733f8c4ba39 [2024-10-01T18:46:47.535Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-01T18:46:47.535Z] ---> Running in fdbb7e5203d0 [2024-10-01T18:46:47.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-01T18:46:47.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-01T18:46:47.535Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-10-01T18:46:47.535Z] Executing busybox-1.36.1-r7.trigger [2024-10-01T18:46:47.535Z] OK: 7 MiB in 16 packages [2024-10-01T18:46:47.795Z] Removing intermediate container fdbb7e5203d0 [2024-10-01T18:46:47.795Z] ---> 5a1e32e8f7f1 [2024-10-01T18:46:47.795Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-01T18:46:47.795Z] ---> Running in 1c37c84ae861 [2024-10-01T18:46:48.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-01T18:46:48.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-01T18:46:48.314Z] OK: 7 MiB in 16 packages [2024-10-01T18:46:48.572Z] Removing intermediate container 1c37c84ae861 [2024-10-01T18:46:48.572Z] ---> 91b24a0ab1d0 [2024-10-01T18:46:48.572Z] Step 15/24 : WORKDIR / [2024-10-01T18:46:48.572Z] ---> Running in ea9f0fd4216d [2024-10-01T18:46:48.572Z] Removing intermediate container ea9f0fd4216d [2024-10-01T18:46:48.572Z] ---> 542da0be9869 [2024-10-01T18:46:48.572Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-01T18:46:48.831Z] ---> ad5da994b0dc [2024-10-01T18:46:48.831Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-01T18:46:50.208Z] ---> 9d40c4898616 [2024-10-01T18:46:50.208Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-01T18:46:50.467Z] ---> 3d4cc471143e [2024-10-01T18:46:50.467Z] Step 19/24 : EXPOSE 59999 [2024-10-01T18:46:50.467Z] ---> Running in 1576e4fd020b [2024-10-01T18:46:50.467Z] Removing intermediate container 1576e4fd020b [2024-10-01T18:46:50.467Z] ---> 5cb2fafc46bd [2024-10-01T18:46:50.467Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-01T18:46:50.467Z] ---> Running in 70bb80fc5fb2 [2024-10-01T18:46:50.467Z] Removing intermediate container 70bb80fc5fb2 [2024-10-01T18:46:50.467Z] ---> bcb37f2f7f2b [2024-10-01T18:46:50.467Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-01T18:46:50.467Z] ---> Running in 74d741c1add3 [2024-10-01T18:46:50.726Z] Removing intermediate container 74d741c1add3 [2024-10-01T18:46:50.726Z] ---> 6d491c15d5a1 [2024-10-01T18:46:50.726Z] Step 22/24 : LABEL arch=amd64 [2024-10-01T18:46:50.726Z] ---> Running in d4bc59b0fcd0 [2024-10-01T18:46:50.726Z] Removing intermediate container d4bc59b0fcd0 [2024-10-01T18:46:50.726Z] ---> db82d6f6fb62 [2024-10-01T18:46:50.726Z] Step 23/24 : LABEL git_sha=0c4cd94f71968d7b30ca27b91f24897f268ea7b4 [2024-10-01T18:46:50.726Z] ---> Running in 2303e2616edc [2024-10-01T18:46:50.726Z] Removing intermediate container 2303e2616edc [2024-10-01T18:46:50.726Z] ---> f15986a10e45 [2024-10-01T18:46:50.726Z] Step 24/24 : LABEL version=0.0.0 [2024-10-01T18:46:50.726Z] ---> Running in f7d7d4af9a39 [2024-10-01T18:46:50.985Z] Removing intermediate container f7d7d4af9a39 [2024-10-01T18:46:50.986Z] ---> cd882306f2ba [2024-10-01T18:46:50.986Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-01T18:46:50.986Z] Successfully built cd882306f2ba [2024-10-01T18:46:50.986Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:46:51.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-01T18:46:51.457Z] [2024-10-01T18:46:51.457Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-01T18:46:51.721Z] provisioning config files... [2024-10-01T18:46:51.745Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config15553565999674597917tmp [2024-10-01T18:46:51.756Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-01T18:46:51.757Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-01T18:46:51.757Z] 5eb5b503b376: Pulling fs layer [2024-10-01T18:46:51.757Z] 5c69ac0246d0: Pulling fs layer [2024-10-01T18:46:51.757Z] ec43610c2a17: Pulling fs layer [2024-10-01T18:46:51.757Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-01T18:46:51.757Z] 33b1e0a273af: Pulling fs layer [2024-10-01T18:46:51.757Z] 5d3b04190fa2: Pulling fs layer [2024-10-01T18:46:51.757Z] 2f39f015ded8: Pulling fs layer [2024-10-01T18:46:51.757Z] 33b1e0a273af: Waiting [2024-10-01T18:46:51.757Z] 3a2ae6a8a46f: Waiting [2024-10-01T18:46:51.757Z] 5d3b04190fa2: Waiting [2024-10-01T18:46:51.757Z] 2f39f015ded8: Waiting [2024-10-01T18:46:51.757Z] 5c69ac0246d0: Download complete [2024-10-01T18:46:51.757Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-01T18:46:51.757Z] 3a2ae6a8a46f: Download complete [2024-10-01T18:46:51.757Z] 33b1e0a273af: Verifying Checksum [2024-10-01T18:46:51.757Z] 33b1e0a273af: Download complete [2024-10-01T18:46:51.757Z] ec43610c2a17: Verifying Checksum [2024-10-01T18:46:51.757Z] ec43610c2a17: Download complete [2024-10-01T18:46:51.757Z] 5d3b04190fa2: Verifying Checksum [2024-10-01T18:46:51.757Z] 5d3b04190fa2: Download complete [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T18:46:52.015Z] 5eb5b503b376: Verifying Checksum [2024-10-01T18:46:52.015Z] 5eb5b503b376: Download complete [2024-10-01T18:46:52.228Z] ---> ****-login.sh [2024-10-01T18:46:52.228Z] nexus3.edgexfoundry.org:10001 [2024-10-01T18:46:52.585Z] 2f39f015ded8: Download complete [2024-10-01T18:46:52.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:46:52.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:46:52.816Z] Configure a credential helper to remove this warning. See [2024-10-01T18:46:52.816Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:46:52.816Z] [2024-10-01T18:46:52.816Z] Login Succeeded [2024-10-01T18:46:53.089Z] nexus3.edgexfoundry.org:10002 [2024-10-01T18:46:53.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:46:53.163Z] 5eb5b503b376: Pull complete [2024-10-01T18:46:53.163Z] 5c69ac0246d0: Pull complete [2024-10-01T18:46:53.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:46:53.368Z] Configure a credential helper to remove this warning. See [2024-10-01T18:46:53.369Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:46:53.369Z] [2024-10-01T18:46:53.369Z] Login Succeeded [2024-10-01T18:46:53.369Z] nexus3.edgexfoundry.org:10003 [2024-10-01T18:46:53.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:46:53.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:46:53.640Z] Configure a credential helper to remove this warning. See [2024-10-01T18:46:53.640Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:46:53.640Z] [2024-10-01T18:46:53.640Z] Login Succeeded [2024-10-01T18:46:53.640Z] nexus3.edgexfoundry.org:10004 [2024-10-01T18:46:53.729Z] ec43610c2a17: Pull complete [2024-10-01T18:46:53.729Z] 3a2ae6a8a46f: Pull complete [2024-10-01T18:46:53.729Z] 33b1e0a273af: Pull complete [2024-10-01T18:46:53.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:46:53.988Z] 5d3b04190fa2: Pull complete [2024-10-01T18:46:54.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:46:54.184Z] Configure a credential helper to remove this warning. See [2024-10-01T18:46:54.184Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:46:54.184Z] [2024-10-01T18:46:54.184Z] Login Succeeded [2024-10-01T18:46:54.184Z] ****.io [2024-10-01T18:46:54.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-01T18:46:54.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-01T18:46:54.457Z] Configure a credential helper to remove this warning. See [2024-10-01T18:46:54.457Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-01T18:46:54.457Z] [2024-10-01T18:46:54.457Z] Login Succeeded [2024-10-01T18:46:54.727Z] ---> ****-login.sh ends [Pipeline] } [2024-10-01T18:46:54.741Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-01T18:46:55.082Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-01T18:46:55.104Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-01T18:46:55.122Z] ========================================================= [2024-10-01T18:46:55.122Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-10-01T18:46:55.122Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:46:55.501Z] + 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-10-01T18:46:56.089Z] Sending build context to Docker daemon 13.12MB [2024-10-01T18:46:56.089Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-10-01T18:46:56.089Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-01T18:46:56.364Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-01T18:46:56.364Z] c6b39de5b339: Pulling fs layer [2024-10-01T18:46:56.364Z] a69c41024577: Pulling fs layer [2024-10-01T18:46:56.364Z] d6de4b400683: Pulling fs layer [2024-10-01T18:46:56.364Z] 35cb2a7552d0: Pulling fs layer [2024-10-01T18:46:56.364Z] 4f4fb700ef54: Pulling fs layer [2024-10-01T18:46:56.364Z] 464afbd9ba4c: Pulling fs layer [2024-10-01T18:46:56.364Z] 00f215d4a9da: Pulling fs layer [2024-10-01T18:46:56.364Z] d496ad576159: Pulling fs layer [2024-10-01T18:46:56.364Z] 464afbd9ba4c: Waiting [2024-10-01T18:46:56.364Z] 00f215d4a9da: Waiting [2024-10-01T18:46:56.364Z] d496ad576159: Waiting [2024-10-01T18:46:56.364Z] 35cb2a7552d0: Waiting [2024-10-01T18:46:56.364Z] 4f4fb700ef54: Waiting [2024-10-01T18:46:56.364Z] a69c41024577: Verifying Checksum [2024-10-01T18:46:56.364Z] a69c41024577: Download complete [2024-10-01T18:46:56.364Z] 35cb2a7552d0: Download complete [2024-10-01T18:46:56.364Z] 4f4fb700ef54: Verifying Checksum [2024-10-01T18:46:56.364Z] 4f4fb700ef54: Download complete [2024-10-01T18:46:56.364Z] 464afbd9ba4c: Verifying Checksum [2024-10-01T18:46:56.364Z] 464afbd9ba4c: Download complete [2024-10-01T18:46:56.364Z] c6b39de5b339: Download complete [2024-10-01T18:46:56.954Z] d496ad576159: Verifying Checksum [2024-10-01T18:46:56.954Z] d496ad576159: Download complete [2024-10-01T18:46:57.543Z] c6b39de5b339: Pull complete [2024-10-01T18:46:57.811Z] a69c41024577: Pull complete [2024-10-01T18:46:58.175Z] 2f39f015ded8: Pull complete [2024-10-01T18:46:58.175Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-01T18:46:58.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-01T18:46:58.175Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T18:46:58.275Z] prd-ubuntu20.04-docker-8c-8g-12488 does not seem to be running inside a container [2024-10-01T18:46:58.306Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1626 -v /w/workspace/gexfoundry_device-sdk-go_PR-1626:/w/workspace/gexfoundry_device-sdk-go_PR-1626:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-01T18:46:58.396Z] d6de4b400683: Verifying Checksum [2024-10-01T18:46:58.396Z] d6de4b400683: Download complete [2024-10-01T18:46:59.358Z] 00f215d4a9da: Verifying Checksum [2024-10-01T18:46:59.358Z] 00f215d4a9da: Download complete [2024-10-01T18:47:02.841Z] $ docker top 928ccaf5c88a50e4eb7678a2ddfa803e71d506cbd6bce14b72d450300c685c87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T18:47:03.223Z] ---> job-cost.sh [2024-10-01T18:47:03.223Z] lf-activate-venv: SKIPPING [2024-10-01T18:47:03.223Z] INFO: No Stack... [2024-10-01T18:47:03.481Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-01T18:47:04.049Z] INFO: Archiving Costs [Pipeline] sh [2024-10-01T18:47:04.342Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1626/archives/cost.csv [2024-10-01T18:47:04.342Z] + cut -d, -f6 [Pipeline] lock [2024-10-01T18:47:04.357Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1626-2-stack-cost] [2024-10-01T18:47:04.365Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1626-2-stack-cost] did not exist. Created. [2024-10-01T18:47:04.372Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1626-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-01T18:47:04.678Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-01T18:47:04.717Z] Stashed 1 file(s) [Pipeline] } [2024-10-01T18:47:04.726Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1626-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-01T18:47:04.751Z] $ docker stop --time=1 928ccaf5c88a50e4eb7678a2ddfa803e71d506cbd6bce14b72d450300c685c87 [2024-10-01T18:47:05.890Z] $ docker rm -f --volumes 928ccaf5c88a50e4eb7678a2ddfa803e71d506cbd6bce14b72d450300c685c87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-01T18:47:11.683Z] d6de4b400683: Pull complete [2024-10-01T18:47:11.683Z] 35cb2a7552d0: Pull complete [2024-10-01T18:47:11.683Z] 4f4fb700ef54: Pull complete [2024-10-01T18:47:11.954Z] 464afbd9ba4c: Pull complete [2024-10-01T18:47:22.063Z] 00f215d4a9da: Pull complete [2024-10-01T18:47:22.654Z] d496ad576159: Pull complete [2024-10-01T18:47:22.923Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-10-01T18:47:22.923Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-10-01T18:47:22.923Z] ---> f246e2811388 [2024-10-01T18:47:22.923Z] Step 3/10 : ARG MAKE=make build [2024-10-01T18:47:23.896Z] ---> Running in fbc02248e1b2 [2024-10-01T18:47:24.859Z] Removing intermediate container fbc02248e1b2 [2024-10-01T18:47:24.859Z] ---> 4e6bb091c6a6 [2024-10-01T18:47:24.859Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-01T18:47:25.127Z] ---> Running in b925168dd3d7 [2024-10-01T18:47:25.395Z] Removing intermediate container b925168dd3d7 [2024-10-01T18:47:25.395Z] ---> 87a928f0bdcf [2024-10-01T18:47:25.395Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-01T18:47:25.395Z] ---> Running in 5f6ee06a2f44 [2024-10-01T18:47:25.665Z] Removing intermediate container 5f6ee06a2f44 [2024-10-01T18:47:25.665Z] ---> 181f68166a8e [2024-10-01T18:47:25.665Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-01T18:47:25.931Z] ---> Running in 03f2e793b8e2 [2024-10-01T18:47:26.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-01T18:47:27.477Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-01T18:47:28.439Z] OK: 266 MiB in 52 packages [2024-10-01T18:47:29.026Z] Removing intermediate container 03f2e793b8e2 [2024-10-01T18:47:29.026Z] ---> d684c73a5fa0 [2024-10-01T18:47:29.026Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-01T18:47:29.612Z] ---> 47817720dfd7 [2024-10-01T18:47:29.612Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-01T18:47:29.612Z] ---> Running in 1aae55ee569d [2024-10-01T18:49:36.301Z] Removing intermediate container 1aae55ee569d [2024-10-01T18:49:36.301Z] ---> ba7ab8b8c871 [2024-10-01T18:49:36.301Z] Step 9/10 : COPY . . [2024-10-01T18:49:36.301Z] ---> d1f2c13b3796 [2024-10-01T18:49:36.301Z] Step 10/10 : RUN ${MAKE} [2024-10-01T18:49:36.301Z] ---> Running in 738450f03d04 [2024-10-01T18:49:36.301Z] noop [2024-10-01T18:49:36.301Z] Removing intermediate container 738450f03d04 [2024-10-01T18:49:36.301Z] ---> e077e488e07e [2024-10-01T18:49:36.301Z] Successfully built e077e488e07e [2024-10-01T18:49:36.301Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:49:36.674Z] + docker inspect -f . ci-base-image-arm64 [2024-10-01T18:49:36.675Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T18:49:36.887Z] prd-ubuntu20.04-docker-arm64-4c-16g-12492 does not seem to be running inside a container [2024-10-01T18:49:36.953Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-01T18:49:38.162Z] $ docker top 6a1e257e44b2dee10f8a7ccada5e7f4755ce9cfbaec256b9258fc86e2f7a4bfe -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T18:49:39.016Z] + go version [2024-10-01T18:49:39.016Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-10-01T18:49:39.033Z] $ docker stop --time=1 6a1e257e44b2dee10f8a7ccada5e7f4755ce9cfbaec256b9258fc86e2f7a4bfe [2024-10-01T18:49:40.676Z] $ docker rm -f --volumes 6a1e257e44b2dee10f8a7ccada5e7f4755ce9cfbaec256b9258fc86e2f7a4bfe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:49:41.251Z] + docker inspect -f . ci-base-image-arm64 [2024-10-01T18:49:41.251Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T18:49:41.454Z] prd-ubuntu20.04-docker-arm64-4c-16g-12492 does not seem to be running inside a container [2024-10-01T18:49:41.524Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-01T18:49:42.782Z] $ docker top f7647a030942494500e2492ef58cf0ae4c1d3ad64deeeaaccad5a2fa13898440 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T18:49:43.650Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2024-10-01T18:49:44.338Z] + make test [2024-10-01T18:49:44.338Z] go test -race -coverprofile=coverage.out ./... [2024-10-01T18:50:31.246Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-01T18:54:08.117Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-10-01T18:54:08.117Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-10-01T18:54:08.117Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-10-01T18:54:08.117Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-10-01T18:54:08.117Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-10-01T18:54:13.470Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.117s coverage: 26.0% of statements [2024-10-01T18:54:17.730Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.181s coverage: 79.4% of statements [2024-10-01T18:54:25.946Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-10-01T18:54:25.946Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-10-01T18:54:26.902Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.263s coverage: 86.0% of statements [2024-10-01T18:54:35.125Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-10-01T18:54:35.391Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.463s coverage: 45.2% of statements [2024-10-01T18:54:37.990Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.165s coverage: 14.1% of statements [2024-10-01T18:54:37.990Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.170s coverage: 44.6% of statements [2024-10-01T18:54:39.396Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-10-01T18:54:39.396Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-01T18:54:39.396Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-10-01T18:54:40.800Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.321s coverage: 68.5% of statements [2024-10-01T18:54:45.055Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.378s coverage: 89.2% of statements [2024-10-01T18:54:48.399Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-10-01T18:54:49.365Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.255s coverage: 5.3% of statements [2024-10-01T18:54:50.778Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-01T18:54:50.778Z] GO111MODULE=on go vet ./... [2024-10-01T18:58:42.617Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-01T18:58:42.617Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-01T18:58:42.617Z] ./bin/test-attribution-txt.sh [2024-10-01T18:58:43.198Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-10-01T18:58:43.462Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-10-01T18:58:43.483Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-01T18:58:43.495Z] $ docker stop --time=1 f7647a030942494500e2492ef58cf0ae4c1d3ad64deeeaaccad5a2fa13898440 [2024-10-01T18:58:45.533Z] $ docker rm -f --volumes f7647a030942494500e2492ef58cf0ae4c1d3ad64deeeaaccad5a2fa13898440 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-01T18:58:47.717Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-01T18:58:47.748Z] Warning: overwriting stash ‘coverage-report’ [2024-10-01T18:58:48.349Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-01T18:58:48.826Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-01T18:58:49.200Z] + ls -al . [2024-10-01T18:58:49.200Z] total 380 [2024-10-01T18:58:49.200Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 1 18:49 . [2024-10-01T18:58:49.200Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 18:46 .. [2024-10-01T18:58:49.200Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 1 18:46 .dockerignore [2024-10-01T18:58:49.200Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 1 18:46 .git [2024-10-01T18:58:49.200Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 18:46 .github [2024-10-01T18:58:49.200Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 1 18:46 .gitignore [2024-10-01T18:58:49.200Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 1 18:46 .golangci.yml [2024-10-01T18:58:49.200Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 1 18:46 CHANGELOG.md [2024-10-01T18:58:49.200Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 1 18:46 GOVERNANCE.md [2024-10-01T18:58:49.200Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 1 18:46 Jenkinsfile [2024-10-01T18:58:49.200Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 1 18:46 LICENSE [2024-10-01T18:58:49.200Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 1 18:46 Makefile [2024-10-01T18:58:49.200Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 1 18:46 OWNERS.md [2024-10-01T18:58:49.200Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 1 18:46 README.md [2024-10-01T18:58:49.200Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 1 18:43 VERSION [2024-10-01T18:58:49.200Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 1 18:46 bin [2024-10-01T18:58:49.200Z] -rw-r--r-- 1 jenkins jenkins 128349 Oct 1 18:54 coverage.out [2024-10-01T18:58:49.200Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 1 18:46 example [2024-10-01T18:58:49.200Z] -rw-rw-r-- 1 jenkins jenkins 6984 Oct 1 18:46 go.mod [2024-10-01T18:58:49.200Z] -rw-rw-r-- 1 jenkins jenkins 101627 Oct 1 18:46 go.sum [2024-10-01T18:58:49.200Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 1 18:46 internal [2024-10-01T18:58:49.201Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 1 18:46 openapi [2024-10-01T18:58:49.201Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 1 18:46 pkg [2024-10-01T18:58:49.201Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 1 18:46 snap [2024-10-01T18:58:49.201Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 1 18:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T18:58:49.553Z] + 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=03474d35ded7400538500ac4b20abafd48bace27 --label arch=arm64 --label version=0.0.0 . [2024-10-01T18:58:50.143Z] Sending build context to Docker daemon 13.25MB [2024-10-01T18:58:50.143Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-10-01T18:58:50.143Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-01T18:58:50.143Z] ---> e077e488e07e [2024-10-01T18:58:50.143Z] Step 3/24 : ARG MAKE=make build [2024-10-01T18:58:50.410Z] ---> Running in 6afd6b9bce22 [2024-10-01T18:58:50.679Z] Removing intermediate container 6afd6b9bce22 [2024-10-01T18:58:50.679Z] ---> 477d7f491245 [2024-10-01T18:58:50.679Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-01T18:58:50.679Z] ---> Running in df39b64931b4 [2024-10-01T18:58:50.950Z] Removing intermediate container df39b64931b4 [2024-10-01T18:58:50.950Z] ---> 6031e7d586b5 [2024-10-01T18:58:50.950Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-01T18:58:51.217Z] ---> Running in dd2f0aeb910c [2024-10-01T18:58:51.485Z] Removing intermediate container dd2f0aeb910c [2024-10-01T18:58:51.485Z] ---> 6d220a72a881 [2024-10-01T18:58:51.485Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-01T18:58:51.485Z] ---> Running in 050756b9d9c8 [2024-10-01T18:58:52.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-01T18:58:53.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-01T18:58:54.003Z] OK: 266 MiB in 52 packages [2024-10-01T18:58:54.590Z] Removing intermediate container 050756b9d9c8 [2024-10-01T18:58:54.590Z] ---> bec18e525350 [2024-10-01T18:58:54.590Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-01T18:58:55.178Z] ---> 364808ea7e53 [2024-10-01T18:58:55.178Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-01T18:58:55.178Z] ---> Running in b98101611928 [2024-10-01T18:58:57.763Z] Removing intermediate container b98101611928 [2024-10-01T18:58:57.763Z] ---> cdaf8372838e [2024-10-01T18:58:57.763Z] Step 9/24 : COPY . . [2024-10-01T18:58:59.175Z] ---> ecad7aa91c91 [2024-10-01T18:58:59.175Z] Step 10/24 : RUN ${MAKE} [2024-10-01T18:58:59.175Z] ---> Running in 4346b6ac1c89 [2024-10-01T18:59:00.136Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-10-01T19:02:22.085Z] Removing intermediate container 4346b6ac1c89 [2024-10-01T19:02:22.085Z] ---> a086341d6592 [2024-10-01T19:02:22.085Z] Step 11/24 : FROM alpine:3.18 [2024-10-01T19:02:22.085Z] 3.18: Pulling from library/alpine [2024-10-01T19:02:22.085Z] 720f3032cd11: Pulling fs layer [2024-10-01T19:02:22.085Z] 720f3032cd11: Verifying Checksum [2024-10-01T19:02:22.085Z] 720f3032cd11: Download complete [2024-10-01T19:02:22.085Z] 720f3032cd11: Pull complete [2024-10-01T19:02:22.085Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-10-01T19:02:22.085Z] Status: Downloaded newer image for alpine:3.18 [2024-10-01T19:02:22.085Z] ---> 3e834921e367 [2024-10-01T19:02:22.085Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-01T19:02:22.085Z] ---> Running in ec25d7db5d5e [2024-10-01T19:02:22.085Z] Removing intermediate container ec25d7db5d5e [2024-10-01T19:02:22.085Z] ---> 0f93804a926e [2024-10-01T19:02:22.085Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-01T19:02:22.085Z] ---> Running in 9b2ce867dbcc [2024-10-01T19:02:22.673Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-01T19:02:22.938Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-01T19:02:23.898Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-10-01T19:02:23.898Z] Executing busybox-1.36.1-r7.trigger [2024-10-01T19:02:24.164Z] OK: 8 MiB in 16 packages [2024-10-01T19:02:25.137Z] Removing intermediate container 9b2ce867dbcc [2024-10-01T19:02:25.137Z] ---> 9fb0aea4f6a7 [2024-10-01T19:02:25.137Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-01T19:02:25.137Z] ---> Running in 833555b032e5 [2024-10-01T19:02:26.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-01T19:02:26.364Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-01T19:02:27.324Z] OK: 8 MiB in 16 packages [2024-10-01T19:02:28.283Z] Removing intermediate container 833555b032e5 [2024-10-01T19:02:28.283Z] ---> ea10b958f258 [2024-10-01T19:02:28.283Z] Step 15/24 : WORKDIR / [2024-10-01T19:02:28.283Z] ---> Running in aec0a0b59984 [2024-10-01T19:02:28.550Z] Removing intermediate container aec0a0b59984 [2024-10-01T19:02:28.550Z] ---> d9f8c5a1f4a3 [2024-10-01T19:02:28.550Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-01T19:02:29.133Z] ---> cce844b6d611 [2024-10-01T19:02:29.133Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-01T19:02:31.075Z] ---> 089cef5f70b3 [2024-10-01T19:02:31.075Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-01T19:02:31.670Z] ---> 754a6d68b23b [2024-10-01T19:02:31.670Z] Step 19/24 : EXPOSE 59999 [2024-10-01T19:02:31.670Z] ---> Running in ff4eeda8af73 [2024-10-01T19:02:31.944Z] Removing intermediate container ff4eeda8af73 [2024-10-01T19:02:31.944Z] ---> 98e8d3bf7cdb [2024-10-01T19:02:31.944Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-01T19:02:32.210Z] ---> Running in a423aff30be7 [2024-10-01T19:02:32.476Z] Removing intermediate container a423aff30be7 [2024-10-01T19:02:32.476Z] ---> 2ad9706fb600 [2024-10-01T19:02:32.476Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-01T19:02:32.476Z] ---> Running in 7e52d1ca09af [2024-10-01T19:02:32.743Z] Removing intermediate container 7e52d1ca09af [2024-10-01T19:02:32.743Z] ---> 60ebbd75260d [2024-10-01T19:02:32.743Z] Step 22/24 : LABEL arch=arm64 [2024-10-01T19:02:32.743Z] ---> Running in bc550c052c63 [2024-10-01T19:02:33.012Z] Removing intermediate container bc550c052c63 [2024-10-01T19:02:33.012Z] ---> 19f6dd8a8e82 [2024-10-01T19:02:33.012Z] Step 23/24 : LABEL git_sha=03474d35ded7400538500ac4b20abafd48bace27 [2024-10-01T19:02:33.277Z] ---> Running in ec9b06d20501 [2024-10-01T19:02:33.543Z] Removing intermediate container ec9b06d20501 [2024-10-01T19:02:33.543Z] ---> fae3e2d77623 [2024-10-01T19:02:33.543Z] Step 24/24 : LABEL version=0.0.0 [2024-10-01T19:02:33.543Z] ---> Running in 5e3178b7f7df [2024-10-01T19:02:33.809Z] Removing intermediate container 5e3178b7f7df [2024-10-01T19:02:33.809Z] ---> e8158a998bd1 [2024-10-01T19:02:33.809Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-01T19:02:33.809Z] Successfully built e8158a998bd1 [2024-10-01T19:02:34.075Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T19:02:34.553Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-01T19:02:34.553Z] [2024-10-01T19:02:34.553Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T19:02:34.884Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-01T19:02:34.884Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-01T19:02:34.884Z] 8998bd30e6a1: Pulling fs layer [2024-10-01T19:02:34.884Z] 04944245beec: Pulling fs layer [2024-10-01T19:02:34.884Z] 699f458cf7ca: Pulling fs layer [2024-10-01T19:02:34.884Z] 765212b225bb: Pulling fs layer [2024-10-01T19:02:34.884Z] f23df028b6ca: Pulling fs layer [2024-10-01T19:02:34.884Z] d65c8cfc05b1: Pulling fs layer [2024-10-01T19:02:34.884Z] 2437ff75d9bd: Pulling fs layer [2024-10-01T19:02:34.884Z] 765212b225bb: Waiting [2024-10-01T19:02:34.884Z] f23df028b6ca: Waiting [2024-10-01T19:02:34.884Z] d65c8cfc05b1: Waiting [2024-10-01T19:02:34.884Z] 2437ff75d9bd: Waiting [2024-10-01T19:02:35.150Z] 04944245beec: Verifying Checksum [2024-10-01T19:02:35.150Z] 04944245beec: Download complete [2024-10-01T19:02:35.150Z] 765212b225bb: Verifying Checksum [2024-10-01T19:02:35.150Z] 765212b225bb: Download complete [2024-10-01T19:02:35.150Z] f23df028b6ca: Verifying Checksum [2024-10-01T19:02:35.150Z] f23df028b6ca: Download complete [2024-10-01T19:02:35.150Z] d65c8cfc05b1: Verifying Checksum [2024-10-01T19:02:35.150Z] d65c8cfc05b1: Download complete [2024-10-01T19:02:35.417Z] 699f458cf7ca: Verifying Checksum [2024-10-01T19:02:35.417Z] 699f458cf7ca: Download complete [2024-10-01T19:02:35.684Z] 8998bd30e6a1: Verifying Checksum [2024-10-01T19:02:35.684Z] 8998bd30e6a1: Download complete [2024-10-01T19:02:38.259Z] 2437ff75d9bd: Verifying Checksum [2024-10-01T19:02:38.259Z] 2437ff75d9bd: Download complete [2024-10-01T19:02:40.199Z] 8998bd30e6a1: Pull complete [2024-10-01T19:02:40.779Z] 04944245beec: Pull complete [2024-10-01T19:02:43.358Z] 699f458cf7ca: Pull complete [2024-10-01T19:02:43.358Z] 765212b225bb: Pull complete [2024-10-01T19:02:44.323Z] f23df028b6ca: Pull complete [2024-10-01T19:02:44.323Z] d65c8cfc05b1: Pull complete [2024-10-01T19:03:02.507Z] 2437ff75d9bd: Pull complete [2024-10-01T19:03:02.507Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-01T19:03:02.507Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-01T19:03:02.507Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T19:03:02.708Z] prd-ubuntu20.04-docker-arm64-4c-16g-12492 does not seem to be running inside a container [2024-10-01T19:03:02.757Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-01T19:03:05.993Z] $ docker top 27635bf9fdf7c1d203617583cee99d1e9f1639edc7e766167ad1edc43b59b166 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-01T19:03:06.517Z] ---> job-cost.sh [2024-10-01T19:03:06.782Z] lf-activate-venv: SKIPPING [2024-10-01T19:03:06.782Z] INFO: No Stack... [2024-10-01T19:03:07.047Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-01T19:03:08.005Z] INFO: Archiving Costs [Pipeline] sh [2024-10-01T19:03:08.324Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2024-10-01T19:03:08.324Z] + cut -d, -f6 [Pipeline] lock [2024-10-01T19:03:08.622Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1626-2-stack-cost] [2024-10-01T19:03:08.634Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1626-2-stack-cost] did not exist. Created. [2024-10-01T19:03:08.642Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1626-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-01T19:03:09.000Z] /w/workspace/device-sdk-go/2@tmp/durable-b72bd8f0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-01T19:03:09.324Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-01T19:03:09.618Z] Warning: overwriting stash ‘stack-cost’ [2024-10-01T19:03:09.706Z] Stashed 1 file(s) [Pipeline] } [2024-10-01T19:03:09.714Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1626-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-01T19:03:09.745Z] $ docker stop --time=1 27635bf9fdf7c1d203617583cee99d1e9f1639edc7e766167ad1edc43b59b166 [2024-10-01T19:03:11.262Z] $ docker rm -f --volumes 27635bf9fdf7c1d203617583cee99d1e9f1639edc7e766167ad1edc43b59b166 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-01T19:03:11.742Z] provisioning config files... [2024-10-01T19:03:11.785Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/config17432801717982555780tmp [Pipeline] { [Pipeline] sh [2024-10-01T19:03:12.129Z] + set +x [2024-10-01T19:03:12.129Z] + bash -s -- [2024-10-01T19:03:12.129Z] + curl -s https://codecov.io/bash [2024-10-01T19:03:12.129Z] [2024-10-01T19:03:12.129Z] _____ _ [2024-10-01T19:03:12.129Z] / ____| | | [2024-10-01T19:03:12.129Z] | | ___ __| | ___ ___ _____ __ [2024-10-01T19:03:12.129Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-01T19:03:12.129Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-01T19:03:12.129Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-01T19:03:12.129Z] Bash-1.0.6 [2024-10-01T19:03:12.129Z] [2024-10-01T19:03:12.129Z] [2024-10-01T19:03:12.129Z] ==> git version 2.25.1 found [2024-10-01T19:03:12.129Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-01T19:03:12.129Z] Release-Date: 2020-01-08 [2024-10-01T19:03:12.129Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-01T19:03:12.129Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-01T19:03:12.129Z] ==> Jenkins CI detected. [2024-10-01T19:03:12.129Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1626 [2024-10-01T19:03:12.129Z] project root: . [2024-10-01T19:03:12.129Z] --> token set from env [2024-10-01T19:03:12.129Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-01T19:03:12.129Z] ==> Running gcov in . (disable via -X gcov) [2024-10-01T19:03:12.129Z] ==> Python coveragepy not found [2024-10-01T19:03:12.129Z] ==> Searching for coverage reports in: [2024-10-01T19:03:12.129Z] + . [2024-10-01T19:03:12.406Z] -> Found 1 reports [2024-10-01T19:03:12.406Z] ==> Detecting git/mercurial file structure [2024-10-01T19:03:12.406Z] ==> Reading reports [2024-10-01T19:03:12.406Z] + ./coverage.out bytes=128349 [2024-10-01T19:03:12.406Z] ==> Appending adjustments [2024-10-01T19:03:12.406Z] https://docs.codecov.io/docs/fixing-reports [2024-10-01T19:03:12.674Z] + Found adjustments [2024-10-01T19:03:12.674Z] ==> Gzipping contents [2024-10-01T19:03:12.674Z] 20K /tmp/codecov.Co2tGD.gz [2024-10-01T19:03:12.674Z] ==> Uploading reports [2024-10-01T19:03:12.674Z] url: https://codecov.io [2024-10-01T19:03:12.674Z] query: branch=PR-1626&commit=0c4cd94f71968d7b30ca27b91f24897f268ea7b4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1626%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1626&job=&cmd_args= [2024-10-01T19:03:12.674Z] -> Pinging Codecov [2024-10-01T19:03:12.674Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1626&commit=0c4cd94f71968d7b30ca27b91f24897f268ea7b4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1626%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1626&job=&cmd_args= [2024-10-01T19:03:12.674Z] -> Uploading to [2024-10-01T19:03:12.674Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/0c4cd94f71968d7b30ca27b91f24897f268ea7b4/6b05f5cb-72b9-4b86-9d96-9c8a08605225.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241001%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241001T190312Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=9fc93e925e56ea48abd6db7df53990898e3bc0ee4a907c0c3f08c2539863d0da [2024-10-01T19:03:12.674Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-01T19:03:12.674Z] Dload Upload Total Spent Left Speed [2024-10-01T19:03:12.954Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17714 0 0 100 17714 0 75378 --:--:-- --:--:-- --:--:-- 75378 [2024-10-01T19:03:12.954Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0c4cd94f71968d7b30ca27b91f24897f268ea7b4 [Pipeline] } [2024-10-01T19:03:12.969Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-01T19:03:13.860Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1626/archives ] [2024-10-01T19:03:13.860Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1626/archives [2024-10-01T19:03:13.860Z] total 16 [2024-10-01T19:03:13.860Z] drwxr-xr-x 3 root root 4096 Oct 1 18:47 . [2024-10-01T19:03:13.860Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 1 18:47 .. [2024-10-01T19:03:13.860Z] drwxr-xr-x 2 root root 4096 Oct 1 18:47 cost [2024-10-01T19:03:13.860Z] -rw-r--r-- 1 root root 86 Oct 1 18:47 cost.csv [2024-10-01T19:03:13.860Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1626/archives [2024-10-01T19:03:13.860Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1626/archives [2024-10-01T19:03:13.860Z] total 16 [2024-10-01T19:03:13.860Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 1 18:47 . [2024-10-01T19:03:13.860Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 1 18:47 .. [2024-10-01T19:03:13.860Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 1 18:47 cost [2024-10-01T19:03:13.860Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 1 18:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-01T19:03:14.154Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T19:03:15.012Z] ---> package-listing.sh [2024-10-01T19:03:15.012Z] ++ facter osfamily [2024-10-01T19:03:15.013Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-01T19:03:15.271Z] + OS_FAMILY=debian [2024-10-01T19:03:15.271Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1626 [2024-10-01T19:03:15.271Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-01T19:03:15.271Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-01T19:03:15.271Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-01T19:03:15.271Z] + PACKAGES=/tmp/packages_start.txt [2024-10-01T19:03:15.271Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1626 ']' [2024-10-01T19:03:15.271Z] + PACKAGES=/tmp/packages_end.txt [2024-10-01T19:03:15.271Z] + case "${OS_FAMILY}" in [2024-10-01T19:03:15.271Z] + dpkg -l [2024-10-01T19:03:15.271Z] + grep '^ii' [2024-10-01T19:03:15.271Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-01T19:03:15.271Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-01T19:03:15.271Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-01T19:03:15.271Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1626 ']' [2024-10-01T19:03:15.271Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1626/archives/ [2024-10-01T19:03:15.271Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1626/archives/ [Pipeline] echo [2024-10-01T19:03:15.283Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1626/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-01T19:03:15.559Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-01T19:03:16.126Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-01T19:03:16.126Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-01T19:03:16.203Z] prd-ubuntu20.04-docker-8c-8g-12488 does not seem to be running inside a container [2024-10-01T19:03:16.232Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1626/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1626 -v /w/workspace/gexfoundry_device-sdk-go_PR-1626:/w/workspace/gexfoundry_device-sdk-go_PR-1626:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-01T19:03:16.464Z] $ docker top b4d0f34772a559b7e4885493fced9b52691502a90f4e14bda91a54ef52222d0b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-01T19:03:16.815Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-01T19:03:17.105Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-01T19:03:17.393Z] + ls /var/log/sa-host [2024-10-01T19:03:17.393Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-01T19:03:17.460Z] provisioning config files... [2024-10-01T19:03:17.470Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1626@tmp/config4280089822962230978tmp [Pipeline] { [Pipeline] echo [2024-10-01T19:03:17.485Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T19:03:17.767Z] ---> create-netrc.sh [Pipeline] } [2024-10-01T19:03:17.776Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-01T19:03:18.129Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-01T19:03:18.138Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T19:03:18.424Z] ---> sudo-logs.sh [2024-10-01T19:03:18.424Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-01T19:03:18.462Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T19:03:18.750Z] ---> job-cost.sh [2024-10-01T19:03:18.750Z] lf-activate-venv: SKIPPING [2024-10-01T19:03:18.750Z] DEBUG: total: 0.2199999988079071 [2024-10-01T19:03:18.750Z] INFO: Retrieving Stack Cost... [2024-10-01T19:03:19.011Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-01T19:03:19.580Z] INFO: Archiving Costs [Pipeline] echo [2024-10-01T19:03:19.596Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-01T19:03:19.886Z] ---> logs-deploy.sh [2024-10-01T19:03:19.886Z] lf-activate-venv: SKIPPING [2024-10-01T19:03:19.886Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1626/2 [2024-10-01T19:03:19.886Z] INFO: archiving workspace using pattern(s): [2024-10-01T19:03:20.825Z] Archives upload complete. [2024-10-01T19:03:21.085Z] INFO: archiving logs to Nexus