Pull request #1631 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 258bca78eb25b04e773289848cc1a979c5bb6597+473fc5204b06f8a03d3e358a646b11d6e900bdaa (24f32d87571c56ce0fcab384ebc21fd9efd15477) 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-ssh9665426003629017799.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-ssh556556669146575663.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1631/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1631/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9016835908000316715.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15771141669770680923.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1631/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1631/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18397744634460934962.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/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 Running on prd-ubuntu20.04-docker-8c-8g-13199 in /w/workspace/gexfoundry_device-sdk-go_PR-1631 [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-1631 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 473fc5204b06f8a03d3e358a646b11d6e900bdaa into PR head commit 258bca78eb25b04e773289848cc1a979c5bb6597 Merge succeeded, producing 258bca78eb25b04e773289848cc1a979c5bb6597 Checking out Revision 258bca78eb25b04e773289848cc1a979c5bb6597 (PR-1631) > 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/1631/head:refs/remotes/origin/PR-1631 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 258bca78eb25b04e773289848cc1a979c5bb6597 # 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 473fc5204b06f8a03d3e358a646b11d6e900bdaa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 258bca78eb25b04e773289848cc1a979c5bb6597 # timeout=10 Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-03T06:02:54.394Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-03T06:02:54.461Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-03T06:02:54.488Z] ========================================================= [2024-10-03T06:02:54.488Z] EdgeX Global Pipelines Version Info [2024-10-03T06:02:54.488Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-03T06:02:55.245Z] ------------------- [2024-10-03T06:02:55.245Z] stable info: [2024-10-03T06:02:55.245Z] ------------------- [2024-10-03T06:02:55.245Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-03T06:02:55.245Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-03T06:02:55.245Z] Message: update stable to v1.0.265 [2024-10-03T06:02:55.813Z] ------------------- [2024-10-03T06:02:55.813Z] experimental info: [2024-10-03T06:02:55.813Z] ------------------- [2024-10-03T06:02:55.813Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-03T06:02:55.813Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-03T06:02:55.813Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-03T06:02:55.886Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-10-03T06:02:55.905Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-10-03T06:02:55.926Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-03T06:02:55.947Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-03T06:02:55.971Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-03T06:02:55.992Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-03T06:02:56.011Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-03T06:02:56.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-10-03T06:02:56.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-03T06:02:56.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-03T06:02:56.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-03T06:02:56.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-10-03T06:02:56.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-03T06:02:56.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-03T06:02:56.190Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-03T06:02:56.209Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-03T06:02:56.229Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-03T06:02:56.249Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-03T06:02:56.275Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-03T06:02:56.295Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-03T06:02:56.316Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-03T06:02:56.340Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-10-03T06:02:56.361Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-03T06:02:56.388Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-03T06:02:56.407Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-03T06:02:56.433Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-03T06:02:56.458Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-03T06:02:56.480Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1631 [Pipeline] echo [2024-10-03T06:02:56.500Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1631 [Pipeline] echo [2024-10-03T06:02:56.524Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1631 [Pipeline] echo [2024-10-03T06:02:56.548Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 258bca78eb25b04e773289848cc1a979c5bb6597 [Pipeline] echo [2024-10-03T06:02:56.574Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 258bca7 [Pipeline] echo [2024-10-03T06:02:56.594Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T06:02:56.658Z] provisioning config files... [2024-10-03T06:02:56.673Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp/config13195684259846392245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T06:02:57.008Z] ---> ****-login.sh [2024-10-03T06:02:57.008Z] nexus3.edgexfoundry.org:10001 [2024-10-03T06:02:57.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T06:02:57.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T06:02:57.268Z] Configure a credential helper to remove this warning. See [2024-10-03T06:02:57.268Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T06:02:57.268Z] [2024-10-03T06:02:57.269Z] Login Succeeded [2024-10-03T06:02:57.269Z] nexus3.edgexfoundry.org:10002 [2024-10-03T06:02:57.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T06:02:57.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T06:02:57.269Z] Configure a credential helper to remove this warning. See [2024-10-03T06:02:57.269Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T06:02:57.269Z] [2024-10-03T06:02:57.269Z] Login Succeeded [2024-10-03T06:02:57.269Z] nexus3.edgexfoundry.org:10003 [2024-10-03T06:02:57.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T06:02:57.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T06:02:57.529Z] Configure a credential helper to remove this warning. See [2024-10-03T06:02:57.529Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T06:02:57.529Z] [2024-10-03T06:02:57.529Z] Login Succeeded [2024-10-03T06:02:57.529Z] nexus3.edgexfoundry.org:10004 [2024-10-03T06:02:57.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T06:02:57.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T06:02:57.529Z] Configure a credential helper to remove this warning. See [2024-10-03T06:02:57.529Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T06:02:57.529Z] [2024-10-03T06:02:57.529Z] Login Succeeded [2024-10-03T06:02:57.529Z] ****.io [2024-10-03T06:02:57.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T06:02:57.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T06:02:57.789Z] Configure a credential helper to remove this warning. See [2024-10-03T06:02:57.789Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T06:02:57.789Z] [2024-10-03T06:02:57.789Z] Login Succeeded [2024-10-03T06:02:57.789Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T06:02:57.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-03T06:02:58.208Z] + git rev-list -1 --merges 258bca78eb25b04e773289848cc1a979c5bb6597~1..258bca78eb25b04e773289848cc1a979c5bb6597 [Pipeline] echo [2024-10-03T06:02:58.237Z] -----------> git rev-list -1 --merges 258bca78eb25b04e773289848cc1a979c5bb6597~1..258bca78eb25b04e773289848cc1a979c5bb6597 258bca78eb25b04e773289848cc1a979c5bb6597 [false] [Pipeline] sh [2024-10-03T06:02:58.532Z] + git log --format=format:%s -1 258bca78eb25b04e773289848cc1a979c5bb6597 [Pipeline] echo [2024-10-03T06:02:58.550Z] ========================================================= [2024-10-03T06:02:58.550Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-03T06:02:58.550Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-03T06:02:58.875Z] + git log --format=format:%s -1 258bca78eb25b04e773289848cc1a979c5bb6597 [Pipeline] echo [2024-10-03T06:02:58.887Z] [semverPrep] GIT_COMMIT: 258bca78eb25b04e773289848cc1a979c5bb6597, Commit Message: build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20 [Pipeline] echo [2024-10-03T06:02:58.903Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-03T06:02:59.262Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-03T06:02:59.262Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-03T06:02:59.262Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-03T06:02:59.262Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-03T06:02:59.263Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-03T06:02:59.263Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-03T06:02:59.263Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T06:02:59.616Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-03T06:02:59.617Z] [2024-10-03T06:02:59.617Z] 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-03T06:02:59.928Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-03T06:02:59.928Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-03T06:02:59.928Z] b85a868b505f: Pulling fs layer [2024-10-03T06:02:59.928Z] e2be974225ed: Pulling fs layer [2024-10-03T06:02:59.928Z] 339a4e72a1f5: Pulling fs layer [2024-10-03T06:02:59.928Z] 988bab9f4d93: Pulling fs layer [2024-10-03T06:02:59.928Z] 1469e6f7b9e6: Pulling fs layer [2024-10-03T06:02:59.928Z] eaf3925da568: Pulling fs layer [2024-10-03T06:02:59.928Z] bab4dde63d76: Pulling fs layer [2024-10-03T06:02:59.928Z] bde34c3a00c8: Pulling fs layer [2024-10-03T06:02:59.928Z] b352a97aabf1: Pulling fs layer [2024-10-03T06:02:59.928Z] 4872d77fe225: Pulling fs layer [2024-10-03T06:02:59.928Z] 5851b861e8e6: Pulling fs layer [2024-10-03T06:02:59.928Z] 1469e6f7b9e6: Waiting [2024-10-03T06:02:59.928Z] eaf3925da568: Waiting [2024-10-03T06:02:59.928Z] bab4dde63d76: Waiting [2024-10-03T06:02:59.928Z] bde34c3a00c8: Waiting [2024-10-03T06:02:59.928Z] b352a97aabf1: Waiting [2024-10-03T06:02:59.928Z] 4872d77fe225: Waiting [2024-10-03T06:02:59.928Z] 5851b861e8e6: Waiting [2024-10-03T06:02:59.928Z] 988bab9f4d93: Waiting [2024-10-03T06:02:59.928Z] e2be974225ed: Verifying Checksum [2024-10-03T06:02:59.928Z] e2be974225ed: Download complete [2024-10-03T06:02:59.928Z] 988bab9f4d93: Verifying Checksum [2024-10-03T06:02:59.928Z] 988bab9f4d93: Download complete [2024-10-03T06:02:59.928Z] 1469e6f7b9e6: Verifying Checksum [2024-10-03T06:02:59.928Z] 1469e6f7b9e6: Download complete [2024-10-03T06:02:59.928Z] eaf3925da568: Download complete [2024-10-03T06:02:59.928Z] 339a4e72a1f5: Verifying Checksum [2024-10-03T06:02:59.928Z] 339a4e72a1f5: Download complete [2024-10-03T06:03:00.187Z] bde34c3a00c8: Download complete [2024-10-03T06:03:00.187Z] b352a97aabf1: Verifying Checksum [2024-10-03T06:03:00.187Z] b352a97aabf1: Download complete [2024-10-03T06:03:00.187Z] 4872d77fe225: Verifying Checksum [2024-10-03T06:03:00.187Z] 4872d77fe225: Download complete [2024-10-03T06:03:00.187Z] 5851b861e8e6: Verifying Checksum [2024-10-03T06:03:00.187Z] 5851b861e8e6: Download complete [2024-10-03T06:03:00.187Z] b85a868b505f: Verifying Checksum [2024-10-03T06:03:00.187Z] b85a868b505f: Download complete [2024-10-03T06:03:00.445Z] bab4dde63d76: Verifying Checksum [2024-10-03T06:03:00.445Z] bab4dde63d76: Download complete [2024-10-03T06:03:01.386Z] b85a868b505f: Pull complete [2024-10-03T06:03:01.386Z] e2be974225ed: Pull complete [2024-10-03T06:03:01.953Z] 339a4e72a1f5: Pull complete [2024-10-03T06:03:01.953Z] 988bab9f4d93: Pull complete [2024-10-03T06:03:02.213Z] 1469e6f7b9e6: Pull complete [2024-10-03T06:03:02.213Z] eaf3925da568: Pull complete [2024-10-03T06:03:04.123Z] bab4dde63d76: Pull complete [2024-10-03T06:03:04.123Z] bde34c3a00c8: Pull complete [2024-10-03T06:03:04.123Z] b352a97aabf1: Pull complete [2024-10-03T06:03:04.123Z] 4872d77fe225: Pull complete [2024-10-03T06:03:04.123Z] 5851b861e8e6: Pull complete [2024-10-03T06:03:04.123Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-03T06:03:04.123Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-03T06:03:04.123Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T06:03:04.259Z] prd-ubuntu20.04-docker-8c-8g-13199 does not seem to be running inside a container [2024-10-03T06:03:04.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1631 -v /w/workspace/gexfoundry_device-sdk-go_PR-1631:/w/workspace/gexfoundry_device-sdk-go_PR-1631:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-03T06:03:08.042Z] $ docker top 68677b1f12b351a7249fef261ae1e66446a0960d622b6f671828d3b670663433 -eo pid,comm [2024-10-03T06:03:08.097Z] 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-03T06:03:08.097Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-03T06:03:08.153Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-03T06:03:08.153Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-03T06:03:08.275Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-03T06:03:08.277Z] $ docker exec 68677b1f12b351a7249fef261ae1e66446a0960d622b6f671828d3b670663433 ssh-agent [2024-10-03T06:03:08.413Z] SSH_AUTH_SOCK=/tmp/ssh-Lv6ICgpUBukB/agent.33 [2024-10-03T06:03:08.413Z] SSH_AGENT_PID=39 [2024-10-03T06:03:08.420Z] Running ssh-add (command line suppressed) [2024-10-03T06:03:08.524Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp/private_key_14919167410280673732.key (/w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp/private_key_14919167410280673732.key) [2024-10-03T06:03:08.537Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-03T06:03:08.834Z] + git tag --points-at HEAD [Pipeline] } [2024-10-03T06:03:08.846Z] $ docker exec --env ******** --env ******** 68677b1f12b351a7249fef261ae1e66446a0960d622b6f671828d3b670663433 ssh-agent -k [2024-10-03T06:03:08.939Z] unset SSH_AUTH_SOCK; [2024-10-03T06:03:08.940Z] unset SSH_AGENT_PID; [2024-10-03T06:03:08.940Z] echo Agent pid 39 killed; [2024-10-03T06:03:08.950Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-03T06:03:08.995Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-03T06:03:08.995Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-03T06:03:09.102Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-03T06:03:09.105Z] $ docker exec 68677b1f12b351a7249fef261ae1e66446a0960d622b6f671828d3b670663433 ssh-agent [2024-10-03T06:03:09.201Z] SSH_AUTH_SOCK=/tmp/ssh-SA14meNLdqSM/agent.72 [2024-10-03T06:03:09.201Z] SSH_AGENT_PID=78 [2024-10-03T06:03:09.205Z] Running ssh-add (command line suppressed) [2024-10-03T06:03:09.299Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp/private_key_9329990191663704555.key (/w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp/private_key_9329990191663704555.key) [2024-10-03T06:03:09.312Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-03T06:03:09.607Z] + git semver init [2024-10-03T06:03:09.866Z] 2024-10-03 06:03:09,776 [run_init] DEBUG init version:0.0.0 force:False [2024-10-03T06:03:09.866Z] 2024-10-03 06:03:09,777 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1631/.semver [2024-10-03T06:03:09.866Z] 2024-10-03 06:03:09,778 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1631/.semver [2024-10-03T06:03:09.866Z] 2024-10-03 06:03:09,778 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1631/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1631, universal_newlines=False, shell=None, istream=None) [2024-10-03T06:03:12.403Z] 2024-10-03 06:03:11,826 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1631/.git/info/exclude [2024-10-03T06:03:12.403Z] 2024-10-03 06:03:11,826 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1631/.semver/PR-1631 with force:False [2024-10-03T06:03:12.403Z] 2024-10-03 06:03:11,827 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1631/.semver/PR-1631 [2024-10-03T06:03:12.403Z] 2024-10-03 06:03:11,831 [execute] INFO git cat-file --batch-check [2024-10-03T06:03:12.403Z] 2024-10-03 06:03:11,832 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1631/.semver, universal_newlines=False, shell=None, istream=) [2024-10-03T06:03:12.403Z] 2024-10-03 06:03:11,838 [execute] INFO git cat-file --batch [2024-10-03T06:03:12.403Z] 2024-10-03 06:03:11,838 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1631/.semver, universal_newlines=False, shell=None, istream=) [2024-10-03T06:03:12.403Z] 2024-10-03 06:03:11,843 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1631/.semver/PR-1631 [2024-10-03T06:03:12.403Z] 0.0.0 [Pipeline] } [2024-10-03T06:03:12.412Z] $ docker exec --env ******** --env ******** 68677b1f12b351a7249fef261ae1e66446a0960d622b6f671828d3b670663433 ssh-agent -k [2024-10-03T06:03:12.520Z] unset SSH_AUTH_SOCK; [2024-10-03T06:03:12.520Z] unset SSH_AGENT_PID; [2024-10-03T06:03:12.520Z] echo Agent pid 78 killed; [2024-10-03T06:03:12.533Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-03T06:03:12.868Z] + git semver [Pipeline] } [2024-10-03T06:03:13.138Z] $ docker stop --time=1 68677b1f12b351a7249fef261ae1e66446a0960d622b6f671828d3b670663433 [2024-10-03T06:03:14.406Z] $ docker rm -f --volumes 68677b1f12b351a7249fef261ae1e66446a0960d622b6f671828d3b670663433 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-03T06:03:14.748Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-03T06:03:14.980Z] Stashed 1 file(s) [Pipeline] echo [2024-10-03T06:03:14.984Z] [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-03T06:03:15.171Z] provisioning config files... [2024-10-03T06:03:15.181Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp/config1374942044359765384tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T06:03:15.482Z] ---> ****-login.sh [2024-10-03T06:03:15.482Z] nexus3.edgexfoundry.org:10001 [2024-10-03T06:03:15.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T06:03:15.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T06:03:15.482Z] Configure a credential helper to remove this warning. See [2024-10-03T06:03:15.482Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T06:03:15.482Z] [2024-10-03T06:03:15.483Z] Login Succeeded [2024-10-03T06:03:15.483Z] nexus3.edgexfoundry.org:10002 [2024-10-03T06:03:15.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T06:03:15.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T06:03:15.483Z] Configure a credential helper to remove this warning. See [2024-10-03T06:03:15.483Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T06:03:15.483Z] [2024-10-03T06:03:15.483Z] Login Succeeded [2024-10-03T06:03:15.483Z] nexus3.edgexfoundry.org:10003 [2024-10-03T06:03:15.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T06:03:15.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T06:03:15.743Z] Configure a credential helper to remove this warning. See [2024-10-03T06:03:15.743Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T06:03:15.743Z] [2024-10-03T06:03:15.743Z] Login Succeeded [2024-10-03T06:03:15.743Z] nexus3.edgexfoundry.org:10004 [2024-10-03T06:03:15.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T06:03:15.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T06:03:15.743Z] Configure a credential helper to remove this warning. See [2024-10-03T06:03:15.743Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T06:03:15.743Z] [2024-10-03T06:03:15.743Z] Login Succeeded [2024-10-03T06:03:15.743Z] ****.io [2024-10-03T06:03:15.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T06:03:16.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T06:03:16.003Z] Configure a credential helper to remove this warning. See [2024-10-03T06:03:16.003Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T06:03:16.003Z] [2024-10-03T06:03:16.003Z] Login Succeeded [2024-10-03T06:03:16.003Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T06:03:16.011Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-03T06:03:16.117Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-03T06:03:16.140Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-03T06:03:16.157Z] ========================================================= [2024-10-03T06:03:16.157Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-03T06:03:16.157Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T06:03:16.512Z] + 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-03T06:03:16.512Z] Sending build context to Docker daemon 25.45MB [2024-10-03T06:03:16.512Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-03T06:03:16.512Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-03T06:03:16.771Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-03T06:03:16.771Z] 43c4264eed91: Pulling fs layer [2024-10-03T06:03:16.771Z] 4cc291be95ef: Pulling fs layer [2024-10-03T06:03:16.771Z] 2ac1f1163629: Pulling fs layer [2024-10-03T06:03:16.771Z] 5c3c966382ef: Pulling fs layer [2024-10-03T06:03:16.771Z] 4f4fb700ef54: Pulling fs layer [2024-10-03T06:03:16.771Z] 5d5c8e513c77: Pulling fs layer [2024-10-03T06:03:16.771Z] 9f66e0745190: Pulling fs layer [2024-10-03T06:03:16.771Z] f49a43e4bbc0: Pulling fs layer [2024-10-03T06:03:16.771Z] 561ebcabdf7f: Pulling fs layer [2024-10-03T06:03:16.771Z] 5c3c966382ef: Waiting [2024-10-03T06:03:16.771Z] f49a43e4bbc0: Waiting [2024-10-03T06:03:16.771Z] 561ebcabdf7f: Waiting [2024-10-03T06:03:16.771Z] 4f4fb700ef54: Waiting [2024-10-03T06:03:16.771Z] 5d5c8e513c77: Waiting [2024-10-03T06:03:16.771Z] 9f66e0745190: Waiting [2024-10-03T06:03:16.771Z] 4cc291be95ef: Verifying Checksum [2024-10-03T06:03:16.771Z] 4cc291be95ef: Download complete [2024-10-03T06:03:16.771Z] 5c3c966382ef: Verifying Checksum [2024-10-03T06:03:16.771Z] 5c3c966382ef: Download complete [2024-10-03T06:03:16.771Z] 4f4fb700ef54: Verifying Checksum [2024-10-03T06:03:16.771Z] 4f4fb700ef54: Download complete [2024-10-03T06:03:16.771Z] 5d5c8e513c77: Verifying Checksum [2024-10-03T06:03:16.771Z] 5d5c8e513c77: Download complete [2024-10-03T06:03:16.771Z] 43c4264eed91: Verifying Checksum [2024-10-03T06:03:16.771Z] 43c4264eed91: Download complete [2024-10-03T06:03:16.771Z] 9f66e0745190: Verifying Checksum [2024-10-03T06:03:16.771Z] 9f66e0745190: Download complete [2024-10-03T06:03:16.771Z] 43c4264eed91: Pull complete [2024-10-03T06:03:17.031Z] 4cc291be95ef: Pull complete [2024-10-03T06:03:17.031Z] 561ebcabdf7f: Verifying Checksum [2024-10-03T06:03:17.031Z] 561ebcabdf7f: Download complete [2024-10-03T06:03:17.289Z] 2ac1f1163629: Verifying Checksum [2024-10-03T06:03:17.289Z] 2ac1f1163629: Download complete [2024-10-03T06:03:17.547Z] f49a43e4bbc0: Verifying Checksum [2024-10-03T06:03:17.547Z] f49a43e4bbc0: Download complete [2024-10-03T06:03:20.830Z] 2ac1f1163629: Pull complete [2024-10-03T06:03:20.830Z] 5c3c966382ef: Pull complete [2024-10-03T06:03:20.830Z] 4f4fb700ef54: Pull complete [2024-10-03T06:03:20.830Z] 5d5c8e513c77: Pull complete [2024-10-03T06:03:20.830Z] 9f66e0745190: Pull complete [2024-10-03T06:03:23.361Z] f49a43e4bbc0: Pull complete [2024-10-03T06:03:23.361Z] 561ebcabdf7f: Pull complete [2024-10-03T06:03:23.621Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-03T06:03:23.621Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-03T06:03:23.621Z] ---> 3a752c3f9dda [2024-10-03T06:03:23.621Z] Step 3/10 : ARG MAKE=make build [2024-10-03T06:03:28.925Z] ---> Running in 0a2ca5375537 [2024-10-03T06:03:28.925Z] Removing intermediate container 0a2ca5375537 [2024-10-03T06:03:28.925Z] ---> 652514d17b9c [2024-10-03T06:03:28.925Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-03T06:03:28.925Z] ---> Running in d947c71586ef [2024-10-03T06:03:28.925Z] Removing intermediate container d947c71586ef [2024-10-03T06:03:28.925Z] ---> 94bf589b2a8e [2024-10-03T06:03:28.925Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-03T06:03:28.925Z] ---> Running in 6b932bbf42e2 [2024-10-03T06:03:28.925Z] Removing intermediate container 6b932bbf42e2 [2024-10-03T06:03:28.925Z] ---> 2c598cb7a8e6 [2024-10-03T06:03:28.925Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-03T06:03:28.925Z] ---> Running in 029f777f6aa5 [2024-10-03T06:03:29.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-03T06:03:29.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-03T06:03:29.445Z] OK: 246 MiB in 54 packages [2024-10-03T06:03:29.705Z] Removing intermediate container 029f777f6aa5 [2024-10-03T06:03:29.705Z] ---> 655add3cee67 [2024-10-03T06:03:29.705Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-03T06:03:29.965Z] ---> 1d9379e124a5 [2024-10-03T06:03:29.965Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-03T06:03:29.965Z] ---> Running in 2bb66bafd336 [2024-10-03T06:03:30.118Z] Still waiting to schedule task [2024-10-03T06:03:30.118Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-13192’ is offline [2024-10-03T06:04:26.239Z] Removing intermediate container 2bb66bafd336 [2024-10-03T06:04:26.239Z] ---> 349abf889e49 [2024-10-03T06:04:26.239Z] Step 9/10 : COPY . . [2024-10-03T06:04:26.239Z] ---> 46986c3e3b22 [2024-10-03T06:04:26.239Z] Step 10/10 : RUN ${MAKE} [2024-10-03T06:04:26.239Z] ---> Running in f70aa9e0bb5d [2024-10-03T06:04:26.239Z] noop [2024-10-03T06:04:26.239Z] Removing intermediate container f70aa9e0bb5d [2024-10-03T06:04:26.239Z] ---> f319c94740f6 [2024-10-03T06:04:26.239Z] Successfully built f319c94740f6 [2024-10-03T06:04:26.239Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T06:04:26.558Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-03T06:04:26.559Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T06:04:26.644Z] prd-ubuntu20.04-docker-8c-8g-13199 does not seem to be running inside a container [2024-10-03T06:04:26.667Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1631 -v /w/workspace/gexfoundry_device-sdk-go_PR-1631:/w/workspace/gexfoundry_device-sdk-go_PR-1631:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-03T06:04:26.988Z] $ docker top 5b2956477282f30c415b97c65f6c9d275d16ccef00751831ff8d0e60ad24f2af -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T06:04:27.335Z] + go version [2024-10-03T06:04:27.335Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-03T06:04:27.342Z] $ docker stop --time=1 5b2956477282f30c415b97c65f6c9d275d16ccef00751831ff8d0e60ad24f2af [2024-10-03T06:04:28.598Z] $ docker rm -f --volumes 5b2956477282f30c415b97c65f6c9d275d16ccef00751831ff8d0e60ad24f2af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T06:04:29.038Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-03T06:04:29.038Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T06:04:29.116Z] prd-ubuntu20.04-docker-8c-8g-13199 does not seem to be running inside a container [2024-10-03T06:04:29.140Z] $ 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-1631 -v /w/workspace/gexfoundry_device-sdk-go_PR-1631:/w/workspace/gexfoundry_device-sdk-go_PR-1631:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-03T06:04:29.461Z] $ docker top 927a6ac4651100239b5c70f34f8df9581a9191be2c31766c5fe677d1c1fd0954 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T06:04:29.815Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1631 [Pipeline] fileExists [Pipeline] sh [2024-10-03T06:04:30.111Z] + make test [2024-10-03T06:04:30.111Z] go test -race -coverprofile=coverage.out ./... [2024-10-03T06:04:38.223Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-03T06:05:04.756Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-03T06:05:04.756Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-03T06:05:04.756Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-03T06:05:04.756Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-03T06:05:04.756Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-03T06:05:04.756Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-03T06:05:04.756Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-03T06:05:04.756Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.049s coverage: 26.0% of statements [2024-10-03T06:05:04.756Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.057s coverage: 79.4% of statements [2024-10-03T06:05:04.756Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.057s coverage: 86.0% of statements [2024-10-03T06:05:04.756Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-03T06:05:05.025Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-03T06:05:05.025Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-03T06:05:05.025Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-03T06:05:05.601Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.104s coverage: 45.2% of statements [2024-10-03T06:05:06.543Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-03T06:05:09.082Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.050s coverage: 14.1% of statements [2024-10-03T06:05:09.082Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.551s coverage: 44.6% of statements [2024-10-03T06:05:09.082Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.069s coverage: 68.5% of statements [2024-10-03T06:05:09.082Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.097s coverage: 89.2% of statements [2024-10-03T06:05:09.082Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.057s coverage: 5.3% of statements [2024-10-03T06:05:41.157Z] GO111MODULE=on go vet ./... [2024-10-03T06:05:42.099Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-03T06:05:42.099Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-03T06:05:42.099Z] ./bin/test-attribution-txt.sh [2024-10-03T06:05:42.357Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-10-03T06:05:42.357Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-10-03T06:05:42.371Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-03T06:05:42.392Z] $ docker stop --time=1 927a6ac4651100239b5c70f34f8df9581a9191be2c31766c5fe677d1c1fd0954 [2024-10-03T06:05:48.979Z] $ docker rm -f --volumes 927a6ac4651100239b5c70f34f8df9581a9191be2c31766c5fe677d1c1fd0954 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-03T06:05:49.646Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-03T06:05:49.720Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-03T06:05:50.261Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-03T06:05:50.547Z] + ls -al . [2024-10-03T06:05:50.547Z] total 712 [2024-10-03T06:05:50.547Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 06:04 . [2024-10-03T06:05:50.547Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 06:02 .. [2024-10-03T06:05:50.547Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 06:02 .dockerignore [2024-10-03T06:05:50.547Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 06:05 .git [2024-10-03T06:05:50.547Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 06:02 .github [2024-10-03T06:05:50.547Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 3 06:02 .gitignore [2024-10-03T06:05:50.547Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 3 06:02 .golangci.yml [2024-10-03T06:05:50.547Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 06:03 .semver [2024-10-03T06:05:50.547Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 3 06:02 CHANGELOG.md [2024-10-03T06:05:50.547Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 06:02 GOVERNANCE.md [2024-10-03T06:05:50.547Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 3 06:02 Jenkinsfile [2024-10-03T06:05:50.547Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 3 06:02 LICENSE [2024-10-03T06:05:50.547Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 3 06:02 Makefile [2024-10-03T06:05:50.547Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 3 06:02 OWNERS.md [2024-10-03T06:05:50.547Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 3 06:02 README.md [2024-10-03T06:05:50.547Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 06:03 VERSION [2024-10-03T06:05:50.547Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 06:02 bin [2024-10-03T06:05:50.547Z] -rw-r--r-- 1 jenkins jenkins 465883 Oct 3 06:05 coverage.out [2024-10-03T06:05:50.547Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 3 06:02 example [2024-10-03T06:05:50.547Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 3 06:02 go.mod [2024-10-03T06:05:50.547Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 3 06:02 go.sum [2024-10-03T06:05:50.547Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 3 06:02 internal [2024-10-03T06:05:50.547Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 06:02 openapi [2024-10-03T06:05:50.547Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 06:02 pkg [2024-10-03T06:05:50.547Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 06:02 snap [2024-10-03T06:05:50.547Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 3 06:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T06:05:50.861Z] + 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=258bca78eb25b04e773289848cc1a979c5bb6597 --label arch=amd64 --label version=0.0.0 . [2024-10-03T06:05:50.861Z] Sending build context to Docker daemon 25.92MB [2024-10-03T06:05:50.861Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-03T06:05:50.861Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-03T06:05:50.861Z] ---> f319c94740f6 [2024-10-03T06:05:50.861Z] Step 3/24 : ARG MAKE=make build [2024-10-03T06:05:51.429Z] ---> Running in e8dc9622631d [2024-10-03T06:05:51.429Z] Removing intermediate container e8dc9622631d [2024-10-03T06:05:51.429Z] ---> 0a5ef7cd8f86 [2024-10-03T06:05:51.429Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-03T06:05:51.429Z] ---> Running in 681be1704fe6 [2024-10-03T06:05:51.429Z] Removing intermediate container 681be1704fe6 [2024-10-03T06:05:51.429Z] ---> 16d222ae8020 [2024-10-03T06:05:51.429Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-03T06:05:51.429Z] ---> Running in 6b5795801231 [2024-10-03T06:05:51.687Z] Removing intermediate container 6b5795801231 [2024-10-03T06:05:51.687Z] ---> 238195b46483 [2024-10-03T06:05:51.687Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-03T06:05:51.687Z] ---> Running in 6c0e0f08f05e [2024-10-03T06:05:51.946Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-03T06:05:51.946Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-03T06:05:52.203Z] OK: 246 MiB in 54 packages [2024-10-03T06:05:52.463Z] Removing intermediate container 6c0e0f08f05e [2024-10-03T06:05:52.463Z] ---> 6821d89f27bf [2024-10-03T06:05:52.463Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-03T06:05:52.722Z] ---> ce3ed9abcfc0 [2024-10-03T06:05:52.722Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-03T06:05:52.722Z] ---> Running in d30393af6142 [2024-10-03T06:05:53.287Z] Removing intermediate container d30393af6142 [2024-10-03T06:05:53.287Z] ---> f09d22bc129f [2024-10-03T06:05:53.287Z] Step 9/24 : COPY . . [2024-10-03T06:05:54.255Z] ---> 362302ac3c90 [2024-10-03T06:05:54.255Z] Step 10/24 : RUN ${MAKE} [2024-10-03T06:05:54.255Z] ---> Running in f18fe6501d85 [2024-10-03T06:05:54.514Z] 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-03T06:06:27.151Z] Removing intermediate container f18fe6501d85 [2024-10-03T06:06:27.151Z] ---> 96d5214c3d27 [2024-10-03T06:06:27.151Z] Step 11/24 : FROM alpine:3.20 [2024-10-03T06:06:29.906Z] 3.20: Pulling from library/alpine [2024-10-03T06:06:29.906Z] 43c4264eed91: Already exists [2024-10-03T06:06:29.906Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-03T06:06:29.906Z] Status: Downloaded newer image for alpine:3.20 [2024-10-03T06:06:29.906Z] ---> 91ef0af61f39 [2024-10-03T06:06:29.906Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-03T06:06:29.906Z] ---> Running in 2e12b4f97afd [2024-10-03T06:06:29.906Z] Removing intermediate container 2e12b4f97afd [2024-10-03T06:06:29.906Z] ---> c60b686b278c [2024-10-03T06:06:29.906Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-03T06:06:29.906Z] ---> Running in 8c20fb85e708 [2024-10-03T06:06:30.166Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-03T06:06:30.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-03T06:06:30.688Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-03T06:06:30.688Z] Executing busybox-1.36.1-r29.trigger [2024-10-03T06:06:30.688Z] OK: 8 MiB in 15 packages [2024-10-03T06:06:30.946Z] Removing intermediate container 8c20fb85e708 [2024-10-03T06:06:30.946Z] ---> 804264981671 [2024-10-03T06:06:30.946Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-03T06:06:30.946Z] ---> Running in 6215d956e618 [2024-10-03T06:06:31.204Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-03T06:06:31.204Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-03T06:06:31.463Z] Upgrading critical system libraries and apk-tools: [2024-10-03T06:06:31.463Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-03T06:06:31.463Z] Executing busybox-1.36.1-r29.trigger [2024-10-03T06:06:31.722Z] Continuing the upgrade transaction with new apk-tools: [2024-10-03T06:06:31.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-03T06:06:31.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-03T06:06:31.981Z] OK: 8 MiB in 15 packages [2024-10-03T06:06:32.240Z] Removing intermediate container 6215d956e618 [2024-10-03T06:06:32.240Z] ---> b53282d94a9a [2024-10-03T06:06:32.240Z] Step 15/24 : WORKDIR / [2024-10-03T06:06:32.240Z] ---> Running in c28266a1f0b0 [2024-10-03T06:06:32.498Z] Removing intermediate container c28266a1f0b0 [2024-10-03T06:06:32.498Z] ---> af146efc87fd [2024-10-03T06:06:32.498Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-03T06:06:32.498Z] ---> 81c41761760b [2024-10-03T06:06:32.498Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-03T06:06:34.404Z] ---> 602bf773e04c [2024-10-03T06:06:34.404Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-03T06:06:34.404Z] ---> b6a56f3d5180 [2024-10-03T06:06:34.404Z] Step 19/24 : EXPOSE 59999 [2024-10-03T06:06:34.404Z] ---> Running in 1200367b4c79 [2024-10-03T06:06:34.404Z] Removing intermediate container 1200367b4c79 [2024-10-03T06:06:34.404Z] ---> 5c3109bb4f93 [2024-10-03T06:06:34.405Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-03T06:06:34.405Z] ---> Running in 19fca9abfc41 [2024-10-03T06:06:34.664Z] Removing intermediate container 19fca9abfc41 [2024-10-03T06:06:34.664Z] ---> 309372d17873 [2024-10-03T06:06:34.664Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-03T06:06:34.664Z] ---> Running in 883e1f90226a [2024-10-03T06:06:34.664Z] Removing intermediate container 883e1f90226a [2024-10-03T06:06:34.664Z] ---> 2c5bff0fb56f [2024-10-03T06:06:34.664Z] Step 22/24 : LABEL arch=amd64 [2024-10-03T06:06:34.664Z] ---> Running in de6db31ee16c [2024-10-03T06:06:34.924Z] Removing intermediate container de6db31ee16c [2024-10-03T06:06:34.924Z] ---> c36e949ef68e [2024-10-03T06:06:34.924Z] Step 23/24 : LABEL git_sha=258bca78eb25b04e773289848cc1a979c5bb6597 [2024-10-03T06:06:34.924Z] ---> Running in b8211dcc92fa [2024-10-03T06:06:34.924Z] Removing intermediate container b8211dcc92fa [2024-10-03T06:06:34.924Z] ---> e7be476e704d [2024-10-03T06:06:34.924Z] Step 24/24 : LABEL version=0.0.0 [2024-10-03T06:06:34.924Z] ---> Running in 843c9c5eb553 [2024-10-03T06:06:34.924Z] Removing intermediate container 843c9c5eb553 [2024-10-03T06:06:34.924Z] ---> 2ada80fc6f2a [2024-10-03T06:06:34.924Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-03T06:06:34.924Z] Successfully built 2ada80fc6f2a [2024-10-03T06:06:34.924Z] 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-03T06:06:35.403Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T06:06:35.403Z] [2024-10-03T06:06:35.403Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T06:06:35.708Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T06:06:35.708Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-03T06:06:35.708Z] 5eb5b503b376: Pulling fs layer [2024-10-03T06:06:35.708Z] 5c69ac0246d0: Pulling fs layer [2024-10-03T06:06:35.708Z] ec43610c2a17: Pulling fs layer [2024-10-03T06:06:35.709Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-03T06:06:35.709Z] 33b1e0a273af: Pulling fs layer [2024-10-03T06:06:35.709Z] 5d3b04190fa2: Pulling fs layer [2024-10-03T06:06:35.709Z] 2f39f015ded8: Pulling fs layer [2024-10-03T06:06:35.709Z] 33b1e0a273af: Waiting [2024-10-03T06:06:35.709Z] 5d3b04190fa2: Waiting [2024-10-03T06:06:35.709Z] 2f39f015ded8: Waiting [2024-10-03T06:06:35.709Z] 3a2ae6a8a46f: Waiting [2024-10-03T06:06:35.709Z] 5c69ac0246d0: Verifying Checksum [2024-10-03T06:06:35.709Z] 5c69ac0246d0: Download complete [2024-10-03T06:06:35.709Z] 3a2ae6a8a46f: Download complete [2024-10-03T06:06:35.709Z] 33b1e0a273af: Verifying Checksum [2024-10-03T06:06:35.709Z] 33b1e0a273af: Download complete [2024-10-03T06:06:35.709Z] 5d3b04190fa2: Download complete [2024-10-03T06:06:35.709Z] ec43610c2a17: Verifying Checksum [2024-10-03T06:06:35.709Z] ec43610c2a17: Download complete [2024-10-03T06:06:35.966Z] 5eb5b503b376: Verifying Checksum [2024-10-03T06:06:35.966Z] 5eb5b503b376: Download complete [2024-10-03T06:06:36.532Z] 2f39f015ded8: Verifying Checksum [2024-10-03T06:06:36.532Z] 2f39f015ded8: Download complete [2024-10-03T06:06:37.100Z] 5eb5b503b376: Pull complete [2024-10-03T06:06:37.100Z] 5c69ac0246d0: Pull complete [2024-10-03T06:06:37.664Z] ec43610c2a17: Pull complete [2024-10-03T06:06:37.664Z] 3a2ae6a8a46f: Pull complete [2024-10-03T06:06:37.922Z] 33b1e0a273af: Pull complete [2024-10-03T06:06:37.922Z] 5d3b04190fa2: Pull complete [2024-10-03T06:06:42.106Z] 2f39f015ded8: Pull complete [2024-10-03T06:06:42.106Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-03T06:06:42.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T06:06:42.106Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T06:06:42.214Z] prd-ubuntu20.04-docker-8c-8g-13199 does not seem to be running inside a container [2024-10-03T06:06:42.244Z] $ 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-1631 -v /w/workspace/gexfoundry_device-sdk-go_PR-1631:/w/workspace/gexfoundry_device-sdk-go_PR-1631:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-03T06:06:47.569Z] $ docker top e802799ca45e279cd26ee3e713cbb170edf703b42e8c86f1cf05055cb2f2202e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T06:06:47.976Z] ---> job-cost.sh [2024-10-03T06:06:47.976Z] lf-activate-venv: SKIPPING [2024-10-03T06:06:47.976Z] INFO: No Stack... [2024-10-03T06:06:48.236Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-03T06:06:48.496Z] INFO: Archiving Costs [Pipeline] sh [2024-10-03T06:06:48.797Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1631/archives/cost.csv [2024-10-03T06:06:48.797Z] + cut -d, -f6 [Pipeline] lock [2024-10-03T06:06:48.813Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1631-2-stack-cost] [2024-10-03T06:06:51.742Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1631-2-stack-cost] did not exist. Created. [2024-10-03T06:06:51.750Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1631-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-03T06:06:52.072Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-03T06:06:52.102Z] Stashed 1 file(s) [Pipeline] } [2024-10-03T06:06:52.111Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1631-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-03T06:06:52.141Z] $ docker stop --time=1 e802799ca45e279cd26ee3e713cbb170edf703b42e8c86f1cf05055cb2f2202e [2024-10-03T06:06:53.279Z] $ docker rm -f --volumes e802799ca45e279cd26ee3e713cbb170edf703b42e8c86f1cf05055cb2f2202e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-03T06:09:18.436Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-13206 in /w/workspace/gexfoundry_device-sdk-go_PR-1631 [Pipeline] { [Pipeline] ws [2024-10-03T06:09:18.454Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2024-10-03T06:09:21.518Z] The recommended git tool is: git [2024-10-03T06:09:29.707Z] using credential edgex-jenkins-ssh [2024-10-03T06:09:29.730Z] Cloning the remote Git repository [2024-10-03T06:09:29.781Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-10-03T06:09:29.878Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2024-10-03T06:09:30.075Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-03T06:09:30.076Z] > git --version # timeout=10 [2024-10-03T06:09:30.112Z] > git --version # 'git version 2.25.1' [2024-10-03T06:09:30.117Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-03T06:09:30.509Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-03T06:09:34.221Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-03T06:09:34.254Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-03T06:09:36.035Z] Merging remotes/origin/main commit 473fc5204b06f8a03d3e358a646b11d6e900bdaa into PR head commit 258bca78eb25b04e773289848cc1a979c5bb6597 [2024-10-03T06:09:36.359Z] Merge succeeded, producing 258bca78eb25b04e773289848cc1a979c5bb6597 [2024-10-03T06:09:36.360Z] Checking out Revision 258bca78eb25b04e773289848cc1a979c5bb6597 (PR-1631) [2024-10-03T06:09:35.306Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-03T06:09:35.347Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-03T06:09:35.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-03T06:09:35.370Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1631/head:refs/remotes/origin/PR-1631 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-03T06:09:36.053Z] > git config core.sparsecheckout # timeout=10 [2024-10-03T06:09:36.127Z] > git checkout -f 258bca78eb25b04e773289848cc1a979c5bb6597 # timeout=10 [2024-10-03T06:09:36.250Z] > git remote # timeout=10 [2024-10-03T06:09:36.272Z] > git config --get remote.origin.url # timeout=10 [2024-10-03T06:09:36.292Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-03T06:09:36.314Z] > git merge 473fc5204b06f8a03d3e358a646b11d6e900bdaa # timeout=10 [2024-10-03T06:09:36.341Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-03T06:09:36.364Z] > git config core.sparsecheckout # timeout=10 [2024-10-03T06:09:36.377Z] > git checkout -f 258bca78eb25b04e773289848cc1a979c5bb6597 # timeout=10 [2024-10-03T06:09:39.995Z] Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-03T06:09:41.630Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-03T06:09:41.630Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-03T06:09:41.630Z] Dload Upload Total Spent Left Speed [2024-10-03T06:09:41.630Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 114k 0 --:--:-- --:--:-- --:--:-- 114k [Pipeline] sh [2024-10-03T06:09:41.982Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-03T06:09:42.312Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-03T06:09:42.312Z] + sudo tee /etc/docker/daemon.new [2024-10-03T06:09:42.312Z] { [2024-10-03T06:09:42.312Z] "registry-mirrors": [ [2024-10-03T06:09:42.312Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-03T06:09:42.312Z] ], [2024-10-03T06:09:42.312Z] "bip": "10.250.0.254/24", [2024-10-03T06:09:42.312Z] "hosts": [ [2024-10-03T06:09:42.312Z] "tcp://0.0.0.0:5555", [2024-10-03T06:09:42.312Z] "unix:///var/run/docker.sock" [2024-10-03T06:09:42.312Z] ], [2024-10-03T06:09:42.312Z] "mtu": 1458, [2024-10-03T06:09:42.312Z] "selinux-enabled": true, [2024-10-03T06:09:42.312Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-03T06:09:42.312Z] } [Pipeline] sh [2024-10-03T06:09:42.631Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-03T06:09:42.950Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T06:10:01.210Z] provisioning config files... [2024-10-03T06:10:01.237Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3399744637340611986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T06:10:01.720Z] ---> ****-login.sh [2024-10-03T06:10:01.720Z] nexus3.edgexfoundry.org:10001 [2024-10-03T06:10:02.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T06:10:02.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T06:10:02.576Z] Configure a credential helper to remove this warning. See [2024-10-03T06:10:02.576Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T06:10:02.576Z] [2024-10-03T06:10:02.576Z] Login Succeeded [2024-10-03T06:10:02.576Z] nexus3.edgexfoundry.org:10002 [2024-10-03T06:10:02.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T06:10:02.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T06:10:02.846Z] Configure a credential helper to remove this warning. See [2024-10-03T06:10:02.846Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T06:10:02.847Z] [2024-10-03T06:10:02.847Z] Login Succeeded [2024-10-03T06:10:02.847Z] nexus3.edgexfoundry.org:10003 [2024-10-03T06:10:03.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T06:10:03.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T06:10:03.117Z] Configure a credential helper to remove this warning. See [2024-10-03T06:10:03.117Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T06:10:03.117Z] [2024-10-03T06:10:03.117Z] Login Succeeded [2024-10-03T06:10:03.117Z] nexus3.edgexfoundry.org:10004 [2024-10-03T06:10:03.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T06:10:03.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T06:10:03.388Z] Configure a credential helper to remove this warning. See [2024-10-03T06:10:03.388Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T06:10:03.388Z] [2024-10-03T06:10:03.388Z] Login Succeeded [2024-10-03T06:10:03.663Z] ****.io [2024-10-03T06:10:03.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T06:10:03.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T06:10:03.933Z] Configure a credential helper to remove this warning. See [2024-10-03T06:10:03.933Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T06:10:03.933Z] [2024-10-03T06:10:03.933Z] Login Succeeded [2024-10-03T06:10:03.933Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T06:10:03.947Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-03T06:10:04.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-03T06:10:04.294Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-03T06:10:04.317Z] ========================================================= [2024-10-03T06:10:04.317Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-03T06:10:04.317Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T06:10:04.691Z] + 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-03T06:10:05.286Z] Sending build context to Docker daemon 13.21MB [2024-10-03T06:10:05.287Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-03T06:10:05.287Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-03T06:10:05.570Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-03T06:10:05.570Z] cf04c63912e1: Pulling fs layer [2024-10-03T06:10:05.570Z] 55b35a11ae5e: Pulling fs layer [2024-10-03T06:10:05.570Z] a37a00ec5f00: Pulling fs layer [2024-10-03T06:10:05.570Z] 50b3750afda1: Pulling fs layer [2024-10-03T06:10:05.570Z] 4f4fb700ef54: Pulling fs layer [2024-10-03T06:10:05.570Z] 80978eb59214: Pulling fs layer [2024-10-03T06:10:05.570Z] c9f46d7d2bd2: Pulling fs layer [2024-10-03T06:10:05.570Z] c5a475d317c9: Pulling fs layer [2024-10-03T06:10:05.570Z] 4f4fb700ef54: Waiting [2024-10-03T06:10:05.570Z] 80978eb59214: Waiting [2024-10-03T06:10:05.570Z] c9f46d7d2bd2: Waiting [2024-10-03T06:10:05.570Z] c5a475d317c9: Waiting [2024-10-03T06:10:05.570Z] 50b3750afda1: Waiting [2024-10-03T06:10:05.570Z] 55b35a11ae5e: Download complete [2024-10-03T06:10:05.570Z] 50b3750afda1: Verifying Checksum [2024-10-03T06:10:05.570Z] 50b3750afda1: Download complete [2024-10-03T06:10:05.570Z] 4f4fb700ef54: Verifying Checksum [2024-10-03T06:10:05.570Z] 4f4fb700ef54: Download complete [2024-10-03T06:10:05.570Z] 80978eb59214: Download complete [2024-10-03T06:10:05.570Z] cf04c63912e1: Verifying Checksum [2024-10-03T06:10:05.570Z] cf04c63912e1: Download complete [2024-10-03T06:10:06.164Z] c5a475d317c9: Verifying Checksum [2024-10-03T06:10:06.164Z] c5a475d317c9: Download complete [2024-10-03T06:10:06.759Z] cf04c63912e1: Pull complete [2024-10-03T06:10:07.347Z] 55b35a11ae5e: Pull complete [2024-10-03T06:10:07.634Z] a37a00ec5f00: Verifying Checksum [2024-10-03T06:10:07.634Z] a37a00ec5f00: Download complete [2024-10-03T06:10:08.600Z] c9f46d7d2bd2: Verifying Checksum [2024-10-03T06:10:08.600Z] c9f46d7d2bd2: Download complete [2024-10-03T06:10:20.950Z] a37a00ec5f00: Pull complete [2024-10-03T06:10:20.950Z] 50b3750afda1: Pull complete [2024-10-03T06:10:21.223Z] 4f4fb700ef54: Pull complete [2024-10-03T06:10:21.495Z] 80978eb59214: Pull complete [2024-10-03T06:10:29.733Z] c9f46d7d2bd2: Pull complete [2024-10-03T06:10:30.704Z] c5a475d317c9: Pull complete [2024-10-03T06:10:30.704Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-03T06:10:30.704Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-03T06:10:30.704Z] ---> be29e6b0f0d4 [2024-10-03T06:10:30.704Z] Step 3/10 : ARG MAKE=make build [2024-10-03T06:10:31.675Z] ---> Running in 33c0191c33e2 [2024-10-03T06:10:31.675Z] Removing intermediate container 33c0191c33e2 [2024-10-03T06:10:31.675Z] ---> 8c1268a65db0 [2024-10-03T06:10:31.675Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-03T06:10:31.943Z] ---> Running in 4272c4a90356 [2024-10-03T06:10:32.212Z] Removing intermediate container 4272c4a90356 [2024-10-03T06:10:32.212Z] ---> 449fdafaa93e [2024-10-03T06:10:32.212Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-03T06:10:32.212Z] ---> Running in 1a1c58e32b8c [2024-10-03T06:10:32.487Z] Removing intermediate container 1a1c58e32b8c [2024-10-03T06:10:32.487Z] ---> 39318e47e615 [2024-10-03T06:10:32.487Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-03T06:10:32.754Z] ---> Running in 848847f24647 [2024-10-03T06:10:33.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-03T06:10:34.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-03T06:10:35.724Z] OK: 238 MiB in 54 packages [2024-10-03T06:10:37.142Z] Removing intermediate container 848847f24647 [2024-10-03T06:10:37.142Z] ---> 7e4825705fb7 [2024-10-03T06:10:37.142Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-03T06:10:37.747Z] ---> 26463b54355e [2024-10-03T06:10:37.747Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-03T06:10:37.747Z] ---> Running in 02c9eb8ecec5 [2024-10-03T06:12:29.448Z] Removing intermediate container 02c9eb8ecec5 [2024-10-03T06:12:29.448Z] ---> faeb68946148 [2024-10-03T06:12:29.448Z] Step 9/10 : COPY . . [2024-10-03T06:12:29.448Z] ---> eac1a2646600 [2024-10-03T06:12:29.448Z] Step 10/10 : RUN ${MAKE} [2024-10-03T06:12:29.448Z] ---> Running in 6863b7b624d4 [2024-10-03T06:12:29.448Z] noop [2024-10-03T06:12:29.448Z] Removing intermediate container 6863b7b624d4 [2024-10-03T06:12:29.448Z] ---> cdc21ab1ec9a [2024-10-03T06:12:29.448Z] Successfully built cdc21ab1ec9a [2024-10-03T06:12:29.448Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T06:12:29.811Z] + docker inspect -f . ci-base-image-arm64 [2024-10-03T06:12:29.811Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T06:12:30.040Z] prd-ubuntu20.04-docker-arm64-4c-16g-13206 does not seem to be running inside a container [2024-10-03T06:12:30.106Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-03T06:12:31.333Z] $ docker top c93267a2af4eb94daf909ce4abeb6c7f5ea818cba4b789efd8a2bf2b7928ad33 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T06:12:32.184Z] + go version [2024-10-03T06:12:32.184Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-03T06:12:32.201Z] $ docker stop --time=1 c93267a2af4eb94daf909ce4abeb6c7f5ea818cba4b789efd8a2bf2b7928ad33 [2024-10-03T06:12:33.777Z] $ docker rm -f --volumes c93267a2af4eb94daf909ce4abeb6c7f5ea818cba4b789efd8a2bf2b7928ad33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T06:12:34.364Z] + docker inspect -f . ci-base-image-arm64 [2024-10-03T06:12:34.364Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T06:12:34.560Z] prd-ubuntu20.04-docker-arm64-4c-16g-13206 does not seem to be running inside a container [2024-10-03T06:12:34.622Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-03T06:12:35.875Z] $ docker top 0ed2452d8f2c531968ed7e7535f3f9dae03e0dc9c964f5cb79ec308d98698e1e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T06:12:36.468Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2024-10-03T06:12:37.380Z] + make test [2024-10-03T06:12:37.380Z] go test -race -coverprofile=coverage.out ./... [2024-10-03T06:13:24.223Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-03T06:16:45.995Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-03T06:16:45.995Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-03T06:16:45.995Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-03T06:16:45.995Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-03T06:16:45.995Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-03T06:16:51.347Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.152s coverage: 26.0% of statements [2024-10-03T06:16:54.697Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.192s coverage: 79.4% of statements [2024-10-03T06:17:04.781Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-03T06:17:04.781Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-03T06:17:05.363Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.278s coverage: 86.0% of statements [2024-10-03T06:17:17.677Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-03T06:17:17.677Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.550s coverage: 45.2% of statements [2024-10-03T06:17:20.341Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.253s coverage: 14.1% of statements [2024-10-03T06:17:20.341Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.125s coverage: 44.6% of statements [2024-10-03T06:17:22.932Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-03T06:17:22.932Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-03T06:17:22.932Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-03T06:17:24.353Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.374s coverage: 68.5% of statements [2024-10-03T06:17:29.694Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.363s coverage: 89.2% of statements [2024-10-03T06:17:35.044Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-03T06:17:36.003Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.338s coverage: 5.3% of statements [2024-10-03T06:17:36.969Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-03T06:17:36.969Z] GO111MODULE=on go vet ./... [2024-10-03T06:21:29.304Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-03T06:21:29.304Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-03T06:21:29.304Z] ./bin/test-attribution-txt.sh [2024-10-03T06:21:29.304Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-10-03T06:21:29.304Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-10-03T06:21:29.330Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-03T06:21:29.348Z] $ docker stop --time=1 0ed2452d8f2c531968ed7e7535f3f9dae03e0dc9c964f5cb79ec308d98698e1e [2024-10-03T06:21:31.301Z] $ docker rm -f --volumes 0ed2452d8f2c531968ed7e7535f3f9dae03e0dc9c964f5cb79ec308d98698e1e [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-03T06:21:34.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-03T06:21:34.044Z] Warning: overwriting stash ‘coverage-report’ [2024-10-03T06:21:34.845Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-03T06:21:35.252Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-03T06:21:35.579Z] + ls -al . [2024-10-03T06:21:35.579Z] total 708 [2024-10-03T06:21:35.579Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 06:12 . [2024-10-03T06:21:35.579Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 06:09 .. [2024-10-03T06:21:35.579Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 06:09 .dockerignore [2024-10-03T06:21:35.579Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 06:09 .git [2024-10-03T06:21:35.579Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 06:09 .github [2024-10-03T06:21:35.579Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 3 06:09 .gitignore [2024-10-03T06:21:35.579Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 3 06:09 .golangci.yml [2024-10-03T06:21:35.579Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 3 06:09 CHANGELOG.md [2024-10-03T06:21:35.579Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 06:09 GOVERNANCE.md [2024-10-03T06:21:35.579Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 3 06:09 Jenkinsfile [2024-10-03T06:21:35.579Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 3 06:09 LICENSE [2024-10-03T06:21:35.579Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 3 06:09 Makefile [2024-10-03T06:21:35.579Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 3 06:09 OWNERS.md [2024-10-03T06:21:35.579Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 3 06:09 README.md [2024-10-03T06:21:35.579Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 06:03 VERSION [2024-10-03T06:21:35.579Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 06:09 bin [2024-10-03T06:21:35.579Z] -rw-r--r-- 1 jenkins jenkins 465881 Oct 3 06:17 coverage.out [2024-10-03T06:21:35.579Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 3 06:09 example [2024-10-03T06:21:35.579Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 3 06:09 go.mod [2024-10-03T06:21:35.579Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 3 06:09 go.sum [2024-10-03T06:21:35.579Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 3 06:09 internal [2024-10-03T06:21:35.579Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 06:09 openapi [2024-10-03T06:21:35.579Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 3 06:09 pkg [2024-10-03T06:21:35.579Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 06:09 snap [2024-10-03T06:21:35.579Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 3 06:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T06:21:35.945Z] + 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=258bca78eb25b04e773289848cc1a979c5bb6597 --label arch=arm64 --label version=0.0.0 . [2024-10-03T06:21:36.542Z] Sending build context to Docker daemon 13.68MB [2024-10-03T06:21:36.542Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-03T06:21:36.542Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-03T06:21:36.542Z] ---> cdc21ab1ec9a [2024-10-03T06:21:36.542Z] Step 3/24 : ARG MAKE=make build [2024-10-03T06:21:36.809Z] ---> Running in 20a788529357 [2024-10-03T06:21:37.076Z] Removing intermediate container 20a788529357 [2024-10-03T06:21:37.076Z] ---> 09fbb1297f44 [2024-10-03T06:21:37.076Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-03T06:21:37.344Z] ---> Running in 806f7e63b367 [2024-10-03T06:21:37.611Z] Removing intermediate container 806f7e63b367 [2024-10-03T06:21:37.611Z] ---> 057d166af26e [2024-10-03T06:21:37.611Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-03T06:21:37.611Z] ---> Running in 721cee9fa49c [2024-10-03T06:21:38.205Z] Removing intermediate container 721cee9fa49c [2024-10-03T06:21:38.206Z] ---> b59d62e24065 [2024-10-03T06:21:38.206Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-03T06:21:38.206Z] ---> Running in d852dbbe87ce [2024-10-03T06:21:39.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-03T06:21:39.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-03T06:21:41.570Z] OK: 238 MiB in 54 packages [2024-10-03T06:21:42.157Z] Removing intermediate container d852dbbe87ce [2024-10-03T06:21:42.157Z] ---> 73ce34bc42e3 [2024-10-03T06:21:42.157Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-03T06:21:42.758Z] ---> 3e0fa8ccc799 [2024-10-03T06:21:42.758Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-03T06:21:43.034Z] ---> Running in 40424afb81f5 [2024-10-03T06:21:45.629Z] Removing intermediate container 40424afb81f5 [2024-10-03T06:21:45.629Z] ---> fc8e45fdfd78 [2024-10-03T06:21:45.629Z] Step 9/24 : COPY . . [2024-10-03T06:21:47.050Z] ---> 0d1e16c2f952 [2024-10-03T06:21:47.050Z] Step 10/24 : RUN ${MAKE} [2024-10-03T06:21:47.322Z] ---> Running in c35958943b9f [2024-10-03T06:21:48.291Z] 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-03T06:25:55.138Z] Removing intermediate container c35958943b9f [2024-10-03T06:25:55.138Z] ---> 811c58998caa [2024-10-03T06:25:55.138Z] Step 11/24 : FROM alpine:3.20 [2024-10-03T06:25:55.138Z] 3.20: Pulling from library/alpine [2024-10-03T06:25:55.138Z] cf04c63912e1: Already exists [2024-10-03T06:25:55.138Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-03T06:25:55.138Z] Status: Downloaded newer image for alpine:3.20 [2024-10-03T06:25:55.138Z] ---> c157a85ed455 [2024-10-03T06:25:55.138Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-03T06:25:55.138Z] ---> Running in 77eb8a05bbdd [2024-10-03T06:25:55.138Z] Removing intermediate container 77eb8a05bbdd [2024-10-03T06:25:55.138Z] ---> 5d6b2e0ead9c [2024-10-03T06:25:55.138Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-03T06:25:55.138Z] ---> Running in 281e29f1579a [2024-10-03T06:25:55.138Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-03T06:25:55.138Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-03T06:25:55.138Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-03T06:25:55.138Z] Executing busybox-1.36.1-r29.trigger [2024-10-03T06:25:55.138Z] OK: 9 MiB in 15 packages [2024-10-03T06:25:55.138Z] Removing intermediate container 281e29f1579a [2024-10-03T06:25:55.138Z] ---> 3c07bfd2d47c [2024-10-03T06:25:55.138Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-03T06:25:55.138Z] ---> Running in 8ffd2d9bd111 [2024-10-03T06:25:55.138Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-03T06:25:55.138Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-03T06:25:55.138Z] Upgrading critical system libraries and apk-tools: [2024-10-03T06:25:55.138Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-03T06:25:55.138Z] Executing busybox-1.36.1-r29.trigger [2024-10-03T06:25:55.138Z] Continuing the upgrade transaction with new apk-tools: [2024-10-03T06:25:55.138Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-03T06:25:55.138Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-03T06:25:55.138Z] OK: 9 MiB in 15 packages [2024-10-03T06:25:56.103Z] Removing intermediate container 8ffd2d9bd111 [2024-10-03T06:25:56.103Z] ---> 7cb3adc3fcd8 [2024-10-03T06:25:56.103Z] Step 15/24 : WORKDIR / [2024-10-03T06:25:56.103Z] ---> Running in 22a221dfb350 [2024-10-03T06:25:56.371Z] Removing intermediate container 22a221dfb350 [2024-10-03T06:25:56.371Z] ---> 7712c4bbdf51 [2024-10-03T06:25:56.371Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-03T06:25:56.951Z] ---> 466d9f2ed8e1 [2024-10-03T06:25:56.951Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-03T06:25:58.885Z] ---> 02570703edcc [2024-10-03T06:25:58.885Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-03T06:25:59.152Z] ---> d2ee1936c2fe [2024-10-03T06:25:59.152Z] Step 19/24 : EXPOSE 59999 [2024-10-03T06:25:59.417Z] ---> Running in 352715ff7bfa [2024-10-03T06:25:59.681Z] Removing intermediate container 352715ff7bfa [2024-10-03T06:25:59.681Z] ---> 6ec87234a711 [2024-10-03T06:25:59.681Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-03T06:25:59.681Z] ---> Running in b70b72ca2eca [2024-10-03T06:25:59.950Z] Removing intermediate container b70b72ca2eca [2024-10-03T06:25:59.950Z] ---> aa3605aec469 [2024-10-03T06:25:59.950Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-03T06:25:59.950Z] ---> Running in 5626c9b27f87 [2024-10-03T06:26:00.216Z] Removing intermediate container 5626c9b27f87 [2024-10-03T06:26:00.216Z] ---> af05f929543f [2024-10-03T06:26:00.216Z] Step 22/24 : LABEL arch=arm64 [2024-10-03T06:26:00.481Z] ---> Running in d3ef551478e6 [2024-10-03T06:26:00.746Z] Removing intermediate container d3ef551478e6 [2024-10-03T06:26:00.746Z] ---> 5c3671421b2e [2024-10-03T06:26:00.746Z] Step 23/24 : LABEL git_sha=258bca78eb25b04e773289848cc1a979c5bb6597 [2024-10-03T06:26:00.746Z] ---> Running in 263268a59359 [2024-10-03T06:26:01.012Z] Removing intermediate container 263268a59359 [2024-10-03T06:26:01.012Z] ---> 69be556d39cb [2024-10-03T06:26:01.012Z] Step 24/24 : LABEL version=0.0.0 [2024-10-03T06:26:01.012Z] ---> Running in a157c4d8b5a4 [2024-10-03T06:26:01.277Z] Removing intermediate container a157c4d8b5a4 [2024-10-03T06:26:01.277Z] ---> 837258de0edd [2024-10-03T06:26:01.277Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-03T06:26:01.277Z] Successfully built 837258de0edd [2024-10-03T06:26:01.541Z] 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-03T06:26:02.015Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-03T06:26:02.015Z] [2024-10-03T06:26:02.015Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T06:26:02.369Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-03T06:26:02.369Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-03T06:26:02.369Z] 8998bd30e6a1: Pulling fs layer [2024-10-03T06:26:02.369Z] 04944245beec: Pulling fs layer [2024-10-03T06:26:02.369Z] 699f458cf7ca: Pulling fs layer [2024-10-03T06:26:02.369Z] 765212b225bb: Pulling fs layer [2024-10-03T06:26:02.369Z] f23df028b6ca: Pulling fs layer [2024-10-03T06:26:02.369Z] d65c8cfc05b1: Pulling fs layer [2024-10-03T06:26:02.369Z] 2437ff75d9bd: Pulling fs layer [2024-10-03T06:26:02.369Z] 765212b225bb: Waiting [2024-10-03T06:26:02.369Z] f23df028b6ca: Waiting [2024-10-03T06:26:02.369Z] d65c8cfc05b1: Waiting [2024-10-03T06:26:02.369Z] 2437ff75d9bd: Waiting [2024-10-03T06:26:02.635Z] 04944245beec: Verifying Checksum [2024-10-03T06:26:02.635Z] 04944245beec: Download complete [2024-10-03T06:26:02.635Z] 765212b225bb: Verifying Checksum [2024-10-03T06:26:02.635Z] 765212b225bb: Download complete [2024-10-03T06:26:02.635Z] f23df028b6ca: Verifying Checksum [2024-10-03T06:26:02.635Z] f23df028b6ca: Download complete [2024-10-03T06:26:02.635Z] d65c8cfc05b1: Verifying Checksum [2024-10-03T06:26:02.635Z] d65c8cfc05b1: Download complete [2024-10-03T06:26:02.635Z] 699f458cf7ca: Verifying Checksum [2024-10-03T06:26:02.635Z] 699f458cf7ca: Download complete [2024-10-03T06:26:03.214Z] 8998bd30e6a1: Verifying Checksum [2024-10-03T06:26:03.214Z] 8998bd30e6a1: Download complete [2024-10-03T06:26:05.151Z] 2437ff75d9bd: Verifying Checksum [2024-10-03T06:26:05.151Z] 2437ff75d9bd: Download complete [2024-10-03T06:26:07.731Z] 8998bd30e6a1: Pull complete [2024-10-03T06:26:07.998Z] 04944245beec: Pull complete [2024-10-03T06:26:09.944Z] 699f458cf7ca: Pull complete [2024-10-03T06:26:09.944Z] 765212b225bb: Pull complete [2024-10-03T06:26:10.535Z] f23df028b6ca: Pull complete [2024-10-03T06:26:10.805Z] d65c8cfc05b1: Pull complete [2024-10-03T06:26:29.031Z] 2437ff75d9bd: Pull complete [2024-10-03T06:26:29.031Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-03T06:26:29.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-03T06:26:29.031Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T06:26:29.254Z] prd-ubuntu20.04-docker-arm64-4c-16g-13206 does not seem to be running inside a container [2024-10-03T06:26:29.327Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-03T06:26:32.149Z] $ docker top d68f45a889bef4bede0a918e7549bbfa3a08d449a4b6e37b3f97a91402d2dc36 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T06:26:32.986Z] ---> job-cost.sh [2024-10-03T06:26:32.986Z] lf-activate-venv: SKIPPING [2024-10-03T06:26:32.986Z] INFO: No Stack... [2024-10-03T06:26:33.252Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-03T06:26:34.207Z] INFO: Archiving Costs [Pipeline] sh [2024-10-03T06:26:34.847Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2024-10-03T06:26:34.847Z] + cut -d, -f6 [Pipeline] lock [2024-10-03T06:26:34.905Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1631-2-stack-cost] [2024-10-03T06:26:34.915Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1631-2-stack-cost] did not exist. Created. [2024-10-03T06:26:34.922Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1631-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-03T06:26:35.581Z] /w/workspace/device-sdk-go/2@tmp/durable-bdbed77b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-03T06:26:36.221Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-03T06:26:36.248Z] Warning: overwriting stash ‘stack-cost’ [2024-10-03T06:26:36.331Z] Stashed 1 file(s) [Pipeline] } [2024-10-03T06:26:36.342Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1631-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-03T06:26:36.368Z] $ docker stop --time=1 d68f45a889bef4bede0a918e7549bbfa3a08d449a4b6e37b3f97a91402d2dc36 [2024-10-03T06:26:37.898Z] $ docker rm -f --volumes d68f45a889bef4bede0a918e7549bbfa3a08d449a4b6e37b3f97a91402d2dc36 [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-03T06:26:38.455Z] provisioning config files... [2024-10-03T06:26:38.461Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp/config7107099958967814720tmp [Pipeline] { [Pipeline] sh [2024-10-03T06:26:38.760Z] + set +x [2024-10-03T06:26:38.760Z] + bash -s -- [2024-10-03T06:26:38.760Z] + curl -s https://codecov.io/bash [2024-10-03T06:26:38.760Z] [2024-10-03T06:26:38.760Z] _____ _ [2024-10-03T06:26:38.760Z] / ____| | | [2024-10-03T06:26:38.760Z] | | ___ __| | ___ ___ _____ __ [2024-10-03T06:26:38.760Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-03T06:26:38.760Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-03T06:26:38.760Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-03T06:26:38.760Z] Bash-1.0.6 [2024-10-03T06:26:38.760Z] [2024-10-03T06:26:38.760Z] [2024-10-03T06:26:38.760Z] ==> git version 2.25.1 found [2024-10-03T06:26:38.760Z] ==> 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-03T06:26:38.760Z] Release-Date: 2020-01-08 [2024-10-03T06:26:38.760Z] 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-03T06:26:38.760Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-03T06:26:38.760Z] ==> Jenkins CI detected. [2024-10-03T06:26:38.760Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1631 [2024-10-03T06:26:38.760Z] project root: . [2024-10-03T06:26:38.760Z] --> token set from env [2024-10-03T06:26:38.760Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-03T06:26:38.760Z] ==> Running gcov in . (disable via -X gcov) [2024-10-03T06:26:38.760Z] ==> Python coveragepy not found [2024-10-03T06:26:38.760Z] ==> Searching for coverage reports in: [2024-10-03T06:26:38.760Z] + . [2024-10-03T06:26:38.760Z] -> Found 1 reports [2024-10-03T06:26:38.760Z] ==> Detecting git/mercurial file structure [2024-10-03T06:26:38.760Z] ==> Reading reports [2024-10-03T06:26:38.760Z] + ./coverage.out bytes=465881 [2024-10-03T06:26:38.760Z] ==> Appending adjustments [2024-10-03T06:26:38.760Z] https://docs.codecov.io/docs/fixing-reports [2024-10-03T06:26:39.329Z] + Found adjustments [2024-10-03T06:26:39.329Z] ==> Gzipping contents [2024-10-03T06:26:39.329Z] 44K /tmp/codecov.2D1OXl.gz [2024-10-03T06:26:39.329Z] ==> Uploading reports [2024-10-03T06:26:39.329Z] url: https://codecov.io [2024-10-03T06:26:39.329Z] query: branch=PR-1631&commit=258bca78eb25b04e773289848cc1a979c5bb6597&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1631%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1631&job=&cmd_args= [2024-10-03T06:26:39.329Z] -> Pinging Codecov [2024-10-03T06:26:39.329Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1631&commit=258bca78eb25b04e773289848cc1a979c5bb6597&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1631%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1631&job=&cmd_args= [2024-10-03T06:26:39.329Z] -> Uploading to [2024-10-03T06:26:39.329Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/258bca78eb25b04e773289848cc1a979c5bb6597/ae7d4024-045f-4265-98ea-65ec8d4f7c75.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241003%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241003T062639Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=9840b36d27d1a2abadee715b414e7bfb65bc9461de5f1a434e20795f23115c29 [2024-10-03T06:26:39.329Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-03T06:26:39.329Z] Dload Upload Total Spent Left Speed [2024-10-03T06:26:39.589Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44517 0 0 100 44517 0 153k --:--:-- --:--:-- --:--:-- 153k [2024-10-03T06:26:39.589Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/258bca78eb25b04e773289848cc1a979c5bb6597 [Pipeline] } [2024-10-03T06:26:39.597Z] 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-03T06:26:40.447Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1631/archives ] [2024-10-03T06:26:40.447Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1631/archives [2024-10-03T06:26:40.447Z] total 16 [2024-10-03T06:26:40.447Z] drwxr-xr-x 3 root root 4096 Oct 3 06:06 . [2024-10-03T06:26:40.447Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 3 06:06 .. [2024-10-03T06:26:40.447Z] drwxr-xr-x 2 root root 4096 Oct 3 06:06 cost [2024-10-03T06:26:40.447Z] -rw-r--r-- 1 root root 86 Oct 3 06:06 cost.csv [2024-10-03T06:26:40.447Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1631/archives [2024-10-03T06:26:40.447Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1631/archives [2024-10-03T06:26:40.447Z] total 16 [2024-10-03T06:26:40.447Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 06:06 . [2024-10-03T06:26:40.447Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 3 06:06 .. [2024-10-03T06:26:40.447Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 06:06 cost [2024-10-03T06:26:40.447Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 3 06:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-03T06:26:40.773Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T06:26:41.744Z] ---> package-listing.sh [2024-10-03T06:26:41.744Z] ++ facter osfamily [2024-10-03T06:26:41.744Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-03T06:26:42.023Z] + OS_FAMILY=debian [2024-10-03T06:26:42.023Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1631 [2024-10-03T06:26:42.023Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-03T06:26:42.023Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-03T06:26:42.023Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-03T06:26:42.023Z] + PACKAGES=/tmp/packages_start.txt [2024-10-03T06:26:42.023Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1631 ']' [2024-10-03T06:26:42.023Z] + PACKAGES=/tmp/packages_end.txt [2024-10-03T06:26:42.023Z] + case "${OS_FAMILY}" in [2024-10-03T06:26:42.023Z] + dpkg -l [2024-10-03T06:26:42.023Z] + grep '^ii' [2024-10-03T06:26:42.023Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-03T06:26:42.023Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-03T06:26:42.023Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-03T06:26:42.023Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1631 ']' [2024-10-03T06:26:42.023Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1631/archives/ [2024-10-03T06:26:42.023Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1631/archives/ [Pipeline] echo [2024-10-03T06:26:42.035Z] 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-1631/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-03T06:26:42.316Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T06:26:42.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T06:26:42.893Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T06:26:42.966Z] prd-ubuntu20.04-docker-8c-8g-13199 does not seem to be running inside a container [2024-10-03T06:26:42.992Z] $ 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-1631/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-1631 -v /w/workspace/gexfoundry_device-sdk-go_PR-1631:/w/workspace/gexfoundry_device-sdk-go_PR-1631:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-03T06:26:43.204Z] $ docker top c66d34723713cc866b479eceb9927bbe49d9863a06d57cc11795a07941211c73 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T06:26:43.553Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-03T06:26:43.841Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-03T06:26:44.125Z] + ls /var/log/sa-host [2024-10-03T06:26:44.125Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T06:26:44.284Z] provisioning config files... [2024-10-03T06:26:44.292Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1631@tmp/config9806978226642988423tmp [Pipeline] { [Pipeline] echo [2024-10-03T06:26:44.307Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T06:26:44.590Z] ---> create-netrc.sh [Pipeline] } [2024-10-03T06:26:44.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-03T06:26:44.939Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-03T06:26:44.949Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T06:26:45.234Z] ---> sudo-logs.sh [2024-10-03T06:26:45.234Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-03T06:26:45.268Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T06:26:45.552Z] ---> job-cost.sh [2024-10-03T06:26:45.552Z] lf-activate-venv: SKIPPING [2024-10-03T06:26:45.552Z] DEBUG: total: 0.2199999988079071 [2024-10-03T06:26:45.552Z] INFO: Retrieving Stack Cost... [2024-10-03T06:26:45.812Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-03T06:26:46.380Z] INFO: Archiving Costs [Pipeline] echo [2024-10-03T06:26:46.394Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T06:26:46.677Z] ---> logs-deploy.sh [2024-10-03T06:26:46.677Z] lf-activate-venv: SKIPPING [2024-10-03T06:26:46.677Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1631/2 [2024-10-03T06:26:46.678Z] INFO: archiving workspace using pattern(s): [2024-10-03T06:26:47.615Z] Archives upload complete. [2024-10-03T06:26:47.615Z] INFO: archiving logs to Nexus