Pull request #1646 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 2b424e540a2c3b8f091c6d5734c04c5071b69322+a2adfdc09e477498866130aea83da6ea448c3108 (6f79ea398258de9e50156a565e859de8715c4b27) 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-ssh13923196530653524035.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3397171568097688829.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1646/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-1646/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12610499227375947149.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh15971697226262373993.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-1646/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-1646/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14708556634753194167.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]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24977 in /w/workspace/gexfoundry_device-sdk-go_PR-1646 [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-1646 # 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 Merging remotes/origin/main commit a2adfdc09e477498866130aea83da6ea448c3108 into PR head commit 2b424e540a2c3b8f091c6d5734c04c5071b69322 Merge succeeded, producing 2b424e540a2c3b8f091c6d5734c04c5071b69322 Checking out Revision 2b424e540a2c3b8f091c6d5734c04c5071b69322 (PR-1646) > 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/1646/head:refs/remotes/origin/PR-1646 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b424e540a2c3b8f091c6d5734c04c5071b69322 # 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 a2adfdc09e477498866130aea83da6ea448c3108 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b424e540a2c3b8f091c6d5734c04c5071b69322 # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-08T03:03:04.469Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-08T03:03:04.549Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-08T03:03:04.578Z] ========================================================= [2024-11-08T03:03:04.578Z] EdgeX Global Pipelines Version Info [2024-11-08T03:03:04.578Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk dc59e9afc29978e7eceeb0d9af4d105f7aafa06c # timeout=10 [2024-11-08T03:03:05.329Z] ------------------- [2024-11-08T03:03:05.329Z] stable info: [2024-11-08T03:03:05.329Z] ------------------- [2024-11-08T03:03:05.329Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-08T03:03:05.329Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-08T03:03:05.329Z] Message: update stable to v1.0.265 [2024-11-08T03:03:05.900Z] ------------------- [2024-11-08T03:03:05.900Z] experimental info: [2024-11-08T03:03:05.900Z] ------------------- [2024-11-08T03:03:05.900Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-08T03:03:05.900Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-08T03:03:05.900Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-08T03:03:05.989Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-11-08T03:03:06.016Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-11-08T03:03:06.043Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-08T03:03:06.070Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-08T03:03:06.101Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-08T03:03:06.128Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-08T03:03:06.158Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-08T03:03:06.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-11-08T03:03:06.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-08T03:03:06.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-08T03:03:06.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-08T03:03:06.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-11-08T03:03:06.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-08T03:03:06.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-08T03:03:06.370Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T03:03:06.393Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T03:03:06.417Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T03:03:06.444Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T03:03:06.467Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-08T03:03:06.495Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-08T03:03:06.522Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-11-08T03:03:06.545Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo [2024-11-08T03:03:06.566Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-08T03:03:06.592Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-08T03:03:06.615Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-08T03:03:06.644Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-08T03:03:06.671Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-08T03:03:06.698Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1646 [Pipeline] echo [2024-11-08T03:03:06.725Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1646 [Pipeline] echo [2024-11-08T03:03:06.751Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1646 [Pipeline] echo [2024-11-08T03:03:06.778Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b424e540a2c3b8f091c6d5734c04c5071b69322 [Pipeline] echo [2024-11-08T03:03:06.808Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b424e5 [Pipeline] echo [2024-11-08T03:03:06.828Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T03:03:06.896Z] provisioning config files... [2024-11-08T03:03:06.945Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/config1743514333981863139tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:03:07.293Z] ---> ****-login.sh [2024-11-08T03:03:07.294Z] nexus3.edgexfoundry.org:10001 [2024-11-08T03:03:07.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:03:07.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:03:07.554Z] Configure a credential helper to remove this warning. See [2024-11-08T03:03:07.554Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:03:07.554Z] [2024-11-08T03:03:07.554Z] Login Succeeded [2024-11-08T03:03:07.554Z] nexus3.edgexfoundry.org:10002 [2024-11-08T03:03:07.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:03:07.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:03:07.814Z] Configure a credential helper to remove this warning. See [2024-11-08T03:03:07.814Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:03:07.814Z] [2024-11-08T03:03:07.814Z] Login Succeeded [2024-11-08T03:03:07.814Z] nexus3.edgexfoundry.org:10003 [2024-11-08T03:03:07.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:03:07.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:03:07.815Z] Configure a credential helper to remove this warning. See [2024-11-08T03:03:07.815Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:03:07.815Z] [2024-11-08T03:03:07.815Z] Login Succeeded [2024-11-08T03:03:07.815Z] nexus3.edgexfoundry.org:10004 [2024-11-08T03:03:07.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:03:08.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:03:08.077Z] Configure a credential helper to remove this warning. See [2024-11-08T03:03:08.077Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:03:08.077Z] [2024-11-08T03:03:08.077Z] Login Succeeded [2024-11-08T03:03:08.077Z] ****.io [2024-11-08T03:03:08.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:03:08.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:03:08.339Z] Configure a credential helper to remove this warning. See [2024-11-08T03:03:08.339Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:03:08.339Z] [2024-11-08T03:03:08.339Z] Login Succeeded [2024-11-08T03:03:08.339Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T03:03:08.347Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-08T03:03:08.756Z] + git rev-list -1 --merges 2b424e540a2c3b8f091c6d5734c04c5071b69322~1..2b424e540a2c3b8f091c6d5734c04c5071b69322 [Pipeline] echo [2024-11-08T03:03:08.783Z] -----------> git rev-list -1 --merges 2b424e540a2c3b8f091c6d5734c04c5071b69322~1..2b424e540a2c3b8f091c6d5734c04c5071b69322 2b424e540a2c3b8f091c6d5734c04c5071b69322 [false] [Pipeline] sh [2024-11-08T03:03:09.077Z] + git log --format=format:%s -1 2b424e540a2c3b8f091c6d5734c04c5071b69322 [Pipeline] echo [2024-11-08T03:03:09.096Z] ========================================================= [2024-11-08T03:03:09.096Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-08T03:03:09.096Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T03:03:09.441Z] + git log --format=format:%s -1 2b424e540a2c3b8f091c6d5734c04c5071b69322 [Pipeline] echo [2024-11-08T03:03:09.451Z] [semverPrep] GIT_COMMIT: 2b424e540a2c3b8f091c6d5734c04c5071b69322, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo [2024-11-08T03:03:09.470Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-08T03:03:09.830Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-08T03:03:09.830Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-08T03:03:09.830Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-08T03:03:09.830Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-08T03:03:09.830Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-08T03:03:09.830Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-08T03:03:09.830Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:03:10.220Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T03:03:10.220Z] [2024-11-08T03:03:10.220Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:03:10.528Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T03:03:10.529Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-08T03:03:10.529Z] b85a868b505f: Pulling fs layer [2024-11-08T03:03:10.529Z] e2be974225ed: Pulling fs layer [2024-11-08T03:03:10.529Z] 339a4e72a1f5: Pulling fs layer [2024-11-08T03:03:10.529Z] 988bab9f4d93: Pulling fs layer [2024-11-08T03:03:10.529Z] 1469e6f7b9e6: Pulling fs layer [2024-11-08T03:03:10.529Z] eaf3925da568: Pulling fs layer [2024-11-08T03:03:10.529Z] bab4dde63d76: Pulling fs layer [2024-11-08T03:03:10.529Z] bde34c3a00c8: Pulling fs layer [2024-11-08T03:03:10.529Z] b352a97aabf1: Pulling fs layer [2024-11-08T03:03:10.529Z] 4872d77fe225: Pulling fs layer [2024-11-08T03:03:10.529Z] 5851b861e8e6: Pulling fs layer [2024-11-08T03:03:10.529Z] bab4dde63d76: Waiting [2024-11-08T03:03:10.529Z] 1469e6f7b9e6: Waiting [2024-11-08T03:03:10.529Z] 988bab9f4d93: Waiting [2024-11-08T03:03:10.529Z] eaf3925da568: Waiting [2024-11-08T03:03:10.529Z] bde34c3a00c8: Waiting [2024-11-08T03:03:10.529Z] 5851b861e8e6: Waiting [2024-11-08T03:03:10.529Z] b352a97aabf1: Waiting [2024-11-08T03:03:10.529Z] 4872d77fe225: Waiting [2024-11-08T03:03:10.529Z] e2be974225ed: Download complete [2024-11-08T03:03:10.529Z] 988bab9f4d93: Verifying Checksum [2024-11-08T03:03:10.529Z] 988bab9f4d93: Download complete [2024-11-08T03:03:10.529Z] 1469e6f7b9e6: Verifying Checksum [2024-11-08T03:03:10.529Z] 1469e6f7b9e6: Download complete [2024-11-08T03:03:10.787Z] 339a4e72a1f5: Verifying Checksum [2024-11-08T03:03:10.787Z] 339a4e72a1f5: Download complete [2024-11-08T03:03:10.787Z] eaf3925da568: Verifying Checksum [2024-11-08T03:03:10.787Z] eaf3925da568: Download complete [2024-11-08T03:03:10.787Z] bde34c3a00c8: Download complete [2024-11-08T03:03:10.787Z] b352a97aabf1: Download complete [2024-11-08T03:03:10.787Z] 4872d77fe225: Verifying Checksum [2024-11-08T03:03:10.787Z] 4872d77fe225: Download complete [2024-11-08T03:03:10.787Z] 5851b861e8e6: Verifying Checksum [2024-11-08T03:03:10.787Z] 5851b861e8e6: Download complete [2024-11-08T03:03:10.787Z] b85a868b505f: Verifying Checksum [2024-11-08T03:03:10.787Z] b85a868b505f: Download complete [2024-11-08T03:03:11.046Z] bab4dde63d76: Verifying Checksum [2024-11-08T03:03:11.046Z] bab4dde63d76: Download complete [2024-11-08T03:03:11.986Z] b85a868b505f: Pull complete [2024-11-08T03:03:12.246Z] e2be974225ed: Pull complete [2024-11-08T03:03:12.506Z] 339a4e72a1f5: Pull complete [2024-11-08T03:03:12.766Z] 988bab9f4d93: Pull complete [2024-11-08T03:03:13.028Z] 1469e6f7b9e6: Pull complete [2024-11-08T03:03:13.029Z] eaf3925da568: Pull complete [2024-11-08T03:03:15.565Z] bab4dde63d76: Pull complete [2024-11-08T03:03:15.565Z] bde34c3a00c8: Pull complete [2024-11-08T03:03:15.565Z] b352a97aabf1: Pull complete [2024-11-08T03:03:15.565Z] 4872d77fe225: Pull complete [2024-11-08T03:03:15.565Z] 5851b861e8e6: Pull complete [2024-11-08T03:03:15.565Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-08T03:03:15.565Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T03:03:15.565Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:03:15.725Z] prd-ubuntu20.04-docker-8c-8g-24977 does not seem to be running inside a container [2024-11-08T03:03:15.764Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1646 -v /w/workspace/gexfoundry_device-sdk-go_PR-1646:/w/workspace/gexfoundry_device-sdk-go_PR-1646:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1646@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-devops/py-git-semver:0.1.4 cat [2024-11-08T03:03:21.417Z] $ docker top 10416565120aef4d59c2789dccec482afbcf9f8cf72ac8f68b0a570f77da09f3 -eo pid,comm [2024-11-08T03:03:21.469Z] 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-11-08T03:03:21.469Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-08T03:03:21.532Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T03:03:21.532Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T03:03:21.656Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T03:03:21.659Z] $ docker exec 10416565120aef4d59c2789dccec482afbcf9f8cf72ac8f68b0a570f77da09f3 ssh-agent [2024-11-08T03:03:21.765Z] SSH_AUTH_SOCK=/tmp/ssh-9dS3KeYmWSA7/agent.33 [2024-11-08T03:03:21.765Z] SSH_AGENT_PID=39 [2024-11-08T03:03:21.773Z] Running ssh-add (command line suppressed) [2024-11-08T03:03:21.878Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/private_key_2580753446388132961.key (/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/private_key_2580753446388132961.key) [2024-11-08T03:03:21.895Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T03:03:22.190Z] + git tag --points-at HEAD [Pipeline] } [2024-11-08T03:03:22.203Z] $ docker exec --env ******** --env ******** 10416565120aef4d59c2789dccec482afbcf9f8cf72ac8f68b0a570f77da09f3 ssh-agent -k [2024-11-08T03:03:22.306Z] unset SSH_AUTH_SOCK; [2024-11-08T03:03:22.306Z] unset SSH_AGENT_PID; [2024-11-08T03:03:22.306Z] echo Agent pid 39 killed; [2024-11-08T03:03:22.314Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-08T03:03:22.353Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T03:03:22.353Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T03:03:22.465Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T03:03:22.467Z] $ docker exec 10416565120aef4d59c2789dccec482afbcf9f8cf72ac8f68b0a570f77da09f3 ssh-agent [2024-11-08T03:03:22.568Z] SSH_AUTH_SOCK=/tmp/ssh-8kb2B8g9EIW6/agent.72 [2024-11-08T03:03:22.568Z] SSH_AGENT_PID=78 [2024-11-08T03:03:22.572Z] Running ssh-add (command line suppressed) [2024-11-08T03:03:22.675Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/private_key_15451538964671322409.key (/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/private_key_15451538964671322409.key) [2024-11-08T03:03:22.689Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T03:03:22.989Z] + git semver init [2024-11-08T03:03:23.249Z] 2024-11-08 03:03:23,193 [run_init] DEBUG init version:0.0.0 force:False [2024-11-08T03:03:23.249Z] 2024-11-08 03:03:23,194 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver [2024-11-08T03:03:23.249Z] 2024-11-08 03:03:23,195 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver [2024-11-08T03:03:23.249Z] 2024-11-08 03:03:23,195 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1646, universal_newlines=False, shell=None, istream=None) [2024-11-08T03:03:25.795Z] 2024-11-08 03:03:25,487 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646/.git/info/exclude [2024-11-08T03:03:25.795Z] 2024-11-08 03:03:25,488 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver/PR-1646 with force:False [2024-11-08T03:03:25.795Z] 2024-11-08 03:03:25,488 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver/PR-1646 [2024-11-08T03:03:25.795Z] 2024-11-08 03:03:25,492 [execute] INFO git cat-file --batch-check [2024-11-08T03:03:25.795Z] 2024-11-08 03:03:25,492 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T03:03:25.795Z] 2024-11-08 03:03:25,499 [execute] INFO git cat-file --batch [2024-11-08T03:03:25.795Z] 2024-11-08 03:03:25,499 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T03:03:25.795Z] 2024-11-08 03:03:25,505 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver/PR-1646 [2024-11-08T03:03:25.795Z] 0.0.0 [Pipeline] } [2024-11-08T03:03:25.804Z] $ docker exec --env ******** --env ******** 10416565120aef4d59c2789dccec482afbcf9f8cf72ac8f68b0a570f77da09f3 ssh-agent -k [2024-11-08T03:03:25.903Z] unset SSH_AUTH_SOCK; [2024-11-08T03:03:25.903Z] unset SSH_AGENT_PID; [2024-11-08T03:03:25.903Z] echo Agent pid 78 killed; [2024-11-08T03:03:25.915Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-08T03:03:26.264Z] + git semver [Pipeline] } [2024-11-08T03:03:26.541Z] $ docker stop --time=1 10416565120aef4d59c2789dccec482afbcf9f8cf72ac8f68b0a570f77da09f3 [2024-11-08T03:03:27.819Z] $ docker rm -f --volumes 10416565120aef4d59c2789dccec482afbcf9f8cf72ac8f68b0a570f77da09f3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T03:03:28.173Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-08T03:03:28.436Z] Stashed 1 file(s) [Pipeline] echo [2024-11-08T03:03:28.439Z] [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-11-08T03:03:28.638Z] provisioning config files... [2024-11-08T03:03:28.651Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/config439985775321783863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:03:28.966Z] ---> ****-login.sh [2024-11-08T03:03:28.966Z] nexus3.edgexfoundry.org:10001 [2024-11-08T03:03:28.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:03:28.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:03:28.966Z] Configure a credential helper to remove this warning. See [2024-11-08T03:03:28.966Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:03:28.966Z] [2024-11-08T03:03:28.966Z] Login Succeeded [2024-11-08T03:03:28.966Z] nexus3.edgexfoundry.org:10002 [2024-11-08T03:03:28.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:03:29.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:03:29.226Z] Configure a credential helper to remove this warning. See [2024-11-08T03:03:29.226Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:03:29.227Z] [2024-11-08T03:03:29.227Z] Login Succeeded [2024-11-08T03:03:29.227Z] nexus3.edgexfoundry.org:10003 [2024-11-08T03:03:29.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:03:29.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:03:29.227Z] Configure a credential helper to remove this warning. See [2024-11-08T03:03:29.227Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:03:29.227Z] [2024-11-08T03:03:29.227Z] Login Succeeded [2024-11-08T03:03:29.227Z] nexus3.edgexfoundry.org:10004 [2024-11-08T03:03:29.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:03:29.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:03:29.227Z] Configure a credential helper to remove this warning. See [2024-11-08T03:03:29.227Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:03:29.227Z] [2024-11-08T03:03:29.227Z] Login Succeeded [2024-11-08T03:03:29.227Z] ****.io [2024-11-08T03:03:29.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:03:29.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:03:29.487Z] Configure a credential helper to remove this warning. See [2024-11-08T03:03:29.487Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:03:29.487Z] [2024-11-08T03:03:29.487Z] Login Succeeded [2024-11-08T03:03:29.487Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T03:03:29.496Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T03:03:29.588Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T03:03:29.614Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T03:03:29.628Z] ========================================================= [2024-11-08T03:03:29.628Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-08T03:03:29.628Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:03:29.999Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-08T03:03:29.999Z] Sending build context to Docker daemon 25.6MB [2024-11-08T03:03:29.999Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T03:03:29.999Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-08T03:03:30.619Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-08T03:03:30.619Z] 43c4264eed91: Pulling fs layer [2024-11-08T03:03:30.619Z] 4cc291be95ef: Pulling fs layer [2024-11-08T03:03:30.619Z] 2ac1f1163629: Pulling fs layer [2024-11-08T03:03:30.619Z] 5c3c966382ef: Pulling fs layer [2024-11-08T03:03:30.619Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T03:03:30.619Z] 5d5c8e513c77: Pulling fs layer [2024-11-08T03:03:30.619Z] 9f66e0745190: Pulling fs layer [2024-11-08T03:03:30.619Z] f49a43e4bbc0: Pulling fs layer [2024-11-08T03:03:30.619Z] 561ebcabdf7f: Pulling fs layer [2024-11-08T03:03:30.619Z] 5c3c966382ef: Waiting [2024-11-08T03:03:30.619Z] 5d5c8e513c77: Waiting [2024-11-08T03:03:30.619Z] 9f66e0745190: Waiting [2024-11-08T03:03:30.619Z] f49a43e4bbc0: Waiting [2024-11-08T03:03:30.619Z] 4f4fb700ef54: Waiting [2024-11-08T03:03:30.619Z] 561ebcabdf7f: Waiting [2024-11-08T03:03:30.619Z] 4cc291be95ef: Download complete [2024-11-08T03:03:30.619Z] 5c3c966382ef: Verifying Checksum [2024-11-08T03:03:30.619Z] 5c3c966382ef: Download complete [2024-11-08T03:03:30.619Z] 4f4fb700ef54: Verifying Checksum [2024-11-08T03:03:30.619Z] 4f4fb700ef54: Download complete [2024-11-08T03:03:30.619Z] 43c4264eed91: Download complete [2024-11-08T03:03:30.619Z] 5d5c8e513c77: Verifying Checksum [2024-11-08T03:03:30.619Z] 5d5c8e513c77: Download complete [2024-11-08T03:03:30.619Z] 9f66e0745190: Verifying Checksum [2024-11-08T03:03:30.619Z] 9f66e0745190: Download complete [2024-11-08T03:03:30.879Z] 561ebcabdf7f: Download complete [2024-11-08T03:03:30.879Z] 43c4264eed91: Pull complete [2024-11-08T03:03:31.138Z] 2ac1f1163629: Verifying Checksum [2024-11-08T03:03:31.138Z] 2ac1f1163629: Download complete [2024-11-08T03:03:31.138Z] 4cc291be95ef: Pull complete [2024-11-08T03:03:31.397Z] f49a43e4bbc0: Verifying Checksum [2024-11-08T03:03:31.397Z] f49a43e4bbc0: Download complete [2024-11-08T03:03:35.641Z] 2ac1f1163629: Pull complete [2024-11-08T03:03:35.901Z] 5c3c966382ef: Pull complete [2024-11-08T03:03:36.475Z] 4f4fb700ef54: Pull complete [2024-11-08T03:03:37.045Z] 5d5c8e513c77: Pull complete [2024-11-08T03:03:37.984Z] 9f66e0745190: Pull complete [2024-11-08T03:03:41.295Z] f49a43e4bbc0: Pull complete [2024-11-08T03:03:42.348Z] 561ebcabdf7f: Pull complete [2024-11-08T03:03:42.607Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-08T03:03:42.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-08T03:03:42.607Z] ---> 3a752c3f9dda [2024-11-08T03:03:42.607Z] Step 3/10 : ARG MAKE=make build [2024-11-08T03:03:43.579Z] Still waiting to schedule task [2024-11-08T03:03:43.579Z] ‘prd-centos7-blackbox-4c-2g-24386’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-08T03:03:43.579Z] ‘prd-centos7-blackbox-4c-2g-24387’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-08T03:03:43.579Z] ‘prd-ubuntu20.04-docker-8c-8g-24952’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-08T03:03:43.579Z] ‘prd-ubuntu20.04-docker-8c-8g-24956’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-08T03:03:43.579Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-24953’ is offline [2024-11-08T03:03:43.579Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-24978’ is offline [2024-11-08T03:03:52.615Z] ---> Running in 619a5ccd7d4a [2024-11-08T03:03:52.615Z] Removing intermediate container 619a5ccd7d4a [2024-11-08T03:03:52.615Z] ---> 24a02a6d714d [2024-11-08T03:03:52.615Z] Step 4/10 : WORKDIR /device-sdk-go [2024-11-08T03:03:52.615Z] ---> Running in 2de92c991b95 [2024-11-08T03:03:52.615Z] Removing intermediate container 2de92c991b95 [2024-11-08T03:03:52.615Z] ---> 837f650baec8 [2024-11-08T03:03:52.615Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-08T03:03:52.615Z] ---> Running in 92c47f72ae6a [2024-11-08T03:03:52.615Z] Removing intermediate container 92c47f72ae6a [2024-11-08T03:03:52.615Z] ---> 00d28d67210d [2024-11-08T03:03:52.615Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-11-08T03:03:52.875Z] ---> Running in f2d5b155179b [2024-11-08T03:03:53.135Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:03:53.135Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:03:53.708Z] OK: 246 MiB in 54 packages [2024-11-08T03:03:54.287Z] Removing intermediate container f2d5b155179b [2024-11-08T03:03:54.287Z] ---> 0672ca6057f7 [2024-11-08T03:03:54.287Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-08T03:03:54.546Z] ---> 2e1b81072929 [2024-11-08T03:03:54.546Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T03:03:54.546Z] ---> Running in 16c3923553a5 [2024-11-08T03:05:16.289Z] Removing intermediate container 16c3923553a5 [2024-11-08T03:05:16.289Z] ---> e0148c33f2fc [2024-11-08T03:05:16.289Z] Step 9/10 : COPY . . [2024-11-08T03:05:16.289Z] ---> bd076d240cf1 [2024-11-08T03:05:16.289Z] Step 10/10 : RUN ${MAKE} [2024-11-08T03:05:16.289Z] ---> Running in 1d0bd6118d64 [2024-11-08T03:05:16.289Z] noop [2024-11-08T03:05:16.289Z] Removing intermediate container 1d0bd6118d64 [2024-11-08T03:05:16.289Z] ---> 7c563644317f [2024-11-08T03:05:16.289Z] Successfully built 7c563644317f [2024-11-08T03:05:16.289Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:05:16.617Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T03:05:16.617Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:05:16.701Z] prd-ubuntu20.04-docker-8c-8g-24977 does not seem to be running inside a container [2024-11-08T03:05:16.736Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1646 -v /w/workspace/gexfoundry_device-sdk-go_PR-1646:/w/workspace/gexfoundry_device-sdk-go_PR-1646:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1646@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-08T03:05:17.350Z] $ docker top 176a6b7aac06c3297dd9bc86933f21b011e89f1759d2c0f2e55ddbeb6f0096c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:05:17.726Z] + go version [2024-11-08T03:05:17.726Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-08T03:05:17.737Z] $ docker stop --time=1 176a6b7aac06c3297dd9bc86933f21b011e89f1759d2c0f2e55ddbeb6f0096c4 [2024-11-08T03:05:19.126Z] $ docker rm -f --volumes 176a6b7aac06c3297dd9bc86933f21b011e89f1759d2c0f2e55ddbeb6f0096c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:05:19.709Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T03:05:19.709Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:05:19.790Z] prd-ubuntu20.04-docker-8c-8g-24977 does not seem to be running inside a container [2024-11-08T03:05:19.823Z] $ 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-1646 -v /w/workspace/gexfoundry_device-sdk-go_PR-1646:/w/workspace/gexfoundry_device-sdk-go_PR-1646:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1646@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-08T03:05:20.662Z] $ docker top 204009c09bef9b445105afd0c07eb2e0b2c7940c934c233c80e7baa736834355 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:05:21.019Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1646 [Pipeline] fileExists [Pipeline] sh [2024-11-08T03:05:21.338Z] + make test [2024-11-08T03:05:21.338Z] go test -race -coverprofile=coverage.out ./... [2024-11-08T03:05:29.484Z] ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] [2024-11-08T03:06:01.657Z] github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements [2024-11-08T03:06:01.657Z] github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements [2024-11-08T03:06:01.657Z] github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements [2024-11-08T03:06:01.657Z] github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements [2024-11-08T03:06:01.657Z] github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements [2024-11-08T03:06:01.657Z] github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements [2024-11-08T03:06:01.657Z] github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements [2024-11-08T03:06:01.657Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.031s coverage: 28.7% of statements [2024-11-08T03:06:01.657Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.030s coverage: 79.4% of statements [2024-11-08T03:06:01.657Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.052s coverage: 86.0% of statements [2024-11-08T03:06:01.657Z] ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] [2024-11-08T03:06:01.657Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements [2024-11-08T03:06:01.657Z] github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements [2024-11-08T03:06:01.657Z] github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements [2024-11-08T03:06:01.915Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.092s coverage: 45.2% of statements [2024-11-08T03:06:02.492Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements [2024-11-08T03:06:05.036Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.053s coverage: 14.1% of statements [2024-11-08T03:06:05.036Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 3.272s coverage: 44.6% of statements [2024-11-08T03:06:05.036Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.066s coverage: 68.4% of statements [2024-11-08T03:06:05.036Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.078s coverage: 88.3% of statements [2024-11-08T03:06:05.036Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.053s coverage: 5.3% of statements [2024-11-08T03:06:37.122Z] GO111MODULE=on go vet ./... [2024-11-08T03:06:41.302Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T03:06:41.302Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T03:06:41.302Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T03:06:41.319Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T03:06:41.339Z] $ docker stop --time=1 204009c09bef9b445105afd0c07eb2e0b2c7940c934c233c80e7baa736834355 [2024-11-08T03:06:50.854Z] $ docker rm -f --volumes 204009c09bef9b445105afd0c07eb2e0b2c7940c934c233c80e7baa736834355 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T03:06:51.526Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T03:06:51.630Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-08T03:06:52.212Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T03:06:52.512Z] + ls -al . [2024-11-08T03:06:52.512Z] total 704 [2024-11-08T03:06:52.512Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 03:05 . [2024-11-08T03:06:52.512Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 03:02 .. [2024-11-08T03:06:52.512Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 03:03 .dockerignore [2024-11-08T03:06:52.512Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:06 .git [2024-11-08T03:06:52.512Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:03 .github [2024-11-08T03:06:52.512Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 8 03:03 .gitignore [2024-11-08T03:06:52.512Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 8 03:03 .golangci.yml [2024-11-08T03:06:52.512Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 03:03 .semver [2024-11-08T03:06:52.512Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 8 03:03 CHANGELOG.md [2024-11-08T03:06:52.512Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 03:03 GOVERNANCE.md [2024-11-08T03:06:52.512Z] -rw-rw-r-- 1 jenkins jenkins 882 Nov 8 03:03 Jenkinsfile [2024-11-08T03:06:52.512Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 8 03:03 LICENSE [2024-11-08T03:06:52.512Z] -rw-rw-r-- 1 jenkins jenkins 2424 Nov 8 03:03 Makefile [2024-11-08T03:06:52.512Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 8 03:03 OWNERS.md [2024-11-08T03:06:52.512Z] -rw-rw-r-- 1 jenkins jenkins 4937 Nov 8 03:03 README.md [2024-11-08T03:06:52.512Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 03:03 VERSION [2024-11-08T03:06:52.512Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:03 bin [2024-11-08T03:06:52.512Z] -rw-r--r-- 1 jenkins jenkins 468089 Nov 8 03:06 coverage.out [2024-11-08T03:06:52.512Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 8 03:03 example [2024-11-08T03:06:52.512Z] -rw-rw-r-- 1 jenkins jenkins 6278 Nov 8 03:03 go.mod [2024-11-08T03:06:52.512Z] -rw-rw-r-- 1 jenkins jenkins 87873 Nov 8 03:03 go.sum [2024-11-08T03:06:52.512Z] drwxrwxr-x 13 jenkins jenkins 4096 Nov 8 03:03 internal [2024-11-08T03:06:52.512Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:03 openapi [2024-11-08T03:06:52.512Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 03:03 pkg [2024-11-08T03:06:52.512Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 03:03 snap [2024-11-08T03:06:52.512Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 8 03:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:06:52.834Z] + 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=2b424e540a2c3b8f091c6d5734c04c5071b69322 --label arch=amd64 --label version=0.0.0 . [2024-11-08T03:06:52.834Z] Sending build context to Docker daemon 26.07MB [2024-11-08T03:06:52.834Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T03:06:52.834Z] Step 2/24 : FROM ${BASE} AS builder [2024-11-08T03:06:52.834Z] ---> 7c563644317f [2024-11-08T03:06:52.834Z] Step 3/24 : ARG MAKE=make build [2024-11-08T03:06:53.772Z] ---> Running in ad2b79a3b05d [2024-11-08T03:06:54.031Z] Removing intermediate container ad2b79a3b05d [2024-11-08T03:06:54.031Z] ---> 11831643e2a9 [2024-11-08T03:06:54.031Z] Step 4/24 : WORKDIR /device-sdk-go [2024-11-08T03:06:54.031Z] ---> Running in e2d6c00e7298 [2024-11-08T03:06:54.031Z] Removing intermediate container e2d6c00e7298 [2024-11-08T03:06:54.031Z] ---> 3c569041e10f [2024-11-08T03:06:54.031Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-08T03:06:54.031Z] ---> Running in 4097d818f6d6 [2024-11-08T03:06:54.031Z] Removing intermediate container 4097d818f6d6 [2024-11-08T03:06:54.031Z] ---> b31cd51319b0 [2024-11-08T03:06:54.031Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-11-08T03:06:54.293Z] ---> Running in 36f1aa7bbdf7 [2024-11-08T03:06:54.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:06:54.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:06:54.811Z] OK: 246 MiB in 54 packages [2024-11-08T03:06:55.081Z] Removing intermediate container 36f1aa7bbdf7 [2024-11-08T03:06:55.151Z] ---> 011c3d6a5b2a [2024-11-08T03:06:55.151Z] Step 7/24 : COPY go.mod vendor* ./ [2024-11-08T03:06:55.413Z] ---> e97bc37ce6b9 [2024-11-08T03:06:55.413Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T03:06:55.413Z] ---> Running in 2c999563fa9a [2024-11-08T03:06:55.980Z] Removing intermediate container 2c999563fa9a [2024-11-08T03:06:55.980Z] ---> 3667af448ec8 [2024-11-08T03:06:55.980Z] Step 9/24 : COPY . . [2024-11-08T03:06:57.369Z] ---> 3ef5391e43df [2024-11-08T03:06:57.369Z] Step 10/24 : RUN ${MAKE} [2024-11-08T03:06:57.369Z] ---> Running in 8c52ea26d65a [2024-11-08T03:06:57.939Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-11-08T03:07:44.668Z] Removing intermediate container 8c52ea26d65a [2024-11-08T03:07:44.668Z] ---> 214a29786374 [2024-11-08T03:07:44.668Z] Step 11/24 : FROM alpine:3.20 [2024-11-08T03:07:44.668Z] 3.20: Pulling from library/alpine [2024-11-08T03:07:44.668Z] 43c4264eed91: Already exists [2024-11-08T03:07:44.668Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T03:07:44.668Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T03:07:44.668Z] ---> 91ef0af61f39 [2024-11-08T03:07:44.668Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-11-08T03:07:44.668Z] ---> Running in c596c79ffc61 [2024-11-08T03:07:44.668Z] Removing intermediate container c596c79ffc61 [2024-11-08T03:07:44.668Z] ---> 826e11e5339c [2024-11-08T03:07:44.668Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-11-08T03:07:44.668Z] ---> Running in 14988f40b169 [2024-11-08T03:07:44.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:07:44.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:07:44.668Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T03:07:44.668Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:07:44.668Z] OK: 8 MiB in 15 packages [2024-11-08T03:07:44.668Z] Removing intermediate container 14988f40b169 [2024-11-08T03:07:44.668Z] ---> 16f4d15a257e [2024-11-08T03:07:44.668Z] Step 14/24 : RUN apk --no-cache upgrade [2024-11-08T03:07:44.668Z] ---> Running in 5f6854605209 [2024-11-08T03:07:44.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:07:44.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:07:44.928Z] Upgrading critical system libraries and apk-tools: [2024-11-08T03:07:44.928Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T03:07:44.928Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:07:44.928Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T03:07:44.928Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T03:07:44.928Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T03:07:45.190Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:07:45.190Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:07:45.190Z] OK: 8 MiB in 15 packages [2024-11-08T03:07:47.107Z] Removing intermediate container 5f6854605209 [2024-11-08T03:07:47.107Z] ---> 2540c1faf1f4 [2024-11-08T03:07:47.107Z] Step 15/24 : WORKDIR / [2024-11-08T03:07:47.677Z] ---> Running in 35fcba56ff00 [2024-11-08T03:07:47.937Z] Removing intermediate container 35fcba56ff00 [2024-11-08T03:07:47.937Z] ---> 9a2e37fb180e [2024-11-08T03:07:47.937Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-11-08T03:07:48.510Z] ---> 9fc4962a2261 [2024-11-08T03:07:48.510Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-11-08T03:07:51.194Z] ---> 8bfe2b15378a [2024-11-08T03:07:51.194Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-11-08T03:07:51.194Z] ---> d61115ce86d3 [2024-11-08T03:07:51.194Z] Step 19/24 : EXPOSE 59999 [2024-11-08T03:07:51.194Z] ---> Running in cbfae364c98f [2024-11-08T03:07:51.453Z] Removing intermediate container cbfae364c98f [2024-11-08T03:07:51.453Z] ---> 1a2c01769512 [2024-11-08T03:07:51.453Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-11-08T03:07:51.453Z] ---> Running in 215837d974cb [2024-11-08T03:07:51.453Z] Removing intermediate container 215837d974cb [2024-11-08T03:07:51.453Z] ---> 748e3b590cb2 [2024-11-08T03:07:51.453Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-11-08T03:07:51.453Z] ---> Running in 9221373ed158 [2024-11-08T03:07:51.453Z] Removing intermediate container 9221373ed158 [2024-11-08T03:07:51.453Z] ---> 9693ccc2575e [2024-11-08T03:07:51.453Z] Step 22/24 : LABEL arch=amd64 [2024-11-08T03:07:51.712Z] ---> Running in ebfacc52488f [2024-11-08T03:07:51.712Z] Removing intermediate container ebfacc52488f [2024-11-08T03:07:51.712Z] ---> 9b6a82463b22 [2024-11-08T03:07:51.712Z] Step 23/24 : LABEL git_sha=2b424e540a2c3b8f091c6d5734c04c5071b69322 [2024-11-08T03:07:51.712Z] ---> Running in 8b326b26abc1 [2024-11-08T03:07:51.712Z] Removing intermediate container 8b326b26abc1 [2024-11-08T03:07:51.712Z] ---> 872555bfcebb [2024-11-08T03:07:51.712Z] Step 24/24 : LABEL version=0.0.0 [2024-11-08T03:07:51.712Z] ---> Running in 96c9277e3a81 [2024-11-08T03:07:51.971Z] Removing intermediate container 96c9277e3a81 [2024-11-08T03:07:51.971Z] ---> 2f7e851068cd [2024-11-08T03:07:51.971Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T03:07:51.971Z] Successfully built 2f7e851068cd [2024-11-08T03:07:51.971Z] 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-11-08T03:07:52.444Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:07:52.444Z] [2024-11-08T03:07:52.444Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:07:52.750Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:07:52.750Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-08T03:07:52.750Z] 5eb5b503b376: Pulling fs layer [2024-11-08T03:07:52.750Z] 5c69ac0246d0: Pulling fs layer [2024-11-08T03:07:52.750Z] ec43610c2a17: Pulling fs layer [2024-11-08T03:07:52.750Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-08T03:07:52.750Z] 33b1e0a273af: Pulling fs layer [2024-11-08T03:07:52.750Z] 5d3b04190fa2: Pulling fs layer [2024-11-08T03:07:52.750Z] 2f39f015ded8: Pulling fs layer [2024-11-08T03:07:52.750Z] 33b1e0a273af: Waiting [2024-11-08T03:07:52.750Z] 3a2ae6a8a46f: Waiting [2024-11-08T03:07:52.750Z] 5d3b04190fa2: Waiting [2024-11-08T03:07:52.750Z] 2f39f015ded8: Waiting [2024-11-08T03:07:52.750Z] 5c69ac0246d0: Verifying Checksum [2024-11-08T03:07:52.750Z] 5c69ac0246d0: Download complete [2024-11-08T03:07:52.750Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-08T03:07:52.750Z] 3a2ae6a8a46f: Download complete [2024-11-08T03:07:52.750Z] 33b1e0a273af: Verifying Checksum [2024-11-08T03:07:52.750Z] 33b1e0a273af: Download complete [2024-11-08T03:07:52.750Z] 5d3b04190fa2: Verifying Checksum [2024-11-08T03:07:52.750Z] 5d3b04190fa2: Download complete [2024-11-08T03:07:52.750Z] ec43610c2a17: Download complete [2024-11-08T03:07:53.009Z] 5eb5b503b376: Verifying Checksum [2024-11-08T03:07:53.009Z] 5eb5b503b376: Download complete [2024-11-08T03:07:53.580Z] 2f39f015ded8: Verifying Checksum [2024-11-08T03:07:53.580Z] 2f39f015ded8: Download complete [2024-11-08T03:07:54.515Z] 5eb5b503b376: Pull complete [2024-11-08T03:07:54.774Z] 5c69ac0246d0: Pull complete [2024-11-08T03:07:55.344Z] ec43610c2a17: Pull complete [2024-11-08T03:07:55.603Z] 3a2ae6a8a46f: Pull complete [2024-11-08T03:07:55.863Z] 33b1e0a273af: Pull complete [2024-11-08T03:07:56.123Z] 5d3b04190fa2: Pull complete [2024-11-08T03:08:01.392Z] 2f39f015ded8: Pull complete [2024-11-08T03:08:01.392Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-08T03:08:01.392Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:08:01.651Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:08:01.762Z] prd-ubuntu20.04-docker-8c-8g-24977 does not seem to be running inside a container [2024-11-08T03:08:01.794Z] $ 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-1646 -v /w/workspace/gexfoundry_device-sdk-go_PR-1646:/w/workspace/gexfoundry_device-sdk-go_PR-1646:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1646@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T03:08:14.613Z] $ docker top df8ce12df83b0cfa3488baad8a0d1e73c5422afba6b656fb1c4cb46efe2eff10 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:08:15.011Z] ---> job-cost.sh [2024-11-08T03:08:15.011Z] lf-activate-venv: SKIPPING [2024-11-08T03:08:15.011Z] INFO: No Stack... [2024-11-08T03:08:15.271Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T03:08:15.839Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T03:08:16.132Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives/cost.csv [2024-11-08T03:08:16.132Z] + cut -d, -f6 [Pipeline] lock [2024-11-08T03:08:16.150Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-2-stack-cost] [2024-11-08T03:08:16.158Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1646-2-stack-cost] did not exist. Created. [2024-11-08T03:08:16.165Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T03:08:16.491Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-08T03:08:16.526Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T03:08:16.540Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T03:08:16.565Z] $ docker stop --time=1 df8ce12df83b0cfa3488baad8a0d1e73c5422afba6b656fb1c4cb46efe2eff10 [2024-11-08T03:08:17.782Z] $ docker rm -f --volumes df8ce12df83b0cfa3488baad8a0d1e73c5422afba6b656fb1c4cb46efe2eff10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-08T03:23:58.220Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-25689 in /w/workspace/gexfoundry_device-sdk-go_PR-1646 [Pipeline] { [Pipeline] ws [2024-11-08T03:23:58.235Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2024-11-08T03:24:01.308Z] The recommended git tool is: git [2024-11-08T03:24:09.368Z] using credential edgex-jenkins-ssh [2024-11-08T03:24:09.393Z] Cloning the remote Git repository [2024-11-08T03:24:09.470Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-11-08T03:24:09.610Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2024-11-08T03:24:09.846Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-11-08T03:24:09.848Z] > git --version # timeout=10 [2024-11-08T03:24:09.880Z] > git --version # 'git version 2.25.1' [2024-11-08T03:24:09.885Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T03:24:10.117Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T03:24:13.963Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-11-08T03:24:13.993Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T03:24:16.265Z] Merging remotes/origin/main commit a2adfdc09e477498866130aea83da6ea448c3108 into PR head commit 2b424e540a2c3b8f091c6d5734c04c5071b69322 [2024-11-08T03:24:15.460Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-11-08T03:24:15.520Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-11-08T03:24:15.521Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T03:24:15.557Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1646/head:refs/remotes/origin/PR-1646 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-08T03:24:16.292Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T03:24:16.397Z] > git checkout -f 2b424e540a2c3b8f091c6d5734c04c5071b69322 # timeout=10 [2024-11-08T03:24:16.555Z] > git remote # timeout=10 [2024-11-08T03:24:16.592Z] > git config --get remote.origin.url # timeout=10 [2024-11-08T03:24:16.612Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T03:24:16.709Z] Merge succeeded, producing 2b424e540a2c3b8f091c6d5734c04c5071b69322 [2024-11-08T03:24:16.709Z] Checking out Revision 2b424e540a2c3b8f091c6d5734c04c5071b69322 (PR-1646) [2024-11-08T03:24:16.644Z] > git merge a2adfdc09e477498866130aea83da6ea448c3108 # timeout=10 [2024-11-08T03:24:16.679Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-08T03:24:16.718Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T03:24:16.737Z] > git checkout -f 2b424e540a2c3b8f091c6d5734c04c5071b69322 # timeout=10 [2024-11-08T03:24:20.720Z] Commit message: "fix: Only one ldflags flag is allowed" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T03:24:22.813Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-08T03:24:22.813Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T03:24:22.813Z] Dload Upload Total Spent Left Speed [2024-11-08T03:24:22.813Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 189k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh [2024-11-08T03:24:23.194Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-08T03:24:23.551Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-08T03:24:23.551Z] + sudo tee /etc/docker/daemon.new [2024-11-08T03:24:23.551Z] { [2024-11-08T03:24:23.551Z] "registry-mirrors": [ [2024-11-08T03:24:23.551Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-08T03:24:23.551Z] ], [2024-11-08T03:24:23.551Z] "bip": "10.250.0.254/24", [2024-11-08T03:24:23.551Z] "hosts": [ [2024-11-08T03:24:23.551Z] "tcp://0.0.0.0:5555", [2024-11-08T03:24:23.551Z] "unix:///var/run/docker.sock" [2024-11-08T03:24:23.551Z] ], [2024-11-08T03:24:23.551Z] "mtu": 1458, [2024-11-08T03:24:23.551Z] "selinux-enabled": true, [2024-11-08T03:24:23.551Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-08T03:24:23.551Z] } [Pipeline] sh [2024-11-08T03:24:23.891Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-08T03:24:24.267Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T03:24:42.633Z] provisioning config files... [2024-11-08T03:24:42.667Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config18272873935687534258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:24:43.164Z] ---> ****-login.sh [2024-11-08T03:24:43.164Z] nexus3.edgexfoundry.org:10001 [2024-11-08T03:24:43.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:24:43.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:24:43.760Z] Configure a credential helper to remove this warning. See [2024-11-08T03:24:43.760Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:24:43.760Z] [2024-11-08T03:24:43.760Z] Login Succeeded [2024-11-08T03:24:43.760Z] nexus3.edgexfoundry.org:10002 [2024-11-08T03:24:44.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:24:44.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:24:44.296Z] Configure a credential helper to remove this warning. See [2024-11-08T03:24:44.296Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:24:44.296Z] [2024-11-08T03:24:44.296Z] Login Succeeded [2024-11-08T03:24:44.296Z] nexus3.edgexfoundry.org:10003 [2024-11-08T03:24:44.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:24:44.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:24:44.566Z] Configure a credential helper to remove this warning. See [2024-11-08T03:24:44.566Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:24:44.566Z] [2024-11-08T03:24:44.566Z] Login Succeeded [2024-11-08T03:24:44.566Z] nexus3.edgexfoundry.org:10004 [2024-11-08T03:24:44.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:24:45.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:24:45.116Z] Configure a credential helper to remove this warning. See [2024-11-08T03:24:45.116Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:24:45.116Z] [2024-11-08T03:24:45.116Z] Login Succeeded [2024-11-08T03:24:45.116Z] ****.io [2024-11-08T03:24:45.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T03:24:45.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T03:24:45.654Z] Configure a credential helper to remove this warning. See [2024-11-08T03:24:45.654Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T03:24:45.654Z] [2024-11-08T03:24:45.654Z] Login Succeeded [2024-11-08T03:24:45.654Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T03:24:45.668Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T03:24:46.015Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T03:24:46.041Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T03:24:46.066Z] ========================================================= [2024-11-08T03:24:46.066Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-08T03:24:46.066Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:24:46.437Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-08T03:24:47.023Z] Sending build context to Docker daemon 13.26MB [2024-11-08T03:24:47.023Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T03:24:47.023Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-08T03:24:47.023Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-08T03:24:47.023Z] cf04c63912e1: Pulling fs layer [2024-11-08T03:24:47.023Z] 55b35a11ae5e: Pulling fs layer [2024-11-08T03:24:47.023Z] a37a00ec5f00: Pulling fs layer [2024-11-08T03:24:47.023Z] 50b3750afda1: Pulling fs layer [2024-11-08T03:24:47.023Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T03:24:47.023Z] 80978eb59214: Pulling fs layer [2024-11-08T03:24:47.023Z] c9f46d7d2bd2: Pulling fs layer [2024-11-08T03:24:47.023Z] c5a475d317c9: Pulling fs layer [2024-11-08T03:24:47.023Z] c9f46d7d2bd2: Waiting [2024-11-08T03:24:47.023Z] 80978eb59214: Waiting [2024-11-08T03:24:47.023Z] 4f4fb700ef54: Waiting [2024-11-08T03:24:47.023Z] c5a475d317c9: Waiting [2024-11-08T03:24:47.305Z] 55b35a11ae5e: Verifying Checksum [2024-11-08T03:24:47.305Z] 55b35a11ae5e: Download complete [2024-11-08T03:24:47.305Z] 50b3750afda1: Verifying Checksum [2024-11-08T03:24:47.305Z] 50b3750afda1: Download complete [2024-11-08T03:24:47.305Z] 4f4fb700ef54: Verifying Checksum [2024-11-08T03:24:47.305Z] 4f4fb700ef54: Download complete [2024-11-08T03:24:47.305Z] 80978eb59214: Download complete [2024-11-08T03:24:47.305Z] cf04c63912e1: Verifying Checksum [2024-11-08T03:24:47.305Z] cf04c63912e1: Download complete [2024-11-08T03:24:47.575Z] c5a475d317c9: Verifying Checksum [2024-11-08T03:24:47.575Z] c5a475d317c9: Download complete [2024-11-08T03:24:48.169Z] cf04c63912e1: Pull complete [2024-11-08T03:24:49.144Z] 55b35a11ae5e: Pull complete [2024-11-08T03:24:49.417Z] a37a00ec5f00: Verifying Checksum [2024-11-08T03:24:49.417Z] a37a00ec5f00: Download complete [2024-11-08T03:24:50.054Z] c9f46d7d2bd2: Verifying Checksum [2024-11-08T03:24:50.054Z] c9f46d7d2bd2: Download complete [2024-11-08T03:25:05.295Z] a37a00ec5f00: Pull complete [2024-11-08T03:25:05.295Z] 50b3750afda1: Pull complete [2024-11-08T03:25:05.295Z] 4f4fb700ef54: Pull complete [2024-11-08T03:25:05.295Z] 80978eb59214: Pull complete [2024-11-08T03:25:13.548Z] c9f46d7d2bd2: Pull complete [2024-11-08T03:25:15.506Z] c5a475d317c9: Pull complete [2024-11-08T03:25:15.506Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-08T03:25:15.506Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-08T03:25:15.506Z] ---> be29e6b0f0d4 [2024-11-08T03:25:15.506Z] Step 3/10 : ARG MAKE=make build [2024-11-08T03:25:16.490Z] ---> Running in a317a30cf5ee [2024-11-08T03:25:17.082Z] Removing intermediate container a317a30cf5ee [2024-11-08T03:25:17.082Z] ---> 640efa2e9f6a [2024-11-08T03:25:17.082Z] Step 4/10 : WORKDIR /device-sdk-go [2024-11-08T03:25:17.082Z] ---> Running in cddff5cba832 [2024-11-08T03:25:17.360Z] Removing intermediate container cddff5cba832 [2024-11-08T03:25:17.360Z] ---> 4c8f1420765f [2024-11-08T03:25:17.360Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-08T03:25:17.635Z] ---> Running in 12600c5bd59c [2024-11-08T03:25:18.230Z] Removing intermediate container 12600c5bd59c [2024-11-08T03:25:18.230Z] ---> e4e33ae14c9b [2024-11-08T03:25:18.230Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-11-08T03:25:18.230Z] ---> Running in 0747f5dcda85 [2024-11-08T03:25:19.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:25:20.256Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:25:22.214Z] OK: 238 MiB in 54 packages [2024-11-08T03:25:23.188Z] Removing intermediate container 0747f5dcda85 [2024-11-08T03:25:23.188Z] ---> 02cd55b1f0e4 [2024-11-08T03:25:23.188Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-08T03:25:23.776Z] ---> 946a99779f87 [2024-11-08T03:25:23.776Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T03:25:24.048Z] ---> Running in 270edfb629dd [2024-11-08T03:27:31.063Z] Removing intermediate container 270edfb629dd [2024-11-08T03:27:31.063Z] ---> 6724c7885284 [2024-11-08T03:27:31.063Z] Step 9/10 : COPY . . [2024-11-08T03:27:31.063Z] ---> a1efffa4fc1c [2024-11-08T03:27:31.063Z] Step 10/10 : RUN ${MAKE} [2024-11-08T03:27:31.063Z] ---> Running in 9414579b5db6 [2024-11-08T03:27:31.063Z] noop [2024-11-08T03:27:31.063Z] Removing intermediate container 9414579b5db6 [2024-11-08T03:27:31.063Z] ---> 854f3ac53740 [2024-11-08T03:27:31.063Z] Successfully built 854f3ac53740 [2024-11-08T03:27:31.063Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:27:31.471Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T03:27:31.471Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:27:31.772Z] prd-ubuntu20.04-docker-arm64-4c-16g-25689 does not seem to be running inside a container [2024-11-08T03:27:31.862Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-08T03:27:33.175Z] $ docker top 24f956b059d20bb5ccbc7dc60333c640c331079476587aa75fc30ee46696dac7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:27:34.044Z] + go version [2024-11-08T03:27:34.044Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-08T03:27:34.064Z] $ docker stop --time=1 24f956b059d20bb5ccbc7dc60333c640c331079476587aa75fc30ee46696dac7 [2024-11-08T03:27:35.747Z] $ docker rm -f --volumes 24f956b059d20bb5ccbc7dc60333c640c331079476587aa75fc30ee46696dac7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:27:36.375Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T03:27:36.375Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:27:36.604Z] prd-ubuntu20.04-docker-arm64-4c-16g-25689 does not seem to be running inside a container [2024-11-08T03:27:36.695Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-08T03:27:38.206Z] $ docker top b956f6839065efb34020e7a2172b911c8143cc411c87138ac93cb5446c253419 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:27:39.102Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2024-11-08T03:27:39.818Z] + make test [2024-11-08T03:27:39.818Z] go test -race -coverprofile=coverage.out ./... [2024-11-08T03:28:36.337Z] ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] [2024-11-08T03:32:43.945Z] github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements [2024-11-08T03:32:43.945Z] github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements [2024-11-08T03:32:43.945Z] github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements [2024-11-08T03:32:43.945Z] github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements [2024-11-08T03:32:43.945Z] github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements [2024-11-08T03:33:03.058Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.205s coverage: 28.7% of statements [2024-11-08T03:33:05.019Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.203s coverage: 79.4% of statements [2024-11-08T03:33:17.376Z] github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements [2024-11-08T03:33:17.376Z] github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements [2024-11-08T03:33:18.791Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.333s coverage: 86.0% of statements [2024-11-08T03:33:31.148Z] github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements [2024-11-08T03:33:32.566Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.620s coverage: 45.2% of statements [2024-11-08T03:33:35.169Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.307s coverage: 14.1% of statements [2024-11-08T03:33:35.169Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 4.307s coverage: 44.6% of statements [2024-11-08T03:33:39.437Z] ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] [2024-11-08T03:33:39.437Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements [2024-11-08T03:33:39.437Z] github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements [2024-11-08T03:33:41.001Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.434s coverage: 68.4% of statements [2024-11-08T03:33:47.699Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.407s coverage: 88.3% of statements [2024-11-08T03:33:53.054Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements [2024-11-08T03:33:53.648Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.330s coverage: 5.3% of statements [2024-11-08T03:33:55.603Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-08T03:33:55.603Z] GO111MODULE=on go vet ./... [2024-11-08T03:38:47.606Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T03:38:47.606Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T03:38:47.606Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T03:38:47.639Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T03:38:47.659Z] $ docker stop --time=1 b956f6839065efb34020e7a2172b911c8143cc411c87138ac93cb5446c253419 [2024-11-08T03:38:50.089Z] $ docker rm -f --volumes b956f6839065efb34020e7a2172b911c8143cc411c87138ac93cb5446c253419 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T03:38:53.188Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T03:38:53.211Z] Warning: overwriting stash ‘coverage-report’ [2024-11-08T03:38:54.263Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T03:38:54.731Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T03:38:55.096Z] + ls -al . [2024-11-08T03:38:55.096Z] total 700 [2024-11-08T03:38:55.096Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 03:27 . [2024-11-08T03:38:55.096Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 03:24 .. [2024-11-08T03:38:55.096Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 03:24 .dockerignore [2024-11-08T03:38:55.096Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:24 .git [2024-11-08T03:38:55.096Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:24 .github [2024-11-08T03:38:55.096Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 8 03:24 .gitignore [2024-11-08T03:38:55.096Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 8 03:24 .golangci.yml [2024-11-08T03:38:55.096Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 8 03:24 CHANGELOG.md [2024-11-08T03:38:55.096Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 03:24 GOVERNANCE.md [2024-11-08T03:38:55.096Z] -rw-rw-r-- 1 jenkins jenkins 882 Nov 8 03:24 Jenkinsfile [2024-11-08T03:38:55.096Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 8 03:24 LICENSE [2024-11-08T03:38:55.096Z] -rw-rw-r-- 1 jenkins jenkins 2424 Nov 8 03:24 Makefile [2024-11-08T03:38:55.096Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 8 03:24 OWNERS.md [2024-11-08T03:38:55.096Z] -rw-rw-r-- 1 jenkins jenkins 4937 Nov 8 03:24 README.md [2024-11-08T03:38:55.096Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 03:03 VERSION [2024-11-08T03:38:55.096Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:24 bin [2024-11-08T03:38:55.096Z] -rw-r--r-- 1 jenkins jenkins 468087 Nov 8 03:33 coverage.out [2024-11-08T03:38:55.096Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 8 03:24 example [2024-11-08T03:38:55.096Z] -rw-rw-r-- 1 jenkins jenkins 6278 Nov 8 03:24 go.mod [2024-11-08T03:38:55.096Z] -rw-rw-r-- 1 jenkins jenkins 87873 Nov 8 03:24 go.sum [2024-11-08T03:38:55.096Z] drwxrwxr-x 13 jenkins jenkins 4096 Nov 8 03:24 internal [2024-11-08T03:38:55.096Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:24 openapi [2024-11-08T03:38:55.096Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 03:24 pkg [2024-11-08T03:38:55.096Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 03:24 snap [2024-11-08T03:38:55.096Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 8 03:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:38:55.482Z] + 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=2b424e540a2c3b8f091c6d5734c04c5071b69322 --label arch=arm64 --label version=0.0.0 . [2024-11-08T03:38:56.088Z] Sending build context to Docker daemon 13.73MB [2024-11-08T03:38:56.088Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T03:38:56.088Z] Step 2/24 : FROM ${BASE} AS builder [2024-11-08T03:38:56.088Z] ---> 854f3ac53740 [2024-11-08T03:38:56.088Z] Step 3/24 : ARG MAKE=make build [2024-11-08T03:38:56.362Z] ---> Running in dacd2b859c2f [2024-11-08T03:38:56.644Z] Removing intermediate container dacd2b859c2f [2024-11-08T03:38:56.644Z] ---> 44be8a9b75bd [2024-11-08T03:38:56.644Z] Step 4/24 : WORKDIR /device-sdk-go [2024-11-08T03:38:56.920Z] ---> Running in 5cade49a3c00 [2024-11-08T03:38:57.196Z] Removing intermediate container 5cade49a3c00 [2024-11-08T03:38:57.196Z] ---> 660c2ecbadba [2024-11-08T03:38:57.196Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-08T03:38:57.472Z] ---> Running in e1735b01ee03 [2024-11-08T03:38:57.749Z] Removing intermediate container e1735b01ee03 [2024-11-08T03:38:57.749Z] ---> f76389aa5675 [2024-11-08T03:38:57.749Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-11-08T03:38:57.749Z] ---> Running in 6db91e50f2e4 [2024-11-08T03:38:59.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:38:59.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:39:00.913Z] OK: 238 MiB in 54 packages [2024-11-08T03:39:02.354Z] Removing intermediate container 6db91e50f2e4 [2024-11-08T03:39:02.354Z] ---> 11386a7fbf8c [2024-11-08T03:39:02.354Z] Step 7/24 : COPY go.mod vendor* ./ [2024-11-08T03:39:02.954Z] ---> 2663e7e07549 [2024-11-08T03:39:02.954Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T03:39:02.954Z] ---> Running in b858aae7cee8 [2024-11-08T03:39:06.361Z] Removing intermediate container b858aae7cee8 [2024-11-08T03:39:06.361Z] ---> b8263925fe58 [2024-11-08T03:39:06.361Z] Step 9/24 : COPY . . [2024-11-08T03:39:07.774Z] ---> 589763a1156a [2024-11-08T03:39:07.774Z] Step 10/24 : RUN ${MAKE} [2024-11-08T03:39:07.774Z] ---> Running in 175034f385dd [2024-11-08T03:39:09.189Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-11-08T03:43:33.177Z] Removing intermediate container 175034f385dd [2024-11-08T03:43:33.177Z] ---> a163d5148f7a [2024-11-08T03:43:33.177Z] Step 11/24 : FROM alpine:3.20 [2024-11-08T03:43:33.177Z] 3.20: Pulling from library/alpine [2024-11-08T03:43:33.177Z] cf04c63912e1: Already exists [2024-11-08T03:43:33.177Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T03:43:33.177Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T03:43:33.177Z] ---> c157a85ed455 [2024-11-08T03:43:33.177Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-11-08T03:43:33.177Z] ---> Running in 9bf6af9c185d [2024-11-08T03:43:33.177Z] Removing intermediate container 9bf6af9c185d [2024-11-08T03:43:33.177Z] ---> 584ffa67d910 [2024-11-08T03:43:33.177Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-11-08T03:43:33.177Z] ---> Running in 2d5c8340ce27 [2024-11-08T03:43:33.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:43:33.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:43:33.774Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T03:43:33.775Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:43:33.775Z] OK: 9 MiB in 15 packages [2024-11-08T03:43:35.214Z] Removing intermediate container 2d5c8340ce27 [2024-11-08T03:43:35.214Z] ---> 4691c4e324c6 [2024-11-08T03:43:35.214Z] Step 14/24 : RUN apk --no-cache upgrade [2024-11-08T03:43:35.214Z] ---> Running in df493079cfc7 [2024-11-08T03:43:36.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:43:36.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:43:39.264Z] Upgrading critical system libraries and apk-tools: [2024-11-08T03:43:39.264Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T03:43:39.264Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T03:43:39.538Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T03:43:39.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T03:43:39.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T03:43:42.433Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:43:42.433Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T03:43:42.433Z] OK: 9 MiB in 15 packages [2024-11-08T03:43:43.880Z] Removing intermediate container df493079cfc7 [2024-11-08T03:43:43.880Z] ---> c8433e5a4e17 [2024-11-08T03:43:43.880Z] Step 15/24 : WORKDIR / [2024-11-08T03:43:43.880Z] ---> Running in 7e3f7daa7f57 [2024-11-08T03:43:44.478Z] Removing intermediate container 7e3f7daa7f57 [2024-11-08T03:43:44.479Z] ---> b9c793bc252c [2024-11-08T03:43:44.479Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-11-08T03:43:45.069Z] ---> d30a8355b904 [2024-11-08T03:43:45.069Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-11-08T03:43:47.661Z] ---> f769e8158943 [2024-11-08T03:43:47.661Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-11-08T03:43:48.260Z] ---> bb1958ab4703 [2024-11-08T03:43:48.260Z] Step 19/24 : EXPOSE 59999 [2024-11-08T03:43:48.260Z] ---> Running in 2b797b92631c [2024-11-08T03:43:48.851Z] Removing intermediate container 2b797b92631c [2024-11-08T03:43:48.851Z] ---> 13fb31eb08d7 [2024-11-08T03:43:48.851Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-11-08T03:43:48.851Z] ---> Running in 09c34b038394 [2024-11-08T03:43:49.120Z] Removing intermediate container 09c34b038394 [2024-11-08T03:43:49.120Z] ---> 3364dd8a3a21 [2024-11-08T03:43:49.120Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-11-08T03:43:49.400Z] ---> Running in db3bd9b10a69 [2024-11-08T03:43:49.673Z] Removing intermediate container db3bd9b10a69 [2024-11-08T03:43:49.673Z] ---> 9b71c49bc022 [2024-11-08T03:43:49.673Z] Step 22/24 : LABEL arch=arm64 [2024-11-08T03:43:49.673Z] ---> Running in c6ca542a5d70 [2024-11-08T03:43:50.269Z] Removing intermediate container c6ca542a5d70 [2024-11-08T03:43:50.269Z] ---> aa4eee6b74a3 [2024-11-08T03:43:50.269Z] Step 23/24 : LABEL git_sha=2b424e540a2c3b8f091c6d5734c04c5071b69322 [2024-11-08T03:43:50.269Z] ---> Running in 7d80da12d1d4 [2024-11-08T03:43:50.865Z] Removing intermediate container 7d80da12d1d4 [2024-11-08T03:43:50.865Z] ---> 2310888d97d2 [2024-11-08T03:43:50.865Z] Step 24/24 : LABEL version=0.0.0 [2024-11-08T03:43:50.865Z] ---> Running in 9e026bedf801 [2024-11-08T03:43:51.139Z] Removing intermediate container 9e026bedf801 [2024-11-08T03:43:51.139Z] ---> 1f611fe59685 [2024-11-08T03:43:51.139Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T03:43:51.413Z] Successfully built 1f611fe59685 [2024-11-08T03:43:51.413Z] 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-11-08T03:43:51.929Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T03:43:51.929Z] [2024-11-08T03:43:51.929Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:43:52.318Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T03:43:52.594Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-08T03:43:52.594Z] 8998bd30e6a1: Pulling fs layer [2024-11-08T03:43:52.594Z] 04944245beec: Pulling fs layer [2024-11-08T03:43:52.594Z] 699f458cf7ca: Pulling fs layer [2024-11-08T03:43:52.594Z] 765212b225bb: Pulling fs layer [2024-11-08T03:43:52.594Z] f23df028b6ca: Pulling fs layer [2024-11-08T03:43:52.594Z] d65c8cfc05b1: Pulling fs layer [2024-11-08T03:43:52.594Z] 2437ff75d9bd: Pulling fs layer [2024-11-08T03:43:52.594Z] f23df028b6ca: Waiting [2024-11-08T03:43:52.594Z] d65c8cfc05b1: Waiting [2024-11-08T03:43:52.594Z] 2437ff75d9bd: Waiting [2024-11-08T03:43:52.594Z] 765212b225bb: Waiting [2024-11-08T03:43:52.594Z] 04944245beec: Verifying Checksum [2024-11-08T03:43:52.594Z] 04944245beec: Download complete [2024-11-08T03:43:52.594Z] 765212b225bb: Verifying Checksum [2024-11-08T03:43:52.594Z] 765212b225bb: Download complete [2024-11-08T03:43:52.870Z] f23df028b6ca: Verifying Checksum [2024-11-08T03:43:52.870Z] f23df028b6ca: Download complete [2024-11-08T03:43:52.870Z] d65c8cfc05b1: Verifying Checksum [2024-11-08T03:43:52.870Z] d65c8cfc05b1: Download complete [2024-11-08T03:43:52.870Z] 699f458cf7ca: Verifying Checksum [2024-11-08T03:43:52.870Z] 699f458cf7ca: Download complete [2024-11-08T03:43:53.467Z] 8998bd30e6a1: Verifying Checksum [2024-11-08T03:43:53.467Z] 8998bd30e6a1: Download complete [2024-11-08T03:43:56.089Z] 2437ff75d9bd: Verifying Checksum [2024-11-08T03:43:58.699Z] 8998bd30e6a1: Pull complete [2024-11-08T03:43:59.291Z] 04944245beec: Pull complete [2024-11-08T03:44:01.262Z] 699f458cf7ca: Pull complete [2024-11-08T03:44:01.262Z] 765212b225bb: Pull complete [2024-11-08T03:44:02.224Z] f23df028b6ca: Pull complete [2024-11-08T03:44:02.495Z] d65c8cfc05b1: Pull complete [2024-11-08T03:44:20.771Z] 2437ff75d9bd: Pull complete [2024-11-08T03:44:20.771Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-08T03:44:20.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T03:44:20.771Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:44:21.042Z] prd-ubuntu20.04-docker-arm64-4c-16g-25689 does not seem to be running inside a container [2024-11-08T03:44:21.117Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-08T03:44:24.599Z] $ docker top d0eae28251138c047e069c0db4c93dd48f77b8ae7cfa93181aa24ea45473cf21 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:44:25.515Z] ---> job-cost.sh [2024-11-08T03:44:25.515Z] lf-activate-venv: SKIPPING [2024-11-08T03:44:25.515Z] INFO: No Stack... [2024-11-08T03:44:26.103Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-08T03:44:26.699Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T03:44:27.373Z] + cut+ -d, -f6 [2024-11-08T03:44:27.373Z] cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2024-11-08T03:44:27.426Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-2-stack-cost] [2024-11-08T03:44:27.433Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1646-2-stack-cost] did not exist. Created. [2024-11-08T03:44:27.440Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T03:44:28.128Z] /w/workspace/device-sdk-go/2@tmp/durable-8a12e2bc/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-08T03:44:28.798Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-08T03:44:28.835Z] Warning: overwriting stash ‘stack-cost’ [2024-11-08T03:44:28.945Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T03:44:28.954Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T03:44:28.987Z] $ docker stop --time=1 d0eae28251138c047e069c0db4c93dd48f77b8ae7cfa93181aa24ea45473cf21 [2024-11-08T03:44:30.643Z] $ docker rm -f --volumes d0eae28251138c047e069c0db4c93dd48f77b8ae7cfa93181aa24ea45473cf21 [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-11-08T03:44:31.189Z] provisioning config files... [2024-11-08T03:44:31.195Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/config10750095156892754989tmp [Pipeline] { [Pipeline] sh [2024-11-08T03:44:31.497Z] + set +x [2024-11-08T03:44:31.497Z] + bash -s -- [2024-11-08T03:44:31.497Z] + curl -s https://codecov.io/bash [2024-11-08T03:44:31.497Z] [2024-11-08T03:44:31.497Z] _____ _ [2024-11-08T03:44:31.497Z] / ____| | | [2024-11-08T03:44:31.497Z] | | ___ __| | ___ ___ _____ __ [2024-11-08T03:44:31.497Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-08T03:44:31.497Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-08T03:44:31.497Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-08T03:44:31.497Z] Bash-1.0.6 [2024-11-08T03:44:31.497Z] [2024-11-08T03:44:31.497Z] [2024-11-08T03:44:31.497Z] ==> git version 2.25.1 found [2024-11-08T03:44:31.497Z] ==> 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-11-08T03:44:31.497Z] Release-Date: 2020-01-08 [2024-11-08T03:44:31.497Z] 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-11-08T03:44:31.497Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-08T03:44:31.497Z] ==> Jenkins CI detected. [2024-11-08T03:44:31.497Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1646 [2024-11-08T03:44:31.497Z] project root: . [2024-11-08T03:44:31.497Z] --> token set from env [2024-11-08T03:44:31.497Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-08T03:44:31.497Z] ==> Running gcov in . (disable via -X gcov) [2024-11-08T03:44:31.497Z] ==> Python coveragepy not found [2024-11-08T03:44:31.497Z] ==> Searching for coverage reports in: [2024-11-08T03:44:31.497Z] + . [2024-11-08T03:44:31.497Z] -> Found 1 reports [2024-11-08T03:44:31.497Z] ==> Detecting git/mercurial file structure [2024-11-08T03:44:31.497Z] ==> Reading reports [2024-11-08T03:44:31.497Z] + ./coverage.out bytes=468087 [2024-11-08T03:44:31.497Z] ==> Appending adjustments [2024-11-08T03:44:31.497Z] https://docs.codecov.io/docs/fixing-reports [2024-11-08T03:44:31.756Z] + Found adjustments [2024-11-08T03:44:31.756Z] ==> Gzipping contents [2024-11-08T03:44:31.756Z] 44K /tmp/codecov.R6He5x.gz [2024-11-08T03:44:31.756Z] ==> Uploading reports [2024-11-08T03:44:31.756Z] url: https://codecov.io [2024-11-08T03:44:31.757Z] query: branch=PR-1646&commit=2b424e540a2c3b8f091c6d5734c04c5071b69322&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1646%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1646&job=&cmd_args= [2024-11-08T03:44:31.757Z] -> Pinging Codecov [2024-11-08T03:44:31.757Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1646&commit=2b424e540a2c3b8f091c6d5734c04c5071b69322&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1646%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1646&job=&cmd_args= [2024-11-08T03:44:32.015Z] -> Uploading to [2024-11-08T03:44:32.015Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/2b424e540a2c3b8f091c6d5734c04c5071b69322/77dc3f71-950c-489c-beb2-dec35f4a54b4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241108T034431Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=5981aa1046fa086a8f22df2a3de040bb113c5be3990a7b1ec024295bdad8f630 [2024-11-08T03:44:32.015Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T03:44:32.015Z] Dload Upload Total Spent Left Speed [2024-11-08T03:44:32.275Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44819 0 0 100 44819 0 184k --:--:-- --:--:-- --:--:-- 184k [2024-11-08T03:44:32.275Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/2b424e540a2c3b8f091c6d5734c04c5071b69322 [Pipeline] } [2024-11-08T03:44:32.285Z] 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-11-08T03:44:33.134Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives ] [2024-11-08T03:44:33.134Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives [2024-11-08T03:44:33.134Z] total 16 [2024-11-08T03:44:33.134Z] drwxr-xr-x 3 root root 4096 Nov 8 03:08 . [2024-11-08T03:44:33.134Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 8 03:08 .. [2024-11-08T03:44:33.134Z] drwxr-xr-x 2 root root 4096 Nov 8 03:08 cost [2024-11-08T03:44:33.134Z] -rw-r--r-- 1 root root 86 Nov 8 03:08 cost.csv [2024-11-08T03:44:33.134Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives [2024-11-08T03:44:33.134Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives [2024-11-08T03:44:33.134Z] total 16 [2024-11-08T03:44:33.134Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 03:08 . [2024-11-08T03:44:33.134Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 8 03:08 .. [2024-11-08T03:44:33.134Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 03:08 cost [2024-11-08T03:44:33.134Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 8 03:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:44:33.499Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:44:34.424Z] ---> package-listing.sh [2024-11-08T03:44:34.424Z] ++ facter osfamily [2024-11-08T03:44:34.424Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-08T03:44:34.700Z] + OS_FAMILY=debian [2024-11-08T03:44:34.700Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1646 [2024-11-08T03:44:34.700Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-08T03:44:34.700Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-08T03:44:34.700Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-08T03:44:34.700Z] + PACKAGES=/tmp/packages_start.txt [2024-11-08T03:44:34.700Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1646 ']' [2024-11-08T03:44:34.700Z] + PACKAGES=/tmp/packages_end.txt [2024-11-08T03:44:34.700Z] + case "${OS_FAMILY}" in [2024-11-08T03:44:34.700Z] + dpkg -l [2024-11-08T03:44:34.700Z] + grep '^ii' [2024-11-08T03:44:34.700Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-08T03:44:34.700Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-08T03:44:34.700Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-08T03:44:34.700Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1646 ']' [2024-11-08T03:44:34.700Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives/ [2024-11-08T03:44:34.700Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives/ [Pipeline] echo [2024-11-08T03:44:34.732Z] 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-1646/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-08T03:44:35.035Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T03:44:35.603Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T03:44:35.603Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T03:44:35.681Z] prd-ubuntu20.04-docker-8c-8g-24977 does not seem to be running inside a container [2024-11-08T03:44:35.703Z] $ 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-1646/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-1646 -v /w/workspace/gexfoundry_device-sdk-go_PR-1646:/w/workspace/gexfoundry_device-sdk-go_PR-1646:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1646@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T03:44:35.911Z] $ docker top 2fe84fc88c7533f4d802d23a365c59d2cb5fc5aedaf0cfbc5efdd19ccbef4085 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T03:44:36.272Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-08T03:44:36.560Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-08T03:44:36.845Z] + ls /var/log/sa-host [2024-11-08T03:44:36.845Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T03:44:36.920Z] provisioning config files... [2024-11-08T03:44:36.928Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/config169366590983772072tmp [Pipeline] { [Pipeline] echo [2024-11-08T03:44:36.946Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:44:37.234Z] ---> create-netrc.sh [Pipeline] } [2024-11-08T03:44:37.242Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:44:37.565Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-08T03:44:37.573Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:44:37.856Z] ---> sudo-logs.sh [2024-11-08T03:44:37.856Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-08T03:44:37.881Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:44:38.163Z] ---> job-cost.sh [2024-11-08T03:44:38.163Z] lf-activate-venv: SKIPPING [2024-11-08T03:44:38.163Z] DEBUG: total: 0.2199999988079071 [2024-11-08T03:44:38.163Z] INFO: Retrieving Stack Cost... [2024-11-08T03:44:38.422Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T03:44:38.682Z] INFO: Archiving Costs [Pipeline] echo [2024-11-08T03:44:38.695Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T03:44:38.979Z] ---> logs-deploy.sh [2024-11-08T03:44:38.979Z] lf-activate-venv: SKIPPING [2024-11-08T03:44:38.979Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1646/2 [2024-11-08T03:44:38.979Z] INFO: archiving workspace using pattern(s): [2024-11-08T03:44:39.913Z] Archives upload complete. [2024-11-08T03:44:40.172Z] INFO: archiving logs to Nexus