Pull request #1632 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3f79d91e42934c0c8204e64f9535ff278efb44e2+1b8f5c3fc1bdd6f1c6be262479a15f7fdf116ab9 (f18f2d4661cabfc1c4f1e45e253fff879d6314db) 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-ssh12426666284995971859.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-ssh4423386927577719324.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1632/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1632/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16908862082749937911.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1632/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4848204432849181210.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7297673882929457386.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1632/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1632/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1218439199582989417.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15566’ Running on prd-ubuntu20.04-docker-8c-8g-15568 in /w/workspace/gexfoundry_device-sdk-go_PR-1632 [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-1632 # 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/1632/head:refs/remotes/origin/PR-1632 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1b8f5c3fc1bdd6f1c6be262479a15f7fdf116ab9 into PR head commit 3f79d91e42934c0c8204e64f9535ff278efb44e2 Merge succeeded, producing 3f79d91e42934c0c8204e64f9535ff278efb44e2 Checking out Revision 3f79d91e42934c0c8204e64f9535ff278efb44e2 (PR-1632) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f 3f79d91e42934c0c8204e64f9535ff278efb44e2 # 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 1b8f5c3fc1bdd6f1c6be262479a15f7fdf116ab9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f79d91e42934c0c8204e64f9535ff278efb44e2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-04T04:57:27.746Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-04T04:57:27.976Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-04T04:57:28.079Z] ========================================================= [2024-10-04T04:57:28.079Z] EdgeX Global Pipelines Version Info [2024-10-04T04:57:28.079Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-04T04:57:28.868Z] ------------------- [2024-10-04T04:57:28.868Z] stable info: [2024-10-04T04:57:28.868Z] ------------------- [2024-10-04T04:57:28.868Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-04T04:57:28.868Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-04T04:57:28.868Z] Message: update stable to v1.0.265 [2024-10-04T04:57:29.438Z] ------------------- [2024-10-04T04:57:29.438Z] experimental info: [2024-10-04T04:57:29.438Z] ------------------- [2024-10-04T04:57:29.438Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-04T04:57:29.438Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-04T04:57:29.438Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-04T04:57:29.681Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-10-04T04:57:29.747Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-10-04T04:57:29.809Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-04T04:57:29.873Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-04T04:57:29.936Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-04T04:57:30.002Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-04T04:57:30.063Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-04T04:57:30.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-10-04T04:57:30.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-04T04:57:30.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-04T04:57:30.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-04T04:57:30.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-10-04T04:57:30.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-04T04:57:30.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-04T04:57:30.545Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T04:57:30.606Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T04:57:30.668Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T04:57:30.726Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T04:57:30.785Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-04T04:57:30.863Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-04T04:57:30.924Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-04T04:57:30.986Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-10-04T04:57:31.045Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-04T04:57:31.104Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-04T04:57:31.165Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-04T04:57:31.234Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-04T04:57:31.298Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-04T04:57:31.367Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1632 [Pipeline] echo [2024-10-04T04:57:31.427Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1632 [Pipeline] echo [2024-10-04T04:57:31.494Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1632 [Pipeline] echo [2024-10-04T04:57:31.570Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3f79d91e42934c0c8204e64f9535ff278efb44e2 [Pipeline] echo [2024-10-04T04:57:31.649Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3f79d91 [Pipeline] echo [2024-10-04T04:57:31.711Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T04:57:31.872Z] provisioning config files... [2024-10-04T04:57:31.884Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config7093336905812863659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T04:57:32.281Z] ---> ****-login.sh [2024-10-04T04:57:32.281Z] nexus3.edgexfoundry.org:10001 [2024-10-04T04:57:32.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T04:57:32.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T04:57:32.808Z] Configure a credential helper to remove this warning. See [2024-10-04T04:57:32.808Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T04:57:32.808Z] [2024-10-04T04:57:32.808Z] Login Succeeded [2024-10-04T04:57:32.808Z] nexus3.edgexfoundry.org:10002 [2024-10-04T04:57:32.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T04:57:32.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T04:57:32.809Z] Configure a credential helper to remove this warning. See [2024-10-04T04:57:32.809Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T04:57:32.809Z] [2024-10-04T04:57:32.809Z] Login Succeeded [2024-10-04T04:57:32.809Z] nexus3.edgexfoundry.org:10003 [2024-10-04T04:57:32.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T04:57:33.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T04:57:33.070Z] Configure a credential helper to remove this warning. See [2024-10-04T04:57:33.070Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T04:57:33.070Z] [2024-10-04T04:57:33.070Z] Login Succeeded [2024-10-04T04:57:33.070Z] nexus3.edgexfoundry.org:10004 [2024-10-04T04:57:33.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T04:57:33.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T04:57:33.070Z] Configure a credential helper to remove this warning. See [2024-10-04T04:57:33.070Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T04:57:33.070Z] [2024-10-04T04:57:33.070Z] Login Succeeded [2024-10-04T04:57:33.070Z] ****.io [2024-10-04T04:57:33.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T04:57:33.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T04:57:33.331Z] Configure a credential helper to remove this warning. See [2024-10-04T04:57:33.331Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T04:57:33.331Z] [2024-10-04T04:57:33.331Z] Login Succeeded [2024-10-04T04:57:33.331Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T04:57:33.377Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-04T04:57:34.099Z] + git rev-list -1 --merges 3f79d91e42934c0c8204e64f9535ff278efb44e2~1..3f79d91e42934c0c8204e64f9535ff278efb44e2 [Pipeline] echo [2024-10-04T04:57:34.152Z] -----------> git rev-list -1 --merges 3f79d91e42934c0c8204e64f9535ff278efb44e2~1..3f79d91e42934c0c8204e64f9535ff278efb44e2 3f79d91e42934c0c8204e64f9535ff278efb44e2 [false] [Pipeline] sh [2024-10-04T04:57:34.477Z] + git log --format=format:%s -1 3f79d91e42934c0c8204e64f9535ff278efb44e2 [Pipeline] echo [2024-10-04T04:57:34.522Z] ========================================================= [2024-10-04T04:57:34.522Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-04T04:57:34.522Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T04:57:34.997Z] + git log --format=format:%s -1 3f79d91e42934c0c8204e64f9535ff278efb44e2 [Pipeline] echo [2024-10-04T04:57:35.040Z] [semverPrep] GIT_COMMIT: 3f79d91e42934c0c8204e64f9535ff278efb44e2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2024-10-04T04:57:35.096Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-04T04:57:35.523Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-04T04:57:35.523Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-04T04:57:35.523Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-04T04:57:35.523Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-04T04:57:35.523Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-04T04:57:35.523Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-04T04:57:35.523Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T04:57:36.047Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T04:57:36.047Z] [2024-10-04T04:57:36.047Z] 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-04T04:57:36.445Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T04:57:36.445Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-04T04:57:36.445Z] b85a868b505f: Pulling fs layer [2024-10-04T04:57:36.445Z] e2be974225ed: Pulling fs layer [2024-10-04T04:57:36.445Z] 339a4e72a1f5: Pulling fs layer [2024-10-04T04:57:36.445Z] 988bab9f4d93: Pulling fs layer [2024-10-04T04:57:36.445Z] 1469e6f7b9e6: Pulling fs layer [2024-10-04T04:57:36.445Z] eaf3925da568: Pulling fs layer [2024-10-04T04:57:36.445Z] bab4dde63d76: Pulling fs layer [2024-10-04T04:57:36.445Z] bde34c3a00c8: Pulling fs layer [2024-10-04T04:57:36.445Z] b352a97aabf1: Pulling fs layer [2024-10-04T04:57:36.445Z] 4872d77fe225: Pulling fs layer [2024-10-04T04:57:36.445Z] 5851b861e8e6: Pulling fs layer [2024-10-04T04:57:36.445Z] bab4dde63d76: Waiting [2024-10-04T04:57:36.445Z] bde34c3a00c8: Waiting [2024-10-04T04:57:36.445Z] 4872d77fe225: Waiting [2024-10-04T04:57:36.445Z] 1469e6f7b9e6: Waiting [2024-10-04T04:57:36.445Z] b352a97aabf1: Waiting [2024-10-04T04:57:36.445Z] eaf3925da568: Waiting [2024-10-04T04:57:36.445Z] 988bab9f4d93: Waiting [2024-10-04T04:57:36.445Z] e2be974225ed: Verifying Checksum [2024-10-04T04:57:36.445Z] e2be974225ed: Download complete [2024-10-04T04:57:36.445Z] 988bab9f4d93: Verifying Checksum [2024-10-04T04:57:36.445Z] 988bab9f4d93: Download complete [2024-10-04T04:57:36.445Z] 1469e6f7b9e6: Verifying Checksum [2024-10-04T04:57:36.445Z] 1469e6f7b9e6: Download complete [2024-10-04T04:57:36.704Z] eaf3925da568: Download complete [2024-10-04T04:57:36.704Z] 339a4e72a1f5: Verifying Checksum [2024-10-04T04:57:36.704Z] 339a4e72a1f5: Download complete [2024-10-04T04:57:36.704Z] bde34c3a00c8: Download complete [2024-10-04T04:57:36.704Z] b352a97aabf1: Verifying Checksum [2024-10-04T04:57:36.704Z] b352a97aabf1: Download complete [2024-10-04T04:57:36.704Z] 4872d77fe225: Verifying Checksum [2024-10-04T04:57:36.704Z] 4872d77fe225: Download complete [2024-10-04T04:57:36.704Z] 5851b861e8e6: Verifying Checksum [2024-10-04T04:57:36.704Z] 5851b861e8e6: Download complete [2024-10-04T04:57:36.704Z] b85a868b505f: Verifying Checksum [2024-10-04T04:57:36.704Z] b85a868b505f: Download complete [2024-10-04T04:57:36.963Z] bab4dde63d76: Verifying Checksum [2024-10-04T04:57:36.963Z] bab4dde63d76: Download complete [2024-10-04T04:57:37.900Z] b85a868b505f: Pull complete [2024-10-04T04:57:37.900Z] e2be974225ed: Pull complete [2024-10-04T04:57:38.470Z] 339a4e72a1f5: Pull complete [2024-10-04T04:57:38.470Z] 988bab9f4d93: Pull complete [2024-10-04T04:57:38.729Z] 1469e6f7b9e6: Pull complete [2024-10-04T04:57:38.729Z] eaf3925da568: Pull complete [2024-10-04T04:57:40.633Z] bab4dde63d76: Pull complete [2024-10-04T04:57:40.633Z] bde34c3a00c8: Pull complete [2024-10-04T04:57:40.633Z] b352a97aabf1: Pull complete [2024-10-04T04:57:40.633Z] 4872d77fe225: Pull complete [2024-10-04T04:57:40.633Z] 5851b861e8e6: Pull complete [2024-10-04T04:57:40.633Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-04T04:57:40.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T04:57:40.633Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T04:57:40.944Z] prd-ubuntu20.04-docker-8c-8g-15568 does not seem to be running inside a container [2024-10-04T04:57:40.977Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-04T04:57:43.979Z] $ docker top f80be1d14f4f28862a6e334a7c495b0331a29545549c734a12a625ac216214a1 -eo pid,comm [2024-10-04T04:57:44.032Z] 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-04T04:57:44.032Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-04T04:57:44.203Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T04:57:44.203Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T04:57:44.310Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T04:57:44.315Z] $ docker exec f80be1d14f4f28862a6e334a7c495b0331a29545549c734a12a625ac216214a1 ssh-agent [2024-10-04T04:57:44.410Z] SSH_AUTH_SOCK=/tmp/ssh-lAAOneGnFGem/agent.32 [2024-10-04T04:57:44.410Z] SSH_AGENT_PID=38 [2024-10-04T04:57:44.417Z] Running ssh-add (command line suppressed) [2024-10-04T04:57:44.523Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_4685826980035998272.key (/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_4685826980035998272.key) [2024-10-04T04:57:44.537Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T04:57:44.888Z] + git tag --points-at HEAD [Pipeline] } [2024-10-04T04:57:44.920Z] $ docker exec --env ******** --env ******** f80be1d14f4f28862a6e334a7c495b0331a29545549c734a12a625ac216214a1 ssh-agent -k [2024-10-04T04:57:45.016Z] unset SSH_AUTH_SOCK; [2024-10-04T04:57:45.016Z] unset SSH_AGENT_PID; [2024-10-04T04:57:45.016Z] echo Agent pid 38 killed; [2024-10-04T04:57:45.025Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-04T04:57:45.144Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T04:57:45.144Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T04:57:45.252Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T04:57:45.257Z] $ docker exec f80be1d14f4f28862a6e334a7c495b0331a29545549c734a12a625ac216214a1 ssh-agent [2024-10-04T04:57:45.382Z] SSH_AUTH_SOCK=/tmp/ssh-jSWwn2rqfWnb/agent.72 [2024-10-04T04:57:45.382Z] SSH_AGENT_PID=78 [2024-10-04T04:57:45.387Z] Running ssh-add (command line suppressed) [2024-10-04T04:57:45.488Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_16491052497930999922.key (/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_16491052497930999922.key) [2024-10-04T04:57:45.504Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T04:57:45.861Z] + git semver init [2024-10-04T04:57:46.120Z] 2024-10-04 04:57:46,046 [run_init] DEBUG init version:0.0.0 force:False [2024-10-04T04:57:46.120Z] 2024-10-04 04:57:46,047 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver [2024-10-04T04:57:46.120Z] 2024-10-04 04:57:46,047 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver [2024-10-04T04:57:46.120Z] 2024-10-04 04:57:46,048 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1632, universal_newlines=False, shell=None, istream=None) [2024-10-04T04:57:48.662Z] 2024-10-04 04:57:48,042 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.git/info/exclude [2024-10-04T04:57:48.662Z] 2024-10-04 04:57:48,042 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver/PR-1632 with force:False [2024-10-04T04:57:48.662Z] 2024-10-04 04:57:48,043 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver/PR-1632 [2024-10-04T04:57:48.662Z] 2024-10-04 04:57:48,048 [execute] INFO git cat-file --batch-check [2024-10-04T04:57:48.662Z] 2024-10-04 04:57:48,048 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T04:57:48.662Z] 2024-10-04 04:57:48,055 [execute] INFO git cat-file --batch [2024-10-04T04:57:48.662Z] 2024-10-04 04:57:48,055 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T04:57:48.662Z] 2024-10-04 04:57:48,060 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver/PR-1632 [2024-10-04T04:57:48.662Z] 0.0.0 [Pipeline] } [2024-10-04T04:57:48.697Z] $ docker exec --env ******** --env ******** f80be1d14f4f28862a6e334a7c495b0331a29545549c734a12a625ac216214a1 ssh-agent -k [2024-10-04T04:57:48.804Z] unset SSH_AUTH_SOCK; [2024-10-04T04:57:48.804Z] unset SSH_AGENT_PID; [2024-10-04T04:57:48.804Z] echo Agent pid 78 killed; [2024-10-04T04:57:48.814Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-04T04:57:49.275Z] + git semver [Pipeline] } [2024-10-04T04:57:49.562Z] $ docker stop --time=1 f80be1d14f4f28862a6e334a7c495b0331a29545549c734a12a625ac216214a1 [2024-10-04T04:57:50.856Z] $ docker rm -f --volumes f80be1d14f4f28862a6e334a7c495b0331a29545549c734a12a625ac216214a1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T04:57:51.282Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-04T04:57:51.574Z] Stashed 1 file(s) [Pipeline] echo [2024-10-04T04:57:51.599Z] [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-04T04:57:52.429Z] provisioning config files... [2024-10-04T04:57:52.440Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config13307449993486383630tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T04:57:52.817Z] ---> ****-login.sh [2024-10-04T04:57:52.817Z] nexus3.edgexfoundry.org:10001 [2024-10-04T04:57:52.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T04:57:52.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T04:57:52.817Z] Configure a credential helper to remove this warning. See [2024-10-04T04:57:52.817Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T04:57:52.817Z] [2024-10-04T04:57:52.818Z] Login Succeeded [2024-10-04T04:57:52.818Z] nexus3.edgexfoundry.org:10002 [2024-10-04T04:57:52.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T04:57:52.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T04:57:52.818Z] Configure a credential helper to remove this warning. See [2024-10-04T04:57:52.818Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T04:57:52.818Z] [2024-10-04T04:57:52.818Z] Login Succeeded [2024-10-04T04:57:52.818Z] nexus3.edgexfoundry.org:10003 [2024-10-04T04:57:53.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T04:57:53.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T04:57:53.079Z] Configure a credential helper to remove this warning. See [2024-10-04T04:57:53.079Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T04:57:53.079Z] [2024-10-04T04:57:53.079Z] Login Succeeded [2024-10-04T04:57:53.079Z] nexus3.edgexfoundry.org:10004 [2024-10-04T04:57:53.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T04:57:53.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T04:57:53.079Z] Configure a credential helper to remove this warning. See [2024-10-04T04:57:53.079Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T04:57:53.079Z] [2024-10-04T04:57:53.079Z] Login Succeeded [2024-10-04T04:57:53.079Z] ****.io [2024-10-04T04:57:53.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T04:57:53.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T04:57:53.340Z] Configure a credential helper to remove this warning. See [2024-10-04T04:57:53.340Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T04:57:53.340Z] [2024-10-04T04:57:53.340Z] Login Succeeded [2024-10-04T04:57:53.340Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T04:57:53.375Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T04:57:53.718Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T04:57:53.773Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T04:57:53.817Z] ========================================================= [2024-10-04T04:57:53.817Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-04T04:57:53.817Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T04:57:54.366Z] + 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-04T04:57:54.366Z] Sending build context to Docker daemon 25.4MB [2024-10-04T04:57:54.366Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T04:57:54.366Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-04T04:57:54.632Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-04T04:57:54.632Z] 43c4264eed91: Pulling fs layer [2024-10-04T04:57:54.632Z] 4cc291be95ef: Pulling fs layer [2024-10-04T04:57:54.632Z] 2ac1f1163629: Pulling fs layer [2024-10-04T04:57:54.632Z] 5c3c966382ef: Pulling fs layer [2024-10-04T04:57:54.632Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T04:57:54.632Z] 5d5c8e513c77: Pulling fs layer [2024-10-04T04:57:54.632Z] 9f66e0745190: Pulling fs layer [2024-10-04T04:57:54.632Z] f49a43e4bbc0: Pulling fs layer [2024-10-04T04:57:54.632Z] 561ebcabdf7f: Pulling fs layer [2024-10-04T04:57:54.632Z] 5c3c966382ef: Waiting [2024-10-04T04:57:54.632Z] 4f4fb700ef54: Waiting [2024-10-04T04:57:54.632Z] f49a43e4bbc0: Waiting [2024-10-04T04:57:54.632Z] 561ebcabdf7f: Waiting [2024-10-04T04:57:54.632Z] 5d5c8e513c77: Waiting [2024-10-04T04:57:54.632Z] 9f66e0745190: Waiting [2024-10-04T04:57:54.632Z] 4cc291be95ef: Verifying Checksum [2024-10-04T04:57:54.632Z] 4cc291be95ef: Download complete [2024-10-04T04:57:54.632Z] 5c3c966382ef: Verifying Checksum [2024-10-04T04:57:54.632Z] 5c3c966382ef: Download complete [2024-10-04T04:57:54.632Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T04:57:54.632Z] 4f4fb700ef54: Download complete [2024-10-04T04:57:54.632Z] 5d5c8e513c77: Verifying Checksum [2024-10-04T04:57:54.632Z] 5d5c8e513c77: Download complete [2024-10-04T04:57:54.632Z] 43c4264eed91: Verifying Checksum [2024-10-04T04:57:54.632Z] 43c4264eed91: Download complete [2024-10-04T04:57:54.632Z] 9f66e0745190: Verifying Checksum [2024-10-04T04:57:54.632Z] 9f66e0745190: Download complete [2024-10-04T04:57:54.892Z] 43c4264eed91: Pull complete [2024-10-04T04:57:54.892Z] 561ebcabdf7f: Download complete [2024-10-04T04:57:54.892Z] 4cc291be95ef: Pull complete [2024-10-04T04:57:55.149Z] 2ac1f1163629: Verifying Checksum [2024-10-04T04:57:55.149Z] 2ac1f1163629: Download complete [2024-10-04T04:57:55.408Z] f49a43e4bbc0: Download complete [2024-10-04T04:57:58.691Z] 2ac1f1163629: Pull complete [2024-10-04T04:57:58.691Z] 5c3c966382ef: Pull complete [2024-10-04T04:57:58.691Z] 4f4fb700ef54: Pull complete [2024-10-04T04:57:58.691Z] 5d5c8e513c77: Pull complete [2024-10-04T04:57:58.691Z] 9f66e0745190: Pull complete [2024-10-04T04:58:00.590Z] f49a43e4bbc0: Pull complete [2024-10-04T04:58:00.851Z] 561ebcabdf7f: Pull complete [2024-10-04T04:58:00.851Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-04T04:58:00.851Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-04T04:58:00.851Z] ---> 3a752c3f9dda [2024-10-04T04:58:00.851Z] Step 3/10 : ARG MAKE=make build [2024-10-04T04:58:05.040Z] ---> Running in bf847072181f [2024-10-04T04:58:05.041Z] Removing intermediate container bf847072181f [2024-10-04T04:58:05.041Z] ---> 3b30dbd97f1f [2024-10-04T04:58:05.041Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-04T04:58:05.041Z] ---> Running in e5d9dd4ed22b [2024-10-04T04:58:05.041Z] Removing intermediate container e5d9dd4ed22b [2024-10-04T04:58:05.041Z] ---> 592b964d0790 [2024-10-04T04:58:05.041Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-04T04:58:05.041Z] ---> Running in 8f654c342b31 [2024-10-04T04:58:05.041Z] Removing intermediate container 8f654c342b31 [2024-10-04T04:58:05.041Z] ---> e6a2f66e625f [2024-10-04T04:58:05.041Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-04T04:58:05.299Z] ---> Running in 65b1b24f3939 [2024-10-04T04:58:05.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T04:58:05.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T04:58:05.825Z] OK: 246 MiB in 54 packages [2024-10-04T04:58:06.089Z] Removing intermediate container 65b1b24f3939 [2024-10-04T04:58:06.089Z] ---> 89c977178b4d [2024-10-04T04:58:06.089Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-04T04:58:06.347Z] ---> 5e72a1e8395f [2024-10-04T04:58:06.347Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T04:58:06.347Z] ---> Running in 147411bb29dc [2024-10-04T04:58:07.194Z] Still waiting to schedule task [2024-10-04T04:58:07.194Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-15567’ is offline [2024-10-04T04:58:53.076Z] Removing intermediate container 147411bb29dc [2024-10-04T04:58:53.076Z] ---> bc2ab8dfa255 [2024-10-04T04:58:53.076Z] Step 9/10 : COPY . . [2024-10-04T04:58:53.646Z] ---> 1790e6525006 [2024-10-04T04:58:53.646Z] Step 10/10 : RUN ${MAKE} [2024-10-04T04:58:53.646Z] ---> Running in 0fc8e4dfe7f3 [2024-10-04T04:58:53.906Z] noop [2024-10-04T04:58:54.473Z] Removing intermediate container 0fc8e4dfe7f3 [2024-10-04T04:58:54.473Z] ---> b723894ac862 [2024-10-04T04:58:54.473Z] Successfully built b723894ac862 [2024-10-04T04:58:54.473Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T04:58:54.973Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T04:58:54.973Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T04:58:55.162Z] prd-ubuntu20.04-docker-8c-8g-15568 does not seem to be running inside a container [2024-10-04T04:58:55.197Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-04T04:58:55.532Z] $ docker top a7df5060bd65add0139e154567d5121b974174a483baf7ef69a88ac6188b5fe6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T04:58:55.951Z] + go version [2024-10-04T04:58:55.951Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-04T04:58:55.986Z] $ docker stop --time=1 a7df5060bd65add0139e154567d5121b974174a483baf7ef69a88ac6188b5fe6 [2024-10-04T04:58:57.220Z] $ docker rm -f --volumes a7df5060bd65add0139e154567d5121b974174a483baf7ef69a88ac6188b5fe6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T04:58:58.015Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T04:58:58.015Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T04:58:58.181Z] prd-ubuntu20.04-docker-8c-8g-15568 does not seem to be running inside a container [2024-10-04T04:58:58.214Z] $ 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-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-04T04:58:58.542Z] $ docker top 4b67fb7485f533a3d1a779087179bdeda94d0cb9ecb9e8d3636cbe0fb3092739 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T04:58:59.070Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1632 [Pipeline] fileExists [Pipeline] sh [2024-10-04T04:58:59.455Z] + make test [2024-10-04T04:58:59.455Z] go test -race -coverprofile=coverage.out ./... [2024-10-04T04:59:07.590Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-04T04:59:34.147Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-04T04:59:34.147Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-04T04:59:34.147Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-04T04:59:34.147Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-04T04:59:34.147Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-04T04:59:34.147Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-04T04:59:34.147Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-04T04:59:34.147Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.028s coverage: 26.0% of statements [2024-10-04T04:59:34.147Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.032s coverage: 79.4% of statements [2024-10-04T04:59:34.147Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.044s coverage: 86.0% of statements [2024-10-04T04:59:34.147Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-04T04:59:34.147Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-04T04:59:34.147Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-04T04:59:34.147Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-04T04:59:34.147Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.087s coverage: 45.2% of statements [2024-10-04T04:59:35.104Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-04T04:59:37.643Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.045s coverage: 14.1% of statements [2024-10-04T04:59:37.643Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.187s coverage: 44.6% of statements [2024-10-04T04:59:37.643Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.048s coverage: 68.5% of statements [2024-10-04T04:59:37.643Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.082s coverage: 89.2% of statements [2024-10-04T04:59:37.643Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.051s coverage: 5.3% of statements [2024-10-04T05:00:09.724Z] GO111MODULE=on go vet ./... [2024-10-04T05:00:12.254Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T05:00:12.254Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T05:00:12.513Z] ./bin/test-attribution-txt.sh [2024-10-04T05:00:12.513Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-10-04T05:00:12.513Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-10-04T05:00:12.562Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T05:00:12.603Z] $ docker stop --time=1 4b67fb7485f533a3d1a779087179bdeda94d0cb9ecb9e8d3636cbe0fb3092739 [2024-10-04T05:00:18.173Z] $ docker rm -f --volumes 4b67fb7485f533a3d1a779087179bdeda94d0cb9ecb9e8d3636cbe0fb3092739 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T05:00:18.970Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T05:00:19.084Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-04T05:00:19.883Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T05:00:20.201Z] + ls -al . [2024-10-04T05:00:20.201Z] total 712 [2024-10-04T05:00:20.201Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 04:58 . [2024-10-04T05:00:20.201Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:57 .. [2024-10-04T05:00:20.201Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 04:57 .dockerignore [2024-10-04T05:00:20.201Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 04:59 .git [2024-10-04T05:00:20.201Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:57 .github [2024-10-04T05:00:20.201Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 4 04:57 .gitignore [2024-10-04T05:00:20.202Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 04:57 .golangci.yml [2024-10-04T05:00:20.202Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 04:57 .semver [2024-10-04T05:00:20.202Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 4 04:57 CHANGELOG.md [2024-10-04T05:00:20.202Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 04:57 GOVERNANCE.md [2024-10-04T05:00:20.202Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 4 04:57 Jenkinsfile [2024-10-04T05:00:20.202Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 04:57 LICENSE [2024-10-04T05:00:20.202Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 4 04:57 Makefile [2024-10-04T05:00:20.202Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 04:57 OWNERS.md [2024-10-04T05:00:20.202Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 4 04:57 README.md [2024-10-04T05:00:20.202Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 04:57 VERSION [2024-10-04T05:00:20.202Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 04:57 bin [2024-10-04T05:00:20.202Z] -rw-r--r-- 1 jenkins jenkins 465883 Oct 4 04:59 coverage.out [2024-10-04T05:00:20.202Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 04:57 example [2024-10-04T05:00:20.202Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 4 04:57 go.mod [2024-10-04T05:00:20.202Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 4 04:57 go.sum [2024-10-04T05:00:20.202Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 4 04:57 internal [2024-10-04T05:00:20.202Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:57 openapi [2024-10-04T05:00:20.202Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 04:57 pkg [2024-10-04T05:00:20.202Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:57 snap [2024-10-04T05:00:20.202Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 04:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T05:00:20.621Z] + 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=3f79d91e42934c0c8204e64f9535ff278efb44e2 --label arch=amd64 --label version=0.0.0 . [2024-10-04T05:00:20.621Z] Sending build context to Docker daemon 25.87MB [2024-10-04T05:00:20.621Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T05:00:20.621Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-04T05:00:20.621Z] ---> b723894ac862 [2024-10-04T05:00:20.621Z] Step 3/24 : ARG MAKE=make build [2024-10-04T05:00:21.190Z] ---> Running in 388f1f714bbf [2024-10-04T05:00:21.190Z] Removing intermediate container 388f1f714bbf [2024-10-04T05:00:21.190Z] ---> 9bb0612a0564 [2024-10-04T05:00:21.190Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-04T05:00:21.190Z] ---> Running in fd1705172e60 [2024-10-04T05:00:21.190Z] Removing intermediate container fd1705172e60 [2024-10-04T05:00:21.190Z] ---> 9606eb9b2c65 [2024-10-04T05:00:21.190Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-04T05:00:21.190Z] ---> Running in ae1a44b5ae9e [2024-10-04T05:00:21.449Z] Removing intermediate container ae1a44b5ae9e [2024-10-04T05:00:21.449Z] ---> 012031620adf [2024-10-04T05:00:21.449Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-04T05:00:21.449Z] ---> Running in 2bfe1f1994b7 [2024-10-04T05:00:21.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T05:00:21.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T05:00:22.279Z] OK: 246 MiB in 54 packages [2024-10-04T05:00:22.538Z] Removing intermediate container 2bfe1f1994b7 [2024-10-04T05:00:22.538Z] ---> b8fd4f2c45a7 [2024-10-04T05:00:22.538Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-04T05:00:22.538Z] ---> 4e33786b6194 [2024-10-04T05:00:22.538Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T05:00:22.538Z] ---> Running in 3f2b17020595 [2024-10-04T05:00:23.105Z] Removing intermediate container 3f2b17020595 [2024-10-04T05:00:23.105Z] ---> 16c28e6b283e [2024-10-04T05:00:23.105Z] Step 9/24 : COPY . . [2024-10-04T05:00:24.044Z] ---> 73605aa5f6c2 [2024-10-04T05:00:24.044Z] Step 10/24 : RUN ${MAKE} [2024-10-04T05:00:24.044Z] ---> Running in e89183056782 [2024-10-04T05:00:24.303Z] 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-04T05:00:56.385Z] Removing intermediate container e89183056782 [2024-10-04T05:00:56.385Z] ---> dab48f7c5191 [2024-10-04T05:00:56.385Z] Step 11/24 : FROM alpine:3.20 [2024-10-04T05:00:56.385Z] 3.20: Pulling from library/alpine [2024-10-04T05:00:56.385Z] 43c4264eed91: Already exists [2024-10-04T05:00:56.385Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T05:00:56.385Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T05:00:56.385Z] ---> 91ef0af61f39 [2024-10-04T05:00:56.385Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-04T05:00:56.385Z] ---> Running in 3b851fb2eb04 [2024-10-04T05:00:56.385Z] Removing intermediate container 3b851fb2eb04 [2024-10-04T05:00:56.385Z] ---> b771161fbf87 [2024-10-04T05:00:56.385Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-04T05:00:56.385Z] ---> Running in a93bca67ba4e [2024-10-04T05:00:56.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T05:00:56.904Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T05:00:57.164Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T05:00:57.164Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T05:00:57.164Z] OK: 8 MiB in 15 packages [2024-10-04T05:00:57.423Z] Removing intermediate container a93bca67ba4e [2024-10-04T05:00:57.423Z] ---> 536ea58ca396 [2024-10-04T05:00:57.423Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-04T05:00:57.423Z] ---> Running in b4941219144f [2024-10-04T05:00:57.684Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T05:00:57.684Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T05:00:57.943Z] Upgrading critical system libraries and apk-tools: [2024-10-04T05:00:57.943Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T05:00:57.943Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T05:00:58.203Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T05:00:58.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T05:00:58.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T05:00:58.466Z] OK: 8 MiB in 15 packages [2024-10-04T05:00:58.734Z] Removing intermediate container b4941219144f [2024-10-04T05:00:58.734Z] ---> faa4b7714cba [2024-10-04T05:00:58.734Z] Step 15/24 : WORKDIR / [2024-10-04T05:00:58.734Z] ---> Running in a3110758d519 [2024-10-04T05:00:58.734Z] Removing intermediate container a3110758d519 [2024-10-04T05:00:58.734Z] ---> a02213a8a006 [2024-10-04T05:00:58.734Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-04T05:00:58.992Z] ---> 208936b0afc2 [2024-10-04T05:00:58.992Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-04T05:01:00.376Z] ---> 5f9883123d7c [2024-10-04T05:01:00.376Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-04T05:01:00.376Z] ---> 73c09b16628b [2024-10-04T05:01:00.376Z] Step 19/24 : EXPOSE 59999 [2024-10-04T05:01:00.376Z] ---> Running in 09be0a1f4dc8 [2024-10-04T05:01:00.376Z] Removing intermediate container 09be0a1f4dc8 [2024-10-04T05:01:00.376Z] ---> fb3d7e7a693a [2024-10-04T05:01:00.376Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-04T05:01:00.635Z] ---> Running in da1706fd8013 [2024-10-04T05:01:00.635Z] Removing intermediate container da1706fd8013 [2024-10-04T05:01:00.635Z] ---> d9f3693379aa [2024-10-04T05:01:00.635Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-04T05:01:00.635Z] ---> Running in bcbf83b71b60 [2024-10-04T05:01:00.635Z] Removing intermediate container bcbf83b71b60 [2024-10-04T05:01:00.635Z] ---> c15fa4b0837b [2024-10-04T05:01:00.635Z] Step 22/24 : LABEL arch=amd64 [2024-10-04T05:01:00.635Z] ---> Running in 6d6a89e24831 [2024-10-04T05:01:00.635Z] Removing intermediate container 6d6a89e24831 [2024-10-04T05:01:00.635Z] ---> 23ca093117c4 [2024-10-04T05:01:00.635Z] Step 23/24 : LABEL git_sha=3f79d91e42934c0c8204e64f9535ff278efb44e2 [2024-10-04T05:01:00.894Z] ---> Running in 2825feeecbad [2024-10-04T05:01:00.894Z] Removing intermediate container 2825feeecbad [2024-10-04T05:01:00.894Z] ---> aec74ad01b03 [2024-10-04T05:01:00.894Z] Step 24/24 : LABEL version=0.0.0 [2024-10-04T05:01:00.894Z] ---> Running in dff2539730e1 [2024-10-04T05:01:00.894Z] Removing intermediate container dff2539730e1 [2024-10-04T05:01:00.894Z] ---> 54623c2e8f65 [2024-10-04T05:01:00.894Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T05:01:00.894Z] Successfully built 54623c2e8f65 [2024-10-04T05:01:00.894Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T05:01:01.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T05:01:01.932Z] [2024-10-04T05:01:01.932Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T05:01:02.333Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T05:01:02.333Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-04T05:01:02.333Z] 5eb5b503b376: Pulling fs layer [2024-10-04T05:01:02.333Z] 5c69ac0246d0: Pulling fs layer [2024-10-04T05:01:02.333Z] ec43610c2a17: Pulling fs layer [2024-10-04T05:01:02.333Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-04T05:01:02.333Z] 33b1e0a273af: Pulling fs layer [2024-10-04T05:01:02.333Z] 3a2ae6a8a46f: Waiting [2024-10-04T05:01:02.333Z] 5d3b04190fa2: Pulling fs layer [2024-10-04T05:01:02.333Z] 2f39f015ded8: Pulling fs layer [2024-10-04T05:01:02.333Z] 5d3b04190fa2: Waiting [2024-10-04T05:01:02.333Z] 33b1e0a273af: Waiting [2024-10-04T05:01:02.333Z] 2f39f015ded8: Waiting [2024-10-04T05:01:02.333Z] 5c69ac0246d0: Verifying Checksum [2024-10-04T05:01:02.333Z] 5c69ac0246d0: Download complete [2024-10-04T05:01:02.333Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-04T05:01:02.333Z] 3a2ae6a8a46f: Download complete [2024-10-04T05:01:02.333Z] 33b1e0a273af: Verifying Checksum [2024-10-04T05:01:02.333Z] 33b1e0a273af: Download complete [2024-10-04T05:01:02.333Z] 5d3b04190fa2: Download complete [2024-10-04T05:01:02.592Z] ec43610c2a17: Download complete [2024-10-04T05:01:02.592Z] 5eb5b503b376: Verifying Checksum [2024-10-04T05:01:02.592Z] 5eb5b503b376: Download complete [2024-10-04T05:01:03.158Z] 2f39f015ded8: Download complete [2024-10-04T05:01:03.738Z] 5eb5b503b376: Pull complete [2024-10-04T05:01:03.738Z] 5c69ac0246d0: Pull complete [2024-10-04T05:01:04.311Z] ec43610c2a17: Pull complete [2024-10-04T05:01:04.311Z] 3a2ae6a8a46f: Pull complete [2024-10-04T05:01:04.574Z] 33b1e0a273af: Pull complete [2024-10-04T05:01:04.574Z] 5d3b04190fa2: Pull complete [2024-10-04T05:01:08.767Z] 2f39f015ded8: Pull complete [2024-10-04T05:01:08.767Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-04T05:01:08.767Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T05:01:08.767Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T05:01:09.053Z] prd-ubuntu20.04-docker-8c-8g-15568 does not seem to be running inside a container [2024-10-04T05:01:09.078Z] $ 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-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-04T05:01:12.690Z] $ docker top 1f6841be572fc5dee1a3969364447568ac24152305dc4fb4b97efa02fbff3557 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:01:13.167Z] ---> job-cost.sh [2024-10-04T05:01:13.167Z] lf-activate-venv: SKIPPING [2024-10-04T05:01:13.167Z] INFO: No Stack... [2024-10-04T05:01:13.426Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T05:01:13.995Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T05:01:14.326Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives/cost.csv [2024-10-04T05:01:14.326Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T05:01:14.377Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-1-stack-cost] [2024-10-04T05:01:14.384Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1632-1-stack-cost] did not exist. Created. [2024-10-04T05:01:14.391Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T05:01:14.802Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-04T05:01:14.860Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T05:01:14.892Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T05:01:14.976Z] $ docker stop --time=1 1f6841be572fc5dee1a3969364447568ac24152305dc4fb4b97efa02fbff3557 [2024-10-04T05:01:16.170Z] $ docker rm -f --volumes 1f6841be572fc5dee1a3969364447568ac24152305dc4fb4b97efa02fbff3557 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-04T05:03:35.048Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15591 in /w/workspace/gexfoundry_device-sdk-go_PR-1632 [Pipeline] { [Pipeline] ws [2024-10-04T05:03:35.129Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-10-04T05:03:35.221Z] The recommended git tool is: git [2024-10-04T05:03:41.355Z] using credential edgex-jenkins-ssh [2024-10-04T05:03:41.378Z] Cloning the remote Git repository [2024-10-04T05:03:41.422Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-10-04T05:03:41.550Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-10-04T05:03:41.708Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-04T05:03:41.709Z] > git --version # timeout=10 [2024-10-04T05:03:41.747Z] > git --version # 'git version 2.25.1' [2024-10-04T05:03:41.750Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T05:03:42.037Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T05:03:46.199Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-04T05:03:46.250Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T05:03:48.082Z] Merging remotes/origin/main commit 1b8f5c3fc1bdd6f1c6be262479a15f7fdf116ab9 into PR head commit 3f79d91e42934c0c8204e64f9535ff278efb44e2 [2024-10-04T05:03:48.503Z] Merge succeeded, producing 3f79d91e42934c0c8204e64f9535ff278efb44e2 [2024-10-04T05:03:48.504Z] Checking out Revision 3f79d91e42934c0c8204e64f9535ff278efb44e2 (PR-1632) [2024-10-04T05:03:47.322Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-04T05:03:47.404Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-04T05:03:47.406Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T05:03:47.480Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1632/head:refs/remotes/origin/PR-1632 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-04T05:03:48.121Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T05:03:48.209Z] > git checkout -f 3f79d91e42934c0c8204e64f9535ff278efb44e2 # timeout=10 [2024-10-04T05:03:48.337Z] > git remote # timeout=10 [2024-10-04T05:03:48.366Z] > git config --get remote.origin.url # timeout=10 [2024-10-04T05:03:48.389Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T05:03:48.415Z] > git merge 1b8f5c3fc1bdd6f1c6be262479a15f7fdf116ab9 # timeout=10 [2024-10-04T05:03:48.465Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-04T05:03:48.510Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T05:03:49.395Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2024-10-04T05:03:49.465Z] > git --version # timeout=10 [2024-10-04T05:03:49.515Z] > git --version # 'git version 2.25.1' [2024-10-04T05:03:49.559Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-04T05:03:48.554Z] > git checkout -f 3f79d91e42934c0c8204e64f9535ff278efb44e2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T05:03:55.024Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-04T05:03:55.024Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T05:03:55.024Z] Dload Upload Total Spent Left Speed [2024-10-04T05:03:55.024Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 111k 0 --:--:-- --:--:-- --:--:-- 111k [Pipeline] sh [2024-10-04T05:03:55.373Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-04T05:03:55.724Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-04T05:03:55.724Z] + sudo tee /etc/docker/daemon.new [2024-10-04T05:03:55.724Z] { [2024-10-04T05:03:55.724Z] "registry-mirrors": [ [2024-10-04T05:03:55.724Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-04T05:03:55.724Z] ], [2024-10-04T05:03:55.724Z] "bip": "10.250.0.254/24", [2024-10-04T05:03:55.724Z] "hosts": [ [2024-10-04T05:03:55.724Z] "tcp://0.0.0.0:5555", [2024-10-04T05:03:55.725Z] "unix:///var/run/docker.sock" [2024-10-04T05:03:55.725Z] ], [2024-10-04T05:03:55.725Z] "mtu": 1458, [2024-10-04T05:03:55.725Z] "selinux-enabled": true, [2024-10-04T05:03:55.725Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-04T05:03:55.725Z] } [Pipeline] sh [2024-10-04T05:03:56.088Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-04T05:03:56.442Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T05:04:14.802Z] provisioning config files... [2024-10-04T05:04:14.834Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2316112905691585123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:04:15.393Z] ---> ****-login.sh [2024-10-04T05:04:15.393Z] nexus3.edgexfoundry.org:10001 [2024-10-04T05:04:15.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T05:04:15.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T05:04:15.989Z] Configure a credential helper to remove this warning. See [2024-10-04T05:04:15.989Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T05:04:15.989Z] [2024-10-04T05:04:15.989Z] Login Succeeded [2024-10-04T05:04:15.989Z] nexus3.edgexfoundry.org:10002 [2024-10-04T05:04:16.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T05:04:16.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T05:04:16.533Z] Configure a credential helper to remove this warning. See [2024-10-04T05:04:16.533Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T05:04:16.533Z] [2024-10-04T05:04:16.533Z] Login Succeeded [2024-10-04T05:04:16.533Z] nexus3.edgexfoundry.org:10003 [2024-10-04T05:04:16.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T05:04:16.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T05:04:16.803Z] Configure a credential helper to remove this warning. See [2024-10-04T05:04:16.803Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T05:04:16.803Z] [2024-10-04T05:04:16.803Z] Login Succeeded [2024-10-04T05:04:16.803Z] nexus3.edgexfoundry.org:10004 [2024-10-04T05:04:17.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T05:04:17.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T05:04:17.076Z] Configure a credential helper to remove this warning. See [2024-10-04T05:04:17.076Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T05:04:17.076Z] [2024-10-04T05:04:17.076Z] Login Succeeded [2024-10-04T05:04:17.076Z] ****.io [2024-10-04T05:04:17.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T05:04:17.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T05:04:17.612Z] Configure a credential helper to remove this warning. See [2024-10-04T05:04:17.612Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T05:04:17.612Z] [2024-10-04T05:04:17.612Z] Login Succeeded [2024-10-04T05:04:17.612Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T05:04:17.644Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T05:04:18.099Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T05:04:18.151Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T05:04:18.199Z] ========================================================= [2024-10-04T05:04:18.199Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-04T05:04:18.199Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T05:04:18.740Z] + 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-04T05:04:19.329Z] Sending build context to Docker daemon 13.16MB [2024-10-04T05:04:19.329Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T05:04:19.329Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-04T05:04:19.603Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-04T05:04:19.603Z] cf04c63912e1: Pulling fs layer [2024-10-04T05:04:19.603Z] 55b35a11ae5e: Pulling fs layer [2024-10-04T05:04:19.603Z] a37a00ec5f00: Pulling fs layer [2024-10-04T05:04:19.603Z] 50b3750afda1: Pulling fs layer [2024-10-04T05:04:19.603Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T05:04:19.603Z] 80978eb59214: Pulling fs layer [2024-10-04T05:04:19.603Z] c9f46d7d2bd2: Pulling fs layer [2024-10-04T05:04:19.603Z] c5a475d317c9: Pulling fs layer [2024-10-04T05:04:19.603Z] 50b3750afda1: Waiting [2024-10-04T05:04:19.603Z] 80978eb59214: Waiting [2024-10-04T05:04:19.603Z] 4f4fb700ef54: Waiting [2024-10-04T05:04:19.603Z] c9f46d7d2bd2: Waiting [2024-10-04T05:04:19.603Z] c5a475d317c9: Waiting [2024-10-04T05:04:19.603Z] 55b35a11ae5e: Verifying Checksum [2024-10-04T05:04:19.603Z] 55b35a11ae5e: Download complete [2024-10-04T05:04:19.603Z] 50b3750afda1: Verifying Checksum [2024-10-04T05:04:19.603Z] 50b3750afda1: Download complete [2024-10-04T05:04:19.603Z] 4f4fb700ef54: Download complete [2024-10-04T05:04:19.603Z] 80978eb59214: Verifying Checksum [2024-10-04T05:04:19.603Z] 80978eb59214: Download complete [2024-10-04T05:04:19.603Z] cf04c63912e1: Verifying Checksum [2024-10-04T05:04:19.603Z] cf04c63912e1: Download complete [2024-10-04T05:04:20.200Z] c5a475d317c9: Verifying Checksum [2024-10-04T05:04:20.200Z] c5a475d317c9: Download complete [2024-10-04T05:04:20.787Z] cf04c63912e1: Pull complete [2024-10-04T05:04:21.779Z] 55b35a11ae5e: Pull complete [2024-10-04T05:04:21.779Z] a37a00ec5f00: Verifying Checksum [2024-10-04T05:04:21.779Z] a37a00ec5f00: Download complete [2024-10-04T05:04:22.836Z] c9f46d7d2bd2: Verifying Checksum [2024-10-04T05:04:22.836Z] c9f46d7d2bd2: Download complete [2024-10-04T05:04:35.175Z] a37a00ec5f00: Pull complete [2024-10-04T05:04:35.175Z] 50b3750afda1: Pull complete [2024-10-04T05:04:35.443Z] 4f4fb700ef54: Pull complete [2024-10-04T05:04:35.711Z] 80978eb59214: Pull complete [2024-10-04T05:04:44.017Z] c9f46d7d2bd2: Pull complete [2024-10-04T05:04:45.428Z] c5a475d317c9: Pull complete [2024-10-04T05:04:45.428Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-04T05:04:45.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-04T05:04:45.428Z] ---> be29e6b0f0d4 [2024-10-04T05:04:45.428Z] Step 3/10 : ARG MAKE=make build [2024-10-04T05:04:47.385Z] ---> Running in 5ab7ed8a616c [2024-10-04T05:04:47.385Z] Removing intermediate container 5ab7ed8a616c [2024-10-04T05:04:47.385Z] ---> a8f9425adae5 [2024-10-04T05:04:47.385Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-04T05:04:47.385Z] ---> Running in 8fb1583ff302 [2024-10-04T05:04:47.653Z] Removing intermediate container 8fb1583ff302 [2024-10-04T05:04:47.653Z] ---> 5c6d95e22d19 [2024-10-04T05:04:47.653Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-04T05:04:47.653Z] ---> Running in a23307d83210 [2024-10-04T05:04:47.923Z] Removing intermediate container a23307d83210 [2024-10-04T05:04:47.923Z] ---> 0982af35686b [2024-10-04T05:04:47.923Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-04T05:04:47.923Z] ---> Running in c0c92a5e190f [2024-10-04T05:04:49.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T05:04:49.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T05:04:50.755Z] OK: 238 MiB in 54 packages [2024-10-04T05:04:51.336Z] Removing intermediate container c0c92a5e190f [2024-10-04T05:04:51.336Z] ---> bff77dfa3880 [2024-10-04T05:04:51.336Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-04T05:04:51.917Z] ---> b5f940601dc6 [2024-10-04T05:04:51.917Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T05:04:51.917Z] ---> Running in 9dff091b5602 [2024-10-04T05:06:43.720Z] Removing intermediate container 9dff091b5602 [2024-10-04T05:06:43.720Z] ---> 9645d0685cb3 [2024-10-04T05:06:43.720Z] Step 9/10 : COPY . . [2024-10-04T05:06:43.720Z] ---> e30da488e306 [2024-10-04T05:06:43.720Z] Step 10/10 : RUN ${MAKE} [2024-10-04T05:06:43.720Z] ---> Running in d4cc6d772f3e [2024-10-04T05:06:43.720Z] noop [2024-10-04T05:06:43.720Z] Removing intermediate container d4cc6d772f3e [2024-10-04T05:06:43.720Z] ---> a0342ca4c158 [2024-10-04T05:06:43.720Z] Successfully built a0342ca4c158 [2024-10-04T05:06:43.720Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T05:06:44.257Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T05:06:44.257Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T05:06:44.518Z] prd-ubuntu20.04-docker-arm64-4c-16g-15591 does not seem to be running inside a container [2024-10-04T05:06:44.598Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T05:06:45.730Z] $ docker top abadb095423770a99352b0e651191dc86b036c93093d77d6a78b33e165b3ade5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T05:06:46.620Z] + go version [2024-10-04T05:06:46.620Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-04T05:06:46.654Z] $ docker stop --time=1 abadb095423770a99352b0e651191dc86b036c93093d77d6a78b33e165b3ade5 [2024-10-04T05:06:48.232Z] $ docker rm -f --volumes abadb095423770a99352b0e651191dc86b036c93093d77d6a78b33e165b3ade5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T05:06:49.162Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T05:06:49.162Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T05:06:49.431Z] prd-ubuntu20.04-docker-arm64-4c-16g-15591 does not seem to be running inside a container [2024-10-04T05:06:49.492Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T05:06:50.650Z] $ docker top 4389c53e33f4cde6ad1fc5baf375099662974518daf87aab5bbc998f2f9aecf5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T05:06:51.244Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-04T05:06:51.907Z] + make test [2024-10-04T05:06:51.907Z] go test -race -coverprofile=coverage.out ./... [2024-10-04T05:07:38.773Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-04T05:11:00.584Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-04T05:11:00.584Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-04T05:11:00.584Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-04T05:11:00.584Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-04T05:11:00.584Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-04T05:11:08.791Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.152s coverage: 26.0% of statements [2024-10-04T05:11:11.379Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.183s coverage: 79.4% of statements [2024-10-04T05:11:22.598Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-04T05:11:22.598Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-04T05:11:22.598Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.262s coverage: 86.0% of statements [2024-10-04T05:11:32.673Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-04T05:11:33.251Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.562s coverage: 45.2% of statements [2024-10-04T05:11:35.970Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.279s coverage: 14.1% of statements [2024-10-04T05:11:35.970Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.992s coverage: 44.6% of statements [2024-10-04T05:11:40.249Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-04T05:11:40.249Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-04T05:11:40.249Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-04T05:11:41.658Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.370s coverage: 68.5% of statements [2024-10-04T05:11:47.039Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.348s coverage: 89.2% of statements [2024-10-04T05:11:52.378Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-04T05:11:52.962Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.279s coverage: 5.3% of statements [2024-10-04T05:11:54.365Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-04T05:11:54.365Z] GO111MODULE=on go vet ./... [2024-10-04T05:15:16.129Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T05:15:16.129Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T05:15:16.129Z] ./bin/test-attribution-txt.sh [2024-10-04T05:15:16.129Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-10-04T05:15:16.129Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-10-04T05:15:16.173Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T05:15:16.211Z] $ docker stop --time=1 4389c53e33f4cde6ad1fc5baf375099662974518daf87aab5bbc998f2f9aecf5 [2024-10-04T05:15:18.477Z] $ docker rm -f --volumes 4389c53e33f4cde6ad1fc5baf375099662974518daf87aab5bbc998f2f9aecf5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T05:15:20.901Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T05:15:20.965Z] Warning: overwriting stash ‘coverage-report’ [2024-10-04T05:15:21.690Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T05:15:22.379Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T05:15:22.717Z] + ls -al . [2024-10-04T05:15:22.717Z] total 708 [2024-10-04T05:15:22.717Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 05:06 . [2024-10-04T05:15:22.717Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 05:03 .. [2024-10-04T05:15:22.717Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 05:03 .dockerignore [2024-10-04T05:15:22.717Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 05:03 .git [2024-10-04T05:15:22.717Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:03 .github [2024-10-04T05:15:22.717Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 4 05:03 .gitignore [2024-10-04T05:15:22.717Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 05:03 .golangci.yml [2024-10-04T05:15:22.717Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 4 05:03 CHANGELOG.md [2024-10-04T05:15:22.717Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 05:03 GOVERNANCE.md [2024-10-04T05:15:22.717Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 4 05:03 Jenkinsfile [2024-10-04T05:15:22.717Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 05:03 LICENSE [2024-10-04T05:15:22.717Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 4 05:03 Makefile [2024-10-04T05:15:22.717Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 05:03 OWNERS.md [2024-10-04T05:15:22.717Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 4 05:03 README.md [2024-10-04T05:15:22.717Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 04:57 VERSION [2024-10-04T05:15:22.717Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 05:03 bin [2024-10-04T05:15:22.717Z] -rw-r--r-- 1 jenkins jenkins 465882 Oct 4 05:11 coverage.out [2024-10-04T05:15:22.717Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 05:03 example [2024-10-04T05:15:22.717Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 4 05:03 go.mod [2024-10-04T05:15:22.717Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 4 05:03 go.sum [2024-10-04T05:15:22.717Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 4 05:03 internal [2024-10-04T05:15:22.717Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:03 openapi [2024-10-04T05:15:22.717Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 05:03 pkg [2024-10-04T05:15:22.717Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 05:03 snap [2024-10-04T05:15:22.717Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T05:15:23.204Z] + 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=3f79d91e42934c0c8204e64f9535ff278efb44e2 --label arch=arm64 --label version=0.0.0 . [2024-10-04T05:15:23.821Z] Sending build context to Docker daemon 13.62MB [2024-10-04T05:15:23.821Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T05:15:23.821Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-04T05:15:23.821Z] ---> a0342ca4c158 [2024-10-04T05:15:23.821Z] Step 3/24 : ARG MAKE=make build [2024-10-04T05:15:24.086Z] ---> Running in 561bc19cc5c4 [2024-10-04T05:15:24.352Z] Removing intermediate container 561bc19cc5c4 [2024-10-04T05:15:24.352Z] ---> b41c715a5c9f [2024-10-04T05:15:24.352Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-04T05:15:24.352Z] ---> Running in 5addf7e480ff [2024-10-04T05:15:24.621Z] Removing intermediate container 5addf7e480ff [2024-10-04T05:15:24.621Z] ---> f62cebb72b88 [2024-10-04T05:15:24.621Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-04T05:15:24.621Z] ---> Running in 1c56d6db93a9 [2024-10-04T05:15:25.225Z] Removing intermediate container 1c56d6db93a9 [2024-10-04T05:15:25.225Z] ---> 6b2309e087a0 [2024-10-04T05:15:25.225Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-04T05:15:25.225Z] ---> Running in 3b9b8dd67042 [2024-10-04T05:15:26.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T05:15:26.502Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T05:15:27.907Z] OK: 238 MiB in 54 packages [2024-10-04T05:15:28.868Z] Removing intermediate container 3b9b8dd67042 [2024-10-04T05:15:28.868Z] ---> fa4e45a3cc4d [2024-10-04T05:15:28.868Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-04T05:15:29.224Z] ---> bcc0b2ba58ba [2024-10-04T05:15:29.224Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T05:15:29.224Z] ---> Running in 7bccc791da6d [2024-10-04T05:15:31.295Z] Removing intermediate container 7bccc791da6d [2024-10-04T05:15:31.295Z] ---> 864cad8b9356 [2024-10-04T05:15:31.295Z] Step 9/24 : COPY . . [2024-10-04T05:15:32.736Z] ---> b7f87d7bfe17 [2024-10-04T05:15:32.736Z] Step 10/24 : RUN ${MAKE} [2024-10-04T05:15:32.736Z] ---> Running in 22cb76256b0f [2024-10-04T05:15:33.697Z] 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-04T05:18:58.080Z] Removing intermediate container 22cb76256b0f [2024-10-04T05:18:58.080Z] ---> 95beecaa90a9 [2024-10-04T05:18:58.081Z] Step 11/24 : FROM alpine:3.20 [2024-10-04T05:18:58.081Z] 3.20: Pulling from library/alpine [2024-10-04T05:18:58.081Z] cf04c63912e1: Already exists [2024-10-04T05:18:58.081Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T05:18:58.081Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T05:18:58.081Z] ---> c157a85ed455 [2024-10-04T05:18:58.081Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-04T05:18:58.081Z] ---> Running in 15907aca8a72 [2024-10-04T05:18:58.081Z] Removing intermediate container 15907aca8a72 [2024-10-04T05:18:58.081Z] ---> 7a464dce110f [2024-10-04T05:18:58.081Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-04T05:18:58.081Z] ---> Running in b066c92cc6b3 [2024-10-04T05:18:59.039Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T05:18:59.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T05:19:00.710Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T05:19:00.710Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T05:19:00.710Z] OK: 9 MiB in 15 packages [2024-10-04T05:19:01.670Z] Removing intermediate container b066c92cc6b3 [2024-10-04T05:19:01.670Z] ---> 4970c125573e [2024-10-04T05:19:01.670Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-04T05:19:01.670Z] ---> Running in 6131d109554d [2024-10-04T05:19:02.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T05:19:02.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T05:19:04.303Z] Upgrading critical system libraries and apk-tools: [2024-10-04T05:19:04.303Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T05:19:04.303Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T05:19:04.303Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T05:19:04.303Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T05:19:04.572Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T05:19:05.982Z] OK: 9 MiB in 15 packages [2024-10-04T05:19:06.570Z] Removing intermediate container 6131d109554d [2024-10-04T05:19:06.570Z] ---> d2f335c94007 [2024-10-04T05:19:06.570Z] Step 15/24 : WORKDIR / [2024-10-04T05:19:06.838Z] ---> Running in 09b877a3c6d4 [2024-10-04T05:19:07.107Z] Removing intermediate container 09b877a3c6d4 [2024-10-04T05:19:07.107Z] ---> 61d4b5c881c1 [2024-10-04T05:19:07.107Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-04T05:19:07.687Z] ---> d74554fc50aa [2024-10-04T05:19:07.687Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-04T05:19:09.622Z] ---> 192dcbc916ec [2024-10-04T05:19:09.622Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-04T05:19:10.204Z] ---> abab50a647b0 [2024-10-04T05:19:10.204Z] Step 19/24 : EXPOSE 59999 [2024-10-04T05:19:10.204Z] ---> Running in 253d6dcf56cb [2024-10-04T05:19:10.472Z] Removing intermediate container 253d6dcf56cb [2024-10-04T05:19:10.472Z] ---> e651cfd0c354 [2024-10-04T05:19:10.472Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-04T05:19:10.472Z] ---> Running in a24617d64faa [2024-10-04T05:19:10.738Z] Removing intermediate container a24617d64faa [2024-10-04T05:19:10.738Z] ---> 3c1761a14b10 [2024-10-04T05:19:10.738Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-04T05:19:11.004Z] ---> Running in 40903a62ba57 [2024-10-04T05:19:11.273Z] Removing intermediate container 40903a62ba57 [2024-10-04T05:19:11.273Z] ---> 4d05a61f9be2 [2024-10-04T05:19:11.273Z] Step 22/24 : LABEL arch=arm64 [2024-10-04T05:19:11.273Z] ---> Running in aa9323bb47d3 [2024-10-04T05:19:11.542Z] Removing intermediate container aa9323bb47d3 [2024-10-04T05:19:11.542Z] ---> 5dfffa930690 [2024-10-04T05:19:11.542Z] Step 23/24 : LABEL git_sha=3f79d91e42934c0c8204e64f9535ff278efb44e2 [2024-10-04T05:19:11.542Z] ---> Running in c27f89c9d9c5 [2024-10-04T05:19:11.811Z] Removing intermediate container c27f89c9d9c5 [2024-10-04T05:19:11.811Z] ---> bb7c26ebb48b [2024-10-04T05:19:11.811Z] Step 24/24 : LABEL version=0.0.0 [2024-10-04T05:19:12.084Z] ---> Running in e172ab3b85b8 [2024-10-04T05:19:12.351Z] Removing intermediate container e172ab3b85b8 [2024-10-04T05:19:12.352Z] ---> 5cca1748590c [2024-10-04T05:19:12.352Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T05:19:12.352Z] Successfully built 5cca1748590c [2024-10-04T05:19:12.352Z] 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-04T05:19:13.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T05:19:13.494Z] [2024-10-04T05:19:13.494Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T05:19:13.910Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T05:19:13.910Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-04T05:19:13.910Z] 8998bd30e6a1: Pulling fs layer [2024-10-04T05:19:13.910Z] 04944245beec: Pulling fs layer [2024-10-04T05:19:13.910Z] 699f458cf7ca: Pulling fs layer [2024-10-04T05:19:13.910Z] 765212b225bb: Pulling fs layer [2024-10-04T05:19:13.910Z] f23df028b6ca: Pulling fs layer [2024-10-04T05:19:13.910Z] d65c8cfc05b1: Pulling fs layer [2024-10-04T05:19:13.910Z] 2437ff75d9bd: Pulling fs layer [2024-10-04T05:19:13.910Z] 765212b225bb: Waiting [2024-10-04T05:19:13.910Z] f23df028b6ca: Waiting [2024-10-04T05:19:13.910Z] d65c8cfc05b1: Waiting [2024-10-04T05:19:13.910Z] 2437ff75d9bd: Waiting [2024-10-04T05:19:14.177Z] 04944245beec: Verifying Checksum [2024-10-04T05:19:14.177Z] 04944245beec: Download complete [2024-10-04T05:19:14.177Z] 765212b225bb: Verifying Checksum [2024-10-04T05:19:14.177Z] 765212b225bb: Download complete [2024-10-04T05:19:14.177Z] f23df028b6ca: Download complete [2024-10-04T05:19:14.177Z] d65c8cfc05b1: Verifying Checksum [2024-10-04T05:19:14.177Z] d65c8cfc05b1: Download complete [2024-10-04T05:19:14.177Z] 699f458cf7ca: Verifying Checksum [2024-10-04T05:19:14.177Z] 699f458cf7ca: Download complete [2024-10-04T05:19:14.758Z] 8998bd30e6a1: Verifying Checksum [2024-10-04T05:19:14.758Z] 8998bd30e6a1: Download complete [2024-10-04T05:19:17.330Z] 2437ff75d9bd: Verifying Checksum [2024-10-04T05:19:17.330Z] 2437ff75d9bd: Download complete [2024-10-04T05:19:19.272Z] 8998bd30e6a1: Pull complete [2024-10-04T05:19:19.859Z] 04944245beec: Pull complete [2024-10-04T05:19:21.269Z] 699f458cf7ca: Pull complete [2024-10-04T05:19:21.535Z] 765212b225bb: Pull complete [2024-10-04T05:19:22.493Z] f23df028b6ca: Pull complete [2024-10-04T05:19:22.493Z] d65c8cfc05b1: Pull complete [2024-10-04T05:19:40.684Z] 2437ff75d9bd: Pull complete [2024-10-04T05:19:40.684Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-04T05:19:40.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T05:19:40.684Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T05:19:46.033Z] prd-ubuntu20.04-docker-arm64-4c-16g-15591 does not seem to be running inside a container [2024-10-04T05:19:46.082Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-04T05:19:48.686Z] $ docker top d75fa276306f4d8a5294a99d2e3b1e0941ad32babf352c10d470df8356a89d71 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:19:49.620Z] ---> job-cost.sh [2024-10-04T05:19:49.621Z] lf-activate-venv: SKIPPING [2024-10-04T05:19:49.621Z] INFO: No Stack... [2024-10-04T05:19:50.205Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-04T05:19:50.789Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T05:19:51.450Z] + cut -d, -f6 [2024-10-04T05:19:51.450Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2024-10-04T05:19:51.523Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-1-stack-cost] [2024-10-04T05:19:51.529Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1632-1-stack-cost] did not exist. Created. [2024-10-04T05:19:51.535Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T05:19:52.344Z] /w/workspace/device-sdk-go/1@tmp/durable-72abf6d4/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-04T05:19:53.007Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-04T05:19:53.085Z] Warning: overwriting stash ‘stack-cost’ [2024-10-04T05:19:53.167Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T05:19:53.187Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T05:19:53.276Z] $ docker stop --time=1 d75fa276306f4d8a5294a99d2e3b1e0941ad32babf352c10d470df8356a89d71 [2024-10-04T05:19:54.758Z] $ docker rm -f --volumes d75fa276306f4d8a5294a99d2e3b1e0941ad32babf352c10d470df8356a89d71 [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-04T05:19:56.037Z] provisioning config files... [2024-10-04T05:19:56.046Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config3678414112747755973tmp [Pipeline] { [Pipeline] sh [2024-10-04T05:19:56.408Z] + set +x [2024-10-04T05:19:56.408Z] + curl -s+ https://codecov.io/bash [2024-10-04T05:19:56.408Z] bash -s -- [2024-10-04T05:19:56.668Z] [2024-10-04T05:19:56.668Z] _____ _ [2024-10-04T05:19:56.668Z] / ____| | | [2024-10-04T05:19:56.668Z] | | ___ __| | ___ ___ _____ __ [2024-10-04T05:19:56.668Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-04T05:19:56.668Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-04T05:19:56.668Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-04T05:19:56.668Z] Bash-1.0.6 [2024-10-04T05:19:56.668Z] [2024-10-04T05:19:56.668Z] [2024-10-04T05:19:56.668Z] ==> git version 2.25.1 found [2024-10-04T05:19:56.668Z] ==> 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-04T05:19:56.668Z] Release-Date: 2020-01-08 [2024-10-04T05:19:56.668Z] 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-04T05:19:56.668Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-04T05:19:56.668Z] ==> Jenkins CI detected. [2024-10-04T05:19:56.668Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1632 [2024-10-04T05:19:56.668Z] project root: . [2024-10-04T05:19:56.668Z] --> token set from env [2024-10-04T05:19:56.668Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-04T05:19:56.668Z] ==> Running gcov in . (disable via -X gcov) [2024-10-04T05:19:56.668Z] ==> Python coveragepy not found [2024-10-04T05:19:56.668Z] ==> Searching for coverage reports in: [2024-10-04T05:19:56.668Z] + . [2024-10-04T05:19:56.668Z] -> Found 1 reports [2024-10-04T05:19:56.668Z] ==> Detecting git/mercurial file structure [2024-10-04T05:19:56.668Z] ==> Reading reports [2024-10-04T05:19:56.668Z] + ./coverage.out bytes=465882 [2024-10-04T05:19:56.668Z] ==> Appending adjustments [2024-10-04T05:19:56.668Z] https://docs.codecov.io/docs/fixing-reports [2024-10-04T05:19:56.928Z] + Found adjustments [2024-10-04T05:19:56.928Z] ==> Gzipping contents [2024-10-04T05:19:56.928Z] 44K /tmp/codecov.JE5yaE.gz [2024-10-04T05:19:56.928Z] ==> Uploading reports [2024-10-04T05:19:56.928Z] url: https://codecov.io [2024-10-04T05:19:56.928Z] query: branch=PR-1632&commit=3f79d91e42934c0c8204e64f9535ff278efb44e2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1632%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1632&job=&cmd_args= [2024-10-04T05:19:56.928Z] -> Pinging Codecov [2024-10-04T05:19:56.928Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1632&commit=3f79d91e42934c0c8204e64f9535ff278efb44e2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1632%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1632&job=&cmd_args= [2024-10-04T05:19:57.187Z] -> Uploading to [2024-10-04T05:19:57.188Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/3f79d91e42934c0c8204e64f9535ff278efb44e2/ca45136d-0e39-446e-9519-02e92b7afe21.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T051957Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=7857b84111046b0f551550caa14023b41f82b1bf845881aeb143c0aaf1f89731 [2024-10-04T05:19:57.188Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T05:19:57.188Z] Dload Upload Total Spent Left Speed [2024-10-04T05:19:57.448Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44523 0 0 100 44523 0 173k --:--:-- --:--:-- --:--:-- 173k [2024-10-04T05:19:57.448Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/3f79d91e42934c0c8204e64f9535ff278efb44e2 [Pipeline] } [2024-10-04T05:19:57.479Z] 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-04T05:19:59.855Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives ] [2024-10-04T05:19:59.855Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives [2024-10-04T05:19:59.855Z] total 16 [2024-10-04T05:19:59.855Z] drwxr-xr-x 3 root root 4096 Oct 4 05:01 . [2024-10-04T05:19:59.855Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 05:01 .. [2024-10-04T05:19:59.855Z] drwxr-xr-x 2 root root 4096 Oct 4 05:01 cost [2024-10-04T05:19:59.855Z] -rw-r--r-- 1 root root 86 Oct 4 05:01 cost.csv [2024-10-04T05:19:59.855Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives [2024-10-04T05:19:59.855Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives [2024-10-04T05:19:59.855Z] total 16 [2024-10-04T05:19:59.855Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 05:01 . [2024-10-04T05:19:59.855Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 05:01 .. [2024-10-04T05:19:59.855Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 05:01 cost [2024-10-04T05:19:59.855Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 4 05:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:20:00.206Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:20:01.108Z] ---> package-listing.sh [2024-10-04T05:20:01.108Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-04T05:20:01.108Z] ++ facter osfamily [2024-10-04T05:20:01.370Z] + OS_FAMILY=debian [2024-10-04T05:20:01.370Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1632 [2024-10-04T05:20:01.370Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-04T05:20:01.370Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-04T05:20:01.370Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-04T05:20:01.370Z] + PACKAGES=/tmp/packages_start.txt [2024-10-04T05:20:01.370Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1632 ']' [2024-10-04T05:20:01.370Z] + PACKAGES=/tmp/packages_end.txt [2024-10-04T05:20:01.370Z] + case "${OS_FAMILY}" in [2024-10-04T05:20:01.370Z] + dpkg -l [2024-10-04T05:20:01.370Z] + grep '^ii' [2024-10-04T05:20:01.370Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-04T05:20:01.370Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-04T05:20:01.370Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-04T05:20:01.370Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1632 ']' [2024-10-04T05:20:01.370Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives/ [2024-10-04T05:20:01.370Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives/ [Pipeline] echo [2024-10-04T05:20:01.423Z] 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-1632/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-04T05:20:01.718Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T05:20:02.369Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T05:20:02.369Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T05:20:02.536Z] prd-ubuntu20.04-docker-8c-8g-15568 does not seem to be running inside a container [2024-10-04T05:20:02.568Z] $ 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-1632/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-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-04T05:20:02.787Z] $ docker top c03aec73fc75dac28b6d9b6af7987f75144be9e0c3426577d7d5a5d6d03aed5f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T05:20:03.203Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-04T05:20:03.523Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-04T05:20:03.842Z] + ls /var/log/sa-host [2024-10-04T05:20:03.842Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T05:20:04.175Z] provisioning config files... [2024-10-04T05:20:04.184Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config11652789107568649461tmp [Pipeline] { [Pipeline] echo [2024-10-04T05:20:04.262Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:20:04.589Z] ---> create-netrc.sh [Pipeline] } [2024-10-04T05:20:04.623Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:20:05.055Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-04T05:20:05.161Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:20:05.508Z] ---> sudo-logs.sh [2024-10-04T05:20:05.508Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-04T05:20:05.625Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:20:05.949Z] ---> job-cost.sh [2024-10-04T05:20:05.949Z] lf-activate-venv: SKIPPING [2024-10-04T05:20:05.949Z] DEBUG: total: 0.2199999988079071 [2024-10-04T05:20:05.949Z] INFO: Retrieving Stack Cost... [2024-10-04T05:20:06.210Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T05:20:06.781Z] INFO: Archiving Costs [Pipeline] echo [2024-10-04T05:20:06.831Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:20:07.293Z] ---> logs-deploy.sh [2024-10-04T05:20:07.293Z] lf-activate-venv: SKIPPING [2024-10-04T05:20:07.293Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1632/1 [2024-10-04T05:20:07.293Z] INFO: archiving workspace using pattern(s): [2024-10-04T05:20:08.234Z] Archives upload complete. [2024-10-04T05:20:08.503Z] INFO: archiving logs to Nexus