Pull request #1649 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5a273789148cb787fedbe17d7bb26c6fc971275a+3ae093816e7b43cf524e65d58bc4109890d09a91 (088407462c5dc1beb56e57e219d1e0a010c35d4d) 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-ssh10192801573470466797.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-ssh17016777930154248189.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1649/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1649/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15091873823657428347.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3577820773093145501.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1649/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1649/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2884601663183408060.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-26114 in /w/workspace/gexfoundry_device-sdk-go_PR-1649 [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-1649 # 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/1649/head:refs/remotes/origin/PR-1649 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3ae093816e7b43cf524e65d58bc4109890d09a91 into PR head commit 5a273789148cb787fedbe17d7bb26c6fc971275a Merge succeeded, producing 5a273789148cb787fedbe17d7bb26c6fc971275a Checking out Revision 5a273789148cb787fedbe17d7bb26c6fc971275a (PR-1649) Commit message: "build(deps): bump golang.org/x/net from 0.30.0 to 0.31.0" First time build. Skipping changelog. > git config core.sparsecheckout # timeout=10 > git checkout -f 5a273789148cb787fedbe17d7bb26c6fc971275a # 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 3ae093816e7b43cf524e65d58bc4109890d09a91 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5a273789148cb787fedbe17d7bb26c6fc971275a # timeout=10 > git rev-list --no-walk a5d00c1dab23f4666809e705931b48d7392bf3c1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-11T04:46:51.544Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-11T04:46:51.610Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-11T04:46:51.638Z] ========================================================= [2024-11-11T04:46:51.638Z] EdgeX Global Pipelines Version Info [2024-11-11T04:46:51.638Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:46:52.732Z] ------------------- [2024-11-11T04:46:52.732Z] stable info: [2024-11-11T04:46:52.732Z] ------------------- [2024-11-11T04:46:52.732Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-11T04:46:52.732Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-11T04:46:52.732Z] Message: update stable to v1.0.265 [2024-11-11T04:46:53.300Z] ------------------- [2024-11-11T04:46:53.300Z] experimental info: [2024-11-11T04:46:53.300Z] ------------------- [2024-11-11T04:46:53.300Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-11T04:46:53.300Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-11T04:46:53.300Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-11T04:46:53.363Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-11-11T04:46:53.379Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-11-11T04:46:53.398Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-11T04:46:53.416Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-11T04:46:53.438Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-11T04:46:53.456Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-11T04:46:53.475Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-11T04:46:53.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-11-11T04:46:53.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-11T04:46:53.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-11T04:46:53.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-11T04:46:53.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-11-11T04:46:53.583Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-11T04:46:53.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-11T04:46:53.623Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-11T04:46:53.642Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-11-11T04:46:53.659Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-11T04:46:53.677Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-11T04:46:53.699Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-11T04:46:53.718Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-11T04:46:53.741Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-11-11T04:46:53.762Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo [2024-11-11T04:46:53.786Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-11T04:46:53.808Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-11T04:46:53.829Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-11T04:46:53.852Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-11T04:46:53.873Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-11T04:46:53.899Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1649 [Pipeline] echo [2024-11-11T04:46:53.923Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1649 [Pipeline] echo [2024-11-11T04:46:53.949Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1649 [Pipeline] echo [2024-11-11T04:46:53.973Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5a273789148cb787fedbe17d7bb26c6fc971275a [Pipeline] echo [2024-11-11T04:46:53.994Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5a27378 [Pipeline] echo [2024-11-11T04:46:54.013Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T04:46:54.068Z] provisioning config files... [2024-11-11T04:46:54.081Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/config7607203281054014569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:46:54.420Z] ---> ****-login.sh [2024-11-11T04:46:54.420Z] nexus3.edgexfoundry.org:10001 [2024-11-11T04:46:54.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:46:54.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:46:54.681Z] Configure a credential helper to remove this warning. See [2024-11-11T04:46:54.681Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:46:54.681Z] [2024-11-11T04:46:54.681Z] Login Succeeded [2024-11-11T04:46:54.681Z] nexus3.edgexfoundry.org:10002 [2024-11-11T04:46:54.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:46:54.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:46:54.682Z] Configure a credential helper to remove this warning. See [2024-11-11T04:46:54.682Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:46:54.682Z] [2024-11-11T04:46:54.682Z] Login Succeeded [2024-11-11T04:46:54.682Z] nexus3.edgexfoundry.org:10003 [2024-11-11T04:46:54.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:46:54.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:46:54.942Z] Configure a credential helper to remove this warning. See [2024-11-11T04:46:54.942Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:46:54.942Z] [2024-11-11T04:46:54.942Z] Login Succeeded [2024-11-11T04:46:54.942Z] nexus3.edgexfoundry.org:10004 [2024-11-11T04:46:54.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:46:54.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:46:54.942Z] Configure a credential helper to remove this warning. See [2024-11-11T04:46:54.942Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:46:54.942Z] [2024-11-11T04:46:54.942Z] Login Succeeded [2024-11-11T04:46:54.942Z] ****.io [2024-11-11T04:46:55.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:46:55.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:46:55.224Z] Configure a credential helper to remove this warning. See [2024-11-11T04:46:55.224Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:46:55.224Z] [2024-11-11T04:46:55.224Z] Login Succeeded [2024-11-11T04:46:55.224Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T04:46:55.233Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-11T04:46:55.643Z] + git rev-list -1 --merges 5a273789148cb787fedbe17d7bb26c6fc971275a~1..5a273789148cb787fedbe17d7bb26c6fc971275a [Pipeline] echo [2024-11-11T04:46:55.669Z] -----------> git rev-list -1 --merges 5a273789148cb787fedbe17d7bb26c6fc971275a~1..5a273789148cb787fedbe17d7bb26c6fc971275a 5a273789148cb787fedbe17d7bb26c6fc971275a [false] [Pipeline] sh [2024-11-11T04:46:55.965Z] + git log --format=format:%s -1 5a273789148cb787fedbe17d7bb26c6fc971275a [Pipeline] echo [2024-11-11T04:46:55.983Z] ========================================================= [2024-11-11T04:46:55.983Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-11T04:46:55.983Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T04:46:56.320Z] + git log --format=format:%s -1 5a273789148cb787fedbe17d7bb26c6fc971275a [Pipeline] echo [2024-11-11T04:46:56.332Z] [semverPrep] GIT_COMMIT: 5a273789148cb787fedbe17d7bb26c6fc971275a, Commit Message: build(deps): bump golang.org/x/net from 0.30.0 to 0.31.0 [Pipeline] echo [2024-11-11T04:46:56.349Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-11T04:46:56.992Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-11T04:46:56.992Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-11T04:46:56.992Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-11T04:46:56.992Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-11T04:46:56.992Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-11T04:46:56.992Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-11T04:46:56.992Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:46:57.363Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T04:46:57.363Z] [2024-11-11T04:46:57.363Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:46:57.683Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T04:46:57.683Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-11T04:46:57.683Z] b85a868b505f: Pulling fs layer [2024-11-11T04:46:57.683Z] e2be974225ed: Pulling fs layer [2024-11-11T04:46:57.683Z] 339a4e72a1f5: Pulling fs layer [2024-11-11T04:46:57.683Z] 988bab9f4d93: Pulling fs layer [2024-11-11T04:46:57.683Z] 1469e6f7b9e6: Pulling fs layer [2024-11-11T04:46:57.683Z] eaf3925da568: Pulling fs layer [2024-11-11T04:46:57.683Z] bab4dde63d76: Pulling fs layer [2024-11-11T04:46:57.683Z] bde34c3a00c8: Pulling fs layer [2024-11-11T04:46:57.683Z] b352a97aabf1: Pulling fs layer [2024-11-11T04:46:57.683Z] 4872d77fe225: Pulling fs layer [2024-11-11T04:46:57.683Z] 5851b861e8e6: Pulling fs layer [2024-11-11T04:46:57.683Z] eaf3925da568: Waiting [2024-11-11T04:46:57.683Z] 1469e6f7b9e6: Waiting [2024-11-11T04:46:57.683Z] bab4dde63d76: Waiting [2024-11-11T04:46:57.683Z] 988bab9f4d93: Waiting [2024-11-11T04:46:57.683Z] b352a97aabf1: Waiting [2024-11-11T04:46:57.683Z] 5851b861e8e6: Waiting [2024-11-11T04:46:57.683Z] bde34c3a00c8: Waiting [2024-11-11T04:46:57.683Z] 4872d77fe225: Waiting [2024-11-11T04:46:57.683Z] e2be974225ed: Download complete [2024-11-11T04:46:57.683Z] 988bab9f4d93: Verifying Checksum [2024-11-11T04:46:57.683Z] 988bab9f4d93: Download complete [2024-11-11T04:46:57.683Z] 1469e6f7b9e6: Verifying Checksum [2024-11-11T04:46:57.683Z] 1469e6f7b9e6: Download complete [2024-11-11T04:46:57.683Z] eaf3925da568: Download complete [2024-11-11T04:46:57.683Z] 339a4e72a1f5: Verifying Checksum [2024-11-11T04:46:57.683Z] 339a4e72a1f5: Download complete [2024-11-11T04:46:57.949Z] bde34c3a00c8: Verifying Checksum [2024-11-11T04:46:57.949Z] bde34c3a00c8: Download complete [2024-11-11T04:46:57.949Z] b352a97aabf1: Verifying Checksum [2024-11-11T04:46:57.949Z] b352a97aabf1: Download complete [2024-11-11T04:46:57.949Z] 4872d77fe225: Verifying Checksum [2024-11-11T04:46:57.949Z] 4872d77fe225: Download complete [2024-11-11T04:46:57.949Z] 5851b861e8e6: Verifying Checksum [2024-11-11T04:46:57.949Z] 5851b861e8e6: Download complete [2024-11-11T04:46:57.949Z] b85a868b505f: Verifying Checksum [2024-11-11T04:46:57.949Z] b85a868b505f: Download complete [2024-11-11T04:46:58.207Z] bab4dde63d76: Verifying Checksum [2024-11-11T04:46:58.207Z] bab4dde63d76: Download complete [2024-11-11T04:46:59.143Z] b85a868b505f: Pull complete [2024-11-11T04:46:59.401Z] e2be974225ed: Pull complete [2024-11-11T04:46:59.968Z] 339a4e72a1f5: Pull complete [2024-11-11T04:46:59.968Z] 988bab9f4d93: Pull complete [2024-11-11T04:47:00.227Z] 1469e6f7b9e6: Pull complete [2024-11-11T04:47:00.228Z] eaf3925da568: Pull complete [2024-11-11T04:47:02.130Z] bab4dde63d76: Pull complete [2024-11-11T04:47:02.130Z] bde34c3a00c8: Pull complete [2024-11-11T04:47:02.130Z] b352a97aabf1: Pull complete [2024-11-11T04:47:02.130Z] 4872d77fe225: Pull complete [2024-11-11T04:47:02.391Z] 5851b861e8e6: Pull complete [2024-11-11T04:47:02.391Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-11T04:47:02.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T04:47:02.391Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:47:02.505Z] prd-ubuntu20.04-docker-8c-8g-26114 does not seem to be running inside a container [2024-11-11T04:47:02.539Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1649 -v /w/workspace/gexfoundry_device-sdk-go_PR-1649:/w/workspace/gexfoundry_device-sdk-go_PR-1649:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-11T04:47:05.095Z] $ docker top b9784a99e53afb4b420af5737abfc6c54cca2ff52fd8a2f9909012be0c109115 -eo pid,comm [2024-11-11T04:47:05.152Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-11-11T04:47:05.152Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-11T04:47:05.203Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-11T04:47:05.203Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-11T04:47:05.320Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-11T04:47:05.320Z] $ docker exec b9784a99e53afb4b420af5737abfc6c54cca2ff52fd8a2f9909012be0c109115 ssh-agent [2024-11-11T04:47:05.428Z] SSH_AUTH_SOCK=/tmp/ssh-NLJnSenYXE6U/agent.32 [2024-11-11T04:47:05.428Z] SSH_AGENT_PID=38 [2024-11-11T04:47:05.434Z] Running ssh-add (command line suppressed) [2024-11-11T04:47:05.529Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/private_key_17351833927413683461.key (/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/private_key_17351833927413683461.key) [2024-11-11T04:47:05.545Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-11T04:47:05.836Z] + git tag --points-at HEAD [Pipeline] } [2024-11-11T04:47:05.847Z] $ docker exec --env ******** --env ******** b9784a99e53afb4b420af5737abfc6c54cca2ff52fd8a2f9909012be0c109115 ssh-agent -k [2024-11-11T04:47:05.942Z] unset SSH_AUTH_SOCK; [2024-11-11T04:47:05.942Z] unset SSH_AGENT_PID; [2024-11-11T04:47:05.942Z] echo Agent pid 38 killed; [2024-11-11T04:47:05.952Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-11T04:47:05.990Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-11T04:47:05.990Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-11T04:47:06.101Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-11T04:47:06.101Z] $ docker exec b9784a99e53afb4b420af5737abfc6c54cca2ff52fd8a2f9909012be0c109115 ssh-agent [2024-11-11T04:47:06.208Z] SSH_AUTH_SOCK=/tmp/ssh-fh0unNm0way6/agent.72 [2024-11-11T04:47:06.208Z] SSH_AGENT_PID=78 [2024-11-11T04:47:06.212Z] Running ssh-add (command line suppressed) [2024-11-11T04:47:06.314Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/private_key_390399397448300273.key (/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/private_key_390399397448300273.key) [2024-11-11T04:47:06.330Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-11T04:47:06.627Z] + git semver init [2024-11-11T04:47:06.887Z] 2024-11-11 04:47:06,791 [run_init] DEBUG init version:0.0.0 force:False [2024-11-11T04:47:06.887Z] 2024-11-11 04:47:06,792 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver [2024-11-11T04:47:06.887Z] 2024-11-11 04:47:06,792 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver [2024-11-11T04:47:06.887Z] 2024-11-11 04:47:06,792 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1649, universal_newlines=False, shell=None, istream=None) [2024-11-11T04:47:09.438Z] 2024-11-11 04:47:08,812 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1649/.git/info/exclude [2024-11-11T04:47:09.438Z] 2024-11-11 04:47:08,812 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver/PR-1649 with force:False [2024-11-11T04:47:09.438Z] 2024-11-11 04:47:08,812 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver/PR-1649 [2024-11-11T04:47:09.438Z] 2024-11-11 04:47:08,816 [execute] INFO git cat-file --batch-check [2024-11-11T04:47:09.438Z] 2024-11-11 04:47:08,817 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver, universal_newlines=False, shell=None, istream=) [2024-11-11T04:47:09.438Z] 2024-11-11 04:47:08,824 [execute] INFO git cat-file --batch [2024-11-11T04:47:09.438Z] 2024-11-11 04:47:08,824 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver, universal_newlines=False, shell=None, istream=) [2024-11-11T04:47:09.438Z] 2024-11-11 04:47:08,830 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver/PR-1649 [2024-11-11T04:47:09.438Z] 0.0.0 [Pipeline] } [2024-11-11T04:47:09.451Z] $ docker exec --env ******** --env ******** b9784a99e53afb4b420af5737abfc6c54cca2ff52fd8a2f9909012be0c109115 ssh-agent -k [2024-11-11T04:47:09.556Z] unset SSH_AUTH_SOCK; [2024-11-11T04:47:09.556Z] unset SSH_AGENT_PID; [2024-11-11T04:47:09.556Z] echo Agent pid 78 killed; [2024-11-11T04:47:09.575Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-11T04:47:09.898Z] + git semver [Pipeline] } [2024-11-11T04:47:10.192Z] $ docker stop --time=1 b9784a99e53afb4b420af5737abfc6c54cca2ff52fd8a2f9909012be0c109115 [2024-11-11T04:47:11.509Z] $ docker rm -f --volumes b9784a99e53afb4b420af5737abfc6c54cca2ff52fd8a2f9909012be0c109115 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T04:47:11.864Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-11T04:47:12.087Z] Stashed 1 file(s) [Pipeline] echo [2024-11-11T04:47:12.093Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T04:47:12.251Z] provisioning config files... [2024-11-11T04:47:12.262Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/config1790661095424637581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:47:12.708Z] ---> ****-login.sh [2024-11-11T04:47:12.708Z] nexus3.edgexfoundry.org:10001 [2024-11-11T04:47:12.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:47:12.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:47:12.709Z] Configure a credential helper to remove this warning. See [2024-11-11T04:47:12.709Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:47:12.709Z] [2024-11-11T04:47:12.709Z] Login Succeeded [2024-11-11T04:47:12.709Z] nexus3.edgexfoundry.org:10002 [2024-11-11T04:47:12.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:47:12.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:47:12.709Z] Configure a credential helper to remove this warning. See [2024-11-11T04:47:12.709Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:47:12.709Z] [2024-11-11T04:47:12.709Z] Login Succeeded [2024-11-11T04:47:12.709Z] nexus3.edgexfoundry.org:10003 [2024-11-11T04:47:12.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:47:12.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:47:12.709Z] Configure a credential helper to remove this warning. See [2024-11-11T04:47:12.709Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:47:12.709Z] [2024-11-11T04:47:12.709Z] Login Succeeded [2024-11-11T04:47:12.709Z] nexus3.edgexfoundry.org:10004 [2024-11-11T04:47:12.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:47:12.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:47:12.969Z] Configure a credential helper to remove this warning. See [2024-11-11T04:47:12.969Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:47:12.969Z] [2024-11-11T04:47:12.969Z] Login Succeeded [2024-11-11T04:47:12.969Z] ****.io [2024-11-11T04:47:12.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:47:13.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:47:13.228Z] Configure a credential helper to remove this warning. See [2024-11-11T04:47:13.228Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:47:13.228Z] [2024-11-11T04:47:13.228Z] Login Succeeded [2024-11-11T04:47:13.228Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T04:47:13.237Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-11T04:47:13.323Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T04:47:13.341Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T04:47:13.359Z] ========================================================= [2024-11-11T04:47:13.359Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-11T04:47:13.359Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:47:13.689Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-11T04:47:13.689Z] Sending build context to Docker daemon 25.61MB [2024-11-11T04:47:13.689Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T04:47:13.689Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-11T04:47:13.689Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-11T04:47:13.689Z] 43c4264eed91: Pulling fs layer [2024-11-11T04:47:13.689Z] 4cc291be95ef: Pulling fs layer [2024-11-11T04:47:13.689Z] 2ac1f1163629: Pulling fs layer [2024-11-11T04:47:13.689Z] 5c3c966382ef: Pulling fs layer [2024-11-11T04:47:13.689Z] 4f4fb700ef54: Pulling fs layer [2024-11-11T04:47:13.689Z] 5d5c8e513c77: Pulling fs layer [2024-11-11T04:47:13.689Z] 9f66e0745190: Pulling fs layer [2024-11-11T04:47:13.689Z] f49a43e4bbc0: Pulling fs layer [2024-11-11T04:47:13.689Z] 561ebcabdf7f: Pulling fs layer [2024-11-11T04:47:13.689Z] 5c3c966382ef: Waiting [2024-11-11T04:47:13.689Z] 4f4fb700ef54: Waiting [2024-11-11T04:47:13.689Z] 5d5c8e513c77: Waiting [2024-11-11T04:47:13.689Z] f49a43e4bbc0: Waiting [2024-11-11T04:47:13.689Z] 9f66e0745190: Waiting [2024-11-11T04:47:13.689Z] 561ebcabdf7f: Waiting [2024-11-11T04:47:13.947Z] 4cc291be95ef: Verifying Checksum [2024-11-11T04:47:13.947Z] 4cc291be95ef: Download complete [2024-11-11T04:47:13.947Z] 5c3c966382ef: Verifying Checksum [2024-11-11T04:47:13.947Z] 5c3c966382ef: Download complete [2024-11-11T04:47:13.947Z] 4f4fb700ef54: Verifying Checksum [2024-11-11T04:47:13.947Z] 4f4fb700ef54: Download complete [2024-11-11T04:47:13.947Z] 5d5c8e513c77: Verifying Checksum [2024-11-11T04:47:13.947Z] 5d5c8e513c77: Download complete [2024-11-11T04:47:13.947Z] 43c4264eed91: Download complete [2024-11-11T04:47:13.947Z] 9f66e0745190: Verifying Checksum [2024-11-11T04:47:13.947Z] 9f66e0745190: Download complete [2024-11-11T04:47:13.947Z] 43c4264eed91: Pull complete [2024-11-11T04:47:14.205Z] 561ebcabdf7f: Download complete [2024-11-11T04:47:14.205Z] 4cc291be95ef: Pull complete [2024-11-11T04:47:14.463Z] 2ac1f1163629: Verifying Checksum [2024-11-11T04:47:14.463Z] 2ac1f1163629: Download complete [2024-11-11T04:47:14.721Z] f49a43e4bbc0: Verifying Checksum [2024-11-11T04:47:14.721Z] f49a43e4bbc0: Download complete [2024-11-11T04:47:18.006Z] 2ac1f1163629: Pull complete [2024-11-11T04:47:18.006Z] 5c3c966382ef: Pull complete [2024-11-11T04:47:18.006Z] 4f4fb700ef54: Pull complete [2024-11-11T04:47:18.006Z] 5d5c8e513c77: Pull complete [2024-11-11T04:47:18.006Z] 9f66e0745190: Pull complete [2024-11-11T04:47:20.539Z] f49a43e4bbc0: Pull complete [2024-11-11T04:47:20.798Z] 561ebcabdf7f: Pull complete [2024-11-11T04:47:20.798Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-11T04:47:20.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-11T04:47:20.798Z] ---> 3a752c3f9dda [2024-11-11T04:47:20.798Z] Step 3/10 : ARG MAKE=make build [2024-11-11T04:47:26.080Z] ---> Running in e20617412b38 [2024-11-11T04:47:26.080Z] Removing intermediate container e20617412b38 [2024-11-11T04:47:26.080Z] ---> b67e250254f3 [2024-11-11T04:47:26.080Z] Step 4/10 : WORKDIR /device-sdk-go [2024-11-11T04:47:26.080Z] ---> Running in 9fc2273a22f5 [2024-11-11T04:47:26.080Z] Removing intermediate container 9fc2273a22f5 [2024-11-11T04:47:26.080Z] ---> ce6a3e512af1 [2024-11-11T04:47:26.080Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-11T04:47:26.080Z] ---> Running in aef0de42dafb [2024-11-11T04:47:26.080Z] Removing intermediate container aef0de42dafb [2024-11-11T04:47:26.080Z] ---> 48fe4d4b5f42 [2024-11-11T04:47:26.080Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-11-11T04:47:26.081Z] ---> Running in 42214565661a [2024-11-11T04:47:26.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T04:47:26.340Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T04:47:26.598Z] OK: 246 MiB in 54 packages [2024-11-11T04:47:26.865Z] Removing intermediate container 42214565661a [2024-11-11T04:47:26.865Z] ---> c758115ffe30 [2024-11-11T04:47:26.865Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-11T04:47:27.125Z] ---> 6bad55161d64 [2024-11-11T04:47:27.125Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T04:47:27.125Z] ---> Running in 5649c509b370 [2024-11-11T04:47:27.202Z] Still waiting to schedule task [2024-11-11T04:47:27.202Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-11T04:48:14.979Z] Removing intermediate container 5649c509b370 [2024-11-11T04:48:14.979Z] ---> 64e4f536ead0 [2024-11-11T04:48:14.979Z] Step 9/10 : COPY . . [2024-11-11T04:48:14.979Z] ---> 27072a740064 [2024-11-11T04:48:14.979Z] Step 10/10 : RUN ${MAKE} [2024-11-11T04:48:14.979Z] ---> Running in 314fa7a4d7e6 [2024-11-11T04:48:14.979Z] noop [2024-11-11T04:48:14.979Z] Removing intermediate container 314fa7a4d7e6 [2024-11-11T04:48:14.979Z] ---> 1d2c01346962 [2024-11-11T04:48:14.979Z] Successfully built 1d2c01346962 [2024-11-11T04:48:14.979Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:48:15.306Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-11T04:48:15.306Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:48:15.376Z] prd-ubuntu20.04-docker-8c-8g-26114 does not seem to be running inside a container [2024-11-11T04:48:15.402Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1649 -v /w/workspace/gexfoundry_device-sdk-go_PR-1649:/w/workspace/gexfoundry_device-sdk-go_PR-1649:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-11T04:48:15.747Z] $ docker top fcb7c1d18b11f0e0d5544ee7f031d8acaf785caabebec612b35ae4d21a4da3eb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T04:48:16.111Z] + go version [2024-11-11T04:48:16.111Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-11T04:48:16.121Z] $ docker stop --time=1 fcb7c1d18b11f0e0d5544ee7f031d8acaf785caabebec612b35ae4d21a4da3eb [2024-11-11T04:48:17.399Z] $ docker rm -f --volumes fcb7c1d18b11f0e0d5544ee7f031d8acaf785caabebec612b35ae4d21a4da3eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:48:17.842Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-11T04:48:17.842Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:48:17.927Z] prd-ubuntu20.04-docker-8c-8g-26114 does not seem to be running inside a container [2024-11-11T04:48:17.954Z] $ 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-1649 -v /w/workspace/gexfoundry_device-sdk-go_PR-1649:/w/workspace/gexfoundry_device-sdk-go_PR-1649:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-11T04:48:18.306Z] $ docker top bc05cdd504e2286fc299aeae45c980746b2a4fe73b88c72b015c6250c0bf4458 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T04:48:18.665Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1649 [Pipeline] fileExists [Pipeline] sh [2024-11-11T04:48:18.970Z] + make test [2024-11-11T04:48:18.970Z] go test -race -coverprofile=coverage.out ./... [2024-11-11T04:48:27.098Z] ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] [2024-11-11T04:48:59.162Z] github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements [2024-11-11T04:48:59.162Z] github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements [2024-11-11T04:48:59.162Z] github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements [2024-11-11T04:48:59.162Z] github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements [2024-11-11T04:48:59.162Z] github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements [2024-11-11T04:49:00.121Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.032s coverage: 28.7% of statements [2024-11-11T04:49:00.121Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.052s coverage: 79.4% of statements [2024-11-11T04:49:01.117Z] github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements [2024-11-11T04:49:01.117Z] github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements [2024-11-11T04:49:02.051Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.049s coverage: 86.0% of statements [2024-11-11T04:49:02.309Z] ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] [2024-11-11T04:49:02.309Z] github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements [2024-11-11T04:49:02.309Z] github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements [2024-11-11T04:49:02.309Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements [2024-11-11T04:49:03.681Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.080s coverage: 45.2% of statements [2024-11-11T04:49:03.940Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements [2024-11-11T04:49:06.475Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.034s coverage: 14.1% of statements [2024-11-11T04:49:06.475Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 1.871s coverage: 44.6% of statements [2024-11-11T04:49:06.475Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.065s coverage: 68.4% of statements [2024-11-11T04:49:06.475Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.099s coverage: 88.3% of statements [2024-11-11T04:49:06.475Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.050s coverage: 5.3% of statements [2024-11-11T04:49:38.541Z] GO111MODULE=on go vet ./... [2024-11-11T04:49:41.069Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-11T04:49:41.069Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-11T04:49:41.069Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-11T04:49:41.343Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-11T04:49:41.361Z] $ docker stop --time=1 bc05cdd504e2286fc299aeae45c980746b2a4fe73b88c72b015c6250c0bf4458 [2024-11-11T04:49:47.484Z] $ docker rm -f --volumes bc05cdd504e2286fc299aeae45c980746b2a4fe73b88c72b015c6250c0bf4458 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T04:49:48.117Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-11T04:49:48.207Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-11T04:49:48.709Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-11T04:49:48.995Z] + ls -al . [2024-11-11T04:49:48.995Z] total 704 [2024-11-11T04:49:48.995Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 11 04:48 . [2024-11-11T04:49:48.995Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:46 .. [2024-11-11T04:49:48.995Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 04:46 .dockerignore [2024-11-11T04:49:48.995Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 04:49 .git [2024-11-11T04:49:48.995Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 04:46 .github [2024-11-11T04:49:48.995Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 11 04:46 .gitignore [2024-11-11T04:49:48.995Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 11 04:46 .golangci.yml [2024-11-11T04:49:48.995Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 04:47 .semver [2024-11-11T04:49:48.995Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 11 04:46 CHANGELOG.md [2024-11-11T04:49:48.995Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 04:46 GOVERNANCE.md [2024-11-11T04:49:48.995Z] -rw-rw-r-- 1 jenkins jenkins 882 Nov 11 04:46 Jenkinsfile [2024-11-11T04:49:48.995Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 11 04:46 LICENSE [2024-11-11T04:49:48.995Z] -rw-rw-r-- 1 jenkins jenkins 2424 Nov 11 04:46 Makefile [2024-11-11T04:49:48.995Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 11 04:46 OWNERS.md [2024-11-11T04:49:48.995Z] -rw-rw-r-- 1 jenkins jenkins 4937 Nov 11 04:46 README.md [2024-11-11T04:49:48.995Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 04:47 VERSION [2024-11-11T04:49:48.995Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:46 bin [2024-11-11T04:49:48.995Z] -rw-r--r-- 1 jenkins jenkins 468087 Nov 11 04:49 coverage.out [2024-11-11T04:49:48.995Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 04:46 example [2024-11-11T04:49:48.995Z] -rw-rw-r-- 1 jenkins jenkins 6229 Nov 11 04:46 go.mod [2024-11-11T04:49:48.995Z] -rw-rw-r-- 1 jenkins jenkins 87126 Nov 11 04:46 go.sum [2024-11-11T04:49:48.995Z] drwxrwxr-x 13 jenkins jenkins 4096 Nov 11 04:46 internal [2024-11-11T04:49:48.995Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:46 openapi [2024-11-11T04:49:48.995Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 11 04:46 pkg [2024-11-11T04:49:48.995Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:46 snap [2024-11-11T04:49:48.995Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 11 04:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:49:49.369Z] + 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=5a273789148cb787fedbe17d7bb26c6fc971275a --label arch=amd64 --label version=0.0.0 . [2024-11-11T04:49:49.369Z] Sending build context to Docker daemon 26.07MB [2024-11-11T04:49:49.369Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T04:49:49.369Z] Step 2/24 : FROM ${BASE} AS builder [2024-11-11T04:49:49.369Z] ---> 1d2c01346962 [2024-11-11T04:49:49.369Z] Step 3/24 : ARG MAKE=make build [2024-11-11T04:49:49.938Z] ---> Running in 53ba77139bc1 [2024-11-11T04:49:50.198Z] Removing intermediate container 53ba77139bc1 [2024-11-11T04:49:50.198Z] ---> eb01bc30cdc9 [2024-11-11T04:49:50.198Z] Step 4/24 : WORKDIR /device-sdk-go [2024-11-11T04:49:50.198Z] ---> Running in ad944766ada0 [2024-11-11T04:49:50.198Z] Removing intermediate container ad944766ada0 [2024-11-11T04:49:50.198Z] ---> 1d4b665e4a05 [2024-11-11T04:49:50.198Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-11T04:49:50.198Z] ---> Running in 0e2ebd9bdda7 [2024-11-11T04:49:50.198Z] Removing intermediate container 0e2ebd9bdda7 [2024-11-11T04:49:50.198Z] ---> a64e564d0618 [2024-11-11T04:49:50.198Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-11-11T04:49:50.198Z] ---> Running in 008ececa4dec [2024-11-11T04:49:50.459Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T04:49:50.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T04:49:50.976Z] OK: 246 MiB in 54 packages [2024-11-11T04:49:51.238Z] Removing intermediate container 008ececa4dec [2024-11-11T04:49:51.238Z] ---> 3f244205858c [2024-11-11T04:49:51.238Z] Step 7/24 : COPY go.mod vendor* ./ [2024-11-11T04:49:51.498Z] ---> 9cce0bf09ab7 [2024-11-11T04:49:51.498Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T04:49:51.498Z] ---> Running in 14cd754563a9 [2024-11-11T04:49:52.067Z] Removing intermediate container 14cd754563a9 [2024-11-11T04:49:52.067Z] ---> ff73a9f4b78a [2024-11-11T04:49:52.067Z] Step 9/24 : COPY . . [2024-11-11T04:49:53.009Z] ---> 5b8ae8ada1db [2024-11-11T04:49:53.009Z] Step 10/24 : RUN ${MAKE} [2024-11-11T04:49:53.009Z] ---> Running in c4197ca0ef59 [2024-11-11T04:49:53.267Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-11-11T04:50:10.663Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26116 in /w/workspace/gexfoundry_device-sdk-go_PR-1649 [Pipeline] { [Pipeline] ws [2024-11-11T04:50:10.685Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2024-11-11T04:50:13.747Z] The recommended git tool is: git [2024-11-11T04:50:19.491Z] using credential edgex-jenkins-ssh [2024-11-11T04:50:19.515Z] Cloning the remote Git repository [2024-11-11T04:50:19.577Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-11-11T04:50:19.685Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2024-11-11T04:50:19.859Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-11-11T04:50:19.861Z] > git --version # timeout=10 [2024-11-11T04:50:19.882Z] > git --version # 'git version 2.25.1' [2024-11-11T04:50:19.885Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T04:50:20.059Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-11T04:50:23.702Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-11-11T04:50:23.725Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-11T04:50:25.335Z] Removing intermediate container c4197ca0ef59 [2024-11-11T04:50:25.335Z] ---> a1652aaac0fe [2024-11-11T04:50:25.335Z] Step 11/24 : FROM alpine:3.20 [2024-11-11T04:50:25.335Z] 3.20: Pulling from library/alpine [2024-11-11T04:50:25.374Z] Merging remotes/origin/main commit 3ae093816e7b43cf524e65d58bc4109890d09a91 into PR head commit 5a273789148cb787fedbe17d7bb26c6fc971275a [2024-11-11T04:50:24.721Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-11-11T04:50:24.762Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-11-11T04:50:24.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T04:50:24.797Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1649/head:refs/remotes/origin/PR-1649 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-11T04:50:25.391Z] > git config core.sparsecheckout # timeout=10 [2024-11-11T04:50:25.593Z] 43c4264eed91: Already exists [2024-11-11T04:50:25.593Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-11T04:50:25.593Z] Status: Downloaded newer image for alpine:3.20 [2024-11-11T04:50:25.593Z] ---> 91ef0af61f39 [2024-11-11T04:50:25.593Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-11-11T04:50:25.593Z] ---> Running in 7fcfe31961fb [2024-11-11T04:50:25.593Z] Removing intermediate container 7fcfe31961fb [2024-11-11T04:50:25.593Z] ---> c73a8a2f367d [2024-11-11T04:50:25.593Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-11-11T04:50:25.719Z] Merge succeeded, producing 5a273789148cb787fedbe17d7bb26c6fc971275a [2024-11-11T04:50:25.720Z] Checking out Revision 5a273789148cb787fedbe17d7bb26c6fc971275a (PR-1649) [2024-11-11T04:50:25.852Z] ---> Running in 4ccf09f057e5 [2024-11-11T04:50:26.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T04:50:26.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T04:50:26.370Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-11T04:50:26.371Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T04:50:26.546Z] Commit message: "build(deps): bump golang.org/x/net from 0.30.0 to 0.31.0" [2024-11-11T04:50:26.631Z] OK: 8 MiB in 15 packages [2024-11-11T04:50:26.890Z] Removing intermediate container 4ccf09f057e5 [2024-11-11T04:50:26.890Z] ---> 75ae8a16b8f3 [2024-11-11T04:50:26.890Z] Step 14/24 : RUN apk --no-cache upgrade [2024-11-11T04:50:26.890Z] ---> Running in 6b76af923599 [2024-11-11T04:50:25.479Z] > git checkout -f 5a273789148cb787fedbe17d7bb26c6fc971275a # timeout=10 [2024-11-11T04:50:25.601Z] > git remote # timeout=10 [2024-11-11T04:50:25.618Z] > git config --get remote.origin.url # timeout=10 [2024-11-11T04:50:25.642Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T04:50:25.664Z] > git merge 3ae093816e7b43cf524e65d58bc4109890d09a91 # timeout=10 [2024-11-11T04:50:25.694Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-11T04:50:25.723Z] > git config core.sparsecheckout # timeout=10 [2024-11-11T04:50:25.737Z] > git checkout -f 5a273789148cb787fedbe17d7bb26c6fc971275a # timeout=10 [2024-11-11T04:50:27.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T04:50:27.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T04:50:27.406Z] Upgrading critical system libraries and apk-tools: [2024-11-11T04:50:27.406Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-11T04:50:27.406Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T04:50:27.665Z] Continuing the upgrade transaction with new apk-tools: [2024-11-11T04:50:27.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T04:50:27.665Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T04:50:27.930Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T04:50:27.930Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T04:50:27.930Z] OK: 8 MiB in 15 packages [2024-11-11T04:50:28.572Z] Removing intermediate container 6b76af923599 [2024-11-11T04:50:28.572Z] ---> c630803459e9 [2024-11-11T04:50:28.572Z] Step 15/24 : WORKDIR / [2024-11-11T04:50:28.573Z] ---> Running in 66ab6a493f75 [2024-11-11T04:50:28.573Z] Removing intermediate container 66ab6a493f75 [2024-11-11T04:50:28.573Z] ---> fbd8c4eb2bba [2024-11-11T04:50:28.573Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-11-11T04:50:28.573Z] ---> 28cbb2c28a7c [2024-11-11T04:50:28.573Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-11-11T04:50:30.491Z] ---> 411603b7e4a5 [2024-11-11T04:50:30.491Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-11-11T04:50:30.491Z] ---> 4b038be7edf2 [2024-11-11T04:50:30.491Z] Step 19/24 : EXPOSE 59999 [2024-11-11T04:50:30.491Z] ---> Running in 94008a7692f3 [2024-11-11T04:50:30.491Z] Removing intermediate container 94008a7692f3 [2024-11-11T04:50:30.491Z] ---> 6d7b535334bb [2024-11-11T04:50:30.491Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-11-11T04:50:30.491Z] ---> Running in 81363779a8e2 [2024-11-11T04:50:30.491Z] Removing intermediate container 81363779a8e2 [2024-11-11T04:50:30.491Z] ---> 51c2b0bc7d4b [2024-11-11T04:50:30.491Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-11-11T04:50:30.749Z] ---> Running in a78f16a0e7c5 [2024-11-11T04:50:30.749Z] Removing intermediate container a78f16a0e7c5 [2024-11-11T04:50:30.749Z] ---> a4669dd53d4b [2024-11-11T04:50:30.749Z] Step 22/24 : LABEL arch=amd64 [2024-11-11T04:50:30.749Z] ---> Running in bd0c611e8785 [2024-11-11T04:50:30.749Z] Removing intermediate container bd0c611e8785 [2024-11-11T04:50:30.749Z] ---> 873921d0aae7 [2024-11-11T04:50:30.749Z] Step 23/24 : LABEL git_sha=5a273789148cb787fedbe17d7bb26c6fc971275a [2024-11-11T04:50:30.749Z] ---> Running in 9f17dcae0556 [2024-11-11T04:50:30.749Z] Removing intermediate container 9f17dcae0556 [2024-11-11T04:50:30.749Z] ---> 8aacdfbfac5c [2024-11-11T04:50:30.749Z] Step 24/24 : LABEL version=0.0.0 [2024-11-11T04:50:30.749Z] ---> Running in 88b622809541 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T04:50:31.009Z] Removing intermediate container 88b622809541 [2024-11-11T04:50:31.009Z] ---> f03601a5814d [2024-11-11T04:50:31.009Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-11T04:50:31.009Z] Successfully built f03601a5814d [2024-11-11T04:50:31.009Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:50:31.450Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-11T04:50:31.450Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-11T04:50:31.450Z] Dload Upload Total Spent Left Speed [2024-11-11T04:50:31.450Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 219k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh [2024-11-11T04:50:31.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T04:50:31.618Z] [2024-11-11T04:50:31.618Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:50:31.819Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-11T04:50:31.920Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T04:50:31.920Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-11T04:50:31.920Z] 5eb5b503b376: Pulling fs layer [2024-11-11T04:50:31.920Z] 5c69ac0246d0: Pulling fs layer [2024-11-11T04:50:31.920Z] ec43610c2a17: Pulling fs layer [2024-11-11T04:50:31.920Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-11T04:50:31.920Z] 33b1e0a273af: Pulling fs layer [2024-11-11T04:50:31.920Z] 5d3b04190fa2: Pulling fs layer [2024-11-11T04:50:31.920Z] 2f39f015ded8: Pulling fs layer [2024-11-11T04:50:31.920Z] 33b1e0a273af: Waiting [2024-11-11T04:50:31.920Z] 3a2ae6a8a46f: Waiting [2024-11-11T04:50:31.920Z] 5d3b04190fa2: Waiting [2024-11-11T04:50:31.920Z] 2f39f015ded8: Waiting [2024-11-11T04:50:31.920Z] 5c69ac0246d0: Download complete [2024-11-11T04:50:31.920Z] 3a2ae6a8a46f: Download complete [2024-11-11T04:50:31.920Z] 33b1e0a273af: Verifying Checksum [2024-11-11T04:50:31.920Z] 33b1e0a273af: Download complete [2024-11-11T04:50:31.920Z] ec43610c2a17: Verifying Checksum [2024-11-11T04:50:31.920Z] ec43610c2a17: Download complete [2024-11-11T04:50:31.920Z] 5d3b04190fa2: Verifying Checksum [2024-11-11T04:50:31.920Z] 5d3b04190fa2: Download complete [2024-11-11T04:50:32.167Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-11T04:50:32.167Z] + sudo tee /etc/docker/daemon.new [2024-11-11T04:50:32.167Z] { [2024-11-11T04:50:32.167Z] "registry-mirrors": [ [2024-11-11T04:50:32.167Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-11T04:50:32.167Z] ], [2024-11-11T04:50:32.167Z] "bip": "10.250.0.254/24", [2024-11-11T04:50:32.167Z] "hosts": [ [2024-11-11T04:50:32.167Z] "tcp://0.0.0.0:5555", [2024-11-11T04:50:32.167Z] "unix:///var/run/docker.sock" [2024-11-11T04:50:32.167Z] ], [2024-11-11T04:50:32.167Z] "mtu": 1458, [2024-11-11T04:50:32.167Z] "selinux-enabled": true, [2024-11-11T04:50:32.167Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-11T04:50:32.167Z] } [2024-11-11T04:50:32.179Z] 5eb5b503b376: Verifying Checksum [2024-11-11T04:50:32.179Z] 5eb5b503b376: Download complete [Pipeline] sh [2024-11-11T04:50:32.505Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-11T04:50:32.747Z] 2f39f015ded8: Download complete [2024-11-11T04:50:32.842Z] + sudo service docker restart [2024-11-11T04:50:33.317Z] 5eb5b503b376: Pull complete [2024-11-11T04:50:33.575Z] 5c69ac0246d0: Pull complete [2024-11-11T04:50:33.833Z] ec43610c2a17: Pull complete [2024-11-11T04:50:33.833Z] 3a2ae6a8a46f: Pull complete [2024-11-11T04:50:34.096Z] 33b1e0a273af: Pull complete [2024-11-11T04:50:34.355Z] 5d3b04190fa2: Pull complete [2024-11-11T04:50:38.551Z] 2f39f015ded8: Pull complete [2024-11-11T04:50:38.551Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-11T04:50:38.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T04:50:38.551Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:50:38.664Z] prd-ubuntu20.04-docker-8c-8g-26114 does not seem to be running inside a container [2024-11-11T04:50:38.685Z] $ 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-1649 -v /w/workspace/gexfoundry_device-sdk-go_PR-1649:/w/workspace/gexfoundry_device-sdk-go_PR-1649:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-11T04:50:42.657Z] $ docker top 2f2a3f2e9d720a0734c332bbd66fd092bb99b7e16bd467f46f30899458c46d3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:50:43.051Z] ---> job-cost.sh [2024-11-11T04:50:43.051Z] lf-activate-venv: SKIPPING [2024-11-11T04:50:43.051Z] INFO: No Stack... [2024-11-11T04:50:43.622Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-11T04:50:43.883Z] INFO: Archiving Costs [Pipeline] sh [2024-11-11T04:50:44.177Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1649/archives/cost.csv [2024-11-11T04:50:44.177Z] + cut -d, -f6 [Pipeline] lock [2024-11-11T04:50:44.193Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1649-3-stack-cost] [2024-11-11T04:50:44.202Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1649-3-stack-cost] did not exist. Created. [2024-11-11T04:50:44.210Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1649-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-11T04:50:44.524Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-11T04:50:44.565Z] Stashed 1 file(s) [Pipeline] } [2024-11-11T04:50:44.575Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1649-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-11T04:50:44.598Z] $ docker stop --time=1 2f2a3f2e9d720a0734c332bbd66fd092bb99b7e16bd467f46f30899458c46d3c [2024-11-11T04:50:45.759Z] $ docker rm -f --volumes 2f2a3f2e9d720a0734c332bbd66fd092bb99b7e16bd467f46f30899458c46d3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T04:50:51.136Z] provisioning config files... [2024-11-11T04:50:51.166Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config12981734019674530142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:50:51.617Z] ---> ****-login.sh [2024-11-11T04:50:51.617Z] nexus3.edgexfoundry.org:10001 [2024-11-11T04:50:52.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:50:52.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:50:52.208Z] Configure a credential helper to remove this warning. See [2024-11-11T04:50:52.208Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:50:52.209Z] [2024-11-11T04:50:52.209Z] Login Succeeded [2024-11-11T04:50:52.209Z] nexus3.edgexfoundry.org:10002 [2024-11-11T04:50:52.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:50:52.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:50:52.482Z] Configure a credential helper to remove this warning. See [2024-11-11T04:50:52.482Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:50:52.482Z] [2024-11-11T04:50:52.482Z] Login Succeeded [2024-11-11T04:50:52.482Z] nexus3.edgexfoundry.org:10003 [2024-11-11T04:50:52.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:50:53.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:50:53.021Z] Configure a credential helper to remove this warning. See [2024-11-11T04:50:53.021Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:50:53.021Z] [2024-11-11T04:50:53.021Z] Login Succeeded [2024-11-11T04:50:53.021Z] nexus3.edgexfoundry.org:10004 [2024-11-11T04:50:53.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:50:53.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:50:53.292Z] Configure a credential helper to remove this warning. See [2024-11-11T04:50:53.292Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:50:53.292Z] [2024-11-11T04:50:53.292Z] Login Succeeded [2024-11-11T04:50:53.292Z] ****.io [2024-11-11T04:50:53.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:50:53.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:50:53.833Z] Configure a credential helper to remove this warning. See [2024-11-11T04:50:53.833Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:50:53.833Z] [2024-11-11T04:50:53.833Z] Login Succeeded [2024-11-11T04:50:53.833Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T04:50:53.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-11T04:50:54.217Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T04:50:54.243Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T04:50:54.266Z] ========================================================= [2024-11-11T04:50:54.266Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-11T04:50:54.266Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:50:54.671Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-11T04:50:55.261Z] Sending build context to Docker daemon 13.26MB [2024-11-11T04:50:55.261Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T04:50:55.261Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-11T04:50:55.536Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-11T04:50:55.536Z] cf04c63912e1: Pulling fs layer [2024-11-11T04:50:55.536Z] 55b35a11ae5e: Pulling fs layer [2024-11-11T04:50:55.536Z] a37a00ec5f00: Pulling fs layer [2024-11-11T04:50:55.536Z] 50b3750afda1: Pulling fs layer [2024-11-11T04:50:55.536Z] 4f4fb700ef54: Pulling fs layer [2024-11-11T04:50:55.536Z] 80978eb59214: Pulling fs layer [2024-11-11T04:50:55.536Z] c9f46d7d2bd2: Pulling fs layer [2024-11-11T04:50:55.536Z] c5a475d317c9: Pulling fs layer [2024-11-11T04:50:55.536Z] 80978eb59214: Waiting [2024-11-11T04:50:55.536Z] c9f46d7d2bd2: Waiting [2024-11-11T04:50:55.536Z] c5a475d317c9: Waiting [2024-11-11T04:50:55.536Z] 50b3750afda1: Waiting [2024-11-11T04:50:55.536Z] 4f4fb700ef54: Waiting [2024-11-11T04:50:55.536Z] 55b35a11ae5e: Verifying Checksum [2024-11-11T04:50:55.536Z] 55b35a11ae5e: Download complete [2024-11-11T04:50:55.536Z] 50b3750afda1: Download complete [2024-11-11T04:50:55.536Z] 4f4fb700ef54: Verifying Checksum [2024-11-11T04:50:55.536Z] 4f4fb700ef54: Download complete [2024-11-11T04:50:55.806Z] 80978eb59214: Download complete [2024-11-11T04:50:55.806Z] cf04c63912e1: Verifying Checksum [2024-11-11T04:50:55.806Z] cf04c63912e1: Download complete [2024-11-11T04:50:56.394Z] c5a475d317c9: Verifying Checksum [2024-11-11T04:50:56.394Z] c5a475d317c9: Download complete [2024-11-11T04:50:56.981Z] cf04c63912e1: Pull complete [2024-11-11T04:50:57.570Z] 55b35a11ae5e: Pull complete [2024-11-11T04:50:58.161Z] a37a00ec5f00: Verifying Checksum [2024-11-11T04:50:58.161Z] a37a00ec5f00: Download complete [2024-11-11T04:50:59.125Z] c9f46d7d2bd2: Verifying Checksum [2024-11-11T04:50:59.125Z] c9f46d7d2bd2: Download complete [2024-11-11T04:51:14.169Z] a37a00ec5f00: Pull complete [2024-11-11T04:51:14.169Z] 50b3750afda1: Pull complete [2024-11-11T04:51:14.169Z] 4f4fb700ef54: Pull complete [2024-11-11T04:51:14.169Z] 80978eb59214: Pull complete [2024-11-11T04:51:20.847Z] c9f46d7d2bd2: Pull complete [2024-11-11T04:51:22.796Z] c5a475d317c9: Pull complete [2024-11-11T04:51:22.796Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-11T04:51:22.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-11T04:51:22.796Z] ---> be29e6b0f0d4 [2024-11-11T04:51:22.796Z] Step 3/10 : ARG MAKE=make build [2024-11-11T04:51:24.207Z] ---> Running in 79535b0cd7d8 [2024-11-11T04:51:24.474Z] Removing intermediate container 79535b0cd7d8 [2024-11-11T04:51:24.474Z] ---> 3d90dd5f83e2 [2024-11-11T04:51:24.474Z] Step 4/10 : WORKDIR /device-sdk-go [2024-11-11T04:51:24.741Z] ---> Running in 4aa358e199d7 [2024-11-11T04:51:25.009Z] Removing intermediate container 4aa358e199d7 [2024-11-11T04:51:25.009Z] ---> e656bf21f472 [2024-11-11T04:51:25.009Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-11T04:51:25.009Z] ---> Running in 931b898bb889 [2024-11-11T04:51:25.604Z] Removing intermediate container 931b898bb889 [2024-11-11T04:51:25.604Z] ---> e49901047aec [2024-11-11T04:51:25.604Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-11-11T04:51:25.604Z] ---> Running in a1cee7dfe616 [2024-11-11T04:51:27.015Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T04:51:27.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T04:51:28.691Z] OK: 238 MiB in 54 packages [2024-11-11T04:51:30.102Z] Removing intermediate container a1cee7dfe616 [2024-11-11T04:51:30.102Z] ---> 3193fd46854e [2024-11-11T04:51:30.102Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-11T04:51:30.369Z] ---> a1bfaf30c7a3 [2024-11-11T04:51:30.369Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T04:51:30.369Z] ---> Running in 9d0fbf3710fa [2024-11-11T04:53:22.263Z] Removing intermediate container 9d0fbf3710fa [2024-11-11T04:53:22.263Z] ---> f0081f074df7 [2024-11-11T04:53:22.263Z] Step 9/10 : COPY . . [2024-11-11T04:53:22.263Z] ---> 2f524db93074 [2024-11-11T04:53:22.263Z] Step 10/10 : RUN ${MAKE} [2024-11-11T04:53:22.263Z] ---> Running in 3a5af2b49d30 [2024-11-11T04:53:22.263Z] noop [2024-11-11T04:53:22.263Z] Removing intermediate container 3a5af2b49d30 [2024-11-11T04:53:22.263Z] ---> e7597bcf8c68 [2024-11-11T04:53:22.263Z] Successfully built e7597bcf8c68 [2024-11-11T04:53:22.263Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:53:22.622Z] + docker inspect -f . ci-base-image-arm64 [2024-11-11T04:53:22.622Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:53:22.837Z] prd-ubuntu20.04-docker-arm64-4c-16g-26116 does not seem to be running inside a container [2024-11-11T04:53:22.892Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-11T04:53:24.064Z] $ docker top f5d4506fbecf47b72df034c0a81124a9f821ae7fa12b074e90958c3fa8ef95a8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T04:53:24.930Z] + go version [2024-11-11T04:53:24.930Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-11T04:53:24.951Z] $ docker stop --time=1 f5d4506fbecf47b72df034c0a81124a9f821ae7fa12b074e90958c3fa8ef95a8 [2024-11-11T04:53:26.585Z] $ docker rm -f --volumes f5d4506fbecf47b72df034c0a81124a9f821ae7fa12b074e90958c3fa8ef95a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:53:27.268Z] + docker inspect -f . ci-base-image-arm64 [2024-11-11T04:53:27.268Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:53:27.465Z] prd-ubuntu20.04-docker-arm64-4c-16g-26116 does not seem to be running inside a container [2024-11-11T04:53:27.541Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-11T04:53:28.727Z] $ docker top 63419a5bc1be3d764cbcdb5e24513ce5a8b6fb03e3f57f3e4b2c8a143c803ce6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T04:53:29.584Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2024-11-11T04:53:30.247Z] + make test [2024-11-11T04:53:30.247Z] go test -race -coverprofile=coverage.out ./... [2024-11-11T04:54:17.106Z] ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] [2024-11-11T04:57:38.912Z] github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements [2024-11-11T04:57:38.912Z] github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements [2024-11-11T04:57:38.912Z] github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements [2024-11-11T04:57:38.912Z] github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements [2024-11-11T04:57:38.912Z] github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements [2024-11-11T04:57:48.977Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.183s coverage: 28.7% of statements [2024-11-11T04:57:52.468Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.170s coverage: 79.4% of statements [2024-11-11T04:58:02.601Z] github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements [2024-11-11T04:58:02.601Z] github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements [2024-11-11T04:58:02.601Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.287s coverage: 86.0% of statements [2024-11-11T04:58:12.683Z] github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements [2024-11-11T04:58:14.096Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.626s coverage: 45.2% of statements [2024-11-11T04:58:16.689Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.264s coverage: 14.1% of statements [2024-11-11T04:58:16.689Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 2.934s coverage: 44.6% of statements [2024-11-11T04:58:20.043Z] ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] [2024-11-11T04:58:20.043Z] github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements [2024-11-11T04:58:20.043Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements [2024-11-11T04:58:21.009Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.380s coverage: 68.4% of statements [2024-11-11T04:58:26.374Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.362s coverage: 88.3% of statements [2024-11-11T04:58:30.639Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements [2024-11-11T04:58:32.065Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.299s coverage: 5.3% of statements [2024-11-11T04:58:33.476Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-11T04:58:33.476Z] GO111MODULE=on go vet ./... [2024-11-11T05:02:25.789Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-11T05:02:25.789Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-11T05:02:25.789Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-11T05:02:25.810Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-11T05:02:25.817Z] $ docker stop --time=1 63419a5bc1be3d764cbcdb5e24513ce5a8b6fb03e3f57f3e4b2c8a143c803ce6 [2024-11-11T05:02:27.834Z] $ docker rm -f --volumes 63419a5bc1be3d764cbcdb5e24513ce5a8b6fb03e3f57f3e4b2c8a143c803ce6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T05:02:30.158Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-11T05:02:30.185Z] Warning: overwriting stash ‘coverage-report’ [2024-11-11T05:02:30.912Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T05:02:31.320Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-11T05:02:31.635Z] + ls -al . [2024-11-11T05:02:31.635Z] total 700 [2024-11-11T05:02:31.635Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 04:53 . [2024-11-11T05:02:31.635Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:50 .. [2024-11-11T05:02:31.635Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 04:50 .dockerignore [2024-11-11T05:02:31.635Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 04:50 .git [2024-11-11T05:02:31.635Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 04:50 .github [2024-11-11T05:02:31.635Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 11 04:50 .gitignore [2024-11-11T05:02:31.635Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 11 04:50 .golangci.yml [2024-11-11T05:02:31.635Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 11 04:50 CHANGELOG.md [2024-11-11T05:02:31.635Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 04:50 GOVERNANCE.md [2024-11-11T05:02:31.635Z] -rw-rw-r-- 1 jenkins jenkins 882 Nov 11 04:50 Jenkinsfile [2024-11-11T05:02:31.635Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 11 04:50 LICENSE [2024-11-11T05:02:31.635Z] -rw-rw-r-- 1 jenkins jenkins 2424 Nov 11 04:50 Makefile [2024-11-11T05:02:31.635Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 11 04:50 OWNERS.md [2024-11-11T05:02:31.635Z] -rw-rw-r-- 1 jenkins jenkins 4937 Nov 11 04:50 README.md [2024-11-11T05:02:31.635Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 04:47 VERSION [2024-11-11T05:02:31.635Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:50 bin [2024-11-11T05:02:31.635Z] -rw-r--r-- 1 jenkins jenkins 468087 Nov 11 04:58 coverage.out [2024-11-11T05:02:31.635Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 04:50 example [2024-11-11T05:02:31.635Z] -rw-rw-r-- 1 jenkins jenkins 6229 Nov 11 04:50 go.mod [2024-11-11T05:02:31.635Z] -rw-rw-r-- 1 jenkins jenkins 87126 Nov 11 04:50 go.sum [2024-11-11T05:02:31.635Z] drwxrwxr-x 13 jenkins jenkins 4096 Nov 11 04:50 internal [2024-11-11T05:02:31.635Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:50 openapi [2024-11-11T05:02:31.635Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 11 04:50 pkg [2024-11-11T05:02:31.635Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:50 snap [2024-11-11T05:02:31.635Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 11 04:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T05:02:31.979Z] + 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=5a273789148cb787fedbe17d7bb26c6fc971275a --label arch=arm64 --label version=0.0.0 . [2024-11-11T05:02:32.579Z] Sending build context to Docker daemon 13.73MB [2024-11-11T05:02:32.579Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T05:02:32.579Z] Step 2/24 : FROM ${BASE} AS builder [2024-11-11T05:02:32.579Z] ---> e7597bcf8c68 [2024-11-11T05:02:32.579Z] Step 3/24 : ARG MAKE=make build [2024-11-11T05:02:32.579Z] ---> Running in 9064073aabee [2024-11-11T05:02:32.845Z] Removing intermediate container 9064073aabee [2024-11-11T05:02:32.845Z] ---> 78d85fc45563 [2024-11-11T05:02:32.845Z] Step 4/24 : WORKDIR /device-sdk-go [2024-11-11T05:02:33.111Z] ---> Running in 9646ad36eedb [2024-11-11T05:02:33.378Z] Removing intermediate container 9646ad36eedb [2024-11-11T05:02:33.378Z] ---> 9b6d3265d2ea [2024-11-11T05:02:33.378Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-11T05:02:33.378Z] ---> Running in 1dcfbc0a374a [2024-11-11T05:02:33.645Z] Removing intermediate container 1dcfbc0a374a [2024-11-11T05:02:33.645Z] ---> 2f2fba32bab3 [2024-11-11T05:02:33.645Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-11-11T05:02:33.645Z] ---> Running in 7e5e299d085e [2024-11-11T05:02:35.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T05:02:35.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T05:02:36.467Z] OK: 238 MiB in 54 packages [2024-11-11T05:02:37.435Z] Removing intermediate container 7e5e299d085e [2024-11-11T05:02:37.435Z] ---> 266b717c0636 [2024-11-11T05:02:37.435Z] Step 7/24 : COPY go.mod vendor* ./ [2024-11-11T05:02:38.051Z] ---> 399fa4a79656 [2024-11-11T05:02:38.051Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T05:02:39.012Z] ---> Running in 68e58415ecaf [2024-11-11T05:02:40.956Z] Removing intermediate container 68e58415ecaf [2024-11-11T05:02:40.956Z] ---> d2a784d924ee [2024-11-11T05:02:40.956Z] Step 9/24 : COPY . . [2024-11-11T05:02:42.892Z] ---> a09ddbd5c1b9 [2024-11-11T05:02:42.892Z] Step 10/24 : RUN ${MAKE} [2024-11-11T05:02:42.892Z] ---> Running in 6188bb87c01d [2024-11-11T05:02:43.473Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-11-11T05:06:05.217Z] Removing intermediate container 6188bb87c01d [2024-11-11T05:06:05.217Z] ---> 899964344ce4 [2024-11-11T05:06:05.217Z] Step 11/24 : FROM alpine:3.20 [2024-11-11T05:06:05.217Z] 3.20: Pulling from library/alpine [2024-11-11T05:06:05.217Z] cf04c63912e1: Already exists [2024-11-11T05:06:05.218Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-11T05:06:05.218Z] Status: Downloaded newer image for alpine:3.20 [2024-11-11T05:06:05.218Z] ---> c157a85ed455 [2024-11-11T05:06:05.218Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-11-11T05:06:05.218Z] ---> Running in 6fa1f87fd68b [2024-11-11T05:06:05.218Z] Removing intermediate container 6fa1f87fd68b [2024-11-11T05:06:05.218Z] ---> cadf274dfdf5 [2024-11-11T05:06:05.218Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-11-11T05:06:05.218Z] ---> Running in a86bc333ea67 [2024-11-11T05:06:05.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T05:06:05.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T05:06:05.218Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-11T05:06:05.218Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T05:06:05.218Z] OK: 9 MiB in 15 packages [2024-11-11T05:06:05.218Z] Removing intermediate container a86bc333ea67 [2024-11-11T05:06:05.218Z] ---> 38836b78485f [2024-11-11T05:06:05.218Z] Step 14/24 : RUN apk --no-cache upgrade [2024-11-11T05:06:05.218Z] ---> Running in ed2b47eae083 [2024-11-11T05:06:05.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T05:06:05.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T05:06:05.218Z] Upgrading critical system libraries and apk-tools: [2024-11-11T05:06:05.218Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-11T05:06:05.218Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T05:06:05.218Z] Continuing the upgrade transaction with new apk-tools: [2024-11-11T05:06:05.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T05:06:05.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T05:06:05.218Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T05:06:05.218Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T05:06:05.218Z] OK: 9 MiB in 15 packages [2024-11-11T05:06:06.172Z] Removing intermediate container ed2b47eae083 [2024-11-11T05:06:06.172Z] ---> 674cdc8c4aa0 [2024-11-11T05:06:06.172Z] Step 15/24 : WORKDIR / [2024-11-11T05:06:06.437Z] ---> Running in e110fcf63410 [2024-11-11T05:06:06.701Z] Removing intermediate container e110fcf63410 [2024-11-11T05:06:06.701Z] ---> a4bb96f95fae [2024-11-11T05:06:06.701Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-11-11T05:06:06.965Z] ---> db1f713fb573 [2024-11-11T05:06:06.965Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-11-11T05:06:08.899Z] ---> cb2af24fbd81 [2024-11-11T05:06:08.899Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-11-11T05:06:09.477Z] ---> db8494a0939e [2024-11-11T05:06:09.477Z] Step 19/24 : EXPOSE 59999 [2024-11-11T05:06:09.477Z] ---> Running in 7270e11f9b54 [2024-11-11T05:06:09.742Z] Removing intermediate container 7270e11f9b54 [2024-11-11T05:06:09.742Z] ---> 94db3c05128f [2024-11-11T05:06:09.742Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-11-11T05:06:09.742Z] ---> Running in fb46f61c26cd [2024-11-11T05:06:10.012Z] Removing intermediate container fb46f61c26cd [2024-11-11T05:06:10.012Z] ---> f07254d0798d [2024-11-11T05:06:10.012Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-11-11T05:06:10.012Z] ---> Running in 95dd74943a2b [2024-11-11T05:06:10.278Z] Removing intermediate container 95dd74943a2b [2024-11-11T05:06:10.278Z] ---> 4a3316644221 [2024-11-11T05:06:10.278Z] Step 22/24 : LABEL arch=arm64 [2024-11-11T05:06:10.548Z] ---> Running in ba18a94405e6 [2024-11-11T05:06:10.813Z] Removing intermediate container ba18a94405e6 [2024-11-11T05:06:10.813Z] ---> a3c69756daa7 [2024-11-11T05:06:10.813Z] Step 23/24 : LABEL git_sha=5a273789148cb787fedbe17d7bb26c6fc971275a [2024-11-11T05:06:10.813Z] ---> Running in f50593cb8934 [2024-11-11T05:06:11.077Z] Removing intermediate container f50593cb8934 [2024-11-11T05:06:11.077Z] ---> 907c0789de59 [2024-11-11T05:06:11.077Z] Step 24/24 : LABEL version=0.0.0 [2024-11-11T05:06:11.077Z] ---> Running in 213a81685abd [2024-11-11T05:06:11.341Z] Removing intermediate container 213a81685abd [2024-11-11T05:06:11.341Z] ---> 6067c62f327d [2024-11-11T05:06:11.341Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-11T05:06:11.341Z] Successfully built 6067c62f327d [2024-11-11T05:06:11.341Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T05:06:11.796Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T05:06:11.796Z] [2024-11-11T05:06:11.796Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T05:06:12.129Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T05:06:12.129Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-11T05:06:12.129Z] 8998bd30e6a1: Pulling fs layer [2024-11-11T05:06:12.129Z] 04944245beec: Pulling fs layer [2024-11-11T05:06:12.129Z] 699f458cf7ca: Pulling fs layer [2024-11-11T05:06:12.129Z] 765212b225bb: Pulling fs layer [2024-11-11T05:06:12.129Z] f23df028b6ca: Pulling fs layer [2024-11-11T05:06:12.129Z] d65c8cfc05b1: Pulling fs layer [2024-11-11T05:06:12.129Z] 2437ff75d9bd: Pulling fs layer [2024-11-11T05:06:12.129Z] 765212b225bb: Waiting [2024-11-11T05:06:12.129Z] f23df028b6ca: Waiting [2024-11-11T05:06:12.129Z] d65c8cfc05b1: Waiting [2024-11-11T05:06:12.129Z] 2437ff75d9bd: Waiting [2024-11-11T05:06:12.396Z] 04944245beec: Verifying Checksum [2024-11-11T05:06:12.396Z] 04944245beec: Download complete [2024-11-11T05:06:12.396Z] 765212b225bb: Verifying Checksum [2024-11-11T05:06:12.396Z] 765212b225bb: Download complete [2024-11-11T05:06:12.396Z] f23df028b6ca: Verifying Checksum [2024-11-11T05:06:12.396Z] f23df028b6ca: Download complete [2024-11-11T05:06:12.396Z] d65c8cfc05b1: Verifying Checksum [2024-11-11T05:06:12.396Z] d65c8cfc05b1: Download complete [2024-11-11T05:06:12.396Z] 699f458cf7ca: Verifying Checksum [2024-11-11T05:06:12.396Z] 699f458cf7ca: Download complete [2024-11-11T05:06:12.979Z] 8998bd30e6a1: Verifying Checksum [2024-11-11T05:06:12.979Z] 8998bd30e6a1: Download complete [2024-11-11T05:06:14.916Z] 2437ff75d9bd: Verifying Checksum [2024-11-11T05:06:14.916Z] 2437ff75d9bd: Download complete [2024-11-11T05:06:17.490Z] 8998bd30e6a1: Pull complete [2024-11-11T05:06:17.757Z] 04944245beec: Pull complete [2024-11-11T05:06:19.168Z] 699f458cf7ca: Pull complete [2024-11-11T05:06:19.433Z] 765212b225bb: Pull complete [2024-11-11T05:06:20.388Z] f23df028b6ca: Pull complete [2024-11-11T05:06:20.655Z] d65c8cfc05b1: Pull complete [2024-11-11T05:06:38.856Z] 2437ff75d9bd: Pull complete [2024-11-11T05:06:38.856Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-11T05:06:38.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T05:06:38.856Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T05:06:39.059Z] prd-ubuntu20.04-docker-arm64-4c-16g-26116 does not seem to be running inside a container [2024-11-11T05:06:39.109Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-11T05:06:41.773Z] $ docker top c07c6a2556a0415e0ccc29aaa97e0921c8650a859c4ca0039f651ce4d1d30f83 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T05:06:42.762Z] ---> job-cost.sh [2024-11-11T05:06:42.762Z] lf-activate-venv: SKIPPING [2024-11-11T05:06:42.762Z] INFO: No Stack... [2024-11-11T05:06:43.034Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-11T05:06:44.078Z] INFO: Archiving Costs [Pipeline] sh [2024-11-11T05:06:44.419Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2024-11-11T05:06:44.419Z] + cut -d, -f6 [Pipeline] lock [2024-11-11T05:06:44.756Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1649-3-stack-cost] [2024-11-11T05:06:44.766Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1649-3-stack-cost] did not exist. Created. [2024-11-11T05:06:44.774Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1649-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-11T05:06:45.133Z] /w/workspace/device-sdk-go/3@tmp/durable-d422d127/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-11T05:06:46.040Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-11T05:06:46.072Z] Warning: overwriting stash ‘stack-cost’ [2024-11-11T05:06:46.163Z] Stashed 1 file(s) [Pipeline] } [2024-11-11T05:06:46.176Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1649-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-11T05:06:46.191Z] $ docker stop --time=1 c07c6a2556a0415e0ccc29aaa97e0921c8650a859c4ca0039f651ce4d1d30f83 [2024-11-11T05:06:47.671Z] $ docker rm -f --volumes c07c6a2556a0415e0ccc29aaa97e0921c8650a859c4ca0039f651ce4d1d30f83 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-11-11T05:06:48.125Z] provisioning config files... [2024-11-11T05:06:48.135Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/config3380619271974922001tmp [Pipeline] { [Pipeline] sh [2024-11-11T05:06:48.446Z] + set +x [2024-11-11T05:06:48.446Z] + bash -s -- [2024-11-11T05:06:48.446Z] + curl -s https://codecov.io/bash [2024-11-11T05:06:48.446Z] [2024-11-11T05:06:48.446Z] _____ _ [2024-11-11T05:06:48.446Z] / ____| | | [2024-11-11T05:06:48.446Z] | | ___ __| | ___ ___ _____ __ [2024-11-11T05:06:48.446Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-11T05:06:48.446Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-11T05:06:48.446Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-11T05:06:48.446Z] Bash-1.0.6 [2024-11-11T05:06:48.446Z] [2024-11-11T05:06:48.446Z] [2024-11-11T05:06:48.446Z] ==> git version 2.25.1 found [2024-11-11T05:06:48.446Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-11-11T05:06:48.446Z] Release-Date: 2020-01-08 [2024-11-11T05:06:48.446Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-11-11T05:06:48.446Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-11T05:06:48.446Z] ==> Jenkins CI detected. [2024-11-11T05:06:48.446Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1649 [2024-11-11T05:06:48.446Z] project root: . [2024-11-11T05:06:48.446Z] --> token set from env [2024-11-11T05:06:48.446Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-11T05:06:48.446Z] ==> Running gcov in . (disable via -X gcov) [2024-11-11T05:06:48.446Z] ==> Python coveragepy not found [2024-11-11T05:06:48.446Z] ==> Searching for coverage reports in: [2024-11-11T05:06:48.446Z] + . [2024-11-11T05:06:48.446Z] -> Found 1 reports [2024-11-11T05:06:48.446Z] ==> Detecting git/mercurial file structure [2024-11-11T05:06:48.446Z] ==> Reading reports [2024-11-11T05:06:48.446Z] + ./coverage.out bytes=468087 [2024-11-11T05:06:48.446Z] ==> Appending adjustments [2024-11-11T05:06:48.446Z] https://docs.codecov.io/docs/fixing-reports [2024-11-11T05:06:49.043Z] + Found adjustments [2024-11-11T05:06:49.043Z] ==> Gzipping contents [2024-11-11T05:06:49.043Z] 44K /tmp/codecov.P9mQai.gz [2024-11-11T05:06:49.043Z] ==> Uploading reports [2024-11-11T05:06:49.043Z] url: https://codecov.io [2024-11-11T05:06:49.043Z] query: branch=PR-1649&commit=5a273789148cb787fedbe17d7bb26c6fc971275a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1649%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1649&job=&cmd_args= [2024-11-11T05:06:49.043Z] -> Pinging Codecov [2024-11-11T05:06:49.043Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1649&commit=5a273789148cb787fedbe17d7bb26c6fc971275a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1649%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1649&job=&cmd_args= [2024-11-11T05:06:49.043Z] -> Uploading to [2024-11-11T05:06:49.043Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/5a273789148cb787fedbe17d7bb26c6fc971275a/c6b3f6c3-537d-4b57-b06d-b2f99a50bb54.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241111%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241111T050648Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=71c6646e75d36f77990f94ef534839bd399934f498f565e8047a94d143b26c1d [2024-11-11T05:06:49.043Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-11T05:06:49.043Z] Dload Upload Total Spent Left Speed [2024-11-11T05:06:49.329Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44780 0 0 100 44780 0 161k --:--:-- --:--:-- --:--:-- 161k [2024-11-11T05:06:49.330Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5a273789148cb787fedbe17d7bb26c6fc971275a [Pipeline] } [2024-11-11T05:06:49.350Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-11-11T05:06:50.160Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1649/archives ] [2024-11-11T05:06:50.161Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1649/archives [2024-11-11T05:06:50.161Z] total 16 [2024-11-11T05:06:50.161Z] drwxr-xr-x 3 root root 4096 Nov 11 04:50 . [2024-11-11T05:06:50.161Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 11 04:50 .. [2024-11-11T05:06:50.161Z] drwxr-xr-x 2 root root 4096 Nov 11 04:50 cost [2024-11-11T05:06:50.161Z] -rw-r--r-- 1 root root 86 Nov 11 04:50 cost.csv [2024-11-11T05:06:50.161Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1649/archives [2024-11-11T05:06:50.161Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1649/archives [2024-11-11T05:06:50.161Z] total 16 [2024-11-11T05:06:50.161Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 04:50 . [2024-11-11T05:06:50.161Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 11 04:50 .. [2024-11-11T05:06:50.161Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 11 04:50 cost [2024-11-11T05:06:50.161Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 11 04:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-11T05:06:50.453Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T05:06:51.321Z] ---> package-listing.sh [2024-11-11T05:06:51.321Z] ++ facter osfamily [2024-11-11T05:06:51.321Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-11T05:06:51.580Z] + OS_FAMILY=debian [2024-11-11T05:06:51.580Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1649 [2024-11-11T05:06:51.580Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-11T05:06:51.580Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-11T05:06:51.580Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-11T05:06:51.580Z] + PACKAGES=/tmp/packages_start.txt [2024-11-11T05:06:51.580Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1649 ']' [2024-11-11T05:06:51.580Z] + PACKAGES=/tmp/packages_end.txt [2024-11-11T05:06:51.580Z] + case "${OS_FAMILY}" in [2024-11-11T05:06:51.580Z] + dpkg -l [2024-11-11T05:06:51.580Z] + grep '^ii' [2024-11-11T05:06:51.580Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-11T05:06:51.580Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-11T05:06:51.580Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-11T05:06:51.580Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1649 ']' [2024-11-11T05:06:51.580Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1649/archives/ [2024-11-11T05:06:51.580Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1649/archives/ [Pipeline] echo [2024-11-11T05:06:51.592Z] 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-1649/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-11T05:06:51.870Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T05:06:52.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T05:06:52.438Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T05:06:52.524Z] prd-ubuntu20.04-docker-8c-8g-26114 does not seem to be running inside a container [2024-11-11T05:06:52.552Z] $ 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-1649/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-1649 -v /w/workspace/gexfoundry_device-sdk-go_PR-1649:/w/workspace/gexfoundry_device-sdk-go_PR-1649:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-11T05:06:52.733Z] $ docker top 6ce14b5d5304ed86df5e4851d9e0294985a953369cfb9356067e41f6cba1e2e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T05:06:53.090Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-11T05:06:53.381Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-11T05:06:53.671Z] + ls /var/log/sa-host [2024-11-11T05:06:53.671Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T05:06:53.749Z] provisioning config files... [2024-11-11T05:06:53.758Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/config5897134422769822563tmp [Pipeline] { [Pipeline] echo [2024-11-11T05:06:53.776Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T05:06:54.061Z] ---> create-netrc.sh [Pipeline] } [2024-11-11T05:06:54.069Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-11T05:06:54.401Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-11T05:06:54.411Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T05:06:54.696Z] ---> sudo-logs.sh [2024-11-11T05:06:54.696Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-11T05:06:54.727Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T05:06:55.007Z] ---> job-cost.sh [2024-11-11T05:06:55.007Z] lf-activate-venv: SKIPPING [2024-11-11T05:06:55.007Z] DEBUG: total: 0.2199999988079071 [2024-11-11T05:06:55.007Z] INFO: Retrieving Stack Cost... [2024-11-11T05:06:55.573Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-11T05:06:55.832Z] INFO: Archiving Costs [Pipeline] echo [2024-11-11T05:06:55.847Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T05:06:56.130Z] ---> logs-deploy.sh [2024-11-11T05:06:56.130Z] lf-activate-venv: SKIPPING [2024-11-11T05:06:56.130Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1649/3 [2024-11-11T05:06:56.130Z] INFO: archiving workspace using pattern(s): [2024-11-11T05:06:57.068Z] Archives upload complete. [2024-11-11T05:06:57.068Z] INFO: archiving logs to Nexus