Pull request #1646 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-sdk-go Obtained Jenkinsfile from dc59e9afc29978e7eceeb0d9af4d105f7aafa06c+a2adfdc09e477498866130aea83da6ea448c3108 (1c9de1f19ded6c4f6a2e5f8ade265ba258e9ddfa) 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-ssh14627760155873611003.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-ssh11687702383398189705.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1646/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1646/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5625675052578509651.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1646/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9023815974039641332.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18210010351537709690.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1646/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1646/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5169818695245712782.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi]] ========================================================= [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-24748 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 Merging remotes/origin/main commit a2adfdc09e477498866130aea83da6ea448c3108 into PR head commit dc59e9afc29978e7eceeb0d9af4d105f7aafa06c Merge succeeded, producing dc59e9afc29978e7eceeb0d9af4d105f7aafa06c Checking out Revision dc59e9afc29978e7eceeb0d9af4d105f7aafa06c (PR-1646) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/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 dc59e9afc29978e7eceeb0d9af4d105f7aafa06c # 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 dc59e9afc29978e7eceeb0d9af4d105f7aafa06c # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-07T09:25:41.972Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-07T09:25:42.181Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-07T09:25:42.303Z] ========================================================= [2024-11-07T09:25:42.303Z] EdgeX Global Pipelines Version Info [2024-11-07T09:25:42.303Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:25:43.097Z] ------------------- [2024-11-07T09:25:43.097Z] stable info: [2024-11-07T09:25:43.097Z] ------------------- [2024-11-07T09:25:43.097Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-07T09:25:43.097Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-07T09:25:43.097Z] Message: update stable to v1.0.265 [2024-11-07T09:25:43.667Z] ------------------- [2024-11-07T09:25:43.667Z] experimental info: [2024-11-07T09:25:43.667Z] ------------------- [2024-11-07T09:25:43.667Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-07T09:25:43.667Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-07T09:25:43.667Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-07T09:25:43.900Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-11-07T09:25:43.961Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-11-07T09:25:44.021Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-07T09:25:44.082Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-07T09:25:44.141Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-07T09:25:44.196Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-07T09:25:44.253Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-07T09:25:44.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-11-07T09:25:44.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-07T09:25:44.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-07T09:25:44.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-07T09:25:44.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-11-07T09:25:44.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-07T09:25:44.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-07T09:25:44.702Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-07T09:25:44.760Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-11-07T09:25:44.814Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-07T09:25:44.872Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-07T09:25:44.931Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-07T09:25:44.982Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-07T09:25:45.036Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-11-07T09:25:45.096Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo [2024-11-07T09:25:45.157Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-07T09:25:45.220Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-07T09:25:45.280Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-07T09:25:45.341Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-07T09:25:45.407Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-07T09:25:45.473Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1646 [Pipeline] echo [2024-11-07T09:25:45.536Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1646 [Pipeline] echo [2024-11-07T09:25:45.595Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1646 [Pipeline] echo [2024-11-07T09:25:45.652Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dc59e9afc29978e7eceeb0d9af4d105f7aafa06c [Pipeline] echo [2024-11-07T09:25:45.712Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dc59e9a [Pipeline] echo [2024-11-07T09:25:45.765Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:25:45.911Z] provisioning config files... [2024-11-07T09:25:45.926Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/config16967394002196797210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:25:46.313Z] ---> ****-login.sh [2024-11-07T09:25:46.313Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:25:46.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:25:46.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:25:46.575Z] Configure a credential helper to remove this warning. See [2024-11-07T09:25:46.575Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:25:46.575Z] [2024-11-07T09:25:46.575Z] Login Succeeded [2024-11-07T09:25:46.575Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:25:46.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:25:46.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:25:46.575Z] Configure a credential helper to remove this warning. See [2024-11-07T09:25:46.575Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:25:46.575Z] [2024-11-07T09:25:46.575Z] Login Succeeded [2024-11-07T09:25:46.575Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:25:46.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:25:46.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:25:46.835Z] Configure a credential helper to remove this warning. See [2024-11-07T09:25:46.835Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:25:46.835Z] [2024-11-07T09:25:46.835Z] Login Succeeded [2024-11-07T09:25:46.835Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:25:46.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:25:46.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:25:46.835Z] Configure a credential helper to remove this warning. See [2024-11-07T09:25:46.835Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:25:46.835Z] [2024-11-07T09:25:46.835Z] Login Succeeded [2024-11-07T09:25:46.835Z] ****.io [2024-11-07T09:25:46.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:25:47.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:25:47.095Z] Configure a credential helper to remove this warning. See [2024-11-07T09:25:47.095Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:25:47.095Z] [2024-11-07T09:25:47.095Z] Login Succeeded [2024-11-07T09:25:47.095Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:25:47.126Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-07T09:25:47.821Z] + git rev-list -1 --merges dc59e9afc29978e7eceeb0d9af4d105f7aafa06c~1..dc59e9afc29978e7eceeb0d9af4d105f7aafa06c [Pipeline] echo [2024-11-07T09:25:47.869Z] -----------> git rev-list -1 --merges dc59e9afc29978e7eceeb0d9af4d105f7aafa06c~1..dc59e9afc29978e7eceeb0d9af4d105f7aafa06c dc59e9afc29978e7eceeb0d9af4d105f7aafa06c [false] [Pipeline] sh [2024-11-07T09:25:48.190Z] + git log --format=format:%s -1 dc59e9afc29978e7eceeb0d9af4d105f7aafa06c [Pipeline] echo [2024-11-07T09:25:48.231Z] ========================================================= [2024-11-07T09:25:48.231Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-07T09:25:48.231Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:25:48.696Z] + git log --format=format:%s -1 dc59e9afc29978e7eceeb0d9af4d105f7aafa06c [Pipeline] echo [2024-11-07T09:25:48.736Z] [semverPrep] GIT_COMMIT: dc59e9afc29978e7eceeb0d9af4d105f7aafa06c, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo [2024-11-07T09:25:48.777Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-07T09:25:49.172Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-07T09:25:49.172Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-07T09:25:49.172Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-07T09:25:49.172Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-07T09:25:49.172Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-07T09:25:49.172Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-07T09:25:49.172Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:25:49.623Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:25:49.623Z] [2024-11-07T09:25:49.623Z] 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-07T09:25:50.022Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:25:50.022Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-07T09:25:50.022Z] b85a868b505f: Pulling fs layer [2024-11-07T09:25:50.022Z] e2be974225ed: Pulling fs layer [2024-11-07T09:25:50.022Z] 339a4e72a1f5: Pulling fs layer [2024-11-07T09:25:50.022Z] 988bab9f4d93: Pulling fs layer [2024-11-07T09:25:50.022Z] 1469e6f7b9e6: Pulling fs layer [2024-11-07T09:25:50.022Z] eaf3925da568: Pulling fs layer [2024-11-07T09:25:50.022Z] bab4dde63d76: Pulling fs layer [2024-11-07T09:25:50.022Z] bde34c3a00c8: Pulling fs layer [2024-11-07T09:25:50.022Z] b352a97aabf1: Pulling fs layer [2024-11-07T09:25:50.022Z] 4872d77fe225: Pulling fs layer [2024-11-07T09:25:50.022Z] 5851b861e8e6: Pulling fs layer [2024-11-07T09:25:50.022Z] bab4dde63d76: Waiting [2024-11-07T09:25:50.022Z] bde34c3a00c8: Waiting [2024-11-07T09:25:50.022Z] 4872d77fe225: Waiting [2024-11-07T09:25:50.022Z] 5851b861e8e6: Waiting [2024-11-07T09:25:50.022Z] 988bab9f4d93: Waiting [2024-11-07T09:25:50.022Z] 1469e6f7b9e6: Waiting [2024-11-07T09:25:50.023Z] eaf3925da568: Waiting [2024-11-07T09:25:50.023Z] e2be974225ed: Verifying Checksum [2024-11-07T09:25:50.023Z] e2be974225ed: Download complete [2024-11-07T09:25:50.023Z] 988bab9f4d93: Download complete [2024-11-07T09:25:50.023Z] 1469e6f7b9e6: Verifying Checksum [2024-11-07T09:25:50.023Z] 1469e6f7b9e6: Download complete [2024-11-07T09:25:50.280Z] 339a4e72a1f5: Verifying Checksum [2024-11-07T09:25:50.280Z] 339a4e72a1f5: Download complete [2024-11-07T09:25:50.280Z] eaf3925da568: Verifying Checksum [2024-11-07T09:25:50.280Z] eaf3925da568: Download complete [2024-11-07T09:25:50.280Z] bde34c3a00c8: Verifying Checksum [2024-11-07T09:25:50.280Z] bde34c3a00c8: Download complete [2024-11-07T09:25:50.280Z] b352a97aabf1: Verifying Checksum [2024-11-07T09:25:50.280Z] b352a97aabf1: Download complete [2024-11-07T09:25:50.280Z] 4872d77fe225: Verifying Checksum [2024-11-07T09:25:50.280Z] 4872d77fe225: Download complete [2024-11-07T09:25:50.280Z] 5851b861e8e6: Verifying Checksum [2024-11-07T09:25:50.280Z] 5851b861e8e6: Download complete [2024-11-07T09:25:50.280Z] b85a868b505f: Verifying Checksum [2024-11-07T09:25:50.280Z] b85a868b505f: Download complete [2024-11-07T09:25:50.539Z] bab4dde63d76: Verifying Checksum [2024-11-07T09:25:50.539Z] bab4dde63d76: Download complete [2024-11-07T09:25:51.474Z] b85a868b505f: Pull complete [2024-11-07T09:25:51.731Z] e2be974225ed: Pull complete [2024-11-07T09:25:51.991Z] 339a4e72a1f5: Pull complete [2024-11-07T09:25:52.251Z] 988bab9f4d93: Pull complete [2024-11-07T09:25:52.510Z] 1469e6f7b9e6: Pull complete [2024-11-07T09:25:52.510Z] eaf3925da568: Pull complete [2024-11-07T09:25:54.409Z] bab4dde63d76: Pull complete [2024-11-07T09:25:54.409Z] bde34c3a00c8: Pull complete [2024-11-07T09:25:54.409Z] b352a97aabf1: Pull complete [2024-11-07T09:25:54.409Z] 4872d77fe225: Pull complete [2024-11-07T09:25:54.669Z] 5851b861e8e6: Pull complete [2024-11-07T09:25:54.669Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-07T09:25:54.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:25:54.669Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:25:54.966Z] prd-ubuntu20.04-docker-8c-8g-24748 does not seem to be running inside a container [2024-11-07T09:25:54.993Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-07T09:25:59.342Z] $ docker top 50a8954960a5da8da63147ae3d8ab439183a91e7199ac33045d8fd123b6a071f -eo pid,comm [2024-11-07T09:25:59.398Z] 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-07T09:25:59.398Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-07T09:25:59.560Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-07T09:25:59.560Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-07T09:25:59.676Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-07T09:25:59.680Z] $ docker exec 50a8954960a5da8da63147ae3d8ab439183a91e7199ac33045d8fd123b6a071f ssh-agent [2024-11-07T09:25:59.796Z] SSH_AUTH_SOCK=/tmp/ssh-1Cu3EYbn4eR8/agent.31 [2024-11-07T09:25:59.796Z] SSH_AGENT_PID=37 [2024-11-07T09:25:59.803Z] Running ssh-add (command line suppressed) [2024-11-07T09:25:59.912Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/private_key_15130926834404547817.key (/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/private_key_15130926834404547817.key) [2024-11-07T09:25:59.927Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-07T09:26:00.269Z] + git tag --points-at HEAD [Pipeline] } [2024-11-07T09:26:00.296Z] $ docker exec --env ******** --env ******** 50a8954960a5da8da63147ae3d8ab439183a91e7199ac33045d8fd123b6a071f ssh-agent -k [2024-11-07T09:26:00.389Z] unset SSH_AUTH_SOCK; [2024-11-07T09:26:00.390Z] unset SSH_AGENT_PID; [2024-11-07T09:26:00.390Z] echo Agent pid 37 killed; [2024-11-07T09:26:00.400Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-07T09:26:00.499Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-07T09:26:00.499Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-07T09:26:00.612Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-07T09:26:00.615Z] $ docker exec 50a8954960a5da8da63147ae3d8ab439183a91e7199ac33045d8fd123b6a071f ssh-agent [2024-11-07T09:26:00.710Z] SSH_AUTH_SOCK=/tmp/ssh-Oa4pbEiiRMUy/agent.70 [2024-11-07T09:26:00.710Z] SSH_AGENT_PID=76 [2024-11-07T09:26:00.714Z] Running ssh-add (command line suppressed) [2024-11-07T09:26:00.820Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/private_key_8546097271612544058.key (/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/private_key_8546097271612544058.key) [2024-11-07T09:26:00.829Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-07T09:26:01.170Z] + git semver init [2024-11-07T09:26:01.429Z] 2024-11-07 09:26:01,374 [run_init] DEBUG init version:0.0.0 force:False [2024-11-07T09:26:01.429Z] 2024-11-07 09:26:01,375 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver [2024-11-07T09:26:01.429Z] 2024-11-07 09:26:01,375 [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-07T09:26:01.429Z] 2024-11-07 09:26:01,375 [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-07T09:26:03.962Z] 2024-11-07 09:26:03,388 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646/.git/info/exclude [2024-11-07T09:26:03.962Z] 2024-11-07 09:26:03,388 [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-07T09:26:03.962Z] 2024-11-07 09:26:03,388 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver/PR-1646 [2024-11-07T09:26:03.962Z] 2024-11-07 09:26:03,393 [execute] INFO git cat-file --batch-check [2024-11-07T09:26:03.962Z] 2024-11-07 09:26:03,393 [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-07T09:26:03.962Z] 2024-11-07 09:26:03,400 [execute] INFO git cat-file --batch [2024-11-07T09:26:03.962Z] 2024-11-07 09:26:03,401 [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-07T09:26:03.962Z] 2024-11-07 09:26:03,406 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver/PR-1646 [2024-11-07T09:26:03.962Z] 0.0.0 [Pipeline] } [2024-11-07T09:26:03.988Z] $ docker exec --env ******** --env ******** 50a8954960a5da8da63147ae3d8ab439183a91e7199ac33045d8fd123b6a071f ssh-agent -k [2024-11-07T09:26:04.083Z] unset SSH_AUTH_SOCK; [2024-11-07T09:26:04.084Z] unset SSH_AGENT_PID; [2024-11-07T09:26:04.084Z] echo Agent pid 76 killed; [2024-11-07T09:26:04.101Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-07T09:26:04.546Z] + git semver [Pipeline] } [2024-11-07T09:26:04.836Z] $ docker stop --time=1 50a8954960a5da8da63147ae3d8ab439183a91e7199ac33045d8fd123b6a071f [2024-11-07T09:26:06.179Z] $ docker rm -f --volumes 50a8954960a5da8da63147ae3d8ab439183a91e7199ac33045d8fd123b6a071f [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:26:06.591Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-07T09:26:06.879Z] Stashed 1 file(s) [Pipeline] echo [2024-11-07T09:26:06.907Z] [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-07T09:26:07.868Z] provisioning config files... [2024-11-07T09:26:07.876Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/config17056623065900386694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:26:08.264Z] ---> ****-login.sh [2024-11-07T09:26:08.264Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:26:08.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:26:08.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:26:08.265Z] Configure a credential helper to remove this warning. See [2024-11-07T09:26:08.265Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:26:08.265Z] [2024-11-07T09:26:08.265Z] Login Succeeded [2024-11-07T09:26:08.265Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:26:08.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:26:08.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:26:08.265Z] Configure a credential helper to remove this warning. See [2024-11-07T09:26:08.265Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:26:08.265Z] [2024-11-07T09:26:08.265Z] Login Succeeded [2024-11-07T09:26:08.265Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:26:08.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:26:08.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:26:08.524Z] Configure a credential helper to remove this warning. See [2024-11-07T09:26:08.524Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:26:08.524Z] [2024-11-07T09:26:08.524Z] Login Succeeded [2024-11-07T09:26:08.524Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:26:08.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:26:08.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:26:08.524Z] Configure a credential helper to remove this warning. See [2024-11-07T09:26:08.524Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:26:08.524Z] [2024-11-07T09:26:08.524Z] Login Succeeded [2024-11-07T09:26:08.524Z] ****.io [2024-11-07T09:26:08.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:26:08.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:26:08.784Z] Configure a credential helper to remove this warning. See [2024-11-07T09:26:08.784Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:26:08.784Z] [2024-11-07T09:26:08.784Z] Login Succeeded [2024-11-07T09:26:08.784Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:26:08.821Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-07T09:26:09.046Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:26:09.095Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:26:09.144Z] ========================================================= [2024-11-07T09:26:09.144Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-07T09:26:09.144Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:26:09.726Z] + 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-07T09:26:09.726Z] Sending build context to Docker daemon 25.6MB [2024-11-07T09:26:09.726Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:26:09.726Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-07T09:26:09.726Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-07T09:26:09.726Z] 43c4264eed91: Pulling fs layer [2024-11-07T09:26:09.726Z] 4cc291be95ef: Pulling fs layer [2024-11-07T09:26:09.726Z] 2ac1f1163629: Pulling fs layer [2024-11-07T09:26:09.726Z] 5c3c966382ef: Pulling fs layer [2024-11-07T09:26:09.726Z] 4f4fb700ef54: Pulling fs layer [2024-11-07T09:26:09.726Z] 5d5c8e513c77: Pulling fs layer [2024-11-07T09:26:09.726Z] 9f66e0745190: Pulling fs layer [2024-11-07T09:26:09.726Z] f49a43e4bbc0: Pulling fs layer [2024-11-07T09:26:09.726Z] 561ebcabdf7f: Pulling fs layer [2024-11-07T09:26:09.726Z] 5c3c966382ef: Waiting [2024-11-07T09:26:09.726Z] 4f4fb700ef54: Waiting [2024-11-07T09:26:09.726Z] 9f66e0745190: Waiting [2024-11-07T09:26:09.726Z] f49a43e4bbc0: Waiting [2024-11-07T09:26:09.726Z] 561ebcabdf7f: Waiting [2024-11-07T09:26:09.726Z] 5d5c8e513c77: Waiting [2024-11-07T09:26:09.726Z] 4cc291be95ef: Verifying Checksum [2024-11-07T09:26:09.726Z] 4cc291be95ef: Download complete [2024-11-07T09:26:09.726Z] 5c3c966382ef: Download complete [2024-11-07T09:26:09.984Z] 4f4fb700ef54: Verifying Checksum [2024-11-07T09:26:09.984Z] 4f4fb700ef54: Download complete [2024-11-07T09:26:09.984Z] 43c4264eed91: Verifying Checksum [2024-11-07T09:26:09.984Z] 43c4264eed91: Download complete [2024-11-07T09:26:09.984Z] 5d5c8e513c77: Verifying Checksum [2024-11-07T09:26:09.984Z] 5d5c8e513c77: Download complete [2024-11-07T09:26:09.984Z] 9f66e0745190: Verifying Checksum [2024-11-07T09:26:09.984Z] 9f66e0745190: Download complete [2024-11-07T09:26:09.984Z] 43c4264eed91: Pull complete [2024-11-07T09:26:10.243Z] 4cc291be95ef: Pull complete [2024-11-07T09:26:10.243Z] 561ebcabdf7f: Download complete [2024-11-07T09:26:10.243Z] 2ac1f1163629: Verifying Checksum [2024-11-07T09:26:10.243Z] 2ac1f1163629: Download complete [2024-11-07T09:26:10.501Z] f49a43e4bbc0: Verifying Checksum [2024-11-07T09:26:10.501Z] f49a43e4bbc0: Download complete [2024-11-07T09:26:13.783Z] 2ac1f1163629: Pull complete [2024-11-07T09:26:13.783Z] 5c3c966382ef: Pull complete [2024-11-07T09:26:13.783Z] 4f4fb700ef54: Pull complete [2024-11-07T09:26:13.783Z] 5d5c8e513c77: Pull complete [2024-11-07T09:26:13.783Z] 9f66e0745190: Pull complete [2024-11-07T09:26:16.321Z] f49a43e4bbc0: Pull complete [2024-11-07T09:26:16.580Z] 561ebcabdf7f: Pull complete [2024-11-07T09:26:16.580Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-07T09:26:16.580Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-07T09:26:16.580Z] ---> 3a752c3f9dda [2024-11-07T09:26:16.580Z] Step 3/10 : ARG MAKE=make build [2024-11-07T09:26:20.771Z] ---> Running in 9b4b4fd85538 [2024-11-07T09:26:20.771Z] Removing intermediate container 9b4b4fd85538 [2024-11-07T09:26:20.771Z] ---> b14d5162261e [2024-11-07T09:26:20.771Z] Step 4/10 : WORKDIR /device-sdk-go [2024-11-07T09:26:20.771Z] ---> Running in 3fd59e1fe0f8 [2024-11-07T09:26:20.771Z] Removing intermediate container 3fd59e1fe0f8 [2024-11-07T09:26:20.771Z] ---> 0b7f8562b834 [2024-11-07T09:26:20.771Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-07T09:26:20.771Z] ---> Running in d41c33ec000a [2024-11-07T09:26:20.771Z] Removing intermediate container d41c33ec000a [2024-11-07T09:26:20.771Z] ---> 7821ca22f8e1 [2024-11-07T09:26:20.771Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-11-07T09:26:20.771Z] ---> Running in 6d2211d3c802 [2024-11-07T09:26:21.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:26:21.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:26:21.546Z] OK: 246 MiB in 54 packages [2024-11-07T09:26:21.804Z] Removing intermediate container 6d2211d3c802 [2024-11-07T09:26:21.804Z] ---> 40833a4a3331 [2024-11-07T09:26:21.804Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-07T09:26:22.063Z] ---> bddd29e237db [2024-11-07T09:26:22.063Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:26:22.063Z] ---> Running in 032c3186bccb [2024-11-07T09:26:22.413Z] Still waiting to schedule task [2024-11-07T09:26:22.413Z] ‘prd-centos7-blackbox-4c-2g-24386’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-07T09:26:22.413Z] ‘prd-centos7-blackbox-4c-2g-24387’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-07T09:26:22.413Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-24747’ is offline [2024-11-07T09:27:08.824Z] Removing intermediate container 032c3186bccb [2024-11-07T09:27:08.824Z] ---> 9ab21af97024 [2024-11-07T09:27:08.824Z] Step 9/10 : COPY . . [2024-11-07T09:27:08.824Z] ---> 25acc4fa0f97 [2024-11-07T09:27:08.824Z] Step 10/10 : RUN ${MAKE} [2024-11-07T09:27:08.824Z] ---> Running in 1bd6c3e54a89 [2024-11-07T09:27:08.824Z] noop [2024-11-07T09:27:08.824Z] Removing intermediate container 1bd6c3e54a89 [2024-11-07T09:27:08.824Z] ---> 3f7463a0fdb9 [2024-11-07T09:27:08.824Z] Successfully built 3f7463a0fdb9 [2024-11-07T09:27:08.824Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:27:09.310Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-07T09:27:09.310Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:27:09.480Z] prd-ubuntu20.04-docker-8c-8g-24748 does not seem to be running inside a container [2024-11-07T09:27:09.507Z] $ 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 ******** ci-base-image-x86_64 cat [2024-11-07T09:27:09.848Z] $ docker top e292063965145d462b13e6c12923e35baeeb61fda0da874d7ae41e8a53714ac1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:27:10.254Z] + go version [2024-11-07T09:27:10.254Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-07T09:27:10.293Z] $ docker stop --time=1 e292063965145d462b13e6c12923e35baeeb61fda0da874d7ae41e8a53714ac1 [2024-11-07T09:27:11.569Z] $ docker rm -f --volumes e292063965145d462b13e6c12923e35baeeb61fda0da874d7ae41e8a53714ac1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:27:12.348Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-07T09:27:12.348Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:27:12.532Z] prd-ubuntu20.04-docker-8c-8g-24748 does not seem to be running inside a container [2024-11-07T09:27:12.562Z] $ 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 ******** ci-base-image-x86_64 cat [2024-11-07T09:27:12.912Z] $ docker top c92d3fc519b7122ac0e1b591c4aea602cbf1e8b731475d1104bde0ac9399a70c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:27:13.322Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1646 [Pipeline] fileExists [Pipeline] sh [2024-11-07T09:27:13.702Z] + make test [2024-11-07T09:27:13.703Z] go test -race -coverprofile=coverage.out ./... [2024-11-07T09:27:21.818Z] ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] [2024-11-07T09:28:00.557Z] github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements [2024-11-07T09:28:00.557Z] github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements [2024-11-07T09:28:00.557Z] github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements [2024-11-07T09:28:00.557Z] github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements [2024-11-07T09:28:00.557Z] github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements [2024-11-07T09:28:00.557Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.030s coverage: 28.7% of statements [2024-11-07T09:28:00.557Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.034s coverage: 79.4% of statements [2024-11-07T09:28:00.557Z] github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements [2024-11-07T09:28:00.557Z] github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements [2024-11-07T09:28:00.557Z] github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements [2024-11-07T09:28:00.557Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.045s coverage: 86.0% of statements [2024-11-07T09:28:00.557Z] ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] [2024-11-07T09:28:00.557Z] github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements [2024-11-07T09:28:00.557Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements [2024-11-07T09:28:00.557Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.076s coverage: 45.2% of statements [2024-11-07T09:28:00.557Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements [2024-11-07T09:28:02.462Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.043s coverage: 14.1% of statements [2024-11-07T09:28:02.462Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 3.140s coverage: 44.6% of statements [2024-11-07T09:28:02.462Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.060s coverage: 68.4% of statements [2024-11-07T09:28:02.462Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.083s coverage: 88.3% of statements [2024-11-07T09:28:02.462Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.052s coverage: 5.3% of statements [2024-11-07T09:28:40.856Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24750 in /w/workspace/gexfoundry_device-sdk-go_PR-1646 [Pipeline] { [Pipeline] ws [2024-11-07T09:28:40.945Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-11-07T09:28:41.176Z] GO111MODULE=on go vet ./... [2024-11-07T09:28:41.434Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-07T09:28:41.434Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-07T09:28:41.692Z] ./bin/test-attribution-txt.sh [2024-11-07T09:28:44.059Z] The recommended git tool is: git [Pipeline] echo [2024-11-07T09:28:44.153Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-07T09:28:44.196Z] $ docker stop --time=1 c92d3fc519b7122ac0e1b591c4aea602cbf1e8b731475d1104bde0ac9399a70c [2024-11-07T09:28:49.023Z] $ docker rm -f --volumes c92d3fc519b7122ac0e1b591c4aea602cbf1e8b731475d1104bde0ac9399a70c [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:28:49.838Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-07T09:28:49.960Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-07T09:28:50.678Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-07T09:28:51.002Z] + ls -al . [2024-11-07T09:28:51.002Z] total 704 [2024-11-07T09:28:51.002Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 09:27 . [2024-11-07T09:28:51.002Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:25 .. [2024-11-07T09:28:51.002Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 09:25 .dockerignore [2024-11-07T09:28:51.002Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:28 .git [2024-11-07T09:28:51.002Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:25 .github [2024-11-07T09:28:51.002Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 7 09:25 .gitignore [2024-11-07T09:28:51.002Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 7 09:25 .golangci.yml [2024-11-07T09:28:51.002Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:26 .semver [2024-11-07T09:28:51.002Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 7 09:25 CHANGELOG.md [2024-11-07T09:28:51.002Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:25 GOVERNANCE.md [2024-11-07T09:28:51.002Z] -rw-rw-r-- 1 jenkins jenkins 882 Nov 7 09:25 Jenkinsfile [2024-11-07T09:28:51.002Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 7 09:25 LICENSE [2024-11-07T09:28:51.002Z] -rw-rw-r-- 1 jenkins jenkins 2432 Nov 7 09:25 Makefile [2024-11-07T09:28:51.002Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 7 09:25 OWNERS.md [2024-11-07T09:28:51.002Z] -rw-rw-r-- 1 jenkins jenkins 4937 Nov 7 09:25 README.md [2024-11-07T09:28:51.002Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:26 VERSION [2024-11-07T09:28:51.002Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:25 bin [2024-11-07T09:28:51.002Z] -rw-r--r-- 1 jenkins jenkins 468087 Nov 7 09:28 coverage.out [2024-11-07T09:28:51.002Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 7 09:25 example [2024-11-07T09:28:51.002Z] -rw-rw-r-- 1 jenkins jenkins 6278 Nov 7 09:25 go.mod [2024-11-07T09:28:51.002Z] -rw-rw-r-- 1 jenkins jenkins 87873 Nov 7 09:25 go.sum [2024-11-07T09:28:51.002Z] drwxrwxr-x 13 jenkins jenkins 4096 Nov 7 09:25 internal [2024-11-07T09:28:51.002Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:25 openapi [2024-11-07T09:28:51.002Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 09:25 pkg [2024-11-07T09:28:51.002Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:25 snap [2024-11-07T09:28:51.002Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 7 09:25 version.go [2024-11-07T09:28:51.029Z] using credential edgex-jenkins-ssh [Pipeline] isUnix [2024-11-07T09:28:51.054Z] Cloning the remote Git repository [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:28:51.426Z] + 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=dc59e9afc29978e7eceeb0d9af4d105f7aafa06c --label arch=amd64 --label version=0.0.0 . [2024-11-07T09:28:51.426Z] Sending build context to Docker daemon 26.06MB [2024-11-07T09:28:51.426Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:28:51.426Z] Step 2/24 : FROM ${BASE} AS builder [2024-11-07T09:28:51.426Z] ---> 3f7463a0fdb9 [2024-11-07T09:28:51.426Z] Step 3/24 : ARG MAKE=make build [2024-11-07T09:28:51.144Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-11-07T09:28:51.309Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-11-07T09:28:51.566Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-11-07T09:28:51.568Z] > git --version # timeout=10 [2024-11-07T09:28:51.602Z] > git --version # 'git version 2.25.1' [2024-11-07T09:28:51.607Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:28:51.997Z] ---> Running in 0c24aa2a5500 [2024-11-07T09:28:52.257Z] Removing intermediate container 0c24aa2a5500 [2024-11-07T09:28:52.257Z] ---> 3c8de3374b1b [2024-11-07T09:28:52.257Z] Step 4/24 : WORKDIR /device-sdk-go [2024-11-07T09:28:52.257Z] ---> Running in ec0b5ad962d0 [2024-11-07T09:28:52.257Z] Removing intermediate container ec0b5ad962d0 [2024-11-07T09:28:52.257Z] ---> bda175a6728b [2024-11-07T09:28:52.257Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-07T09:28:52.257Z] ---> Running in a5d8bb0492e1 [2024-11-07T09:28:52.257Z] Removing intermediate container a5d8bb0492e1 [2024-11-07T09:28:52.257Z] ---> a4a0e4c1930f [2024-11-07T09:28:52.257Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-11-07T09:28:52.517Z] ---> Running in ac6e33741cbb [2024-11-07T09:28:52.775Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:28:52.775Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:28:53.033Z] OK: 246 MiB in 54 packages [2024-11-07T09:28:51.886Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-07T09:28:53.292Z] Removing intermediate container ac6e33741cbb [2024-11-07T09:28:53.292Z] ---> d53819038844 [2024-11-07T09:28:53.292Z] Step 7/24 : COPY go.mod vendor* ./ [2024-11-07T09:28:53.552Z] ---> 8846211b83ca [2024-11-07T09:28:53.552Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:28:53.552Z] ---> Running in bdcaf5328b55 [2024-11-07T09:28:54.487Z] Removing intermediate container bdcaf5328b55 [2024-11-07T09:28:54.487Z] ---> 0a7820ec9fb4 [2024-11-07T09:28:54.487Z] Step 9/24 : COPY . . [2024-11-07T09:28:55.150Z] ---> 2f7752fd03ec [2024-11-07T09:28:55.150Z] Step 10/24 : RUN ${MAKE} [2024-11-07T09:28:55.150Z] ---> Running in 965c183d1827 [2024-11-07T09:28:55.410Z] 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 " -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-11-07T09:28:56.331Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-11-07T09:28:56.382Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-07T09:28:59.004Z] Merging remotes/origin/main commit a2adfdc09e477498866130aea83da6ea448c3108 into PR head commit dc59e9afc29978e7eceeb0d9af4d105f7aafa06c [2024-11-07T09:28:58.141Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-11-07T09:28:58.215Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-11-07T09:28:58.217Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:28:58.259Z] > 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-07T09:28:59.035Z] > git config core.sparsecheckout # timeout=10 [2024-11-07T09:28:59.523Z] Merge succeeded, producing dc59e9afc29978e7eceeb0d9af4d105f7aafa06c [2024-11-07T09:28:59.523Z] Checking out Revision dc59e9afc29978e7eceeb0d9af4d105f7aafa06c (PR-1646) [2024-11-07T09:28:59.152Z] > git checkout -f dc59e9afc29978e7eceeb0d9af4d105f7aafa06c # timeout=10 [2024-11-07T09:28:59.332Z] > git remote # timeout=10 [2024-11-07T09:28:59.364Z] > git config --get remote.origin.url # timeout=10 [2024-11-07T09:28:59.398Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:28:59.439Z] > git merge a2adfdc09e477498866130aea83da6ea448c3108 # timeout=10 [2024-11-07T09:28:59.486Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-07T09:28:59.535Z] > git config core.sparsecheckout # timeout=10 [2024-11-07T09:28:59.559Z] > git checkout -f dc59e9afc29978e7eceeb0d9af4d105f7aafa06c # timeout=10 [2024-11-07T09:29:03.802Z] Commit message: "fix: Only one ldflags flag is allowed" [2024-11-07T09:29:03.895Z] > git --version # timeout=10 [2024-11-07T09:29:03.915Z] > git --version # 'git version 2.25.1' [2024-11-07T09:29:03.939Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:29:06.538Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-07T09:29:06.539Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-07T09:29:06.539Z] Dload Upload Total Spent Left Speed [2024-11-07T09:29:06.539Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 160k 0 --:--:-- --:--:-- --:--:-- 162k [Pipeline] sh [2024-11-07T09:29:06.962Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-07T09:29:07.382Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-07T09:29:07.382Z] + sudo tee /etc/docker/daemon.new [2024-11-07T09:29:07.382Z] { [2024-11-07T09:29:07.382Z] "registry-mirrors": [ [2024-11-07T09:29:07.382Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-07T09:29:07.382Z] ], [2024-11-07T09:29:07.382Z] "bip": "10.250.0.254/24", [2024-11-07T09:29:07.382Z] "hosts": [ [2024-11-07T09:29:07.382Z] "tcp://0.0.0.0:5555", [2024-11-07T09:29:07.382Z] "unix:///var/run/docker.sock" [2024-11-07T09:29:07.382Z] ], [2024-11-07T09:29:07.382Z] "mtu": 1458, [2024-11-07T09:29:07.382Z] "selinux-enabled": true, [2024-11-07T09:29:07.382Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-07T09:29:07.382Z] } [Pipeline] sh [2024-11-07T09:29:07.791Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-07T09:29:08.203Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:29:26.771Z] provisioning config files... [2024-11-07T09:29:26.822Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6252862657777045677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:29:27.436Z] ---> ****-login.sh [2024-11-07T09:29:27.436Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:29:28.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:29:28.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:29:28.339Z] Configure a credential helper to remove this warning. See [2024-11-07T09:29:28.339Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:29:28.339Z] [2024-11-07T09:29:28.339Z] Login Succeeded [2024-11-07T09:29:28.339Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:29:28.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:29:28.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:29:28.906Z] Configure a credential helper to remove this warning. See [2024-11-07T09:29:28.907Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:29:28.907Z] [2024-11-07T09:29:28.907Z] Login Succeeded [2024-11-07T09:29:28.907Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:29:29.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:29:29.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:29:29.495Z] Configure a credential helper to remove this warning. See [2024-11-07T09:29:29.495Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:29:29.495Z] [2024-11-07T09:29:29.495Z] Login Succeeded [2024-11-07T09:29:29.495Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:29:29.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:29:29.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:29:29.781Z] Configure a credential helper to remove this warning. See [2024-11-07T09:29:29.781Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:29:29.781Z] [2024-11-07T09:29:29.781Z] Login Succeeded [2024-11-07T09:29:29.781Z] ****.io [2024-11-07T09:29:30.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:29:30.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:29:30.668Z] Configure a credential helper to remove this warning. See [2024-11-07T09:29:30.668Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:29:30.668Z] [2024-11-07T09:29:30.668Z] Login Succeeded [2024-11-07T09:29:30.668Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:29:30.708Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-07T09:29:31.479Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:29:31.533Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:29:31.582Z] ========================================================= [2024-11-07T09:29:31.582Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-07T09:29:31.582Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:29:32.194Z] + 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-07T09:29:33.202Z] Sending build context to Docker daemon 13.26MB [2024-11-07T09:29:33.202Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:29:33.202Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-07T09:29:33.202Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-07T09:29:33.202Z] cf04c63912e1: Pulling fs layer [2024-11-07T09:29:33.202Z] 55b35a11ae5e: Pulling fs layer [2024-11-07T09:29:33.202Z] a37a00ec5f00: Pulling fs layer [2024-11-07T09:29:33.202Z] 50b3750afda1: Pulling fs layer [2024-11-07T09:29:33.202Z] 4f4fb700ef54: Pulling fs layer [2024-11-07T09:29:33.202Z] 80978eb59214: Pulling fs layer [2024-11-07T09:29:33.202Z] c9f46d7d2bd2: Pulling fs layer [2024-11-07T09:29:33.202Z] c5a475d317c9: Pulling fs layer [2024-11-07T09:29:33.202Z] 80978eb59214: Waiting [2024-11-07T09:29:33.202Z] c9f46d7d2bd2: Waiting [2024-11-07T09:29:33.202Z] 50b3750afda1: Waiting [2024-11-07T09:29:33.202Z] c5a475d317c9: Waiting [2024-11-07T09:29:33.202Z] 4f4fb700ef54: Waiting [2024-11-07T09:29:33.202Z] 55b35a11ae5e: Verifying Checksum [2024-11-07T09:29:33.202Z] 55b35a11ae5e: Download complete [2024-11-07T09:29:33.202Z] 50b3750afda1: Verifying Checksum [2024-11-07T09:29:33.202Z] 50b3750afda1: Download complete [2024-11-07T09:29:33.478Z] 4f4fb700ef54: Verifying Checksum [2024-11-07T09:29:33.479Z] 4f4fb700ef54: Download complete [2024-11-07T09:29:33.479Z] 80978eb59214: Verifying Checksum [2024-11-07T09:29:33.479Z] 80978eb59214: Download complete [2024-11-07T09:29:33.479Z] cf04c63912e1: Verifying Checksum [2024-11-07T09:29:33.479Z] cf04c63912e1: Download complete [2024-11-07T09:29:34.080Z] c5a475d317c9: Verifying Checksum [2024-11-07T09:29:34.080Z] c5a475d317c9: Download complete [2024-11-07T09:29:34.237Z] Removing intermediate container 965c183d1827 [2024-11-07T09:29:34.237Z] ---> 39b3e55af8a9 [2024-11-07T09:29:34.237Z] Step 11/24 : FROM alpine:3.20 [2024-11-07T09:29:34.237Z] 3.20: Pulling from library/alpine [2024-11-07T09:29:34.237Z] 43c4264eed91: Already exists [2024-11-07T09:29:34.237Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-07T09:29:34.237Z] Status: Downloaded newer image for alpine:3.20 [2024-11-07T09:29:34.237Z] ---> 91ef0af61f39 [2024-11-07T09:29:34.237Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-11-07T09:29:34.237Z] ---> Running in 1ea195d9c92d [2024-11-07T09:29:34.237Z] Removing intermediate container 1ea195d9c92d [2024-11-07T09:29:34.237Z] ---> cc9b360e5077 [2024-11-07T09:29:34.237Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-11-07T09:29:34.237Z] ---> Running in fdfff49f4939 [2024-11-07T09:29:34.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:29:34.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:29:34.237Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-07T09:29:34.237Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:29:34.237Z] OK: 8 MiB in 15 packages [2024-11-07T09:29:34.237Z] Removing intermediate container fdfff49f4939 [2024-11-07T09:29:34.237Z] ---> c67a7ad1c964 [2024-11-07T09:29:34.237Z] Step 14/24 : RUN apk --no-cache upgrade [2024-11-07T09:29:34.237Z] ---> Running in bdd288e3577d [2024-11-07T09:29:34.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:29:34.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:29:34.237Z] Upgrading critical system libraries and apk-tools: [2024-11-07T09:29:34.237Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-07T09:29:34.237Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:29:34.237Z] Continuing the upgrade transaction with new apk-tools: [2024-11-07T09:29:34.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:29:34.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:29:34.237Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:29:34.237Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:29:34.237Z] OK: 8 MiB in 15 packages [2024-11-07T09:29:34.237Z] Removing intermediate container bdd288e3577d [2024-11-07T09:29:34.237Z] ---> e8f4b538e2cd [2024-11-07T09:29:34.237Z] Step 15/24 : WORKDIR / [2024-11-07T09:29:34.237Z] ---> Running in 5413997174b1 [2024-11-07T09:29:34.237Z] Removing intermediate container 5413997174b1 [2024-11-07T09:29:34.237Z] ---> 64eaa36e08ae [2024-11-07T09:29:34.237Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-11-07T09:29:34.356Z] cf04c63912e1: Pull complete [2024-11-07T09:29:34.496Z] ---> 1e3396f429c1 [2024-11-07T09:29:34.496Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-11-07T09:29:35.800Z] a37a00ec5f00: Verifying Checksum [2024-11-07T09:29:35.800Z] a37a00ec5f00: Download complete [2024-11-07T09:29:35.800Z] 55b35a11ae5e: Pull complete [2024-11-07T09:29:35.873Z] ---> cc978a3517bb [2024-11-07T09:29:35.873Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-11-07T09:29:36.133Z] ---> 5de725761d8b [2024-11-07T09:29:36.133Z] Step 19/24 : EXPOSE 59999 [2024-11-07T09:29:36.133Z] ---> Running in a4d049f5bfef [2024-11-07T09:29:36.133Z] Removing intermediate container a4d049f5bfef [2024-11-07T09:29:36.133Z] ---> 63e326999e44 [2024-11-07T09:29:36.133Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-11-07T09:29:36.133Z] ---> Running in c8779a45bdf1 [2024-11-07T09:29:36.393Z] Removing intermediate container c8779a45bdf1 [2024-11-07T09:29:36.393Z] ---> b00a5a95e080 [2024-11-07T09:29:36.393Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-11-07T09:29:36.393Z] ---> Running in a60cb7689d09 [2024-11-07T09:29:36.393Z] Removing intermediate container a60cb7689d09 [2024-11-07T09:29:36.393Z] ---> 1ad2c44f7c0f [2024-11-07T09:29:36.393Z] Step 22/24 : LABEL arch=amd64 [2024-11-07T09:29:36.393Z] ---> Running in 98e5b5990864 [2024-11-07T09:29:36.393Z] Removing intermediate container 98e5b5990864 [2024-11-07T09:29:36.393Z] ---> 1c7fd0b589e1 [2024-11-07T09:29:36.393Z] Step 23/24 : LABEL git_sha=dc59e9afc29978e7eceeb0d9af4d105f7aafa06c [2024-11-07T09:29:36.398Z] c9f46d7d2bd2: Verifying Checksum [2024-11-07T09:29:36.399Z] c9f46d7d2bd2: Download complete [2024-11-07T09:29:36.653Z] ---> Running in f82cadf7f3e9 [2024-11-07T09:29:36.653Z] Removing intermediate container f82cadf7f3e9 [2024-11-07T09:29:36.653Z] ---> f6e8ee189bf1 [2024-11-07T09:29:36.653Z] Step 24/24 : LABEL version=0.0.0 [2024-11-07T09:29:36.653Z] ---> Running in 51794dbfb991 [2024-11-07T09:29:36.653Z] Removing intermediate container 51794dbfb991 [2024-11-07T09:29:36.653Z] ---> 376edf695e49 [2024-11-07T09:29:36.653Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-07T09:29:36.653Z] Successfully built 376edf695e49 [2024-11-07T09:29:36.653Z] 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-07T09:29:37.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:29:37.712Z] [2024-11-07T09:29:37.712Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:29:38.105Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:29:38.106Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-07T09:29:38.106Z] 5eb5b503b376: Pulling fs layer [2024-11-07T09:29:38.106Z] 5c69ac0246d0: Pulling fs layer [2024-11-07T09:29:38.106Z] ec43610c2a17: Pulling fs layer [2024-11-07T09:29:38.106Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-07T09:29:38.106Z] 33b1e0a273af: Pulling fs layer [2024-11-07T09:29:38.106Z] 5d3b04190fa2: Pulling fs layer [2024-11-07T09:29:38.106Z] 2f39f015ded8: Pulling fs layer [2024-11-07T09:29:38.106Z] 33b1e0a273af: Waiting [2024-11-07T09:29:38.106Z] 5d3b04190fa2: Waiting [2024-11-07T09:29:38.106Z] 2f39f015ded8: Waiting [2024-11-07T09:29:38.106Z] 3a2ae6a8a46f: Waiting [2024-11-07T09:29:38.106Z] 5c69ac0246d0: Download complete [2024-11-07T09:29:38.106Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-07T09:29:38.106Z] 3a2ae6a8a46f: Download complete [2024-11-07T09:29:38.106Z] 33b1e0a273af: Verifying Checksum [2024-11-07T09:29:38.106Z] 33b1e0a273af: Download complete [2024-11-07T09:29:38.106Z] ec43610c2a17: Verifying Checksum [2024-11-07T09:29:38.106Z] ec43610c2a17: Download complete [2024-11-07T09:29:38.106Z] 5d3b04190fa2: Verifying Checksum [2024-11-07T09:29:38.106Z] 5d3b04190fa2: Download complete [2024-11-07T09:29:38.365Z] 5eb5b503b376: Verifying Checksum [2024-11-07T09:29:38.365Z] 5eb5b503b376: Download complete [2024-11-07T09:29:38.932Z] 2f39f015ded8: Verifying Checksum [2024-11-07T09:29:38.932Z] 2f39f015ded8: Download complete [2024-11-07T09:29:39.868Z] 5eb5b503b376: Pull complete [2024-11-07T09:29:39.869Z] 5c69ac0246d0: Pull complete [2024-11-07T09:29:40.439Z] ec43610c2a17: Pull complete [2024-11-07T09:29:40.439Z] 3a2ae6a8a46f: Pull complete [2024-11-07T09:29:40.698Z] 33b1e0a273af: Pull complete [2024-11-07T09:29:40.698Z] 5d3b04190fa2: Pull complete [2024-11-07T09:29:44.881Z] 2f39f015ded8: Pull complete [2024-11-07T09:29:44.882Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-07T09:29:44.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:29:44.882Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:29:45.169Z] prd-ubuntu20.04-docker-8c-8g-24748 does not seem to be running inside a container [2024-11-07T09:29:45.201Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-07T09:29:50.152Z] $ docker top d19b6a98adeb28cc93388767a44fb0b8abd580fd0fee03d63c9efed5fe329db3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:29:50.626Z] ---> job-cost.sh [2024-11-07T09:29:50.626Z] lf-activate-venv: SKIPPING [2024-11-07T09:29:50.626Z] INFO: No Stack... [2024-11-07T09:29:50.885Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-07T09:29:51.455Z] INFO: Archiving Costs [2024-11-07T09:29:51.457Z] a37a00ec5f00: Pull complete [2024-11-07T09:29:51.457Z] 50b3750afda1: Pull complete [Pipeline] sh [2024-11-07T09:29:51.802Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives/cost.csv [2024-11-07T09:29:51.802Z] + cut -d, -f6 [Pipeline] lock [2024-11-07T09:29:51.857Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-1-stack-cost] [2024-11-07T09:29:51.864Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1646-1-stack-cost] did not exist. Created. [2024-11-07T09:29:51.871Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-07T09:29:52.049Z] 4f4fb700ef54: Pull complete [2024-11-07T09:29:52.292Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-07T09:29:52.332Z] 80978eb59214: Pull complete [2024-11-07T09:29:52.360Z] Stashed 1 file(s) [Pipeline] } [2024-11-07T09:29:52.419Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-07T09:29:52.524Z] $ docker stop --time=1 d19b6a98adeb28cc93388767a44fb0b8abd580fd0fee03d63c9efed5fe329db3 [2024-11-07T09:29:53.690Z] $ docker rm -f --volumes d19b6a98adeb28cc93388767a44fb0b8abd580fd0fee03d63c9efed5fe329db3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-07T09:30:02.501Z] c9f46d7d2bd2: Pull complete [2024-11-07T09:30:03.948Z] c5a475d317c9: Pull complete [2024-11-07T09:30:03.948Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-07T09:30:03.948Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-07T09:30:03.948Z] ---> be29e6b0f0d4 [2024-11-07T09:30:03.948Z] Step 3/10 : ARG MAKE=make build [2024-11-07T09:30:06.581Z] ---> Running in e8006394b1a2 [2024-11-07T09:30:06.860Z] Removing intermediate container e8006394b1a2 [2024-11-07T09:30:06.860Z] ---> 6aae0305a036 [2024-11-07T09:30:06.860Z] Step 4/10 : WORKDIR /device-sdk-go [2024-11-07T09:30:07.138Z] ---> Running in 27e6ea266071 [2024-11-07T09:30:07.417Z] Removing intermediate container 27e6ea266071 [2024-11-07T09:30:07.417Z] ---> d5004757b8bf [2024-11-07T09:30:07.417Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-07T09:30:07.695Z] ---> Running in e83229de7088 [2024-11-07T09:30:07.978Z] Removing intermediate container e83229de7088 [2024-11-07T09:30:07.978Z] ---> 5350bba42438 [2024-11-07T09:30:07.978Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-11-07T09:30:08.274Z] ---> Running in b4b001276074 [2024-11-07T09:30:09.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:30:10.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:30:12.992Z] OK: 238 MiB in 54 packages [2024-11-07T09:30:13.983Z] Removing intermediate container b4b001276074 [2024-11-07T09:30:13.983Z] ---> 7cf487b8253d [2024-11-07T09:30:13.983Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-07T09:30:14.989Z] ---> 72aade183e5a [2024-11-07T09:30:14.989Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:30:14.989Z] ---> Running in 0a1759e0783c [2024-11-07T09:32:21.847Z] Removing intermediate container 0a1759e0783c [2024-11-07T09:32:21.847Z] ---> ffa2c1a371ac [2024-11-07T09:32:21.847Z] Step 9/10 : COPY . . [2024-11-07T09:32:21.847Z] ---> 35896b3af49a [2024-11-07T09:32:21.847Z] Step 10/10 : RUN ${MAKE} [2024-11-07T09:32:21.847Z] ---> Running in 909435d4c36b [2024-11-07T09:32:21.847Z] noop [2024-11-07T09:32:21.847Z] Removing intermediate container 909435d4c36b [2024-11-07T09:32:21.847Z] ---> 8179c519b785 [2024-11-07T09:32:21.847Z] Successfully built 8179c519b785 [2024-11-07T09:32:21.847Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:32:22.418Z] + docker inspect -f . ci-base-image-arm64 [2024-11-07T09:32:22.418Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:32:22.825Z] prd-ubuntu20.04-docker-arm64-4c-16g-24750 does not seem to be running inside a container [2024-11-07T09:32:22.943Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-07T09:32:24.584Z] $ docker top d4fecb923f1f90a8ab8d1d10a396a833188729ca53f52d0a32e41ba68b1ac06b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:32:25.653Z] + go version [2024-11-07T09:32:25.653Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-07T09:32:25.706Z] $ docker stop --time=1 d4fecb923f1f90a8ab8d1d10a396a833188729ca53f52d0a32e41ba68b1ac06b [2024-11-07T09:32:27.652Z] $ docker rm -f --volumes d4fecb923f1f90a8ab8d1d10a396a833188729ca53f52d0a32e41ba68b1ac06b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:32:28.671Z] + docker inspect -f . ci-base-image-arm64 [2024-11-07T09:32:28.671Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:32:29.015Z] prd-ubuntu20.04-docker-arm64-4c-16g-24750 does not seem to be running inside a container [2024-11-07T09:32:29.129Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-07T09:32:30.951Z] $ docker top 8edcc37791ade6a704cc74f558ff262002bf9704c9b4778da3412676591bf2cc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:32:32.020Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-11-07T09:32:32.808Z] + make test [2024-11-07T09:32:32.808Z] go test -race -coverprofile=coverage.out ./... [2024-11-07T09:33:40.930Z] ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] [2024-11-07T09:38:18.007Z] github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements [2024-11-07T09:38:18.007Z] github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements [2024-11-07T09:38:18.007Z] github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements [2024-11-07T09:38:18.007Z] github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements [2024-11-07T09:38:18.007Z] github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements [2024-11-07T09:38:21.399Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.224s coverage: 28.7% of statements [2024-11-07T09:38:26.788Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.203s coverage: 79.4% of statements [2024-11-07T09:38:39.154Z] github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements [2024-11-07T09:38:39.154Z] github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements [2024-11-07T09:38:39.154Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.376s coverage: 86.0% of statements [2024-11-07T09:38:54.235Z] github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements [2024-11-07T09:38:54.835Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.725s coverage: 45.2% of statements [2024-11-07T09:38:57.467Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.338s coverage: 14.1% of statements [2024-11-07T09:38:57.467Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 4.132s coverage: 44.6% of statements [2024-11-07T09:39:04.889Z] ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] [2024-11-07T09:39:04.889Z] github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements [2024-11-07T09:39:04.889Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements [2024-11-07T09:39:05.481Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.444s coverage: 68.4% of statements [2024-11-07T09:39:12.168Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.413s coverage: 88.3% of statements [2024-11-07T09:39:20.676Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements [2024-11-07T09:39:21.654Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.366s coverage: 5.3% of statements [2024-11-07T09:39:23.641Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-07T09:39:23.641Z] GO111MODULE=on go vet ./... [2024-11-07T09:44:31.798Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-07T09:44:31.798Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-07T09:44:31.798Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-07T09:44:31.847Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-07T09:44:31.902Z] $ docker stop --time=1 8edcc37791ade6a704cc74f558ff262002bf9704c9b4778da3412676591bf2cc [2024-11-07T09:44:34.209Z] $ docker rm -f --volumes 8edcc37791ade6a704cc74f558ff262002bf9704c9b4778da3412676591bf2cc [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:44:37.229Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-07T09:44:37.268Z] Warning: overwriting stash ‘coverage-report’ [2024-11-07T09:44:38.287Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:44:38.943Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-07T09:44:39.318Z] + ls -al . [2024-11-07T09:44:39.318Z] total 700 [2024-11-07T09:44:39.318Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 09:32 . [2024-11-07T09:44:39.318Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:28 .. [2024-11-07T09:44:39.318Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 09:28 .dockerignore [2024-11-07T09:44:39.318Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:28 .git [2024-11-07T09:44:39.318Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:28 .github [2024-11-07T09:44:39.318Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 7 09:28 .gitignore [2024-11-07T09:44:39.318Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 7 09:28 .golangci.yml [2024-11-07T09:44:39.318Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 7 09:28 CHANGELOG.md [2024-11-07T09:44:39.318Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:28 GOVERNANCE.md [2024-11-07T09:44:39.318Z] -rw-rw-r-- 1 jenkins jenkins 882 Nov 7 09:28 Jenkinsfile [2024-11-07T09:44:39.318Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 7 09:28 LICENSE [2024-11-07T09:44:39.318Z] -rw-rw-r-- 1 jenkins jenkins 2432 Nov 7 09:28 Makefile [2024-11-07T09:44:39.318Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 7 09:28 OWNERS.md [2024-11-07T09:44:39.318Z] -rw-rw-r-- 1 jenkins jenkins 4937 Nov 7 09:28 README.md [2024-11-07T09:44:39.318Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:26 VERSION [2024-11-07T09:44:39.318Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:28 bin [2024-11-07T09:44:39.318Z] -rw-r--r-- 1 jenkins jenkins 468088 Nov 7 09:39 coverage.out [2024-11-07T09:44:39.318Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 7 09:28 example [2024-11-07T09:44:39.318Z] -rw-rw-r-- 1 jenkins jenkins 6278 Nov 7 09:28 go.mod [2024-11-07T09:44:39.318Z] -rw-rw-r-- 1 jenkins jenkins 87873 Nov 7 09:28 go.sum [2024-11-07T09:44:39.318Z] drwxrwxr-x 13 jenkins jenkins 4096 Nov 7 09:28 internal [2024-11-07T09:44:39.318Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:28 openapi [2024-11-07T09:44:39.318Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 09:28 pkg [2024-11-07T09:44:39.318Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:28 snap [2024-11-07T09:44:39.318Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 7 09:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:44:39.791Z] + 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=dc59e9afc29978e7eceeb0d9af4d105f7aafa06c --label arch=arm64 --label version=0.0.0 . [2024-11-07T09:44:40.383Z] Sending build context to Docker daemon 13.73MB [2024-11-07T09:44:40.652Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:44:40.652Z] Step 2/24 : FROM ${BASE} AS builder [2024-11-07T09:44:40.652Z] ---> 8179c519b785 [2024-11-07T09:44:40.652Z] Step 3/24 : ARG MAKE=make build [2024-11-07T09:44:40.652Z] ---> Running in 5d85e5fc1d5f [2024-11-07T09:44:41.242Z] Removing intermediate container 5d85e5fc1d5f [2024-11-07T09:44:41.242Z] ---> 803f3e801ae9 [2024-11-07T09:44:41.242Z] Step 4/24 : WORKDIR /device-sdk-go [2024-11-07T09:44:41.242Z] ---> Running in 3d6c00c7a590 [2024-11-07T09:44:41.836Z] Removing intermediate container 3d6c00c7a590 [2024-11-07T09:44:41.836Z] ---> 679b20b71c37 [2024-11-07T09:44:41.836Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-07T09:44:41.836Z] ---> Running in 35678b4f355f [2024-11-07T09:44:42.432Z] Removing intermediate container 35678b4f355f [2024-11-07T09:44:42.432Z] ---> 45b53d9d64b4 [2024-11-07T09:44:42.432Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-11-07T09:44:42.432Z] ---> Running in ef2034124690 [2024-11-07T09:44:43.864Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:44:44.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:44:46.106Z] OK: 238 MiB in 54 packages [2024-11-07T09:44:47.546Z] Removing intermediate container ef2034124690 [2024-11-07T09:44:47.546Z] ---> 79a4fda2c0e8 [2024-11-07T09:44:47.546Z] Step 7/24 : COPY go.mod vendor* ./ [2024-11-07T09:44:48.151Z] ---> 2aed6c3bf26e [2024-11-07T09:44:48.151Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:44:48.427Z] ---> Running in 3ff4e106ae16 [2024-11-07T09:44:51.042Z] Removing intermediate container 3ff4e106ae16 [2024-11-07T09:44:51.042Z] ---> 40ca636b000b [2024-11-07T09:44:51.042Z] Step 9/24 : COPY . . [2024-11-07T09:44:53.010Z] ---> 9b637171b7ca [2024-11-07T09:44:53.010Z] Step 10/24 : RUN ${MAKE} [2024-11-07T09:44:53.010Z] ---> Running in 41316e034ae0 [2024-11-07T09:44:53.971Z] 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 " -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-11-07T09:49:17.177Z] Removing intermediate container 41316e034ae0 [2024-11-07T09:49:17.177Z] ---> e3071cdc19a3 [2024-11-07T09:49:17.177Z] Step 11/24 : FROM alpine:3.20 [2024-11-07T09:49:17.177Z] 3.20: Pulling from library/alpine [2024-11-07T09:49:17.177Z] cf04c63912e1: Already exists [2024-11-07T09:49:17.177Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-07T09:49:17.177Z] Status: Downloaded newer image for alpine:3.20 [2024-11-07T09:49:17.177Z] ---> c157a85ed455 [2024-11-07T09:49:17.177Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-11-07T09:49:17.177Z] ---> Running in 3f73642bee16 [2024-11-07T09:49:17.177Z] Removing intermediate container 3f73642bee16 [2024-11-07T09:49:17.177Z] ---> c4fb30dcda52 [2024-11-07T09:49:17.177Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-11-07T09:49:17.177Z] ---> Running in cb28271f01f3 [2024-11-07T09:49:17.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:49:17.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:49:17.177Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-07T09:49:17.177Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:49:17.177Z] OK: 9 MiB in 15 packages [2024-11-07T09:49:17.446Z] Removing intermediate container cb28271f01f3 [2024-11-07T09:49:17.446Z] ---> 3ce84a3534d0 [2024-11-07T09:49:17.446Z] Step 14/24 : RUN apk --no-cache upgrade [2024-11-07T09:49:17.446Z] ---> Running in 0fd3cff02398 [2024-11-07T09:49:18.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:49:19.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:49:20.962Z] Upgrading critical system libraries and apk-tools: [2024-11-07T09:49:20.962Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-07T09:49:20.962Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:49:21.546Z] Continuing the upgrade transaction with new apk-tools: [2024-11-07T09:49:21.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:49:21.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:49:24.400Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:49:24.400Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:49:24.400Z] OK: 9 MiB in 15 packages [2024-11-07T09:49:25.819Z] Removing intermediate container 0fd3cff02398 [2024-11-07T09:49:25.819Z] ---> 7366cc08c7ef [2024-11-07T09:49:25.819Z] Step 15/24 : WORKDIR / [2024-11-07T09:49:25.819Z] ---> Running in c19d1aafd1d3 [2024-11-07T09:49:26.412Z] Removing intermediate container c19d1aafd1d3 [2024-11-07T09:49:26.412Z] ---> 27ac1186057b [2024-11-07T09:49:26.412Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-11-07T09:49:27.010Z] ---> 6de669a97056 [2024-11-07T09:49:27.010Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-11-07T09:49:30.414Z] ---> 03d834a05e6f [2024-11-07T09:49:30.414Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-11-07T09:49:31.401Z] ---> 39760030e214 [2024-11-07T09:49:31.401Z] Step 19/24 : EXPOSE 59999 [2024-11-07T09:49:31.401Z] ---> Running in f4b282d9c404 [2024-11-07T09:49:31.677Z] Removing intermediate container f4b282d9c404 [2024-11-07T09:49:31.677Z] ---> 57d7474ccd9b [2024-11-07T09:49:31.677Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-11-07T09:49:31.677Z] ---> Running in bdb6082c9795 [2024-11-07T09:49:32.272Z] Removing intermediate container bdb6082c9795 [2024-11-07T09:49:32.272Z] ---> c2a79f32a848 [2024-11-07T09:49:32.272Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-11-07T09:49:32.272Z] ---> Running in ed968bb2a4b3 [2024-11-07T09:49:32.866Z] Removing intermediate container ed968bb2a4b3 [2024-11-07T09:49:32.866Z] ---> 819a62cf548c [2024-11-07T09:49:32.866Z] Step 22/24 : LABEL arch=arm64 [2024-11-07T09:49:32.866Z] ---> Running in 30c1bdf96918 [2024-11-07T09:49:33.143Z] Removing intermediate container 30c1bdf96918 [2024-11-07T09:49:33.143Z] ---> 4a15abe04e09 [2024-11-07T09:49:33.143Z] Step 23/24 : LABEL git_sha=dc59e9afc29978e7eceeb0d9af4d105f7aafa06c [2024-11-07T09:49:33.414Z] ---> Running in a1e90e5860c3 [2024-11-07T09:49:33.686Z] Removing intermediate container a1e90e5860c3 [2024-11-07T09:49:33.686Z] ---> 6132c9855ff1 [2024-11-07T09:49:33.686Z] Step 24/24 : LABEL version=0.0.0 [2024-11-07T09:49:33.686Z] ---> Running in afc7f316d595 [2024-11-07T09:49:34.289Z] Removing intermediate container afc7f316d595 [2024-11-07T09:49:34.289Z] ---> 6fbf10b93e8f [2024-11-07T09:49:34.289Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-07T09:49:34.289Z] Successfully built 6fbf10b93e8f [2024-11-07T09:49:34.289Z] 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-07T09:49:35.254Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:49:35.254Z] [2024-11-07T09:49:35.254Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:49:35.770Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:49:36.933Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-07T09:49:36.933Z] 8998bd30e6a1: Pulling fs layer [2024-11-07T09:49:36.933Z] 04944245beec: Pulling fs layer [2024-11-07T09:49:36.933Z] 699f458cf7ca: Pulling fs layer [2024-11-07T09:49:36.933Z] 765212b225bb: Pulling fs layer [2024-11-07T09:49:36.933Z] f23df028b6ca: Pulling fs layer [2024-11-07T09:49:36.933Z] d65c8cfc05b1: Pulling fs layer [2024-11-07T09:49:36.933Z] 2437ff75d9bd: Pulling fs layer [2024-11-07T09:49:36.933Z] f23df028b6ca: Waiting [2024-11-07T09:49:36.933Z] d65c8cfc05b1: Waiting [2024-11-07T09:49:36.933Z] 2437ff75d9bd: Waiting [2024-11-07T09:49:36.933Z] 765212b225bb: Waiting [2024-11-07T09:49:37.214Z] 04944245beec: Verifying Checksum [2024-11-07T09:49:37.214Z] 04944245beec: Download complete [2024-11-07T09:49:37.214Z] 765212b225bb: Verifying Checksum [2024-11-07T09:49:37.214Z] 765212b225bb: Download complete [2024-11-07T09:49:37.214Z] f23df028b6ca: Verifying Checksum [2024-11-07T09:49:37.214Z] f23df028b6ca: Download complete [2024-11-07T09:49:37.214Z] d65c8cfc05b1: Verifying Checksum [2024-11-07T09:49:37.214Z] d65c8cfc05b1: Download complete [2024-11-07T09:49:37.489Z] 699f458cf7ca: Verifying Checksum [2024-11-07T09:49:37.489Z] 699f458cf7ca: Download complete [2024-11-07T09:49:40.590Z] 8998bd30e6a1: Verifying Checksum [2024-11-07T09:49:40.590Z] 8998bd30e6a1: Download complete [2024-11-07T09:49:43.989Z] 2437ff75d9bd: Verifying Checksum [2024-11-07T09:49:43.989Z] 2437ff75d9bd: Download complete [2024-11-07T09:49:45.967Z] 8998bd30e6a1: Pull complete [2024-11-07T09:49:46.566Z] 04944245beec: Pull complete [2024-11-07T09:49:48.543Z] 699f458cf7ca: Pull complete [2024-11-07T09:49:48.818Z] 765212b225bb: Pull complete [2024-11-07T09:49:49.800Z] f23df028b6ca: Pull complete [2024-11-07T09:49:50.077Z] d65c8cfc05b1: Pull complete [2024-11-07T09:50:09.248Z] 2437ff75d9bd: Pull complete [2024-11-07T09:50:09.248Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-07T09:50:09.248Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:50:09.248Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:50:09.643Z] prd-ubuntu20.04-docker-arm64-4c-16g-24750 does not seem to be running inside a container [2024-11-07T09:50:09.745Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-07T09:50:13.321Z] $ docker top 1ef6fd78d065a618bcbca6f445938a1b8ae6c035737cf76acf38df82caafb090 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:50:14.339Z] ---> job-cost.sh [2024-11-07T09:50:14.339Z] lf-activate-venv: SKIPPING [2024-11-07T09:50:14.339Z] INFO: No Stack... [2024-11-07T09:50:14.935Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-07T09:50:15.917Z] INFO: Archiving Costs [Pipeline] sh [2024-11-07T09:50:16.633Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-11-07T09:50:16.633Z] + cut -d, -f6 [Pipeline] lock [2024-11-07T09:50:16.764Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-1-stack-cost] [2024-11-07T09:50:16.770Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1646-1-stack-cost] did not exist. Created. [2024-11-07T09:50:16.776Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-07T09:50:17.575Z] /w/workspace/device-sdk-go/1@tmp/durable-151b67d6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-07T09:50:18.278Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-07T09:50:18.319Z] Warning: overwriting stash ‘stack-cost’ [2024-11-07T09:50:18.437Z] Stashed 1 file(s) [Pipeline] } [2024-11-07T09:50:18.463Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-07T09:50:18.563Z] $ docker stop --time=1 1ef6fd78d065a618bcbca6f445938a1b8ae6c035737cf76acf38df82caafb090 [2024-11-07T09:50:20.252Z] $ docker rm -f --volumes 1ef6fd78d065a618bcbca6f445938a1b8ae6c035737cf76acf38df82caafb090 [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-07T09:50:21.459Z] provisioning config files... [2024-11-07T09:50:21.470Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/config9981298589890577306tmp [Pipeline] { [Pipeline] sh [2024-11-07T09:50:21.826Z] + set +x [2024-11-07T09:50:21.826Z] + curl -s https://codecov.io/bash [2024-11-07T09:50:21.826Z] + bash -s -- [2024-11-07T09:50:21.826Z] [2024-11-07T09:50:21.826Z] _____ _ [2024-11-07T09:50:21.826Z] / ____| | | [2024-11-07T09:50:21.826Z] | | ___ __| | ___ ___ _____ __ [2024-11-07T09:50:21.826Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-07T09:50:21.826Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-07T09:50:21.826Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-07T09:50:21.826Z] Bash-1.0.6 [2024-11-07T09:50:21.826Z] [2024-11-07T09:50:21.826Z] [2024-11-07T09:50:21.826Z] ==> git version 2.25.1 found [2024-11-07T09:50:21.826Z] ==> 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-07T09:50:21.826Z] Release-Date: 2020-01-08 [2024-11-07T09:50:21.826Z] 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-07T09:50:21.826Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-07T09:50:21.826Z] ==> Jenkins CI detected. [2024-11-07T09:50:21.826Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1646 [2024-11-07T09:50:21.826Z] project root: . [2024-11-07T09:50:21.826Z] --> token set from env [2024-11-07T09:50:21.826Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-07T09:50:21.826Z] ==> Running gcov in . (disable via -X gcov) [2024-11-07T09:50:21.826Z] ==> Python coveragepy not found [2024-11-07T09:50:21.826Z] ==> Searching for coverage reports in: [2024-11-07T09:50:21.826Z] + . [2024-11-07T09:50:22.086Z] -> Found 1 reports [2024-11-07T09:50:22.086Z] ==> Detecting git/mercurial file structure [2024-11-07T09:50:22.086Z] ==> Reading reports [2024-11-07T09:50:22.086Z] + ./coverage.out bytes=468088 [2024-11-07T09:50:22.086Z] ==> Appending adjustments [2024-11-07T09:50:22.086Z] https://docs.codecov.io/docs/fixing-reports [2024-11-07T09:50:22.346Z] + Found adjustments [2024-11-07T09:50:22.346Z] ==> Gzipping contents [2024-11-07T09:50:22.346Z] 44K /tmp/codecov.7QCqSz.gz [2024-11-07T09:50:22.346Z] ==> Uploading reports [2024-11-07T09:50:22.346Z] url: https://codecov.io [2024-11-07T09:50:22.346Z] query: branch=PR-1646&commit=dc59e9afc29978e7eceeb0d9af4d105f7aafa06c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1646%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1646&job=&cmd_args= [2024-11-07T09:50:22.346Z] -> Pinging Codecov [2024-11-07T09:50:22.347Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1646&commit=dc59e9afc29978e7eceeb0d9af4d105f7aafa06c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1646%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1646&job=&cmd_args= [2024-11-07T09:50:22.606Z] -> Uploading to [2024-11-07T09:50:22.607Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/dc59e9afc29978e7eceeb0d9af4d105f7aafa06c/17073a5f-4a12-4c02-84b8-669fc7fa97ba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241107%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241107T095022Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=5c1a2a252f79ac9859c6ddd4b410d33d61d58e8bb3ea1f13e000fbffd0ab46bc [2024-11-07T09:50:22.607Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-07T09:50:22.607Z] Dload Upload Total Spent Left Speed [2024-11-07T09:50:22.866Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44776 0 0 100 44776 0 215k --:--:-- --:--:-- --:--:-- 214k 100 44776 0 0 100 44776 0 179k --:--:-- --:--:-- --:--:-- 179k [2024-11-07T09:50:22.866Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/dc59e9afc29978e7eceeb0d9af4d105f7aafa06c [Pipeline] } [2024-11-07T09:50:22.895Z] 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-07T09:50:25.229Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives ] [2024-11-07T09:50:25.229Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives [2024-11-07T09:50:25.229Z] total 16 [2024-11-07T09:50:25.229Z] drwxr-xr-x 3 root root 4096 Nov 7 09:29 . [2024-11-07T09:50:25.229Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 09:29 .. [2024-11-07T09:50:25.229Z] drwxr-xr-x 2 root root 4096 Nov 7 09:29 cost [2024-11-07T09:50:25.229Z] -rw-r--r-- 1 root root 86 Nov 7 09:29 cost.csv [2024-11-07T09:50:25.229Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives [2024-11-07T09:50:25.229Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives [2024-11-07T09:50:25.229Z] total 16 [2024-11-07T09:50:25.229Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:29 . [2024-11-07T09:50:25.229Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 09:29 .. [2024-11-07T09:50:25.229Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 09:29 cost [2024-11-07T09:50:25.229Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 7 09:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:50:25.579Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:50:26.486Z] ---> package-listing.sh [2024-11-07T09:50:26.486Z] ++ facter osfamily [2024-11-07T09:50:26.486Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-07T09:50:26.744Z] + OS_FAMILY=debian [2024-11-07T09:50:26.744Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1646 [2024-11-07T09:50:26.744Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-07T09:50:26.744Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-07T09:50:26.744Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-07T09:50:26.744Z] + PACKAGES=/tmp/packages_start.txt [2024-11-07T09:50:26.744Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1646 ']' [2024-11-07T09:50:26.744Z] + PACKAGES=/tmp/packages_end.txt [2024-11-07T09:50:26.744Z] + case "${OS_FAMILY}" in [2024-11-07T09:50:26.744Z] + dpkg -l [2024-11-07T09:50:26.744Z] + grep '^ii' [2024-11-07T09:50:26.744Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-07T09:50:26.744Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-07T09:50:26.744Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-07T09:50:26.744Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1646 ']' [2024-11-07T09:50:26.744Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives/ [2024-11-07T09:50:26.744Z] + 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-07T09:50:26.788Z] 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-07T09:50:27.091Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:50:27.744Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:50:27.744Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:50:27.921Z] prd-ubuntu20.04-docker-8c-8g-24748 does not seem to be running inside a container [2024-11-07T09:50:28.019Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-07T09:50:28.243Z] $ docker top 5678608e4bb6827f7225218cb8e39072f22b64688a5d2e77567c1d4f02555649 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:50:28.707Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-07T09:50:29.042Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-07T09:50:29.360Z] + ls /var/log/sa-host [2024-11-07T09:50:29.360Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:50:29.598Z] provisioning config files... [2024-11-07T09:50:29.607Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/config10290513375900808996tmp [Pipeline] { [Pipeline] echo [2024-11-07T09:50:29.675Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:50:30.004Z] ---> create-netrc.sh [Pipeline] } [2024-11-07T09:50:30.034Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:50:30.464Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-07T09:50:30.508Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:50:30.839Z] ---> sudo-logs.sh [2024-11-07T09:50:30.839Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-07T09:50:30.937Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:50:31.260Z] ---> job-cost.sh [2024-11-07T09:50:31.260Z] lf-activate-venv: SKIPPING [2024-11-07T09:50:31.260Z] DEBUG: total: 0.2199999988079071 [2024-11-07T09:50:31.260Z] INFO: Retrieving Stack Cost... [2024-11-07T09:50:31.519Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-07T09:50:32.089Z] INFO: Archiving Costs [Pipeline] echo [2024-11-07T09:50:32.134Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:50:32.457Z] ---> logs-deploy.sh [2024-11-07T09:50:32.457Z] lf-activate-venv: SKIPPING [2024-11-07T09:50:32.457Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1646/1 [2024-11-07T09:50:32.457Z] INFO: archiving workspace using pattern(s): [2024-11-07T09:50:33.399Z] Archives upload complete. [2024-11-07T09:50:33.658Z] INFO: archiving logs to Nexus