Pull request #1636 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd+e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 (d2c64bcdf47722e3265b9cd3e744bd8507d0c4b0) 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-ssh9137344551628984321.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-ssh16149288320504107541.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-1636/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-1636/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13347465821089838131.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-1636/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7194239509825855429.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-ssh17409527019391052078.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-1636/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-1636/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15644960549584282472.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/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22145 in /w/workspace/gexfoundry_device-sdk-go_PR-1636 [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-1636 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1636/head:refs/remotes/origin/PR-1636 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 into PR head commit 9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd Merge succeeded, producing 9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd Checking out Revision 9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd (PR-1636) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f 9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd # 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 e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-08T04:07:45.647Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-08T04:07:45.879Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-08T04:07:46.003Z] ========================================================= [2024-10-08T04:07:46.003Z] EdgeX Global Pipelines Version Info [2024-10-08T04:07:46.003Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-08T04:07:46.768Z] ------------------- [2024-10-08T04:07:46.768Z] stable info: [2024-10-08T04:07:46.768Z] ------------------- [2024-10-08T04:07:46.768Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-08T04:07:46.768Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-08T04:07:46.768Z] Message: update stable to v1.0.265 [2024-10-08T04:07:47.339Z] ------------------- [2024-10-08T04:07:47.339Z] experimental info: [2024-10-08T04:07:47.339Z] ------------------- [2024-10-08T04:07:47.339Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-08T04:07:47.339Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-08T04:07:47.339Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-08T04:07:47.553Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-10-08T04:07:47.615Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-10-08T04:07:47.671Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-08T04:07:47.733Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-08T04:07:47.788Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-08T04:07:47.844Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-08T04:07:47.899Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-08T04:07:47.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-10-08T04:07:48.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-08T04:07:48.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-08T04:07:48.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-08T04:07:48.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-10-08T04:07:48.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-08T04:07:48.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-08T04:07:48.361Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-08T04:07:48.424Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-08T04:07:48.481Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-08T04:07:48.540Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-08T04:07:48.597Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-08T04:07:48.655Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-08T04:07:48.721Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-08T04:07:48.768Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-10-08T04:07:48.828Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-08T04:07:48.885Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-08T04:07:48.939Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-08T04:07:48.997Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-08T04:07:49.055Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-08T04:07:49.112Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1636 [Pipeline] echo [2024-10-08T04:07:49.174Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1636 [Pipeline] echo [2024-10-08T04:07:49.234Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1636 [Pipeline] echo [2024-10-08T04:07:49.298Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd [Pipeline] echo [2024-10-08T04:07:49.361Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a476d5 [Pipeline] echo [2024-10-08T04:07:49.421Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-08T04:07:49.573Z] provisioning config files... [2024-10-08T04:07:49.589Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1636@tmp/config7056004908353505945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-08T04:07:49.981Z] ---> ****-login.sh [2024-10-08T04:07:49.982Z] nexus3.edgexfoundry.org:10001 [2024-10-08T04:07:50.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T04:07:50.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T04:07:50.243Z] Configure a credential helper to remove this warning. See [2024-10-08T04:07:50.243Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T04:07:50.243Z] [2024-10-08T04:07:50.243Z] Login Succeeded [2024-10-08T04:07:50.243Z] nexus3.edgexfoundry.org:10002 [2024-10-08T04:07:50.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T04:07:50.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T04:07:50.243Z] Configure a credential helper to remove this warning. See [2024-10-08T04:07:50.243Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T04:07:50.243Z] [2024-10-08T04:07:50.243Z] Login Succeeded [2024-10-08T04:07:50.243Z] nexus3.edgexfoundry.org:10003 [2024-10-08T04:07:50.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T04:07:50.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T04:07:50.505Z] Configure a credential helper to remove this warning. See [2024-10-08T04:07:50.505Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T04:07:50.505Z] [2024-10-08T04:07:50.505Z] Login Succeeded [2024-10-08T04:07:50.505Z] nexus3.edgexfoundry.org:10004 [2024-10-08T04:07:50.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T04:07:50.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T04:07:50.505Z] Configure a credential helper to remove this warning. See [2024-10-08T04:07:50.506Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T04:07:50.506Z] [2024-10-08T04:07:50.506Z] Login Succeeded [2024-10-08T04:07:50.506Z] ****.io [2024-10-08T04:07:50.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T04:07:50.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T04:07:50.766Z] Configure a credential helper to remove this warning. See [2024-10-08T04:07:50.767Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T04:07:50.767Z] [2024-10-08T04:07:50.767Z] Login Succeeded [2024-10-08T04:07:50.767Z] ---> ****-login.sh ends [Pipeline] } [2024-10-08T04:07:50.800Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-08T04:07:51.497Z] + git rev-list -1 --merges 9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd~1..9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd [Pipeline] echo [2024-10-08T04:07:51.543Z] -----------> git rev-list -1 --merges 9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd~1..9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd 9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd [false] [Pipeline] sh [2024-10-08T04:07:51.863Z] + git log --format=format:%s -1 9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd [Pipeline] echo [2024-10-08T04:07:51.910Z] ========================================================= [2024-10-08T04:07:51.910Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-08T04:07:51.910Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-08T04:07:52.365Z] + git log --format=format:%s -1 9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd [Pipeline] echo [2024-10-08T04:07:52.409Z] [semverPrep] GIT_COMMIT: 9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2024-10-08T04:07:52.458Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-08T04:07:52.869Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-08T04:07:52.869Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-08T04:07:52.869Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-08T04:07:52.869Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-08T04:07:52.869Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-08T04:07:52.869Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-08T04:07:52.869Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T04:07:53.324Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-08T04:07:53.324Z] [2024-10-08T04:07:53.324Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T04:07:53.713Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-08T04:07:53.713Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-08T04:07:53.713Z] b85a868b505f: Pulling fs layer [2024-10-08T04:07:53.713Z] e2be974225ed: Pulling fs layer [2024-10-08T04:07:53.713Z] 339a4e72a1f5: Pulling fs layer [2024-10-08T04:07:53.713Z] 988bab9f4d93: Pulling fs layer [2024-10-08T04:07:53.713Z] 1469e6f7b9e6: Pulling fs layer [2024-10-08T04:07:53.713Z] eaf3925da568: Pulling fs layer [2024-10-08T04:07:53.713Z] bab4dde63d76: Pulling fs layer [2024-10-08T04:07:53.713Z] bde34c3a00c8: Pulling fs layer [2024-10-08T04:07:53.713Z] b352a97aabf1: Pulling fs layer [2024-10-08T04:07:53.713Z] 4872d77fe225: Pulling fs layer [2024-10-08T04:07:53.713Z] 5851b861e8e6: Pulling fs layer [2024-10-08T04:07:53.713Z] 988bab9f4d93: Waiting [2024-10-08T04:07:53.713Z] 1469e6f7b9e6: Waiting [2024-10-08T04:07:53.713Z] b352a97aabf1: Waiting [2024-10-08T04:07:53.713Z] eaf3925da568: Waiting [2024-10-08T04:07:53.713Z] bab4dde63d76: Waiting [2024-10-08T04:07:53.713Z] 5851b861e8e6: Waiting [2024-10-08T04:07:53.713Z] bde34c3a00c8: Waiting [2024-10-08T04:07:53.713Z] 4872d77fe225: Waiting [2024-10-08T04:07:53.713Z] e2be974225ed: Verifying Checksum [2024-10-08T04:07:53.713Z] e2be974225ed: Download complete [2024-10-08T04:07:53.713Z] 988bab9f4d93: Verifying Checksum [2024-10-08T04:07:53.713Z] 988bab9f4d93: Download complete [2024-10-08T04:07:53.713Z] 1469e6f7b9e6: Verifying Checksum [2024-10-08T04:07:53.713Z] 1469e6f7b9e6: Download complete [2024-10-08T04:07:53.713Z] 339a4e72a1f5: Verifying Checksum [2024-10-08T04:07:53.713Z] 339a4e72a1f5: Download complete [2024-10-08T04:07:53.976Z] eaf3925da568: Verifying Checksum [2024-10-08T04:07:53.976Z] eaf3925da568: Download complete [2024-10-08T04:07:53.976Z] bde34c3a00c8: Download complete [2024-10-08T04:07:53.976Z] b352a97aabf1: Download complete [2024-10-08T04:07:53.976Z] 4872d77fe225: Verifying Checksum [2024-10-08T04:07:53.976Z] 5851b861e8e6: Download complete [2024-10-08T04:07:53.976Z] b85a868b505f: Verifying Checksum [2024-10-08T04:07:53.976Z] b85a868b505f: Download complete [2024-10-08T04:07:54.236Z] bab4dde63d76: Verifying Checksum [2024-10-08T04:07:54.236Z] bab4dde63d76: Download complete [2024-10-08T04:07:55.173Z] b85a868b505f: Pull complete [2024-10-08T04:07:55.432Z] e2be974225ed: Pull complete [2024-10-08T04:07:56.002Z] 339a4e72a1f5: Pull complete [2024-10-08T04:07:56.002Z] 988bab9f4d93: Pull complete [2024-10-08T04:07:56.262Z] 1469e6f7b9e6: Pull complete [2024-10-08T04:07:56.262Z] eaf3925da568: Pull complete [2024-10-08T04:07:58.180Z] bab4dde63d76: Pull complete [2024-10-08T04:07:58.180Z] bde34c3a00c8: Pull complete [2024-10-08T04:07:58.180Z] b352a97aabf1: Pull complete [2024-10-08T04:07:58.180Z] 4872d77fe225: Pull complete [2024-10-08T04:07:58.440Z] 5851b861e8e6: Pull complete [2024-10-08T04:07:58.440Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-08T04:07:58.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-08T04:07:58.440Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T04:07:58.727Z] prd-ubuntu20.04-docker-8c-8g-22145 does not seem to be running inside a container [2024-10-08T04:07:58.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1636 -v /w/workspace/gexfoundry_device-sdk-go_PR-1636:/w/workspace/gexfoundry_device-sdk-go_PR-1636:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1636@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1636@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-10-08T04:08:01.650Z] $ docker top 55bd832d2e192f31f5c32c8fe8f1cc60e169d961120921843218742647eb77d5 -eo pid,comm [2024-10-08T04:08:01.716Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-08T04:08:01.716Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-08T04:08:01.894Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-08T04:08:01.894Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-08T04:08:02.016Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-08T04:08:02.019Z] $ docker exec 55bd832d2e192f31f5c32c8fe8f1cc60e169d961120921843218742647eb77d5 ssh-agent [2024-10-08T04:08:02.140Z] SSH_AUTH_SOCK=/tmp/ssh-xRRrf7gg90eJ/agent.33 [2024-10-08T04:08:02.140Z] SSH_AGENT_PID=39 [2024-10-08T04:08:02.145Z] Running ssh-add (command line suppressed) [2024-10-08T04:08:02.244Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1636@tmp/private_key_11867037753939633035.key (/w/workspace/gexfoundry_device-sdk-go_PR-1636@tmp/private_key_11867037753939633035.key) [2024-10-08T04:08:02.257Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-08T04:08:02.604Z] + git tag --points-at HEAD [Pipeline] } [2024-10-08T04:08:02.634Z] $ docker exec --env ******** --env ******** 55bd832d2e192f31f5c32c8fe8f1cc60e169d961120921843218742647eb77d5 ssh-agent -k [2024-10-08T04:08:02.739Z] unset SSH_AUTH_SOCK; [2024-10-08T04:08:02.739Z] unset SSH_AGENT_PID; [2024-10-08T04:08:02.739Z] echo Agent pid 39 killed; [2024-10-08T04:08:02.752Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-08T04:08:02.875Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-08T04:08:02.876Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-08T04:08:03.011Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-08T04:08:03.016Z] $ docker exec 55bd832d2e192f31f5c32c8fe8f1cc60e169d961120921843218742647eb77d5 ssh-agent [2024-10-08T04:08:03.151Z] SSH_AUTH_SOCK=/tmp/ssh-A5MWip5JJhV1/agent.72 [2024-10-08T04:08:03.151Z] SSH_AGENT_PID=78 [2024-10-08T04:08:03.157Z] Running ssh-add (command line suppressed) [2024-10-08T04:08:03.264Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1636@tmp/private_key_15514560147618721090.key (/w/workspace/gexfoundry_device-sdk-go_PR-1636@tmp/private_key_15514560147618721090.key) [2024-10-08T04:08:03.275Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-08T04:08:03.628Z] + git semver init [2024-10-08T04:08:03.897Z] 2024-10-08 04:08:03,829 [run_init] DEBUG init version:0.0.0 force:False [2024-10-08T04:08:03.897Z] 2024-10-08 04:08:03,831 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1636/.semver [2024-10-08T04:08:03.897Z] 2024-10-08 04:08:03,831 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1636/.semver [2024-10-08T04:08:03.897Z] 2024-10-08 04:08:03,831 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1636/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1636, universal_newlines=False, shell=None, istream=None) [2024-10-08T04:08:06.444Z] 2024-10-08 04:08:05,945 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1636/.git/info/exclude [2024-10-08T04:08:06.444Z] 2024-10-08 04:08:05,945 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1636/.semver/PR-1636 with force:False [2024-10-08T04:08:06.444Z] 2024-10-08 04:08:05,945 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1636/.semver/PR-1636 [2024-10-08T04:08:06.444Z] 2024-10-08 04:08:05,951 [execute] INFO git cat-file --batch-check [2024-10-08T04:08:06.444Z] 2024-10-08 04:08:05,951 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1636/.semver, universal_newlines=False, shell=None, istream=) [2024-10-08T04:08:06.444Z] 2024-10-08 04:08:05,958 [execute] INFO git cat-file --batch [2024-10-08T04:08:06.444Z] 2024-10-08 04:08:05,958 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1636/.semver, universal_newlines=False, shell=None, istream=) [2024-10-08T04:08:06.444Z] 2024-10-08 04:08:05,964 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1636/.semver/PR-1636 [2024-10-08T04:08:06.444Z] 0.0.0 [Pipeline] } [2024-10-08T04:08:06.475Z] $ docker exec --env ******** --env ******** 55bd832d2e192f31f5c32c8fe8f1cc60e169d961120921843218742647eb77d5 ssh-agent -k [2024-10-08T04:08:06.620Z] unset SSH_AUTH_SOCK; [2024-10-08T04:08:06.620Z] unset SSH_AGENT_PID; [2024-10-08T04:08:06.621Z] echo Agent pid 78 killed; [2024-10-08T04:08:06.710Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-08T04:08:07.159Z] + git semver [Pipeline] } [2024-10-08T04:08:07.450Z] $ docker stop --time=1 55bd832d2e192f31f5c32c8fe8f1cc60e169d961120921843218742647eb77d5 [2024-10-08T04:08:08.753Z] $ docker rm -f --volumes 55bd832d2e192f31f5c32c8fe8f1cc60e169d961120921843218742647eb77d5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-08T04:08:09.201Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-08T04:08:09.530Z] Stashed 1 file(s) [Pipeline] echo [2024-10-08T04:08:09.554Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-08T04:08:10.268Z] provisioning config files... [2024-10-08T04:08:10.281Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1636@tmp/config11449183525126768783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-08T04:08:10.647Z] ---> ****-login.sh [2024-10-08T04:08:10.647Z] nexus3.edgexfoundry.org:10001 [2024-10-08T04:08:10.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T04:08:10.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T04:08:10.647Z] Configure a credential helper to remove this warning. See [2024-10-08T04:08:10.647Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T04:08:10.647Z] [2024-10-08T04:08:10.647Z] Login Succeeded [2024-10-08T04:08:10.647Z] nexus3.edgexfoundry.org:10002 [2024-10-08T04:08:10.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T04:08:10.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T04:08:10.647Z] Configure a credential helper to remove this warning. See [2024-10-08T04:08:10.647Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T04:08:10.647Z] [2024-10-08T04:08:10.647Z] Login Succeeded [2024-10-08T04:08:10.647Z] nexus3.edgexfoundry.org:10003 [2024-10-08T04:08:10.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T04:08:10.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T04:08:10.908Z] Configure a credential helper to remove this warning. See [2024-10-08T04:08:10.908Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T04:08:10.908Z] [2024-10-08T04:08:10.908Z] Login Succeeded [2024-10-08T04:08:10.908Z] nexus3.edgexfoundry.org:10004 [2024-10-08T04:08:10.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T04:08:10.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T04:08:10.909Z] Configure a credential helper to remove this warning. See [2024-10-08T04:08:10.909Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T04:08:10.909Z] [2024-10-08T04:08:10.909Z] Login Succeeded [2024-10-08T04:08:10.909Z] ****.io [2024-10-08T04:08:10.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T04:08:11.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T04:08:11.168Z] Configure a credential helper to remove this warning. See [2024-10-08T04:08:11.168Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T04:08:11.168Z] [2024-10-08T04:08:11.168Z] Login Succeeded [2024-10-08T04:08:11.168Z] ---> ****-login.sh ends [Pipeline] } [2024-10-08T04:08:11.202Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-08T04:08:11.432Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-08T04:08:11.481Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-08T04:08:11.526Z] ========================================================= [2024-10-08T04:08:11.526Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-08T04:08:11.526Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T04:08:12.045Z] + 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-10-08T04:08:12.045Z] Sending build context to Docker daemon 25.44MB [2024-10-08T04:08:12.045Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-08T04:08:12.045Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-08T04:08:12.304Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-08T04:08:12.305Z] 43c4264eed91: Pulling fs layer [2024-10-08T04:08:12.305Z] 4cc291be95ef: Pulling fs layer [2024-10-08T04:08:12.305Z] 2ac1f1163629: Pulling fs layer [2024-10-08T04:08:12.305Z] 5c3c966382ef: Pulling fs layer [2024-10-08T04:08:12.305Z] 4f4fb700ef54: Pulling fs layer [2024-10-08T04:08:12.305Z] 5d5c8e513c77: Pulling fs layer [2024-10-08T04:08:12.305Z] 9f66e0745190: Pulling fs layer [2024-10-08T04:08:12.305Z] f49a43e4bbc0: Pulling fs layer [2024-10-08T04:08:12.305Z] 561ebcabdf7f: Pulling fs layer [2024-10-08T04:08:12.305Z] 4f4fb700ef54: Waiting [2024-10-08T04:08:12.305Z] 9f66e0745190: Waiting [2024-10-08T04:08:12.305Z] 5d5c8e513c77: Waiting [2024-10-08T04:08:12.305Z] f49a43e4bbc0: Waiting [2024-10-08T04:08:12.305Z] 561ebcabdf7f: Waiting [2024-10-08T04:08:12.305Z] 5c3c966382ef: Waiting [2024-10-08T04:08:12.305Z] 4cc291be95ef: Verifying Checksum [2024-10-08T04:08:12.305Z] 4cc291be95ef: Download complete [2024-10-08T04:08:12.305Z] 5c3c966382ef: Verifying Checksum [2024-10-08T04:08:12.305Z] 5c3c966382ef: Download complete [2024-10-08T04:08:12.305Z] 4f4fb700ef54: Verifying Checksum [2024-10-08T04:08:12.305Z] 4f4fb700ef54: Download complete [2024-10-08T04:08:12.305Z] 5d5c8e513c77: Verifying Checksum [2024-10-08T04:08:12.305Z] 5d5c8e513c77: Download complete [2024-10-08T04:08:12.305Z] 43c4264eed91: Download complete [2024-10-08T04:08:12.305Z] 9f66e0745190: Verifying Checksum [2024-10-08T04:08:12.305Z] 9f66e0745190: Download complete [2024-10-08T04:08:12.563Z] 43c4264eed91: Pull complete [2024-10-08T04:08:12.563Z] 561ebcabdf7f: Verifying Checksum [2024-10-08T04:08:12.563Z] 561ebcabdf7f: Download complete [2024-10-08T04:08:12.563Z] 4cc291be95ef: Pull complete [2024-10-08T04:08:12.821Z] 2ac1f1163629: Verifying Checksum [2024-10-08T04:08:12.821Z] 2ac1f1163629: Download complete [2024-10-08T04:08:13.078Z] f49a43e4bbc0: Verifying Checksum [2024-10-08T04:08:13.078Z] f49a43e4bbc0: Download complete [2024-10-08T04:08:16.359Z] 2ac1f1163629: Pull complete [2024-10-08T04:08:16.359Z] 5c3c966382ef: Pull complete [2024-10-08T04:08:16.359Z] 4f4fb700ef54: Pull complete [2024-10-08T04:08:16.619Z] 5d5c8e513c77: Pull complete [2024-10-08T04:08:16.619Z] 9f66e0745190: Pull complete [2024-10-08T04:08:19.168Z] f49a43e4bbc0: Pull complete [2024-10-08T04:08:19.424Z] 561ebcabdf7f: Pull complete [2024-10-08T04:08:19.425Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-08T04:08:19.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-08T04:08:19.425Z] ---> 3a752c3f9dda [2024-10-08T04:08:19.425Z] Step 3/10 : ARG MAKE=make build [2024-10-08T04:08:24.714Z] ---> Running in 9b30f178c429 [2024-10-08T04:08:24.714Z] Removing intermediate container 9b30f178c429 [2024-10-08T04:08:24.714Z] ---> fb11eed574b5 [2024-10-08T04:08:24.714Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-08T04:08:24.714Z] ---> Running in 1e4458e1e206 [2024-10-08T04:08:24.714Z] Removing intermediate container 1e4458e1e206 [2024-10-08T04:08:24.714Z] ---> 5435522ad800 [2024-10-08T04:08:24.714Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-08T04:08:24.714Z] ---> Running in 205252eab275 [2024-10-08T04:08:24.714Z] Removing intermediate container 205252eab275 [2024-10-08T04:08:24.714Z] ---> 2458cdf6c6ff [2024-10-08T04:08:24.714Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-08T04:08:24.714Z] ---> Running in 8bad7f33ee71 [2024-10-08T04:08:24.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-08T04:08:24.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-08T04:08:24.974Z] OK: 246 MiB in 54 packages [2024-10-08T04:08:25.056Z] Still waiting to schedule task [2024-10-08T04:08:25.056Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-10-08T04:08:25.541Z] Removing intermediate container 8bad7f33ee71 [2024-10-08T04:08:25.541Z] ---> b6bd2145ed7c [2024-10-08T04:08:25.541Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-08T04:08:25.541Z] ---> 49034a32cbb0 [2024-10-08T04:08:25.541Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-08T04:08:25.541Z] ---> Running in b5b182f7d573 [2024-10-08T04:09:12.288Z] Removing intermediate container b5b182f7d573 [2024-10-08T04:09:12.288Z] ---> 456e66699c11 [2024-10-08T04:09:12.288Z] Step 9/10 : COPY . . [2024-10-08T04:09:12.288Z] ---> d3e3ce628d8f [2024-10-08T04:09:12.288Z] Step 10/10 : RUN ${MAKE} [2024-10-08T04:09:12.288Z] ---> Running in c4211ea58402 [2024-10-08T04:09:12.288Z] noop [2024-10-08T04:09:12.547Z] Removing intermediate container c4211ea58402 [2024-10-08T04:09:12.547Z] ---> 3bc6fb9539c2 [2024-10-08T04:09:12.547Z] Successfully built 3bc6fb9539c2 [2024-10-08T04:09:12.547Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T04:09:13.025Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-08T04:09:13.025Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T04:09:13.208Z] prd-ubuntu20.04-docker-8c-8g-22145 does not seem to be running inside a container [2024-10-08T04:09:13.231Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1636 -v /w/workspace/gexfoundry_device-sdk-go_PR-1636:/w/workspace/gexfoundry_device-sdk-go_PR-1636:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1636@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1636@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-10-08T04:09:13.520Z] $ docker top abf0997b1eee944bca565012f197de3d19a4821725eb8859ab42aa7ba2405640 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-08T04:09:13.935Z] + go version [2024-10-08T04:09:13.935Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-08T04:09:13.970Z] $ docker stop --time=1 abf0997b1eee944bca565012f197de3d19a4821725eb8859ab42aa7ba2405640 [2024-10-08T04:09:15.236Z] $ docker rm -f --volumes abf0997b1eee944bca565012f197de3d19a4821725eb8859ab42aa7ba2405640 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T04:09:16.061Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-08T04:09:16.061Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T04:09:16.237Z] prd-ubuntu20.04-docker-8c-8g-22145 does not seem to be running inside a container [2024-10-08T04:09:16.261Z] $ 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-1636 -v /w/workspace/gexfoundry_device-sdk-go_PR-1636:/w/workspace/gexfoundry_device-sdk-go_PR-1636:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1636@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1636@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-10-08T04:09:16.579Z] $ docker top 887f414d2973d4be18c3c0957d4c12c85984551b410d1011ed635f0d798d1757 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-08T04:09:16.986Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1636 [Pipeline] fileExists [Pipeline] sh [2024-10-08T04:09:17.378Z] + make test [2024-10-08T04:09:17.378Z] go test -race -coverprofile=coverage.out ./... [2024-10-08T04:09:25.505Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-08T04:10:04.216Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-08T04:10:04.216Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-08T04:10:04.216Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-08T04:10:04.216Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-08T04:10:04.216Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-08T04:10:04.216Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.031s coverage: 26.0% of statements [2024-10-08T04:10:04.216Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.031s coverage: 79.4% of statements [2024-10-08T04:10:04.216Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-08T04:10:04.216Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-08T04:10:04.216Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.049s coverage: 86.0% of statements [2024-10-08T04:10:04.216Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-08T04:10:04.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-08T04:10:04.216Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-08T04:10:04.216Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-08T04:10:04.216Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.101s coverage: 45.2% of statements [2024-10-08T04:10:04.216Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-08T04:10:05.161Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.051s coverage: 14.1% of statements [2024-10-08T04:10:05.161Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.306s coverage: 44.6% of statements [2024-10-08T04:10:05.161Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.092s coverage: 68.3% of statements [2024-10-08T04:10:05.161Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.089s coverage: 88.3% of statements [2024-10-08T04:10:05.161Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.064s coverage: 5.3% of statements [2024-10-08T04:10:37.256Z] GO111MODULE=on go vet ./... [2024-10-08T04:10:39.159Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-08T04:10:39.159Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-08T04:10:39.159Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-08T04:10:39.207Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-08T04:10:39.238Z] $ docker stop --time=1 887f414d2973d4be18c3c0957d4c12c85984551b410d1011ed635f0d798d1757 [2024-10-08T04:10:44.270Z] $ docker rm -f --volumes 887f414d2973d4be18c3c0957d4c12c85984551b410d1011ed635f0d798d1757 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-08T04:10:45.029Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-08T04:10:45.176Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-08T04:10:45.968Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-08T04:10:46.282Z] + ls -al . [2024-10-08T04:10:46.282Z] total 712 [2024-10-08T04:10:46.282Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 8 04:09 . [2024-10-08T04:10:46.282Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 04:07 .. [2024-10-08T04:10:46.282Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 8 04:07 .dockerignore [2024-10-08T04:10:46.282Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 04:10 .git [2024-10-08T04:10:46.282Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 04:07 .github [2024-10-08T04:10:46.282Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 8 04:07 .gitignore [2024-10-08T04:10:46.282Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 8 04:07 .golangci.yml [2024-10-08T04:10:46.282Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 8 04:08 .semver [2024-10-08T04:10:46.282Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 8 04:07 CHANGELOG.md [2024-10-08T04:10:46.282Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 04:07 GOVERNANCE.md [2024-10-08T04:10:46.282Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 8 04:07 Jenkinsfile [2024-10-08T04:10:46.282Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 8 04:07 LICENSE [2024-10-08T04:10:46.282Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 8 04:07 Makefile [2024-10-08T04:10:46.282Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 8 04:07 OWNERS.md [2024-10-08T04:10:46.282Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 8 04:07 README.md [2024-10-08T04:10:46.282Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 04:08 VERSION [2024-10-08T04:10:46.282Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 04:07 bin [2024-10-08T04:10:46.282Z] -rw-r--r-- 1 jenkins jenkins 466605 Oct 8 04:10 coverage.out [2024-10-08T04:10:46.282Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 8 04:07 example [2024-10-08T04:10:46.282Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 8 04:07 go.mod [2024-10-08T04:10:46.282Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 8 04:07 go.sum [2024-10-08T04:10:46.282Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 8 04:07 internal [2024-10-08T04:10:46.282Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 04:07 openapi [2024-10-08T04:10:46.282Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 8 04:07 pkg [2024-10-08T04:10:46.282Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 04:07 snap [2024-10-08T04:10:46.282Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 8 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T04:10:50.103Z] + 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=9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd --label arch=amd64 --label version=0.0.0 . [2024-10-08T04:10:50.103Z] Sending build context to Docker daemon 25.9MB [2024-10-08T04:10:50.103Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-08T04:10:50.103Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-08T04:10:50.103Z] ---> 3bc6fb9539c2 [2024-10-08T04:10:50.103Z] Step 3/24 : ARG MAKE=make build [2024-10-08T04:10:50.103Z] ---> Running in d8d2fe3825cc [2024-10-08T04:10:50.103Z] Removing intermediate container d8d2fe3825cc [2024-10-08T04:10:50.103Z] ---> fe3fa2c9f2e3 [2024-10-08T04:10:50.103Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-08T04:10:50.103Z] ---> Running in 0df1bf317f58 [2024-10-08T04:10:50.103Z] Removing intermediate container 0df1bf317f58 [2024-10-08T04:10:50.103Z] ---> de0b1dde8831 [2024-10-08T04:10:50.103Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-08T04:10:50.103Z] ---> Running in 380281675b86 [2024-10-08T04:10:50.103Z] Removing intermediate container 380281675b86 [2024-10-08T04:10:50.103Z] ---> 9cf1a50d727e [2024-10-08T04:10:50.103Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-08T04:10:50.103Z] ---> Running in e24e551ec55e [2024-10-08T04:10:50.103Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-08T04:10:52.857Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-08T04:10:52.857Z] OK: 246 MiB in 54 packages [2024-10-08T04:10:52.857Z] Removing intermediate container e24e551ec55e [2024-10-08T04:10:52.857Z] ---> 07a30c60513c [2024-10-08T04:10:52.857Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-08T04:10:52.857Z] ---> 65640599e805 [2024-10-08T04:10:52.857Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-08T04:10:52.857Z] ---> Running in 7300570267ad [2024-10-08T04:10:52.857Z] Removing intermediate container 7300570267ad [2024-10-08T04:10:52.857Z] ---> 7ac21edec8a3 [2024-10-08T04:10:52.857Z] Step 9/24 : COPY . . [2024-10-08T04:10:52.857Z] ---> 00853181ccf7 [2024-10-08T04:10:52.857Z] Step 10/24 : RUN ${MAKE} [2024-10-08T04:10:52.857Z] ---> Running in 33e4b6fa000f [2024-10-08T04:10:52.858Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-10-08T04:10:59.735Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22146 in /w/workspace/gexfoundry_device-sdk-go_PR-1636 [Pipeline] { [Pipeline] ws [2024-10-08T04:10:59.814Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-10-08T04:11:02.944Z] The recommended git tool is: git [2024-10-08T04:11:10.136Z] using credential edgex-jenkins-ssh [2024-10-08T04:11:10.159Z] Cloning the remote Git repository [2024-10-08T04:11:10.232Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-10-08T04:11:10.373Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-10-08T04:11:10.596Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-08T04:11:10.598Z] > git --version # timeout=10 [2024-10-08T04:11:10.627Z] > git --version # 'git version 2.25.1' [2024-10-08T04:11:10.631Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-08T04:11:10.865Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-08T04:11:14.765Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-08T04:11:14.792Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-08T04:11:16.093Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-08T04:11:16.148Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-08T04:11:16.149Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-08T04:11:16.179Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1636/head:refs/remotes/origin/PR-1636 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-08T04:11:16.770Z] Merging remotes/origin/main commit e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 into PR head commit 9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd [2024-10-08T04:11:17.192Z] Merge succeeded, producing 9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd [2024-10-08T04:11:17.193Z] Checking out Revision 9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd (PR-1636) [2024-10-08T04:11:16.802Z] > git config core.sparsecheckout # timeout=10 [2024-10-08T04:11:16.903Z] > git checkout -f 9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd # timeout=10 [2024-10-08T04:11:17.055Z] > git remote # timeout=10 [2024-10-08T04:11:17.079Z] > git config --get remote.origin.url # timeout=10 [2024-10-08T04:11:17.108Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-08T04:11:17.135Z] > git merge e658506bf7b56e90d0b690dd2c104c6ce7f51ac9 # timeout=10 [2024-10-08T04:11:17.171Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-08T04:11:17.203Z] > git config core.sparsecheckout # timeout=10 [2024-10-08T04:11:17.235Z] > git checkout -f 9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd # timeout=10 [2024-10-08T04:11:18.183Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2024-10-08T04:11:18.253Z] > git --version # timeout=10 [2024-10-08T04:11:18.267Z] > git --version # 'git version 2.25.1' [2024-10-08T04:11:18.287Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-08T04:11:23.386Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-08T04:11:23.386Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-08T04:11:23.386Z] Dload Upload Total Spent Left Speed [2024-10-08T04:11:23.386Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 198k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh [2024-10-08T04:11:23.773Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-08T04:11:24.142Z] + sudo tee /etc/docker/daemon.new [2024-10-08T04:11:24.142Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-08T04:11:24.142Z] { [2024-10-08T04:11:24.142Z] "registry-mirrors": [ [2024-10-08T04:11:24.142Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-08T04:11:24.142Z] ], [2024-10-08T04:11:24.142Z] "bip": "10.250.0.254/24", [2024-10-08T04:11:24.142Z] "hosts": [ [2024-10-08T04:11:24.142Z] "tcp://0.0.0.0:5555", [2024-10-08T04:11:24.142Z] "unix:///var/run/docker.sock" [2024-10-08T04:11:24.142Z] ], [2024-10-08T04:11:24.142Z] "mtu": 1458, [2024-10-08T04:11:24.142Z] "selinux-enabled": true, [2024-10-08T04:11:24.142Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-08T04:11:24.142Z] } [Pipeline] sh [2024-10-08T04:11:24.523Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-08T04:11:24.924Z] + sudo service docker restart [2024-10-08T04:11:31.576Z] Removing intermediate container 33e4b6fa000f [2024-10-08T04:11:31.576Z] ---> 5b2269aeb306 [2024-10-08T04:11:31.576Z] Step 11/24 : FROM alpine:3.20 [2024-10-08T04:11:31.576Z] 3.20: Pulling from library/alpine [2024-10-08T04:11:31.576Z] 43c4264eed91: Already exists [2024-10-08T04:11:31.576Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-08T04:11:31.576Z] Status: Downloaded newer image for alpine:3.20 [2024-10-08T04:11:31.576Z] ---> 91ef0af61f39 [2024-10-08T04:11:31.576Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-08T04:11:31.576Z] ---> Running in 75fc91d1afb9 [2024-10-08T04:11:31.576Z] Removing intermediate container 75fc91d1afb9 [2024-10-08T04:11:31.576Z] ---> 953a7d37a91a [2024-10-08T04:11:31.576Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-08T04:11:31.576Z] ---> Running in ad053ff11986 [2024-10-08T04:11:31.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-08T04:11:31.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-08T04:11:31.576Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-08T04:11:31.576Z] Executing busybox-1.36.1-r29.trigger [2024-10-08T04:11:31.576Z] OK: 8 MiB in 15 packages [2024-10-08T04:11:31.576Z] Removing intermediate container ad053ff11986 [2024-10-08T04:11:31.576Z] ---> 60b7a26b480d [2024-10-08T04:11:31.576Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-08T04:11:31.576Z] ---> Running in 957b3e9f038d [2024-10-08T04:11:31.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-08T04:11:31.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-08T04:11:31.576Z] Upgrading critical system libraries and apk-tools: [2024-10-08T04:11:31.576Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-08T04:11:31.576Z] Executing busybox-1.36.1-r29.trigger [2024-10-08T04:11:31.576Z] Continuing the upgrade transaction with new apk-tools: [2024-10-08T04:11:31.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-08T04:11:31.576Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-08T04:11:31.576Z] OK: 8 MiB in 15 packages [2024-10-08T04:11:31.576Z] Removing intermediate container 957b3e9f038d [2024-10-08T04:11:31.576Z] ---> 2f1c0d9ae742 [2024-10-08T04:11:31.576Z] Step 15/24 : WORKDIR / [2024-10-08T04:11:31.576Z] ---> Running in 06bfec5bb829 [2024-10-08T04:11:31.576Z] Removing intermediate container 06bfec5bb829 [2024-10-08T04:11:31.576Z] ---> 4822e0fd6748 [2024-10-08T04:11:31.576Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-08T04:11:31.576Z] ---> 3aa483be59f8 [2024-10-08T04:11:31.576Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-08T04:11:32.142Z] ---> 58ece392bd25 [2024-10-08T04:11:32.142Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-08T04:11:32.142Z] ---> cbc03820897f [2024-10-08T04:11:32.142Z] Step 19/24 : EXPOSE 59999 [2024-10-08T04:11:32.142Z] ---> Running in 13a8a46e4d9c [2024-10-08T04:11:32.142Z] Removing intermediate container 13a8a46e4d9c [2024-10-08T04:11:32.142Z] ---> b56c6c13bceb [2024-10-08T04:11:32.142Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-08T04:11:32.142Z] ---> Running in fd58877e3686 [2024-10-08T04:11:32.142Z] Removing intermediate container fd58877e3686 [2024-10-08T04:11:32.142Z] ---> f0312b1c0ea9 [2024-10-08T04:11:32.142Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-08T04:11:32.401Z] ---> Running in ba37579250cc [2024-10-08T04:11:32.401Z] Removing intermediate container ba37579250cc [2024-10-08T04:11:32.401Z] ---> 09c03489ecc6 [2024-10-08T04:11:32.401Z] Step 22/24 : LABEL arch=amd64 [2024-10-08T04:11:32.401Z] ---> Running in e1e0a509b9b8 [2024-10-08T04:11:32.401Z] Removing intermediate container e1e0a509b9b8 [2024-10-08T04:11:32.401Z] ---> f59a7e9da948 [2024-10-08T04:11:32.401Z] Step 23/24 : LABEL git_sha=9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd [2024-10-08T04:11:32.401Z] ---> Running in 0e674c498bd2 [2024-10-08T04:11:32.661Z] Removing intermediate container 0e674c498bd2 [2024-10-08T04:11:32.661Z] ---> 1d843247de26 [2024-10-08T04:11:32.661Z] Step 24/24 : LABEL version=0.0.0 [2024-10-08T04:11:32.661Z] ---> Running in 933a1b848451 [2024-10-08T04:11:32.661Z] Removing intermediate container 933a1b848451 [2024-10-08T04:11:32.661Z] ---> 85a5c8b15784 [2024-10-08T04:11:32.661Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-08T04:11:32.661Z] Successfully built 85a5c8b15784 [2024-10-08T04:11:32.661Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T04:11:33.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-08T04:11:33.722Z] [2024-10-08T04:11:33.722Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T04:11:34.123Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-08T04:11:34.123Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-08T04:11:34.123Z] 5eb5b503b376: Pulling fs layer [2024-10-08T04:11:34.123Z] 5c69ac0246d0: Pulling fs layer [2024-10-08T04:11:34.123Z] ec43610c2a17: Pulling fs layer [2024-10-08T04:11:34.123Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-08T04:11:34.123Z] 33b1e0a273af: Pulling fs layer [2024-10-08T04:11:34.123Z] 3a2ae6a8a46f: Waiting [2024-10-08T04:11:34.123Z] 33b1e0a273af: Waiting [2024-10-08T04:11:34.123Z] 5d3b04190fa2: Pulling fs layer [2024-10-08T04:11:34.123Z] 2f39f015ded8: Pulling fs layer [2024-10-08T04:11:34.123Z] 5d3b04190fa2: Waiting [2024-10-08T04:11:34.123Z] 2f39f015ded8: Waiting [2024-10-08T04:11:34.123Z] 5c69ac0246d0: Download complete [2024-10-08T04:11:34.123Z] 3a2ae6a8a46f: Download complete [2024-10-08T04:11:34.123Z] 33b1e0a273af: Verifying Checksum [2024-10-08T04:11:34.123Z] 33b1e0a273af: Download complete [2024-10-08T04:11:34.123Z] 5d3b04190fa2: Verifying Checksum [2024-10-08T04:11:34.123Z] 5d3b04190fa2: Download complete [2024-10-08T04:11:34.123Z] ec43610c2a17: Verifying Checksum [2024-10-08T04:11:34.123Z] ec43610c2a17: Download complete [2024-10-08T04:11:34.383Z] 5eb5b503b376: Verifying Checksum [2024-10-08T04:11:34.383Z] 5eb5b503b376: Download complete [2024-10-08T04:11:34.948Z] 2f39f015ded8: Download complete [2024-10-08T04:11:35.513Z] 5eb5b503b376: Pull complete [2024-10-08T04:11:35.513Z] 5c69ac0246d0: Pull complete [2024-10-08T04:11:35.771Z] ec43610c2a17: Pull complete [2024-10-08T04:11:36.030Z] 3a2ae6a8a46f: Pull complete [2024-10-08T04:11:36.030Z] 33b1e0a273af: Pull complete [2024-10-08T04:11:36.289Z] 5d3b04190fa2: Pull complete [2024-10-08T04:11:40.486Z] 2f39f015ded8: Pull complete [2024-10-08T04:11:40.486Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-08T04:11:40.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-08T04:11:40.486Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T04:11:40.740Z] prd-ubuntu20.04-docker-8c-8g-22145 does not seem to be running inside a container [2024-10-08T04:11:40.749Z] $ 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-1636 -v /w/workspace/gexfoundry_device-sdk-go_PR-1636:/w/workspace/gexfoundry_device-sdk-go_PR-1636:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1636@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1636@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-10-08T04:11:46.052Z] $ docker top 43a51b8efa7bf294f40a2b744ab5a817ce8373b3e346f573d4179a4ecdb4f1d2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2024-10-08T04:11:46.358Z] provisioning config files... [2024-10-08T04:11:46.403Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6973803567039657836tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-08T04:11:46.582Z] ---> job-cost.sh [2024-10-08T04:11:46.582Z] lf-activate-venv: SKIPPING [2024-10-08T04:11:46.582Z] INFO: No Stack... [2024-10-08T04:11:46.843Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-08T04:11:46.986Z] ---> ****-login.sh [2024-10-08T04:11:46.986Z] nexus3.edgexfoundry.org:10001 [2024-10-08T04:11:47.412Z] INFO: Archiving Costs [Pipeline] sh [2024-10-08T04:11:47.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T04:11:47.739Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1636/archives/cost.csv [2024-10-08T04:11:47.739Z] + cut -d, -f6 [Pipeline] lock [2024-10-08T04:11:47.792Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1636-1-stack-cost] [2024-10-08T04:11:47.798Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1636-1-stack-cost] did not exist. Created. [2024-10-08T04:11:47.804Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1636-1-stack-cost] [Pipeline] { [2024-10-08T04:11:47.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T04:11:47.864Z] Configure a credential helper to remove this warning. See [2024-10-08T04:11:47.864Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T04:11:47.864Z] [2024-10-08T04:11:47.864Z] Login Succeeded [2024-10-08T04:11:47.864Z] nexus3.edgexfoundry.org:10002 [Pipeline] unstash [Pipeline] sh [2024-10-08T04:11:48.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T04:11:48.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T04:11:48.146Z] Configure a credential helper to remove this warning. See [2024-10-08T04:11:48.146Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T04:11:48.146Z] [2024-10-08T04:11:48.146Z] Login Succeeded [2024-10-08T04:11:48.146Z] nexus3.edgexfoundry.org:10003 [2024-10-08T04:11:48.245Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-08T04:11:48.313Z] Stashed 1 file(s) [Pipeline] } [2024-10-08T04:11:48.335Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1636-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-08T04:11:48.390Z] $ docker stop --time=1 43a51b8efa7bf294f40a2b744ab5a817ce8373b3e346f573d4179a4ecdb4f1d2 [2024-10-08T04:11:48.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T04:11:48.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T04:11:48.704Z] Configure a credential helper to remove this warning. See [2024-10-08T04:11:48.704Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T04:11:48.704Z] [2024-10-08T04:11:48.704Z] Login Succeeded [2024-10-08T04:11:48.704Z] nexus3.edgexfoundry.org:10004 [2024-10-08T04:11:48.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T04:11:48.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T04:11:48.980Z] Configure a credential helper to remove this warning. See [2024-10-08T04:11:48.980Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T04:11:48.980Z] [2024-10-08T04:11:48.980Z] Login Succeeded [2024-10-08T04:11:48.980Z] ****.io [2024-10-08T04:11:49.541Z] $ docker rm -f --volumes 43a51b8efa7bf294f40a2b744ab5a817ce8373b3e346f573d4179a4ecdb4f1d2 [2024-10-08T04:11:49.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-08T04:11:49.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-08T04:11:49.584Z] Configure a credential helper to remove this warning. See [2024-10-08T04:11:49.584Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-08T04:11:49.584Z] [2024-10-08T04:11:49.584Z] Login Succeeded [2024-10-08T04:11:49.584Z] ---> ****-login.sh ends [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2024-10-08T04:11:49.748Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2024-10-08T04:11:50.319Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-08T04:11:50.372Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-08T04:11:50.425Z] ========================================================= [2024-10-08T04:11:50.425Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-08T04:11:50.425Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T04:11:51.042Z] + 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-10-08T04:11:52.056Z] Sending build context to Docker daemon 13.17MB [2024-10-08T04:11:52.056Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-08T04:11:52.056Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-08T04:11:52.056Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-08T04:11:52.056Z] cf04c63912e1: Pulling fs layer [2024-10-08T04:11:52.056Z] 55b35a11ae5e: Pulling fs layer [2024-10-08T04:11:52.056Z] a37a00ec5f00: Pulling fs layer [2024-10-08T04:11:52.056Z] 50b3750afda1: Pulling fs layer [2024-10-08T04:11:52.056Z] 4f4fb700ef54: Pulling fs layer [2024-10-08T04:11:52.056Z] 4f4fb700ef54: Waiting [2024-10-08T04:11:52.056Z] 80978eb59214: Pulling fs layer [2024-10-08T04:11:52.056Z] 80978eb59214: Waiting [2024-10-08T04:11:52.056Z] c9f46d7d2bd2: Pulling fs layer [2024-10-08T04:11:52.056Z] c5a475d317c9: Pulling fs layer [2024-10-08T04:11:52.056Z] c9f46d7d2bd2: Waiting [2024-10-08T04:11:52.056Z] c5a475d317c9: Waiting [2024-10-08T04:11:52.056Z] 55b35a11ae5e: Verifying Checksum [2024-10-08T04:11:52.056Z] 55b35a11ae5e: Download complete [2024-10-08T04:11:52.056Z] 50b3750afda1: Verifying Checksum [2024-10-08T04:11:52.056Z] 50b3750afda1: Download complete [2024-10-08T04:11:52.336Z] 4f4fb700ef54: Download complete [2024-10-08T04:11:52.336Z] 80978eb59214: Verifying Checksum [2024-10-08T04:11:52.336Z] 80978eb59214: Download complete [2024-10-08T04:11:52.336Z] cf04c63912e1: Verifying Checksum [2024-10-08T04:11:52.336Z] cf04c63912e1: Download complete [2024-10-08T04:11:52.951Z] c5a475d317c9: Verifying Checksum [2024-10-08T04:11:52.951Z] c5a475d317c9: Download complete [2024-10-08T04:11:53.929Z] cf04c63912e1: Pull complete [2024-10-08T04:11:54.525Z] 55b35a11ae5e: Pull complete [2024-10-08T04:11:54.811Z] a37a00ec5f00: Verifying Checksum [2024-10-08T04:11:54.811Z] a37a00ec5f00: Download complete [2024-10-08T04:11:55.405Z] c9f46d7d2bd2: Verifying Checksum [2024-10-08T04:11:55.405Z] c9f46d7d2bd2: Download complete [2024-10-08T04:12:10.474Z] a37a00ec5f00: Pull complete [2024-10-08T04:12:10.474Z] 50b3750afda1: Pull complete [2024-10-08T04:12:10.474Z] 4f4fb700ef54: Pull complete [2024-10-08T04:12:10.474Z] 80978eb59214: Pull complete [2024-10-08T04:12:18.738Z] c9f46d7d2bd2: Pull complete [2024-10-08T04:12:19.329Z] c5a475d317c9: Pull complete [2024-10-08T04:12:19.602Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-08T04:12:19.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-08T04:12:19.603Z] ---> be29e6b0f0d4 [2024-10-08T04:12:19.603Z] Step 3/10 : ARG MAKE=make build [2024-10-08T04:12:21.027Z] ---> Running in 48791c5d0475 [2024-10-08T04:12:21.298Z] Removing intermediate container 48791c5d0475 [2024-10-08T04:12:21.298Z] ---> e1d8d8148553 [2024-10-08T04:12:21.298Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-08T04:12:21.298Z] ---> Running in af7fbf308f67 [2024-10-08T04:12:21.890Z] Removing intermediate container af7fbf308f67 [2024-10-08T04:12:21.890Z] ---> 7e85e45e6eb4 [2024-10-08T04:12:21.890Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-08T04:12:21.890Z] ---> Running in 44cb88990573 [2024-10-08T04:12:22.167Z] Removing intermediate container 44cb88990573 [2024-10-08T04:12:22.167Z] ---> b9f13e5e8401 [2024-10-08T04:12:22.167Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-08T04:12:22.439Z] ---> Running in 9b429d85bd14 [2024-10-08T04:12:23.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-08T04:12:24.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-08T04:12:26.086Z] OK: 238 MiB in 54 packages [2024-10-08T04:12:26.679Z] Removing intermediate container 9b429d85bd14 [2024-10-08T04:12:26.679Z] ---> 380c32c35292 [2024-10-08T04:12:26.679Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-08T04:12:27.281Z] ---> 2c059cbec8c7 [2024-10-08T04:12:27.281Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-08T04:12:27.565Z] ---> Running in 2009d60ab99d [2024-10-08T04:14:19.335Z] Removing intermediate container 2009d60ab99d [2024-10-08T04:14:19.335Z] ---> b0a5fa6956d2 [2024-10-08T04:14:19.335Z] Step 9/10 : COPY . . [2024-10-08T04:14:19.335Z] ---> 907cda9b5c43 [2024-10-08T04:14:19.335Z] Step 10/10 : RUN ${MAKE} [2024-10-08T04:14:19.335Z] ---> Running in 347572ce7a04 [2024-10-08T04:14:19.335Z] noop [2024-10-08T04:14:19.603Z] Removing intermediate container 347572ce7a04 [2024-10-08T04:14:19.603Z] ---> 29894663c915 [2024-10-08T04:14:19.603Z] Successfully built 29894663c915 [2024-10-08T04:14:19.603Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T04:14:20.113Z] + docker inspect -f . ci-base-image-arm64 [2024-10-08T04:14:20.114Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T04:14:20.491Z] prd-ubuntu20.04-docker-arm64-4c-16g-22146 does not seem to be running inside a container [2024-10-08T04:14:20.556Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-08T04:14:21.768Z] $ docker top 80a50d8f8a1385be58300dbbf2779044d82708c1e0362d3e04c32bf2a9527636 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-08T04:14:22.680Z] + go version [2024-10-08T04:14:22.680Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-08T04:14:22.718Z] $ docker stop --time=1 80a50d8f8a1385be58300dbbf2779044d82708c1e0362d3e04c32bf2a9527636 [2024-10-08T04:14:24.351Z] $ docker rm -f --volumes 80a50d8f8a1385be58300dbbf2779044d82708c1e0362d3e04c32bf2a9527636 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T04:14:25.326Z] + docker inspect -f . ci-base-image-arm64 [2024-10-08T04:14:25.326Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T04:14:25.658Z] prd-ubuntu20.04-docker-arm64-4c-16g-22146 does not seem to be running inside a container [2024-10-08T04:14:25.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-08T04:14:27.013Z] $ docker top 2ddf7646e547d5c1039bbdb4e551d290fa8f8080ca759ec13aa77cc2443f8432 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-08T04:14:27.935Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-08T04:14:28.684Z] + make test [2024-10-08T04:14:28.684Z] go test -race -coverprofile=coverage.out ./... [2024-10-08T04:15:26.640Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-08T04:19:48.731Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-08T04:19:48.731Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-08T04:19:48.731Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-08T04:19:48.731Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-08T04:19:48.731Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-08T04:20:03.748Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.197s coverage: 26.0% of statements [2024-10-08T04:20:07.116Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.205s coverage: 79.4% of statements [2024-10-08T04:20:22.159Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-08T04:20:22.159Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-08T04:20:22.159Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.346s coverage: 86.0% of statements [2024-10-08T04:20:37.245Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-08T04:20:38.667Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.656s coverage: 45.2% of statements [2024-10-08T04:20:41.276Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.304s coverage: 14.1% of statements [2024-10-08T04:20:41.276Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.403s coverage: 44.6% of statements [2024-10-08T04:20:48.008Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-08T04:20:48.008Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-08T04:20:48.008Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-08T04:20:48.995Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.410s coverage: 68.3% of statements [2024-10-08T04:20:55.672Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.433s coverage: 88.3% of statements [2024-10-08T04:21:03.913Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-08T04:21:04.883Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.347s coverage: 5.3% of statements [2024-10-08T04:21:06.308Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-08T04:21:06.308Z] GO111MODULE=on go vet ./... [2024-10-08T04:25:43.387Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-08T04:25:43.388Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-08T04:25:43.388Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-08T04:25:43.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-08T04:25:43.488Z] $ docker stop --time=1 2ddf7646e547d5c1039bbdb4e551d290fa8f8080ca759ec13aa77cc2443f8432 [2024-10-08T04:25:45.854Z] $ docker rm -f --volumes 2ddf7646e547d5c1039bbdb4e551d290fa8f8080ca759ec13aa77cc2443f8432 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-08T04:25:49.128Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-08T04:25:49.169Z] Warning: overwriting stash ‘coverage-report’ [2024-10-08T04:25:50.208Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-08T04:25:50.870Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-08T04:25:51.249Z] + ls -al . [2024-10-08T04:25:51.249Z] total 708 [2024-10-08T04:25:51.249Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 8 04:14 . [2024-10-08T04:25:51.249Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 04:11 .. [2024-10-08T04:25:51.249Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 8 04:11 .dockerignore [2024-10-08T04:25:51.249Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 04:11 .git [2024-10-08T04:25:51.249Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 04:11 .github [2024-10-08T04:25:51.249Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 8 04:11 .gitignore [2024-10-08T04:25:51.249Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 8 04:11 .golangci.yml [2024-10-08T04:25:51.249Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 8 04:11 CHANGELOG.md [2024-10-08T04:25:51.249Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 04:11 GOVERNANCE.md [2024-10-08T04:25:51.249Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 8 04:11 Jenkinsfile [2024-10-08T04:25:51.249Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 8 04:11 LICENSE [2024-10-08T04:25:51.249Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 8 04:11 Makefile [2024-10-08T04:25:51.249Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 8 04:11 OWNERS.md [2024-10-08T04:25:51.249Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 8 04:11 README.md [2024-10-08T04:25:51.249Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 04:08 VERSION [2024-10-08T04:25:51.249Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 04:11 bin [2024-10-08T04:25:51.249Z] -rw-r--r-- 1 jenkins jenkins 466603 Oct 8 04:21 coverage.out [2024-10-08T04:25:51.249Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 8 04:11 example [2024-10-08T04:25:51.249Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 8 04:11 go.mod [2024-10-08T04:25:51.249Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 8 04:11 go.sum [2024-10-08T04:25:51.249Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 8 04:11 internal [2024-10-08T04:25:51.249Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 04:11 openapi [2024-10-08T04:25:51.249Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 8 04:11 pkg [2024-10-08T04:25:51.249Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 04:11 snap [2024-10-08T04:25:51.249Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 8 04:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T04:25:51.719Z] + 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=9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd --label arch=arm64 --label version=0.0.0 . [2024-10-08T04:25:52.320Z] Sending build context to Docker daemon 13.64MB [2024-10-08T04:25:52.320Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-08T04:25:52.320Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-08T04:25:52.320Z] ---> 29894663c915 [2024-10-08T04:25:52.320Z] Step 3/24 : ARG MAKE=make build [2024-10-08T04:25:52.597Z] ---> Running in db4fb5756d85 [2024-10-08T04:25:52.868Z] Removing intermediate container db4fb5756d85 [2024-10-08T04:25:52.868Z] ---> 7a668baf9d3d [2024-10-08T04:25:52.868Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-08T04:25:53.136Z] ---> Running in 6624cc88b4f3 [2024-10-08T04:25:53.411Z] Removing intermediate container 6624cc88b4f3 [2024-10-08T04:25:53.411Z] ---> 5cdba6de5f4d [2024-10-08T04:25:53.411Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-08T04:25:53.678Z] ---> Running in 0aa7f7ec4277 [2024-10-08T04:25:53.955Z] Removing intermediate container 0aa7f7ec4277 [2024-10-08T04:25:53.956Z] ---> a3858e1acce0 [2024-10-08T04:25:53.956Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-08T04:25:53.956Z] ---> Running in e0d42b01cb49 [2024-10-08T04:25:55.375Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-08T04:25:55.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-08T04:25:58.256Z] OK: 238 MiB in 54 packages [2024-10-08T04:25:58.846Z] Removing intermediate container e0d42b01cb49 [2024-10-08T04:25:58.846Z] ---> 0801738ae1a1 [2024-10-08T04:25:58.846Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-08T04:25:59.828Z] ---> 7d90a595affc [2024-10-08T04:25:59.828Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-08T04:25:59.828Z] ---> Running in a7121f7a3902 [2024-10-08T04:26:02.437Z] Removing intermediate container a7121f7a3902 [2024-10-08T04:26:02.437Z] ---> aae14589d5eb [2024-10-08T04:26:02.437Z] Step 9/24 : COPY . . [2024-10-08T04:26:05.044Z] ---> f3ad7f1ddd71 [2024-10-08T04:26:05.044Z] Step 10/24 : RUN ${MAKE} [2024-10-08T04:26:05.044Z] ---> Running in 398d5a9aa173 [2024-10-08T04:26:06.025Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-10-08T04:30:58.060Z] Removing intermediate container 398d5a9aa173 [2024-10-08T04:30:58.060Z] ---> 5642d259457a [2024-10-08T04:30:58.060Z] Step 11/24 : FROM alpine:3.20 [2024-10-08T04:30:58.060Z] 3.20: Pulling from library/alpine [2024-10-08T04:30:58.060Z] cf04c63912e1: Already exists [2024-10-08T04:30:58.060Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-08T04:30:58.060Z] Status: Downloaded newer image for alpine:3.20 [2024-10-08T04:30:58.060Z] ---> c157a85ed455 [2024-10-08T04:30:58.060Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-08T04:30:58.060Z] ---> Running in 616de175fff3 [2024-10-08T04:30:58.060Z] Removing intermediate container 616de175fff3 [2024-10-08T04:30:58.060Z] ---> dbfc134ca545 [2024-10-08T04:30:58.060Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-08T04:30:58.060Z] ---> Running in 122d8b04e81b [2024-10-08T04:30:58.060Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-08T04:30:58.060Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-08T04:30:58.060Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-08T04:30:58.060Z] Executing busybox-1.36.1-r29.trigger [2024-10-08T04:30:58.060Z] OK: 9 MiB in 15 packages [2024-10-08T04:30:58.060Z] Removing intermediate container 122d8b04e81b [2024-10-08T04:30:58.060Z] ---> 0ade63ae779e [2024-10-08T04:30:58.060Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-08T04:30:58.060Z] ---> Running in 0c14e875a9da [2024-10-08T04:30:58.060Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-08T04:30:58.060Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-08T04:30:58.060Z] Upgrading critical system libraries and apk-tools: [2024-10-08T04:30:58.060Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-08T04:30:58.060Z] Executing busybox-1.36.1-r29.trigger [2024-10-08T04:30:58.060Z] Continuing the upgrade transaction with new apk-tools: [2024-10-08T04:30:58.060Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-08T04:30:58.060Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-08T04:30:58.060Z] OK: 9 MiB in 15 packages [2024-10-08T04:30:58.060Z] Removing intermediate container 0c14e875a9da [2024-10-08T04:30:58.060Z] ---> c0fea020523f [2024-10-08T04:30:58.060Z] Step 15/24 : WORKDIR / [2024-10-08T04:30:58.060Z] ---> Running in 5d170ad3ab3f [2024-10-08T04:30:58.060Z] Removing intermediate container 5d170ad3ab3f [2024-10-08T04:30:58.060Z] ---> ee38f25702c2 [2024-10-08T04:30:58.060Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-08T04:30:58.659Z] ---> baa320c351c9 [2024-10-08T04:30:58.659Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-08T04:31:01.268Z] ---> c6fc919eabc3 [2024-10-08T04:31:01.268Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-08T04:31:01.860Z] ---> 5a60819a7954 [2024-10-08T04:31:01.860Z] Step 19/24 : EXPOSE 59999 [2024-10-08T04:31:01.860Z] ---> Running in 7e40c914f324 [2024-10-08T04:31:02.129Z] Removing intermediate container 7e40c914f324 [2024-10-08T04:31:02.129Z] ---> 5240652ebe54 [2024-10-08T04:31:02.129Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-08T04:31:02.399Z] ---> Running in f0fa8886d1e7 [2024-10-08T04:31:02.668Z] Removing intermediate container f0fa8886d1e7 [2024-10-08T04:31:02.668Z] ---> ffd93356756a [2024-10-08T04:31:02.668Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-08T04:31:02.668Z] ---> Running in ca6b86288dfe [2024-10-08T04:31:03.261Z] Removing intermediate container ca6b86288dfe [2024-10-08T04:31:03.261Z] ---> b92c7e47e5e1 [2024-10-08T04:31:03.261Z] Step 22/24 : LABEL arch=arm64 [2024-10-08T04:31:03.261Z] ---> Running in de4c4155a585 [2024-10-08T04:31:03.529Z] Removing intermediate container de4c4155a585 [2024-10-08T04:31:03.529Z] ---> a3fc28af77cf [2024-10-08T04:31:03.529Z] Step 23/24 : LABEL git_sha=9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd [2024-10-08T04:31:03.529Z] ---> Running in 4421fbea9cca [2024-10-08T04:31:03.803Z] Removing intermediate container 4421fbea9cca [2024-10-08T04:31:03.803Z] ---> 101a6b40b49f [2024-10-08T04:31:03.803Z] Step 24/24 : LABEL version=0.0.0 [2024-10-08T04:31:04.081Z] ---> Running in 713e8ead5fcf [2024-10-08T04:31:04.351Z] Removing intermediate container 713e8ead5fcf [2024-10-08T04:31:04.351Z] ---> 5827800c8aa7 [2024-10-08T04:31:04.351Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-08T04:31:04.351Z] Successfully built 5827800c8aa7 [2024-10-08T04:31:04.351Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T04:31:05.305Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-08T04:31:05.305Z] [2024-10-08T04:31:05.305Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T04:31:05.745Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-08T04:31:06.013Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-08T04:31:06.013Z] 8998bd30e6a1: Pulling fs layer [2024-10-08T04:31:06.013Z] 04944245beec: Pulling fs layer [2024-10-08T04:31:06.013Z] 699f458cf7ca: Pulling fs layer [2024-10-08T04:31:06.013Z] 765212b225bb: Pulling fs layer [2024-10-08T04:31:06.013Z] f23df028b6ca: Pulling fs layer [2024-10-08T04:31:06.013Z] d65c8cfc05b1: Pulling fs layer [2024-10-08T04:31:06.013Z] 2437ff75d9bd: Pulling fs layer [2024-10-08T04:31:06.013Z] 765212b225bb: Waiting [2024-10-08T04:31:06.013Z] f23df028b6ca: Waiting [2024-10-08T04:31:06.013Z] d65c8cfc05b1: Waiting [2024-10-08T04:31:06.013Z] 2437ff75d9bd: Waiting [2024-10-08T04:31:06.013Z] 04944245beec: Verifying Checksum [2024-10-08T04:31:06.013Z] 04944245beec: Download complete [2024-10-08T04:31:06.013Z] 765212b225bb: Verifying Checksum [2024-10-08T04:31:06.013Z] 765212b225bb: Download complete [2024-10-08T04:31:06.013Z] f23df028b6ca: Download complete [2024-10-08T04:31:06.282Z] d65c8cfc05b1: Verifying Checksum [2024-10-08T04:31:06.282Z] d65c8cfc05b1: Download complete [2024-10-08T04:31:06.282Z] 699f458cf7ca: Verifying Checksum [2024-10-08T04:31:06.282Z] 699f458cf7ca: Download complete [2024-10-08T04:31:06.869Z] 8998bd30e6a1: Download complete [2024-10-08T04:31:09.480Z] 2437ff75d9bd: Verifying Checksum [2024-10-08T04:31:09.480Z] 2437ff75d9bd: Download complete [2024-10-08T04:31:12.079Z] 8998bd30e6a1: Pull complete [2024-10-08T04:31:12.670Z] 04944245beec: Pull complete [2024-10-08T04:31:14.633Z] 699f458cf7ca: Pull complete [2024-10-08T04:31:14.633Z] 765212b225bb: Pull complete [2024-10-08T04:31:15.602Z] f23df028b6ca: Pull complete [2024-10-08T04:31:15.873Z] d65c8cfc05b1: Pull complete [2024-10-08T04:31:34.638Z] 2437ff75d9bd: Pull complete [2024-10-08T04:31:34.638Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-08T04:31:34.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-08T04:31:34.638Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T04:31:35.034Z] prd-ubuntu20.04-docker-arm64-4c-16g-22146 does not seem to be running inside a container [2024-10-08T04:31:35.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-08T04:31:38.221Z] $ docker top 98f3d28b3a74787aae8f13f43bd740880ed8ec0ab552808bb9405a58fdf5f65b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-08T04:31:39.192Z] ---> job-cost.sh [2024-10-08T04:31:39.193Z] lf-activate-venv: SKIPPING [2024-10-08T04:31:39.193Z] INFO: No Stack... [2024-10-08T04:31:39.781Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-08T04:31:40.373Z] INFO: Archiving Costs [Pipeline] sh [2024-10-08T04:31:41.059Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-10-08T04:31:41.059Z] + cut -d, -f6 [Pipeline] lock [2024-10-08T04:31:41.127Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1636-1-stack-cost] [2024-10-08T04:31:41.134Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1636-1-stack-cost] did not exist. Created. [2024-10-08T04:31:41.141Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1636-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-08T04:31:41.903Z] /w/workspace/device-sdk-go/1@tmp/durable-fff3ddcc/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-08T04:31:42.590Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-08T04:31:42.633Z] Warning: overwriting stash ‘stack-cost’ [2024-10-08T04:31:42.731Z] Stashed 1 file(s) [Pipeline] } [2024-10-08T04:31:42.750Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1636-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-08T04:31:42.844Z] $ docker stop --time=1 98f3d28b3a74787aae8f13f43bd740880ed8ec0ab552808bb9405a58fdf5f65b [2024-10-08T04:31:44.406Z] $ docker rm -f --volumes 98f3d28b3a74787aae8f13f43bd740880ed8ec0ab552808bb9405a58fdf5f65b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-08T04:31:45.622Z] provisioning config files... [2024-10-08T04:31:45.630Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1636@tmp/config10847995220658312225tmp [Pipeline] { [Pipeline] sh [2024-10-08T04:31:46.003Z] + set +x [2024-10-08T04:31:46.003Z] + curl -s https://codecov.io/bash [2024-10-08T04:31:46.003Z] + bash -s -- [2024-10-08T04:31:46.003Z] [2024-10-08T04:31:46.003Z] _____ _ [2024-10-08T04:31:46.003Z] / ____| | | [2024-10-08T04:31:46.003Z] | | ___ __| | ___ ___ _____ __ [2024-10-08T04:31:46.003Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-08T04:31:46.003Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-08T04:31:46.003Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-08T04:31:46.003Z] Bash-1.0.6 [2024-10-08T04:31:46.003Z] [2024-10-08T04:31:46.003Z] [2024-10-08T04:31:46.003Z] ==> git version 2.25.1 found [2024-10-08T04:31:46.003Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-08T04:31:46.003Z] Release-Date: 2020-01-08 [2024-10-08T04:31:46.003Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-08T04:31:46.003Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-08T04:31:46.003Z] ==> Jenkins CI detected. [2024-10-08T04:31:46.003Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1636 [2024-10-08T04:31:46.003Z] project root: . [2024-10-08T04:31:46.003Z] --> token set from env [2024-10-08T04:31:46.003Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-08T04:31:46.003Z] ==> Running gcov in . (disable via -X gcov) [2024-10-08T04:31:46.003Z] ==> Python coveragepy not found [2024-10-08T04:31:46.003Z] ==> Searching for coverage reports in: [2024-10-08T04:31:46.003Z] + . [2024-10-08T04:31:46.003Z] -> Found 1 reports [2024-10-08T04:31:46.003Z] ==> Detecting git/mercurial file structure [2024-10-08T04:31:46.263Z] ==> Reading reports [2024-10-08T04:31:46.263Z] + ./coverage.out bytes=466603 [2024-10-08T04:31:46.263Z] ==> Appending adjustments [2024-10-08T04:31:46.263Z] https://docs.codecov.io/docs/fixing-reports [2024-10-08T04:31:46.522Z] + Found adjustments [2024-10-08T04:31:46.522Z] ==> Gzipping contents [2024-10-08T04:31:46.522Z] 44K /tmp/codecov.QvIXAs.gz [2024-10-08T04:31:46.522Z] ==> Uploading reports [2024-10-08T04:31:46.522Z] url: https://codecov.io [2024-10-08T04:31:46.522Z] query: branch=PR-1636&commit=9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1636%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1636&job=&cmd_args= [2024-10-08T04:31:46.522Z] -> Pinging Codecov [2024-10-08T04:31:46.522Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1636&commit=9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1636%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1636&job=&cmd_args= [2024-10-08T04:31:46.522Z] -> Uploading to [2024-10-08T04:31:46.522Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd/4477b073-ad78-412e-b661-8b3503f4b581.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241008%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241008T043146Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=38d5e1ec90d782a2d3c300aac8719b945b2faa4cfafcdd1395830d1d54101fdd [2024-10-08T04:31:46.781Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-08T04:31:46.781Z] Dload Upload Total Spent Left Speed [2024-10-08T04:31:47.041Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44655 0 0 100 44655 0 159k --:--:-- --:--:-- --:--:-- 159k [2024-10-08T04:31:47.041Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/9a476d51c09415bce12d89a9fe8f0ddb5d8c25dd [Pipeline] } [2024-10-08T04:31:47.077Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-08T04:31:49.258Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1636/archives ] [2024-10-08T04:31:49.258Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1636/archives [2024-10-08T04:31:49.258Z] total 16 [2024-10-08T04:31:49.258Z] drwxr-xr-x 3 root root 4096 Oct 8 04:11 . [2024-10-08T04:31:49.258Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 8 04:11 .. [2024-10-08T04:31:49.258Z] drwxr-xr-x 2 root root 4096 Oct 8 04:11 cost [2024-10-08T04:31:49.258Z] -rw-r--r-- 1 root root 86 Oct 8 04:11 cost.csv [2024-10-08T04:31:49.258Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1636/archives [2024-10-08T04:31:49.258Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1636/archives [2024-10-08T04:31:49.258Z] total 16 [2024-10-08T04:31:49.258Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 8 04:11 . [2024-10-08T04:31:49.258Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 8 04:11 .. [2024-10-08T04:31:49.258Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 8 04:11 cost [2024-10-08T04:31:49.258Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 8 04:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-08T04:31:49.599Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-08T04:31:50.504Z] ---> package-listing.sh [2024-10-08T04:31:50.505Z] ++ facter osfamily [2024-10-08T04:31:50.505Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-08T04:31:50.764Z] + OS_FAMILY=debian [2024-10-08T04:31:50.764Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1636 [2024-10-08T04:31:50.764Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-08T04:31:50.764Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-08T04:31:50.764Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-08T04:31:50.764Z] + PACKAGES=/tmp/packages_start.txt [2024-10-08T04:31:50.764Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1636 ']' [2024-10-08T04:31:50.764Z] + PACKAGES=/tmp/packages_end.txt [2024-10-08T04:31:50.764Z] + case "${OS_FAMILY}" in [2024-10-08T04:31:50.764Z] + dpkg -l [2024-10-08T04:31:50.764Z] + grep '^ii' [2024-10-08T04:31:50.764Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-08T04:31:50.764Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-08T04:31:50.764Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-08T04:31:50.764Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1636 ']' [2024-10-08T04:31:50.764Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1636/archives/ [2024-10-08T04:31:50.764Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1636/archives/ [Pipeline] echo [2024-10-08T04:31:50.813Z] 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-1636/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-08T04:31:51.118Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-08T04:31:51.768Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-08T04:31:51.768Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-08T04:31:51.942Z] prd-ubuntu20.04-docker-8c-8g-22145 does not seem to be running inside a container [2024-10-08T04:31:51.967Z] $ 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-1636/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-1636 -v /w/workspace/gexfoundry_device-sdk-go_PR-1636:/w/workspace/gexfoundry_device-sdk-go_PR-1636:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1636@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1636@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-10-08T04:31:52.165Z] $ docker top 0d726b0a5887cf9d7f83bade3904374cc57d012ad107d61fccd2ab95902cfbca -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-08T04:31:52.582Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-08T04:31:52.905Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-08T04:31:53.220Z] + ls /var/log/sa-host [2024-10-08T04:31:53.220Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-08T04:31:53.402Z] provisioning config files... [2024-10-08T04:31:53.410Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1636@tmp/config8618233543516083975tmp [Pipeline] { [Pipeline] echo [2024-10-08T04:31:53.483Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-08T04:31:53.977Z] ---> create-netrc.sh [Pipeline] } [2024-10-08T04:31:54.022Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-08T04:31:54.453Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-08T04:31:54.490Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-08T04:31:54.812Z] ---> sudo-logs.sh [2024-10-08T04:31:54.812Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-08T04:31:54.912Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-08T04:31:55.237Z] ---> job-cost.sh [2024-10-08T04:31:55.237Z] lf-activate-venv: SKIPPING [2024-10-08T04:31:55.237Z] DEBUG: total: 0.2199999988079071 [2024-10-08T04:31:55.237Z] INFO: Retrieving Stack Cost... [2024-10-08T04:31:55.806Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-08T04:31:56.065Z] INFO: Archiving Costs [Pipeline] echo [2024-10-08T04:31:56.111Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-08T04:31:56.443Z] ---> logs-deploy.sh [2024-10-08T04:31:56.443Z] lf-activate-venv: SKIPPING [2024-10-08T04:31:56.443Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1636/1 [2024-10-08T04:31:56.443Z] INFO: archiving workspace using pattern(s): [2024-10-08T04:31:58.350Z] Archives upload complete. [2024-10-08T04:31:58.350Z] INFO: archiving logs to Nexus