Pull request #1648 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fac54c85002fbba0025aa9bf0937156a622a7c44+7f77e0e62202159fe6913cf9abaefab1a89f7492 (0addd6f9d40f6cb58d1bd6a0521124a33ae88150) 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-ssh1079775844042057413.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-ssh11710584688516903687.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-1648/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-1648/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5834456093773199590.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-1648/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13240246225653515468.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-ssh18260129516684079398.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-1648/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-1648/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16432448708321691328.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-26104 in /w/workspace/gexfoundry_device-sdk-go_PR-1648 [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-1648 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1648/head:refs/remotes/origin/PR-1648 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7f77e0e62202159fe6913cf9abaefab1a89f7492 into PR head commit fac54c85002fbba0025aa9bf0937156a622a7c44 Merge succeeded, producing fac54c85002fbba0025aa9bf0937156a622a7c44 Checking out Revision fac54c85002fbba0025aa9bf0937156a622a7c44 (PR-1648) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f fac54c85002fbba0025aa9bf0937156a622a7c44 # 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 7f77e0e62202159fe6913cf9abaefab1a89f7492 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fac54c85002fbba0025aa9bf0937156a622a7c44 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-11T04:17:26.625Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-11T04:17:26.853Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-11T04:17:26.982Z] ========================================================= [2024-11-11T04:17:26.982Z] EdgeX Global Pipelines Version Info [2024-11-11T04:17:26.982Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:17:27.776Z] ------------------- [2024-11-11T04:17:27.776Z] stable info: [2024-11-11T04:17:27.776Z] ------------------- [2024-11-11T04:17:27.776Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-11T04:17:27.776Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-11T04:17:27.776Z] Message: update stable to v1.0.265 [2024-11-11T04:17:28.348Z] ------------------- [2024-11-11T04:17:28.348Z] experimental info: [2024-11-11T04:17:28.348Z] ------------------- [2024-11-11T04:17:28.348Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-11T04:17:28.348Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-11T04:17:28.348Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-11T04:17:28.579Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-11-11T04:17:28.632Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-11-11T04:17:28.688Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-11T04:17:28.748Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-11T04:17:28.809Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-11T04:17:28.864Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-11T04:17:28.929Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-11T04:17:28.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-11-11T04:17:29.054Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-11T04:17:29.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-11T04:17:29.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-11T04:17:29.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-11-11T04:17:29.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-11T04:17:29.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-11T04:17:29.419Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-11T04:17:29.481Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-11-11T04:17:29.537Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-11T04:17:29.596Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-11T04:17:29.653Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-11T04:17:29.707Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-11T04:17:29.763Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-11-11T04:17:29.820Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo [2024-11-11T04:17:29.883Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-11T04:17:29.943Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-11T04:17:30.006Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-11T04:17:30.061Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-11T04:17:30.120Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-11T04:17:30.177Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1648 [Pipeline] echo [2024-11-11T04:17:30.237Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1648 [Pipeline] echo [2024-11-11T04:17:30.299Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1648 [Pipeline] echo [2024-11-11T04:17:30.358Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fac54c85002fbba0025aa9bf0937156a622a7c44 [Pipeline] echo [2024-11-11T04:17:30.416Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fac54c8 [Pipeline] echo [2024-11-11T04:17:30.477Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T04:17:30.625Z] provisioning config files... [2024-11-11T04:17:30.640Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp/config527607647999101607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:17:31.047Z] ---> ****-login.sh [2024-11-11T04:17:31.047Z] nexus3.edgexfoundry.org:10001 [2024-11-11T04:17:31.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:17:31.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:17:31.309Z] Configure a credential helper to remove this warning. See [2024-11-11T04:17:31.309Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:17:31.309Z] [2024-11-11T04:17:31.309Z] Login Succeeded [2024-11-11T04:17:31.309Z] nexus3.edgexfoundry.org:10002 [2024-11-11T04:17:31.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:17:31.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:17:31.569Z] Configure a credential helper to remove this warning. See [2024-11-11T04:17:31.569Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:17:31.569Z] [2024-11-11T04:17:31.569Z] Login Succeeded [2024-11-11T04:17:31.569Z] nexus3.edgexfoundry.org:10003 [2024-11-11T04:17:31.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:17:31.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:17:31.570Z] Configure a credential helper to remove this warning. See [2024-11-11T04:17:31.570Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:17:31.570Z] [2024-11-11T04:17:31.570Z] Login Succeeded [2024-11-11T04:17:31.570Z] nexus3.edgexfoundry.org:10004 [2024-11-11T04:17:31.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:17:31.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:17:31.831Z] Configure a credential helper to remove this warning. See [2024-11-11T04:17:31.831Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:17:31.831Z] [2024-11-11T04:17:31.831Z] Login Succeeded [2024-11-11T04:17:31.831Z] ****.io [2024-11-11T04:17:31.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:17:32.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:17:32.092Z] Configure a credential helper to remove this warning. See [2024-11-11T04:17:32.092Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:17:32.092Z] [2024-11-11T04:17:32.092Z] Login Succeeded [2024-11-11T04:17:32.092Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T04:17:32.127Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-11T04:17:32.797Z] + git rev-list -1 --merges fac54c85002fbba0025aa9bf0937156a622a7c44~1..fac54c85002fbba0025aa9bf0937156a622a7c44 [Pipeline] echo [2024-11-11T04:17:32.849Z] -----------> git rev-list -1 --merges fac54c85002fbba0025aa9bf0937156a622a7c44~1..fac54c85002fbba0025aa9bf0937156a622a7c44 fac54c85002fbba0025aa9bf0937156a622a7c44 [false] [Pipeline] sh [2024-11-11T04:17:33.178Z] + git log --format=format:%s -1 fac54c85002fbba0025aa9bf0937156a622a7c44 [Pipeline] echo [2024-11-11T04:17:33.230Z] ========================================================= [2024-11-11T04:17:33.230Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-11T04:17:33.230Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T04:17:33.694Z] + git log --format=format:%s -1 fac54c85002fbba0025aa9bf0937156a622a7c44 [Pipeline] echo [2024-11-11T04:17:33.736Z] [semverPrep] GIT_COMMIT: fac54c85002fbba0025aa9bf0937156a622a7c44, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v4 [Pipeline] echo [2024-11-11T04:17:33.784Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-11T04:17:34.291Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-11T04:17:34.291Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-11T04:17:34.291Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-11T04:17:34.291Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-11T04:17:34.291Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-11T04:17:34.291Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-11T04:17:34.291Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:17:34.760Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T04:17:34.760Z] [2024-11-11T04:17:34.760Z] 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-11T04:17:35.169Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T04:17:35.169Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-11T04:17:35.169Z] b85a868b505f: Pulling fs layer [2024-11-11T04:17:35.169Z] e2be974225ed: Pulling fs layer [2024-11-11T04:17:35.169Z] 339a4e72a1f5: Pulling fs layer [2024-11-11T04:17:35.169Z] 988bab9f4d93: Pulling fs layer [2024-11-11T04:17:35.169Z] 1469e6f7b9e6: Pulling fs layer [2024-11-11T04:17:35.169Z] eaf3925da568: Pulling fs layer [2024-11-11T04:17:35.169Z] bab4dde63d76: Pulling fs layer [2024-11-11T04:17:35.169Z] bde34c3a00c8: Pulling fs layer [2024-11-11T04:17:35.169Z] b352a97aabf1: Pulling fs layer [2024-11-11T04:17:35.169Z] 4872d77fe225: Pulling fs layer [2024-11-11T04:17:35.169Z] 5851b861e8e6: Pulling fs layer [2024-11-11T04:17:35.169Z] bab4dde63d76: Waiting [2024-11-11T04:17:35.169Z] bde34c3a00c8: Waiting [2024-11-11T04:17:35.169Z] b352a97aabf1: Waiting [2024-11-11T04:17:35.169Z] 988bab9f4d93: Waiting [2024-11-11T04:17:35.169Z] 1469e6f7b9e6: Waiting [2024-11-11T04:17:35.169Z] 4872d77fe225: Waiting [2024-11-11T04:17:35.169Z] 5851b861e8e6: Waiting [2024-11-11T04:17:35.169Z] eaf3925da568: Waiting [2024-11-11T04:17:35.169Z] e2be974225ed: Download complete [2024-11-11T04:17:35.169Z] 988bab9f4d93: Verifying Checksum [2024-11-11T04:17:35.169Z] 988bab9f4d93: Download complete [2024-11-11T04:17:35.169Z] 1469e6f7b9e6: Verifying Checksum [2024-11-11T04:17:35.169Z] 1469e6f7b9e6: Download complete [2024-11-11T04:17:35.169Z] 339a4e72a1f5: Verifying Checksum [2024-11-11T04:17:35.169Z] 339a4e72a1f5: Download complete [2024-11-11T04:17:35.169Z] eaf3925da568: Verifying Checksum [2024-11-11T04:17:35.169Z] eaf3925da568: Download complete [2024-11-11T04:17:35.430Z] bde34c3a00c8: Verifying Checksum [2024-11-11T04:17:35.430Z] bde34c3a00c8: Download complete [2024-11-11T04:17:35.430Z] b352a97aabf1: Verifying Checksum [2024-11-11T04:17:35.430Z] b352a97aabf1: Download complete [2024-11-11T04:17:35.430Z] 4872d77fe225: Download complete [2024-11-11T04:17:35.430Z] b85a868b505f: Download complete [2024-11-11T04:17:35.693Z] bab4dde63d76: Verifying Checksum [2024-11-11T04:17:35.693Z] bab4dde63d76: Download complete [2024-11-11T04:17:36.631Z] b85a868b505f: Pull complete [2024-11-11T04:17:36.891Z] e2be974225ed: Pull complete [2024-11-11T04:17:37.465Z] 339a4e72a1f5: Pull complete [2024-11-11T04:17:37.465Z] 988bab9f4d93: Pull complete [2024-11-11T04:17:37.727Z] 1469e6f7b9e6: Pull complete [2024-11-11T04:17:37.727Z] eaf3925da568: Pull complete [2024-11-11T04:17:39.631Z] bab4dde63d76: Pull complete [2024-11-11T04:17:39.891Z] bde34c3a00c8: Pull complete [2024-11-11T04:17:39.891Z] b352a97aabf1: Pull complete [2024-11-11T04:17:39.891Z] 4872d77fe225: Pull complete [2024-11-11T04:17:40.151Z] 5851b861e8e6: Pull complete [2024-11-11T04:17:40.151Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-11T04:17:40.151Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T04:17:40.151Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:17:40.452Z] prd-ubuntu20.04-docker-8c-8g-26104 does not seem to be running inside a container [2024-11-11T04:17:40.481Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1648 -v /w/workspace/gexfoundry_device-sdk-go_PR-1648:/w/workspace/gexfoundry_device-sdk-go_PR-1648:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-11T04:17:43.111Z] $ docker top d84290c59d46a3ddf79b9b932ccd6c1e7a0d124f87f59db4db2b19c7cee12ad4 -eo pid,comm [2024-11-11T04:17:43.167Z] 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-11T04:17:43.167Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-11T04:17:43.345Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-11T04:17:43.345Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-11T04:17:43.461Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-11T04:17:43.464Z] $ docker exec d84290c59d46a3ddf79b9b932ccd6c1e7a0d124f87f59db4db2b19c7cee12ad4 ssh-agent [2024-11-11T04:17:43.575Z] SSH_AUTH_SOCK=/tmp/ssh-PJaB57ZKQueY/agent.32 [2024-11-11T04:17:43.575Z] SSH_AGENT_PID=38 [2024-11-11T04:17:43.582Z] Running ssh-add (command line suppressed) [2024-11-11T04:17:43.696Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp/private_key_9346997352663288241.key (/w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp/private_key_9346997352663288241.key) [2024-11-11T04:17:43.710Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-11T04:17:44.064Z] + git tag --points-at HEAD [Pipeline] } [2024-11-11T04:17:44.092Z] $ docker exec --env ******** --env ******** d84290c59d46a3ddf79b9b932ccd6c1e7a0d124f87f59db4db2b19c7cee12ad4 ssh-agent -k [2024-11-11T04:17:44.194Z] unset SSH_AUTH_SOCK; [2024-11-11T04:17:44.195Z] unset SSH_AGENT_PID; [2024-11-11T04:17:44.195Z] echo Agent pid 38 killed; [2024-11-11T04:17:44.207Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-11T04:17:44.321Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-11T04:17:44.321Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-11T04:17:44.439Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-11T04:17:44.442Z] $ docker exec d84290c59d46a3ddf79b9b932ccd6c1e7a0d124f87f59db4db2b19c7cee12ad4 ssh-agent [2024-11-11T04:17:44.552Z] SSH_AUTH_SOCK=/tmp/ssh-3qp6vHQBxexC/agent.71 [2024-11-11T04:17:44.552Z] SSH_AGENT_PID=77 [2024-11-11T04:17:44.557Z] Running ssh-add (command line suppressed) [2024-11-11T04:17:44.670Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp/private_key_2295320069522535772.key (/w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp/private_key_2295320069522535772.key) [2024-11-11T04:17:44.690Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-11T04:17:45.037Z] + git semver init [2024-11-11T04:17:45.298Z] 2024-11-11 04:17:45,216 [run_init] DEBUG init version:0.0.0 force:False [2024-11-11T04:17:45.298Z] 2024-11-11 04:17:45,217 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1648/.semver [2024-11-11T04:17:45.298Z] 2024-11-11 04:17:45,218 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1648/.semver [2024-11-11T04:17:45.298Z] 2024-11-11 04:17:45,218 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1648/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1648, universal_newlines=False, shell=None, istream=None) [2024-11-11T04:17:47.839Z] 2024-11-11 04:17:47,312 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1648/.git/info/exclude [2024-11-11T04:17:47.839Z] 2024-11-11 04:17:47,312 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1648/.semver/PR-1648 with force:False [2024-11-11T04:17:47.839Z] 2024-11-11 04:17:47,312 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1648/.semver/PR-1648 [2024-11-11T04:17:47.839Z] 2024-11-11 04:17:47,315 [execute] INFO git cat-file --batch-check [2024-11-11T04:17:47.839Z] 2024-11-11 04:17:47,315 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1648/.semver, universal_newlines=False, shell=None, istream=) [2024-11-11T04:17:47.839Z] 2024-11-11 04:17:47,321 [execute] INFO git cat-file --batch [2024-11-11T04:17:47.839Z] 2024-11-11 04:17:47,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1648/.semver, universal_newlines=False, shell=None, istream=) [2024-11-11T04:17:47.839Z] 2024-11-11 04:17:47,325 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1648/.semver/PR-1648 [2024-11-11T04:17:47.839Z] 0.0.0 [Pipeline] } [2024-11-11T04:17:47.868Z] $ docker exec --env ******** --env ******** d84290c59d46a3ddf79b9b932ccd6c1e7a0d124f87f59db4db2b19c7cee12ad4 ssh-agent -k [2024-11-11T04:17:47.966Z] unset SSH_AUTH_SOCK; [2024-11-11T04:17:47.967Z] unset SSH_AGENT_PID; [2024-11-11T04:17:47.967Z] echo Agent pid 77 killed; [2024-11-11T04:17:47.977Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-11T04:17:48.458Z] + git semver [Pipeline] } [2024-11-11T04:17:48.747Z] $ docker stop --time=1 d84290c59d46a3ddf79b9b932ccd6c1e7a0d124f87f59db4db2b19c7cee12ad4 [2024-11-11T04:17:50.063Z] $ docker rm -f --volumes d84290c59d46a3ddf79b9b932ccd6c1e7a0d124f87f59db4db2b19c7cee12ad4 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T04:17:50.496Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-11T04:17:50.801Z] Stashed 1 file(s) [Pipeline] echo [2024-11-11T04:17:50.826Z] [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-11T04:17:51.541Z] provisioning config files... [2024-11-11T04:17:51.551Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp/config5925177971314753663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:17:51.918Z] ---> ****-login.sh [2024-11-11T04:17:51.918Z] nexus3.edgexfoundry.org:10001 [2024-11-11T04:17:51.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:17:51.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:17:51.918Z] Configure a credential helper to remove this warning. See [2024-11-11T04:17:51.918Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:17:51.918Z] [2024-11-11T04:17:51.918Z] Login Succeeded [2024-11-11T04:17:51.918Z] nexus3.edgexfoundry.org:10002 [2024-11-11T04:17:51.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:17:51.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:17:51.918Z] Configure a credential helper to remove this warning. See [2024-11-11T04:17:51.918Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:17:51.918Z] [2024-11-11T04:17:51.918Z] Login Succeeded [2024-11-11T04:17:51.918Z] nexus3.edgexfoundry.org:10003 [2024-11-11T04:17:52.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:17:52.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:17:52.183Z] Configure a credential helper to remove this warning. See [2024-11-11T04:17:52.183Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:17:52.183Z] [2024-11-11T04:17:52.183Z] Login Succeeded [2024-11-11T04:17:52.183Z] nexus3.edgexfoundry.org:10004 [2024-11-11T04:17:52.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:17:52.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:17:52.183Z] Configure a credential helper to remove this warning. See [2024-11-11T04:17:52.183Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:17:52.183Z] [2024-11-11T04:17:52.183Z] Login Succeeded [2024-11-11T04:17:52.183Z] ****.io [2024-11-11T04:17:52.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:17:52.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:17:52.446Z] Configure a credential helper to remove this warning. See [2024-11-11T04:17:52.447Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:17:52.447Z] [2024-11-11T04:17:52.447Z] Login Succeeded [2024-11-11T04:17:52.447Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T04:17:52.486Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-11T04:17:52.737Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T04:17:52.791Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T04:17:52.835Z] ========================================================= [2024-11-11T04:17:52.835Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-11T04:17:52.835Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:17:53.371Z] + 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-11T04:17:53.371Z] Sending build context to Docker daemon 25.61MB [2024-11-11T04:17:53.371Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T04:17:53.371Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-11T04:17:53.631Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-11T04:17:53.631Z] 43c4264eed91: Pulling fs layer [2024-11-11T04:17:53.631Z] 4cc291be95ef: Pulling fs layer [2024-11-11T04:17:53.631Z] 2ac1f1163629: Pulling fs layer [2024-11-11T04:17:53.631Z] 5c3c966382ef: Pulling fs layer [2024-11-11T04:17:53.631Z] 4f4fb700ef54: Pulling fs layer [2024-11-11T04:17:53.631Z] 5d5c8e513c77: Pulling fs layer [2024-11-11T04:17:53.631Z] 9f66e0745190: Pulling fs layer [2024-11-11T04:17:53.631Z] f49a43e4bbc0: Pulling fs layer [2024-11-11T04:17:53.631Z] 561ebcabdf7f: Pulling fs layer [2024-11-11T04:17:53.631Z] 5c3c966382ef: Waiting [2024-11-11T04:17:53.631Z] 4f4fb700ef54: Waiting [2024-11-11T04:17:53.631Z] 5d5c8e513c77: Waiting [2024-11-11T04:17:53.631Z] 9f66e0745190: Waiting [2024-11-11T04:17:53.631Z] f49a43e4bbc0: Waiting [2024-11-11T04:17:53.631Z] 561ebcabdf7f: Waiting [2024-11-11T04:17:53.631Z] 4cc291be95ef: Verifying Checksum [2024-11-11T04:17:53.631Z] 4cc291be95ef: Download complete [2024-11-11T04:17:53.631Z] 5c3c966382ef: Verifying Checksum [2024-11-11T04:17:53.631Z] 5c3c966382ef: Download complete [2024-11-11T04:17:53.631Z] 4f4fb700ef54: Verifying Checksum [2024-11-11T04:17:53.631Z] 4f4fb700ef54: Download complete [2024-11-11T04:17:53.631Z] 5d5c8e513c77: Verifying Checksum [2024-11-11T04:17:53.631Z] 5d5c8e513c77: Download complete [2024-11-11T04:17:53.631Z] 43c4264eed91: Download complete [2024-11-11T04:17:53.631Z] 9f66e0745190: Verifying Checksum [2024-11-11T04:17:53.631Z] 9f66e0745190: Download complete [2024-11-11T04:17:53.891Z] 43c4264eed91: Pull complete [2024-11-11T04:17:53.891Z] 561ebcabdf7f: Verifying Checksum [2024-11-11T04:17:53.891Z] 561ebcabdf7f: Download complete [2024-11-11T04:17:53.891Z] 4cc291be95ef: Pull complete [2024-11-11T04:17:54.151Z] 2ac1f1163629: Verifying Checksum [2024-11-11T04:17:54.151Z] 2ac1f1163629: Download complete [2024-11-11T04:17:54.411Z] f49a43e4bbc0: Verifying Checksum [2024-11-11T04:17:54.411Z] f49a43e4bbc0: Download complete [2024-11-11T04:17:57.703Z] 2ac1f1163629: Pull complete [2024-11-11T04:17:57.703Z] 5c3c966382ef: Pull complete [2024-11-11T04:17:57.964Z] 4f4fb700ef54: Pull complete [2024-11-11T04:17:57.964Z] 5d5c8e513c77: Pull complete [2024-11-11T04:17:57.964Z] 9f66e0745190: Pull complete [2024-11-11T04:18:00.502Z] f49a43e4bbc0: Pull complete [2024-11-11T04:18:01.079Z] 561ebcabdf7f: Pull complete [2024-11-11T04:18:01.079Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-11T04:18:01.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-11T04:18:01.079Z] ---> 3a752c3f9dda [2024-11-11T04:18:01.079Z] Step 3/10 : ARG MAKE=make build [2024-11-11T04:18:05.280Z] ---> Running in f14068f27f2f [2024-11-11T04:18:05.280Z] Removing intermediate container f14068f27f2f [2024-11-11T04:18:05.280Z] ---> 0bde2de7d67f [2024-11-11T04:18:05.280Z] Step 4/10 : WORKDIR /device-sdk-go [2024-11-11T04:18:05.280Z] ---> Running in 14811aa75f66 [2024-11-11T04:18:05.280Z] Removing intermediate container 14811aa75f66 [2024-11-11T04:18:05.280Z] ---> 931e734a6866 [2024-11-11T04:18:05.280Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-11T04:18:05.280Z] ---> Running in f2a5c92417d9 [2024-11-11T04:18:05.280Z] Removing intermediate container f2a5c92417d9 [2024-11-11T04:18:05.280Z] ---> b7e11cb4aa5f [2024-11-11T04:18:05.280Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-11-11T04:18:05.280Z] ---> Running in bbccfd4b0e04 [2024-11-11T04:18:05.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T04:18:05.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T04:18:06.110Z] OK: 246 MiB in 54 packages [2024-11-11T04:18:06.330Z] Still waiting to schedule task [2024-11-11T04:18:06.330Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-11T04:18:06.370Z] Removing intermediate container bbccfd4b0e04 [2024-11-11T04:18:06.370Z] ---> 2881a3b35cbc [2024-11-11T04:18:06.370Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-11T04:18:06.370Z] ---> 552b088a5836 [2024-11-11T04:18:06.370Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T04:18:06.370Z] ---> Running in 75c0f3ae15b4 [2024-11-11T04:19:02.675Z] Removing intermediate container 75c0f3ae15b4 [2024-11-11T04:19:02.675Z] ---> c18df0e0eaac [2024-11-11T04:19:02.675Z] Step 9/10 : COPY . . [2024-11-11T04:19:02.675Z] ---> e495b228ad6a [2024-11-11T04:19:02.675Z] Step 10/10 : RUN ${MAKE} [2024-11-11T04:19:02.675Z] ---> Running in afcaf9ac7657 [2024-11-11T04:19:02.675Z] noop [2024-11-11T04:19:02.675Z] Removing intermediate container afcaf9ac7657 [2024-11-11T04:19:02.675Z] ---> f88be93680ae [2024-11-11T04:19:02.675Z] Successfully built f88be93680ae [2024-11-11T04:19:02.675Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:19:03.204Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-11T04:19:03.204Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:19:03.409Z] prd-ubuntu20.04-docker-8c-8g-26104 does not seem to be running inside a container [2024-11-11T04:19:03.453Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1648 -v /w/workspace/gexfoundry_device-sdk-go_PR-1648:/w/workspace/gexfoundry_device-sdk-go_PR-1648:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-11T04:19:03.839Z] $ docker top 09c3630f7a6467f3feed9e0710cb8a80d442f676856e8454e07a841f23c705e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T04:19:04.257Z] + go version [2024-11-11T04:19:04.257Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-11T04:19:04.294Z] $ docker stop --time=1 09c3630f7a6467f3feed9e0710cb8a80d442f676856e8454e07a841f23c705e7 [2024-11-11T04:19:05.580Z] $ docker rm -f --volumes 09c3630f7a6467f3feed9e0710cb8a80d442f676856e8454e07a841f23c705e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:19:06.390Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-11T04:19:06.390Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:19:06.558Z] prd-ubuntu20.04-docker-8c-8g-26104 does not seem to be running inside a container [2024-11-11T04:19:06.609Z] $ 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-1648 -v /w/workspace/gexfoundry_device-sdk-go_PR-1648:/w/workspace/gexfoundry_device-sdk-go_PR-1648:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-11T04:19:06.959Z] $ docker top 8a004d27f3e7dee5a0039234eb7c1c14622665d31e6018fe5d0b4d580a91bb57 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T04:19:07.378Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1648 [Pipeline] fileExists [Pipeline] sh [2024-11-11T04:19:07.743Z] + make test [2024-11-11T04:19:07.743Z] go test -race -coverprofile=coverage.out ./... [2024-11-11T04:19:15.876Z] ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] [2024-11-11T04:19:54.619Z] github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements [2024-11-11T04:19:54.620Z] github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements [2024-11-11T04:19:54.620Z] github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements [2024-11-11T04:19:54.620Z] github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements [2024-11-11T04:19:54.620Z] github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements [2024-11-11T04:19:54.620Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.031s coverage: 28.7% of statements [2024-11-11T04:19:54.620Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.036s coverage: 79.4% of statements [2024-11-11T04:19:54.620Z] github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements [2024-11-11T04:19:54.620Z] github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements [2024-11-11T04:19:54.620Z] github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements [2024-11-11T04:19:54.620Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.042s coverage: 86.0% of statements [2024-11-11T04:19:54.620Z] ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] [2024-11-11T04:19:54.620Z] github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements [2024-11-11T04:19:54.620Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements [2024-11-11T04:19:54.620Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.086s coverage: 45.2% of statements [2024-11-11T04:19:54.620Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements [2024-11-11T04:19:56.527Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.045s coverage: 14.1% of statements [2024-11-11T04:19:56.527Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 3.287s coverage: 44.6% of statements [2024-11-11T04:19:56.527Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.053s coverage: 68.4% of statements [2024-11-11T04:19:56.527Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.090s coverage: 88.3% of statements [2024-11-11T04:19:56.527Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.053s coverage: 5.3% of statements [2024-11-11T04:20:28.607Z] GO111MODULE=on go vet ./... [2024-11-11T04:20:33.886Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-11T04:20:33.886Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-11T04:20:33.886Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-11T04:20:34.184Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-11T04:20:34.227Z] $ docker stop --time=1 8a004d27f3e7dee5a0039234eb7c1c14622665d31e6018fe5d0b4d580a91bb57 [2024-11-11T04:20:37.996Z] $ docker rm -f --volumes 8a004d27f3e7dee5a0039234eb7c1c14622665d31e6018fe5d0b4d580a91bb57 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T04:20:38.806Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-11T04:20:38.916Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-11T04:20:39.700Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-11T04:20:40.017Z] + ls -al . [2024-11-11T04:20:40.017Z] total 704 [2024-11-11T04:20:40.017Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 11 04:19 . [2024-11-11T04:20:40.017Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:17 .. [2024-11-11T04:20:40.017Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 04:17 .dockerignore [2024-11-11T04:20:40.017Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 04:19 .git [2024-11-11T04:20:40.017Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 04:17 .github [2024-11-11T04:20:40.017Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 11 04:17 .gitignore [2024-11-11T04:20:40.017Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 11 04:17 .golangci.yml [2024-11-11T04:20:40.017Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 04:17 .semver [2024-11-11T04:20:40.017Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 11 04:17 CHANGELOG.md [2024-11-11T04:20:40.017Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 04:17 GOVERNANCE.md [2024-11-11T04:20:40.017Z] -rw-rw-r-- 1 jenkins jenkins 882 Nov 11 04:17 Jenkinsfile [2024-11-11T04:20:40.017Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 11 04:17 LICENSE [2024-11-11T04:20:40.017Z] -rw-rw-r-- 1 jenkins jenkins 2424 Nov 11 04:17 Makefile [2024-11-11T04:20:40.017Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 11 04:17 OWNERS.md [2024-11-11T04:20:40.017Z] -rw-rw-r-- 1 jenkins jenkins 4937 Nov 11 04:17 README.md [2024-11-11T04:20:40.017Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 04:17 VERSION [2024-11-11T04:20:40.017Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:17 bin [2024-11-11T04:20:40.017Z] -rw-r--r-- 1 jenkins jenkins 468088 Nov 11 04:19 coverage.out [2024-11-11T04:20:40.017Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 04:17 example [2024-11-11T04:20:40.017Z] -rw-rw-r-- 1 jenkins jenkins 6229 Nov 11 04:17 go.mod [2024-11-11T04:20:40.017Z] -rw-rw-r-- 1 jenkins jenkins 87126 Nov 11 04:17 go.sum [2024-11-11T04:20:40.017Z] drwxrwxr-x 13 jenkins jenkins 4096 Nov 11 04:17 internal [2024-11-11T04:20:40.017Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:17 openapi [2024-11-11T04:20:40.017Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 11 04:17 pkg [2024-11-11T04:20:40.017Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:17 snap [2024-11-11T04:20:40.017Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 11 04:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:20:40.449Z] + 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=fac54c85002fbba0025aa9bf0937156a622a7c44 --label arch=amd64 --label version=0.0.0 . [2024-11-11T04:20:40.449Z] Sending build context to Docker daemon 26.08MB [2024-11-11T04:20:40.449Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T04:20:40.449Z] Step 2/24 : FROM ${BASE} AS builder [2024-11-11T04:20:40.449Z] ---> f88be93680ae [2024-11-11T04:20:40.449Z] Step 3/24 : ARG MAKE=make build [2024-11-11T04:20:41.022Z] ---> Running in bade951c482e [2024-11-11T04:20:41.022Z] Removing intermediate container bade951c482e [2024-11-11T04:20:41.022Z] ---> 4338768c5a82 [2024-11-11T04:20:41.022Z] Step 4/24 : WORKDIR /device-sdk-go [2024-11-11T04:20:41.022Z] ---> Running in 10268272adce [2024-11-11T04:20:41.022Z] Removing intermediate container 10268272adce [2024-11-11T04:20:41.022Z] ---> b5b3e9f53ed7 [2024-11-11T04:20:41.022Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-11T04:20:41.022Z] ---> Running in f498482e85fb [2024-11-11T04:20:41.282Z] Removing intermediate container f498482e85fb [2024-11-11T04:20:41.282Z] ---> 366c91ac1e18 [2024-11-11T04:20:41.282Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-11-11T04:20:41.282Z] ---> Running in 2240a73b471f [2024-11-11T04:20:41.541Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T04:20:41.541Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T04:20:41.802Z] OK: 246 MiB in 54 packages [2024-11-11T04:20:42.062Z] Removing intermediate container 2240a73b471f [2024-11-11T04:20:42.062Z] ---> 1dfb6f070087 [2024-11-11T04:20:42.062Z] Step 7/24 : COPY go.mod vendor* ./ [2024-11-11T04:20:42.323Z] ---> faac309e34bf [2024-11-11T04:20:42.323Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T04:20:42.323Z] ---> Running in 9c51a87cb437 [2024-11-11T04:20:42.894Z] Removing intermediate container 9c51a87cb437 [2024-11-11T04:20:42.894Z] ---> 4563e3749a5b [2024-11-11T04:20:42.894Z] Step 9/24 : COPY . . [2024-11-11T04:20:43.831Z] ---> 8f153c56a323 [2024-11-11T04:20:43.831Z] Step 10/24 : RUN ${MAKE} [2024-11-11T04:20:43.831Z] ---> Running in 6ca271e8aae4 [2024-11-11T04:20:43.831Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-11-11T04:21:15.921Z] Removing intermediate container 6ca271e8aae4 [2024-11-11T04:21:15.921Z] ---> 49e14cd478ee [2024-11-11T04:21:15.921Z] Step 11/24 : FROM alpine:3.20 [2024-11-11T04:21:15.921Z] 3.20: Pulling from library/alpine [2024-11-11T04:21:15.921Z] 43c4264eed91: Already exists [2024-11-11T04:21:15.921Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-11T04:21:15.921Z] Status: Downloaded newer image for alpine:3.20 [2024-11-11T04:21:15.921Z] ---> 91ef0af61f39 [2024-11-11T04:21:15.921Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-11-11T04:21:15.921Z] ---> Running in 80486c791041 [2024-11-11T04:21:15.921Z] Removing intermediate container 80486c791041 [2024-11-11T04:21:15.921Z] ---> 2044bf9028b0 [2024-11-11T04:21:15.921Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-11-11T04:21:15.921Z] ---> Running in f4f7eef5c71d [2024-11-11T04:21:15.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T04:21:16.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T04:21:16.444Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-11T04:21:16.444Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T04:21:16.444Z] OK: 8 MiB in 15 packages [2024-11-11T04:21:17.017Z] Removing intermediate container f4f7eef5c71d [2024-11-11T04:21:17.017Z] ---> c9d17966ab44 [2024-11-11T04:21:17.017Z] Step 14/24 : RUN apk --no-cache upgrade [2024-11-11T04:21:17.017Z] ---> Running in 952d6a56deeb [2024-11-11T04:21:17.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T04:21:17.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T04:21:17.542Z] Upgrading critical system libraries and apk-tools: [2024-11-11T04:21:17.542Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-11T04:21:17.542Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T04:21:17.542Z] Continuing the upgrade transaction with new apk-tools: [2024-11-11T04:21:17.542Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T04:21:17.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T04:21:18.066Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T04:21:18.066Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T04:21:18.066Z] OK: 8 MiB in 15 packages [2024-11-11T04:21:18.328Z] Removing intermediate container 952d6a56deeb [2024-11-11T04:21:18.328Z] ---> 8f3e8b245820 [2024-11-11T04:21:18.328Z] Step 15/24 : WORKDIR / [2024-11-11T04:21:18.328Z] ---> Running in 8b8d025407cc [2024-11-11T04:21:18.588Z] Removing intermediate container 8b8d025407cc [2024-11-11T04:21:18.588Z] ---> 5c7ff099730f [2024-11-11T04:21:18.588Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-11-11T04:21:18.588Z] ---> 3539da5ebe9c [2024-11-11T04:21:18.588Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-11-11T04:21:19.530Z] ---> e8b391d7eeba [2024-11-11T04:21:19.530Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-11-11T04:21:19.791Z] ---> 1226c0859c76 [2024-11-11T04:21:19.791Z] Step 19/24 : EXPOSE 59999 [2024-11-11T04:21:19.791Z] ---> Running in 534c80a4d0c7 [2024-11-11T04:21:19.791Z] Removing intermediate container 534c80a4d0c7 [2024-11-11T04:21:19.791Z] ---> 0f554b859416 [2024-11-11T04:21:19.791Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-11-11T04:21:19.791Z] ---> Running in d16c8d556ae8 [2024-11-11T04:21:19.791Z] Removing intermediate container d16c8d556ae8 [2024-11-11T04:21:19.791Z] ---> 82cdfba8c71e [2024-11-11T04:21:19.791Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-11-11T04:21:19.791Z] ---> Running in 962b60d4de98 [2024-11-11T04:21:20.051Z] Removing intermediate container 962b60d4de98 [2024-11-11T04:21:20.051Z] ---> 8ff628a17186 [2024-11-11T04:21:20.051Z] Step 22/24 : LABEL arch=amd64 [2024-11-11T04:21:20.051Z] ---> Running in b48d11c550e6 [2024-11-11T04:21:20.051Z] Removing intermediate container b48d11c550e6 [2024-11-11T04:21:20.051Z] ---> e3fcdede443d [2024-11-11T04:21:20.051Z] Step 23/24 : LABEL git_sha=fac54c85002fbba0025aa9bf0937156a622a7c44 [2024-11-11T04:21:20.051Z] ---> Running in 196d73737dd7 [2024-11-11T04:21:20.312Z] Removing intermediate container 196d73737dd7 [2024-11-11T04:21:20.312Z] ---> d234c7e84917 [2024-11-11T04:21:20.312Z] Step 24/24 : LABEL version=0.0.0 [2024-11-11T04:21:20.312Z] ---> Running in 6de41ad3c9dc [2024-11-11T04:21:20.312Z] Removing intermediate container 6de41ad3c9dc [2024-11-11T04:21:20.312Z] ---> 527519946e6f [2024-11-11T04:21:20.312Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-11T04:21:20.312Z] Successfully built 527519946e6f [2024-11-11T04:21:20.312Z] 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-11T04:21:21.359Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T04:21:21.359Z] [2024-11-11T04:21:21.359Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:21:21.757Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T04:21:21.757Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-11T04:21:21.757Z] 5eb5b503b376: Pulling fs layer [2024-11-11T04:21:21.757Z] 5c69ac0246d0: Pulling fs layer [2024-11-11T04:21:21.757Z] ec43610c2a17: Pulling fs layer [2024-11-11T04:21:21.757Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-11T04:21:21.757Z] 33b1e0a273af: Pulling fs layer [2024-11-11T04:21:21.757Z] 5d3b04190fa2: Pulling fs layer [2024-11-11T04:21:21.757Z] 2f39f015ded8: Pulling fs layer [2024-11-11T04:21:21.757Z] 5d3b04190fa2: Waiting [2024-11-11T04:21:21.757Z] 33b1e0a273af: Waiting [2024-11-11T04:21:21.757Z] 3a2ae6a8a46f: Waiting [2024-11-11T04:21:21.757Z] 5c69ac0246d0: Verifying Checksum [2024-11-11T04:21:21.757Z] 5c69ac0246d0: Download complete [2024-11-11T04:21:21.757Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-11T04:21:21.757Z] 3a2ae6a8a46f: Download complete [2024-11-11T04:21:21.757Z] 33b1e0a273af: Verifying Checksum [2024-11-11T04:21:21.757Z] 33b1e0a273af: Download complete [2024-11-11T04:21:21.757Z] 5d3b04190fa2: Download complete [2024-11-11T04:21:21.757Z] ec43610c2a17: Verifying Checksum [2024-11-11T04:21:21.757Z] ec43610c2a17: Download complete [2024-11-11T04:21:22.015Z] 5eb5b503b376: Download complete [2024-11-11T04:21:22.583Z] 2f39f015ded8: Download complete [2024-11-11T04:21:23.151Z] 5eb5b503b376: Pull complete [2024-11-11T04:21:23.151Z] 5c69ac0246d0: Pull complete [2024-11-11T04:21:23.721Z] ec43610c2a17: Pull complete [2024-11-11T04:21:23.721Z] 3a2ae6a8a46f: Pull complete [2024-11-11T04:21:23.990Z] 33b1e0a273af: Pull complete [2024-11-11T04:21:23.990Z] 5d3b04190fa2: Pull complete [2024-11-11T04:21:28.181Z] 2f39f015ded8: Pull complete [2024-11-11T04:21:28.181Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-11T04:21:28.181Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T04:21:28.181Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:21:28.437Z] prd-ubuntu20.04-docker-8c-8g-26104 does not seem to be running inside a container [2024-11-11T04:21:28.473Z] $ 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-1648 -v /w/workspace/gexfoundry_device-sdk-go_PR-1648:/w/workspace/gexfoundry_device-sdk-go_PR-1648:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-11T04:21:32.514Z] $ docker top 4d712ec468396c67c164edd99b05b8b749cb5637b82ddbc4fbda3449d0c4d72c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:21:32.979Z] ---> job-cost.sh [2024-11-11T04:21:32.979Z] lf-activate-venv: SKIPPING [2024-11-11T04:21:32.979Z] INFO: No Stack... [2024-11-11T04:21:33.548Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-11T04:21:33.808Z] INFO: Archiving Costs [Pipeline] sh [2024-11-11T04:21:34.129Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1648/archives/cost.csv [2024-11-11T04:21:34.129Z] + cut -d, -f6 [Pipeline] lock [2024-11-11T04:21:34.179Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1648-1-stack-cost] [2024-11-11T04:21:34.186Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1648-1-stack-cost] did not exist. Created. [2024-11-11T04:21:34.193Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1648-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-11T04:21:34.618Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-11T04:21:34.675Z] Stashed 1 file(s) [Pipeline] } [2024-11-11T04:21:34.707Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1648-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-11T04:21:34.797Z] $ docker stop --time=1 4d712ec468396c67c164edd99b05b8b749cb5637b82ddbc4fbda3449d0c4d72c [2024-11-11T04:21:35.950Z] $ docker rm -f --volumes 4d712ec468396c67c164edd99b05b8b749cb5637b82ddbc4fbda3449d0c4d72c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-11T04:21:44.990Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26106 in /w/workspace/gexfoundry_device-sdk-go_PR-1648 [Pipeline] { [Pipeline] ws [2024-11-11T04:21:45.063Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-11-11T04:21:48.171Z] The recommended git tool is: git [2024-11-11T04:21:54.647Z] using credential edgex-jenkins-ssh [2024-11-11T04:21:54.675Z] Cloning the remote Git repository [2024-11-11T04:21:54.747Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-11-11T04:21:54.885Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-11-11T04:21:55.132Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-11-11T04:21:55.133Z] > git --version # timeout=10 [2024-11-11T04:21:55.165Z] > git --version # 'git version 2.25.1' [2024-11-11T04:21:55.169Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T04:21:55.380Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-11T04:21:59.553Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-11-11T04:21:59.582Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-11T04:22:01.499Z] Merging remotes/origin/main commit 7f77e0e62202159fe6913cf9abaefab1a89f7492 into PR head commit fac54c85002fbba0025aa9bf0937156a622a7c44 [2024-11-11T04:22:00.804Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-11-11T04:22:00.858Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-11-11T04:22:00.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T04:22:00.890Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1648/head:refs/remotes/origin/PR-1648 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-11T04:22:01.526Z] > git config core.sparsecheckout # timeout=10 [2024-11-11T04:22:01.909Z] Merge succeeded, producing fac54c85002fbba0025aa9bf0937156a622a7c44 [2024-11-11T04:22:01.909Z] Checking out Revision fac54c85002fbba0025aa9bf0937156a622a7c44 (PR-1648) [2024-11-11T04:22:02.779Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v4" [2024-11-11T04:22:02.853Z] > git --version # timeout=10 [2024-11-11T04:22:02.869Z] > git --version # 'git version 2.25.1' [2024-11-11T04:22:02.892Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-11T04:22:01.623Z] > git checkout -f fac54c85002fbba0025aa9bf0937156a622a7c44 # timeout=10 [2024-11-11T04:22:01.763Z] > git remote # timeout=10 [2024-11-11T04:22:01.788Z] > git config --get remote.origin.url # timeout=10 [2024-11-11T04:22:01.811Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T04:22:01.845Z] > git merge 7f77e0e62202159fe6913cf9abaefab1a89f7492 # timeout=10 [2024-11-11T04:22:01.884Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-11T04:22:01.918Z] > git config core.sparsecheckout # timeout=10 [2024-11-11T04:22:01.945Z] > git checkout -f fac54c85002fbba0025aa9bf0937156a622a7c44 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T04:22:08.023Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-11T04:22:08.023Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-11T04:22:08.023Z] Dload Upload Total Spent Left Speed [2024-11-11T04:22:08.023Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2024-11-11T04:22:08.383Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-11T04:22:08.747Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-11T04:22:08.748Z] + sudo tee /etc/docker/daemon.new [2024-11-11T04:22:08.748Z] { [2024-11-11T04:22:08.748Z] "registry-mirrors": [ [2024-11-11T04:22:08.748Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-11T04:22:08.748Z] ], [2024-11-11T04:22:08.748Z] "bip": "10.250.0.254/24", [2024-11-11T04:22:08.748Z] "hosts": [ [2024-11-11T04:22:08.748Z] "tcp://0.0.0.0:5555", [2024-11-11T04:22:08.748Z] "unix:///var/run/docker.sock" [2024-11-11T04:22:08.748Z] ], [2024-11-11T04:22:08.748Z] "mtu": 1458, [2024-11-11T04:22:08.748Z] "selinux-enabled": true, [2024-11-11T04:22:08.748Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-11T04:22:08.748Z] } [Pipeline] sh [2024-11-11T04:22:09.107Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-11T04:22:09.467Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T04:22:27.841Z] provisioning config files... [2024-11-11T04:22:27.895Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8046956899716119224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:22:28.436Z] ---> ****-login.sh [2024-11-11T04:22:28.436Z] nexus3.edgexfoundry.org:10001 [2024-11-11T04:22:29.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:22:29.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:22:29.302Z] Configure a credential helper to remove this warning. See [2024-11-11T04:22:29.302Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:22:29.302Z] [2024-11-11T04:22:29.302Z] Login Succeeded [2024-11-11T04:22:29.302Z] nexus3.edgexfoundry.org:10002 [2024-11-11T04:22:29.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:22:29.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:22:29.576Z] Configure a credential helper to remove this warning. See [2024-11-11T04:22:29.576Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:22:29.576Z] [2024-11-11T04:22:29.576Z] Login Succeeded [2024-11-11T04:22:29.576Z] nexus3.edgexfoundry.org:10003 [2024-11-11T04:22:29.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:22:30.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:22:30.126Z] Configure a credential helper to remove this warning. See [2024-11-11T04:22:30.126Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:22:30.126Z] [2024-11-11T04:22:30.126Z] Login Succeeded [2024-11-11T04:22:30.126Z] nexus3.edgexfoundry.org:10004 [2024-11-11T04:22:30.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:22:30.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:22:30.398Z] Configure a credential helper to remove this warning. See [2024-11-11T04:22:30.398Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:22:30.398Z] [2024-11-11T04:22:30.398Z] Login Succeeded [2024-11-11T04:22:30.398Z] ****.io [2024-11-11T04:22:30.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:22:30.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:22:30.947Z] Configure a credential helper to remove this warning. See [2024-11-11T04:22:30.947Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:22:30.947Z] [2024-11-11T04:22:30.947Z] Login Succeeded [2024-11-11T04:22:30.947Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T04:22:30.982Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-11T04:22:31.593Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T04:22:31.647Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T04:22:31.697Z] ========================================================= [2024-11-11T04:22:31.697Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-11T04:22:31.697Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:22:32.250Z] + 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-11T04:22:32.858Z] Sending build context to Docker daemon 13.27MB [2024-11-11T04:22:32.858Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T04:22:32.858Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-11T04:22:33.466Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-11T04:22:33.466Z] cf04c63912e1: Pulling fs layer [2024-11-11T04:22:33.466Z] 55b35a11ae5e: Pulling fs layer [2024-11-11T04:22:33.466Z] a37a00ec5f00: Pulling fs layer [2024-11-11T04:22:33.466Z] 50b3750afda1: Pulling fs layer [2024-11-11T04:22:33.466Z] 4f4fb700ef54: Pulling fs layer [2024-11-11T04:22:33.466Z] 50b3750afda1: Waiting [2024-11-11T04:22:33.466Z] 4f4fb700ef54: Waiting [2024-11-11T04:22:33.466Z] 80978eb59214: Pulling fs layer [2024-11-11T04:22:33.466Z] c9f46d7d2bd2: Pulling fs layer [2024-11-11T04:22:33.466Z] c5a475d317c9: Pulling fs layer [2024-11-11T04:22:33.466Z] 80978eb59214: Waiting [2024-11-11T04:22:33.466Z] c9f46d7d2bd2: Waiting [2024-11-11T04:22:33.466Z] c5a475d317c9: Waiting [2024-11-11T04:22:33.466Z] 55b35a11ae5e: Verifying Checksum [2024-11-11T04:22:33.466Z] 55b35a11ae5e: Download complete [2024-11-11T04:22:33.466Z] 50b3750afda1: Verifying Checksum [2024-11-11T04:22:33.466Z] 50b3750afda1: Download complete [2024-11-11T04:22:33.466Z] 4f4fb700ef54: Verifying Checksum [2024-11-11T04:22:33.466Z] 4f4fb700ef54: Download complete [2024-11-11T04:22:33.466Z] 80978eb59214: Verifying Checksum [2024-11-11T04:22:33.466Z] 80978eb59214: Download complete [2024-11-11T04:22:33.466Z] cf04c63912e1: Verifying Checksum [2024-11-11T04:22:33.466Z] cf04c63912e1: Download complete [2024-11-11T04:22:34.071Z] c5a475d317c9: Verifying Checksum [2024-11-11T04:22:34.071Z] c5a475d317c9: Download complete [2024-11-11T04:22:35.058Z] cf04c63912e1: Pull complete [2024-11-11T04:22:35.669Z] 55b35a11ae5e: Pull complete [2024-11-11T04:22:35.962Z] a37a00ec5f00: Verifying Checksum [2024-11-11T04:22:35.962Z] a37a00ec5f00: Download complete [2024-11-11T04:22:36.558Z] c9f46d7d2bd2: Verifying Checksum [2024-11-11T04:22:36.558Z] c9f46d7d2bd2: Download complete [2024-11-11T04:22:51.667Z] a37a00ec5f00: Pull complete [2024-11-11T04:22:51.667Z] 50b3750afda1: Pull complete [2024-11-11T04:22:51.667Z] 4f4fb700ef54: Pull complete [2024-11-11T04:22:51.667Z] 80978eb59214: Pull complete [2024-11-11T04:22:59.891Z] c9f46d7d2bd2: Pull complete [2024-11-11T04:23:00.856Z] c5a475d317c9: Pull complete [2024-11-11T04:23:00.856Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-11T04:23:00.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-11T04:23:00.856Z] ---> be29e6b0f0d4 [2024-11-11T04:23:00.856Z] Step 3/10 : ARG MAKE=make build [2024-11-11T04:23:01.822Z] ---> Running in 7effca715635 [2024-11-11T04:23:02.097Z] Removing intermediate container 7effca715635 [2024-11-11T04:23:02.097Z] ---> 4e03da1672c3 [2024-11-11T04:23:02.097Z] Step 4/10 : WORKDIR /device-sdk-go [2024-11-11T04:23:02.368Z] ---> Running in 27799935fd3f [2024-11-11T04:23:02.640Z] Removing intermediate container 27799935fd3f [2024-11-11T04:23:02.640Z] ---> 0f8a7e677916 [2024-11-11T04:23:02.640Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-11T04:23:02.640Z] ---> Running in 8117faca0fa2 [2024-11-11T04:23:03.237Z] Removing intermediate container 8117faca0fa2 [2024-11-11T04:23:03.237Z] ---> aa12dabd6682 [2024-11-11T04:23:03.237Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-11-11T04:23:03.237Z] ---> Running in e59d9d03bbbb [2024-11-11T04:23:04.661Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T04:23:04.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T04:23:06.354Z] OK: 238 MiB in 54 packages [2024-11-11T04:23:07.779Z] Removing intermediate container e59d9d03bbbb [2024-11-11T04:23:07.779Z] ---> 7b8889a7673f [2024-11-11T04:23:07.779Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-11T04:23:08.048Z] ---> e028e42cf1a0 [2024-11-11T04:23:08.048Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T04:23:08.327Z] ---> Running in f8667e279421 [2024-11-11T04:25:15.304Z] Removing intermediate container f8667e279421 [2024-11-11T04:25:15.304Z] ---> d9654d2a8f45 [2024-11-11T04:25:15.304Z] Step 9/10 : COPY . . [2024-11-11T04:25:15.304Z] ---> 1754652765ff [2024-11-11T04:25:15.304Z] Step 10/10 : RUN ${MAKE} [2024-11-11T04:25:15.304Z] ---> Running in 81fc268e1da1 [2024-11-11T04:25:15.304Z] noop [2024-11-11T04:25:15.304Z] Removing intermediate container 81fc268e1da1 [2024-11-11T04:25:15.304Z] ---> 65d29546b7b7 [2024-11-11T04:25:15.304Z] Successfully built 65d29546b7b7 [2024-11-11T04:25:15.304Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:25:15.837Z] + docker inspect -f . ci-base-image-arm64 [2024-11-11T04:25:15.837Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:25:16.156Z] prd-ubuntu20.04-docker-arm64-4c-16g-26106 does not seem to be running inside a container [2024-11-11T04:25:16.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-11T04:25:17.468Z] $ docker top 445f06e55fca206b2f0cd4d386e13c0fa97e9aaa48950d9e7c984d08fae2174f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T04:25:18.397Z] + go version [2024-11-11T04:25:18.397Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-11T04:25:18.438Z] $ docker stop --time=1 445f06e55fca206b2f0cd4d386e13c0fa97e9aaa48950d9e7c984d08fae2174f [2024-11-11T04:25:20.116Z] $ docker rm -f --volumes 445f06e55fca206b2f0cd4d386e13c0fa97e9aaa48950d9e7c984d08fae2174f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:25:21.085Z] + docker inspect -f . ci-base-image-arm64 [2024-11-11T04:25:21.085Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:25:21.378Z] prd-ubuntu20.04-docker-arm64-4c-16g-26106 does not seem to be running inside a container [2024-11-11T04:25:21.453Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-11T04:25:22.639Z] $ docker top b1caec18d6574a6ce9f95e53c9fc16be7b869365bb018f43e723d5fbfeb74774 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T04:25:23.560Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-11-11T04:25:24.316Z] + make test [2024-11-11T04:25:24.316Z] go test -race -coverprofile=coverage.out ./... [2024-11-11T04:26:32.911Z] ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] [2024-11-11T04:30:09.733Z] github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements [2024-11-11T04:30:09.733Z] github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements [2024-11-11T04:30:09.733Z] github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements [2024-11-11T04:30:09.733Z] github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements [2024-11-11T04:30:09.733Z] github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements [2024-11-11T04:30:24.745Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.178s coverage: 28.7% of statements [2024-11-11T04:30:29.038Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.180s coverage: 79.4% of statements [2024-11-11T04:30:39.128Z] github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements [2024-11-11T04:30:39.128Z] github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements [2024-11-11T04:30:40.086Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.300s coverage: 86.0% of statements [2024-11-11T04:30:52.396Z] github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements [2024-11-11T04:30:53.353Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.662s coverage: 45.2% of statements [2024-11-11T04:30:55.938Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.294s coverage: 14.1% of statements [2024-11-11T04:30:55.938Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 4.356s coverage: 44.6% of statements [2024-11-11T04:31:01.293Z] ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] [2024-11-11T04:31:01.294Z] github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements [2024-11-11T04:31:01.294Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements [2024-11-11T04:31:01.876Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.450s coverage: 68.4% of statements [2024-11-11T04:31:08.554Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.358s coverage: 88.3% of statements [2024-11-11T04:31:15.208Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements [2024-11-11T04:31:15.476Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.301s coverage: 5.3% of statements [2024-11-11T04:31:16.890Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-11T04:31:16.890Z] GO111MODULE=on go vet ./... [2024-11-11T04:35:23.880Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-11T04:35:23.880Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-11T04:35:23.880Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-11T04:35:23.929Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-11T04:35:23.967Z] $ docker stop --time=1 b1caec18d6574a6ce9f95e53c9fc16be7b869365bb018f43e723d5fbfeb74774 [2024-11-11T04:35:26.144Z] $ docker rm -f --volumes b1caec18d6574a6ce9f95e53c9fc16be7b869365bb018f43e723d5fbfeb74774 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T04:35:28.865Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-11T04:35:28.908Z] Warning: overwriting stash ‘coverage-report’ [2024-11-11T04:35:29.798Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T04:35:30.460Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-11T04:35:30.840Z] + ls -al . [2024-11-11T04:35:30.840Z] total 700 [2024-11-11T04:35:30.840Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 04:25 . [2024-11-11T04:35:30.840Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:21 .. [2024-11-11T04:35:30.840Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 04:22 .dockerignore [2024-11-11T04:35:30.840Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 04:22 .git [2024-11-11T04:35:30.840Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 04:22 .github [2024-11-11T04:35:30.840Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 11 04:22 .gitignore [2024-11-11T04:35:30.840Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 11 04:22 .golangci.yml [2024-11-11T04:35:30.840Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 11 04:22 CHANGELOG.md [2024-11-11T04:35:30.840Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 04:22 GOVERNANCE.md [2024-11-11T04:35:30.840Z] -rw-rw-r-- 1 jenkins jenkins 882 Nov 11 04:22 Jenkinsfile [2024-11-11T04:35:30.840Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 11 04:22 LICENSE [2024-11-11T04:35:30.840Z] -rw-rw-r-- 1 jenkins jenkins 2424 Nov 11 04:22 Makefile [2024-11-11T04:35:30.840Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 11 04:22 OWNERS.md [2024-11-11T04:35:30.840Z] -rw-rw-r-- 1 jenkins jenkins 4937 Nov 11 04:22 README.md [2024-11-11T04:35:30.840Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 04:17 VERSION [2024-11-11T04:35:30.840Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:22 bin [2024-11-11T04:35:30.840Z] -rw-r--r-- 1 jenkins jenkins 468087 Nov 11 04:31 coverage.out [2024-11-11T04:35:30.840Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 04:22 example [2024-11-11T04:35:30.840Z] -rw-rw-r-- 1 jenkins jenkins 6229 Nov 11 04:22 go.mod [2024-11-11T04:35:30.840Z] -rw-rw-r-- 1 jenkins jenkins 87126 Nov 11 04:22 go.sum [2024-11-11T04:35:30.840Z] drwxrwxr-x 13 jenkins jenkins 4096 Nov 11 04:22 internal [2024-11-11T04:35:30.840Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:22 openapi [2024-11-11T04:35:30.840Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 11 04:22 pkg [2024-11-11T04:35:30.840Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:22 snap [2024-11-11T04:35:30.840Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 11 04:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:35:31.313Z] + 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=fac54c85002fbba0025aa9bf0937156a622a7c44 --label arch=arm64 --label version=0.0.0 . [2024-11-11T04:35:31.907Z] Sending build context to Docker daemon 13.74MB [2024-11-11T04:35:31.907Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T04:35:31.907Z] Step 2/24 : FROM ${BASE} AS builder [2024-11-11T04:35:31.907Z] ---> 65d29546b7b7 [2024-11-11T04:35:31.907Z] Step 3/24 : ARG MAKE=make build [2024-11-11T04:35:32.178Z] ---> Running in 16d9195a08b0 [2024-11-11T04:35:32.448Z] Removing intermediate container 16d9195a08b0 [2024-11-11T04:35:32.448Z] ---> 95a5b8a42b23 [2024-11-11T04:35:32.448Z] Step 4/24 : WORKDIR /device-sdk-go [2024-11-11T04:35:32.448Z] ---> Running in c78a42891101 [2024-11-11T04:35:33.035Z] Removing intermediate container c78a42891101 [2024-11-11T04:35:33.035Z] ---> 7390b25d7cba [2024-11-11T04:35:33.035Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-11T04:35:33.035Z] ---> Running in d30ec93b92a1 [2024-11-11T04:35:33.303Z] Removing intermediate container d30ec93b92a1 [2024-11-11T04:35:33.303Z] ---> 35562576953e [2024-11-11T04:35:33.303Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-11-11T04:35:33.303Z] ---> Running in 186bb2e24ecf [2024-11-11T04:35:34.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T04:35:34.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T04:35:36.954Z] OK: 238 MiB in 54 packages [2024-11-11T04:35:37.931Z] Removing intermediate container 186bb2e24ecf [2024-11-11T04:35:37.931Z] ---> 5b51367efde6 [2024-11-11T04:35:37.931Z] Step 7/24 : COPY go.mod vendor* ./ [2024-11-11T04:35:38.201Z] ---> 347ae420d255 [2024-11-11T04:35:38.201Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T04:35:38.470Z] ---> Running in ba5774ad0bf4 [2024-11-11T04:35:41.059Z] Removing intermediate container ba5774ad0bf4 [2024-11-11T04:35:41.059Z] ---> bc7805f08edd [2024-11-11T04:35:41.059Z] Step 9/24 : COPY . . [2024-11-11T04:35:42.473Z] ---> e647524e818b [2024-11-11T04:35:42.473Z] Step 10/24 : RUN ${MAKE} [2024-11-11T04:35:42.740Z] ---> Running in 4cb80adee361 [2024-11-11T04:35:43.703Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-11-11T04:39:35.671Z] Removing intermediate container 4cb80adee361 [2024-11-11T04:39:35.671Z] ---> 3a41641a8c93 [2024-11-11T04:39:35.671Z] Step 11/24 : FROM alpine:3.20 [2024-11-11T04:39:35.671Z] 3.20: Pulling from library/alpine [2024-11-11T04:39:35.671Z] cf04c63912e1: Already exists [2024-11-11T04:39:35.671Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-11T04:39:35.671Z] Status: Downloaded newer image for alpine:3.20 [2024-11-11T04:39:35.671Z] ---> c157a85ed455 [2024-11-11T04:39:35.671Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-11-11T04:39:35.671Z] ---> Running in 87259f9b321d [2024-11-11T04:39:35.671Z] Removing intermediate container 87259f9b321d [2024-11-11T04:39:35.671Z] ---> 846c11bea8ec [2024-11-11T04:39:35.671Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-11-11T04:39:35.671Z] ---> Running in cf43419ff864 [2024-11-11T04:39:35.671Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T04:39:35.671Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T04:39:35.671Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-11T04:39:35.671Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T04:39:35.671Z] OK: 9 MiB in 15 packages [2024-11-11T04:39:35.671Z] Removing intermediate container cf43419ff864 [2024-11-11T04:39:35.671Z] ---> ef60b2fec1ae [2024-11-11T04:39:35.671Z] Step 14/24 : RUN apk --no-cache upgrade [2024-11-11T04:39:35.671Z] ---> Running in e072cabc4018 [2024-11-11T04:39:35.671Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T04:39:35.671Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T04:39:37.090Z] Upgrading critical system libraries and apk-tools: [2024-11-11T04:39:37.090Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-11T04:39:37.090Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T04:39:37.359Z] Continuing the upgrade transaction with new apk-tools: [2024-11-11T04:39:37.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T04:39:37.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T04:39:39.577Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T04:39:39.577Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T04:39:39.577Z] OK: 9 MiB in 15 packages [2024-11-11T04:39:40.995Z] Removing intermediate container e072cabc4018 [2024-11-11T04:39:40.995Z] ---> dee63a9916a4 [2024-11-11T04:39:40.995Z] Step 15/24 : WORKDIR / [2024-11-11T04:39:40.995Z] ---> Running in ff3491780259 [2024-11-11T04:39:40.995Z] Removing intermediate container ff3491780259 [2024-11-11T04:39:40.995Z] ---> 154df1b227d6 [2024-11-11T04:39:40.995Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-11-11T04:39:41.583Z] ---> 6ca780bed2a5 [2024-11-11T04:39:41.583Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-11-11T04:39:44.172Z] ---> 5b09ad86e968 [2024-11-11T04:39:44.172Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-11-11T04:39:44.764Z] ---> 22d370c178d9 [2024-11-11T04:39:44.764Z] Step 19/24 : EXPOSE 59999 [2024-11-11T04:39:44.764Z] ---> Running in dcbde826f8e8 [2024-11-11T04:39:45.036Z] Removing intermediate container dcbde826f8e8 [2024-11-11T04:39:45.036Z] ---> d80059f0f106 [2024-11-11T04:39:45.036Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-11-11T04:39:45.036Z] ---> Running in dacb886c9fca [2024-11-11T04:39:45.315Z] Removing intermediate container dacb886c9fca [2024-11-11T04:39:45.315Z] ---> b02de5d34e6d [2024-11-11T04:39:45.315Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-11-11T04:39:45.587Z] ---> Running in dab7b1638b25 [2024-11-11T04:39:45.857Z] Removing intermediate container dab7b1638b25 [2024-11-11T04:39:45.857Z] ---> 5160e28c46f5 [2024-11-11T04:39:45.857Z] Step 22/24 : LABEL arch=arm64 [2024-11-11T04:39:45.857Z] ---> Running in dcbe056c99be [2024-11-11T04:39:46.441Z] Removing intermediate container dcbe056c99be [2024-11-11T04:39:46.441Z] ---> f0abb8792fec [2024-11-11T04:39:46.441Z] Step 23/24 : LABEL git_sha=fac54c85002fbba0025aa9bf0937156a622a7c44 [2024-11-11T04:39:46.441Z] ---> Running in 8f1ab634de60 [2024-11-11T04:39:46.708Z] Removing intermediate container 8f1ab634de60 [2024-11-11T04:39:46.708Z] ---> a1c199925018 [2024-11-11T04:39:46.708Z] Step 24/24 : LABEL version=0.0.0 [2024-11-11T04:39:46.708Z] ---> Running in 971b4744cabb [2024-11-11T04:39:47.359Z] Removing intermediate container 971b4744cabb [2024-11-11T04:39:47.359Z] ---> c1cf7869e700 [2024-11-11T04:39:47.359Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-11T04:39:47.359Z] Successfully built c1cf7869e700 [2024-11-11T04:39:47.359Z] 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-11T04:39:48.259Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T04:39:48.259Z] [2024-11-11T04:39:48.259Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:39:48.727Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T04:39:48.727Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-11T04:39:48.727Z] 8998bd30e6a1: Pulling fs layer [2024-11-11T04:39:48.727Z] 04944245beec: Pulling fs layer [2024-11-11T04:39:48.727Z] 699f458cf7ca: Pulling fs layer [2024-11-11T04:39:48.727Z] 765212b225bb: Pulling fs layer [2024-11-11T04:39:48.727Z] f23df028b6ca: Pulling fs layer [2024-11-11T04:39:48.727Z] d65c8cfc05b1: Pulling fs layer [2024-11-11T04:39:48.727Z] 2437ff75d9bd: Pulling fs layer [2024-11-11T04:39:48.727Z] f23df028b6ca: Waiting [2024-11-11T04:39:48.727Z] 765212b225bb: Waiting [2024-11-11T04:39:48.727Z] d65c8cfc05b1: Waiting [2024-11-11T04:39:48.727Z] 2437ff75d9bd: Waiting [2024-11-11T04:39:49.016Z] 04944245beec: Verifying Checksum [2024-11-11T04:39:49.016Z] 04944245beec: Download complete [2024-11-11T04:39:49.016Z] 765212b225bb: Verifying Checksum [2024-11-11T04:39:49.016Z] 765212b225bb: Download complete [2024-11-11T04:39:49.016Z] f23df028b6ca: Verifying Checksum [2024-11-11T04:39:49.016Z] f23df028b6ca: Download complete [2024-11-11T04:39:49.016Z] d65c8cfc05b1: Verifying Checksum [2024-11-11T04:39:49.016Z] d65c8cfc05b1: Download complete [2024-11-11T04:39:49.292Z] 699f458cf7ca: Verifying Checksum [2024-11-11T04:39:49.293Z] 699f458cf7ca: Download complete [2024-11-11T04:39:49.884Z] 8998bd30e6a1: Verifying Checksum [2024-11-11T04:39:49.884Z] 8998bd30e6a1: Download complete [2024-11-11T04:39:52.500Z] 2437ff75d9bd: Verifying Checksum [2024-11-11T04:39:52.500Z] 2437ff75d9bd: Download complete [2024-11-11T04:39:55.097Z] 8998bd30e6a1: Pull complete [2024-11-11T04:39:55.366Z] 04944245beec: Pull complete [2024-11-11T04:39:56.783Z] 699f458cf7ca: Pull complete [2024-11-11T04:39:57.052Z] 765212b225bb: Pull complete [2024-11-11T04:39:58.021Z] f23df028b6ca: Pull complete [2024-11-11T04:39:58.292Z] d65c8cfc05b1: Pull complete [2024-11-11T04:40:13.293Z] 2437ff75d9bd: Pull complete [2024-11-11T04:40:13.293Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-11T04:40:13.293Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T04:40:13.293Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:40:13.669Z] prd-ubuntu20.04-docker-arm64-4c-16g-26106 does not seem to be running inside a container [2024-11-11T04:40:13.738Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-11T04:40:16.679Z] $ docker top 5f9a87ba1073bb5f94424eda0b3840b0fb3223e4e93a686d22899055b48d39bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:40:17.623Z] ---> job-cost.sh [2024-11-11T04:40:17.623Z] lf-activate-venv: SKIPPING [2024-11-11T04:40:17.623Z] INFO: No Stack... [2024-11-11T04:40:17.889Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-11T04:40:18.855Z] INFO: Archiving Costs [Pipeline] sh [2024-11-11T04:40:19.218Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-11-11T04:40:19.218Z] + cut -d, -f6 [Pipeline] lock [2024-11-11T04:40:19.567Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1648-1-stack-cost] [2024-11-11T04:40:19.574Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1648-1-stack-cost] did not exist. Created. [2024-11-11T04:40:19.580Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1648-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-11T04:40:20.339Z] /w/workspace/device-sdk-go/1@tmp/durable-7d8d3d39/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-11T04:40:21.029Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-11T04:40:21.073Z] Warning: overwriting stash ‘stack-cost’ [2024-11-11T04:40:21.167Z] Stashed 1 file(s) [Pipeline] } [2024-11-11T04:40:21.188Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1648-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-11T04:40:21.280Z] $ docker stop --time=1 5f9a87ba1073bb5f94424eda0b3840b0fb3223e4e93a686d22899055b48d39bb [2024-11-11T04:40:22.770Z] $ docker rm -f --volumes 5f9a87ba1073bb5f94424eda0b3840b0fb3223e4e93a686d22899055b48d39bb [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-11T04:40:23.988Z] provisioning config files... [2024-11-11T04:40:23.995Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp/config8126527135276338932tmp [Pipeline] { [Pipeline] sh [2024-11-11T04:40:24.351Z] + set +x [2024-11-11T04:40:24.352Z] + bash -s -- [2024-11-11T04:40:24.352Z] + curl -s https://codecov.io/bash [2024-11-11T04:40:24.352Z] [2024-11-11T04:40:24.352Z] _____ _ [2024-11-11T04:40:24.352Z] / ____| | | [2024-11-11T04:40:24.352Z] | | ___ __| | ___ ___ _____ __ [2024-11-11T04:40:24.352Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-11T04:40:24.352Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-11T04:40:24.352Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-11T04:40:24.352Z] Bash-1.0.6 [2024-11-11T04:40:24.352Z] [2024-11-11T04:40:24.352Z] [2024-11-11T04:40:24.352Z] ==> git version 2.25.1 found [2024-11-11T04:40:24.352Z] ==> 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-11T04:40:24.352Z] Release-Date: 2020-01-08 [2024-11-11T04:40:24.352Z] 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-11T04:40:24.352Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-11T04:40:24.352Z] ==> Jenkins CI detected. [2024-11-11T04:40:24.352Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1648 [2024-11-11T04:40:24.352Z] project root: . [2024-11-11T04:40:24.352Z] --> token set from env [2024-11-11T04:40:24.352Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-11T04:40:24.612Z] ==> Running gcov in . (disable via -X gcov) [2024-11-11T04:40:24.612Z] ==> Python coveragepy not found [2024-11-11T04:40:24.612Z] ==> Searching for coverage reports in: [2024-11-11T04:40:24.612Z] + . [2024-11-11T04:40:24.612Z] -> Found 1 reports [2024-11-11T04:40:24.612Z] ==> Detecting git/mercurial file structure [2024-11-11T04:40:24.612Z] ==> Reading reports [2024-11-11T04:40:24.612Z] + ./coverage.out bytes=468087 [2024-11-11T04:40:24.612Z] ==> Appending adjustments [2024-11-11T04:40:24.612Z] https://docs.codecov.io/docs/fixing-reports [2024-11-11T04:40:24.872Z] + Found adjustments [2024-11-11T04:40:24.872Z] ==> Gzipping contents [2024-11-11T04:40:24.872Z] 44K /tmp/codecov.3D5dO7.gz [2024-11-11T04:40:24.872Z] ==> Uploading reports [2024-11-11T04:40:24.872Z] url: https://codecov.io [2024-11-11T04:40:24.872Z] query: branch=PR-1648&commit=fac54c85002fbba0025aa9bf0937156a622a7c44&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1648%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1648&job=&cmd_args= [2024-11-11T04:40:24.872Z] -> Pinging Codecov [2024-11-11T04:40:24.872Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1648&commit=fac54c85002fbba0025aa9bf0937156a622a7c44&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1648%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1648&job=&cmd_args= [2024-11-11T04:40:25.131Z] -> Uploading to [2024-11-11T04:40:25.131Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/fac54c85002fbba0025aa9bf0937156a622a7c44/4b058ee6-2ece-4e1c-8204-ee5ab0fcc1dd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241111%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241111T044024Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=a199722aaa2bfeb1e9eb97bc0ce0d31c118007ffe159308f5dd77dd551aeaf9f [2024-11-11T04:40:25.131Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-11T04:40:25.131Z] Dload Upload Total Spent Left Speed [2024-11-11T04:40:25.398Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44815 0 0 100 44815 0 152k --:--:-- --:--:-- --:--:-- 152k [2024-11-11T04:40:25.398Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/fac54c85002fbba0025aa9bf0937156a622a7c44 [Pipeline] } [2024-11-11T04:40:25.432Z] 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-11T04:40:27.714Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1648/archives ] [2024-11-11T04:40:27.715Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1648/archives [2024-11-11T04:40:27.715Z] total 16 [2024-11-11T04:40:27.715Z] drwxr-xr-x 3 root root 4096 Nov 11 04:21 . [2024-11-11T04:40:27.715Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 11 04:21 .. [2024-11-11T04:40:27.715Z] drwxr-xr-x 2 root root 4096 Nov 11 04:21 cost [2024-11-11T04:40:27.715Z] -rw-r--r-- 1 root root 86 Nov 11 04:21 cost.csv [2024-11-11T04:40:27.715Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1648/archives [2024-11-11T04:40:27.715Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1648/archives [2024-11-11T04:40:27.715Z] total 16 [2024-11-11T04:40:27.715Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 04:21 . [2024-11-11T04:40:27.715Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 11 04:21 .. [2024-11-11T04:40:27.715Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 11 04:21 cost [2024-11-11T04:40:27.715Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 11 04:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:40:28.057Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:40:28.988Z] ---> package-listing.sh [2024-11-11T04:40:28.988Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-11T04:40:28.988Z] ++ facter osfamily [2024-11-11T04:40:29.247Z] + OS_FAMILY=debian [2024-11-11T04:40:29.247Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1648 [2024-11-11T04:40:29.247Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-11T04:40:29.247Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-11T04:40:29.247Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-11T04:40:29.247Z] + PACKAGES=/tmp/packages_start.txt [2024-11-11T04:40:29.247Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1648 ']' [2024-11-11T04:40:29.247Z] + PACKAGES=/tmp/packages_end.txt [2024-11-11T04:40:29.247Z] + case "${OS_FAMILY}" in [2024-11-11T04:40:29.247Z] + dpkg -l [2024-11-11T04:40:29.247Z] + grep '^ii' [2024-11-11T04:40:29.247Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-11T04:40:29.247Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-11T04:40:29.247Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-11T04:40:29.247Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1648 ']' [2024-11-11T04:40:29.247Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1648/archives/ [2024-11-11T04:40:29.247Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1648/archives/ [Pipeline] echo [2024-11-11T04:40:29.294Z] 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-1648/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-11T04:40:29.593Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:40:30.243Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T04:40:30.243Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:40:30.423Z] prd-ubuntu20.04-docker-8c-8g-26104 does not seem to be running inside a container [2024-11-11T04:40:30.450Z] $ 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-1648/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-1648 -v /w/workspace/gexfoundry_device-sdk-go_PR-1648:/w/workspace/gexfoundry_device-sdk-go_PR-1648:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-11T04:40:30.667Z] $ docker top 4304ed8190abd3098f1d91f11fa51c3594ad0bbf3fd9a6c95d6369729b0f7656 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T04:40:31.148Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-11T04:40:31.524Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-11T04:40:31.877Z] + ls /var/log/sa-host [2024-11-11T04:40:31.877Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T04:40:32.182Z] provisioning config files... [2024-11-11T04:40:32.192Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1648@tmp/config544035272514896925tmp [Pipeline] { [Pipeline] echo [2024-11-11T04:40:32.269Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:40:32.592Z] ---> create-netrc.sh [Pipeline] } [2024-11-11T04:40:32.636Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:40:33.064Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-11T04:40:33.099Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:40:33.421Z] ---> sudo-logs.sh [2024-11-11T04:40:33.421Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-11T04:40:33.520Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:40:33.845Z] ---> job-cost.sh [2024-11-11T04:40:33.846Z] lf-activate-venv: SKIPPING [2024-11-11T04:40:33.846Z] DEBUG: total: 0.2199999988079071 [2024-11-11T04:40:33.846Z] INFO: Retrieving Stack Cost... [2024-11-11T04:40:34.104Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-11T04:40:34.363Z] INFO: Archiving Costs [Pipeline] echo [2024-11-11T04:40:34.409Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:40:34.736Z] ---> logs-deploy.sh [2024-11-11T04:40:34.736Z] lf-activate-venv: SKIPPING [2024-11-11T04:40:34.736Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1648/1 [2024-11-11T04:40:34.736Z] INFO: archiving workspace using pattern(s): [2024-11-11T04:40:35.675Z] Archives upload complete. [2024-11-11T04:40:35.675Z] INFO: archiving logs to Nexus