Pull request #1650 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0e67c1faaa7eb59d118993c0cffc937256b6c1d5+18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 (65f28dc49c601aa7c96c8e446c39651b1d5c13dc) 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-ssh2776773269254637602.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-ssh7112017380414470509.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-1650/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-1650/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10450770438551965183.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-1650/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14260267178324079789.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-ssh12042787052710257885.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-1650/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-1650/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4500003130895454196.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-26324 in /w/workspace/gexfoundry_device-sdk-go_PR-1650 [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-1650 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 into PR head commit 0e67c1faaa7eb59d118993c0cffc937256b6c1d5 Merge succeeded, producing 0e67c1faaa7eb59d118993c0cffc937256b6c1d5 Checking out Revision 0e67c1faaa7eb59d118993c0cffc937256b6c1d5 (PR-1650) 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 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/1650/head:refs/remotes/origin/PR-1650 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e67c1faaa7eb59d118993c0cffc937256b6c1d5 # 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 18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e67c1faaa7eb59d118993c0cffc937256b6c1d5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-13T04:17:08.905Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-13T04:17:09.124Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-13T04:17:09.251Z] ========================================================= [2024-11-13T04:17:09.251Z] EdgeX Global Pipelines Version Info [2024-11-13T04:17:09.251Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-13T04:17:10.410Z] ------------------- [2024-11-13T04:17:10.410Z] stable info: [2024-11-13T04:17:10.410Z] ------------------- [2024-11-13T04:17:10.410Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-13T04:17:10.410Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-13T04:17:10.410Z] Message: update stable to v1.0.265 [2024-11-13T04:17:10.670Z] ------------------- [2024-11-13T04:17:10.670Z] experimental info: [2024-11-13T04:17:10.670Z] ------------------- [2024-11-13T04:17:10.670Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-13T04:17:10.670Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-13T04:17:10.670Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-13T04:17:10.886Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-11-13T04:17:10.947Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-11-13T04:17:10.998Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-13T04:17:11.054Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-13T04:17:11.107Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-13T04:17:11.162Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-13T04:17:11.233Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-13T04:17:11.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-11-13T04:17:11.352Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-13T04:17:11.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-13T04:17:11.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-13T04:17:11.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-11-13T04:17:11.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-13T04:17:11.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-13T04:17:11.689Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-13T04:17:11.745Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-11-13T04:17:11.801Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-13T04:17:11.854Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-13T04:17:11.907Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-13T04:17:11.954Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-13T04:17:12.012Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-11-13T04:17:12.064Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo [2024-11-13T04:17:12.112Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-13T04:17:12.164Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-13T04:17:12.222Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-13T04:17:12.283Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-13T04:17:12.344Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-13T04:17:12.401Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1650 [Pipeline] echo [2024-11-13T04:17:12.458Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1650 [Pipeline] echo [2024-11-13T04:17:12.513Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1650 [Pipeline] echo [2024-11-13T04:17:12.565Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e67c1faaa7eb59d118993c0cffc937256b6c1d5 [Pipeline] echo [2024-11-13T04:17:12.618Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e67c1f [Pipeline] echo [2024-11-13T04:17:12.668Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-13T04:17:12.799Z] provisioning config files... [2024-11-13T04:17:12.818Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1650@tmp/config10765261096484486311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-13T04:17:13.203Z] ---> ****-login.sh [2024-11-13T04:17:13.203Z] nexus3.edgexfoundry.org:10001 [2024-11-13T04:17:13.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T04:17:13.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T04:17:13.466Z] Configure a credential helper to remove this warning. See [2024-11-13T04:17:13.466Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T04:17:13.466Z] [2024-11-13T04:17:13.467Z] Login Succeeded [2024-11-13T04:17:13.467Z] nexus3.edgexfoundry.org:10002 [2024-11-13T04:17:13.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T04:17:13.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T04:17:13.730Z] Configure a credential helper to remove this warning. See [2024-11-13T04:17:13.730Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T04:17:13.730Z] [2024-11-13T04:17:13.730Z] Login Succeeded [2024-11-13T04:17:13.731Z] nexus3.edgexfoundry.org:10003 [2024-11-13T04:17:13.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T04:17:13.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T04:17:13.731Z] Configure a credential helper to remove this warning. See [2024-11-13T04:17:13.731Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T04:17:13.731Z] [2024-11-13T04:17:13.731Z] Login Succeeded [2024-11-13T04:17:13.731Z] nexus3.edgexfoundry.org:10004 [2024-11-13T04:17:13.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T04:17:13.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T04:17:13.992Z] Configure a credential helper to remove this warning. See [2024-11-13T04:17:13.992Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T04:17:13.992Z] [2024-11-13T04:17:13.992Z] Login Succeeded [2024-11-13T04:17:13.992Z] ****.io [2024-11-13T04:17:13.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T04:17:14.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T04:17:14.252Z] Configure a credential helper to remove this warning. See [2024-11-13T04:17:14.252Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T04:17:14.252Z] [2024-11-13T04:17:14.252Z] Login Succeeded [2024-11-13T04:17:14.252Z] ---> ****-login.sh ends [Pipeline] } [2024-11-13T04:17:14.276Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-13T04:17:14.944Z] + git rev-list -1 --merges 0e67c1faaa7eb59d118993c0cffc937256b6c1d5~1..0e67c1faaa7eb59d118993c0cffc937256b6c1d5 [Pipeline] echo [2024-11-13T04:17:14.994Z] -----------> git rev-list -1 --merges 0e67c1faaa7eb59d118993c0cffc937256b6c1d5~1..0e67c1faaa7eb59d118993c0cffc937256b6c1d5 0e67c1faaa7eb59d118993c0cffc937256b6c1d5 [false] [Pipeline] sh [2024-11-13T04:17:15.319Z] + git log --format=format:%s -1 0e67c1faaa7eb59d118993c0cffc937256b6c1d5 [Pipeline] echo [2024-11-13T04:17:15.361Z] ========================================================= [2024-11-13T04:17:15.361Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-13T04:17:15.361Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-13T04:17:15.816Z] + git log --format=format:%s -1 0e67c1faaa7eb59d118993c0cffc937256b6c1d5 [Pipeline] echo [2024-11-13T04:17:15.851Z] [semverPrep] GIT_COMMIT: 0e67c1faaa7eb59d118993c0cffc937256b6c1d5, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v4 [Pipeline] echo [2024-11-13T04:17:15.889Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-13T04:17:16.307Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-13T04:17:16.307Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-13T04:17:16.307Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-13T04:17:16.307Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-13T04:17:16.307Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-13T04:17:16.307Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-13T04:17:16.307Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T04:17:16.743Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-13T04:17:16.743Z] [2024-11-13T04:17:16.743Z] 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-13T04:17:17.131Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-13T04:17:17.131Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-13T04:17:17.131Z] b85a868b505f: Pulling fs layer [2024-11-13T04:17:17.131Z] e2be974225ed: Pulling fs layer [2024-11-13T04:17:17.131Z] 339a4e72a1f5: Pulling fs layer [2024-11-13T04:17:17.131Z] 988bab9f4d93: Pulling fs layer [2024-11-13T04:17:17.131Z] 1469e6f7b9e6: Pulling fs layer [2024-11-13T04:17:17.131Z] eaf3925da568: Pulling fs layer [2024-11-13T04:17:17.131Z] bab4dde63d76: Pulling fs layer [2024-11-13T04:17:17.131Z] bde34c3a00c8: Pulling fs layer [2024-11-13T04:17:17.131Z] b352a97aabf1: Pulling fs layer [2024-11-13T04:17:17.131Z] 4872d77fe225: Pulling fs layer [2024-11-13T04:17:17.131Z] 5851b861e8e6: Pulling fs layer [2024-11-13T04:17:17.131Z] 988bab9f4d93: Waiting [2024-11-13T04:17:17.131Z] bde34c3a00c8: Waiting [2024-11-13T04:17:17.131Z] b352a97aabf1: Waiting [2024-11-13T04:17:17.131Z] 4872d77fe225: Waiting [2024-11-13T04:17:17.131Z] 1469e6f7b9e6: Waiting [2024-11-13T04:17:17.131Z] eaf3925da568: Waiting [2024-11-13T04:17:17.131Z] bab4dde63d76: Waiting [2024-11-13T04:17:17.131Z] 5851b861e8e6: Waiting [2024-11-13T04:17:17.131Z] e2be974225ed: Download complete [2024-11-13T04:17:17.131Z] 988bab9f4d93: Verifying Checksum [2024-11-13T04:17:17.131Z] 988bab9f4d93: Download complete [2024-11-13T04:17:17.131Z] 1469e6f7b9e6: Verifying Checksum [2024-11-13T04:17:17.131Z] 1469e6f7b9e6: Download complete [2024-11-13T04:17:17.131Z] 339a4e72a1f5: Verifying Checksum [2024-11-13T04:17:17.131Z] 339a4e72a1f5: Download complete [2024-11-13T04:17:17.390Z] eaf3925da568: Verifying Checksum [2024-11-13T04:17:17.390Z] eaf3925da568: Download complete [2024-11-13T04:17:17.390Z] bde34c3a00c8: Download complete [2024-11-13T04:17:17.390Z] b352a97aabf1: Verifying Checksum [2024-11-13T04:17:17.390Z] b352a97aabf1: Download complete [2024-11-13T04:17:17.390Z] 4872d77fe225: Verifying Checksum [2024-11-13T04:17:17.390Z] 4872d77fe225: Download complete [2024-11-13T04:17:17.390Z] 5851b861e8e6: Download complete [2024-11-13T04:17:17.390Z] b85a868b505f: Verifying Checksum [2024-11-13T04:17:17.390Z] b85a868b505f: Download complete [2024-11-13T04:17:17.650Z] bab4dde63d76: Verifying Checksum [2024-11-13T04:17:17.650Z] bab4dde63d76: Download complete [2024-11-13T04:17:18.617Z] b85a868b505f: Pull complete [2024-11-13T04:17:18.876Z] e2be974225ed: Pull complete [2024-11-13T04:17:19.142Z] 339a4e72a1f5: Pull complete [2024-11-13T04:17:19.402Z] 988bab9f4d93: Pull complete [2024-11-13T04:17:19.660Z] 1469e6f7b9e6: Pull complete [2024-11-13T04:17:19.660Z] eaf3925da568: Pull complete [2024-11-13T04:17:21.566Z] bab4dde63d76: Pull complete [2024-11-13T04:17:21.566Z] bde34c3a00c8: Pull complete [2024-11-13T04:17:21.566Z] b352a97aabf1: Pull complete [2024-11-13T04:17:21.566Z] 4872d77fe225: Pull complete [2024-11-13T04:17:21.566Z] 5851b861e8e6: Pull complete [2024-11-13T04:17:21.566Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-13T04:17:21.826Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-13T04:17:21.826Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-13T04:17:22.115Z] prd-ubuntu20.04-docker-8c-8g-26324 does not seem to be running inside a container [2024-11-13T04:17:22.144Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1650 -v /w/workspace/gexfoundry_device-sdk-go_PR-1650:/w/workspace/gexfoundry_device-sdk-go_PR-1650:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1650@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1650@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-13T04:17:25.080Z] $ docker top 249f9bc04c15461c3721e712dd1d38868b840dcf9367ba761dde1c4fb342cf9e -eo pid,comm [2024-11-13T04:17:25.138Z] 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-13T04:17:25.138Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-13T04:17:25.311Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-13T04:17:25.311Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-13T04:17:25.419Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-13T04:17:25.421Z] $ docker exec 249f9bc04c15461c3721e712dd1d38868b840dcf9367ba761dde1c4fb342cf9e ssh-agent [2024-11-13T04:17:25.527Z] SSH_AUTH_SOCK=/tmp/ssh-gOKhc9JQuiz5/agent.33 [2024-11-13T04:17:25.527Z] SSH_AGENT_PID=39 [2024-11-13T04:17:25.534Z] Running ssh-add (command line suppressed) [2024-11-13T04:17:25.627Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1650@tmp/private_key_6737326663530109098.key (/w/workspace/gexfoundry_device-sdk-go_PR-1650@tmp/private_key_6737326663530109098.key) [2024-11-13T04:17:25.642Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-13T04:17:25.990Z] + git tag --points-at HEAD [Pipeline] } [2024-11-13T04:17:26.019Z] $ docker exec --env ******** --env ******** 249f9bc04c15461c3721e712dd1d38868b840dcf9367ba761dde1c4fb342cf9e ssh-agent -k [2024-11-13T04:17:26.118Z] unset SSH_AUTH_SOCK; [2024-11-13T04:17:26.119Z] unset SSH_AGENT_PID; [2024-11-13T04:17:26.119Z] echo Agent pid 39 killed; [2024-11-13T04:17:26.130Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-13T04:17:26.244Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-13T04:17:26.244Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-13T04:17:26.355Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-13T04:17:26.356Z] $ docker exec 249f9bc04c15461c3721e712dd1d38868b840dcf9367ba761dde1c4fb342cf9e ssh-agent [2024-11-13T04:17:26.469Z] SSH_AUTH_SOCK=/tmp/ssh-ixlX7RnYumVg/agent.72 [2024-11-13T04:17:26.469Z] SSH_AGENT_PID=78 [2024-11-13T04:17:26.474Z] Running ssh-add (command line suppressed) [2024-11-13T04:17:26.577Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1650@tmp/private_key_2725658752698110278.key (/w/workspace/gexfoundry_device-sdk-go_PR-1650@tmp/private_key_2725658752698110278.key) [2024-11-13T04:17:26.596Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-13T04:17:26.939Z] + git semver init [2024-11-13T04:17:27.205Z] 2024-11-13 04:17:27,127 [run_init] DEBUG init version:0.0.0 force:False [2024-11-13T04:17:27.205Z] 2024-11-13 04:17:27,128 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1650/.semver [2024-11-13T04:17:27.205Z] 2024-11-13 04:17:27,128 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1650/.semver [2024-11-13T04:17:27.205Z] 2024-11-13 04:17:27,129 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1650/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1650, universal_newlines=False, shell=None, istream=None) [2024-11-13T04:17:28.581Z] 2024-11-13 04:17:28,377 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1650/.git/info/exclude [2024-11-13T04:17:28.581Z] 2024-11-13 04:17:28,377 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1650/.semver/PR-1650 with force:False [2024-11-13T04:17:28.581Z] 2024-11-13 04:17:28,378 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1650/.semver/PR-1650 [2024-11-13T04:17:28.581Z] 2024-11-13 04:17:28,382 [execute] INFO git cat-file --batch-check [2024-11-13T04:17:28.581Z] 2024-11-13 04:17:28,383 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1650/.semver, universal_newlines=False, shell=None, istream=) [2024-11-13T04:17:28.581Z] 2024-11-13 04:17:28,388 [execute] INFO git cat-file --batch [2024-11-13T04:17:28.581Z] 2024-11-13 04:17:28,389 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1650/.semver, universal_newlines=False, shell=None, istream=) [2024-11-13T04:17:28.581Z] 2024-11-13 04:17:28,394 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1650/.semver/PR-1650 [2024-11-13T04:17:28.581Z] 0.0.0 [Pipeline] } [2024-11-13T04:17:28.664Z] $ docker exec --env ******** --env ******** 249f9bc04c15461c3721e712dd1d38868b840dcf9367ba761dde1c4fb342cf9e ssh-agent -k [2024-11-13T04:17:28.764Z] unset SSH_AUTH_SOCK; [2024-11-13T04:17:28.765Z] unset SSH_AGENT_PID; [2024-11-13T04:17:28.765Z] echo Agent pid 78 killed; [2024-11-13T04:17:28.778Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-13T04:17:29.250Z] + git semver [Pipeline] } [2024-11-13T04:17:29.537Z] $ docker stop --time=1 249f9bc04c15461c3721e712dd1d38868b840dcf9367ba761dde1c4fb342cf9e [2024-11-13T04:17:30.837Z] $ docker rm -f --volumes 249f9bc04c15461c3721e712dd1d38868b840dcf9367ba761dde1c4fb342cf9e [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-13T04:17:31.254Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-13T04:17:31.567Z] Stashed 1 file(s) [Pipeline] echo [2024-11-13T04:17:31.591Z] [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-13T04:17:32.353Z] provisioning config files... [2024-11-13T04:17:32.364Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1650@tmp/config18354335477759322137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-13T04:17:32.736Z] ---> ****-login.sh [2024-11-13T04:17:32.736Z] nexus3.edgexfoundry.org:10001 [2024-11-13T04:17:32.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T04:17:32.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T04:17:32.737Z] Configure a credential helper to remove this warning. See [2024-11-13T04:17:32.737Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T04:17:32.737Z] [2024-11-13T04:17:32.737Z] Login Succeeded [2024-11-13T04:17:32.737Z] nexus3.edgexfoundry.org:10002 [2024-11-13T04:17:32.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T04:17:32.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T04:17:32.737Z] Configure a credential helper to remove this warning. See [2024-11-13T04:17:32.737Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T04:17:32.737Z] [2024-11-13T04:17:32.737Z] Login Succeeded [2024-11-13T04:17:32.737Z] nexus3.edgexfoundry.org:10003 [2024-11-13T04:17:32.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T04:17:32.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T04:17:32.998Z] Configure a credential helper to remove this warning. See [2024-11-13T04:17:32.998Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T04:17:32.998Z] [2024-11-13T04:17:32.998Z] Login Succeeded [2024-11-13T04:17:32.998Z] nexus3.edgexfoundry.org:10004 [2024-11-13T04:17:32.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T04:17:32.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T04:17:32.998Z] Configure a credential helper to remove this warning. See [2024-11-13T04:17:32.998Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T04:17:32.998Z] [2024-11-13T04:17:32.998Z] Login Succeeded [2024-11-13T04:17:32.998Z] ****.io [2024-11-13T04:17:32.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T04:17:33.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T04:17:33.258Z] Configure a credential helper to remove this warning. See [2024-11-13T04:17:33.258Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T04:17:33.258Z] [2024-11-13T04:17:33.258Z] Login Succeeded [2024-11-13T04:17:33.258Z] ---> ****-login.sh ends [Pipeline] } [2024-11-13T04:17:33.291Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-13T04:17:33.531Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-13T04:17:33.578Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-13T04:17:33.625Z] ========================================================= [2024-11-13T04:17:33.625Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-13T04:17:33.625Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T04:17:34.147Z] + 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-13T04:17:34.147Z] Sending build context to Docker daemon 24.85MB [2024-11-13T04:17:34.147Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-13T04:17:34.147Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-13T04:17:34.406Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-13T04:17:34.406Z] 43c4264eed91: Pulling fs layer [2024-11-13T04:17:34.406Z] 4cc291be95ef: Pulling fs layer [2024-11-13T04:17:34.406Z] 2ac1f1163629: Pulling fs layer [2024-11-13T04:17:34.406Z] 5c3c966382ef: Pulling fs layer [2024-11-13T04:17:34.407Z] 4f4fb700ef54: Pulling fs layer [2024-11-13T04:17:34.407Z] 5d5c8e513c77: Pulling fs layer [2024-11-13T04:17:34.407Z] 9f66e0745190: Pulling fs layer [2024-11-13T04:17:34.407Z] f49a43e4bbc0: Pulling fs layer [2024-11-13T04:17:34.407Z] 561ebcabdf7f: Pulling fs layer [2024-11-13T04:17:34.407Z] 4f4fb700ef54: Waiting [2024-11-13T04:17:34.407Z] 5d5c8e513c77: Waiting [2024-11-13T04:17:34.407Z] 9f66e0745190: Waiting [2024-11-13T04:17:34.407Z] f49a43e4bbc0: Waiting [2024-11-13T04:17:34.407Z] 561ebcabdf7f: Waiting [2024-11-13T04:17:34.407Z] 5c3c966382ef: Waiting [2024-11-13T04:17:34.407Z] 4cc291be95ef: Download complete [2024-11-13T04:17:34.407Z] 5c3c966382ef: Verifying Checksum [2024-11-13T04:17:34.407Z] 5c3c966382ef: Download complete [2024-11-13T04:17:34.407Z] 4f4fb700ef54: Verifying Checksum [2024-11-13T04:17:34.407Z] 4f4fb700ef54: Download complete [2024-11-13T04:17:34.407Z] 5d5c8e513c77: Verifying Checksum [2024-11-13T04:17:34.407Z] 5d5c8e513c77: Download complete [2024-11-13T04:17:34.407Z] 43c4264eed91: Verifying Checksum [2024-11-13T04:17:34.407Z] 43c4264eed91: Download complete [2024-11-13T04:17:34.407Z] 9f66e0745190: Verifying Checksum [2024-11-13T04:17:34.407Z] 9f66e0745190: Download complete [2024-11-13T04:17:34.665Z] 43c4264eed91: Pull complete [2024-11-13T04:17:34.665Z] 561ebcabdf7f: Verifying Checksum [2024-11-13T04:17:34.665Z] 561ebcabdf7f: Download complete [2024-11-13T04:17:34.665Z] 4cc291be95ef: Pull complete [2024-11-13T04:17:34.926Z] 2ac1f1163629: Verifying Checksum [2024-11-13T04:17:34.926Z] 2ac1f1163629: Download complete [2024-11-13T04:17:35.185Z] f49a43e4bbc0: Verifying Checksum [2024-11-13T04:17:35.185Z] f49a43e4bbc0: Download complete [2024-11-13T04:17:38.470Z] 2ac1f1163629: Pull complete [2024-11-13T04:17:38.470Z] 5c3c966382ef: Pull complete [2024-11-13T04:17:38.470Z] 4f4fb700ef54: Pull complete [2024-11-13T04:17:38.470Z] 5d5c8e513c77: Pull complete [2024-11-13T04:17:38.470Z] 9f66e0745190: Pull complete [2024-11-13T04:17:40.372Z] f49a43e4bbc0: Pull complete [2024-11-13T04:17:40.635Z] 561ebcabdf7f: Pull complete [2024-11-13T04:17:40.894Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-13T04:17:40.894Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-13T04:17:40.894Z] ---> 3a752c3f9dda [2024-11-13T04:17:40.894Z] Step 3/10 : ARG MAKE=make build [2024-11-13T04:17:45.202Z] ---> Running in cf56923397dd [2024-11-13T04:17:45.202Z] Removing intermediate container cf56923397dd [2024-11-13T04:17:45.202Z] ---> dcfe93cafb0f [2024-11-13T04:17:45.202Z] Step 4/10 : WORKDIR /device-sdk-go [2024-11-13T04:17:45.202Z] ---> Running in 2845830eba1f [2024-11-13T04:17:45.202Z] Removing intermediate container 2845830eba1f [2024-11-13T04:17:45.202Z] ---> 5a64f5b05218 [2024-11-13T04:17:45.202Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-13T04:17:45.202Z] ---> Running in 13778649945b [2024-11-13T04:17:45.202Z] Removing intermediate container 13778649945b [2024-11-13T04:17:45.202Z] ---> 2870f1f10210 [2024-11-13T04:17:45.202Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-11-13T04:17:45.202Z] ---> Running in 0989943dee4a [2024-11-13T04:17:45.461Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-13T04:17:45.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-13T04:17:45.980Z] OK: 246 MiB in 54 packages [2024-11-13T04:17:46.239Z] Removing intermediate container 0989943dee4a [2024-11-13T04:17:46.239Z] ---> ba1632699831 [2024-11-13T04:17:46.239Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-13T04:17:46.499Z] ---> f3a8a733e783 [2024-11-13T04:17:46.499Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-13T04:17:46.499Z] ---> Running in 1f2f0e81ff92 [2024-11-13T04:17:47.146Z] Still waiting to schedule task [2024-11-13T04:17:47.146Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-11-13T04:18:42.750Z] Removing intermediate container 1f2f0e81ff92 [2024-11-13T04:18:42.750Z] ---> fa1b03d41dd3 [2024-11-13T04:18:42.750Z] Step 9/10 : COPY . . [2024-11-13T04:18:42.750Z] ---> da20f1c33e26 [2024-11-13T04:18:42.750Z] Step 10/10 : RUN ${MAKE} [2024-11-13T04:18:42.750Z] ---> Running in 78fb1a773fc6 [2024-11-13T04:18:42.750Z] noop [2024-11-13T04:18:43.010Z] Removing intermediate container 78fb1a773fc6 [2024-11-13T04:18:43.010Z] ---> 51388df920b3 [2024-11-13T04:18:43.010Z] Successfully built 51388df920b3 [2024-11-13T04:18:43.010Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T04:18:43.494Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-13T04:18:43.494Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-13T04:18:43.686Z] prd-ubuntu20.04-docker-8c-8g-26324 does not seem to be running inside a container [2024-11-13T04:18:43.722Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1650 -v /w/workspace/gexfoundry_device-sdk-go_PR-1650:/w/workspace/gexfoundry_device-sdk-go_PR-1650:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1650@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1650@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-13T04:18:44.043Z] $ docker top cab7bbae03815d54ac3fa6d2458373724cb2b3e387ca56fdda4d773c272d5a33 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-13T04:18:44.461Z] + go version [2024-11-13T04:18:44.461Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-13T04:18:44.494Z] $ docker stop --time=1 cab7bbae03815d54ac3fa6d2458373724cb2b3e387ca56fdda4d773c272d5a33 [2024-11-13T04:18:45.746Z] $ docker rm -f --volumes cab7bbae03815d54ac3fa6d2458373724cb2b3e387ca56fdda4d773c272d5a33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T04:18:46.588Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-13T04:18:46.588Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-13T04:18:46.767Z] prd-ubuntu20.04-docker-8c-8g-26324 does not seem to be running inside a container [2024-11-13T04:18:46.791Z] $ 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-1650 -v /w/workspace/gexfoundry_device-sdk-go_PR-1650:/w/workspace/gexfoundry_device-sdk-go_PR-1650:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1650@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1650@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-13T04:18:47.096Z] $ docker top c89ca4f3e594d376518955a7471b75a235215d650f2553666b242b1ee5ca2191 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-13T04:18:47.508Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1650 [Pipeline] fileExists [Pipeline] sh [2024-11-13T04:18:47.892Z] + make test [2024-11-13T04:18:47.892Z] go test -race -coverprofile=coverage.out ./... [2024-11-13T04:18:56.014Z] ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] [2024-11-13T04:19:28.101Z] github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements [2024-11-13T04:19:28.101Z] github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements [2024-11-13T04:19:28.101Z] github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements [2024-11-13T04:19:28.101Z] github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements [2024-11-13T04:19:28.101Z] github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements [2024-11-13T04:19:28.101Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.033s coverage: 28.7% of statements [2024-11-13T04:19:28.101Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.049s coverage: 79.4% of statements [2024-11-13T04:19:29.478Z] github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements [2024-11-13T04:19:29.478Z] github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements [2024-11-13T04:19:30.045Z] github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements [2024-11-13T04:19:30.305Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.049s coverage: 86.0% of statements [2024-11-13T04:19:30.305Z] ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] [2024-11-13T04:19:30.564Z] github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements [2024-11-13T04:19:30.564Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements [2024-11-13T04:19:31.144Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.092s coverage: 45.2% of statements [2024-11-13T04:19:32.079Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements [2024-11-13T04:19:32.194Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26325 in /w/workspace/gexfoundry_device-sdk-go_PR-1650 [Pipeline] { [Pipeline] ws [2024-11-13T04:19:32.270Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-11-13T04:19:32.426Z] The recommended git tool is: git [2024-11-13T04:19:33.979Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.042s coverage: 14.1% of statements [2024-11-13T04:19:33.979Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 3.238s coverage: 44.6% of statements [2024-11-13T04:19:33.979Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.054s coverage: 68.4% of statements [2024-11-13T04:19:33.979Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.099s coverage: 88.3% of statements [2024-11-13T04:19:33.979Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.065s coverage: 5.3% of statements [2024-11-13T04:19:40.721Z] using credential edgex-jenkins-ssh [2024-11-13T04:19:40.745Z] Cloning the remote Git repository [2024-11-13T04:19:40.787Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-11-13T04:19:40.896Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-11-13T04:19:41.095Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-11-13T04:19:41.096Z] > git --version # timeout=10 [2024-11-13T04:19:41.130Z] > git --version # 'git version 2.25.1' [2024-11-13T04:19:41.133Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-13T04:19:41.481Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-13T04:19:44.552Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-11-13T04:19:44.573Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-13T04:19:46.599Z] Merging remotes/origin/main commit 18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 into PR head commit 0e67c1faaa7eb59d118993c0cffc937256b6c1d5 [2024-11-13T04:19:46.900Z] Merge succeeded, producing 0e67c1faaa7eb59d118993c0cffc937256b6c1d5 [2024-11-13T04:19:46.900Z] Checking out Revision 0e67c1faaa7eb59d118993c0cffc937256b6c1d5 (PR-1650) [2024-11-13T04:19:45.890Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-11-13T04:19:45.944Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-11-13T04:19:45.945Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-13T04:19:45.970Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1650/head:refs/remotes/origin/PR-1650 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-13T04:19:46.613Z] > git config core.sparsecheckout # timeout=10 [2024-11-13T04:19:46.667Z] > git checkout -f 0e67c1faaa7eb59d118993c0cffc937256b6c1d5 # timeout=10 [2024-11-13T04:19:46.777Z] > git remote # timeout=10 [2024-11-13T04:19:46.792Z] > git config --get remote.origin.url # timeout=10 [2024-11-13T04:19:46.813Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-13T04:19:46.837Z] > git merge 18c36d44e625e743ff5cb3bdbedfefc7600ac5d4 # timeout=10 [2024-11-13T04:19:46.876Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-13T04:19:46.903Z] > git config core.sparsecheckout # timeout=10 [2024-11-13T04:19:46.918Z] > git checkout -f 0e67c1faaa7eb59d118993c0cffc937256b6c1d5 # timeout=10 [2024-11-13T04:19:47.519Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v4" [2024-11-13T04:19:47.569Z] > git --version # timeout=10 [2024-11-13T04:19:47.583Z] > git --version # 'git version 2.25.1' [2024-11-13T04:19:47.597Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-13T04:19:52.603Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-13T04:19:52.603Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-13T04:19:52.603Z] Dload Upload Total Spent Left Speed [2024-11-13T04:19:52.603Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2024-11-13T04:19:52.975Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-13T04:19:53.338Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-11-13T04:19:53.338Z] /etc/docker/daemon.json [2024-11-13T04:19:53.338Z] { [2024-11-13T04:19:53.338Z] "registry-mirrors": [ [2024-11-13T04:19:53.338Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-13T04:19:53.338Z] ], [2024-11-13T04:19:53.338Z] "bip": "10.250.0.254/24", [2024-11-13T04:19:53.338Z] "hosts": [ [2024-11-13T04:19:53.338Z] "tcp://0.0.0.0:5555", [2024-11-13T04:19:53.338Z] "unix:///var/run/docker.sock" [2024-11-13T04:19:53.338Z] ], [2024-11-13T04:19:53.338Z] "mtu": 1458, [2024-11-13T04:19:53.338Z] "selinux-enabled": true, [2024-11-13T04:19:53.338Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-13T04:19:53.338Z] } [Pipeline] sh [2024-11-13T04:19:53.691Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-13T04:19:54.046Z] + sudo service docker restart [2024-11-13T04:20:06.053Z] GO111MODULE=on go vet ./... [2024-11-13T04:20:07.958Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-13T04:20:07.958Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-13T04:20:07.958Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-13T04:20:08.012Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-13T04:20:08.058Z] $ docker stop --time=1 c89ca4f3e594d376518955a7471b75a235215d650f2553666b242b1ee5ca2191 [2024-11-13T04:20:13.662Z] $ docker rm -f --volumes c89ca4f3e594d376518955a7471b75a235215d650f2553666b242b1ee5ca2191 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-13T04:20:14.235Z] provisioning config files... [2024-11-13T04:20:14.262Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6429089347922886237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-13T04:20:14.366Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-13T04:20:14.698Z] Stashed 1 file(s) [Pipeline] } [2024-11-13T04:20:14.748Z] ---> ****-login.sh [2024-11-13T04:20:14.748Z] nexus3.edgexfoundry.org:10001 [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-13T04:20:15.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T04:20:15.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T04:20:15.335Z] Configure a credential helper to remove this warning. See [2024-11-13T04:20:15.335Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T04:20:15.335Z] [2024-11-13T04:20:15.335Z] Login Succeeded [2024-11-13T04:20:15.335Z] nexus3.edgexfoundry.org:10002 [2024-11-13T04:20:15.450Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-13T04:20:15.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T04:20:15.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T04:20:15.609Z] Configure a credential helper to remove this warning. See [2024-11-13T04:20:15.609Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T04:20:15.609Z] [2024-11-13T04:20:15.609Z] Login Succeeded [2024-11-13T04:20:15.609Z] nexus3.edgexfoundry.org:10003 [2024-11-13T04:20:15.769Z] + ls -al . [2024-11-13T04:20:15.769Z] total 704 [2024-11-13T04:20:15.769Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 13 04:18 . [2024-11-13T04:20:15.769Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 13 04:17 .. [2024-11-13T04:20:15.769Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 13 04:17 .dockerignore [2024-11-13T04:20:15.769Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 13 04:19 .git [2024-11-13T04:20:15.769Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 04:17 .github [2024-11-13T04:20:15.769Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 13 04:17 .gitignore [2024-11-13T04:20:15.769Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 13 04:17 .golangci.yml [2024-11-13T04:20:15.769Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 13 04:17 .semver [2024-11-13T04:20:15.769Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 13 04:17 CHANGELOG.md [2024-11-13T04:20:15.769Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 13 04:17 GOVERNANCE.md [2024-11-13T04:20:15.769Z] -rw-rw-r-- 1 jenkins jenkins 882 Nov 13 04:17 Jenkinsfile [2024-11-13T04:20:15.769Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 13 04:17 LICENSE [2024-11-13T04:20:15.769Z] -rw-rw-r-- 1 jenkins jenkins 2424 Nov 13 04:17 Makefile [2024-11-13T04:20:15.769Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 13 04:17 OWNERS.md [2024-11-13T04:20:15.769Z] -rw-rw-r-- 1 jenkins jenkins 4937 Nov 13 04:17 README.md [2024-11-13T04:20:15.769Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 13 04:17 VERSION [2024-11-13T04:20:15.769Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 13 04:17 bin [2024-11-13T04:20:15.769Z] -rw-r--r-- 1 jenkins jenkins 468087 Nov 13 04:19 coverage.out [2024-11-13T04:20:15.769Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 13 04:17 example [2024-11-13T04:20:15.769Z] -rw-rw-r-- 1 jenkins jenkins 6229 Nov 13 04:17 go.mod [2024-11-13T04:20:15.769Z] -rw-rw-r-- 1 jenkins jenkins 87126 Nov 13 04:17 go.sum [2024-11-13T04:20:15.769Z] drwxrwxr-x 13 jenkins jenkins 4096 Nov 13 04:17 internal [2024-11-13T04:20:15.769Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 13 04:17 openapi [2024-11-13T04:20:15.769Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 13 04:17 pkg [2024-11-13T04:20:15.769Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 13 04:17 snap [2024-11-13T04:20:15.769Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 13 04:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2024-11-13T04:20:15.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh [2024-11-13T04:20:16.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T04:20:16.155Z] Configure a credential helper to remove this warning. See [2024-11-13T04:20:16.155Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T04:20:16.155Z] [2024-11-13T04:20:16.155Z] Login Succeeded [2024-11-13T04:20:16.155Z] nexus3.edgexfoundry.org:10004 [2024-11-13T04:20:16.203Z] + 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=0e67c1faaa7eb59d118993c0cffc937256b6c1d5 --label arch=amd64 --label version=0.0.0 . [2024-11-13T04:20:16.203Z] Sending build context to Docker daemon 25.32MB [2024-11-13T04:20:16.203Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-11-13T04:20:16.203Z] Step 2/24 : FROM ${BASE} AS builder [2024-11-13T04:20:16.203Z] ---> 51388df920b3 [2024-11-13T04:20:16.203Z] Step 3/24 : ARG MAKE=make build [2024-11-13T04:20:16.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T04:20:16.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T04:20:16.430Z] Configure a credential helper to remove this warning. See [2024-11-13T04:20:16.430Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T04:20:16.430Z] [2024-11-13T04:20:16.430Z] Login Succeeded [2024-11-13T04:20:16.430Z] ****.io [2024-11-13T04:20:16.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-13T04:20:16.770Z] ---> Running in 3b8993d5a90f [2024-11-13T04:20:16.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-13T04:20:16.966Z] Configure a credential helper to remove this warning. See [2024-11-13T04:20:16.966Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-13T04:20:16.966Z] [2024-11-13T04:20:16.966Z] Login Succeeded [2024-11-13T04:20:16.966Z] ---> ****-login.sh ends [Pipeline] } [2024-11-13T04:20:17.002Z] Deleting 1 temporary files [2024-11-13T04:20:17.028Z] Removing intermediate container 3b8993d5a90f [2024-11-13T04:20:17.028Z] ---> 42fde8576b17 [2024-11-13T04:20:17.028Z] Step 4/24 : WORKDIR /device-sdk-go [2024-11-13T04:20:17.028Z] ---> Running in 48ec92a92535 [2024-11-13T04:20:17.028Z] Removing intermediate container 48ec92a92535 [2024-11-13T04:20:17.028Z] ---> dab65ddaa259 [2024-11-13T04:20:17.028Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-13T04:20:17.028Z] ---> Running in 2a98a12e515f [2024-11-13T04:20:17.028Z] Removing intermediate container 2a98a12e515f [2024-11-13T04:20:17.028Z] ---> 9c3854a0a778 [2024-11-13T04:20:17.028Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-11-13T04:20:17.028Z] ---> Running in b81631923e1e [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-11-13T04:20:17.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [Pipeline] echo [2024-11-13T04:20:17.498Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-13T04:20:17.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-13T04:20:17.551Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-13T04:20:17.616Z] ========================================================= [2024-11-13T04:20:17.616Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-13T04:20:17.616Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [2024-11-13T04:20:17.806Z] OK: 246 MiB in 54 packages [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T04:20:18.215Z] + 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-13T04:20:18.375Z] Removing intermediate container b81631923e1e [2024-11-13T04:20:18.375Z] ---> 7ec53687af8e [2024-11-13T04:20:18.375Z] Step 7/24 : COPY go.mod vendor* ./ [2024-11-13T04:20:18.375Z] ---> e90cd16f14d9 [2024-11-13T04:20:18.375Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-13T04:20:18.375Z] ---> Running in 30957156d559 [2024-11-13T04:20:18.807Z] Sending build context to Docker daemon 12.89MB [2024-11-13T04:20:18.807Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-13T04:20:18.807Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-13T04:20:18.943Z] Removing intermediate container 30957156d559 [2024-11-13T04:20:18.943Z] ---> 29b8cd17bc8d [2024-11-13T04:20:18.943Z] Step 9/24 : COPY . . [2024-11-13T04:20:19.777Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-13T04:20:19.777Z] cf04c63912e1: Pulling fs layer [2024-11-13T04:20:19.777Z] 55b35a11ae5e: Pulling fs layer [2024-11-13T04:20:19.777Z] a37a00ec5f00: Pulling fs layer [2024-11-13T04:20:19.777Z] 50b3750afda1: Pulling fs layer [2024-11-13T04:20:19.777Z] 4f4fb700ef54: Pulling fs layer [2024-11-13T04:20:19.777Z] 80978eb59214: Pulling fs layer [2024-11-13T04:20:19.777Z] c9f46d7d2bd2: Pulling fs layer [2024-11-13T04:20:19.777Z] c5a475d317c9: Pulling fs layer [2024-11-13T04:20:19.777Z] 80978eb59214: Waiting [2024-11-13T04:20:19.777Z] c9f46d7d2bd2: Waiting [2024-11-13T04:20:19.777Z] c5a475d317c9: Waiting [2024-11-13T04:20:19.777Z] 50b3750afda1: Waiting [2024-11-13T04:20:19.777Z] 55b35a11ae5e: Verifying Checksum [2024-11-13T04:20:19.777Z] 55b35a11ae5e: Download complete [2024-11-13T04:20:19.777Z] 50b3750afda1: Verifying Checksum [2024-11-13T04:20:19.777Z] 50b3750afda1: Download complete [2024-11-13T04:20:19.777Z] 4f4fb700ef54: Verifying Checksum [2024-11-13T04:20:19.777Z] 4f4fb700ef54: Download complete [2024-11-13T04:20:19.777Z] 80978eb59214: Verifying Checksum [2024-11-13T04:20:19.777Z] 80978eb59214: Download complete [2024-11-13T04:20:19.777Z] cf04c63912e1: Verifying Checksum [2024-11-13T04:20:19.777Z] cf04c63912e1: Download complete [2024-11-13T04:20:19.898Z] ---> 86cd88d0a9c5 [2024-11-13T04:20:19.899Z] Step 10/24 : RUN ${MAKE} [2024-11-13T04:20:20.048Z] c5a475d317c9: Verifying Checksum [2024-11-13T04:20:20.048Z] c5a475d317c9: Download complete [2024-11-13T04:20:20.159Z] ---> Running in 562ce0eb3306 [2024-11-13T04:20:20.419Z] 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-13T04:20:20.645Z] cf04c63912e1: Pull complete [2024-11-13T04:20:21.233Z] 55b35a11ae5e: Pull complete [2024-11-13T04:20:21.502Z] a37a00ec5f00: Verifying Checksum [2024-11-13T04:20:21.502Z] a37a00ec5f00: Download complete [2024-11-13T04:20:22.464Z] c9f46d7d2bd2: Verifying Checksum [2024-11-13T04:20:22.464Z] c9f46d7d2bd2: Download complete [2024-11-13T04:20:34.789Z] a37a00ec5f00: Pull complete [2024-11-13T04:20:35.057Z] 50b3750afda1: Pull complete [2024-11-13T04:20:35.326Z] 4f4fb700ef54: Pull complete [2024-11-13T04:20:35.596Z] 80978eb59214: Pull complete [2024-11-13T04:20:43.841Z] c9f46d7d2bd2: Pull complete [2024-11-13T04:20:45.272Z] c5a475d317c9: Pull complete [2024-11-13T04:20:45.272Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-13T04:20:45.272Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-13T04:20:45.272Z] ---> be29e6b0f0d4 [2024-11-13T04:20:45.272Z] Step 3/10 : ARG MAKE=make build [2024-11-13T04:20:46.254Z] ---> Running in e597adfda84b [2024-11-13T04:20:46.526Z] Removing intermediate container e597adfda84b [2024-11-13T04:20:46.526Z] ---> 8eddfe93101d [2024-11-13T04:20:46.526Z] Step 4/10 : WORKDIR /device-sdk-go [2024-11-13T04:20:46.793Z] ---> Running in f2c63af69168 [2024-11-13T04:20:47.061Z] Removing intermediate container f2c63af69168 [2024-11-13T04:20:47.061Z] ---> 80433f62cc00 [2024-11-13T04:20:47.061Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-13T04:20:47.061Z] ---> Running in a56985e88f49 [2024-11-13T04:20:47.329Z] Removing intermediate container a56985e88f49 [2024-11-13T04:20:47.329Z] ---> cd218fac1096 [2024-11-13T04:20:47.329Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-11-13T04:20:47.604Z] ---> Running in e0ceaa294bd9 [2024-11-13T04:20:49.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-13T04:20:49.820Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-13T04:20:51.241Z] OK: 238 MiB in 54 packages [2024-11-13T04:20:52.214Z] Removing intermediate container e0ceaa294bd9 [2024-11-13T04:20:52.214Z] ---> 820fd2e7f281 [2024-11-13T04:20:52.214Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-13T04:20:52.485Z] ---> 9c02ba539536 [2024-11-13T04:20:52.485Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-13T04:20:52.499Z] Removing intermediate container 562ce0eb3306 [2024-11-13T04:20:52.499Z] ---> cd728f25bbf7 [2024-11-13T04:20:52.499Z] Step 11/24 : FROM alpine:3.20 [2024-11-13T04:20:52.499Z] 3.20: Pulling from library/alpine [2024-11-13T04:20:52.499Z] da9db072f522: Pulling fs layer [2024-11-13T04:20:52.755Z] ---> Running in 6d29fd3aba70 [2024-11-13T04:20:52.779Z] da9db072f522: Download complete [2024-11-13T04:20:52.779Z] da9db072f522: Pull complete [2024-11-13T04:20:52.779Z] Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a [2024-11-13T04:20:52.779Z] Status: Downloaded newer image for alpine:3.20 [2024-11-13T04:20:52.779Z] ---> 63b790fccc90 [2024-11-13T04:20:52.779Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-11-13T04:20:53.037Z] ---> Running in 32788d5219dc [2024-11-13T04:20:53.037Z] Removing intermediate container 32788d5219dc [2024-11-13T04:20:53.037Z] ---> cdc892ca4dfe [2024-11-13T04:20:53.037Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-11-13T04:20:53.037Z] ---> Running in cac68452800e [2024-11-13T04:20:53.298Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-13T04:20:53.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-13T04:20:53.828Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-13T04:20:53.828Z] Executing busybox-1.36.1-r29.trigger [2024-11-13T04:20:53.828Z] OK: 8 MiB in 15 packages [2024-11-13T04:20:54.396Z] Removing intermediate container cac68452800e [2024-11-13T04:20:54.396Z] ---> 9bd540974547 [2024-11-13T04:20:54.396Z] Step 14/24 : RUN apk --no-cache upgrade [2024-11-13T04:20:54.396Z] ---> Running in 516ce4f8e9c6 [2024-11-13T04:20:54.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-13T04:20:54.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-13T04:20:54.915Z] Upgrading critical system libraries and apk-tools: [2024-11-13T04:20:54.915Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-13T04:20:54.915Z] Executing busybox-1.36.1-r29.trigger [2024-11-13T04:20:54.915Z] Continuing the upgrade transaction with new apk-tools: [2024-11-13T04:20:54.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-13T04:20:54.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-13T04:20:55.177Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-13T04:20:55.446Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-13T04:20:55.446Z] OK: 8 MiB in 15 packages [2024-11-13T04:20:55.731Z] Removing intermediate container 516ce4f8e9c6 [2024-11-13T04:20:55.731Z] ---> b5439afd0497 [2024-11-13T04:20:55.731Z] Step 15/24 : WORKDIR / [2024-11-13T04:20:55.992Z] ---> Running in 8c79bc7e857a [2024-11-13T04:20:55.992Z] Removing intermediate container 8c79bc7e857a [2024-11-13T04:20:55.992Z] ---> 18965ca72d9c [2024-11-13T04:20:55.993Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-11-13T04:20:56.252Z] ---> 30cd8439e7cb [2024-11-13T04:20:56.252Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-11-13T04:20:57.630Z] ---> f2419d30347e [2024-11-13T04:20:57.630Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-11-13T04:20:57.630Z] ---> f5af77ef3424 [2024-11-13T04:20:57.630Z] Step 19/24 : EXPOSE 59999 [2024-11-13T04:20:57.891Z] ---> Running in 60eba73f6eac [2024-11-13T04:20:57.891Z] Removing intermediate container 60eba73f6eac [2024-11-13T04:20:57.891Z] ---> a7731df81e1b [2024-11-13T04:20:57.891Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-11-13T04:20:57.891Z] ---> Running in df2d2dc01f64 [2024-11-13T04:20:57.891Z] Removing intermediate container df2d2dc01f64 [2024-11-13T04:20:57.891Z] ---> 239f3736eeb5 [2024-11-13T04:20:57.891Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-11-13T04:20:57.891Z] ---> Running in 8868cf310dcd [2024-11-13T04:20:57.891Z] Removing intermediate container 8868cf310dcd [2024-11-13T04:20:57.891Z] ---> 9edede0dbc84 [2024-11-13T04:20:57.891Z] Step 22/24 : LABEL arch=amd64 [2024-11-13T04:20:57.891Z] ---> Running in 7e8c7dad98c2 [2024-11-13T04:20:58.149Z] Removing intermediate container 7e8c7dad98c2 [2024-11-13T04:20:58.149Z] ---> 1634c424f48d [2024-11-13T04:20:58.149Z] Step 23/24 : LABEL git_sha=0e67c1faaa7eb59d118993c0cffc937256b6c1d5 [2024-11-13T04:20:58.149Z] ---> Running in 8631e85cb4c1 [2024-11-13T04:20:58.149Z] Removing intermediate container 8631e85cb4c1 [2024-11-13T04:20:58.149Z] ---> 2b2ddeb9d10d [2024-11-13T04:20:58.149Z] Step 24/24 : LABEL version=0.0.0 [2024-11-13T04:20:58.150Z] ---> Running in 9828213fafa9 [2024-11-13T04:20:58.150Z] Removing intermediate container 9828213fafa9 [2024-11-13T04:20:58.150Z] ---> 57915c7950f9 [2024-11-13T04:20:58.150Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-13T04:20:58.409Z] Successfully built 57915c7950f9 [2024-11-13T04:20:58.409Z] 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-13T04:20:59.447Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-13T04:20:59.447Z] [2024-11-13T04:20:59.447Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T04:20:59.847Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-13T04:20:59.847Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-13T04:20:59.847Z] 5eb5b503b376: Pulling fs layer [2024-11-13T04:20:59.847Z] 5c69ac0246d0: Pulling fs layer [2024-11-13T04:20:59.847Z] ec43610c2a17: Pulling fs layer [2024-11-13T04:20:59.847Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-13T04:20:59.847Z] 33b1e0a273af: Pulling fs layer [2024-11-13T04:20:59.847Z] 5d3b04190fa2: Pulling fs layer [2024-11-13T04:20:59.847Z] 2f39f015ded8: Pulling fs layer [2024-11-13T04:20:59.847Z] 2f39f015ded8: Waiting [2024-11-13T04:20:59.847Z] 5d3b04190fa2: Waiting [2024-11-13T04:20:59.847Z] 3a2ae6a8a46f: Waiting [2024-11-13T04:20:59.847Z] 33b1e0a273af: Waiting [2024-11-13T04:20:59.847Z] 5c69ac0246d0: Verifying Checksum [2024-11-13T04:20:59.847Z] 5c69ac0246d0: Download complete [2024-11-13T04:20:59.847Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-13T04:20:59.847Z] 3a2ae6a8a46f: Download complete [2024-11-13T04:20:59.847Z] 33b1e0a273af: Verifying Checksum [2024-11-13T04:20:59.847Z] 33b1e0a273af: Download complete [2024-11-13T04:20:59.847Z] 5d3b04190fa2: Verifying Checksum [2024-11-13T04:20:59.847Z] 5d3b04190fa2: Download complete [2024-11-13T04:20:59.847Z] ec43610c2a17: Verifying Checksum [2024-11-13T04:20:59.847Z] ec43610c2a17: Download complete [2024-11-13T04:21:00.106Z] 5eb5b503b376: Verifying Checksum [2024-11-13T04:21:00.106Z] 5eb5b503b376: Download complete [2024-11-13T04:21:00.672Z] 2f39f015ded8: Verifying Checksum [2024-11-13T04:21:00.672Z] 2f39f015ded8: Download complete [2024-11-13T04:21:01.236Z] 5eb5b503b376: Pull complete [2024-11-13T04:21:01.495Z] 5c69ac0246d0: Pull complete [2024-11-13T04:21:02.061Z] ec43610c2a17: Pull complete [2024-11-13T04:21:02.061Z] 3a2ae6a8a46f: Pull complete [2024-11-13T04:21:02.319Z] 33b1e0a273af: Pull complete [2024-11-13T04:21:02.319Z] 5d3b04190fa2: Pull complete [2024-11-13T04:21:06.504Z] 2f39f015ded8: Pull complete [2024-11-13T04:21:06.504Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-13T04:21:06.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-13T04:21:06.504Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-13T04:21:06.768Z] prd-ubuntu20.04-docker-8c-8g-26324 does not seem to be running inside a container [2024-11-13T04:21:06.797Z] $ 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-1650 -v /w/workspace/gexfoundry_device-sdk-go_PR-1650:/w/workspace/gexfoundry_device-sdk-go_PR-1650:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1650@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1650@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-13T04:21:09.851Z] $ docker top c76015626c0c841350b2fed20930dc75a78c64bee18e54db14481451d43bb812 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-13T04:21:10.365Z] ---> job-cost.sh [2024-11-13T04:21:10.365Z] lf-activate-venv: SKIPPING [2024-11-13T04:21:10.365Z] INFO: No Stack... [2024-11-13T04:21:10.625Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-13T04:21:10.885Z] INFO: Archiving Costs [Pipeline] sh [2024-11-13T04:21:11.206Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1650/archives/cost.csv [2024-11-13T04:21:11.206Z] + cut -d, -f6 [Pipeline] lock [2024-11-13T04:21:11.257Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1650-1-stack-cost] [2024-11-13T04:21:11.263Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1650-1-stack-cost] did not exist. Created. [2024-11-13T04:21:11.270Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1650-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-13T04:21:11.688Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-13T04:21:11.755Z] Stashed 1 file(s) [Pipeline] } [2024-11-13T04:21:11.788Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1650-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-13T04:21:11.883Z] $ docker stop --time=1 c76015626c0c841350b2fed20930dc75a78c64bee18e54db14481451d43bb812 [2024-11-13T04:21:13.045Z] $ docker rm -f --volumes c76015626c0c841350b2fed20930dc75a78c64bee18e54db14481451d43bb812 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-13T04:22:44.494Z] Removing intermediate container 6d29fd3aba70 [2024-11-13T04:22:44.494Z] ---> 2032ef5b6c7d [2024-11-13T04:22:44.494Z] Step 9/10 : COPY . . [2024-11-13T04:22:44.494Z] ---> e26e3278fab7 [2024-11-13T04:22:44.494Z] Step 10/10 : RUN ${MAKE} [2024-11-13T04:22:44.494Z] ---> Running in d87e3e62b518 [2024-11-13T04:22:44.494Z] noop [2024-11-13T04:22:44.494Z] Removing intermediate container d87e3e62b518 [2024-11-13T04:22:44.494Z] ---> 9c0e69856dd1 [2024-11-13T04:22:44.494Z] Successfully built 9c0e69856dd1 [2024-11-13T04:22:44.494Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T04:22:45.073Z] + docker inspect -f . ci-base-image-arm64 [2024-11-13T04:22:45.073Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-13T04:22:45.414Z] prd-ubuntu20.04-docker-arm64-4c-16g-26325 does not seem to be running inside a container [2024-11-13T04:22:45.518Z] $ 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 ******** ci-base-image-arm64 cat [2024-11-13T04:22:46.761Z] $ docker top 7760a2b44cae833f20982f7771fc891c02321773ec0c00f08f17adddfb942e17 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-13T04:22:47.677Z] + go version [2024-11-13T04:22:47.678Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-13T04:22:47.710Z] $ docker stop --time=1 7760a2b44cae833f20982f7771fc891c02321773ec0c00f08f17adddfb942e17 [2024-11-13T04:22:49.349Z] $ docker rm -f --volumes 7760a2b44cae833f20982f7771fc891c02321773ec0c00f08f17adddfb942e17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T04:22:50.288Z] + docker inspect -f . ci-base-image-arm64 [2024-11-13T04:22:50.288Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-13T04:22:50.577Z] prd-ubuntu20.04-docker-arm64-4c-16g-26325 does not seem to be running inside a container [2024-11-13T04:22:50.641Z] $ 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 ******** ci-base-image-arm64 cat [2024-11-13T04:22:51.766Z] $ docker top ae7e12867679a8a6fbc0eb1bfc21d3f1d39dafe4764408cf140fd2db2a0124e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-13T04:22:52.332Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-11-13T04:22:52.750Z] + make test [2024-11-13T04:22:52.750Z] go test -race -coverprofile=coverage.out ./... [2024-11-13T04:23:39.592Z] ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] [2024-11-13T04:27:01.456Z] github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements [2024-11-13T04:27:01.456Z] github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements [2024-11-13T04:27:01.456Z] github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements [2024-11-13T04:27:01.456Z] github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements [2024-11-13T04:27:01.456Z] github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements [2024-11-13T04:27:03.416Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.182s coverage: 28.7% of statements [2024-11-13T04:27:05.991Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.168s coverage: 79.4% of statements [2024-11-13T04:27:16.072Z] github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements [2024-11-13T04:27:16.072Z] github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements [2024-11-13T04:27:16.338Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.277s coverage: 86.0% of statements [2024-11-13T04:27:26.414Z] github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements [2024-11-13T04:27:27.379Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.541s coverage: 45.2% of statements [2024-11-13T04:27:29.949Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.229s coverage: 14.1% of statements [2024-11-13T04:27:29.949Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 3.947s coverage: 44.6% of statements [2024-11-13T04:27:32.539Z] ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] [2024-11-13T04:27:32.539Z] github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements [2024-11-13T04:27:32.539Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements [2024-11-13T04:27:33.944Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.356s coverage: 68.4% of statements [2024-11-13T04:27:38.200Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.338s coverage: 88.3% of statements [2024-11-13T04:27:42.436Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements [2024-11-13T04:27:43.848Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.271s coverage: 5.3% of statements [2024-11-13T04:27:44.806Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-13T04:27:44.806Z] GO111MODULE=on go vet ./... [2024-11-13T04:31:06.533Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-13T04:31:06.533Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-13T04:31:06.533Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-13T04:31:06.840Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-13T04:31:06.875Z] $ docker stop --time=1 ae7e12867679a8a6fbc0eb1bfc21d3f1d39dafe4764408cf140fd2db2a0124e9 [2024-11-13T04:31:08.735Z] $ docker rm -f --volumes ae7e12867679a8a6fbc0eb1bfc21d3f1d39dafe4764408cf140fd2db2a0124e9 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-13T04:31:10.936Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-13T04:31:10.978Z] Warning: overwriting stash ‘coverage-report’ [2024-11-13T04:31:11.611Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-13T04:31:12.232Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-13T04:31:12.569Z] + ls -al . [2024-11-13T04:31:12.569Z] total 700 [2024-11-13T04:31:12.569Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 13 04:22 . [2024-11-13T04:31:12.569Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 13 04:19 .. [2024-11-13T04:31:12.569Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 13 04:19 .dockerignore [2024-11-13T04:31:12.569Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 13 04:19 .git [2024-11-13T04:31:12.569Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 04:19 .github [2024-11-13T04:31:12.569Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 13 04:19 .gitignore [2024-11-13T04:31:12.569Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 13 04:19 .golangci.yml [2024-11-13T04:31:12.569Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 13 04:19 CHANGELOG.md [2024-11-13T04:31:12.569Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 13 04:19 GOVERNANCE.md [2024-11-13T04:31:12.569Z] -rw-rw-r-- 1 jenkins jenkins 882 Nov 13 04:19 Jenkinsfile [2024-11-13T04:31:12.569Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 13 04:19 LICENSE [2024-11-13T04:31:12.569Z] -rw-rw-r-- 1 jenkins jenkins 2424 Nov 13 04:19 Makefile [2024-11-13T04:31:12.569Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 13 04:19 OWNERS.md [2024-11-13T04:31:12.569Z] -rw-rw-r-- 1 jenkins jenkins 4937 Nov 13 04:19 README.md [2024-11-13T04:31:12.569Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 13 04:17 VERSION [2024-11-13T04:31:12.569Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 13 04:19 bin [2024-11-13T04:31:12.569Z] -rw-r--r-- 1 jenkins jenkins 468087 Nov 13 04:27 coverage.out [2024-11-13T04:31:12.569Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 13 04:19 example [2024-11-13T04:31:12.569Z] -rw-rw-r-- 1 jenkins jenkins 6229 Nov 13 04:19 go.mod [2024-11-13T04:31:12.569Z] -rw-rw-r-- 1 jenkins jenkins 87126 Nov 13 04:19 go.sum [2024-11-13T04:31:12.569Z] drwxrwxr-x 13 jenkins jenkins 4096 Nov 13 04:19 internal [2024-11-13T04:31:12.569Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 13 04:19 openapi [2024-11-13T04:31:12.569Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 13 04:19 pkg [2024-11-13T04:31:12.569Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 13 04:19 snap [2024-11-13T04:31:12.569Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 13 04:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T04:31:13.069Z] + 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=0e67c1faaa7eb59d118993c0cffc937256b6c1d5 --label arch=arm64 --label version=0.0.0 . [2024-11-13T04:31:13.657Z] Sending build context to Docker daemon 13.36MB [2024-11-13T04:31:13.657Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-11-13T04:31:13.657Z] Step 2/24 : FROM ${BASE} AS builder [2024-11-13T04:31:13.657Z] ---> 9c0e69856dd1 [2024-11-13T04:31:13.657Z] Step 3/24 : ARG MAKE=make build [2024-11-13T04:31:13.923Z] ---> Running in 4c19ca4b93e4 [2024-11-13T04:31:14.191Z] Removing intermediate container 4c19ca4b93e4 [2024-11-13T04:31:14.192Z] ---> a8cb6e49aa39 [2024-11-13T04:31:14.192Z] Step 4/24 : WORKDIR /device-sdk-go [2024-11-13T04:31:14.192Z] ---> Running in 479f1b264121 [2024-11-13T04:31:14.460Z] Removing intermediate container 479f1b264121 [2024-11-13T04:31:14.460Z] ---> 1499449ce041 [2024-11-13T04:31:14.460Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-13T04:31:14.728Z] ---> Running in 9d989b70e61f [2024-11-13T04:31:14.994Z] Removing intermediate container 9d989b70e61f [2024-11-13T04:31:14.994Z] ---> 893a879c098f [2024-11-13T04:31:14.994Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-11-13T04:31:14.995Z] ---> Running in 5969bbcfef0b [2024-11-13T04:31:15.955Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-13T04:31:16.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-13T04:31:17.621Z] OK: 238 MiB in 54 packages [2024-11-13T04:31:18.205Z] Removing intermediate container 5969bbcfef0b [2024-11-13T04:31:18.205Z] ---> 20640d8f4b0a [2024-11-13T04:31:18.205Z] Step 7/24 : COPY go.mod vendor* ./ [2024-11-13T04:31:18.790Z] ---> b223f6bb49e9 [2024-11-13T04:31:18.790Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-13T04:31:18.790Z] ---> Running in 585387a2b8a1 [2024-11-13T04:31:20.727Z] Removing intermediate container 585387a2b8a1 [2024-11-13T04:31:20.727Z] ---> ee4b570481d8 [2024-11-13T04:31:20.727Z] Step 9/24 : COPY . . [2024-11-13T04:31:22.747Z] ---> 8d1b0aa13778 [2024-11-13T04:31:22.747Z] Step 10/24 : RUN ${MAKE} [2024-11-13T04:31:22.747Z] ---> Running in 9866813229c7 [2024-11-13T04:31:23.348Z] 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-13T04:34:30.080Z] Removing intermediate container 9866813229c7 [2024-11-13T04:34:30.080Z] ---> b6a2ac08453e [2024-11-13T04:34:30.080Z] Step 11/24 : FROM alpine:3.20 [2024-11-13T04:34:30.080Z] 3.20: Pulling from library/alpine [2024-11-13T04:34:30.080Z] 9986a736f7d3: Pulling fs layer [2024-11-13T04:34:30.080Z] 9986a736f7d3: Verifying Checksum [2024-11-13T04:34:30.080Z] 9986a736f7d3: Download complete [2024-11-13T04:34:30.080Z] 9986a736f7d3: Pull complete [2024-11-13T04:34:30.080Z] Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a [2024-11-13T04:34:30.080Z] Status: Downloaded newer image for alpine:3.20 [2024-11-13T04:34:30.080Z] ---> 511a44083d3a [2024-11-13T04:34:30.080Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-11-13T04:34:30.080Z] ---> Running in 8e3647a68ae6 [2024-11-13T04:34:30.080Z] Removing intermediate container 8e3647a68ae6 [2024-11-13T04:34:30.080Z] ---> eb559199c127 [2024-11-13T04:34:30.080Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-11-13T04:34:30.080Z] ---> Running in f0b0c0c40cdb [2024-11-13T04:34:30.080Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-13T04:34:30.080Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-13T04:34:31.038Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-13T04:34:31.038Z] Executing busybox-1.36.1-r29.trigger [2024-11-13T04:34:31.038Z] OK: 9 MiB in 15 packages [2024-11-13T04:34:32.001Z] Removing intermediate container f0b0c0c40cdb [2024-11-13T04:34:32.001Z] ---> fd42c22ee538 [2024-11-13T04:34:32.001Z] Step 14/24 : RUN apk --no-cache upgrade [2024-11-13T04:34:32.001Z] ---> Running in 738372d8f42a [2024-11-13T04:34:32.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-13T04:34:32.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-13T04:34:34.374Z] Upgrading critical system libraries and apk-tools: [2024-11-13T04:34:34.374Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-13T04:34:34.374Z] Executing busybox-1.36.1-r29.trigger [2024-11-13T04:34:34.647Z] Continuing the upgrade transaction with new apk-tools: [2024-11-13T04:34:34.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-13T04:34:34.913Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-13T04:34:36.321Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-13T04:34:36.321Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-13T04:34:36.321Z] OK: 9 MiB in 15 packages [2024-11-13T04:34:37.296Z] Removing intermediate container 738372d8f42a [2024-11-13T04:34:37.296Z] ---> a41a13dd3f50 [2024-11-13T04:34:37.296Z] Step 15/24 : WORKDIR / [2024-11-13T04:34:37.560Z] ---> Running in 899d7beb3706 [2024-11-13T04:34:37.826Z] Removing intermediate container 899d7beb3706 [2024-11-13T04:34:37.826Z] ---> 297f3aefa295 [2024-11-13T04:34:37.826Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-11-13T04:34:38.092Z] ---> 93621a920f9d [2024-11-13T04:34:38.092Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-11-13T04:34:40.029Z] ---> 151cdfef00e8 [2024-11-13T04:34:40.029Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-11-13T04:34:40.609Z] ---> 89b0a8168be2 [2024-11-13T04:34:40.609Z] Step 19/24 : EXPOSE 59999 [2024-11-13T04:34:40.609Z] ---> Running in 85442d7350fd [2024-11-13T04:34:40.875Z] Removing intermediate container 85442d7350fd [2024-11-13T04:34:40.875Z] ---> ad5fa85f6c29 [2024-11-13T04:34:40.875Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-11-13T04:34:40.875Z] ---> Running in ad9bd57639a0 [2024-11-13T04:34:41.143Z] Removing intermediate container ad9bd57639a0 [2024-11-13T04:34:41.143Z] ---> 74095e444cd0 [2024-11-13T04:34:41.143Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-11-13T04:34:41.143Z] ---> Running in 518763f0f186 [2024-11-13T04:34:41.409Z] Removing intermediate container 518763f0f186 [2024-11-13T04:34:41.409Z] ---> b8419575df5c [2024-11-13T04:34:41.409Z] Step 22/24 : LABEL arch=arm64 [2024-11-13T04:34:41.674Z] ---> Running in f8f96eff0546 [2024-11-13T04:34:41.939Z] Removing intermediate container f8f96eff0546 [2024-11-13T04:34:41.939Z] ---> 6c3b7e697ce6 [2024-11-13T04:34:41.939Z] Step 23/24 : LABEL git_sha=0e67c1faaa7eb59d118993c0cffc937256b6c1d5 [2024-11-13T04:34:41.939Z] ---> Running in ca544004a63a [2024-11-13T04:34:42.203Z] Removing intermediate container ca544004a63a [2024-11-13T04:34:42.203Z] ---> 2b619477ee04 [2024-11-13T04:34:42.203Z] Step 24/24 : LABEL version=0.0.0 [2024-11-13T04:34:42.203Z] ---> Running in 9fa09a863f0c [2024-11-13T04:34:42.467Z] Removing intermediate container 9fa09a863f0c [2024-11-13T04:34:42.467Z] ---> 978c8afba235 [2024-11-13T04:34:42.467Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-13T04:34:42.467Z] Successfully built 978c8afba235 [2024-11-13T04:34:42.467Z] 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-13T04:34:43.435Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-13T04:34:43.435Z] [2024-11-13T04:34:43.435Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T04:34:43.875Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-13T04:34:43.875Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-13T04:34:43.875Z] 8998bd30e6a1: Pulling fs layer [2024-11-13T04:34:43.875Z] 04944245beec: Pulling fs layer [2024-11-13T04:34:43.875Z] 699f458cf7ca: Pulling fs layer [2024-11-13T04:34:43.875Z] 765212b225bb: Pulling fs layer [2024-11-13T04:34:43.875Z] f23df028b6ca: Pulling fs layer [2024-11-13T04:34:43.875Z] d65c8cfc05b1: Pulling fs layer [2024-11-13T04:34:43.875Z] 2437ff75d9bd: Pulling fs layer [2024-11-13T04:34:43.875Z] 765212b225bb: Waiting [2024-11-13T04:34:43.875Z] f23df028b6ca: Waiting [2024-11-13T04:34:43.875Z] d65c8cfc05b1: Waiting [2024-11-13T04:34:43.875Z] 2437ff75d9bd: Waiting [2024-11-13T04:34:44.142Z] 04944245beec: Download complete [2024-11-13T04:34:44.142Z] 765212b225bb: Verifying Checksum [2024-11-13T04:34:44.142Z] 765212b225bb: Download complete [2024-11-13T04:34:44.142Z] f23df028b6ca: Download complete [2024-11-13T04:34:44.142Z] d65c8cfc05b1: Verifying Checksum [2024-11-13T04:34:44.142Z] d65c8cfc05b1: Download complete [2024-11-13T04:34:44.142Z] 699f458cf7ca: Verifying Checksum [2024-11-13T04:34:44.142Z] 699f458cf7ca: Download complete [2024-11-13T04:34:44.723Z] 8998bd30e6a1: Verifying Checksum [2024-11-13T04:34:44.723Z] 8998bd30e6a1: Download complete [2024-11-13T04:34:46.659Z] 2437ff75d9bd: Verifying Checksum [2024-11-13T04:34:46.659Z] 2437ff75d9bd: Download complete [2024-11-13T04:34:48.598Z] 8998bd30e6a1: Pull complete [2024-11-13T04:34:49.187Z] 04944245beec: Pull complete [2024-11-13T04:34:50.594Z] 699f458cf7ca: Pull complete [2024-11-13T04:34:50.861Z] 765212b225bb: Pull complete [2024-11-13T04:34:51.814Z] f23df028b6ca: Pull complete [2024-11-13T04:34:51.814Z] d65c8cfc05b1: Pull complete [2024-11-13T04:35:06.787Z] 2437ff75d9bd: Pull complete [2024-11-13T04:35:06.787Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-13T04:35:06.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-13T04:35:06.787Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-13T04:35:07.137Z] prd-ubuntu20.04-docker-arm64-4c-16g-26325 does not seem to be running inside a container [2024-11-13T04:35:07.196Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-13T04:35:09.786Z] $ docker top f3e096e7c63fb7b10402107485f2f9eaddeba77bdc945b016c43bdc17071426f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-13T04:35:10.734Z] ---> job-cost.sh [2024-11-13T04:35:10.734Z] lf-activate-venv: SKIPPING [2024-11-13T04:35:10.734Z] INFO: No Stack... [2024-11-13T04:35:11.003Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-13T04:35:11.963Z] INFO: Archiving Costs [Pipeline] sh [2024-11-13T04:35:12.640Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-11-13T04:35:12.640Z] + cut -d, -f6 [Pipeline] lock [2024-11-13T04:35:12.730Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1650-1-stack-cost] [2024-11-13T04:35:12.738Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1650-1-stack-cost] did not exist. Created. [2024-11-13T04:35:12.746Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1650-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-13T04:35:13.487Z] /w/workspace/device-sdk-go/1@tmp/durable-f9b300ac/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-13T04:35:14.154Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-13T04:35:14.201Z] Warning: overwriting stash ‘stack-cost’ [2024-11-13T04:35:14.282Z] Stashed 1 file(s) [Pipeline] } [2024-11-13T04:35:14.306Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1650-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-13T04:35:14.390Z] $ docker stop --time=1 f3e096e7c63fb7b10402107485f2f9eaddeba77bdc945b016c43bdc17071426f [2024-11-13T04:35:15.885Z] $ docker rm -f --volumes f3e096e7c63fb7b10402107485f2f9eaddeba77bdc945b016c43bdc17071426f [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-13T04:35:17.143Z] provisioning config files... [2024-11-13T04:35:17.151Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1650@tmp/config3731529471931988014tmp [Pipeline] { [Pipeline] sh [2024-11-13T04:35:17.518Z] + set +x [2024-11-13T04:35:17.518Z] + bash -s -- [2024-11-13T04:35:17.518Z] + curl -s https://codecov.io/bash [2024-11-13T04:35:17.518Z] [2024-11-13T04:35:17.518Z] _____ _ [2024-11-13T04:35:17.518Z] / ____| | | [2024-11-13T04:35:17.518Z] | | ___ __| | ___ ___ _____ __ [2024-11-13T04:35:17.518Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-13T04:35:17.518Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-13T04:35:17.518Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-13T04:35:17.518Z] Bash-1.0.6 [2024-11-13T04:35:17.518Z] [2024-11-13T04:35:17.518Z] [2024-11-13T04:35:17.518Z] ==> git version 2.25.1 found [2024-11-13T04:35:17.519Z] ==> 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-13T04:35:17.519Z] Release-Date: 2020-01-08 [2024-11-13T04:35:17.519Z] 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-13T04:35:17.519Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-13T04:35:17.519Z] ==> Jenkins CI detected. [2024-11-13T04:35:17.519Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1650 [2024-11-13T04:35:17.519Z] project root: . [2024-11-13T04:35:17.519Z] --> token set from env [2024-11-13T04:35:17.519Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-13T04:35:17.519Z] ==> Running gcov in . (disable via -X gcov) [2024-11-13T04:35:17.519Z] ==> Python coveragepy not found [2024-11-13T04:35:17.519Z] ==> Searching for coverage reports in: [2024-11-13T04:35:17.519Z] + . [2024-11-13T04:35:17.519Z] -> Found 1 reports [2024-11-13T04:35:17.519Z] ==> Detecting git/mercurial file structure [2024-11-13T04:35:17.519Z] ==> Reading reports [2024-11-13T04:35:17.519Z] + ./coverage.out bytes=468087 [2024-11-13T04:35:17.778Z] ==> Appending adjustments [2024-11-13T04:35:17.778Z] https://docs.codecov.io/docs/fixing-reports [2024-11-13T04:35:18.039Z] + Found adjustments [2024-11-13T04:35:18.039Z] ==> Gzipping contents [2024-11-13T04:35:18.039Z] 44K /tmp/codecov.SKjHtV.gz [2024-11-13T04:35:18.039Z] ==> Uploading reports [2024-11-13T04:35:18.039Z] url: https://codecov.io [2024-11-13T04:35:18.039Z] query: branch=PR-1650&commit=0e67c1faaa7eb59d118993c0cffc937256b6c1d5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1650%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1650&job=&cmd_args= [2024-11-13T04:35:18.039Z] -> Pinging Codecov [2024-11-13T04:35:18.039Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1650&commit=0e67c1faaa7eb59d118993c0cffc937256b6c1d5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1650%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1650&job=&cmd_args= [2024-11-13T04:35:18.300Z] -> Uploading to [2024-11-13T04:35:18.300Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/0e67c1faaa7eb59d118993c0cffc937256b6c1d5/1aac6faa-e1a3-4610-b4a1-31308f094edc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241113%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241113T043517Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=03e8bdb48d868e9cfe9955baeacf2651a85dd472c908fcb5184b038e1d361e86 [2024-11-13T04:35:18.300Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-13T04:35:18.300Z] Dload Upload Total Spent Left Speed [2024-11-13T04:35:18.559Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44779 0 0 100 44779 0 167k --:--:-- --:--:-- --:--:-- 167k [2024-11-13T04:35:18.560Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0e67c1faaa7eb59d118993c0cffc937256b6c1d5 [Pipeline] } [2024-11-13T04:35:18.591Z] 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-13T04:35:20.900Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1650/archives ] [2024-11-13T04:35:20.900Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1650/archives [2024-11-13T04:35:20.900Z] total 16 [2024-11-13T04:35:20.900Z] drwxr-xr-x 3 root root 4096 Nov 13 04:21 . [2024-11-13T04:35:20.900Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 13 04:21 .. [2024-11-13T04:35:20.900Z] drwxr-xr-x 2 root root 4096 Nov 13 04:21 cost [2024-11-13T04:35:20.900Z] -rw-r--r-- 1 root root 86 Nov 13 04:21 cost.csv [2024-11-13T04:35:20.900Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1650/archives [2024-11-13T04:35:20.900Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1650/archives [2024-11-13T04:35:20.900Z] total 16 [2024-11-13T04:35:20.900Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 13 04:21 . [2024-11-13T04:35:20.900Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 13 04:21 .. [2024-11-13T04:35:20.900Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 13 04:21 cost [2024-11-13T04:35:20.900Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 13 04:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-13T04:35:21.249Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-13T04:35:22.154Z] ---> package-listing.sh [2024-11-13T04:35:22.154Z] ++ facter osfamily [2024-11-13T04:35:22.154Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-13T04:35:22.414Z] + OS_FAMILY=debian [2024-11-13T04:35:22.414Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1650 [2024-11-13T04:35:22.414Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-13T04:35:22.414Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-13T04:35:22.414Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-13T04:35:22.414Z] + PACKAGES=/tmp/packages_start.txt [2024-11-13T04:35:22.414Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1650 ']' [2024-11-13T04:35:22.414Z] + PACKAGES=/tmp/packages_end.txt [2024-11-13T04:35:22.414Z] + case "${OS_FAMILY}" in [2024-11-13T04:35:22.414Z] + dpkg -l [2024-11-13T04:35:22.414Z] + grep '^ii' [2024-11-13T04:35:22.414Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-13T04:35:22.414Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-13T04:35:22.414Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-13T04:35:22.414Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1650 ']' [2024-11-13T04:35:22.414Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1650/archives/ [2024-11-13T04:35:22.414Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1650/archives/ [Pipeline] echo [2024-11-13T04:35:42.258Z] 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-1650/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-13T04:35:42.563Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-13T04:35:43.227Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-13T04:35:43.228Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-13T04:35:43.395Z] prd-ubuntu20.04-docker-8c-8g-26324 does not seem to be running inside a container [2024-11-13T04:35:43.471Z] $ 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-1650/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-1650 -v /w/workspace/gexfoundry_device-sdk-go_PR-1650:/w/workspace/gexfoundry_device-sdk-go_PR-1650:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1650@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1650@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-13T04:35:43.644Z] $ docker top 6119ffa2fb274098885a995282004150d379d4eeca91c9aeb0af8ffadb228e6c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-13T04:35:44.119Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-13T04:35:44.476Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-13T04:35:44.808Z] + ls /var/log/sa-host [2024-11-13T04:35:44.808Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-13T04:35:45.081Z] provisioning config files... [2024-11-13T04:35:45.091Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1650@tmp/config1659537513500497626tmp [Pipeline] { [Pipeline] echo [2024-11-13T04:35:45.173Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-13T04:35:45.500Z] ---> create-netrc.sh [Pipeline] } [2024-11-13T04:35:45.532Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-13T04:35:45.958Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-13T04:35:45.998Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-13T04:35:46.320Z] ---> sudo-logs.sh [2024-11-13T04:35:46.321Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-13T04:35:46.425Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-13T04:35:46.744Z] ---> job-cost.sh [2024-11-13T04:35:46.744Z] lf-activate-venv: SKIPPING [2024-11-13T04:35:46.744Z] DEBUG: total: 0.2199999988079071 [2024-11-13T04:35:46.744Z] INFO: Retrieving Stack Cost... [2024-11-13T04:35:47.003Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-13T04:35:47.571Z] INFO: Archiving Costs [Pipeline] echo [2024-11-13T04:35:47.619Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-13T04:35:47.947Z] ---> logs-deploy.sh [2024-11-13T04:35:47.948Z] lf-activate-venv: SKIPPING [2024-11-13T04:35:47.948Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1650/1 [2024-11-13T04:35:47.948Z] INFO: archiving workspace using pattern(s): [2024-11-13T04:35:48.883Z] Archives upload complete. [2024-11-13T04:35:48.883Z] INFO: archiving logs to Nexus