Pull request #1635 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 weichou1229 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from f85ffc98642122994081e9971f6e0a23730235ef+0ef7f81e2a588ab6c564a89cd743b8af47c7a923 (739046ceb70d123fd546033a9d377a1f81c12a79) 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-ssh13936084238618809919.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-ssh11592619696804131811.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-1635/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-1635/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3352078483763297785.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-ssh17100164230458960806.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-1635/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-1635/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8656545126209167174.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 Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-22030’ is offline Running on prd-ubuntu20.04-docker-8c-8g-22032 in /w/workspace/gexfoundry_device-sdk-go_PR-1635 [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-1635 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1635/head:refs/remotes/origin/PR-1635 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0ef7f81e2a588ab6c564a89cd743b8af47c7a923 into PR head commit f85ffc98642122994081e9971f6e0a23730235ef Merge succeeded, producing c0ba63a64645c098cd793905588bf587b9521e02 Checking out Revision c0ba63a64645c098cd793905588bf587b9521e02 (PR-1635) > git config core.sparsecheckout # timeout=10 > git checkout -f f85ffc98642122994081e9971f6e0a23730235ef # 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 0ef7f81e2a588ab6c564a89cd743b8af47c7a923 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c0ba63a64645c098cd793905588bf587b9521e02 # timeout=10 Commit message: "Merge commit '0ef7f81e2a588ab6c564a89cd743b8af47c7a923' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 65d4e748a67b9f51dc4f81626a29efba2f0b1977 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-07T09:16:47.215Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-07T09:16:47.297Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-07T09:16:47.328Z] ========================================================= [2024-10-07T09:16:47.328Z] EdgeX Global Pipelines Version Info [2024-10-07T09:16:47.328Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:16:48.050Z] ------------------- [2024-10-07T09:16:48.050Z] stable info: [2024-10-07T09:16:48.050Z] ------------------- [2024-10-07T09:16:48.050Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-07T09:16:48.050Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-07T09:16:48.050Z] Message: update stable to v1.0.265 [2024-10-07T09:16:48.622Z] ------------------- [2024-10-07T09:16:48.622Z] experimental info: [2024-10-07T09:16:48.622Z] ------------------- [2024-10-07T09:16:48.622Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-07T09:16:48.622Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-07T09:16:48.622Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-07T09:16:48.697Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-10-07T09:16:48.714Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-10-07T09:16:48.736Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-07T09:16:48.762Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-07T09:16:48.782Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-07T09:16:48.801Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-07T09:16:48.821Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-07T09:16:48.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-10-07T09:16:48.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-07T09:16:48.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-07T09:16:48.914Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-07T09:16:48.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-10-07T09:16:48.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-07T09:16:48.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-07T09:16:49.008Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-07T09:16:49.034Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-07T09:16:49.060Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-07T09:16:49.087Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-07T09:16:49.110Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-07T09:16:49.134Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-07T09:16:49.158Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-07T09:16:49.181Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-10-07T09:16:49.204Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-07T09:16:49.224Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-07T09:16:49.248Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-07T09:16:49.273Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-07T09:16:49.300Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-07T09:16:49.319Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1635 [Pipeline] echo [2024-10-07T09:16:49.339Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1635 [Pipeline] echo [2024-10-07T09:16:49.365Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1635 [Pipeline] echo [2024-10-07T09:16:49.384Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c0ba63a64645c098cd793905588bf587b9521e02 [Pipeline] echo [2024-10-07T09:16:49.408Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c0ba63a [Pipeline] echo [2024-10-07T09:16:49.432Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T09:16:49.492Z] provisioning config files... [2024-10-07T09:16:49.504Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp/config3487584180753843914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:16:49.844Z] ---> ****-login.sh [2024-10-07T09:16:49.844Z] nexus3.edgexfoundry.org:10001 [2024-10-07T09:16:49.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:16:50.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:16:50.106Z] Configure a credential helper to remove this warning. See [2024-10-07T09:16:50.106Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:16:50.106Z] [2024-10-07T09:16:50.106Z] Login Succeeded [2024-10-07T09:16:50.106Z] nexus3.edgexfoundry.org:10002 [2024-10-07T09:16:50.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:16:50.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:16:50.367Z] Configure a credential helper to remove this warning. See [2024-10-07T09:16:50.367Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:16:50.367Z] [2024-10-07T09:16:50.367Z] Login Succeeded [2024-10-07T09:16:50.367Z] nexus3.edgexfoundry.org:10003 [2024-10-07T09:16:50.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:16:50.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:16:50.367Z] Configure a credential helper to remove this warning. See [2024-10-07T09:16:50.367Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:16:50.367Z] [2024-10-07T09:16:50.367Z] Login Succeeded [2024-10-07T09:16:50.367Z] nexus3.edgexfoundry.org:10004 [2024-10-07T09:16:50.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:16:50.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:16:50.368Z] Configure a credential helper to remove this warning. See [2024-10-07T09:16:50.368Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:16:50.368Z] [2024-10-07T09:16:50.368Z] Login Succeeded [2024-10-07T09:16:50.368Z] ****.io [2024-10-07T09:16:50.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:16:50.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:16:50.629Z] Configure a credential helper to remove this warning. See [2024-10-07T09:16:50.629Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:16:50.629Z] [2024-10-07T09:16:50.629Z] Login Succeeded [2024-10-07T09:16:50.629Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T09:16:50.637Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-07T09:16:51.069Z] + git rev-list -1 --merges c0ba63a64645c098cd793905588bf587b9521e02~1..c0ba63a64645c098cd793905588bf587b9521e02 [Pipeline] echo [2024-10-07T09:16:51.098Z] -----------> git rev-list -1 --merges c0ba63a64645c098cd793905588bf587b9521e02~1..c0ba63a64645c098cd793905588bf587b9521e02 c0ba63a64645c098cd793905588bf587b9521e02 [2024-10-07T09:16:51.098Z] c0ba63a64645c098cd793905588bf587b9521e02 [false] [Pipeline] sh [2024-10-07T09:16:51.404Z] + git log --format=format:%s -1 c0ba63a64645c098cd793905588bf587b9521e02 [Pipeline] echo [2024-10-07T09:16:51.422Z] ========================================================= [2024-10-07T09:16:51.422Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-07T09:16:51.422Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-07T09:16:51.759Z] + git log --format=format:%s -1 c0ba63a64645c098cd793905588bf587b9521e02 [Pipeline] echo [2024-10-07T09:16:51.771Z] [semverPrep] GIT_COMMIT: c0ba63a64645c098cd793905588bf587b9521e02, Commit Message: Merge commit '0ef7f81e2a588ab6c564a89cd743b8af47c7a923' into HEAD [Pipeline] echo [2024-10-07T09:16:51.780Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-07T09:16:52.154Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-07T09:16:52.155Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-07T09:16:52.155Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-07T09:16:52.155Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-07T09:16:52.155Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-07T09:16:52.155Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-07T09:16:52.155Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:16:52.504Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T09:16:52.504Z] [2024-10-07T09:16:52.504Z] 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-07T09:16:52.808Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T09:16:52.808Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-07T09:16:52.808Z] b85a868b505f: Pulling fs layer [2024-10-07T09:16:52.808Z] e2be974225ed: Pulling fs layer [2024-10-07T09:16:52.808Z] 339a4e72a1f5: Pulling fs layer [2024-10-07T09:16:52.808Z] 988bab9f4d93: Pulling fs layer [2024-10-07T09:16:52.808Z] 1469e6f7b9e6: Pulling fs layer [2024-10-07T09:16:52.808Z] eaf3925da568: Pulling fs layer [2024-10-07T09:16:52.808Z] bab4dde63d76: Pulling fs layer [2024-10-07T09:16:52.808Z] bde34c3a00c8: Pulling fs layer [2024-10-07T09:16:52.808Z] b352a97aabf1: Pulling fs layer [2024-10-07T09:16:52.808Z] 4872d77fe225: Pulling fs layer [2024-10-07T09:16:52.808Z] 5851b861e8e6: Pulling fs layer [2024-10-07T09:16:52.808Z] 1469e6f7b9e6: Waiting [2024-10-07T09:16:52.808Z] eaf3925da568: Waiting [2024-10-07T09:16:52.808Z] 4872d77fe225: Waiting [2024-10-07T09:16:52.808Z] 988bab9f4d93: Waiting [2024-10-07T09:16:52.808Z] 5851b861e8e6: Waiting [2024-10-07T09:16:52.808Z] b352a97aabf1: Waiting [2024-10-07T09:16:52.809Z] bab4dde63d76: Waiting [2024-10-07T09:16:52.809Z] bde34c3a00c8: Waiting [2024-10-07T09:16:52.809Z] e2be974225ed: Download complete [2024-10-07T09:16:52.809Z] 988bab9f4d93: Download complete [2024-10-07T09:16:52.809Z] 1469e6f7b9e6: Verifying Checksum [2024-10-07T09:16:52.809Z] 1469e6f7b9e6: Download complete [2024-10-07T09:16:52.809Z] eaf3925da568: Download complete [2024-10-07T09:16:52.809Z] 339a4e72a1f5: Verifying Checksum [2024-10-07T09:16:52.809Z] 339a4e72a1f5: Download complete [2024-10-07T09:16:53.068Z] bde34c3a00c8: Download complete [2024-10-07T09:16:53.068Z] b352a97aabf1: Download complete [2024-10-07T09:16:53.068Z] 4872d77fe225: Verifying Checksum [2024-10-07T09:16:53.068Z] 4872d77fe225: Download complete [2024-10-07T09:16:53.068Z] 5851b861e8e6: Verifying Checksum [2024-10-07T09:16:53.068Z] 5851b861e8e6: Download complete [2024-10-07T09:16:53.068Z] b85a868b505f: Verifying Checksum [2024-10-07T09:16:53.068Z] b85a868b505f: Download complete [2024-10-07T09:16:53.327Z] bab4dde63d76: Verifying Checksum [2024-10-07T09:16:53.327Z] bab4dde63d76: Download complete [2024-10-07T09:16:54.264Z] b85a868b505f: Pull complete [2024-10-07T09:16:54.264Z] e2be974225ed: Pull complete [2024-10-07T09:16:54.832Z] 339a4e72a1f5: Pull complete [2024-10-07T09:16:54.832Z] 988bab9f4d93: Pull complete [2024-10-07T09:16:55.091Z] 1469e6f7b9e6: Pull complete [2024-10-07T09:16:55.091Z] eaf3925da568: Pull complete [2024-10-07T09:16:56.995Z] bab4dde63d76: Pull complete [2024-10-07T09:16:56.995Z] bde34c3a00c8: Pull complete [2024-10-07T09:16:56.995Z] b352a97aabf1: Pull complete [2024-10-07T09:16:56.995Z] 4872d77fe225: Pull complete [2024-10-07T09:16:56.995Z] 5851b861e8e6: Pull complete [2024-10-07T09:16:56.995Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-07T09:16:56.995Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-07T09:16:56.995Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T09:16:57.135Z] prd-ubuntu20.04-docker-8c-8g-22032 does not seem to be running inside a container [2024-10-07T09:16:57.167Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1635 -v /w/workspace/gexfoundry_device-sdk-go_PR-1635:/w/workspace/gexfoundry_device-sdk-go_PR-1635:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1635@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-07T09:17:00.863Z] $ docker top 1c843f4c0d80eb4a92f82278a581e26443dc1b22c831ef67646a49dcf706c16a -eo pid,comm [2024-10-07T09:17:00.918Z] 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-07T09:17:00.918Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-07T09:17:00.971Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-07T09:17:00.971Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-07T09:17:01.083Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-07T09:17:01.085Z] $ docker exec 1c843f4c0d80eb4a92f82278a581e26443dc1b22c831ef67646a49dcf706c16a ssh-agent [2024-10-07T09:17:01.182Z] SSH_AUTH_SOCK=/tmp/ssh-q0bHsAbR09jK/agent.33 [2024-10-07T09:17:01.182Z] SSH_AGENT_PID=39 [2024-10-07T09:17:01.190Z] Running ssh-add (command line suppressed) [2024-10-07T09:17:01.301Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp/private_key_5532885394339191908.key (/w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp/private_key_5532885394339191908.key) [2024-10-07T09:17:01.313Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-07T09:17:01.600Z] + git tag --points-at HEAD [Pipeline] } [2024-10-07T09:17:01.608Z] $ docker exec --env ******** --env ******** 1c843f4c0d80eb4a92f82278a581e26443dc1b22c831ef67646a49dcf706c16a ssh-agent -k [2024-10-07T09:17:01.708Z] unset SSH_AUTH_SOCK; [2024-10-07T09:17:01.708Z] unset SSH_AGENT_PID; [2024-10-07T09:17:01.708Z] echo Agent pid 39 killed; [2024-10-07T09:17:01.719Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-07T09:17:01.765Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-07T09:17:01.765Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-07T09:17:01.874Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-07T09:17:01.876Z] $ docker exec 1c843f4c0d80eb4a92f82278a581e26443dc1b22c831ef67646a49dcf706c16a ssh-agent [2024-10-07T09:17:01.984Z] SSH_AUTH_SOCK=/tmp/ssh-ndQ9EdPPYHR2/agent.72 [2024-10-07T09:17:01.984Z] SSH_AGENT_PID=78 [2024-10-07T09:17:01.989Z] Running ssh-add (command line suppressed) [2024-10-07T09:17:02.089Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp/private_key_14954655691921251761.key (/w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp/private_key_14954655691921251761.key) [2024-10-07T09:17:02.103Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-07T09:17:02.400Z] + git semver init [2024-10-07T09:17:02.660Z] 2024-10-07 09:17:02,589 [run_init] DEBUG init version:0.0.0 force:False [2024-10-07T09:17:02.660Z] 2024-10-07 09:17:02,590 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1635/.semver [2024-10-07T09:17:02.660Z] 2024-10-07 09:17:02,590 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1635/.semver [2024-10-07T09:17:02.660Z] 2024-10-07 09:17:02,590 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1635/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1635, universal_newlines=False, shell=None, istream=None) [2024-10-07T09:17:05.202Z] 2024-10-07 09:17:04,647 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1635/.git/info/exclude [2024-10-07T09:17:05.202Z] 2024-10-07 09:17:04,648 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1635/.semver/PR-1635 with force:False [2024-10-07T09:17:05.202Z] 2024-10-07 09:17:04,648 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1635/.semver/PR-1635 [2024-10-07T09:17:05.202Z] 2024-10-07 09:17:04,653 [execute] INFO git cat-file --batch-check [2024-10-07T09:17:05.202Z] 2024-10-07 09:17:04,654 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1635/.semver, universal_newlines=False, shell=None, istream=) [2024-10-07T09:17:05.202Z] 2024-10-07 09:17:04,660 [execute] INFO git cat-file --batch [2024-10-07T09:17:05.202Z] 2024-10-07 09:17:04,660 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1635/.semver, universal_newlines=False, shell=None, istream=) [2024-10-07T09:17:05.202Z] 2024-10-07 09:17:04,666 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1635/.semver/PR-1635 [2024-10-07T09:17:05.202Z] 0.0.0 [Pipeline] } [2024-10-07T09:17:05.212Z] $ docker exec --env ******** --env ******** 1c843f4c0d80eb4a92f82278a581e26443dc1b22c831ef67646a49dcf706c16a ssh-agent -k [2024-10-07T09:17:05.319Z] unset SSH_AUTH_SOCK; [2024-10-07T09:17:05.320Z] unset SSH_AGENT_PID; [2024-10-07T09:17:05.320Z] echo Agent pid 78 killed; [2024-10-07T09:17:05.331Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-07T09:17:05.644Z] + git semver [Pipeline] } [2024-10-07T09:17:05.917Z] $ docker stop --time=1 1c843f4c0d80eb4a92f82278a581e26443dc1b22c831ef67646a49dcf706c16a [2024-10-07T09:17:07.244Z] $ docker rm -f --volumes 1c843f4c0d80eb4a92f82278a581e26443dc1b22c831ef67646a49dcf706c16a [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-07T09:17:07.588Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-07T09:17:07.820Z] Stashed 1 file(s) [Pipeline] echo [2024-10-07T09:17:07.825Z] [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-07T09:17:08.034Z] provisioning config files... [2024-10-07T09:17:08.043Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp/config7602407579441978163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:17:08.340Z] ---> ****-login.sh [2024-10-07T09:17:08.340Z] nexus3.edgexfoundry.org:10001 [2024-10-07T09:17:08.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:17:08.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:17:08.341Z] Configure a credential helper to remove this warning. See [2024-10-07T09:17:08.341Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:17:08.341Z] [2024-10-07T09:17:08.341Z] Login Succeeded [2024-10-07T09:17:08.341Z] nexus3.edgexfoundry.org:10002 [2024-10-07T09:17:08.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:17:08.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:17:08.341Z] Configure a credential helper to remove this warning. See [2024-10-07T09:17:08.341Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:17:08.341Z] [2024-10-07T09:17:08.341Z] Login Succeeded [2024-10-07T09:17:08.341Z] nexus3.edgexfoundry.org:10003 [2024-10-07T09:17:08.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:17:08.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:17:08.600Z] Configure a credential helper to remove this warning. See [2024-10-07T09:17:08.600Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:17:08.600Z] [2024-10-07T09:17:08.600Z] Login Succeeded [2024-10-07T09:17:08.600Z] nexus3.edgexfoundry.org:10004 [2024-10-07T09:17:08.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:17:08.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:17:08.601Z] Configure a credential helper to remove this warning. See [2024-10-07T09:17:08.601Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:17:08.601Z] [2024-10-07T09:17:08.601Z] Login Succeeded [2024-10-07T09:17:08.601Z] ****.io [2024-10-07T09:17:08.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:17:08.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:17:08.861Z] Configure a credential helper to remove this warning. See [2024-10-07T09:17:08.861Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:17:08.861Z] [2024-10-07T09:17:08.861Z] Login Succeeded [2024-10-07T09:17:08.861Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T09:17:08.869Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-07T09:17:08.972Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T09:17:08.995Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T09:17:09.014Z] ========================================================= [2024-10-07T09:17:09.014Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-07T09:17:09.014Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:17:09.352Z] + 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-07T09:17:09.352Z] Sending build context to Docker daemon 25.54MB [2024-10-07T09:17:09.352Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T09:17:09.352Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-07T09:17:10.379Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-07T09:17:10.379Z] 43c4264eed91: Pulling fs layer [2024-10-07T09:17:10.379Z] 4cc291be95ef: Pulling fs layer [2024-10-07T09:17:10.379Z] 2ac1f1163629: Pulling fs layer [2024-10-07T09:17:10.379Z] 5c3c966382ef: Pulling fs layer [2024-10-07T09:17:10.379Z] 4f4fb700ef54: Pulling fs layer [2024-10-07T09:17:10.379Z] 5d5c8e513c77: Pulling fs layer [2024-10-07T09:17:10.379Z] 9f66e0745190: Pulling fs layer [2024-10-07T09:17:10.379Z] f49a43e4bbc0: Pulling fs layer [2024-10-07T09:17:10.379Z] 561ebcabdf7f: Pulling fs layer [2024-10-07T09:17:10.379Z] f49a43e4bbc0: Waiting [2024-10-07T09:17:10.379Z] 5d5c8e513c77: Waiting [2024-10-07T09:17:10.379Z] 9f66e0745190: Waiting [2024-10-07T09:17:10.379Z] 561ebcabdf7f: Waiting [2024-10-07T09:17:10.379Z] 5c3c966382ef: Waiting [2024-10-07T09:17:10.379Z] 4f4fb700ef54: Waiting [2024-10-07T09:17:10.379Z] 4cc291be95ef: Download complete [2024-10-07T09:17:10.379Z] 5c3c966382ef: Download complete [2024-10-07T09:17:10.642Z] 4f4fb700ef54: Download complete [2024-10-07T09:17:10.642Z] 5d5c8e513c77: Download complete [2024-10-07T09:17:10.642Z] 43c4264eed91: Download complete [2024-10-07T09:17:10.642Z] 9f66e0745190: Verifying Checksum [2024-10-07T09:17:10.642Z] 9f66e0745190: Download complete [2024-10-07T09:17:10.642Z] 43c4264eed91: Pull complete [2024-10-07T09:17:11.709Z] 4cc291be95ef: Pull complete [2024-10-07T09:17:11.968Z] 561ebcabdf7f: Download complete [2024-10-07T09:17:12.225Z] 2ac1f1163629: Verifying Checksum [2024-10-07T09:17:12.226Z] 2ac1f1163629: Download complete [2024-10-07T09:17:12.226Z] f49a43e4bbc0: Verifying Checksum [2024-10-07T09:17:12.226Z] f49a43e4bbc0: Download complete [2024-10-07T09:17:15.510Z] 2ac1f1163629: Pull complete [2024-10-07T09:17:15.510Z] 5c3c966382ef: Pull complete [2024-10-07T09:17:15.510Z] 4f4fb700ef54: Pull complete [2024-10-07T09:17:15.510Z] 5d5c8e513c77: Pull complete [2024-10-07T09:17:15.769Z] 9f66e0745190: Pull complete [2024-10-07T09:17:18.300Z] f49a43e4bbc0: Pull complete [2024-10-07T09:17:18.300Z] 561ebcabdf7f: Pull complete [2024-10-07T09:17:18.561Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-07T09:17:18.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-07T09:17:18.561Z] ---> 3a752c3f9dda [2024-10-07T09:17:18.561Z] Step 3/10 : ARG MAKE=make build [2024-10-07T09:17:22.975Z] Still waiting to schedule task [2024-10-07T09:17:22.976Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-22031’ is offline [2024-10-07T09:17:23.878Z] ---> Running in ab08307704ce [2024-10-07T09:17:23.878Z] Removing intermediate container ab08307704ce [2024-10-07T09:17:23.878Z] ---> bb7c11ab92fb [2024-10-07T09:17:23.878Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-07T09:17:23.878Z] ---> Running in a5aea1d3a1c1 [2024-10-07T09:17:23.878Z] Removing intermediate container a5aea1d3a1c1 [2024-10-07T09:17:23.878Z] ---> c9ca628afc0b [2024-10-07T09:17:23.878Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-07T09:17:23.878Z] ---> Running in a42e282b0f91 [2024-10-07T09:17:23.878Z] Removing intermediate container a42e282b0f91 [2024-10-07T09:17:23.878Z] ---> aad300af5938 [2024-10-07T09:17:23.878Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-07T09:17:23.878Z] ---> Running in 8f775236ea3c [2024-10-07T09:17:23.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T09:17:23.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T09:17:24.138Z] OK: 246 MiB in 54 packages [2024-10-07T09:17:24.400Z] Removing intermediate container 8f775236ea3c [2024-10-07T09:17:24.400Z] ---> 105a9245a11a [2024-10-07T09:17:24.400Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-07T09:17:24.660Z] ---> 6b87a996d81b [2024-10-07T09:17:24.660Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T09:17:24.660Z] ---> Running in 431975176c73 [2024-10-07T09:18:20.935Z] Removing intermediate container 431975176c73 [2024-10-07T09:18:20.935Z] ---> e39dbf50df85 [2024-10-07T09:18:20.935Z] Step 9/10 : COPY . . [2024-10-07T09:18:20.935Z] ---> 51841776f49c [2024-10-07T09:18:20.935Z] Step 10/10 : RUN ${MAKE} [2024-10-07T09:18:20.935Z] ---> Running in b72075dde725 [2024-10-07T09:18:20.935Z] noop [2024-10-07T09:18:20.935Z] Removing intermediate container b72075dde725 [2024-10-07T09:18:20.935Z] ---> 8dee1e0031b6 [2024-10-07T09:18:20.935Z] Successfully built 8dee1e0031b6 [2024-10-07T09:18:20.935Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:18:21.257Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-07T09:18:21.257Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T09:18:21.332Z] prd-ubuntu20.04-docker-8c-8g-22032 does not seem to be running inside a container [2024-10-07T09:18:21.356Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1635 -v /w/workspace/gexfoundry_device-sdk-go_PR-1635:/w/workspace/gexfoundry_device-sdk-go_PR-1635:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1635@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 ******** -e ******** ci-base-image-x86_64 cat [2024-10-07T09:18:21.679Z] $ docker top 9d4b51ba4c3c19e63c5a6d61047e1a9d5db0b669ca23d36acf8a3f835f8472bd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T09:18:22.029Z] + go version [2024-10-07T09:18:22.029Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-07T09:18:22.039Z] $ docker stop --time=1 9d4b51ba4c3c19e63c5a6d61047e1a9d5db0b669ca23d36acf8a3f835f8472bd [2024-10-07T09:18:23.276Z] $ docker rm -f --volumes 9d4b51ba4c3c19e63c5a6d61047e1a9d5db0b669ca23d36acf8a3f835f8472bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:18:23.711Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-07T09:18:23.712Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T09:18:23.795Z] prd-ubuntu20.04-docker-8c-8g-22032 does not seem to be running inside a container [2024-10-07T09:18:23.823Z] $ 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-1635 -v /w/workspace/gexfoundry_device-sdk-go_PR-1635:/w/workspace/gexfoundry_device-sdk-go_PR-1635:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1635@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 ******** -e ******** ci-base-image-x86_64 cat [2024-10-07T09:18:24.131Z] $ docker top a7a4e4b9257a4c92a3d765fff39d708d7e1761f1d9b6039475c5927709e214bb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T09:18:24.492Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1635 [Pipeline] fileExists [Pipeline] sh [2024-10-07T09:18:24.800Z] + make test [2024-10-07T09:18:24.800Z] go test -race -coverprofile=coverage.out ./... [2024-10-07T09:18:32.917Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-07T09:18:59.690Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-07T09:18:59.690Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-07T09:18:59.690Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-07T09:18:59.690Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-07T09:18:59.690Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-07T09:18:59.690Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-07T09:18:59.690Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-07T09:18:59.690Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.025s coverage: 26.0% of statements [2024-10-07T09:18:59.690Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.031s coverage: 79.4% of statements [2024-10-07T09:18:59.690Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.041s coverage: 86.0% of statements [2024-10-07T09:18:59.690Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-07T09:18:59.690Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-07T09:18:59.690Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-07T09:18:59.690Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-07T09:19:00.256Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.083s coverage: 45.2% of statements [2024-10-07T09:19:01.630Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-07T09:19:03.533Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.041s coverage: 14.1% of statements [2024-10-07T09:19:03.533Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.184s coverage: 44.6% of statements [2024-10-07T09:19:03.533Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.053s coverage: 68.3% of statements [2024-10-07T09:19:03.533Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.103s coverage: 88.3% of statements [2024-10-07T09:19:03.533Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.051s coverage: 5.3% of statements [2024-10-07T09:19:09.696Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22033 in /w/workspace/gexfoundry_device-sdk-go_PR-1635 [Pipeline] { [Pipeline] ws [2024-10-07T09:19:09.719Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2024-10-07T09:19:12.788Z] The recommended git tool is: git [2024-10-07T09:19:19.597Z] using credential edgex-jenkins-ssh [2024-10-07T09:19:19.620Z] Cloning the remote Git repository [2024-10-07T09:19:19.669Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-10-07T09:19:19.783Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2024-10-07T09:19:20.008Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-07T09:19:20.010Z] > git --version # timeout=10 [2024-10-07T09:19:20.044Z] > git --version # 'git version 2.25.1' [2024-10-07T09:19:20.046Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T09:19:20.323Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-07T09:19:24.054Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-07T09:19:24.093Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-07T09:19:25.806Z] Merging remotes/origin/main commit 0ef7f81e2a588ab6c564a89cd743b8af47c7a923 into PR head commit f85ffc98642122994081e9971f6e0a23730235ef [2024-10-07T09:19:26.169Z] Merge succeeded, producing 544ec85d213ddf3933dbf69ac771e53e49b62db3 [2024-10-07T09:19:26.169Z] Checking out Revision 544ec85d213ddf3933dbf69ac771e53e49b62db3 (PR-1635) [2024-10-07T09:19:25.085Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-07T09:19:25.122Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-07T09:19:25.122Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T09:19:25.144Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1635/head:refs/remotes/origin/PR-1635 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-07T09:19:25.822Z] > git config core.sparsecheckout # timeout=10 [2024-10-07T09:19:25.882Z] > git checkout -f f85ffc98642122994081e9971f6e0a23730235ef # timeout=10 [2024-10-07T09:19:26.000Z] > git remote # timeout=10 [2024-10-07T09:19:26.015Z] > git config --get remote.origin.url # timeout=10 [2024-10-07T09:19:26.029Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-07T09:19:26.046Z] > git merge 0ef7f81e2a588ab6c564a89cd743b8af47c7a923 # timeout=10 [2024-10-07T09:19:26.150Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-07T09:19:26.175Z] > git config core.sparsecheckout # timeout=10 [2024-10-07T09:19:26.187Z] > git checkout -f 544ec85d213ddf3933dbf69ac771e53e49b62db3 # timeout=10 [2024-10-07T09:19:29.710Z] Commit message: "Merge commit '0ef7f81e2a588ab6c564a89cd743b8af47c7a923' into HEAD" [2024-10-07T09:19:29.733Z] First time build. Skipping changelog. [2024-10-07T09:19:29.716Z] > git rev-list --no-walk 65d4e748a67b9f51dc4f81626a29efba2f0b1977 # timeout=10 [2024-10-07T09:19:30.077Z] GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-07T09:19:31.252Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-07T09:19:31.252Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-07T09:19:31.252Z] Dload Upload Total Spent Left Speed [2024-10-07T09:19:31.252Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [2024-10-07T09:19:31.580Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-07T09:19:31.906Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2024-10-07T09:19:31.906Z] sudo tee /etc/docker/daemon.new [2024-10-07T09:19:31.906Z] { [2024-10-07T09:19:31.906Z] "registry-mirrors": [ [2024-10-07T09:19:31.906Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-07T09:19:31.906Z] ], [2024-10-07T09:19:31.906Z] "bip": "10.250.0.254/24", [2024-10-07T09:19:31.906Z] "hosts": [ [2024-10-07T09:19:31.906Z] "tcp://0.0.0.0:5555", [2024-10-07T09:19:31.906Z] "unix:///var/run/docker.sock" [2024-10-07T09:19:31.906Z] ], [2024-10-07T09:19:31.906Z] "mtu": 1458, [2024-10-07T09:19:31.906Z] "selinux-enabled": true, [2024-10-07T09:19:31.906Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-07T09:19:31.906Z] } [Pipeline] sh [2024-10-07T09:19:32.247Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-07T09:19:32.573Z] + sudo service docker restart [2024-10-07T09:19:35.348Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-07T09:19:35.349Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-07T09:19:35.349Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-07T09:19:35.363Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-07T09:19:35.385Z] $ docker stop --time=1 a7a4e4b9257a4c92a3d765fff39d708d7e1761f1d9b6039475c5927709e214bb [2024-10-07T09:19:40.719Z] $ docker rm -f --volumes a7a4e4b9257a4c92a3d765fff39d708d7e1761f1d9b6039475c5927709e214bb [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-07T09:19:41.379Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-07T09:19:41.471Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-07T09:19:41.944Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-07T09:19:42.229Z] + ls -al . [2024-10-07T09:19:42.229Z] total 712 [2024-10-07T09:19:42.229Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 09:18 . [2024-10-07T09:19:42.229Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:16 .. [2024-10-07T09:19:42.229Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 7 09:16 .dockerignore [2024-10-07T09:19:42.229Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 09:19 .git [2024-10-07T09:19:42.229Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:16 .github [2024-10-07T09:19:42.229Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 7 09:16 .gitignore [2024-10-07T09:19:42.229Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 7 09:16 .golangci.yml [2024-10-07T09:19:42.229Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 09:17 .semver [2024-10-07T09:19:42.229Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 7 09:16 CHANGELOG.md [2024-10-07T09:19:42.229Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 09:16 GOVERNANCE.md [2024-10-07T09:19:42.229Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 7 09:16 Jenkinsfile [2024-10-07T09:19:42.229Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 7 09:16 LICENSE [2024-10-07T09:19:42.229Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 7 09:16 Makefile [2024-10-07T09:19:42.229Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 7 09:16 OWNERS.md [2024-10-07T09:19:42.229Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 7 09:16 README.md [2024-10-07T09:19:42.229Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 09:17 VERSION [2024-10-07T09:19:42.229Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 09:16 bin [2024-10-07T09:19:42.229Z] -rw-r--r-- 1 jenkins jenkins 466603 Oct 7 09:19 coverage.out [2024-10-07T09:19:42.229Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 7 09:16 example [2024-10-07T09:19:42.229Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 7 09:16 go.mod [2024-10-07T09:19:42.229Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 7 09:16 go.sum [2024-10-07T09:19:42.230Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 7 09:16 internal [2024-10-07T09:19:42.230Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:16 openapi [2024-10-07T09:19:42.230Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 09:16 pkg [2024-10-07T09:19:42.230Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:16 snap [2024-10-07T09:19:42.230Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 7 09:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:19:42.546Z] + 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=c0ba63a64645c098cd793905588bf587b9521e02 --label arch=amd64 --label version=0.0.0 . [2024-10-07T09:19:42.547Z] Sending build context to Docker daemon 26.01MB [2024-10-07T09:19:42.547Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T09:19:42.547Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-07T09:19:42.547Z] ---> 8dee1e0031b6 [2024-10-07T09:19:42.547Z] Step 3/24 : ARG MAKE=make build [2024-10-07T09:19:43.117Z] ---> Running in dc990c4a41ad [2024-10-07T09:19:43.117Z] Removing intermediate container dc990c4a41ad [2024-10-07T09:19:43.117Z] ---> 3721247f5c3e [2024-10-07T09:19:43.117Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-07T09:19:43.117Z] ---> Running in c432efe8ad32 [2024-10-07T09:19:43.117Z] Removing intermediate container c432efe8ad32 [2024-10-07T09:19:43.117Z] ---> 6e2c1fbf4775 [2024-10-07T09:19:43.117Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-07T09:19:43.117Z] ---> Running in 116a353012e7 [2024-10-07T09:19:43.377Z] Removing intermediate container 116a353012e7 [2024-10-07T09:19:43.377Z] ---> c0cd094a6ca3 [2024-10-07T09:19:43.377Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-07T09:19:43.377Z] ---> Running in f71e97c54a0e [2024-10-07T09:19:43.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T09:19:43.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T09:19:44.209Z] OK: 246 MiB in 54 packages [2024-10-07T09:19:44.470Z] Removing intermediate container f71e97c54a0e [2024-10-07T09:19:44.470Z] ---> fc94ec985fc2 [2024-10-07T09:19:44.470Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-07T09:19:44.470Z] ---> 8d4f638fbf60 [2024-10-07T09:19:44.470Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T09:19:44.729Z] ---> Running in fcd0464db96e [2024-10-07T09:19:45.299Z] Removing intermediate container fcd0464db96e [2024-10-07T09:19:45.299Z] ---> 4ab8c2aad858 [2024-10-07T09:19:45.299Z] Step 9/24 : COPY . . [2024-10-07T09:19:46.235Z] ---> 4d2a8b8d3ed7 [2024-10-07T09:19:46.235Z] Step 10/24 : RUN ${MAKE} [2024-10-07T09:19:46.235Z] ---> Running in a8adbe3fac32 [2024-10-07T09:19:46.495Z] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T09:19:50.847Z] provisioning config files... [2024-10-07T09:19:50.874Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config11403181290791766298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:19:51.311Z] ---> ****-login.sh [2024-10-07T09:19:51.311Z] nexus3.edgexfoundry.org:10001 [2024-10-07T09:19:51.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:19:51.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:19:51.846Z] Configure a credential helper to remove this warning. See [2024-10-07T09:19:51.846Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:19:51.846Z] [2024-10-07T09:19:51.846Z] Login Succeeded [2024-10-07T09:19:51.846Z] nexus3.edgexfoundry.org:10002 [2024-10-07T09:19:52.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:19:52.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:19:52.117Z] Configure a credential helper to remove this warning. See [2024-10-07T09:19:52.117Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:19:52.117Z] [2024-10-07T09:19:52.117Z] Login Succeeded [2024-10-07T09:19:52.117Z] nexus3.edgexfoundry.org:10003 [2024-10-07T09:19:52.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:19:52.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:19:52.384Z] Configure a credential helper to remove this warning. See [2024-10-07T09:19:52.384Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:19:52.384Z] [2024-10-07T09:19:52.384Z] Login Succeeded [2024-10-07T09:19:52.384Z] nexus3.edgexfoundry.org:10004 [2024-10-07T09:19:52.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:19:52.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:19:52.920Z] Configure a credential helper to remove this warning. See [2024-10-07T09:19:52.920Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:19:52.920Z] [2024-10-07T09:19:52.920Z] Login Succeeded [2024-10-07T09:19:52.920Z] ****.io [2024-10-07T09:19:52.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-07T09:19:53.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-07T09:19:53.191Z] Configure a credential helper to remove this warning. See [2024-10-07T09:19:53.192Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-07T09:19:53.192Z] [2024-10-07T09:19:53.192Z] Login Succeeded [2024-10-07T09:19:53.192Z] ---> ****-login.sh ends [Pipeline] } [2024-10-07T09:19:53.205Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-07T09:19:53.492Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T09:19:53.520Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-07T09:19:53.535Z] ========================================================= [2024-10-07T09:19:53.535Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-07T09:19:53.535Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:19:53.886Z] + 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-07T09:19:54.485Z] Sending build context to Docker daemon 13.28MB [2024-10-07T09:19:54.485Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T09:19:54.485Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-07T09:19:54.485Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-07T09:19:54.485Z] cf04c63912e1: Pulling fs layer [2024-10-07T09:19:54.485Z] 55b35a11ae5e: Pulling fs layer [2024-10-07T09:19:54.485Z] a37a00ec5f00: Pulling fs layer [2024-10-07T09:19:54.485Z] 50b3750afda1: Pulling fs layer [2024-10-07T09:19:54.485Z] 4f4fb700ef54: Pulling fs layer [2024-10-07T09:19:54.485Z] 80978eb59214: Pulling fs layer [2024-10-07T09:19:54.485Z] c9f46d7d2bd2: Pulling fs layer [2024-10-07T09:19:54.485Z] c5a475d317c9: Pulling fs layer [2024-10-07T09:19:54.485Z] 4f4fb700ef54: Waiting [2024-10-07T09:19:54.485Z] 80978eb59214: Waiting [2024-10-07T09:19:54.485Z] 50b3750afda1: Waiting [2024-10-07T09:19:54.485Z] c5a475d317c9: Waiting [2024-10-07T09:19:54.485Z] c9f46d7d2bd2: Waiting [2024-10-07T09:19:54.485Z] 55b35a11ae5e: Verifying Checksum [2024-10-07T09:19:54.485Z] 55b35a11ae5e: Download complete [2024-10-07T09:19:54.752Z] 50b3750afda1: Verifying Checksum [2024-10-07T09:19:54.752Z] 50b3750afda1: Download complete [2024-10-07T09:19:54.752Z] 4f4fb700ef54: Verifying Checksum [2024-10-07T09:19:54.752Z] 4f4fb700ef54: Download complete [2024-10-07T09:19:54.752Z] 80978eb59214: Verifying Checksum [2024-10-07T09:19:54.752Z] 80978eb59214: Download complete [2024-10-07T09:19:54.752Z] cf04c63912e1: Verifying Checksum [2024-10-07T09:19:54.752Z] cf04c63912e1: Download complete [2024-10-07T09:19:55.020Z] c5a475d317c9: Verifying Checksum [2024-10-07T09:19:55.020Z] c5a475d317c9: Download complete [2024-10-07T09:19:55.627Z] cf04c63912e1: Pull complete [2024-10-07T09:19:56.224Z] 55b35a11ae5e: Pull complete [2024-10-07T09:19:56.834Z] a37a00ec5f00: Verifying Checksum [2024-10-07T09:19:56.834Z] a37a00ec5f00: Download complete [2024-10-07T09:19:57.419Z] c9f46d7d2bd2: Verifying Checksum [2024-10-07T09:19:57.419Z] c9f46d7d2bd2: Download complete [2024-10-07T09:20:09.755Z] a37a00ec5f00: Pull complete [2024-10-07T09:20:10.025Z] 50b3750afda1: Pull complete [2024-10-07T09:20:10.295Z] 4f4fb700ef54: Pull complete [2024-10-07T09:20:10.567Z] 80978eb59214: Pull complete [2024-10-07T09:20:18.570Z] Removing intermediate container a8adbe3fac32 [2024-10-07T09:20:18.570Z] ---> 9f2dd66b2470 [2024-10-07T09:20:18.570Z] Step 11/24 : FROM alpine:3.20 [2024-10-07T09:20:18.570Z] 3.20: Pulling from library/alpine [2024-10-07T09:20:18.570Z] 43c4264eed91: Already exists [2024-10-07T09:20:18.570Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-07T09:20:18.570Z] Status: Downloaded newer image for alpine:3.20 [2024-10-07T09:20:18.570Z] ---> 91ef0af61f39 [2024-10-07T09:20:18.570Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-07T09:20:18.570Z] ---> Running in 781ed0c35c94 [2024-10-07T09:20:18.570Z] Removing intermediate container 781ed0c35c94 [2024-10-07T09:20:18.570Z] ---> 9bd6c902a5fd [2024-10-07T09:20:18.570Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-07T09:20:18.570Z] ---> Running in 3b399b15c8fa [2024-10-07T09:20:18.785Z] c9f46d7d2bd2: Pull complete [2024-10-07T09:20:18.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T09:20:18.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T09:20:19.397Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-07T09:20:19.397Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T09:20:19.397Z] OK: 8 MiB in 15 packages [2024-10-07T09:20:19.658Z] Removing intermediate container 3b399b15c8fa [2024-10-07T09:20:19.658Z] ---> f0b5c28cd5e7 [2024-10-07T09:20:19.658Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-07T09:20:19.658Z] ---> Running in dadeaa99f568 [2024-10-07T09:20:19.917Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T09:20:19.917Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T09:20:20.176Z] Upgrading critical system libraries and apk-tools: [2024-10-07T09:20:20.176Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-07T09:20:20.176Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T09:20:20.176Z] Continuing the upgrade transaction with new apk-tools: [2024-10-07T09:20:20.176Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-07T09:20:20.206Z] c5a475d317c9: Pull complete [2024-10-07T09:20:20.206Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-07T09:20:20.206Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-07T09:20:20.206Z] ---> be29e6b0f0d4 [2024-10-07T09:20:20.206Z] Step 3/10 : ARG MAKE=make build [2024-10-07T09:20:20.435Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-07T09:20:20.435Z] OK: 8 MiB in 15 packages [2024-10-07T09:20:21.002Z] Removing intermediate container dadeaa99f568 [2024-10-07T09:20:21.002Z] ---> 8ed82b24a43f [2024-10-07T09:20:21.002Z] Step 15/24 : WORKDIR / [2024-10-07T09:20:21.002Z] ---> Running in 61ed38c5851b [2024-10-07T09:20:21.002Z] Removing intermediate container 61ed38c5851b [2024-10-07T09:20:21.002Z] ---> a0d6f5dac9b5 [2024-10-07T09:20:21.002Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-07T09:20:21.002Z] ---> 8fe18b1e0534 [2024-10-07T09:20:21.002Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-07T09:20:22.162Z] ---> Running in 1001e5c16ba9 [2024-10-07T09:20:22.430Z] Removing intermediate container 1001e5c16ba9 [2024-10-07T09:20:22.430Z] ---> 1ad272f4a328 [2024-10-07T09:20:22.430Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-07T09:20:22.430Z] ---> Running in 0fd3de420c62 [2024-10-07T09:20:22.711Z] Removing intermediate container 0fd3de420c62 [2024-10-07T09:20:22.711Z] ---> 9d14808fa926 [2024-10-07T09:20:22.711Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-07T09:20:22.711Z] ---> Running in 3e4c34d605db [2024-10-07T09:20:22.913Z] ---> 222e0d95dee5 [2024-10-07T09:20:22.913Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-07T09:20:22.913Z] ---> 155c4496bdac [2024-10-07T09:20:22.913Z] Step 19/24 : EXPOSE 59999 [2024-10-07T09:20:22.913Z] ---> Running in 238d7548a98d [2024-10-07T09:20:22.913Z] Removing intermediate container 238d7548a98d [2024-10-07T09:20:22.913Z] ---> ba0f3bf0fb86 [2024-10-07T09:20:22.913Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-07T09:20:22.913Z] ---> Running in 31d9c3f20efc [2024-10-07T09:20:22.913Z] Removing intermediate container 31d9c3f20efc [2024-10-07T09:20:22.914Z] ---> a518f0e7203a [2024-10-07T09:20:22.914Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-07T09:20:22.914Z] ---> Running in 3d549dc77c47 [2024-10-07T09:20:22.914Z] Removing intermediate container 3d549dc77c47 [2024-10-07T09:20:22.914Z] ---> 262ee038f52b [2024-10-07T09:20:22.914Z] Step 22/24 : LABEL arch=amd64 [2024-10-07T09:20:22.914Z] ---> Running in 9bf57527860f [2024-10-07T09:20:22.986Z] Removing intermediate container 3e4c34d605db [2024-10-07T09:20:22.986Z] ---> 55ff3181cb2f [2024-10-07T09:20:22.986Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-07T09:20:23.172Z] Removing intermediate container 9bf57527860f [2024-10-07T09:20:23.172Z] ---> 3ede013d09f2 [2024-10-07T09:20:23.172Z] Step 23/24 : LABEL git_sha=c0ba63a64645c098cd793905588bf587b9521e02 [2024-10-07T09:20:23.172Z] ---> Running in 61eadd0b7b35 [2024-10-07T09:20:23.172Z] Removing intermediate container 61eadd0b7b35 [2024-10-07T09:20:23.172Z] ---> f29e0e9c8ef6 [2024-10-07T09:20:23.172Z] Step 24/24 : LABEL version=0.0.0 [2024-10-07T09:20:23.173Z] ---> Running in ac7ae0f81f8f [2024-10-07T09:20:23.173Z] Removing intermediate container ac7ae0f81f8f [2024-10-07T09:20:23.173Z] ---> a3adbb939796 [2024-10-07T09:20:23.173Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-07T09:20:23.173Z] Successfully built a3adbb939796 [2024-10-07T09:20:23.173Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2024-10-07T09:20:23.260Z] ---> Running in 8ceb1d72a4c5 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-07T09:20:23.651Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T09:20:23.651Z] [2024-10-07T09:20:23.651Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:20:23.956Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T09:20:23.956Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-07T09:20:23.956Z] 5eb5b503b376: Pulling fs layer [2024-10-07T09:20:23.956Z] 5c69ac0246d0: Pulling fs layer [2024-10-07T09:20:23.956Z] ec43610c2a17: Pulling fs layer [2024-10-07T09:20:23.956Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-07T09:20:23.956Z] 33b1e0a273af: Pulling fs layer [2024-10-07T09:20:23.956Z] 5d3b04190fa2: Pulling fs layer [2024-10-07T09:20:23.956Z] 2f39f015ded8: Pulling fs layer [2024-10-07T09:20:23.956Z] 3a2ae6a8a46f: Waiting [2024-10-07T09:20:23.956Z] 33b1e0a273af: Waiting [2024-10-07T09:20:23.956Z] 5d3b04190fa2: Waiting [2024-10-07T09:20:23.956Z] 5c69ac0246d0: Download complete [2024-10-07T09:20:23.956Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-07T09:20:23.956Z] 3a2ae6a8a46f: Download complete [2024-10-07T09:20:23.956Z] 33b1e0a273af: Verifying Checksum [2024-10-07T09:20:23.956Z] 33b1e0a273af: Download complete [2024-10-07T09:20:23.956Z] 5d3b04190fa2: Download complete [2024-10-07T09:20:23.956Z] ec43610c2a17: Verifying Checksum [2024-10-07T09:20:23.956Z] ec43610c2a17: Download complete [2024-10-07T09:20:24.216Z] 5eb5b503b376: Download complete [2024-10-07T09:20:24.223Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T09:20:24.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T09:20:24.784Z] 2f39f015ded8: Download complete [2024-10-07T09:20:25.352Z] 5eb5b503b376: Pull complete [2024-10-07T09:20:25.352Z] 5c69ac0246d0: Pull complete [2024-10-07T09:20:25.905Z] OK: 238 MiB in 54 packages [2024-10-07T09:20:25.920Z] ec43610c2a17: Pull complete [2024-10-07T09:20:25.920Z] 3a2ae6a8a46f: Pull complete [2024-10-07T09:20:26.179Z] 33b1e0a273af: Pull complete [2024-10-07T09:20:26.179Z] 5d3b04190fa2: Pull complete [2024-10-07T09:20:27.316Z] Removing intermediate container 8ceb1d72a4c5 [2024-10-07T09:20:27.316Z] ---> 896af22ffb1c [2024-10-07T09:20:27.316Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-07T09:20:27.583Z] ---> fdff901dc9e3 [2024-10-07T09:20:27.583Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T09:20:27.583Z] ---> Running in 65c55062b94b [2024-10-07T09:20:30.368Z] 2f39f015ded8: Pull complete [2024-10-07T09:20:30.368Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-07T09:20:30.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T09:20:30.368Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T09:20:30.459Z] prd-ubuntu20.04-docker-8c-8g-22032 does not seem to be running inside a container [2024-10-07T09:20:30.488Z] $ 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-1635 -v /w/workspace/gexfoundry_device-sdk-go_PR-1635:/w/workspace/gexfoundry_device-sdk-go_PR-1635:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1635@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-07T09:20:34.204Z] $ docker top 313fef357ce8837feced0cff9038a9a63b48eb3734fbb710c65e0dcf4cbeeb07 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:20:34.592Z] ---> job-cost.sh [2024-10-07T09:20:34.592Z] lf-activate-venv: SKIPPING [2024-10-07T09:20:34.592Z] INFO: No Stack... [2024-10-07T09:20:34.849Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-07T09:20:35.418Z] INFO: Archiving Costs [Pipeline] sh [2024-10-07T09:20:35.712Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1635/archives/cost.csv [2024-10-07T09:20:35.712Z] + cut -d, -f6 [Pipeline] lock [2024-10-07T09:20:35.728Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1635-3-stack-cost] [2024-10-07T09:20:35.739Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1635-3-stack-cost] did not exist. Created. [2024-10-07T09:20:35.746Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1635-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-07T09:20:36.062Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-07T09:20:36.089Z] Stashed 1 file(s) [Pipeline] } [2024-10-07T09:20:36.101Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1635-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-07T09:20:36.127Z] $ docker stop --time=1 313fef357ce8837feced0cff9038a9a63b48eb3734fbb710c65e0dcf4cbeeb07 [2024-10-07T09:20:37.270Z] $ docker rm -f --volumes 313fef357ce8837feced0cff9038a9a63b48eb3734fbb710c65e0dcf4cbeeb07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-07T09:22:19.234Z] Removing intermediate container 65c55062b94b [2024-10-07T09:22:19.234Z] ---> 6d312c581b01 [2024-10-07T09:22:19.234Z] Step 9/10 : COPY . . [2024-10-07T09:22:19.234Z] ---> 874a7d85a4f0 [2024-10-07T09:22:19.234Z] Step 10/10 : RUN ${MAKE} [2024-10-07T09:22:19.234Z] ---> Running in 3b6f7f86a8ad [2024-10-07T09:22:19.234Z] noop [2024-10-07T09:22:19.234Z] Removing intermediate container 3b6f7f86a8ad [2024-10-07T09:22:19.234Z] ---> 5466b74d6144 [2024-10-07T09:22:19.234Z] Successfully built 5466b74d6144 [2024-10-07T09:22:19.234Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:22:19.593Z] + docker inspect -f . ci-base-image-arm64 [2024-10-07T09:22:19.593Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T09:22:19.786Z] prd-ubuntu20.04-docker-arm64-4c-16g-22033 does not seem to be running inside a container [2024-10-07T09:22:19.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-07T09:22:21.082Z] $ docker top 5f2e19c3474dd329196340526cdd3cf0ea59f641d42fe7258f530438d8759bb8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T09:22:21.902Z] + go version [2024-10-07T09:22:21.902Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-07T09:22:21.919Z] $ docker stop --time=1 5f2e19c3474dd329196340526cdd3cf0ea59f641d42fe7258f530438d8759bb8 [2024-10-07T09:22:23.725Z] $ docker rm -f --volumes 5f2e19c3474dd329196340526cdd3cf0ea59f641d42fe7258f530438d8759bb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:22:25.250Z] + docker inspect -f . ci-base-image-arm64 [2024-10-07T09:22:25.250Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T09:22:25.418Z] prd-ubuntu20.04-docker-arm64-4c-16g-22033 does not seem to be running inside a container [2024-10-07T09:22:25.472Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-07T09:22:26.593Z] $ docker top 63a67419287b22ce36f2ee061c5b3625d6324ad1203ae893c347e9282c5038dc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T09:22:27.115Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2024-10-07T09:22:27.444Z] + make test [2024-10-07T09:22:27.444Z] go test -race -coverprofile=coverage.out ./... [2024-10-07T09:23:14.326Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-07T09:26:36.243Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-07T09:26:36.243Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-07T09:26:36.243Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-07T09:26:36.243Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-07T09:26:36.243Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-07T09:26:40.484Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.153s coverage: 26.0% of statements [2024-10-07T09:26:43.062Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.167s coverage: 79.4% of statements [2024-10-07T09:26:55.364Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-07T09:26:55.364Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-07T09:26:55.364Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.271s coverage: 86.0% of statements [2024-10-07T09:27:06.295Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-07T09:27:06.878Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.533s coverage: 45.2% of statements [2024-10-07T09:27:10.230Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.263s coverage: 14.1% of statements [2024-10-07T09:27:10.230Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.838s coverage: 44.6% of statements [2024-10-07T09:27:13.571Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-07T09:27:13.571Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-07T09:27:13.571Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-07T09:27:14.995Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.390s coverage: 68.3% of statements [2024-10-07T09:27:20.316Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.340s coverage: 88.3% of statements [2024-10-07T09:27:26.929Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-07T09:27:27.507Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.275s coverage: 5.3% of statements [2024-10-07T09:27:28.908Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-07T09:27:28.908Z] GO111MODULE=on go vet ./... [2024-10-07T09:30:50.658Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-07T09:30:50.658Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-07T09:30:50.658Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-07T09:30:50.679Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-07T09:30:50.695Z] $ docker stop --time=1 63a67419287b22ce36f2ee061c5b3625d6324ad1203ae893c347e9282c5038dc [2024-10-07T09:30:52.670Z] $ docker rm -f --volumes 63a67419287b22ce36f2ee061c5b3625d6324ad1203ae893c347e9282c5038dc [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-07T09:30:54.830Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-07T09:30:54.856Z] Warning: overwriting stash ‘coverage-report’ [2024-10-07T09:30:55.508Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-07T09:30:55.903Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-07T09:30:56.211Z] + ls -al . [2024-10-07T09:30:56.211Z] total 708 [2024-10-07T09:30:56.211Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 09:22 . [2024-10-07T09:30:56.211Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:19 .. [2024-10-07T09:30:56.211Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 7 09:19 .dockerignore [2024-10-07T09:30:56.211Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 09:19 .git [2024-10-07T09:30:56.211Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:19 .github [2024-10-07T09:30:56.211Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 7 09:19 .gitignore [2024-10-07T09:30:56.211Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 7 09:19 .golangci.yml [2024-10-07T09:30:56.211Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 7 09:19 CHANGELOG.md [2024-10-07T09:30:56.211Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 09:19 GOVERNANCE.md [2024-10-07T09:30:56.211Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 7 09:19 Jenkinsfile [2024-10-07T09:30:56.211Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 7 09:19 LICENSE [2024-10-07T09:30:56.211Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 7 09:19 Makefile [2024-10-07T09:30:56.211Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 7 09:19 OWNERS.md [2024-10-07T09:30:56.211Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 7 09:19 README.md [2024-10-07T09:30:56.211Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 09:17 VERSION [2024-10-07T09:30:56.211Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 09:19 bin [2024-10-07T09:30:56.211Z] -rw-r--r-- 1 jenkins jenkins 466603 Oct 7 09:27 coverage.out [2024-10-07T09:30:56.211Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 7 09:19 example [2024-10-07T09:30:56.211Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 7 09:19 go.mod [2024-10-07T09:30:56.211Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 7 09:19 go.sum [2024-10-07T09:30:56.211Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 7 09:19 internal [2024-10-07T09:30:56.211Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:19 openapi [2024-10-07T09:30:56.211Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 09:19 pkg [2024-10-07T09:30:56.211Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:19 snap [2024-10-07T09:30:56.211Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 7 09:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:30:56.548Z] + 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=544ec85d213ddf3933dbf69ac771e53e49b62db3 --label arch=arm64 --label version=0.0.0 . [2024-10-07T09:30:57.130Z] Sending build context to Docker daemon 13.75MB [2024-10-07T09:30:57.130Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-07T09:30:57.130Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-07T09:30:57.130Z] ---> 5466b74d6144 [2024-10-07T09:30:57.130Z] Step 3/24 : ARG MAKE=make build [2024-10-07T09:30:57.397Z] ---> Running in 54d572e35aa2 [2024-10-07T09:30:57.664Z] Removing intermediate container 54d572e35aa2 [2024-10-07T09:30:57.664Z] ---> 2a704060426a [2024-10-07T09:30:57.664Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-07T09:30:57.664Z] ---> Running in f0dd90c42985 [2024-10-07T09:30:58.246Z] Removing intermediate container f0dd90c42985 [2024-10-07T09:30:58.246Z] ---> 022ca5b7ca77 [2024-10-07T09:30:58.246Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-07T09:30:58.246Z] ---> Running in c40a0f53ef9b [2024-10-07T09:30:58.520Z] Removing intermediate container c40a0f53ef9b [2024-10-07T09:30:58.520Z] ---> a0e87124c52d [2024-10-07T09:30:58.520Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-07T09:30:58.520Z] ---> Running in eeba2bf8f2f0 [2024-10-07T09:30:59.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T09:31:00.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T09:31:01.015Z] OK: 238 MiB in 54 packages [2024-10-07T09:31:01.974Z] Removing intermediate container eeba2bf8f2f0 [2024-10-07T09:31:01.974Z] ---> e47e7a082336 [2024-10-07T09:31:01.974Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-07T09:31:02.557Z] ---> c20de67c33d1 [2024-10-07T09:31:02.557Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-07T09:31:02.557Z] ---> Running in 9c1ca6e17470 [2024-10-07T09:31:04.493Z] Removing intermediate container 9c1ca6e17470 [2024-10-07T09:31:04.493Z] ---> 7babcd6b6d8a [2024-10-07T09:31:04.493Z] Step 9/24 : COPY . . [2024-10-07T09:31:06.422Z] ---> 1f9b920e6ec4 [2024-10-07T09:31:06.422Z] Step 10/24 : RUN ${MAKE} [2024-10-07T09:31:06.422Z] ---> Running in 92bf16a4346a [2024-10-07T09:31:07.001Z] 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-07T09:34:28.708Z] Removing intermediate container 92bf16a4346a [2024-10-07T09:34:28.708Z] ---> bce33b3d0310 [2024-10-07T09:34:28.708Z] Step 11/24 : FROM alpine:3.20 [2024-10-07T09:34:28.708Z] 3.20: Pulling from library/alpine [2024-10-07T09:34:28.708Z] cf04c63912e1: Already exists [2024-10-07T09:34:28.708Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-07T09:34:28.708Z] Status: Downloaded newer image for alpine:3.20 [2024-10-07T09:34:28.708Z] ---> c157a85ed455 [2024-10-07T09:34:28.708Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-07T09:34:28.708Z] ---> Running in 8b0764f0c5c7 [2024-10-07T09:34:28.708Z] Removing intermediate container 8b0764f0c5c7 [2024-10-07T09:34:28.708Z] ---> 51bb2d65ab92 [2024-10-07T09:34:28.708Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-07T09:34:28.708Z] ---> Running in 76186d93e33b [2024-10-07T09:34:28.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T09:34:28.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T09:34:30.108Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-07T09:34:30.108Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T09:34:30.108Z] OK: 9 MiB in 15 packages [2024-10-07T09:34:31.063Z] Removing intermediate container 76186d93e33b [2024-10-07T09:34:31.063Z] ---> e68f2f1e1f2d [2024-10-07T09:34:31.063Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-07T09:34:31.063Z] ---> Running in 21a8a2739efd [2024-10-07T09:34:32.016Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T09:34:32.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T09:34:33.686Z] Upgrading critical system libraries and apk-tools: [2024-10-07T09:34:33.686Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-07T09:34:33.686Z] Executing busybox-1.36.1-r29.trigger [2024-10-07T09:34:33.950Z] Continuing the upgrade transaction with new apk-tools: [2024-10-07T09:34:33.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-07T09:34:34.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-07T09:34:35.623Z] OK: 9 MiB in 15 packages [2024-10-07T09:34:36.210Z] Removing intermediate container 21a8a2739efd [2024-10-07T09:34:36.210Z] ---> 001446448902 [2024-10-07T09:34:36.210Z] Step 15/24 : WORKDIR / [2024-10-07T09:34:36.483Z] ---> Running in 249d7ea3f964 [2024-10-07T09:34:36.749Z] Removing intermediate container 249d7ea3f964 [2024-10-07T09:34:36.749Z] ---> ee6691cefb4f [2024-10-07T09:34:36.749Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-07T09:34:37.015Z] ---> de94a190c8a7 [2024-10-07T09:34:37.015Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-07T09:34:39.590Z] ---> f932eed66911 [2024-10-07T09:34:39.590Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-07T09:34:39.856Z] ---> 50a49e0e3a10 [2024-10-07T09:34:39.856Z] Step 19/24 : EXPOSE 59999 [2024-10-07T09:34:39.856Z] ---> Running in ef561e4a5b69 [2024-10-07T09:34:40.121Z] Removing intermediate container ef561e4a5b69 [2024-10-07T09:34:40.121Z] ---> 8f9f929b5106 [2024-10-07T09:34:40.121Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-07T09:34:40.121Z] ---> Running in d2157317c97a [2024-10-07T09:34:40.390Z] Removing intermediate container d2157317c97a [2024-10-07T09:34:40.390Z] ---> d963a06f6506 [2024-10-07T09:34:40.390Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-07T09:34:40.390Z] ---> Running in d2d0acc911a8 [2024-10-07T09:34:40.970Z] Removing intermediate container d2d0acc911a8 [2024-10-07T09:34:40.970Z] ---> 49f64a7a8e8f [2024-10-07T09:34:40.970Z] Step 22/24 : LABEL arch=arm64 [2024-10-07T09:34:40.970Z] ---> Running in e083ffb1ce2e [2024-10-07T09:34:41.236Z] Removing intermediate container e083ffb1ce2e [2024-10-07T09:34:41.236Z] ---> 5c1f407105b5 [2024-10-07T09:34:41.236Z] Step 23/24 : LABEL git_sha=544ec85d213ddf3933dbf69ac771e53e49b62db3 [2024-10-07T09:34:41.236Z] ---> Running in 2d8694476dcf [2024-10-07T09:34:41.503Z] Removing intermediate container 2d8694476dcf [2024-10-07T09:34:41.503Z] ---> 5caf6ad081de [2024-10-07T09:34:41.503Z] Step 24/24 : LABEL version=0.0.0 [2024-10-07T09:34:41.503Z] ---> Running in 35b8fa2f2cf3 [2024-10-07T09:34:41.770Z] Removing intermediate container 35b8fa2f2cf3 [2024-10-07T09:34:41.770Z] ---> a989a99f665c [2024-10-07T09:34:41.770Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-07T09:34:42.035Z] Successfully built a989a99f665c [2024-10-07T09:34:42.035Z] 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-07T09:34:42.502Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-07T09:34:42.502Z] [2024-10-07T09:34:42.502Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:34:42.839Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-07T09:34:42.840Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-07T09:34:42.840Z] 8998bd30e6a1: Pulling fs layer [2024-10-07T09:34:42.840Z] 04944245beec: Pulling fs layer [2024-10-07T09:34:42.840Z] 699f458cf7ca: Pulling fs layer [2024-10-07T09:34:42.840Z] 765212b225bb: Pulling fs layer [2024-10-07T09:34:42.840Z] f23df028b6ca: Pulling fs layer [2024-10-07T09:34:42.840Z] d65c8cfc05b1: Pulling fs layer [2024-10-07T09:34:42.840Z] 2437ff75d9bd: Pulling fs layer [2024-10-07T09:34:42.840Z] d65c8cfc05b1: Waiting [2024-10-07T09:34:42.840Z] 2437ff75d9bd: Waiting [2024-10-07T09:34:42.840Z] f23df028b6ca: Waiting [2024-10-07T09:34:42.840Z] 765212b225bb: Waiting [2024-10-07T09:34:42.840Z] 04944245beec: Verifying Checksum [2024-10-07T09:34:42.840Z] 04944245beec: Download complete [2024-10-07T09:34:43.107Z] 765212b225bb: Verifying Checksum [2024-10-07T09:34:43.107Z] 765212b225bb: Download complete [2024-10-07T09:34:43.107Z] f23df028b6ca: Download complete [2024-10-07T09:34:43.107Z] d65c8cfc05b1: Download complete [2024-10-07T09:34:43.107Z] 699f458cf7ca: Verifying Checksum [2024-10-07T09:34:43.107Z] 699f458cf7ca: Download complete [2024-10-07T09:34:43.684Z] 8998bd30e6a1: Download complete [2024-10-07T09:34:46.246Z] 2437ff75d9bd: Verifying Checksum [2024-10-07T09:34:46.246Z] 2437ff75d9bd: Download complete [2024-10-07T09:34:48.174Z] 8998bd30e6a1: Pull complete [2024-10-07T09:34:48.438Z] 04944245beec: Pull complete [2024-10-07T09:34:49.798Z] 699f458cf7ca: Pull complete [2024-10-07T09:34:56.075Z] 765212b225bb: Pull complete [2024-10-07T09:34:56.075Z] f23df028b6ca: Pull complete [2024-10-07T09:34:56.075Z] d65c8cfc05b1: Pull complete [2024-10-07T09:35:07.255Z] 2437ff75d9bd: Pull complete [2024-10-07T09:35:07.255Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-07T09:35:07.255Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-07T09:35:07.255Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T09:35:07.444Z] prd-ubuntu20.04-docker-arm64-4c-16g-22033 does not seem to be running inside a container [2024-10-07T09:35:07.490Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-07T09:35:12.046Z] $ docker top 3aeb45fa5ebe5da83b236bf558e3826c30146a517d2fd77146982bcd6a0b31b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:35:12.910Z] ---> job-cost.sh [2024-10-07T09:35:12.910Z] lf-activate-venv: SKIPPING [2024-10-07T09:35:12.910Z] INFO: No Stack... [2024-10-07T09:35:13.490Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-07T09:35:14.078Z] INFO: Archiving Costs [Pipeline] sh [2024-10-07T09:35:14.712Z] + + cutcat -d, /w/workspace/device-sdk-go/3/archives/cost.csv -f6 [2024-10-07T09:35:14.712Z] [Pipeline] lock [2024-10-07T09:35:14.744Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1635-3-stack-cost] [2024-10-07T09:35:14.752Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1635-3-stack-cost] did not exist. Created. [2024-10-07T09:35:14.759Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1635-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-07T09:35:15.110Z] /w/workspace/device-sdk-go/3@tmp/durable-4403c0c9/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-07T09:35:15.427Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-07T09:35:15.453Z] Warning: overwriting stash ‘stack-cost’ [2024-10-07T09:35:15.532Z] Stashed 1 file(s) [Pipeline] } [2024-10-07T09:35:15.547Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1635-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-07T09:35:15.572Z] $ docker stop --time=1 3aeb45fa5ebe5da83b236bf558e3826c30146a517d2fd77146982bcd6a0b31b0 [2024-10-07T09:35:16.997Z] $ docker rm -f --volumes 3aeb45fa5ebe5da83b236bf558e3826c30146a517d2fd77146982bcd6a0b31b0 [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-07T09:35:17.440Z] provisioning config files... [2024-10-07T09:35:17.447Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp/config18055133107370273521tmp [Pipeline] { [Pipeline] sh [2024-10-07T09:35:17.749Z] + set +x [2024-10-07T09:35:17.749Z] + curl -s https://codecov.io/bash [2024-10-07T09:35:17.749Z] + bash -s -- [2024-10-07T09:35:17.749Z] [2024-10-07T09:35:17.749Z] _____ _ [2024-10-07T09:35:17.749Z] / ____| | | [2024-10-07T09:35:17.749Z] | | ___ __| | ___ ___ _____ __ [2024-10-07T09:35:17.749Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-07T09:35:17.749Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-07T09:35:17.749Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-07T09:35:17.749Z] Bash-1.0.6 [2024-10-07T09:35:17.749Z] [2024-10-07T09:35:17.749Z] [2024-10-07T09:35:17.749Z] ==> git version 2.25.1 found [2024-10-07T09:35:17.749Z] ==> 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-07T09:35:17.749Z] Release-Date: 2020-01-08 [2024-10-07T09:35:17.749Z] 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-07T09:35:17.749Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-07T09:35:17.749Z] ==> Jenkins CI detected. [2024-10-07T09:35:17.749Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1635 [2024-10-07T09:35:17.749Z] project root: . [2024-10-07T09:35:17.749Z] --> token set from env [2024-10-07T09:35:17.749Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-07T09:35:17.749Z] ==> Running gcov in . (disable via -X gcov) [2024-10-07T09:35:17.749Z] ==> Python coveragepy not found [2024-10-07T09:35:17.749Z] ==> Searching for coverage reports in: [2024-10-07T09:35:17.749Z] + . [2024-10-07T09:35:17.749Z] -> Found 1 reports [2024-10-07T09:35:17.749Z] ==> Detecting git/mercurial file structure [2024-10-07T09:35:17.749Z] ==> Reading reports [2024-10-07T09:35:17.749Z] + ./coverage.out bytes=466603 [2024-10-07T09:35:17.749Z] ==> Appending adjustments [2024-10-07T09:35:17.749Z] https://docs.codecov.io/docs/fixing-reports [2024-10-07T09:35:18.318Z] + Found adjustments [2024-10-07T09:35:18.318Z] ==> Gzipping contents [2024-10-07T09:35:18.318Z] 44K /tmp/codecov.XNw9ux.gz [2024-10-07T09:35:18.318Z] ==> Uploading reports [2024-10-07T09:35:18.318Z] url: https://codecov.io [2024-10-07T09:35:18.318Z] query: branch=PR-1635&commit=c0ba63a64645c098cd793905588bf587b9521e02&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1635%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1635&job=&cmd_args= [2024-10-07T09:35:18.318Z] -> Pinging Codecov [2024-10-07T09:35:18.318Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1635&commit=c0ba63a64645c098cd793905588bf587b9521e02&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1635%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1635&job=&cmd_args= [2024-10-07T09:35:18.318Z] -> Uploading to [2024-10-07T09:35:18.318Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/c0ba63a64645c098cd793905588bf587b9521e02/d2b0d834-2927-401e-bd8e-06d3d918fcd1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241007%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241007T093518Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=5e36cb1785a16b200545254ae3f940212435887efc8380b63102a3be8a31b5dd [2024-10-07T09:35:18.318Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-07T09:35:18.318Z] Dload Upload Total Spent Left Speed [2024-10-07T09:35:18.578Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 42476 0 0 100 42476 0 167k --:--:-- --:--:-- --:--:-- 167k [2024-10-07T09:35:18.578Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c0ba63a64645c098cd793905588bf587b9521e02 [Pipeline] } [2024-10-07T09:35:18.586Z] 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-07T09:35:19.470Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1635/archives ] [2024-10-07T09:35:19.470Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1635/archives [2024-10-07T09:35:19.470Z] total 16 [2024-10-07T09:35:19.470Z] drwxr-xr-x 3 root root 4096 Oct 7 09:20 . [2024-10-07T09:35:19.470Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 7 09:20 .. [2024-10-07T09:35:19.470Z] drwxr-xr-x 2 root root 4096 Oct 7 09:20 cost [2024-10-07T09:35:19.470Z] -rw-r--r-- 1 root root 86 Oct 7 09:20 cost.csv [2024-10-07T09:35:19.470Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1635/archives [2024-10-07T09:35:19.470Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1635/archives [2024-10-07T09:35:19.470Z] total 16 [2024-10-07T09:35:19.470Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 09:20 . [2024-10-07T09:35:19.470Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 7 09:20 .. [2024-10-07T09:35:19.470Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 09:20 cost [2024-10-07T09:35:19.470Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 7 09:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:35:19.764Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:35:20.619Z] ---> package-listing.sh [2024-10-07T09:35:20.619Z] ++ facter osfamily [2024-10-07T09:35:20.619Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-07T09:35:20.880Z] + OS_FAMILY=debian [2024-10-07T09:35:20.880Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1635 [2024-10-07T09:35:20.880Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-07T09:35:20.880Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-07T09:35:20.880Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-07T09:35:20.880Z] + PACKAGES=/tmp/packages_start.txt [2024-10-07T09:35:20.880Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1635 ']' [2024-10-07T09:35:20.880Z] + PACKAGES=/tmp/packages_end.txt [2024-10-07T09:35:20.880Z] + case "${OS_FAMILY}" in [2024-10-07T09:35:20.880Z] + dpkg -l [2024-10-07T09:35:20.880Z] + grep '^ii' [2024-10-07T09:35:20.880Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-07T09:35:20.880Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-07T09:35:20.880Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-07T09:35:20.880Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1635 ']' [2024-10-07T09:35:20.880Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1635/archives/ [2024-10-07T09:35:20.880Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1635/archives/ [Pipeline] echo [2024-10-07T09:35:20.889Z] 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-1635/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-07T09:35:21.167Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-07T09:35:21.744Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-07T09:35:21.744Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-07T09:35:21.824Z] prd-ubuntu20.04-docker-8c-8g-22032 does not seem to be running inside a container [2024-10-07T09:35:21.850Z] $ 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-1635/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-1635 -v /w/workspace/gexfoundry_device-sdk-go_PR-1635:/w/workspace/gexfoundry_device-sdk-go_PR-1635:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1635@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-07T09:35:22.036Z] $ docker top 0349e704c354846957b3aceed3525ee7a4ce4810cd7ee33f3b1b369456cf522d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-07T09:35:22.383Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-07T09:35:22.666Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-07T09:35:22.953Z] + ls /var/log/sa-host [2024-10-07T09:35:22.953Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-07T09:35:23.031Z] provisioning config files... [2024-10-07T09:35:23.039Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1635@tmp/config14358094802465729449tmp [Pipeline] { [Pipeline] echo [2024-10-07T09:35:23.057Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:35:23.344Z] ---> create-netrc.sh [Pipeline] } [2024-10-07T09:35:23.351Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:35:24.769Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-07T09:35:24.779Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:35:25.061Z] ---> sudo-logs.sh [2024-10-07T09:35:25.061Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-07T09:35:25.090Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:35:29.826Z] ---> job-cost.sh [2024-10-07T09:35:29.826Z] lf-activate-venv: SKIPPING [2024-10-07T09:35:29.826Z] DEBUG: total: 0.2199999988079071 [2024-10-07T09:35:29.826Z] INFO: Retrieving Stack Cost... [2024-10-07T09:35:31.372Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-07T09:35:32.416Z] INFO: Archiving Costs [Pipeline] echo [2024-10-07T09:35:32.429Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-07T09:35:32.734Z] ---> logs-deploy.sh [2024-10-07T09:35:32.734Z] lf-activate-venv: SKIPPING [2024-10-07T09:35:32.734Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1635/3 [2024-10-07T09:35:32.734Z] INFO: archiving workspace using pattern(s): [2024-10-07T09:35:33.672Z] Archives upload complete. [2024-10-07T09:35:33.672Z] INFO: archiving logs to Nexus