Pull request #1616 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 6d5cd8995dc981926f14347bf033eca9bc1eeb5e+160aeeac7f80da201deb091151152d5490173ec8 (a93f0fd897eafb0c25d12a9e6ee71e45b8284877) 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-ssh4908517879264948621.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh101320501406264462.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 f3350a1713306dce7682ed7e37d5774890d03277 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-1616/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-1616/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10054671189454717046.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh6009791169025307632.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-1616/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-1616/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9218435116372211368.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8784’ Running on prd-ubuntu20.04-docker-8c-8g-8786 in /w/workspace/gexfoundry_device-sdk-go_PR-1616 [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-1616 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 160aeeac7f80da201deb091151152d5490173ec8 into PR head commit 6d5cd8995dc981926f14347bf033eca9bc1eeb5e Merge succeeded, producing 78df53328f6a102334683b31b83dc2cebecf6dc0 Checking out Revision 78df53328f6a102334683b31b83dc2cebecf6dc0 (PR-1616) > 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/1616/head:refs/remotes/origin/PR-1616 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d5cd8995dc981926f14347bf033eca9bc1eeb5e # 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 160aeeac7f80da201deb091151152d5490173ec8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 78df53328f6a102334683b31b83dc2cebecf6dc0 # timeout=10 Commit message: "Merge commit '160aeeac7f80da201deb091151152d5490173ec8' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-27T08:48:30.183Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-27T08:48:30.272Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-27T08:48:30.302Z] ========================================================= [2024-08-27T08:48:30.302Z] EdgeX Global Pipelines Version Info [2024-08-27T08:48:30.302Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 # timeout=10 [2024-08-27T08:48:31.401Z] ------------------- [2024-08-27T08:48:31.401Z] stable info: [2024-08-27T08:48:31.401Z] ------------------- [2024-08-27T08:48:31.401Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-08-27T08:48:31.401Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-27T08:48:31.401Z] Message: update stable to v1.0.263 [2024-08-27T08:48:31.662Z] ------------------- [2024-08-27T08:48:31.662Z] experimental info: [2024-08-27T08:48:31.662Z] ------------------- [2024-08-27T08:48:31.662Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-08-27T08:48:31.662Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-27T08:48:31.662Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-27T08:48:31.743Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-08-27T08:48:31.761Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-08-27T08:48:31.793Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-27T08:48:31.817Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-27T08:48:31.841Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-27T08:48:31.870Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-27T08:48:31.892Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-27T08:48:31.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-08-27T08:48:31.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-27T08:48:31.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-27T08:48:31.982Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-27T08:48:32.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-08-27T08:48:32.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-27T08:48:32.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-27T08:48:32.067Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-27T08:48:32.088Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-08-27T08:48:32.111Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-27T08:48:32.139Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-27T08:48:32.165Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-27T08:48:32.185Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-27T08:48:32.207Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-08-27T08:48:32.231Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-08-27T08:48:32.252Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-27T08:48:32.271Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-27T08:48:32.293Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-27T08:48:32.314Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-27T08:48:32.337Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-27T08:48:32.356Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1616 [Pipeline] echo [2024-08-27T08:48:32.382Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1616 [Pipeline] echo [2024-08-27T08:48:32.406Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1616 [Pipeline] echo [2024-08-27T08:48:32.429Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 78df53328f6a102334683b31b83dc2cebecf6dc0 [Pipeline] echo [2024-08-27T08:48:32.456Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 78df533 [Pipeline] echo [2024-08-27T08:48:32.481Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-27T08:48:32.548Z] provisioning config files... [2024-08-27T08:48:32.563Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/config14473959278762326362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-27T08:48:32.898Z] ---> ****-login.sh [2024-08-27T08:48:32.898Z] nexus3.edgexfoundry.org:10001 [2024-08-27T08:48:33.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T08:48:33.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T08:48:33.160Z] Configure a credential helper to remove this warning. See [2024-08-27T08:48:33.160Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T08:48:33.160Z] [2024-08-27T08:48:33.160Z] Login Succeeded [2024-08-27T08:48:33.160Z] nexus3.edgexfoundry.org:10002 [2024-08-27T08:48:33.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T08:48:33.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T08:48:33.160Z] Configure a credential helper to remove this warning. See [2024-08-27T08:48:33.160Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T08:48:33.160Z] [2024-08-27T08:48:33.160Z] Login Succeeded [2024-08-27T08:48:33.160Z] nexus3.edgexfoundry.org:10003 [2024-08-27T08:48:33.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T08:48:33.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T08:48:33.422Z] Configure a credential helper to remove this warning. See [2024-08-27T08:48:33.422Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T08:48:33.422Z] [2024-08-27T08:48:33.422Z] Login Succeeded [2024-08-27T08:48:33.422Z] nexus3.edgexfoundry.org:10004 [2024-08-27T08:48:33.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T08:48:33.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T08:48:33.422Z] Configure a credential helper to remove this warning. See [2024-08-27T08:48:33.422Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T08:48:33.422Z] [2024-08-27T08:48:33.422Z] Login Succeeded [2024-08-27T08:48:33.422Z] ****.io [2024-08-27T08:48:33.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T08:48:33.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T08:48:33.945Z] Configure a credential helper to remove this warning. See [2024-08-27T08:48:33.945Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T08:48:33.945Z] [2024-08-27T08:48:33.945Z] Login Succeeded [2024-08-27T08:48:33.945Z] ---> ****-login.sh ends [Pipeline] } [2024-08-27T08:48:33.953Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-27T08:48:34.378Z] + git rev-list -1 --merges 78df53328f6a102334683b31b83dc2cebecf6dc0~1..78df53328f6a102334683b31b83dc2cebecf6dc0 [Pipeline] echo [2024-08-27T08:48:34.408Z] -----------> git rev-list -1 --merges 78df53328f6a102334683b31b83dc2cebecf6dc0~1..78df53328f6a102334683b31b83dc2cebecf6dc0 78df53328f6a102334683b31b83dc2cebecf6dc0 [2024-08-27T08:48:34.408Z] 78df53328f6a102334683b31b83dc2cebecf6dc0 [false] [Pipeline] sh [2024-08-27T08:48:34.709Z] + git log --format=format:%s -1 78df53328f6a102334683b31b83dc2cebecf6dc0 [Pipeline] echo [2024-08-27T08:48:34.727Z] ========================================================= [2024-08-27T08:48:34.727Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-27T08:48:34.727Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-27T08:48:35.089Z] + git log --format=format:%s -1 78df53328f6a102334683b31b83dc2cebecf6dc0 [Pipeline] echo [2024-08-27T08:48:35.102Z] [semverPrep] GIT_COMMIT: 78df53328f6a102334683b31b83dc2cebecf6dc0, Commit Message: Merge commit '160aeeac7f80da201deb091151152d5490173ec8' into HEAD [Pipeline] echo [2024-08-27T08:48:35.122Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-27T08:48:35.488Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-27T08:48:35.488Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-27T08:48:35.488Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-27T08:48:35.488Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-27T08:48:35.488Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-27T08:48:35.488Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-27T08:48:35.488Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T08:48:35.884Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-27T08:48:35.884Z] [2024-08-27T08:48:35.884Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T08:48:36.315Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-27T08:48:36.315Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-27T08:48:36.315Z] b85a868b505f: Pulling fs layer [2024-08-27T08:48:36.315Z] e2be974225ed: Pulling fs layer [2024-08-27T08:48:36.315Z] 339a4e72a1f5: Pulling fs layer [2024-08-27T08:48:36.315Z] 988bab9f4d93: Pulling fs layer [2024-08-27T08:48:36.315Z] 1469e6f7b9e6: Pulling fs layer [2024-08-27T08:48:36.315Z] eaf3925da568: Pulling fs layer [2024-08-27T08:48:36.315Z] bab4dde63d76: Pulling fs layer [2024-08-27T08:48:36.315Z] bde34c3a00c8: Pulling fs layer [2024-08-27T08:48:36.315Z] b352a97aabf1: Pulling fs layer [2024-08-27T08:48:36.315Z] 4872d77fe225: Pulling fs layer [2024-08-27T08:48:36.315Z] 5851b861e8e6: Pulling fs layer [2024-08-27T08:48:36.315Z] 988bab9f4d93: Waiting [2024-08-27T08:48:36.315Z] 1469e6f7b9e6: Waiting [2024-08-27T08:48:36.315Z] eaf3925da568: Waiting [2024-08-27T08:48:36.315Z] 4872d77fe225: Waiting [2024-08-27T08:48:36.315Z] bab4dde63d76: Waiting [2024-08-27T08:48:36.315Z] bde34c3a00c8: Waiting [2024-08-27T08:48:36.315Z] 5851b861e8e6: Waiting [2024-08-27T08:48:36.315Z] b352a97aabf1: Waiting [2024-08-27T08:48:36.577Z] e2be974225ed: Verifying Checksum [2024-08-27T08:48:36.577Z] e2be974225ed: Download complete [2024-08-27T08:48:36.577Z] 988bab9f4d93: Verifying Checksum [2024-08-27T08:48:36.577Z] 988bab9f4d93: Download complete [2024-08-27T08:48:36.577Z] 1469e6f7b9e6: Verifying Checksum [2024-08-27T08:48:36.577Z] 1469e6f7b9e6: Download complete [2024-08-27T08:48:36.577Z] eaf3925da568: Verifying Checksum [2024-08-27T08:48:36.577Z] eaf3925da568: Download complete [2024-08-27T08:48:36.577Z] 339a4e72a1f5: Verifying Checksum [2024-08-27T08:48:36.577Z] 339a4e72a1f5: Download complete [2024-08-27T08:48:36.577Z] bde34c3a00c8: Verifying Checksum [2024-08-27T08:48:36.577Z] bde34c3a00c8: Download complete [2024-08-27T08:48:36.577Z] 4872d77fe225: Download complete [2024-08-27T08:48:36.577Z] 5851b861e8e6: Verifying Checksum [2024-08-27T08:48:36.577Z] 5851b861e8e6: Download complete [2024-08-27T08:48:36.839Z] b85a868b505f: Verifying Checksum [2024-08-27T08:48:36.839Z] b85a868b505f: Download complete [2024-08-27T08:48:37.098Z] bab4dde63d76: Verifying Checksum [2024-08-27T08:48:37.099Z] bab4dde63d76: Download complete [2024-08-27T08:48:38.041Z] b85a868b505f: Pull complete [2024-08-27T08:48:38.041Z] e2be974225ed: Pull complete [2024-08-27T08:48:38.611Z] 339a4e72a1f5: Pull complete [2024-08-27T08:48:38.611Z] 988bab9f4d93: Pull complete [2024-08-27T08:48:38.871Z] 1469e6f7b9e6: Pull complete [2024-08-27T08:48:39.132Z] eaf3925da568: Pull complete [2024-08-27T08:48:41.041Z] bab4dde63d76: Pull complete [2024-08-27T08:48:41.041Z] bde34c3a00c8: Pull complete [2024-08-27T08:48:41.041Z] b352a97aabf1: Pull complete [2024-08-27T08:48:41.301Z] 4872d77fe225: Pull complete [2024-08-27T08:48:41.301Z] 5851b861e8e6: Pull complete [2024-08-27T08:48:41.301Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-27T08:48:41.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-27T08:48:41.301Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T08:48:41.442Z] prd-ubuntu20.04-docker-8c-8g-8786 does not seem to be running inside a container [2024-08-27T08:48:41.474Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1616 -v /w/workspace/gexfoundry_device-sdk-go_PR-1616:/w/workspace/gexfoundry_device-sdk-go_PR-1616:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-27T08:48:45.820Z] $ docker top 3f2ed2d06eb24ea5db5ff38f489a251255859ed9f058303bb0ecb854e4876726 -eo pid,comm [2024-08-27T08:48:45.879Z] 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-08-27T08:48:45.879Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-27T08:48:45.949Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-27T08:48:45.949Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-27T08:48:46.057Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-27T08:48:46.057Z] $ docker exec 3f2ed2d06eb24ea5db5ff38f489a251255859ed9f058303bb0ecb854e4876726 ssh-agent [2024-08-27T08:48:46.162Z] SSH_AUTH_SOCK=/tmp/ssh-zDyldX56lx04/agent.32 [2024-08-27T08:48:46.162Z] SSH_AGENT_PID=39 [2024-08-27T08:48:46.168Z] Running ssh-add (command line suppressed) [2024-08-27T08:48:46.266Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/private_key_551991490669363219.key (/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/private_key_551991490669363219.key) [2024-08-27T08:48:46.281Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-27T08:48:46.577Z] + git tag --points-at HEAD [Pipeline] } [2024-08-27T08:48:46.587Z] $ docker exec --env ******** --env ******** 3f2ed2d06eb24ea5db5ff38f489a251255859ed9f058303bb0ecb854e4876726 ssh-agent -k [2024-08-27T08:48:46.687Z] unset SSH_AUTH_SOCK; [2024-08-27T08:48:46.688Z] unset SSH_AGENT_PID; [2024-08-27T08:48:46.688Z] echo Agent pid 39 killed; [2024-08-27T08:48:46.699Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-27T08:48:46.740Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-27T08:48:46.740Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-27T08:48:46.848Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-27T08:48:46.849Z] $ docker exec 3f2ed2d06eb24ea5db5ff38f489a251255859ed9f058303bb0ecb854e4876726 ssh-agent [2024-08-27T08:48:46.950Z] SSH_AUTH_SOCK=/tmp/ssh-Z03gK7o15mtC/agent.72 [2024-08-27T08:48:46.950Z] SSH_AGENT_PID=78 [2024-08-27T08:48:46.955Z] Running ssh-add (command line suppressed) [2024-08-27T08:48:47.058Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/private_key_5986759204945103220.key (/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/private_key_5986759204945103220.key) [2024-08-27T08:48:47.073Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-27T08:48:47.368Z] + git semver init [2024-08-27T08:48:47.627Z] 2024-08-27 08:48:47,595 [run_init] DEBUG init version:0.0.0 force:False [2024-08-27T08:48:47.628Z] 2024-08-27 08:48:47,596 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver [2024-08-27T08:48:47.628Z] 2024-08-27 08:48:47,596 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver [2024-08-27T08:48:47.628Z] 2024-08-27 08:48:47,596 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1616, universal_newlines=False, shell=None, istream=None) [2024-08-27T08:48:50.169Z] 2024-08-27 08:48:49,694 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1616/.git/info/exclude [2024-08-27T08:48:50.169Z] 2024-08-27 08:48:49,695 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver/PR-1616 with force:False [2024-08-27T08:48:50.169Z] 2024-08-27 08:48:49,695 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver/PR-1616 [2024-08-27T08:48:50.169Z] 2024-08-27 08:48:49,698 [execute] INFO git cat-file --batch-check [2024-08-27T08:48:50.169Z] 2024-08-27 08:48:49,698 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver, universal_newlines=False, shell=None, istream=) [2024-08-27T08:48:50.169Z] 2024-08-27 08:48:49,705 [execute] INFO git cat-file --batch [2024-08-27T08:48:50.169Z] 2024-08-27 08:48:49,705 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver, universal_newlines=False, shell=None, istream=) [2024-08-27T08:48:50.169Z] 2024-08-27 08:48:49,709 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1616/.semver/PR-1616 [2024-08-27T08:48:50.169Z] 0.0.0 [Pipeline] } [2024-08-27T08:48:50.177Z] $ docker exec --env ******** --env ******** 3f2ed2d06eb24ea5db5ff38f489a251255859ed9f058303bb0ecb854e4876726 ssh-agent -k [2024-08-27T08:48:50.281Z] unset SSH_AUTH_SOCK; [2024-08-27T08:48:50.281Z] unset SSH_AGENT_PID; [2024-08-27T08:48:50.282Z] echo Agent pid 78 killed; [2024-08-27T08:48:50.295Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-27T08:48:50.621Z] + git semver [Pipeline] } [2024-08-27T08:48:50.890Z] $ docker stop --time=1 3f2ed2d06eb24ea5db5ff38f489a251255859ed9f058303bb0ecb854e4876726 [2024-08-27T08:48:52.157Z] $ docker rm -f --volumes 3f2ed2d06eb24ea5db5ff38f489a251255859ed9f058303bb0ecb854e4876726 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-27T08:48:52.507Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-27T08:48:52.734Z] Stashed 1 file(s) [Pipeline] echo [2024-08-27T08:48:52.739Z] [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-08-27T08:48:52.922Z] provisioning config files... [2024-08-27T08:48:52.931Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/config10521646119639610844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-27T08:48:53.230Z] ---> ****-login.sh [2024-08-27T08:48:53.230Z] nexus3.edgexfoundry.org:10001 [2024-08-27T08:48:53.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T08:48:53.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T08:48:53.231Z] Configure a credential helper to remove this warning. See [2024-08-27T08:48:53.231Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T08:48:53.231Z] [2024-08-27T08:48:53.231Z] Login Succeeded [2024-08-27T08:48:53.231Z] nexus3.edgexfoundry.org:10002 [2024-08-27T08:48:53.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T08:48:53.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T08:48:53.231Z] Configure a credential helper to remove this warning. See [2024-08-27T08:48:53.231Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T08:48:53.231Z] [2024-08-27T08:48:53.231Z] Login Succeeded [2024-08-27T08:48:53.231Z] nexus3.edgexfoundry.org:10003 [2024-08-27T08:48:53.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T08:48:53.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T08:48:53.491Z] Configure a credential helper to remove this warning. See [2024-08-27T08:48:53.491Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T08:48:53.491Z] [2024-08-27T08:48:53.491Z] Login Succeeded [2024-08-27T08:48:53.491Z] nexus3.edgexfoundry.org:10004 [2024-08-27T08:48:53.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T08:48:53.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T08:48:53.492Z] Configure a credential helper to remove this warning. See [2024-08-27T08:48:53.492Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T08:48:53.492Z] [2024-08-27T08:48:53.492Z] Login Succeeded [2024-08-27T08:48:53.492Z] ****.io [2024-08-27T08:48:53.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T08:48:53.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T08:48:53.752Z] Configure a credential helper to remove this warning. See [2024-08-27T08:48:53.752Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T08:48:53.752Z] [2024-08-27T08:48:53.752Z] Login Succeeded [2024-08-27T08:48:53.752Z] ---> ****-login.sh ends [Pipeline] } [2024-08-27T08:48:53.760Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-27T08:48:53.863Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-27T08:48:53.881Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-27T08:48:53.900Z] ========================================================= [2024-08-27T08:48:53.900Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-27T08:48:53.900Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T08:48:54.249Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-27T08:48:54.249Z] Sending build context to Docker daemon 25.32MB [2024-08-27T08:48:54.249Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-27T08:48:54.249Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-27T08:48:54.510Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-27T08:48:54.510Z] 619be1103602: Pulling fs layer [2024-08-27T08:48:54.510Z] 7862e08f4a3e: Pulling fs layer [2024-08-27T08:48:54.510Z] 5df492c9dc93: Pulling fs layer [2024-08-27T08:48:54.510Z] 7629e6793208: Pulling fs layer [2024-08-27T08:48:54.510Z] 4f4fb700ef54: Pulling fs layer [2024-08-27T08:48:54.510Z] fb5054dd5b73: Pulling fs layer [2024-08-27T08:48:54.510Z] eeca6798cff9: Pulling fs layer [2024-08-27T08:48:54.511Z] aa269ceb94a6: Pulling fs layer [2024-08-27T08:48:54.511Z] ada007ff1a6a: Pulling fs layer [2024-08-27T08:48:54.511Z] fb5054dd5b73: Waiting [2024-08-27T08:48:54.511Z] eeca6798cff9: Waiting [2024-08-27T08:48:54.511Z] aa269ceb94a6: Waiting [2024-08-27T08:48:54.511Z] ada007ff1a6a: Waiting [2024-08-27T08:48:54.511Z] 7629e6793208: Waiting [2024-08-27T08:48:54.511Z] 4f4fb700ef54: Waiting [2024-08-27T08:48:54.511Z] 7862e08f4a3e: Verifying Checksum [2024-08-27T08:48:54.511Z] 7862e08f4a3e: Download complete [2024-08-27T08:48:54.511Z] 7629e6793208: Verifying Checksum [2024-08-27T08:48:54.511Z] 7629e6793208: Download complete [2024-08-27T08:48:54.511Z] 4f4fb700ef54: Verifying Checksum [2024-08-27T08:48:54.511Z] 4f4fb700ef54: Download complete [2024-08-27T08:48:54.511Z] fb5054dd5b73: Verifying Checksum [2024-08-27T08:48:54.511Z] fb5054dd5b73: Download complete [2024-08-27T08:48:54.511Z] 619be1103602: Verifying Checksum [2024-08-27T08:48:54.511Z] 619be1103602: Download complete [2024-08-27T08:48:54.511Z] eeca6798cff9: Verifying Checksum [2024-08-27T08:48:54.511Z] eeca6798cff9: Download complete [2024-08-27T08:48:54.772Z] 619be1103602: Pull complete [2024-08-27T08:48:54.772Z] ada007ff1a6a: Verifying Checksum [2024-08-27T08:48:54.772Z] ada007ff1a6a: Download complete [2024-08-27T08:48:54.772Z] 7862e08f4a3e: Pull complete [2024-08-27T08:48:55.032Z] 5df492c9dc93: Verifying Checksum [2024-08-27T08:48:55.032Z] 5df492c9dc93: Download complete [2024-08-27T08:48:55.601Z] aa269ceb94a6: Verifying Checksum [2024-08-27T08:48:55.601Z] aa269ceb94a6: Download complete [2024-08-27T08:48:58.913Z] 5df492c9dc93: Pull complete [2024-08-27T08:48:58.913Z] 7629e6793208: Pull complete [2024-08-27T08:48:58.913Z] 4f4fb700ef54: Pull complete [2024-08-27T08:48:58.913Z] fb5054dd5b73: Pull complete [2024-08-27T08:48:58.913Z] eeca6798cff9: Pull complete [2024-08-27T08:49:01.460Z] aa269ceb94a6: Pull complete [2024-08-27T08:49:02.038Z] ada007ff1a6a: Pull complete [2024-08-27T08:49:02.038Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-27T08:49:02.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-27T08:49:02.038Z] ---> f489d0715acc [2024-08-27T08:49:02.038Z] Step 3/10 : ARG MAKE=make build [2024-08-27T08:49:07.863Z] Still waiting to schedule task [2024-08-27T08:49:07.864Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8785’ is offline [2024-08-27T08:49:10.196Z] ---> Running in 5c0340e47cdf [2024-08-27T08:49:10.196Z] Removing intermediate container 5c0340e47cdf [2024-08-27T08:49:10.196Z] ---> aa4e561ecb11 [2024-08-27T08:49:10.196Z] Step 4/10 : WORKDIR /device-sdk-go [2024-08-27T08:49:10.196Z] ---> Running in 1be5f5beaa55 [2024-08-27T08:49:10.196Z] Removing intermediate container 1be5f5beaa55 [2024-08-27T08:49:10.196Z] ---> 945ef745285f [2024-08-27T08:49:10.196Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-27T08:49:10.196Z] ---> Running in 3ecc3caf6c9c [2024-08-27T08:49:10.196Z] Removing intermediate container 3ecc3caf6c9c [2024-08-27T08:49:10.196Z] ---> 66a136342558 [2024-08-27T08:49:10.196Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-08-27T08:49:10.196Z] ---> Running in ae277ab0444c [2024-08-27T08:49:10.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-27T08:49:12.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-27T08:49:12.993Z] OK: 264 MiB in 52 packages [2024-08-27T08:49:13.251Z] Removing intermediate container ae277ab0444c [2024-08-27T08:49:13.251Z] ---> 895c49b898d1 [2024-08-27T08:49:13.251Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-27T08:49:13.251Z] ---> 7787a5bb072e [2024-08-27T08:49:13.251Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-27T08:49:13.251Z] ---> Running in 5484349c42bb [2024-08-27T08:50:34.736Z] Removing intermediate container 5484349c42bb [2024-08-27T08:50:34.736Z] ---> 76e558aa0d18 [2024-08-27T08:50:34.736Z] Step 9/10 : COPY . . [2024-08-27T08:50:34.736Z] ---> df075fe23462 [2024-08-27T08:50:34.736Z] Step 10/10 : RUN ${MAKE} [2024-08-27T08:50:34.736Z] ---> Running in 28450aa17699 [2024-08-27T08:50:34.736Z] noop [2024-08-27T08:50:34.736Z] Removing intermediate container 28450aa17699 [2024-08-27T08:50:34.736Z] ---> 543ced86e7d6 [2024-08-27T08:50:34.736Z] Successfully built 543ced86e7d6 [2024-08-27T08:50:34.736Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T08:50:35.080Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-27T08:50:35.080Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T08:50:35.166Z] prd-ubuntu20.04-docker-8c-8g-8786 does not seem to be running inside a container [2024-08-27T08:50:35.198Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1616 -v /w/workspace/gexfoundry_device-sdk-go_PR-1616:/w/workspace/gexfoundry_device-sdk-go_PR-1616:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-27T08:50:35.582Z] $ docker top 3d20668112e29105c3f0bf7829e9fcfe92731e83ae8e50d629342d8df6ef88f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-27T08:50:35.937Z] + go version [2024-08-27T08:50:35.937Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-27T08:50:35.951Z] $ docker stop --time=1 3d20668112e29105c3f0bf7829e9fcfe92731e83ae8e50d629342d8df6ef88f9 [2024-08-27T08:50:37.211Z] $ docker rm -f --volumes 3d20668112e29105c3f0bf7829e9fcfe92731e83ae8e50d629342d8df6ef88f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T08:50:37.673Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-27T08:50:37.674Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T08:50:37.759Z] prd-ubuntu20.04-docker-8c-8g-8786 does not seem to be running inside a container [2024-08-27T08:50:37.787Z] $ 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-1616 -v /w/workspace/gexfoundry_device-sdk-go_PR-1616:/w/workspace/gexfoundry_device-sdk-go_PR-1616:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-27T08:50:38.216Z] $ docker top 5a44316da2dd4e99e72f34af2dd94caa868babe6806e4c42b339f25543143952 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-27T08:50:38.569Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1616 [Pipeline] fileExists [Pipeline] sh [2024-08-27T08:50:38.873Z] + make test [2024-08-27T08:50:38.873Z] go test -race -coverprofile=coverage.out ./... [2024-08-27T08:50:43.653Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8788 in /w/workspace/gexfoundry_device-sdk-go_PR-1616 [Pipeline] { [Pipeline] ws [2024-08-27T08:50:43.673Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2024-08-27T08:50:45.445Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-08-27T08:50:46.736Z] The recommended git tool is: git [2024-08-27T08:50:56.457Z] using credential edgex-jenkins-ssh [2024-08-27T08:50:56.480Z] Cloning the remote Git repository [2024-08-27T08:50:56.538Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-08-27T08:50:56.724Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2024-08-27T08:50:56.995Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-08-27T08:50:56.997Z] > git --version # timeout=10 [2024-08-27T08:50:57.037Z] > git --version # 'git version 2.25.1' [2024-08-27T08:50:57.041Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-27T08:50:57.271Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-27T08:51:01.015Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-08-27T08:51:01.066Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-27T08:51:03.330Z] Merging remotes/origin/main commit 160aeeac7f80da201deb091151152d5490173ec8 into PR head commit 6d5cd8995dc981926f14347bf033eca9bc1eeb5e [2024-08-27T08:51:02.476Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-08-27T08:51:02.563Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-08-27T08:51:02.568Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-27T08:51:02.626Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1616/head:refs/remotes/origin/PR-1616 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-27T08:51:03.347Z] > git config core.sparsecheckout # timeout=10 [2024-08-27T08:51:03.425Z] > git checkout -f 6d5cd8995dc981926f14347bf033eca9bc1eeb5e # timeout=10 [2024-08-27T08:51:03.542Z] > git remote # timeout=10 [2024-08-27T08:51:03.560Z] > git config --get remote.origin.url # timeout=10 [2024-08-27T08:51:03.573Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-27T08:51:03.745Z] Merge succeeded, producing fe6bef256c9b42b8e2a38a87da4bb17936b1c548 [2024-08-27T08:51:03.746Z] Checking out Revision fe6bef256c9b42b8e2a38a87da4bb17936b1c548 (PR-1616) [2024-08-27T08:51:03.593Z] > git merge 160aeeac7f80da201deb091151152d5490173ec8 # timeout=10 [2024-08-27T08:51:03.725Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-27T08:51:03.753Z] > git config core.sparsecheckout # timeout=10 [2024-08-27T08:51:03.766Z] > git checkout -f fe6bef256c9b42b8e2a38a87da4bb17936b1c548 # timeout=10 [2024-08-27T08:51:07.530Z] Commit message: "Merge commit '160aeeac7f80da201deb091151152d5490173ec8' into HEAD" [2024-08-27T08:51:07.555Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-27T08:51:09.131Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-27T08:51:09.131Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-27T08:51:09.131Z] Dload Upload Total Spent Left Speed [2024-08-27T08:51:09.131Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 110k 0 --:--:-- --:--:-- --:--:-- 110k [Pipeline] sh [2024-08-27T08:51:07.539Z] > git rev-list --no-walk 3e6ea3748ded273ffde4075f5b9e91a329ef63b3 # timeout=10 [2024-08-27T08:51:09.479Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-27T08:51:09.801Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-27T08:51:09.801Z] + sudo tee /etc/docker/daemon.new [2024-08-27T08:51:09.801Z] { [2024-08-27T08:51:09.801Z] "registry-mirrors": [ [2024-08-27T08:51:09.801Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-27T08:51:09.801Z] ], [2024-08-27T08:51:09.801Z] "bip": "10.250.0.254/24", [2024-08-27T08:51:09.801Z] "hosts": [ [2024-08-27T08:51:09.801Z] "tcp://0.0.0.0:5555", [2024-08-27T08:51:09.801Z] "unix:///var/run/docker.sock" [2024-08-27T08:51:09.801Z] ], [2024-08-27T08:51:09.801Z] "mtu": 1458, [2024-08-27T08:51:09.801Z] "selinux-enabled": true, [2024-08-27T08:51:09.801Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-27T08:51:09.801Z] } [Pipeline] sh [2024-08-27T08:51:10.122Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-27T08:51:10.442Z] + sudo service docker restart [2024-08-27T08:51:11.984Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-08-27T08:51:11.984Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-08-27T08:51:11.984Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-08-27T08:51:11.984Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-08-27T08:51:11.984Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-08-27T08:51:11.984Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-08-27T08:51:11.984Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-08-27T08:51:11.984Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.023s coverage: 26.0% of statements [2024-08-27T08:51:11.984Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.027s coverage: 79.4% of statements [2024-08-27T08:51:11.984Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.045s coverage: 86.0% of statements [2024-08-27T08:51:11.984Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-08-27T08:51:12.241Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-08-27T08:51:12.241Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-08-27T08:51:12.241Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-27T08:51:13.176Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.069s coverage: 51.6% of statements [2024-08-27T08:51:13.744Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-08-27T08:51:16.283Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.072s coverage: 14.4% of statements [2024-08-27T08:51:16.283Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.106s coverage: 44.6% of statements [2024-08-27T08:51:16.283Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.045s coverage: 68.5% of statements [2024-08-27T08:51:16.283Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.088s coverage: 89.2% of statements [2024-08-27T08:51:16.283Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.125s coverage: 5.3% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-27T08:51:28.718Z] provisioning config files... [2024-08-27T08:51:28.746Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7680511893333111246tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-27T08:51:29.205Z] ---> ****-login.sh [2024-08-27T08:51:29.205Z] nexus3.edgexfoundry.org:10001 [2024-08-27T08:51:29.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T08:51:29.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T08:51:29.794Z] Configure a credential helper to remove this warning. See [2024-08-27T08:51:29.794Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T08:51:29.794Z] [2024-08-27T08:51:29.794Z] Login Succeeded [2024-08-27T08:51:29.795Z] nexus3.edgexfoundry.org:10002 [2024-08-27T08:51:30.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T08:51:30.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T08:51:30.341Z] Configure a credential helper to remove this warning. See [2024-08-27T08:51:30.341Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T08:51:30.341Z] [2024-08-27T08:51:30.341Z] Login Succeeded [2024-08-27T08:51:30.341Z] nexus3.edgexfoundry.org:10003 [2024-08-27T08:51:30.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T08:51:30.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T08:51:30.614Z] Configure a credential helper to remove this warning. See [2024-08-27T08:51:30.614Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T08:51:30.614Z] [2024-08-27T08:51:30.614Z] Login Succeeded [2024-08-27T08:51:30.614Z] nexus3.edgexfoundry.org:10004 [2024-08-27T08:51:30.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T08:51:31.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T08:51:31.158Z] Configure a credential helper to remove this warning. See [2024-08-27T08:51:31.158Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T08:51:31.158Z] [2024-08-27T08:51:31.159Z] Login Succeeded [2024-08-27T08:51:31.159Z] ****.io [2024-08-27T08:51:31.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T08:51:31.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T08:51:31.707Z] Configure a credential helper to remove this warning. See [2024-08-27T08:51:31.707Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T08:51:31.707Z] [2024-08-27T08:51:31.707Z] Login Succeeded [2024-08-27T08:51:31.707Z] ---> ****-login.sh ends [Pipeline] } [2024-08-27T08:51:31.723Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-27T08:51:32.063Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-27T08:51:32.084Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-27T08:51:32.102Z] ========================================================= [2024-08-27T08:51:32.102Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-27T08:51:32.102Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T08:51:32.486Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-27T08:51:33.081Z] Sending build context to Docker daemon 13.15MB [2024-08-27T08:51:33.081Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-27T08:51:33.081Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-27T08:51:33.358Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-27T08:51:33.358Z] c6b39de5b339: Pulling fs layer [2024-08-27T08:51:33.358Z] a69c41024577: Pulling fs layer [2024-08-27T08:51:33.358Z] d6de4b400683: Pulling fs layer [2024-08-27T08:51:33.358Z] 35cb2a7552d0: Pulling fs layer [2024-08-27T08:51:33.358Z] 4f4fb700ef54: Pulling fs layer [2024-08-27T08:51:33.358Z] 464afbd9ba4c: Pulling fs layer [2024-08-27T08:51:33.358Z] 00f215d4a9da: Pulling fs layer [2024-08-27T08:51:33.358Z] d496ad576159: Pulling fs layer [2024-08-27T08:51:33.358Z] 464afbd9ba4c: Waiting [2024-08-27T08:51:33.358Z] 00f215d4a9da: Waiting [2024-08-27T08:51:33.358Z] 4f4fb700ef54: Waiting [2024-08-27T08:51:33.358Z] d496ad576159: Waiting [2024-08-27T08:51:33.358Z] 35cb2a7552d0: Waiting [2024-08-27T08:51:33.358Z] a69c41024577: Verifying Checksum [2024-08-27T08:51:33.358Z] a69c41024577: Download complete [2024-08-27T08:51:33.358Z] 35cb2a7552d0: Verifying Checksum [2024-08-27T08:51:33.358Z] 35cb2a7552d0: Download complete [2024-08-27T08:51:33.358Z] 4f4fb700ef54: Verifying Checksum [2024-08-27T08:51:33.358Z] 4f4fb700ef54: Download complete [2024-08-27T08:51:33.358Z] 464afbd9ba4c: Download complete [2024-08-27T08:51:33.358Z] c6b39de5b339: Verifying Checksum [2024-08-27T08:51:33.358Z] c6b39de5b339: Download complete [2024-08-27T08:51:33.955Z] d496ad576159: Verifying Checksum [2024-08-27T08:51:33.955Z] d496ad576159: Download complete [2024-08-27T08:51:34.551Z] c6b39de5b339: Pull complete [2024-08-27T08:51:35.143Z] a69c41024577: Pull complete [2024-08-27T08:51:35.413Z] d6de4b400683: Verifying Checksum [2024-08-27T08:51:35.413Z] d6de4b400683: Download complete [2024-08-27T08:51:36.851Z] 00f215d4a9da: Verifying Checksum [2024-08-27T08:51:36.851Z] 00f215d4a9da: Download complete [2024-08-27T08:51:48.368Z] GO111MODULE=on go vet ./... [2024-08-27T08:51:49.197Z] d6de4b400683: Pull complete [2024-08-27T08:51:49.197Z] 35cb2a7552d0: Pull complete [2024-08-27T08:51:49.197Z] 4f4fb700ef54: Pull complete [2024-08-27T08:51:49.197Z] 464afbd9ba4c: Pull complete [2024-08-27T08:51:50.899Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-27T08:51:50.899Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-27T08:51:51.158Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-27T08:51:51.174Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-27T08:51:51.188Z] $ docker stop --time=1 5a44316da2dd4e99e72f34af2dd94caa868babe6806e4c42b339f25543143952 [2024-08-27T08:51:58.495Z] $ docker rm -f --volumes 5a44316da2dd4e99e72f34af2dd94caa868babe6806e4c42b339f25543143952 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-27T08:51:59.116Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-27T08:51:59.206Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-08-27T08:51:59.322Z] 00f215d4a9da: Pull complete [2024-08-27T08:51:59.588Z] d496ad576159: Pull complete [2024-08-27T08:51:59.588Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-27T08:51:59.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-27T08:51:59.588Z] ---> f246e2811388 [2024-08-27T08:51:59.588Z] Step 3/10 : ARG MAKE=make build [Pipeline] sh [2024-08-27T08:51:59.905Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-27T08:52:00.191Z] + ls -al . [2024-08-27T08:52:00.191Z] total 380 [2024-08-27T08:52:00.191Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 27 08:50 . [2024-08-27T08:52:00.191Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 08:48 .. [2024-08-27T08:52:00.191Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 27 08:48 .dockerignore [2024-08-27T08:52:00.191Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 08:51 .git [2024-08-27T08:52:00.191Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 08:48 .github [2024-08-27T08:52:00.191Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 27 08:48 .gitignore [2024-08-27T08:52:00.191Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 27 08:48 .golangci.yml [2024-08-27T08:52:00.191Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 27 08:48 .semver [2024-08-27T08:52:00.191Z] -rw-rw-r-- 1 jenkins jenkins 48109 Aug 27 08:48 CHANGELOG.md [2024-08-27T08:52:00.191Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 27 08:48 GOVERNANCE.md [2024-08-27T08:52:00.191Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 27 08:48 Jenkinsfile [2024-08-27T08:52:00.191Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 27 08:48 LICENSE [2024-08-27T08:52:00.191Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 27 08:48 Makefile [2024-08-27T08:52:00.192Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 27 08:48 OWNERS.md [2024-08-27T08:52:00.192Z] -rw-rw-r-- 1 jenkins jenkins 4937 Aug 27 08:48 README.md [2024-08-27T08:52:00.192Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 27 08:48 VERSION [2024-08-27T08:52:00.192Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 08:48 bin [2024-08-27T08:52:00.192Z] -rw-r--r-- 1 jenkins jenkins 126492 Aug 27 08:51 coverage.out [2024-08-27T08:52:00.192Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 27 08:48 example [2024-08-27T08:52:00.192Z] -rw-rw-r-- 1 jenkins jenkins 6984 Aug 27 08:48 go.mod [2024-08-27T08:52:00.192Z] -rw-rw-r-- 1 jenkins jenkins 101460 Aug 27 08:48 go.sum [2024-08-27T08:52:00.192Z] drwxrwxr-x 13 jenkins jenkins 4096 Aug 27 08:48 internal [2024-08-27T08:52:00.192Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 08:48 openapi [2024-08-27T08:52:00.192Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 27 08:48 pkg [2024-08-27T08:52:00.192Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 08:48 snap [2024-08-27T08:52:00.192Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 27 08:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T08:52:00.514Z] + 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=78df53328f6a102334683b31b83dc2cebecf6dc0 --label arch=amd64 --label version=0.0.0 . [2024-08-27T08:52:00.514Z] Sending build context to Docker daemon 25.45MB [2024-08-27T08:52:00.514Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-27T08:52:00.514Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-27T08:52:00.514Z] ---> 543ced86e7d6 [2024-08-27T08:52:00.514Z] Step 3/24 : ARG MAKE=make build [2024-08-27T08:52:01.455Z] ---> Running in 69c60cdea4e4 [2024-08-27T08:52:01.455Z] Removing intermediate container 69c60cdea4e4 [2024-08-27T08:52:01.455Z] ---> 66f97335e075 [2024-08-27T08:52:01.455Z] Step 4/24 : WORKDIR /device-sdk-go [2024-08-27T08:52:01.455Z] ---> Running in b44bd36ffe45 [2024-08-27T08:52:01.455Z] Removing intermediate container b44bd36ffe45 [2024-08-27T08:52:01.455Z] ---> 34bc08668007 [2024-08-27T08:52:01.455Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-27T08:52:01.455Z] ---> Running in 5604112fdd7c [2024-08-27T08:52:01.455Z] Removing intermediate container 5604112fdd7c [2024-08-27T08:52:01.455Z] ---> 26f19c8e24a1 [2024-08-27T08:52:01.455Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-08-27T08:52:01.455Z] ---> Running in 0784102d98d1 [2024-08-27T08:52:01.527Z] ---> Running in 63a0d6f2dff0 [2024-08-27T08:52:01.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-27T08:52:01.794Z] Removing intermediate container 63a0d6f2dff0 [2024-08-27T08:52:01.794Z] ---> a742bb81c66d [2024-08-27T08:52:01.794Z] Step 4/10 : WORKDIR /device-sdk-go [2024-08-27T08:52:01.794Z] ---> Running in 1f94f120bb5d [2024-08-27T08:52:01.973Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-27T08:52:02.236Z] OK: 264 MiB in 52 packages [2024-08-27T08:52:02.375Z] Removing intermediate container 1f94f120bb5d [2024-08-27T08:52:02.375Z] ---> 639beb8a52f1 [2024-08-27T08:52:02.375Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-27T08:52:02.375Z] ---> Running in 966eea9450a7 [2024-08-27T08:52:02.496Z] Removing intermediate container 0784102d98d1 [2024-08-27T08:52:02.496Z] ---> 9ddcb912306c [2024-08-27T08:52:02.496Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-27T08:52:02.647Z] Removing intermediate container 966eea9450a7 [2024-08-27T08:52:02.647Z] ---> 980ff558c193 [2024-08-27T08:52:02.647Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-08-27T08:52:02.647Z] ---> Running in 4cd18eafa972 [2024-08-27T08:52:02.755Z] ---> 2f1e25c04858 [2024-08-27T08:52:02.755Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-27T08:52:02.755Z] ---> Running in dc927db01c8b [2024-08-27T08:52:03.320Z] Removing intermediate container dc927db01c8b [2024-08-27T08:52:03.320Z] ---> b16366dae949 [2024-08-27T08:52:03.320Z] Step 9/24 : COPY . . [2024-08-27T08:52:04.060Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-27T08:52:04.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-27T08:52:04.696Z] ---> 3b6ceec579a6 [2024-08-27T08:52:04.696Z] Step 10/24 : RUN ${MAKE} [2024-08-27T08:52:04.696Z] ---> Running in 9845b45b1935 [2024-08-27T08:52:04.696Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-08-27T08:52:05.744Z] OK: 266 MiB in 52 packages [2024-08-27T08:52:06.706Z] Removing intermediate container 4cd18eafa972 [2024-08-27T08:52:06.706Z] ---> 48dc12a6c855 [2024-08-27T08:52:06.706Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-27T08:52:06.974Z] ---> 2b7562e38086 [2024-08-27T08:52:06.974Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-27T08:52:07.251Z] ---> Running in f1febdf90a8f [2024-08-27T08:52:43.587Z] Removing intermediate container 9845b45b1935 [2024-08-27T08:52:43.587Z] ---> 74e271a7260e [2024-08-27T08:52:43.587Z] Step 11/24 : FROM alpine:3.18 [2024-08-27T08:52:43.587Z] 3.18: Pulling from library/alpine [2024-08-27T08:52:43.587Z] 930bdd4d222e: Pulling fs layer [2024-08-27T08:52:43.587Z] 930bdd4d222e: Verifying Checksum [2024-08-27T08:52:43.587Z] 930bdd4d222e: Download complete [2024-08-27T08:52:43.587Z] 930bdd4d222e: Pull complete [2024-08-27T08:52:43.587Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-27T08:52:43.587Z] Status: Downloaded newer image for alpine:3.18 [2024-08-27T08:52:43.587Z] ---> 18f865063206 [2024-08-27T08:52:43.587Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-08-27T08:52:43.587Z] ---> Running in 6d5a115458b5 [2024-08-27T08:52:43.587Z] Removing intermediate container 6d5a115458b5 [2024-08-27T08:52:43.587Z] ---> cf723534bb4c [2024-08-27T08:52:43.587Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-27T08:52:43.587Z] ---> Running in 67f0df4c39a6 [2024-08-27T08:52:43.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-27T08:52:43.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-27T08:52:43.587Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-27T08:52:43.587Z] Executing busybox-1.36.1-r7.trigger [2024-08-27T08:52:43.587Z] OK: 7 MiB in 16 packages [2024-08-27T08:52:43.587Z] Removing intermediate container 67f0df4c39a6 [2024-08-27T08:52:43.587Z] ---> 1e7396468eac [2024-08-27T08:52:43.587Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-27T08:52:43.587Z] ---> Running in 35d818382e81 [2024-08-27T08:52:43.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-27T08:52:43.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-27T08:52:43.587Z] OK: 7 MiB in 16 packages [2024-08-27T08:52:44.155Z] Removing intermediate container 35d818382e81 [2024-08-27T08:52:44.155Z] ---> 55feafb0d52b [2024-08-27T08:52:44.155Z] Step 15/24 : WORKDIR / [2024-08-27T08:52:44.155Z] ---> Running in 78d4c3d9e2e0 [2024-08-27T08:52:44.155Z] Removing intermediate container 78d4c3d9e2e0 [2024-08-27T08:52:44.155Z] ---> 64727fcc898a [2024-08-27T08:52:44.155Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-08-27T08:52:44.155Z] ---> a1bd2f065f79 [2024-08-27T08:52:44.155Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-08-27T08:52:46.695Z] ---> bc482cbc24f7 [2024-08-27T08:52:46.695Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-08-27T08:52:46.695Z] ---> 65336f64ae5d [2024-08-27T08:52:46.695Z] Step 19/24 : EXPOSE 59999 [2024-08-27T08:52:46.695Z] ---> Running in 5cab49bb759b [2024-08-27T08:52:46.695Z] Removing intermediate container 5cab49bb759b [2024-08-27T08:52:46.695Z] ---> d8b0ef99e93f [2024-08-27T08:52:46.695Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-08-27T08:52:46.695Z] ---> Running in 3e903a199310 [2024-08-27T08:52:46.696Z] Removing intermediate container 3e903a199310 [2024-08-27T08:52:46.696Z] ---> 5e5f06be527c [2024-08-27T08:52:46.696Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-27T08:52:46.696Z] ---> Running in 5bcde349b9cc [2024-08-27T08:52:46.696Z] Removing intermediate container 5bcde349b9cc [2024-08-27T08:52:46.696Z] ---> 0720c2436a89 [2024-08-27T08:52:46.696Z] Step 22/24 : LABEL arch=amd64 [2024-08-27T08:52:46.696Z] ---> Running in 6623e7ae94ad [2024-08-27T08:52:46.955Z] Removing intermediate container 6623e7ae94ad [2024-08-27T08:52:46.955Z] ---> a8c20ae6af90 [2024-08-27T08:52:46.955Z] Step 23/24 : LABEL git_sha=78df53328f6a102334683b31b83dc2cebecf6dc0 [2024-08-27T08:52:46.955Z] ---> Running in bc8a2d3d9aec [2024-08-27T08:52:46.955Z] Removing intermediate container bc8a2d3d9aec [2024-08-27T08:52:46.955Z] ---> ce6626272473 [2024-08-27T08:52:46.955Z] Step 24/24 : LABEL version=0.0.0 [2024-08-27T08:52:46.955Z] ---> Running in 90ea837d5c70 [2024-08-27T08:52:46.955Z] Removing intermediate container 90ea837d5c70 [2024-08-27T08:52:46.955Z] ---> 9af3b2f42f0c [2024-08-27T08:52:46.955Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-27T08:52:46.955Z] Successfully built 9af3b2f42f0c [2024-08-27T08:52:46.955Z] 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-08-27T08:52:47.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-27T08:52:47.454Z] [2024-08-27T08:52:47.454Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T08:52:47.765Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-27T08:52:47.765Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-27T08:52:47.765Z] 5eb5b503b376: Pulling fs layer [2024-08-27T08:52:47.765Z] 5c69ac0246d0: Pulling fs layer [2024-08-27T08:52:47.765Z] ec43610c2a17: Pulling fs layer [2024-08-27T08:52:47.765Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-27T08:52:47.765Z] 33b1e0a273af: Pulling fs layer [2024-08-27T08:52:47.765Z] 5d3b04190fa2: Pulling fs layer [2024-08-27T08:52:47.765Z] 2f39f015ded8: Pulling fs layer [2024-08-27T08:52:47.765Z] 3a2ae6a8a46f: Waiting [2024-08-27T08:52:47.765Z] 33b1e0a273af: Waiting [2024-08-27T08:52:47.765Z] 5d3b04190fa2: Waiting [2024-08-27T08:52:47.765Z] 2f39f015ded8: Waiting [2024-08-27T08:52:47.765Z] 5c69ac0246d0: Download complete [2024-08-27T08:52:47.765Z] 3a2ae6a8a46f: Verifying Checksum [2024-08-27T08:52:47.765Z] 3a2ae6a8a46f: Download complete [2024-08-27T08:52:47.765Z] 33b1e0a273af: Verifying Checksum [2024-08-27T08:52:47.765Z] 33b1e0a273af: Download complete [2024-08-27T08:52:47.765Z] 5d3b04190fa2: Download complete [2024-08-27T08:52:48.026Z] ec43610c2a17: Verifying Checksum [2024-08-27T08:52:48.026Z] ec43610c2a17: Download complete [2024-08-27T08:52:48.026Z] 5eb5b503b376: Verifying Checksum [2024-08-27T08:52:48.026Z] 5eb5b503b376: Download complete [2024-08-27T08:52:48.959Z] 2f39f015ded8: Download complete [2024-08-27T08:52:49.527Z] 5eb5b503b376: Pull complete [2024-08-27T08:52:49.527Z] 5c69ac0246d0: Pull complete [2024-08-27T08:52:50.097Z] ec43610c2a17: Pull complete [2024-08-27T08:52:50.097Z] 3a2ae6a8a46f: Pull complete [2024-08-27T08:52:50.355Z] 33b1e0a273af: Pull complete [2024-08-27T08:52:50.355Z] 5d3b04190fa2: Pull complete [2024-08-27T08:53:00.702Z] 2f39f015ded8: Pull complete [2024-08-27T08:53:02.608Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-27T08:53:02.608Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-27T08:53:02.608Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T08:53:02.718Z] prd-ubuntu20.04-docker-8c-8g-8786 does not seem to be running inside a container [2024-08-27T08:53:02.749Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1616 -v /w/workspace/gexfoundry_device-sdk-go_PR-1616:/w/workspace/gexfoundry_device-sdk-go_PR-1616:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-27T08:53:02.974Z] $ docker top 5402f851c46ddd447034051e294a4cbbdf0eb7d9a172443faf2a19eab625c8c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-27T08:53:03.368Z] ---> job-cost.sh [2024-08-27T08:53:03.368Z] lf-activate-venv: SKIPPING [2024-08-27T08:53:03.368Z] INFO: No Stack... [2024-08-27T08:53:03.627Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-27T08:53:04.192Z] INFO: Archiving Costs [Pipeline] sh [2024-08-27T08:53:04.481Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1616/archives/cost.csv [2024-08-27T08:53:04.481Z] + cut -d, -f6 [Pipeline] lock [2024-08-27T08:53:04.494Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1616-2-stack-cost] [2024-08-27T08:53:04.503Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1616-2-stack-cost] did not exist. Created. [2024-08-27T08:53:04.510Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1616-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-27T08:53:04.831Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-27T08:53:04.870Z] Stashed 1 file(s) [Pipeline] } [2024-08-27T08:53:04.878Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1616-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-27T08:53:04.909Z] $ docker stop --time=1 5402f851c46ddd447034051e294a4cbbdf0eb7d9a172443faf2a19eab625c8c8 [2024-08-27T08:53:06.100Z] $ docker rm -f --volumes 5402f851c46ddd447034051e294a4cbbdf0eb7d9a172443faf2a19eab625c8c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-27T08:53:59.100Z] Removing intermediate container f1febdf90a8f [2024-08-27T08:53:59.100Z] ---> 09883de7eaf6 [2024-08-27T08:53:59.100Z] Step 9/10 : COPY . . [2024-08-27T08:53:59.100Z] ---> 44a73220db8d [2024-08-27T08:53:59.100Z] Step 10/10 : RUN ${MAKE} [2024-08-27T08:53:59.100Z] ---> Running in 1f419857fffc [2024-08-27T08:53:59.100Z] noop [2024-08-27T08:53:59.100Z] Removing intermediate container 1f419857fffc [2024-08-27T08:53:59.100Z] ---> 8c0325950823 [2024-08-27T08:53:59.100Z] Successfully built 8c0325950823 [2024-08-27T08:53:59.100Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T08:53:59.470Z] + docker inspect -f . ci-base-image-arm64 [2024-08-27T08:53:59.470Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T08:53:59.707Z] prd-ubuntu20.04-docker-arm64-4c-16g-8788 does not seem to be running inside a container [2024-08-27T08:53:59.779Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-27T08:54:01.065Z] $ docker top 3a780e062c8756cc76f66828f121f4ff207cba5a1a77abc116dedfc248a94bc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-27T08:54:01.922Z] + go version [2024-08-27T08:54:01.922Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-27T08:54:01.944Z] $ docker stop --time=1 3a780e062c8756cc76f66828f121f4ff207cba5a1a77abc116dedfc248a94bc6 [2024-08-27T08:54:03.602Z] $ docker rm -f --volumes 3a780e062c8756cc76f66828f121f4ff207cba5a1a77abc116dedfc248a94bc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T08:54:04.242Z] + docker inspect -f . ci-base-image-arm64 [2024-08-27T08:54:04.243Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T08:54:04.435Z] prd-ubuntu20.04-docker-arm64-4c-16g-8788 does not seem to be running inside a container [2024-08-27T08:54:04.512Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-27T08:54:05.755Z] $ docker top 186e81feddb47756e47d970433096c10b498f2b21af71a2191b63437a9c58f91 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-27T08:54:06.621Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2024-08-27T08:54:07.283Z] + make test [2024-08-27T08:54:07.283Z] go test -race -coverprofile=coverage.out ./... [2024-08-27T08:54:54.325Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-08-27T08:58:31.186Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-08-27T08:58:31.186Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-08-27T08:58:31.186Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-08-27T08:58:31.186Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-08-27T08:58:31.186Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-08-27T08:58:32.150Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.131s coverage: 26.0% of statements [2024-08-27T08:58:37.507Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.160s coverage: 79.4% of statements [2024-08-27T08:58:44.183Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-08-27T08:58:44.183Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-08-27T08:58:45.145Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.280s coverage: 86.0% of statements [2024-08-27T08:58:53.394Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-08-27T08:58:53.394Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.440s coverage: 51.6% of statements [2024-08-27T08:58:56.732Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.152s coverage: 14.4% of statements [2024-08-27T08:58:56.732Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.089s coverage: 44.6% of statements [2024-08-27T08:58:57.318Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-08-27T08:58:57.318Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-08-27T08:58:57.318Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-27T08:58:58.728Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.281s coverage: 68.5% of statements [2024-08-27T08:59:02.966Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.339s coverage: 89.2% of statements [2024-08-27T08:59:05.561Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-08-27T08:59:06.527Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.237s coverage: 5.3% of statements [2024-08-27T08:59:07.931Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-27T08:59:07.931Z] GO111MODULE=on go vet ./... [2024-08-27T09:02:46.272Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-27T09:02:46.272Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-27T09:02:46.272Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-27T09:02:46.294Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-27T09:02:46.312Z] $ docker stop --time=1 186e81feddb47756e47d970433096c10b498f2b21af71a2191b63437a9c58f91 [2024-08-27T09:02:48.251Z] $ docker rm -f --volumes 186e81feddb47756e47d970433096c10b498f2b21af71a2191b63437a9c58f91 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-27T09:02:50.522Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-27T09:02:50.550Z] Warning: overwriting stash ‘coverage-report’ [2024-08-27T09:02:51.106Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-27T09:02:51.523Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-27T09:02:51.836Z] + ls -al . [2024-08-27T09:02:51.836Z] total 376 [2024-08-27T09:02:51.836Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 27 08:54 . [2024-08-27T09:02:51.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 08:50 .. [2024-08-27T09:02:51.836Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 27 08:51 .dockerignore [2024-08-27T09:02:51.836Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 08:51 .git [2024-08-27T09:02:51.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 08:51 .github [2024-08-27T09:02:51.836Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 27 08:51 .gitignore [2024-08-27T09:02:51.836Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 27 08:51 .golangci.yml [2024-08-27T09:02:51.836Z] -rw-rw-r-- 1 jenkins jenkins 48109 Aug 27 08:51 CHANGELOG.md [2024-08-27T09:02:51.836Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 27 08:51 GOVERNANCE.md [2024-08-27T09:02:51.836Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 27 08:51 Jenkinsfile [2024-08-27T09:02:51.836Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 27 08:51 LICENSE [2024-08-27T09:02:51.836Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 27 08:51 Makefile [2024-08-27T09:02:51.836Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 27 08:51 OWNERS.md [2024-08-27T09:02:51.836Z] -rw-rw-r-- 1 jenkins jenkins 4937 Aug 27 08:51 README.md [2024-08-27T09:02:51.836Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 27 08:48 VERSION [2024-08-27T09:02:51.836Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 08:51 bin [2024-08-27T09:02:51.836Z] -rw-r--r-- 1 jenkins jenkins 126492 Aug 27 08:59 coverage.out [2024-08-27T09:02:51.836Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 27 08:51 example [2024-08-27T09:02:51.836Z] -rw-rw-r-- 1 jenkins jenkins 6984 Aug 27 08:51 go.mod [2024-08-27T09:02:51.836Z] -rw-rw-r-- 1 jenkins jenkins 101460 Aug 27 08:51 go.sum [2024-08-27T09:02:51.836Z] drwxrwxr-x 13 jenkins jenkins 4096 Aug 27 08:51 internal [2024-08-27T09:02:51.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 08:51 openapi [2024-08-27T09:02:51.836Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 27 08:51 pkg [2024-08-27T09:02:51.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 08:51 snap [2024-08-27T09:02:51.836Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 27 08:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T09:02:52.188Z] + 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=fe6bef256c9b42b8e2a38a87da4bb17936b1c548 --label arch=arm64 --label version=0.0.0 . [2024-08-27T09:02:52.768Z] Sending build context to Docker daemon 13.28MB [2024-08-27T09:02:52.768Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-27T09:02:52.768Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-27T09:02:52.768Z] ---> 8c0325950823 [2024-08-27T09:02:52.768Z] Step 3/24 : ARG MAKE=make build [2024-08-27T09:02:53.032Z] ---> Running in be282f426d8f [2024-08-27T09:02:53.303Z] Removing intermediate container be282f426d8f [2024-08-27T09:02:53.303Z] ---> 2f931ea3b4fe [2024-08-27T09:02:53.303Z] Step 4/24 : WORKDIR /device-sdk-go [2024-08-27T09:02:53.303Z] ---> Running in 55a248eb92dd [2024-08-27T09:02:53.570Z] Removing intermediate container 55a248eb92dd [2024-08-27T09:02:53.570Z] ---> f22c9922277d [2024-08-27T09:02:53.570Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-27T09:02:53.836Z] ---> Running in d2466cb53eb6 [2024-08-27T09:02:54.103Z] Removing intermediate container d2466cb53eb6 [2024-08-27T09:02:54.103Z] ---> 09557b7c7533 [2024-08-27T09:02:54.103Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-08-27T09:02:54.103Z] ---> Running in 4848dccef242 [2024-08-27T09:02:55.057Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-27T09:02:55.320Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-27T09:02:56.718Z] OK: 266 MiB in 52 packages [2024-08-27T09:02:57.307Z] Removing intermediate container 4848dccef242 [2024-08-27T09:02:57.307Z] ---> 67abcc1a5e63 [2024-08-27T09:02:57.307Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-27T09:02:57.886Z] ---> e0bb8fee064f [2024-08-27T09:02:57.886Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-27T09:02:57.886Z] ---> Running in 0ea81b9c9c32 [2024-08-27T09:03:00.467Z] Removing intermediate container 0ea81b9c9c32 [2024-08-27T09:03:00.467Z] ---> 8a8207ce2ea6 [2024-08-27T09:03:00.467Z] Step 9/24 : COPY . . [2024-08-27T09:03:01.872Z] ---> 33e2d1fe320f [2024-08-27T09:03:01.872Z] Step 10/24 : RUN ${MAKE} [2024-08-27T09:03:01.872Z] ---> Running in 4168e921e03a [2024-08-27T09:03:02.832Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-08-27T09:06:24.615Z] Removing intermediate container 4168e921e03a [2024-08-27T09:06:24.615Z] ---> 8027fa26b934 [2024-08-27T09:06:24.615Z] Step 11/24 : FROM alpine:3.18 [2024-08-27T09:06:24.615Z] 3.18: Pulling from library/alpine [2024-08-27T09:06:24.615Z] 4983c3fe2029: Pulling fs layer [2024-08-27T09:06:24.615Z] 4983c3fe2029: Verifying Checksum [2024-08-27T09:06:24.615Z] 4983c3fe2029: Download complete [2024-08-27T09:06:24.615Z] 4983c3fe2029: Pull complete [2024-08-27T09:06:24.615Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-27T09:06:24.615Z] Status: Downloaded newer image for alpine:3.18 [2024-08-27T09:06:24.615Z] ---> a0237000ae83 [2024-08-27T09:06:24.615Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-08-27T09:06:24.615Z] ---> Running in 115ff2bdfcae [2024-08-27T09:06:24.615Z] Removing intermediate container 115ff2bdfcae [2024-08-27T09:06:24.615Z] ---> 8cbf42c1f7ab [2024-08-27T09:06:24.615Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-27T09:06:24.615Z] ---> Running in f81208798719 [2024-08-27T09:06:24.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-27T09:06:24.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-27T09:06:24.615Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-27T09:06:24.615Z] Executing busybox-1.36.1-r7.trigger [2024-08-27T09:06:24.615Z] OK: 8 MiB in 16 packages [2024-08-27T09:06:25.203Z] Removing intermediate container f81208798719 [2024-08-27T09:06:25.203Z] ---> 96f6c9673813 [2024-08-27T09:06:25.203Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-27T09:06:25.203Z] ---> Running in 327eed860c21 [2024-08-27T09:06:26.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-27T09:06:26.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-27T09:06:27.391Z] OK: 8 MiB in 16 packages [2024-08-27T09:06:27.983Z] Removing intermediate container 327eed860c21 [2024-08-27T09:06:27.983Z] ---> 5c89a4ac02eb [2024-08-27T09:06:27.983Z] Step 15/24 : WORKDIR / [2024-08-27T09:06:28.249Z] ---> Running in 5d8a4687c9d5 [2024-08-27T09:06:28.513Z] Removing intermediate container 5d8a4687c9d5 [2024-08-27T09:06:28.513Z] ---> f093dee38147 [2024-08-27T09:06:28.513Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-08-27T09:06:29.093Z] ---> 7e659385ca8c [2024-08-27T09:06:29.093Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-08-27T09:06:31.026Z] ---> d951411351b3 [2024-08-27T09:06:31.026Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-08-27T09:06:31.611Z] ---> 6f9054455d61 [2024-08-27T09:06:31.611Z] Step 19/24 : EXPOSE 59999 [2024-08-27T09:06:31.611Z] ---> Running in 6ae1a035460a [2024-08-27T09:06:32.192Z] Removing intermediate container 6ae1a035460a [2024-08-27T09:06:32.192Z] ---> 20e9601d8c6c [2024-08-27T09:06:32.192Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-08-27T09:06:32.192Z] ---> Running in 32aeab3a963d [2024-08-27T09:06:32.456Z] Removing intermediate container 32aeab3a963d [2024-08-27T09:06:32.456Z] ---> f497c0d60458 [2024-08-27T09:06:32.456Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-27T09:06:32.456Z] ---> Running in 0b7e838602b6 [2024-08-27T09:06:32.722Z] Removing intermediate container 0b7e838602b6 [2024-08-27T09:06:32.722Z] ---> cecb3f6eeb84 [2024-08-27T09:06:32.722Z] Step 22/24 : LABEL arch=arm64 [2024-08-27T09:06:32.722Z] ---> Running in 1f1e75c4b351 [2024-08-27T09:06:32.987Z] Removing intermediate container 1f1e75c4b351 [2024-08-27T09:06:32.987Z] ---> 170dc8719214 [2024-08-27T09:06:32.987Z] Step 23/24 : LABEL git_sha=fe6bef256c9b42b8e2a38a87da4bb17936b1c548 [2024-08-27T09:06:33.252Z] ---> Running in c13fe08e5e21 [2024-08-27T09:06:33.519Z] Removing intermediate container c13fe08e5e21 [2024-08-27T09:06:33.519Z] ---> 60dbc9995b7b [2024-08-27T09:06:33.519Z] Step 24/24 : LABEL version=0.0.0 [2024-08-27T09:06:33.519Z] ---> Running in 1a7c93818ecc [2024-08-27T09:06:33.856Z] Removing intermediate container 1a7c93818ecc [2024-08-27T09:06:33.856Z] ---> 72d4dfcb14f0 [2024-08-27T09:06:33.856Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-27T09:06:33.856Z] Successfully built 72d4dfcb14f0 [2024-08-27T09:06:33.856Z] 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-08-27T09:06:34.453Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-27T09:06:34.453Z] [2024-08-27T09:06:34.453Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T09:06:34.815Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-27T09:06:34.815Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-27T09:06:34.815Z] 8998bd30e6a1: Pulling fs layer [2024-08-27T09:06:34.815Z] 04944245beec: Pulling fs layer [2024-08-27T09:06:34.815Z] 699f458cf7ca: Pulling fs layer [2024-08-27T09:06:34.815Z] 765212b225bb: Pulling fs layer [2024-08-27T09:06:34.815Z] f23df028b6ca: Pulling fs layer [2024-08-27T09:06:34.815Z] d65c8cfc05b1: Pulling fs layer [2024-08-27T09:06:34.815Z] 2437ff75d9bd: Pulling fs layer [2024-08-27T09:06:34.815Z] 765212b225bb: Waiting [2024-08-27T09:06:34.815Z] f23df028b6ca: Waiting [2024-08-27T09:06:34.815Z] d65c8cfc05b1: Waiting [2024-08-27T09:06:34.815Z] 2437ff75d9bd: Waiting [2024-08-27T09:06:35.091Z] 04944245beec: Verifying Checksum [2024-08-27T09:06:35.091Z] 04944245beec: Download complete [2024-08-27T09:06:35.091Z] 765212b225bb: Download complete [2024-08-27T09:06:35.091Z] f23df028b6ca: Download complete [2024-08-27T09:06:35.091Z] d65c8cfc05b1: Verifying Checksum [2024-08-27T09:06:35.091Z] d65c8cfc05b1: Download complete [2024-08-27T09:06:35.367Z] 699f458cf7ca: Verifying Checksum [2024-08-27T09:06:35.367Z] 699f458cf7ca: Download complete [2024-08-27T09:06:35.645Z] 8998bd30e6a1: Verifying Checksum [2024-08-27T09:06:35.645Z] 8998bd30e6a1: Download complete [2024-08-27T09:06:38.244Z] 2437ff75d9bd: Verifying Checksum [2024-08-27T09:06:38.244Z] 2437ff75d9bd: Download complete [2024-08-27T09:06:40.186Z] 8998bd30e6a1: Pull complete [2024-08-27T09:06:40.765Z] 04944245beec: Pull complete [2024-08-27T09:06:42.173Z] 699f458cf7ca: Pull complete [2024-08-27T09:06:42.173Z] 765212b225bb: Pull complete [2024-08-27T09:06:43.129Z] f23df028b6ca: Pull complete [2024-08-27T09:06:43.394Z] d65c8cfc05b1: Pull complete [2024-08-27T09:07:01.579Z] 2437ff75d9bd: Pull complete [2024-08-27T09:07:01.579Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-27T09:07:01.579Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-27T09:07:01.579Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T09:07:01.786Z] prd-ubuntu20.04-docker-arm64-4c-16g-8788 does not seem to be running inside a container [2024-08-27T09:07:01.848Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-08-27T09:07:04.532Z] $ docker top a37dddfe8fe986a1e1d2ef609d7e1486fa8ea45c7ffad6761e48f45ea27e7c46 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-27T09:07:05.370Z] ---> job-cost.sh [2024-08-27T09:07:05.370Z] lf-activate-venv: SKIPPING [2024-08-27T09:07:05.370Z] INFO: No Stack... [2024-08-27T09:07:05.633Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-27T09:07:06.579Z] INFO: Archiving Costs [Pipeline] sh [2024-08-27T09:07:07.215Z] + cut -d, -f6 [2024-08-27T09:07:07.215Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2024-08-27T09:07:07.273Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1616-2-stack-cost] [2024-08-27T09:07:07.281Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1616-2-stack-cost] did not exist. Created. [2024-08-27T09:07:07.288Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1616-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-27T09:07:07.945Z] /w/workspace/device-sdk-go/2@tmp/durable-94d7d240/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-27T09:07:08.581Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-27T09:07:08.607Z] Warning: overwriting stash ‘stack-cost’ [2024-08-27T09:07:08.698Z] Stashed 1 file(s) [Pipeline] } [2024-08-27T09:07:08.711Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1616-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-27T09:07:08.747Z] $ docker stop --time=1 a37dddfe8fe986a1e1d2ef609d7e1486fa8ea45c7ffad6761e48f45ea27e7c46 [2024-08-27T09:07:10.258Z] $ docker rm -f --volumes a37dddfe8fe986a1e1d2ef609d7e1486fa8ea45c7ffad6761e48f45ea27e7c46 [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-08-27T09:07:10.908Z] provisioning config files... [2024-08-27T09:07:10.915Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/config846358378653277601tmp [Pipeline] { [Pipeline] sh [2024-08-27T09:07:11.211Z] + set +x [2024-08-27T09:07:11.211Z] + + curl -s https://codecov.io/bash [2024-08-27T09:07:11.211Z] bash -s -- [2024-08-27T09:07:13.123Z] [2024-08-27T09:07:13.123Z] _____ _ [2024-08-27T09:07:13.123Z] / ____| | | [2024-08-27T09:07:13.123Z] | | ___ __| | ___ ___ _____ __ [2024-08-27T09:07:13.123Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-27T09:07:13.123Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-27T09:07:13.123Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-27T09:07:13.123Z] Bash-1.0.6 [2024-08-27T09:07:13.123Z] [2024-08-27T09:07:13.123Z] [2024-08-27T09:07:13.123Z] ==> git version 2.25.1 found [2024-08-27T09:07:13.123Z] ==> 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-08-27T09:07:13.123Z] Release-Date: 2020-01-08 [2024-08-27T09:07:13.123Z] 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-08-27T09:07:13.123Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-27T09:07:13.123Z] ==> Jenkins CI detected. [2024-08-27T09:07:13.123Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1616 [2024-08-27T09:07:13.123Z] project root: . [2024-08-27T09:07:13.123Z] --> token set from env [2024-08-27T09:07:13.123Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-27T09:07:13.123Z] ==> Running gcov in . (disable via -X gcov) [2024-08-27T09:07:13.123Z] ==> Python coveragepy not found [2024-08-27T09:07:13.123Z] ==> Searching for coverage reports in: [2024-08-27T09:07:13.123Z] + . [2024-08-27T09:07:13.123Z] -> Found 1 reports [2024-08-27T09:07:13.123Z] ==> Detecting git/mercurial file structure [2024-08-27T09:07:13.123Z] ==> Reading reports [2024-08-27T09:07:13.123Z] + ./coverage.out bytes=126492 [2024-08-27T09:07:13.123Z] ==> Appending adjustments [2024-08-27T09:07:13.123Z] https://docs.codecov.io/docs/fixing-reports [2024-08-27T09:07:13.123Z] + Found adjustments [2024-08-27T09:07:13.384Z] ==> Gzipping contents [2024-08-27T09:07:13.384Z] 20K /tmp/codecov.u8OQl0.gz [2024-08-27T09:07:13.384Z] ==> Uploading reports [2024-08-27T09:07:13.384Z] url: https://codecov.io [2024-08-27T09:07:13.384Z] query: branch=PR-1616&commit=78df53328f6a102334683b31b83dc2cebecf6dc0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1616%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1616&job=&cmd_args= [2024-08-27T09:07:13.384Z] -> Pinging Codecov [2024-08-27T09:07:13.384Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1616&commit=78df53328f6a102334683b31b83dc2cebecf6dc0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1616%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1616&job=&cmd_args= [2024-08-27T09:07:13.384Z] -> Uploading to [2024-08-27T09:07:13.384Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-27/7E55EF52A471D76F132DFD9A03CDDE97/78df53328f6a102334683b31b83dc2cebecf6dc0/1b189af6-e63d-41e4-aa54-8907581eb8f0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240827%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240827T090713Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3f7b945ee58aba10286c55d9a469e3aad02a5a94761e232690f21c6a2cb0b757 [2024-08-27T09:07:13.384Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-27T09:07:13.384Z] Dload Upload Total Spent Left Speed [2024-08-27T09:07:14.330Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17461 0 0 100 17461 0 25677 --:--:-- --:--:-- --:--:-- 25677 [2024-08-27T09:07:14.330Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/78df53328f6a102334683b31b83dc2cebecf6dc0 [Pipeline] } [2024-08-27T09:07:14.337Z] 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-08-27T09:07:15.190Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1616/archives ] [2024-08-27T09:07:15.190Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1616/archives [2024-08-27T09:07:15.190Z] total 16 [2024-08-27T09:07:15.190Z] drwxr-xr-x 3 root root 4096 Aug 27 08:53 . [2024-08-27T09:07:15.190Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 27 08:53 .. [2024-08-27T09:07:15.190Z] drwxr-xr-x 2 root root 4096 Aug 27 08:53 cost [2024-08-27T09:07:15.190Z] -rw-r--r-- 1 root root 86 Aug 27 08:53 cost.csv [2024-08-27T09:07:15.190Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1616/archives [2024-08-27T09:07:15.190Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1616/archives [2024-08-27T09:07:15.190Z] total 16 [2024-08-27T09:07:15.191Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 27 08:53 . [2024-08-27T09:07:15.191Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 27 08:53 .. [2024-08-27T09:07:15.191Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 27 08:53 cost [2024-08-27T09:07:15.191Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 27 08:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-27T09:07:15.480Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-27T09:07:16.337Z] ---> package-listing.sh [2024-08-27T09:07:16.337Z] ++ facter osfamily [2024-08-27T09:07:16.337Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-27T09:07:16.598Z] + OS_FAMILY=debian [2024-08-27T09:07:16.598Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1616 [2024-08-27T09:07:16.598Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-27T09:07:16.598Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-27T09:07:16.598Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-27T09:07:16.598Z] + PACKAGES=/tmp/packages_start.txt [2024-08-27T09:07:16.598Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1616 ']' [2024-08-27T09:07:16.598Z] + PACKAGES=/tmp/packages_end.txt [2024-08-27T09:07:16.598Z] + case "${OS_FAMILY}" in [2024-08-27T09:07:16.598Z] + dpkg -l [2024-08-27T09:07:16.598Z] + grep '^ii' [2024-08-27T09:07:16.598Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-27T09:07:16.598Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-27T09:07:16.598Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-27T09:07:16.598Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1616 ']' [2024-08-27T09:07:16.598Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1616/archives/ [2024-08-27T09:07:16.598Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1616/archives/ [Pipeline] echo [2024-08-27T09:07:16.609Z] 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-1616/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-27T09:07:16.887Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T09:07:17.450Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-27T09:07:17.450Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T09:07:17.531Z] prd-ubuntu20.04-docker-8c-8g-8786 does not seem to be running inside a container [2024-08-27T09:07:17.634Z] $ 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-1616/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-1616 -v /w/workspace/gexfoundry_device-sdk-go_PR-1616:/w/workspace/gexfoundry_device-sdk-go_PR-1616:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1616@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-08-27T09:07:17.832Z] $ docker top b9c03d765e71903a2300db58a4b46116427700591cb50faf1fa1e3b0a960197a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-27T09:07:18.263Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-27T09:07:18.573Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-27T09:07:18.863Z] + ls /var/log/sa-host [2024-08-27T09:07:18.863Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-27T09:07:19.024Z] provisioning config files... [2024-08-27T09:07:19.034Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1616@tmp/config14555751968109287537tmp [Pipeline] { [Pipeline] echo [2024-08-27T09:07:19.052Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-27T09:07:19.335Z] ---> create-netrc.sh [Pipeline] } [2024-08-27T09:07:19.341Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-27T09:07:19.677Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-27T09:07:19.688Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-27T09:07:19.974Z] ---> sudo-logs.sh [2024-08-27T09:07:19.974Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-27T09:07:20.012Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-27T09:07:20.293Z] ---> job-cost.sh [2024-08-27T09:07:20.293Z] lf-activate-venv: SKIPPING [2024-08-27T09:07:20.293Z] DEBUG: total: 0.2199999988079071 [2024-08-27T09:07:20.293Z] INFO: Retrieving Stack Cost... [2024-08-27T09:07:20.862Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-27T09:07:21.124Z] INFO: Archiving Costs [Pipeline] echo [2024-08-27T09:07:21.136Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-27T09:07:21.421Z] ---> logs-deploy.sh [2024-08-27T09:07:21.421Z] lf-activate-venv: SKIPPING [2024-08-27T09:07:21.421Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1616/2 [2024-08-27T09:07:21.421Z] INFO: archiving workspace using pattern(s): [2024-08-27T09:07:22.359Z] Archives upload complete. [2024-08-27T09:07:22.359Z] INFO: archiving logs to Nexus